Sign in to follow this  
Martin Perry

Movement vector of areas in image

Recommended Posts

Martin Perry    1553
I have two images with severeal non-convex areas. I need to find vector in which I can move area from image 1 to position in image 2.
Problem is, that areas change shape and also can vreak into multiple smaller areas (this is not problem, I use Morphological operator to enclose areas together).
After some operation (median filter -> tressholding -> binary image -> morphological enclose) I have final areas without noise and "errors"

For. example:
a) on first image i have square, but on second image it could be circle
b) area on edge of image... in one image is only part of square (I part of L), on second image is full L shaped area

I have identified corresponding areas in both images. That I use convex hull and calculate its centroid for both areas and create vector from those centroids... problem is, that its not universal solution. Succes rate is about 60%.
Can aynone help me with some suitable solution ?

Concrete example in image:
Old:
[attachment=9832:xxx1.bmp]
Actual:
[attachment=9831:xxx0.bmp]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this