How can i extract two different types of objects from one single image based on their properties
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Image Analyst
2018년 10월 23일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!