Images, Filesets and original files
Posted: Wed Oct 07, 2015 8:05 am
Hi all,
we're having a question regarding the identification of original files belonging to a specific image, part of a fileset, created from multiple import files.
According to the ImportFS docs, the "Original Files" to "Fileset" mapping can be rather complex. We are facing the following situation:
The user has imported a dataset from a series of OME-TIFFs, identified by Bio-Formats as one fileset with a total of six independent images (positions), each having 5 timepoints. The original files were called like this:
Now we are trying to use Python to figure out the original file paths on the server, for each of the images of the fileset separately. I've read the Python language binding docs and the corresponding thread "How to retrieve the original file path?" here on the forum.
However, it is unclear to me how to derive which of the original files paths belongs to which of the image within the fileset. Using e.g. "image.getImportedImageFilePaths()" always returns all of the original files for the entire fileset, not just those corresponding to this image.
Any help would be greatly appreciated, I'm pretty much on a loss here
Thanks
~Niko
we're having a question regarding the identification of original files belonging to a specific image, part of a fileset, created from multiple import files.
According to the ImportFS docs, the "Original Files" to "Fileset" mapping can be rather complex. We are facing the following situation:
The user has imported a dataset from a series of OME-TIFFs, identified by Bio-Formats as one fileset with a total of six independent images (positions), each having 5 timepoints. The original files were called like this:
- Code: Select all
foo_Pos0.ome.tif
foo_Pos0_1.ome.tif
foo_Pos0_2.ome.tif
foo_Pos0_3.ome.tif
foo_Pos0_4.ome.tif
...
foo_Pos5.ome.tif
foo_Pos5_1.ome.tif
foo_Pos5_2.ome.tif
foo_Pos5_3.ome.tif
foo_Pos5_4.ome.tif
Now we are trying to use Python to figure out the original file paths on the server, for each of the images of the fileset separately. I've read the Python language binding docs and the corresponding thread "How to retrieve the original file path?" here on the forum.
However, it is unclear to me how to derive which of the original files paths belongs to which of the image within the fileset. Using e.g. "image.getImportedImageFilePaths()" always returns all of the original files for the entire fileset, not just those corresponding to this image.
Any help would be greatly appreciated, I'm pretty much on a loss here
Thanks
~Niko