How to plot Intensity profile along the vertical line of an image
조회 수: 8(최근 30일)
I have plotted the intensity profile of an image. Below is the image file.
Below is the code.
I = imread('Intensity1.jpg');
x = [0 size(I,2)];
y = [size(I,1)/2 size(I,1)/2];
c = improfile(I,x,y);
I want to find the intensity profile of the image in the vertical direction instead of the horizontal direction. Any help would be appreciated. Thank you.