ijpb / MorphoLibJ

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

Label-label relation module for "Tracking" and "Colocalisation" #46

Open tischi opened 3 years ago

tischi commented 3 years ago

@manerotoni @dlegland

I had an idea how to, with minimal effort, add more functionality to MLJ that could be first steps towards tracking and colocalisation analysis. Essentially the idea is to have one module where the input are two label mask images (labelsA, labelsB). The output would be a results table with relational information such as overlap and closeness of the difference labels in the two images.

For example things like this:

labelA labelB_IndexClosestCentroid labelB_maximalOverlap numPixelsOverlap
1 4 4 1024
2 3 10 501
3 5 5 10

What do you think? Should we try to add something like this?

dlegland commented 3 years ago

Hi! I see the idea, this could be useful for comparing segmentation results, or for validating registrations. I think Ignacio coded several functions for comparing label images, it seems this could be related. I need to maturate a little bit about it, but why not?

tischi commented 3 years ago

for comparing segmentation results, or for validating registrations.

wow, even more use cases!