[ome-users] How to get timestamp when using bfconvert

Melissa Linkert melissa at glencoesoftware.com
Tue Dec 16 16:19:45 GMT 2014


Hi Fangfei,

> >> When I use bfconvert to convert a nd2 file into a number of tiff files,
> >> is there a way to extract the timestamp of each image, i.e., the time
> >> each image is taken by microscope camera?

> It seems like Fangfei wanted to know the timestamp of each tiff,
> E.g. timepoint 0 is 0 seconds
> 	timepoint 1 is 10.5 seconds

If you are indeed hoping to record the timestamp, the only way to do so
now is by using the %A option in the output file name, for example:

  bfconvert file.nd2 output-file_%A.tiff

%A gives the full timestamp of the first image stored in the output
file.  So if the start of the acquisition was 2014-12-16T10:15:00 and
the first image was acquired 5 seconds later, the output file name would
be output-file_2014-12-16T10:15:05.tiff.  There is not currently a
built-in way of recording just the timestamp from the beginning of the
acquisition, but it could be added if that would be useful.

Regards,
-Melissa

On Tue, Dec 16, 2014 at 12:11:23PM +0000, William Moore wrote:
> It seems like Fangfei wanted to know the timestamp of each tiff,
> E.g. timepoint 0 is 0 seconds
> 	timepoint 1 is 10.5 seconds
> 		etc.
> 
> Am I right?
> 
> On 16 Dec 2014, at 11:48, "Balaji Ramalingam (Staff)" <b.ramalingam at dundee.ac.uk> wrote:
> 
> > Hi,
> > 
> > If the question is about converting each time point into an image,
> > The following example should help,
> > 
> > bfconvert -timepoint 0 /path/to/input output-first-timepoint.tiff
> > 
> > 
> > The above example converts the first time point alone (-timepoint 0).
> > 
> > For more information on bfconvert, please follow the following link,
> > http://www.openmicroscopy.org/site/support/bio-formats5/users/comlinetools/
> > conversion.html
> > 
> > Hope that helps.
> > 
> > Best,
> > Balaji
> > 
> > __________________
> > Mr Balaji Ramalingam
> > Software Developer
> > 
> > OME Team
> > College of Life Sciences
> > University of Dundee
> > 
> > 
> > 
> > 
> > 
> > 
> > On 15/12/2014 18:59, "FangfeiLi" <lifangfei at hotmail.com> wrote:
> > 
> >> Hello,
> >> 
> >> May I ask a question?
> >> 
> >> When I use bfconvert to convert a nd2 file into a number of tiff files,
> >> is there a way to extract the timestamp of each image, i.e., the time
> >> each image is taken by microscope camera?
> >> 
> >> Thank you very much and best regards!
> >> Fangfei
> >> _______________________________________________
> >> ome-users mailing list
> >> ome-users at lists.openmicroscopy.org.uk
> >> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
> > 
> > 
> > The University of Dundee is a registered Scottish Charity, No: SC015096
> > _______________________________________________
> > ome-users mailing list
> > ome-users at lists.openmicroscopy.org.uk
> > http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
> 
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users



More information about the ome-users mailing list