MATLAB Answers

How to read outer boundary pixel color value?

3 views (last 30 days)
Ibrahim Thorig
Ibrahim Thorig on 25 Apr 2014
Commented: Image Analyst on 28 Apr 2014
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.

  0 Comments

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 27 Apr 2014
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 Comments

Ibrahim Thorig
Ibrahim Thorig on 27 Apr 2014
Dear; the boundary color of image fragment.
Image Analyst
Image Analyst on 28 Apr 2014
How about this
pixelColor = impixel(1,1);

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!