[ome-devel] ImageConvertor Problem
David Gault (Staff)
d.gault at dundee.ac.uk
Thu Mar 10 16:58:58 GMT 2016
Hi Neil,
Thank you for raising this issue and providing both sample data and code.
I was able to reproduce the same results as you had reported. The modified ImageConverter code provided appears fine and is not the cause of the problem. Instead the same results can be observed when reading the raw vsi file directly with the Bio-Formats CellSensReader. I have not yet fully root caused the issue but I have created a ticket to track the ongoing work and you shall be cc’d on any updates to https://trac.openmicroscopy.org/ome/ticket/13170
With Thanks,
David Gault
On 9 Mar 2016, at 03:08, Anthony, Neil <nantho2 at EMORY.EDU<mailto:nantho2 at EMORY.EDU>> wrote:
Hi all,
I was wondering if anybody has ever seen this kind of error on conversion:
https://drive.google.com/file/d/0BzfJAGNfrgieUFlnbHdsWmkwdU0/view?usp=sharing
If you look at the second channel you see the image is offset by a small amount and there’s bad data at the top, and then on the third image more shift and more bad data. The raw vsi file I’m converting is here: https://drive.google.com/file/d/0BzfJAGNfrgieSG9DZ08tRjFfOVU/view?usp=sharing
I’m using the ImageConverter.java code but I’ve adapted it a little such that I can use it in a loop without it exiting. Available here: https://drive.google.com/file/d/0BzfJAGNfrgieWTJyQ0FtdUpnZzQ/view?usp=sharing
Essentially all I’ve done is renamed the class and made it public such that I can use it from my code, and I’ve added a function to reset the fields once it’s finished such that it starts fresh without issue. I use this code in a loop to convert a number of files and pass the args as follows:
String[] args = new String[5];
args[0] = "-series";
args[1] = Integer.toString(series);
args[2] = "-overwrite";
args[3] = in_id;
args[4] = out_id;
imgCon.testConvert(writer, args);
where in and out id’s are the in and out paths, and the series variable is an int for the series I want to grab.
Any pointers would be much appreciated.
Thanks
Neil
________________________________
This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.
If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
_______________________________________________
ome-devel mailing list
ome-devel at lists.openmicroscopy.org.uk<mailto:ome-devel at lists.openmicroscopy.org.uk>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20160310/25793d95/attachment.html>
More information about the ome-devel
mailing list