How to find the maximum(single) value in an image
Mostra commenti meno recenti
I wish to eliminate the pixels of and around the maximum pixel value of the image. How do i go about it? Please help.
Risposte (2)
Andreas Goser
il 16 Feb 2012
0 voti
First you identify the maximum value. Use the MAX command.
Then it depends what "eliminating" means, as you can't have a matrix whith holes it it :-) You may want to set those pixel values to e.g. zero.
Image Analyst
il 16 Feb 2012
"Of and around" the max - well that's the whole image. So just do
imageArray = zeros(size(imageArray));
Categorie
Scopri di più su Images in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!