convert pattern image to sinusoidal wave
조회 수: 3 (최근 30일)
이전 댓글 표시
What algorithm should be applied on above image to get that sinusoidal wave corresponding to that image?
댓글 수: 0
답변 (2개)
Varun Meeniga
2020년 2월 27일
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);
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!