How to read outer boundary pixel color value?

1 回表示 (過去 30 日間)
Ibrahim Thorig
Ibrahim Thorig 2014 年 4 月 25 日
コメント済み: Image Analyst 2014 年 4 月 28 日
please help me to read the pixel color value of outer boundary of an image. I mean, I want know the color of the outer boundary pixel. Below image is an scan image.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 4 月 27 日
Which pixel is the boundary? Do you mean the gray pixels? All of them or just any of them, say the one at row 1, column 1? Or do you mean the white border" of the snapshot? Or the white, torn, exposed paper? Why don' tyou repost with an arrow pointing to the pixel you want. Anyway, did you try impixel()?
  2 件のコメント
Ibrahim Thorig
Ibrahim Thorig 2014 年 4 月 27 日
Dear; the boundary color of image fragment.
Image Analyst
Image Analyst 2014 年 4 月 28 日
How about this
pixelColor = impixel(1,1);

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

カテゴリ

Help Center および File ExchangeColormaps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by