Making some intensity values of image to zero
4 views (last 30 days)
Show older comments
hi..
How to zero the unwanted pixel intensity values of a image to zero.
0 Comments
Accepted Answer
Stephen
on 24 May 2012
if your image is 'a', try
a(a>threshold)=0;
or try
max(a,threshold);
which makes the values equal to your threshold. maybe it is useful
1 Comment
Walter Roberson
on 24 May 2012
The reverse, values less than the threshold are the ones to be set to 0 apparently.
More Answers (1)
Walter Roberson
on 23 May 2012
... Assign 0 to those matrix locations ?
Is there more to this question, such as automatically determining which pixels have "unwanted pixel intensity values" ?
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!