I want to plot sine wave of pixel of image

clc
clear all
I = imread('saif1.jpg');
J = rgb2gray(I);
figure, imshow(I), figure, imshow(J);
J;
plot (J);

6 commentaires

Geoff Hayes
Geoff Hayes le 28 Jan 2020
Saif - please clarify what you mean by the sine wave of pixel of image. I see (from your code) that you are converting an RGB image to black and white and then trying to call plot on that image. What is the intent here?
Saif Sayed
Saif Sayed le 28 Jan 2020
sir i want to convert RGB image to grey after then i want grey level of image and then want to plot the sinewave of that greylevel
Geoff Hayes
Geoff Hayes le 28 Jan 2020
hmm...that doesn't really help me (probably clearer to others though). Do you have a reference (paper, site, etc.) that describes what you are trying to do?
Saif Sayed
Saif Sayed le 28 Jan 2020
sir if u dont mind can u contact me on this number 9004839946
i really need help to complete my final year project
Star Strider
Star Strider le 28 Jan 2020
Perhaps using fft or fft2?
Image Analyst
Image Analyst le 29 Jan 2020
I also have no idea what the sine wave of a pixel is. Please explain or give example. Otherwise I think Star Strider made a reasonable guess.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by