Hi Guy,<br><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"><br>You are right of course - my OutOfMemoryError was because my javaVM memory default (when called from IDL) was too small. I've upped it to -Xmx2G in an idlde.ini file and all seems fine now.</blockquote>
<div><br></div><div>Great, glad to hear it. Please let us know if you have any further questions or problems.</div><div><br></div><div>By the way, to call from IDL, are you using the <a href="http://ij_read_bio_formats.pro">ij_read_bio_formats.pro</a> script linked from:</div>
<div> <a href="http://loci.wisc.edu/bio-formats/idl">http://loci.wisc.edu/bio-formats/idl</a></div><div><br></div><div>Or did you develop your own way? If you have any improvements or suggestions for that Bio-Formats IDL page, we would be happy to hear them!</div>
<div><br></div><div>Regards,</div><div>Curtis</div><div><br></div><div><br><div class="gmail_quote">On Wed, Jul 11, 2012 at 6:01 AM, Guy Blanchard <span dir="ltr"><<a href="mailto:gb288@cam.ac.uk" target="_blank">gb288@cam.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Curtis, thanks for prompt reply.<div>You are right of course - my OutOfMemoryError was because my javaVM memory default (when called from IDL) was too small. I've upped it to -Xmx2G in an idlde.ini file and all seems fine now.<div>
Apologies.</div><span class="HOEnZb"><font color="#888888"><div>Guy</div></font></span><div><div class="im"><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
____________________________________________</div><div>Dr Guy Blanchard</div><div>Department of Physiology, Development & Neuroscience</div><div>University of Cambridge</div><div>Cambridge CB2 3DY</div><div>UK</div><div>
<div><a href="mailto:gb288@cam.ac.uk" target="_blank">gb288@cam.ac.uk</a></div></div><div>____________________________________________</div></span>
</div>
<br></div><div><div class="h5"><div><div>On 10 Jul 2012, at 17:34, Curtis Rueden wrote:</div><br><blockquote type="cite">Hi Guy,<br><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">
<br></blockquote><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">
However, 'FileStitcher->SetId, filename' will never work for some applications where I have too many images to open at any one time (whole series is 70Gb+).<br>Is it possible to initialise the image series with FileStitcher without loading any images, or only a necessary subset?</blockquote>
<div class="gmail_quote"><br></div><div class="gmail_quote">FileStitcher.setId(String) is only supposed to read a single file from the detected grouping. It does do a directory listing to synthesize the group's file pattern (unless you explicitly pass one in), but only actually parses one file. For performance reasons, it assumes all other files in the group have the same dimensions.</div>
<div class="gmail_quote"><br>If you are experiencing different behavior, it is a bug. What are your symptoms? How many files, how long does it take for setId to return (if it does return)? Or do you get an OutOfMemoryError?</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Regards,</div><div class="gmail_quote">Curtis</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Tue, Jul 10, 2012 at 8:32 AM, Guy Blanchard <span dir="ltr"><<a href="mailto:gb288@cam.ac.uk" target="_blank">gb288@cam.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
>From IDL, I'm using your FileStitcher which is working well to identify the FilePattern of groups of images, and then accessing specific images thereafter is all good.<br>
<br>
However, 'FileStitcher->SetId, filename' will never work for some applications where I have too many images to open at any one time (whole series is 70Gb+).<br>
Is it possible to initialise the image series with FileStitcher without loading any images, or only a necessary subset?<br>
<br>
I couldn't find any class methods that would do the job, and documentation that you point to on your website didn't seem as far as I could see to address this. Sorry if I missed it.<br>
<br>
Of your Memory Management options, these seem the kind of thing, but I can't see how I can implement them with or combine with FileStitcher.<br>
• Crop the view area<br>
• Open only a subset of images<br>
• Use Virtual Stack<br>
<br>
Any help gratefully received.<br>
Many thanks,<br>
Guy<br>
<br>
<br>
<br>
____________________________________________<br>
Dr Guy Blanchard<br>
Department of Physiology, Development & Neuroscience<br>
University of Cambridge<br>
Cambridge CB2 3DY<br>
UK<br>
<a href="mailto:gb288@cam.ac.uk" target="_blank">gb288@cam.ac.uk</a><br>
____________________________________________<br>
<br>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" target="_blank">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</blockquote></div><br>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>