extract object from image

3 ビュー (過去 30 日間)
Sara Antonio
Sara Antonio 2017 年 6 月 1 日
コメント済み: Sara Antonio 2017 年 6 月 2 日
I have a big set of images where I want to measure the size of an object in each image, and if possible obtain the overall shape by extracting the object boundary. I tried to convert the RGB image into binary and also tried to play around with greyscales and other RGB combinations to extract the object but the background (a grid) interferes with the boundary pixels of the object. How can I ignore the background or obtain what I want? Attached I upload two images in which one has the object I want (a pebble) in grey and other in pink. Thank you in advanced.

回答 (1 件)

MathReallyWorks
MathReallyWorks 2017 年 6 月 1 日
Hello Sara,
Read Image Analyst's answer on a similar question: Removing grids in an image
Apply it for your case.
  1 件のコメント
Sara Antonio
Sara Antonio 2017 年 6 月 2 日
Thanks for the help. However, using that example I still have interference of the white grid pixel with the boundaries of my object, and I can't change the threshold values without excluding part of my object.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by