Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

compute global motion opencv 2.4.x C++

Here are 2 images, one captured before an action has been made by the surgeon and the other afterwards.

BEFORE:

image description

AFTER:

image description

Difference: (After - Before) + 128. (The addition of 128 is just to have a better image)

image description

As pointed the white arrows, there has been a global motion affecting all the objects. So, I need to estimate it in order to get more valuable information on what's happening in the scene. I already knew that OpenCV 3.0 helps in this context where it's implemented some methods that estimate the dominant motion between 2 images or 2 list of points. But I'm using so far OpenCV 2.4.x 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.

Thanks in advance.

compute global motion opencv 2.4.x C++

Here are 2 images, one captured before an action has been made by the surgeon and the other afterwards.

BEFORE:

image description

AFTER:

image description

Difference: (After - Before) + 128. (The addition of 128 is just to have a better image)

image description

As pointed the white arrows, there has been a global motion affecting all the objects. So, I need to estimate it in order to get more valuable information on what's happening in the scene. I already knew that OpenCV 3.0 helps in this context where it's implemented some methods that estimate the dominant motion between 2 images or 2 list of points. But I'm using so far OpenCV 2.4.x 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.

Thanks in advance.

compute global motion opencv 2.4.x C++

Here are 2 images, one captured before an action has been made by the surgeon and the other afterwards.

BEFORE:

image description

AFTER:

image description

Difference: (After - Before) + 128. (The addition of 128 is just to have a better image)

image description

As pointed the white arrows, there has been a global motion affecting all the objects. So, I need to estimate it in order to get more valuable information on what's happening in the scene. I already knew that OpenCV 3.0 helps in this context where it's implemented some methods that estimate the dominant motion between 2 images or 2 list of points. But I'm using so far OpenCV 2.4.x 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.

Optical Flow:

image description

So as you can see above, I can't differentiate between motions after computing the optical flow.

Thanks in advance.