フィルターのクリア

convert pattern image to sinusoidal wave

3 ビュー (過去 30 日間)
Rajbir Singh
Rajbir Singh 2019 年 11 月 1 日
回答済み: Varun Meeniga 2020 年 2 月 27 日
Untitled.jpg
What algorithm should be applied on above image to get that sinusoidal wave corresponding to that image?

回答 (2 件)

darova
darova 2019 年 11 月 1 日
Convert image (rgb2gray) and sum rows
  2 件のコメント
Rajbir Singh
Rajbir Singh 2019 年 11 月 2 日
it doesn't work
darova
darova 2019 年 11 月 2 日
Can you show what have you tried? And why it doesn't work?

サインインしてコメントする。


Varun Meeniga
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);

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by