Groovy script for kymograph creation
Input:
- intensity.tiff
- midline-binary.tiff
Analysis workflow idea:
- for each timepoint:
- convert binary to free line ROI object
- set the width
- run plot profile
- extract the profile (coordinates and values) for each timepoint
- find the longest profile
- create a new image with nx = number of timepoints and ny = longest profile
- paint values in such that we have the kymograph
Output:
- kymograph
- ???
Related things:
https://forum.image.sc/t/straighten-along-a-segmented-line-in-3d/41476