What does the operator "~=" mean?
Ältere Kommentare anzeigen
max2 = @(x) max(max(x));
immax = nlfilter(im, [siz siz], max2);
im(im ~= immax) = 0;
result = im;
This is the code take from a non-maximum suppression function. What does the 3rd line mean? Why can we use "something(something) = 0;" as a statement?
Thank you.
1 Kommentar
Image Analyst
am 26 Feb. 2013
Why not just us imregionalmax()?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB Mobile finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!