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 intensity from different image layers with the same labels layer? #82

Open
chrishavlin opened this issue Oct 6, 2023 · 0 comments

Comments

@chrishavlin
Copy link

chrishavlin commented Oct 6, 2023

Hi there, thanks for the great plugin!

Just want to double check -- there's not currently any way to measure the intensity from different image layers using the same labels layer, correct?

I'm a bit of a outlier for a napari user in that I maintain yt-napari for loading in astrophysics (and more) simulation data from yt into napari. So I'm not sure how my situation applies to the majority of napari users but in my workflow I typically:

  • load several image layers for different simulation fields covering the same spatial extent
  • segment a single image layer to get a single labels layer
  • measure the intensity values of all my image layers using the one labels layer
  • explore how those measured intensities relate to each other (e.g., here's a short video of interactive plotting with napari-clusters-plotter after I manually edited the properties dict to contain intensity values across image layers for the one labels layer and then used napari-clusters-plotter to run a kmeans classification)

I've taken to doing the measurements manually since I haven't found a plugin that will measure across multiple image layers.

I'm not sure how much need there is for most napari users (maybe there are applications with multispectral bio-imaging?), but would you be open to a PR that adds an option to measure intensity from different image layers (assuming that I haven't missed something in how to use regionprops)? No worries at all if not, I can add some functionality to yt-napari, but this felt like a change that might be nice to have upstream here.

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

1 participant