How can I count total number of gray rocks in the image and print the results? Picture has black, gray and orange rocks.

9 ビュー (過去 30 日間)
How can I count total number of gray rocks in the image and print the results? Picture has black, gray and orange rocks.

回答 (1 件)

Ananya Tewari
Ananya Tewari 2021 年 9 月 20 日
I understand you want to count the objects(rocks) based on a specific color. It looks like you need to perform image segmentation to get the count of objects of specific color. Please refer to this answer (link) to a similar question.
You can also refer to this MATLAB File Excahnge submission which gives a demo to find objects of a certain color in an image.
Hope this helps !

カテゴリ

Help Center および File ExchangeImport, Export, and Conversion についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by