|
I know ImageJ has a function called Time Stamper.
We are recording a series of OCT .bmp images at a proscribed interval, but the time saving is not exact. So we want to know the exact elapsed times between each frame in a movie read in to ImageJ as a stack.
Q1: Is it possible to input an array to Time Stamper with the relative file creation time of each image to display on the image using either java or javascript?
Perhaps the file modified times are stored in a stack variable?
In java one can say
1. import java.util.Date;
Date(file.lastModified()));
The output is sort of like: 11:11:07
2. Save these values, esp hours and seconds into some sort of an array in Image J,
3. Subtracting the relative time from the start of the first file in the image stack.
4. Print the relative time on each frame in the stack to make the movie.
Is there an ImageJ macro I may have missed. I am new to java/javascript, but in MATLAB fileopen does this pretty easily.
Ethan Cohen, Ph.D.
FDA Center for Devices and Radiological Health
Office: Rm 1204 WO62
White Oak Federal Res Ctr.
10903 New Hampshire Ave.
Silver Spring, MD 20993
Office: 301-796-2485
Lab:301-796-2762
Fax: 301-796-9927
Cell: 301-538-7544
"THIS MESSAGE FROM ETHAN COHEN IS INTENDED ONLY FOR THE USE OF THE PARTY TO WHOM IT IS ADDRESSED AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL, AND PROTECTED FROM DISCLOSURE UNDER LAW. If you are not the addressee, or a person authorized to deliver the document to the addressee, you are hereby notified that any review, disclosure, dissemination, copying, or other action based on the content of this communication is not authorized. If you have received this document in error, please immediately notify the sender immediately by e-mail or phone."
|