Borrar filtros
Borrar filtros

i need the code for local maximum and local minimum of histogram for the gray scale and color image

1 visualización (últimos 30 días)
please help me

Respuesta aceptada

Walter Roberson
Walter Roberson el 13 de Dic. de 2015
My crystal ball is predicting that you are doing histogram equalization and that what you need is mode after quantizing the values.
  3 comentarios
Image Analyst
Image Analyst el 18 de En. de 2016
Then
[peakValues, peakIndexes] = findpeaks(counts);
[~, valleyIndexes] = findpeaks(-counts);
valleyValues = counts(valleyIndexes);
should do it for you.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by