Borrar filtros
Borrar filtros

help with matched features function

2 visualizaciones (últimos 30 días)
MARKOS DERMITZAKIS
MARKOS DERMITZAKIS el 4 de Dic. de 2015
Respondida: Tushar Athawale el 5 de En. de 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

Respuestas (1)

Tushar Athawale
Tushar Athawale el 5 de En. de 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.

Categorías

Más información sobre Feature Detection and Extraction en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by