フィルターのクリア

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 Center および File ExchangeImage Segmentation and Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by