On 26.11.2013 16:07, Charlotte Debus wrote:
> Dear Mailing list.
> In my Plugin I want to check for the units of the pixel values in a PET
> image. The DICOM file holds this information, either under the tag UNITS
> of under Rescale Type. How can I access this value in my code?
> For the Modality I used
> DataNode::GetStringProperty("dicom.series.Modality"), but the units are
> not displayed in the "Properties" Plugin.
> Any suggestions?Dear Charlotte, only a fixed list of DICOM tags is exposed at the DataNode properties. The relevant code is in DicomSeriesReader.cpp at line 1913. The idea for this limitation was that the values are copied from the ITK SeriesReader, which (to my knowledge) can only expose the tags of ONE slice (instead of all slices), so that image level tags are of very limited use. To avoid non-meaningful properties, we defined a list of patient/study/series level tags that seemed useful. The PET pixel value units should be constant for one image stack, so they could be a useful addition. I don't see a reason why not to add them to the code. Kind regards, Daniel -- Dr. Daniel Maleike Telefon: + 49 6221 647976 3 Mint Medical GmbH, Friedrich-Ebert-Straße 2, 69221 Dossenheim/Heidelberg Geschäftsführer: Dr. Matthias Baumhauer Registergericht Mannheim, HRB 709351 ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
