You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you like to see added to ROI Extractors?
Currently, the scanimage tiff imaging extractors assume that each file contains a full cycle of frames. Ex. for 2 channels, 2 planes, and 2 framesPerSlice: [channel_1_plane_1_frame_1, channel_2_plane_1_frame_1, channel_1_plane_1_frame_2, channel_2_plane_1_frame_2, channel_1_plane_2_frame_1, channel_2_plane_2_frame_1, channel_1_plane_2_frame_2, channel_2_plane_2_frame_2, channel_1_plane_1_frame_3, channel_2_plane_1_frame_3, channel_1_plane_1_frame_4, channel_2_plane_1_frame_4, channel_1_plane_2_frame_3, channel_2_plane_2_frame_3, channel_1_plane_2_frame_4, channel_2_plane_2_frame_4, ... channel_1_plane_1_frame_N, channel_2_plane_1_frame_N, channel_1_plane_2_frame_N, channel_2_plane_2_frame_N]
where the last frame of the file MUST BE channel_2_plane_2_frame_N for however many frames it has.
However, it is possible to split scanimage files mid-cycle based on a maximum number of frames. Ex. for 2 channels, 2 planes, 2 framesPerSlice AND a maximum total number of frames/file of 10:
What would you like to see added to ROI Extractors?
Currently, the scanimage tiff imaging extractors assume that each file contains a full cycle of frames. Ex. for 2 channels, 2 planes, and 2 framesPerSlice:
[channel_1_plane_1_frame_1, channel_2_plane_1_frame_1, channel_1_plane_1_frame_2, channel_2_plane_1_frame_2, channel_1_plane_2_frame_1, channel_2_plane_2_frame_1, channel_1_plane_2_frame_2, channel_2_plane_2_frame_2, channel_1_plane_1_frame_3, channel_2_plane_1_frame_3, channel_1_plane_1_frame_4, channel_2_plane_1_frame_4, channel_1_plane_2_frame_3, channel_2_plane_2_frame_3, channel_1_plane_2_frame_4, channel_2_plane_2_frame_4,
...
channel_1_plane_1_frame_N, channel_2_plane_1_frame_N, channel_1_plane_2_frame_N, channel_2_plane_2_frame_N]
where the last frame of the file MUST BE
channel_2_plane_2_frame_N
for however many frames it has.However, it is possible to split scanimage files mid-cycle based on a maximum number of frames. Ex. for 2 channels, 2 planes, 2 framesPerSlice AND a maximum total number of frames/file of 10:
File 1:
prefix_00001_00001.tif
[channel_1_plane_1_frame_1, channel_2_plane_1_frame_1, channel_1_plane_1_frame_2, channel_2_plane_1_frame_2, channel_1_plane_2_frame_1, channel_2_plane_2_frame_1, channel_1_plane_2_frame_2, channel_2_plane_2_frame_2, channel_1_plane_1_frame_3, channel_2_plane_1_frame_3]
File 2:
prefix_00001_00002.tif
[channel_1_plane_1_frame_4, channel_2_plane_1_frame_4, channel_1_plane_2_frame_3, channel_2_plane_2_frame_3, channel_1_plane_2_frame_4, channel_2_plane_2_frame_4]
The ScanImageTiffImagingExtractors should be able to accommodate this case.
Do you have any interest in helping implement the feature?
Yes.
Code of Conduct
The text was updated successfully, but these errors were encountered: