Image profile intensity for many pixels
Show older comments
Hi,
I am working in the images and I was taken the image profile for these images.
What I want to do is I want to take many pixels along the line segment. As you can see in the attched image, I took the imgae profile using improfile to plot the intensity along the selected line (black line). It seems to me that the line onle slected one pxiel vaule. I want to take many pixels in which cover the whole green circle (in the image) alnge the line profile.

[x,y] = ginput(); % for selection
[cx, cy, porifle, xi,yi] = improfile(x,y,image,x',y','bicubic'); % take the image profile
plot(cx',porifle,'k','LineWidth', 3); %to plot the intnesity along the line
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!