<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Trevor,
<div class=""><br class="">
</div>
<div class="">Any custom attributes such as the DICOM tags will be stored on the image info property. You will have to parse the values from the String of tags:</div>
<div class=""><span style="font-family: Monaco; font-size: 11px;" class="">String
</span><span style="font-family: Monaco; font-size: 11px; color: rgb(126, 80, 79);" class="">info</span><span style="font-family: Monaco; font-size: 11px;" class=""> =
</span><span style="font-family: Monaco; font-size: 11px; color: rgb(126, 80, 79);" class="">img</span><span style="font-family: Monaco; font-size: 11px;" class="">.getInfoProperty();</span></div>
<div class=""><span style="font-family: Monaco; font-size: 11px;" class=""><br class="">
</span></div>
<div class="">This will include the values for those two particular tags:</div>
<div class="">
<div style="margin: 0px; font-size: 11px; font-family: Monaco;" class="">0018,0050 Slice Thickness #1 = 6.231669</div>
<div style="margin: 0px; font-size: 11px; font-family: Monaco;" class="">0018,0070 Counts Accumulated #1 = 0</div>
<div style="margin: 0px; font-size: 11px; font-family: Monaco;" class="">0018,0071 Acquisition Termination Condition #1 = TIME</div>
<div style="margin: 0px; font-size: 11px; font-family: Monaco;" class="">0018,0088 Spacing Between Slices #1 = 6.231669</div>
</div>
<div class=""><span style="font-family: Monaco; font-size: 11px;" class=""><br class="">
</span></div>
<div class="">With Thanks,</div>
<div class="">David Gault</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 23 Jun 2018, at 21:59, Trevor Shelby <<a href="mailto:trvrshelby@gmail.com" class="">trvrshelby@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">I hope this is the right place to send a bug report. I'm not really sure.
<div class=""><br class="">
<div class="">I am using BioFormats version 5.8.2 on a Linux with Java version 1.8.0. I am trying to open DICOM files and read information from their tags, but it looks like I'm getting back the wrong stuff when I'm using BioFormats (see Data Readout.png attachment).
The units are converted, which is okay, but the thickness and spacing aren't being retrieved. I've attached some of the DICOM files that gave me mismatched results (I used the NM-MONO file in the screenshot) as well as the Java program I used for comparison.
The problem could just be in my code, so sorry if it happens that I've just made some obvious oversight. Anyways, thanks for reading! Email back if you need more info.</div>
</div>
</div>
<span id="cid:C85A1C15-EBE4-4B13-93CF-C01774ECA938@Home"><Data Readout.png></span><span id="cid:F641D388-201D-46C7-8B76-4E5872E76BCB@Home"><NM-MONO2-16-13x-heart.dcm></span><span id="cid:B41FE115-6DFA-4EDF-B006-437562585A81@Home"><CT-MONO2-16-brain.dcm></span><span id="cid:591555A8-D86A-46B9-AD00-D23F0A846F19@Home"><MR-MONO2-12-an2.dcm></span><span id="cid:0AE33C53-2F50-4FBB-A4AA-C04C406AFC4F@Home"><InfoTest.java></span>_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>