필터 지우기
필터 지우기

how to find the pixel exact location

조회 수: 3 (최근 30일)
asthana
asthana 2014년 2월 27일
댓글: mohd akmal masud 2017년 12월 7일
hello, i have binary image and now i have to process where the image pixel value is one now how to find that and i want the exact location of that single pixel which have value 1?
pls answer me
thank you Vivek Asthana

채택된 답변

Walter Roberson
Walter Roberson 2014년 2월 27일
[row, column] = find(YourBinaryImage == 1);
There are also mechanisms using regionprops()
  댓글 수: 1
mohd akmal masud
mohd akmal masud 2017년 12월 7일
Dear All,
if i want to know the location pixel for value 32676(gray scale image), so my code is
[row, column] = find(YourGrayscaleImage == 32676);
Is it correct?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by