how to make certain pixel values = 1 or 2 with known y,x coordinates values.

1 ビュー (過去 30 日間)
Eberechi ICHI
Eberechi ICHI 2021 年 3 月 12 日
回答済み: darova 2021 年 3 月 12 日
Hello,
I want to make certain pixel values with known y,x - 2 while other pixels will be zero(0).
kindly assist, thanks.

回答 (1 件)

darova
darova 2021 年 3 月 12 日
Maybe you need bwselect

Community Treasure Hunt

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

Start Hunting!

Translated by