simple question about one of "Img()" commands
Show older comments
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)"
Accepted Answer
More Answers (0)
Categories
Find more on Special Characters 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!