<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> I also have another question about the Photometric Interpretation. When<br>> the image is of type MONOCHROME1 ( higher values are darker, lower
<br>> values are brighter ) does gdcm reverse the data to be MONOCHROME2 when<br>> it's loaded to itk or it does nothing with the Photometric Interpretation?<br><br>correct. Basically you can assume that GDCM will always do the
<br>conversion to the ITK model for you.</blockquote><div><br>Is there a way to turn off this conversion, so MONOCHROME1 images keep being MONOCHROME1 after loading to itkImage? That's because in the grayscale pipeline defined by the DICOM standard sometimes you have to take into account this attribute and sometimes not, it depends wheter you are applying VOI luts, presentation states,....
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> And I ask again, when a modality lut is present ( tag 0x0028,0x3000 ),<br>
> does gdcm apply it to the image?<br><br>Well that's simply a bug. We have had some discussion in the past to
<br>support that, but we never did. So gdcm (itself) cannot handle those<br>LUT. Since this is a fairly big task, could you please enter a bug in<br>the bug tracker so we don't loose reference to this issue:<br><br>
<a href="http://itk.org/Bug" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://itk.org/Bug</a></blockquote><div><br>It's done! :D <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
As a side note, you understand those datasets are for testing only. Are<br>you actually dealing with such images in real life ?</blockquote><div><br>Yes, I know they are only for testing and sometimes they reproduce very unusual situatios, very strange in real life but if I want to carry out with the DICOM standard I need to display correctly those test images. That's because I'm preparing my application for the next connectathon in April.
<br></div><br>Thanks for your support<br></div><br>