Borrar filtros
Borrar filtros

how to find a local minima for a continuous waveform ?

2 visualizaciones (últimos 30 días)
v gnanaprakash
v gnanaprakash el 8 de Ag. de 2012
I am working on image processing. I want to find the local minima of a particular area in an image.
Thank you in advance.

Respuestas (2)

John Petersen
John Petersen el 8 de Ag. de 2012
min(min(X))
  2 comentarios
Image Analyst
Image Analyst el 8 de Ag. de 2012
That's a global min value, not a local min.
John Petersen
John Petersen el 2 de Nov. de 2012
not if X is limited to the area of interest. but it does have to be rectangular-ish.

Iniciar sesión para comentar.


Image Analyst
Image Analyst el 8 de Ag. de 2012
You can find local min using the imregionalmin() function to produce a binary image of where the local mins are.
binaryImage = imregionalmin(grayImage);
Use find() or regionprops() if you want the row and column coordinates.
[rows columns] = find(binaryImage);
Use indexing if you want to know what the values at those min locations are.
localMinGrayValues = grayImage(binaryImage);

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by