Image profile intensity for many pixels
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
