How to get 1% of the image?
2 views (last 30 days)
Show older comments
After I load a image, how do we get the 1% of the image?
0 Comments
Accepted Answer
Stalin Samuel
on 30 Mar 2016
A = imread('ngc6543a.jpg');
n =size(A,2)
Im_1per = A(:,1:round(n*0.01))%here 0.01 states that 1 % and it can be varied from 0.01 to 1.0
imshow(Im_1per)
5 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!