I Need to align these two fiducial marks?i am new to image processing and i dont have any idea about how to do it.so can any one help me with the code

3 views (last 30 days)
  7 Comments
Matt J
Matt J on 24 Mar 2019
@vicky, if the image you have posted is just an example, then please post more example images so we get a more complete sense of the problem.

Sign in to comment.

Answers (2)

Image Analyst
Image Analyst on 24 Mar 2019
  1. Threshold,
  2. use bwareafilt to extract largest blob (the L-shaped blob).
  3. Use regionprops() to compute centroid.
  4. Compute deltax and deltay from reference image.

vicky v
vicky v on 25 Mar 2019
Edited: vicky v on 25 Mar 2019
@Image analyst,this image is after using otsu threshold method.
when i use bwareafilt the whole image goes black??
i need to find the centroid of both the marks?
  14 Comments
vicky v
vicky v on 16 Apr 2019
Yes sir these are the two input images, I have asked them for seperate images but they said they don't have it..
I need work on this only.
Can't we use this sir.
vicky v
vicky v on 19 Apr 2019
sir i have completed the motor control part,only this alignment part is not completed.
How to use this to regenerate the occluded image??

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!