convert pattern image to sinusoidal wave

7 visualizaciones (últimos 30 días)
Rajbir Singh
Rajbir Singh el 1 de Nov. de 2019
Respondida: Varun Meeniga el 27 de Feb. de 2020
Untitled.jpg
What algorithm should be applied on above image to get that sinusoidal wave corresponding to that image?

Respuestas (2)

darova
darova el 1 de Nov. de 2019
Convert image (rgb2gray) and sum rows
  2 comentarios
Rajbir Singh
Rajbir Singh el 2 de Nov. de 2019
it doesn't work
darova
darova el 2 de Nov. de 2019
Can you show what have you tried? And why it doesn't work?

Iniciar sesión para comentar.


Varun Meeniga
Varun Meeniga el 27 de Feb. de 2020
image=imread('sine_image.jpg');
si(1,:)=image(1,:); %stores int8 value of pixel along the horizontal direction
si=double(si); %double for easy calculations
fin_si=(si-128)/128; % changes 0 to 255 values to -128 to 127 further to -1 to 1
plot(fin_si);

Categorías

Más información sobre Convert Image Type 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