help with matched features function

1 visualizzazione (ultimi 30 giorni)
MARKOS DERMITZAKIS
MARKOS DERMITZAKIS il 4 Dic 2015
Risposto: Tushar Athawale il 5 Gen 2016
Hello all, I managed to match and locate successfully an object from a cluttered scene using the functions for point features matching described here: http://www.mathworks.com/examples/matlab-computer-vision/711-object-detection-in-a-cluttered-scene-using-point-feature-matching. However, I need to move further and perform various actions, depending on which of the objects of the cluttered scene is located. For example, regarding the image of the documentation, whenever the elephant is detected, to print "elephant located" or maybe perform an action and and so on. Thanks in advance for your help

Risposte (1)

Tushar Athawale
Tushar Athawale il 5 Gen 2016
The example in the mentioned link uses "extractFeatures" function to detect the objects in the target image and "showMatchedFeatures" function to match the features with detected object. In the same example, "estimateGeometricTransform" calculates the transformation relating the matched points, while eliminating outliers. This transformation allows us to localize the object in the scene.
If the number of matched features after above transformation is relatively high, you can be almost sure that the object is present in the target image and vice versa. The pixels within the object border specified by 'newBoxPolygon' variable can be read from the target image for further processing.

Community Treasure Hunt

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

Start Hunting!

Translated by