Combining 2D plots laying in 3D image
2 views (last 30 days)
Show older comments
Hello together,
I'm quite new in Using Matlab, so this may is a easy question:
I got an intensity profile of a grey image, so the mean(..) function is related to the three different color channels.
I have to get the curve of a crossline through the image, so
x = [1 866];
y = [379 379]
after loading the matrix
my code is:
x = [1 866];
y = [379 379];
Dose_medfilt = medfilt2(mean(Dose, 3), [5, 5]); %medfilt2 is for making the curve smooth for every value, looking at 5 pixels arround)
improfile(mean(Dose_medfilt, 3), x, y);
grid on
Since the image has also a y direction, i have to extract 11 dose profiles (from [374 374] until [384 384]) and take the mean curve of it.
Can anyone tell me how to do this?
0 Comments
Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots 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!