convert pattern image to sinusoidal wave
显示 更早的评论

What algorithm should be applied on above image to get that sinusoidal wave corresponding to that image?
回答(2 个)
darova
2019-11-1
0 个投票
Convert image (rgb2gray) and sum rows
2 个评论
Rajbir Singh
2019-11-2
darova
2019-11-2
Can you show what have you tried? And why it doesn't work?
Varun Meeniga
2020-2-27
0 个投票
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);
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!