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

2 次查看(过去 30 天)
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

类别

Help CenterFile Exchange 中查找有关 Modify Image Colors 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by