How to divide image into three equal parts?
3 ビュー (過去 30 日間)
古いコメントを表示
How to split an image in three equal parts. This image is one Image which contains 3 images layered beneth each other I've tried everything to split them but I'm having difficulties, please help. the size of this image is 1024x396 and its unit8
5 件のコメント
採用された回答
Azzi Abdelmalek
2013 年 4 月 20 日
編集済み: Azzi Abdelmalek
2013 年 4 月 20 日
[n,m]=size(im) % im is your image
id=fix(n/3)
im1=im(1:id,:);
im2=im(id+1:2*id,:);
im3=im(2*id+1:n,:);
3 件のコメント
Image Analyst
2013 年 4 月 21 日
Like he said, im is your image variable. In your code you might have read in an image with imread like this
im = imread(fullFileName);
What variable name are you using instead of im in your code?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Modify Image Colors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!