using vision.BlobAnalysis to create BLOBs ,
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
si sam
el 14 de Sept. de 2015
Comentada: Dima Lisin
el 13 de Nov. de 2015
for detecting motion, i used vision.BlobAnalysis to create BLOBs... and then i wanna know how to extract geometric attribute from each blob : MAJORAXIS, MINORAXIS, ORIENTATION? anyone can help me please
0 comentarios
Respuesta aceptada
Walter Roberson
el 14 de Sept. de 2015
Use regionprops() from the Image Processing Toolbox
0 comentarios
Más respuestas (1)
Dima Lisin
el 15 de Sept. de 2015
To do that you have to configure the vision.BlobAnalysis object to give you those outputs:
blobAnalyzer = vision.BlobAnalysis('MajorAxisLengthOutputPort', true, ...
'MinorAxisLengthOutputPort', true, 'OrientationOutputPort', true);
Now if you call the step method you will get all those outputs:
[area, centroid, bbox, major, minor, orientation] = step(blobAnalyzer, I);
You can also turn the area, centroid, and bbox outputs off if you don't need them.
2 comentarios
Dima Lisin
el 13 de Nov. de 2015
Can you post how you create the vision.BlobAnalysis object, and how you call the step() method?
Ver también
Categorías
Más información sobre Computer Vision with Simulink 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!