How can i extract two different types of objects from one single image based on their properties

1 visualización (últimos 30 días)
I have an image with screws and bolts. Property of this image is that the nut is circular in nature and the screws are kind of rectangular. How can I extract them into separate images. Please advise

Respuestas (1)

Image Analyst
Image Analyst el 23 de Oct. de 2018
Segment your image to get a binary image. Then you can use bwpropfilt(). If you don't know the ranges for the two classes of objects, use regionprops() to determine what they are.

Categorías

Más información sobre Image Segmentation and Analysis 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