<div dir="ltr">Hi Maarten,<div><br></div><div><div>> A problem that we need to catch is opening compressed Dicoms. They</div><div>> refer to your Loci plugin. I installed it, and that seems to work... I</div><div>> can open the compressed images.</div>


<div><br></div><div>Glad to hear it.</div><div><br></div><div>> Is there a possibilty to share a part of your code that allows to open</div><div>> these compressed images, please?</div></div><div><br></div><div>
Bio-Formats is open source:</div><div><a href="https://github.com/openmicroscopy/bioformats" target="_blank">https://github.com/openmicroscopy/bioformats</a></div><div><br></div><div>Code relevant to compressed DICOM files:</div>


<div><a href="https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/scifio/src/loci/formats/in/DicomReader.java" target="_blank">https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/scifio/src/loci/formats/in/DicomReader.java</a><br>


</div><div><a href="https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/scifio/src/loci/formats/codec/JPEG2000Codec.java" target="_blank">https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/scifio/src/loci/formats/codec/JPEG2000Codec.java</a><br>


</div><div><a href="https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/scifio/src/loci/formats/codec/JPEGCodec.java" target="_blank">https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/scifio/src/loci/formats/codec/JPEGCodec.java</a><br>


</div><div><a href="https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/scifio/src/loci/formats/codec/PackbitsCodec.java" target="_blank">https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/scifio/src/loci/formats/codec/PackbitsCodec.java</a><br>


</div><div><br></div><div>But rather than extracting any code, why not simply call Bio-Formats directly? Here is a simple example:</div><div><br></div><div><a href="https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/loci-plugins/utils/Simple_Read.java">https://github.com/openmicroscopy/bioformats/blob/v4.4.6/components/loci-plugins/utils/Simple_Read.java</a><br>

</div>
<div><br></div><div>Regards,</div><div>Curtis</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 4:32 PM,  <span dir="ltr"><<a href="mailto:maarten.depuydt@mobelife.be" target="_blank">maarten.depuydt@mobelife.be</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Maarten Depuydt sent a message using the contact form at <a href="http://loci.wisc.edu/contact" target="_blank">http://loci.wisc.edu/contact</a>.<br>



<br>
Dear,<br>
<br>
I'm developing little ImageJ plugin to sort Medical Dicoms and extraction of relevant data from the headers, fully automated to our needs.<br>
A problem that we need to catch is opening compressed Dicoms. They refer to your Loci plugin. I installed it, and that seems to work... I can open the compressed images.<br>
Is there a possibilty to share a part of your code that allows to open these compressed images, please?<br>
<br>
Thank you a lot in advance.<br>
Kind regards,<br>
<br>
Maarten Depuydt<br>
Mobelife, Belgium<br>
</blockquote></div><br></div></div>