Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Recursion is the root of computation since it trades description for time.


devel / comp.protocols.dicom / Combine Photometric Interpretation and Presentation LUT Shape

SubjectAuthor
* Combine Photometric Interpretation and Presentation LUT ShapeNicolas Roduit
`* Re: Combine Photometric Interpretation and Presentation LUT ShapeDavid Clunie
 `- Re: Combine Photometric Interpretation and Presentation LUT ShapeNicolas Roduit

1
Combine Photometric Interpretation and Presentation LUT Shape

<ece0c142-845f-4931-8b56-904b20ad7223n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=615&group=comp.protocols.dicom#615

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:1188:b0:3b8:ca58:ee4d with SMTP id m8-20020a05622a118800b003b8ca58ee4dmr1760111qtk.45.1675939981497;
Thu, 09 Feb 2023 02:53:01 -0800 (PST)
X-Received: by 2002:a05:6870:430a:b0:163:b85e:f1ca with SMTP id
w10-20020a056870430a00b00163b85ef1camr973932oah.262.1675939981060; Thu, 09
Feb 2023 02:53:01 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Thu, 9 Feb 2023 02:53:00 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=129.195.253.18; posting-account=FWQo4woAAAD_P-BNQ1B90GtcAxrSwsN1
NNTP-Posting-Host: 129.195.253.18
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ece0c142-845f-4931-8b56-904b20ad7223n@googlegroups.com>
Subject: Combine Photometric Interpretation and Presentation LUT Shape
From: nicolas.roduit@gmail.com (Nicolas Roduit)
Injection-Date: Thu, 09 Feb 2023 10:53:01 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1594
 by: Nicolas Roduit - Thu, 9 Feb 2023 10:53 UTC

Thank you if someone can help me to understand how the image below should be rendered.

DICOM image: https://github.com/nroduit/Weasis/files/10694697/inverted2.zip

The values are
(0028,0004) CS PhotometricInterpretation MONOCHROME1
(2050,0020) CS PresentationLUTShape INVERSE

According to this post (https://groups.google.com/g/comp.protocols.dicom/c/Wzt_06RbF5c), the result should make a double LUT inversion and we should obtain the following result:
https://user-images.githubusercontent.com/993975/217784490-0050286b-0cd1-4f65-bfe7-24fe25cca0db.png

Re: Combine Photometric Interpretation and Presentation LUT Shape

<f4661bb0-47c8-4420-aaa5-b523bf0a60ecn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=616&group=comp.protocols.dicom#616

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a37:2d02:0:b0:71a:23b2:e2 with SMTP id t2-20020a372d02000000b0071a23b200e2mr879043qkh.139.1675947408672;
Thu, 09 Feb 2023 04:56:48 -0800 (PST)
X-Received: by 2002:aca:d9d4:0:b0:36c:acd0:bbfa with SMTP id
q203-20020acad9d4000000b0036cacd0bbfamr590711oig.69.1675947408302; Thu, 09
Feb 2023 04:56:48 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Thu, 9 Feb 2023 04:56:48 -0800 (PST)
In-Reply-To: <ece0c142-845f-4931-8b56-904b20ad7223n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.32.182.248; posting-account=rKkGZwkAAADOuxQ23uuHnmKt95j-5iL6
NNTP-Posting-Host: 50.32.182.248
References: <ece0c142-845f-4931-8b56-904b20ad7223n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f4661bb0-47c8-4420-aaa5-b523bf0a60ecn@googlegroups.com>
Subject: Re: Combine Photometric Interpretation and Presentation LUT Shape
From: dclunie@dclunie.com (David Clunie)
Injection-Date: Thu, 09 Feb 2023 12:56:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 32
 by: David Clunie - Thu, 9 Feb 2023 12:56 UTC

No.

The rendered image is incorrectly inverted.

The stored pixel values in the DICOM image "inverted2" are such that background air numeric values are higher than soft tissue, and PhotometricInterpretation MONOCHROME1/PresentationLUTShape INVERSE (which are consistent as required per Jörg's explanation) says that higher stored pixel values should be black, not white.

Jörg's post does NOT call for a "double LUT inversion" as you suggest, but rather explains where in the standard it says that PhotometricInterpretation and PresentationLUTShape are required to be consistent (not in conflict with each other).

David

On Thursday, February 9, 2023 at 5:53:03 AM UTC-5, Nicolas Roduit wrote:
> Thank you if someone can help me to understand how the image below should be rendered.
>
> DICOM image: https://github.com/nroduit/Weasis/files/10694697/inverted2.zip
>
> The values are
> (0028,0004) CS PhotometricInterpretation MONOCHROME1
> (2050,0020) CS PresentationLUTShape INVERSE
>
> According to this post (https://groups.google.com/g/comp.protocols.dicom/c/Wzt_06RbF5c), the result should make a double LUT inversion and we should obtain the following result:
> https://user-images.githubusercontent.com/993975/217784490-0050286b-0cd1-4f65-bfe7-24fe25cca0db.png

Re: Combine Photometric Interpretation and Presentation LUT Shape

<e37aacd4-6cb5-4677-bbca-ad2dfc1f079dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=617&group=comp.protocols.dicom#617

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:620a:2093:b0:71d:27f2:b4fd with SMTP id e19-20020a05620a209300b0071d27f2b4fdmr856734qka.457.1675949599498;
Thu, 09 Feb 2023 05:33:19 -0800 (PST)
X-Received: by 2002:a05:6870:79f:b0:13b:709c:f479 with SMTP id
en31-20020a056870079f00b0013b709cf479mr838342oab.2.1675949598970; Thu, 09 Feb
2023 05:33:18 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Thu, 9 Feb 2023 05:33:18 -0800 (PST)
In-Reply-To: <f4661bb0-47c8-4420-aaa5-b523bf0a60ecn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=129.195.253.18; posting-account=FWQo4woAAAD_P-BNQ1B90GtcAxrSwsN1
NNTP-Posting-Host: 129.195.253.18
References: <ece0c142-845f-4931-8b56-904b20ad7223n@googlegroups.com> <f4661bb0-47c8-4420-aaa5-b523bf0a60ecn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e37aacd4-6cb5-4677-bbca-ad2dfc1f079dn@googlegroups.com>
Subject: Re: Combine Photometric Interpretation and Presentation LUT Shape
From: nicolas.roduit@gmail.com (Nicolas Roduit)
Injection-Date: Thu, 09 Feb 2023 13:33:19 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1301
 by: Nicolas Roduit - Thu, 9 Feb 2023 13:33 UTC

Thank you David for this clarification. That was my first understanding.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor