simple question about one of "Img()" commands
Afficher commentaires plus anciens
for yy=1:Y
for xx=1:X
frame = img(max(1,yy-WIN):min(Y,yy+WIN),max(1,xx-WIN):min(X,xx+WIN));
ma = max(frame(:)); mi = min(frame(:));
contr(yy,xx) = (ma-mi)/(ma+mi);
end
what does this phrase mean? "max(1,yy-WIN):min(Y,yy+WIN)"
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Special Characters dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!