Imagine processing, elimination of oscillations

2 visualizaciones (últimos 30 días)
Nello Troccia
Nello Troccia el 17 de Mzo. de 2014
Respondida: Image Analyst el 17 de Mzo. de 2014
Hi,
I need to follow only the max peacks of the figure shown. I want a figure without oscillations. How can I do?
Regards, Nello
  1 comentario
Image Analyst
Image Analyst el 17 de Mzo. de 2014
What about the dip around 200? Do you want that to go straight across at 0.08, or still dip down?

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 17 de Mzo. de 2014
You can use imdilate() which gives the max value inside a sliding window. Or just scan the data replacing with the max if it ever falls below the prior value.
out = inputSignal % Make copy.
for k = 2 : length(out)
if out(k) < out(k-1)
out(k) = out(k-1);
end
end

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by