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 CenterFile Exchange에서 Red에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by