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

Suggestion for Intensity Measurements and Analyze Regions commands #69

Open LPUoO opened 2 years ago

LPUoO commented 2 years ago

Hi @dlegland 👋

I just wanted to suggest the addition of an optional results column with the name of the input image and the name of the label map (similar to Display label in Analyze › Set Measurements...) in MorphoLibJ › Analyze › Intensity Measurements 2D/3D.

Same for the name of the label map when using MorphoLibJ › Analyze › Analyze Regions.

Also, if the names of the input images are present in the results then the ability of adding new results to an existing table (rather than creating a new one) might be useful.

This would help users process the results when analysing multiple images.

Thanks a lot 🙇

dlegland commented 2 years ago

Hi, yes, this coud be a useful option! I plan (for a long time...) to refactor these plugin, so this can be taken into account.

however I am not totally sure this can be easily done. From what I remember, ImageJ ResultsTable allow only numeric values, and adding names is possible only in the first column :( But maybe it is possible to provide a pattern for combining image name and label value to populate first column...