I want to apply row and column projection on an image . please help me with a matlab code.
1 view (last 30 days)
Show older comments
I want to apply row and column projection on an image . please help me with a matlab code.
0 Comments
Answers (2)
Walter Roberson
on 28 Nov 2015
max(YourImage) %one of the projections
max(YourImage,2) %the other projection
0 Comments
Image Analyst
on 28 Nov 2015
What do you want to project - the max or the sum or the mean?
verticalProfile = max(grayImage, 2);
verticalProfile = sum(grayImage, 2);
verticalProfile = mean(grayImage, 2);
horizontalProfile = max(grayImage, 1);
horizontalProfile = sum(grayImage, 1);
horizontalProfile = mean(grayImage, 1);
For other arbitrary angles you can use radon().
0 Comments
See Also
Categories
Find more on Biomedical Imaging in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!