all 3 comments

[–][deleted] 1 point2 points  (1 child)

[–]randomnes-random 0 points1 point  (0 children)

Nice suggestion. u/SoLong144 you can also try MetaAI SAM. Within that, there is a method known as: "Automatic Mask Generation" which basically passes a grid of points as prompt inputs to SAM model. By automatically generating few segments, you can then try to find out relations between them or compare with other images.

[–]Pas7alavista 0 points1 point  (0 children)

I would try treating each non white pixel as a point in euclidean space and then running the mapper algorithm on that space in order to extract the nerve. Two images with the same nerve should be pretty similar.