haesleinhuepf / napari-skimage-regionprops

Feature extraction for labeled objects in images using regionprops from scikit-image
BSD 3-Clause "New" or "Revised" License
47 stars 13 forks source link

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

Open chrishavlin opened 1 year ago

chrishavlin commented 1 year ago

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:

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.