Here are two images that were taken before the surgeon performed any action, and the other after that.
Before:

After:

Difference: (after - to) + 128. (Adding 128 is simply the best image)

As the white arrows pointed out, global movement affected all objects.
So, I need to evaluate it in order to get more valuable information about what is happening on stage.
I already knew that it OpenCV 3.0helps in this context when he implemented some methods that evaluate the dominant movement between two images or two point lists. But I still use OpenCV 2.4.xit because I have dependencies with libraries already installed on my machine, so I'm looking for alternative solutions or any other code that does what I want.
source
share