グレースケール画像の最大輝度

あるグレースケール画像内の最大輝度の数値を求めたいのですが、適切な関数などはありますか。

Respuestas (1)

Image Analyst
Image Analyst el 18 de Oct. de 2017

2 votos

for a global max, try this:
maxGrayLevel = max(grayImage(:));
For local maxima, try this:
localMax = imregionalmax(grayImage);

Preguntada:

el 18 de Oct. de 2017

Respondida:

el 18 de Oct. de 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!