ijpb / MorphoLibJ

Collection of mathematical morphology methods and plugins for ImageJ
http://imagej.net/MorphoLibJ
GNU Lesser General Public License v3.0
98 stars 49 forks source link

Feature request total number of pixels in 3D label analyze #50

Closed manerotoni closed 3 years ago

manerotoni commented 3 years ago

Hello, I wonder if in Analyze > Analyze Regions 3D and Analyze Regions you could add the number of pixels of the objects (without scaling).

The reason is that to find the size to filter objects it requires values in pixel units, and this is not easy to get when the size is given in physical volume.

Thanks

Antonio

dlegland commented 3 years ago

Hi Antonio, yes, this is a good idea. One solution could be to clear the spatial calibration before running measurement, but this makes it tedious to switch from calibrated / uncalibrated data. I'll work on it! David

dlegland commented 3 years ago

Hi, I implemented it in https://github.com/ijpb/MorphoLibJ/commit/2844b25389afe6f74791b57ae15ae53d6e6fbf2b There is also the equivalent feature for 2D region analysis.

manerotoni commented 3 years ago

Great thanks! I guess you will update the version on the repo in the near future.

dlegland commented 3 years ago

yes, I plan to make a release soon! Hopefully this month.