How can i extract two different types of objects from one single image based on their properties
2 ビュー (過去 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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!