how to find angle of inclination of the object in binary images
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Please any one show me the code for finding angle of inclination of the object in binary image, Please help me.
0 comentarios
Respuestas (1)
Image Analyst
el 3 de Mzo. de 2014
See my image segmentation tutorial, "BlobsDemo" http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
In short, you process your image until you get to an image that you can threshold into foreground and background. Then you call regionprops on the foreground and ask for the 'Orientation' of all the blobs. That's the angles of the major axis of an ellipse fit to the blobs.
2 comentarios
Ver también
Categorías
Más información sobre Labeling, Segmentation, and Detection en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!