<div dir="ltr">Hi Christoph,<div><br></div><div><div>> An alternative is to implement a custom dialog for the reader. I was</div><div>> hesitating with that, since it will interfere with the API and,</div><div>> perhaps, leads to problems in headless mode!?</div>
</div><div><br></div><div>If you really care about issues like that, I would encourage you to get involved in the SCIFIO [1] project, which is the flagship image I/O library for ImageJ2 [2]. One of ImageJ2's design goals is to be fully usable headless. There are tutorials available for SCIFIO [3], but the design is still in beta and needs more iterations before it will be complete. Feel free to write to the SCIFIO mailing list [4] with any questions or ideas.</div>
<div><br></div><div>Regards,</div><div>Curtis</div><div><br></div><div>[1] <a href="http://imagej.net/SCIFIO" target="_blank">http://imagej.net/SCIFIO</a></div><div>[2] <a href="http://imagej.net/ImageJ2" target="_blank">http://imagej.net/ImageJ2</a></div>
<div>[3] <a href="https://github.com/scifio/scifio-tutorials" target="_blank">https://github.com/scifio/scifio-tutorials</a></div><div>[4] <a href="http://scif.io/mailman/listinfo/scifio" target="_blank">http://scif.io/mailman/listinfo/scifio</a></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 17, 2014 at 4:19 AM, Christoph Sommer <span dir="ltr"><<a href="mailto:christoph.sommer@imba.oeaw.ac.at" target="_blank">christoph.sommer@imba.oeaw.ac.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi Curtis,<br>
</div>
<blockquote type="cite">
<div dir="ltr"><div><br>
That's what the MetadataLevel is for. For example, the BMPReader
only populates optional metadata when the MetadataLevel is set
to a value higher than MetadataLevel.MINIMUM:
</div><div><div>However, the ImageJ plugin always sets the metadata level
higher than MINIMUM. So while your reader can respect that
value, it won't really save any time at the ImageJ level to do
so.</div>
</div></div>
</blockquote>
Yes. I was looking into the MetadataLevels enums. But, as you wrote,
the level is always set to "All" using the importer GUI.<br>
<br>
An alternative is to implement a custom dialog for the reader. I was
hesitating with that, since it will interfere with the API and,
perhaps, leads to problems in headless mode!?<br>
<br>
Cheers,<br>
Christoph<div><br>
<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<br>
</div>
<div>Regards,</div>
<div>Curtis</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jul 16, 2014 at 8:41 AM,
Christoph Sommer <span dir="ltr"><<a href="mailto:christoph.sommer@imba.oeaw.ac.at" target="_blank">christoph.sommer@imba.oeaw.ac.at</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey
Mellisa,
<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For what specifically are these settings needed in your
reader? If we<br>
know the use case, we might be able to suggest an
alternative.<br>
</blockquote>
</div>
In my reader it takes quite some time to extract the ROIs
(data may contain long time-lapse...). Of course, I would
try to avoid reading the ROIs in, when the user actually
just wants to look at the raw pixel data (i.e. "Display
ROIs" not checked)<br>
<br>
Cheers,<br>
Christoph<br>
PS: thanks for you prompt reply! :)
<div>
<div><br>
<br>
_______________________________________________<br>
ome-devel mailing list<br>
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk" target="_blank">ome-devel@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div>
<br>_______________________________________________<br>
ome-devel mailing list<br>
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk" target="_blank">ome-devel@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel</a><br>
<br></blockquote></div><br></div></div>