How can i find maximum and minimum intensity values of gray image????

58 views (last 30 days)
i8 = imread('lena512.bmp')
F = imshow(i8)
impixeli(i8)
minGrayLevel = min(grayImage(512:512));
maxGrayLevel = max(grayImage(512:512));

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 16 Feb 2020
min_intensity=min(grayImage(:));
max_intensity=max(grayImage(:));

Categories

Find more on Image Processing Toolbox 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!