Closed bcipolli closed 8 years ago
I implemented it in the newRLmatch branch, but I found that in some cases signs of the maps are causing an issue. I think it would have been a problem regardless of the matching method, but basically, the scoring method doesn't care if the two maps have opposite signs, and it could match R and L maps with opposite signs. But that would create a concat RL image with flipped signs on R and L hemisphere, and such image becomes hard to match with any wb components.
Example here.
To fix it...maybe we can modify compare_components in decomposition.py so that it flips the sign of the second image if it produces the best dissimilarity score and return the image pair? What do you think, @bcipolli ?
The main.py in newRLmatch allows you to choose between the original R to L direct matching and new RL matching through wb.
From @atsuch: