<div dir="ltr">Hi Burkhard,<div><br></div><div>Argh, I think you are getting bit by a confusing naming choice in SCIFIO. A "planar axis" in SCIFIO means its value contributes to the size of a plane, not the number of planes. See the ImageMetadata javadoc[1] for a better explanation.</div><div><br></div><div>So, if you have an XYZT dataset for example, and you set your planar axis count to 4, the writer thinks it has one plane of size X * Y * Z * T (which is why the warning says it only supports 1 plane in your case).</div><div><br></div><div>If you set the planar axis count to 2 in this case, you would have Z * T number of planes, each of size X * Y.</div><div><br></div><div>If anything is still unclear about planar axes, just let me know. I'm happy to look over code examples for your translator/writer, as well, and will try to create better documentation on this subject[2].</div><div><br></div><div>Best,</div><div>Mark</div><div><br></div><div>[1] <a href="http://javadoc.imagej.net/SCIFIO/io/scif/ImageMetadata.html#setPlanarAxisCount(int)">http://javadoc.imagej.net/SCIFIO/io/scif/ImageMetadata.html#setPlanarAxisCount(int)</a></div><div>[2] <a href="https://github.com/scifio/scifio-tutorials/issues/2">https://github.com/scifio/scifio-tutorials/issues/2</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 29, 2015 at 3:57 PM, Burkhard Hoeckendorf <span dir="ltr"><<a href="mailto:burkhard.hoeckendorf@web.de" target="_blank">burkhard.hoeckendorf@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Mark,<br>
<br>
Its me again, this time I have a quick question about writing >2D blocks. For the format I mentioned in my previous mail, I have a metadata translator that sets the planar axis count to 3-5. I know that my writer implementation can handle that, but ImageJ won't let it. Instead, I get a message box saying "Source dataset contains: n planes, but writer format only supports: 1". Is there an easy way around this?<br>
<br>
Thanks,<br>
Burkhard<br>
<br>
______________________________<u></u>_________________<br>
SCIFIO mailing list<br>
<a href="mailto:SCIFIO@scif.io" target="_blank">SCIFIO@scif.io</a><br>
<a href="http://scif.io/mailman/listinfo/scifio" target="_blank">http://scif.io/mailman/<u></u>listinfo/scifio</a><br>
</blockquote></div><br></div>