quantumjot / btrack

Bayesian multi-object tracking
https://btrack.readthedocs.io
MIT License
312 stars 49 forks source link

Add option to save out raw intensity images to the .h5 file #20

Open laureho opened 3 years ago

laureho commented 3 years ago

Would it be useful for general users to also be able to save the raw data, not only the segmentation masks? e.g. This would allow the user to crop the raw intensity patches belonging to individual tracks and visualize them as a montage.

It would be identical code to the segmentation property and the write_segmentation method in the HDF5FileHandler, so should be easy to implement.

quantumjot commented 3 years ago

Maybe we could make a generic write_images function that we re-use for segmentation?