|
On May 12, 2011, at 11:40 AM, Cammer, Michael wrote:
> I just wrote a simple macro to convert image 5D stacks to RGB stacks and want to transfer the Frame Interval info. Transferring the spatial scale is simple using get and putVoxelSize. Would somebody please point me to extracting and reassigning the fame interval?
Use these Stack macro functions
Stack.getFrameInterval() - Returns the frame interval in T units
Stack.setFrameInterval(interval) - Sets the frame interval in T units
Stack.getUnits(X,Y,Z,T,Value) - Returns the x, y, z, t and value units
Stack.setTUnit(string) - Sets the T (time) unit
which are available in the 1.45h daily build.
-wayne
|