Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Support for mid-cycle splits of ScanImageTiff files #299

Open
2 tasks done
pauladkisson opened this issue Mar 27, 2024 · 0 comments · May be fixed by #361
Open
2 tasks done

[Feature]: Support for mid-cycle splits of ScanImageTiff files #299

pauladkisson opened this issue Mar 27, 2024 · 0 comments · May be fixed by #361
Labels
enhancement New feature or request

Comments

@pauladkisson
Copy link
Member

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

@pauladkisson pauladkisson added the enhancement New feature or request label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant