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

2 visualizzazioni (ultimi 30 giorni)
Chikako Kuriyama
Chikako Kuriyama il 18 Ott 2017
Risposto: Image Analyst il 18 Ott 2017
あるグレースケール画像内の最大輝度の数値を求めたいのですが、適切な関数などはありますか。

Risposte (1)

Image Analyst
Image Analyst il 18 Ott 2017
for a global max, try this:
maxGrayLevel = max(grayImage(:));
For local maxima, try this:
localMax = imregionalmax(grayImage);

Community Treasure Hunt

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

Start Hunting!