Find position of an object in an other image

1 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Feature Detection and Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by