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

2 views (last 30 days)
Hello,
I want to make certain pixel values with known y,x - 2 while other pixels will be zero(0).
kindly assist, thanks.

Answers (1)

darova
darova on 12 Mar 2021
Maybe you need bwselect

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!