[ome-devel] OME.tiff with FLIM time gates that are not equally spaced in time
Munro, Ian
i.munro at imperial.ac.uk
Tue Jul 17 13:20:45 BST 2018
Hi Romain
Attached is a little Matlab script to create a FLIM OME-TIFF.
The first section just creates some dummy data.
The second part (after the tic at line 28) uses the bio-formats Matlab plugin to write this to a file.
Note that the variable “delays’ can contain any strings not just the regularly spaced ones used here.
This is quite old code now so maybe someone from the core OME team could have a quick look and see if it’s still ok?
In particular this line:
java.lang.System.setProperty('javax.xml.transform.TransformerFactory', 'com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl’);
may no longer be required.
Also we used to have problems when overwriting existing files. If this has since been addressed,
then this section:
if exist(outputPath, 'file') == 2
delete(outputPath);
end
May no longer be required.
Hope that helps.
Best wishes.
Ian
On 17 Jul 2018, at 12:38, Laine, Romain <r.laine at ucl.ac.uk<mailto:r.laine at ucl.ac.uk>> wrote:
Hi Ian,
Many thanks.
Code example would be great, please !
I am currently using MATLAB, is this a limitation?
Cheers,
Romain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20180717/cd3e08dd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: save_as_OMEtiff_Synthetic_Gated.m
Type: application/octet-stream
Size: 1955 bytes
Desc: save_as_OMEtiff_Synthetic_Gated.m
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20180717/cd3e08dd/attachment.obj>
More information about the ome-devel
mailing list