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

Measuring regionprops without images #79

Open
yfukai opened this issue Jun 12, 2023 · 1 comment
Open

Measuring regionprops without images #79

yfukai opened this issue Jun 12, 2023 · 1 comment

Comments

@yfukai
Copy link

yfukai commented Jun 12, 2023

If I understand correctly, the Image layer is a necessary input for nsr.regionprops_table_all_frames. I think it may be useful to add an option to measure the regionprops without the image layer input (by making the argument Optional). In particular, this feature is necessary for cases where we track segmented regions in a label layer by napari-laptrack.

@yfukai yfukai changed the title Accept measuring regionprops without images Measuring regionprops without images Jun 12, 2023
@haesleinhuepf
Copy link
Owner

Hi @yfukai ,

good point! We actually have a function for this recently implemented by @zoccoler . It just doesn't support timelapse data yet. (Full example)

measurements = measure_labels(label_image_reference=cell_labels)

We could easily make it timelapsable using this code snippet (source):

regionprops_table_all_frames = analyze_all_frames(regionprops_table)

Thanks for the feedback!

Best,
Robert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants