How to get 1% of the image?
1 次查看(过去 30 天)
显示 更早的评论
After I load a image, how do we get the 1% of the image?
0 个评论
采纳的回答
Stalin Samuel
2016-3-30
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)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!