Skip to content

Measuring intensity from different image layers with the same labels layer? #82

@chrishavlin

Description

@chrishavlin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions