Clear Filters
Clear Filters

Find position of an object in an other image

1 view (last 30 days)
Az
Az on 26 Jul 2017
Answered: Image Analyst on 26 Jul 2017
I want to detect the position of a simple object of an image into another image. The object is like a simple rectangle of couple of overlapping rectangles with uniform color background.
I tried matlab functions of detectHarrisFeatures and detectSURFFeatures.
detectHarrisFeatures works well but fails when the pair of images have a different magnifications (change in number of pixels of the object). It also fails when there is a small disturbance (defect, hot spot, partical) in one of the image. Whereas detectSURFFeatures fails when the object is too simple (eg. just a rectangle)
Any suggestion? Thanks in advance

Answers (1)

Image Analyst
Image Analyst on 26 Jul 2017
You might try Hu's moments which are rotation and scale invariant.

Community Treasure Hunt

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

Start Hunting!