フィルターのクリア

what to do if i want to view upper half of image 1 and lower half of image 2 as image 3

2 ビュー (過去 30 日間)
what to do if i want to view upper half of image 1 and lower half of image 2 as image 3, i.e. combine upper half of image1 and lower half of image2 as image 3.... i think u got me..... please help me......

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 10 月 22 日
編集済み: Azzi Abdelmalek 2012 年 10 月 22 日
h1=imread('image1.jpg');
h2=imread('image2.jpg');
n1=size(h1,1);
n2=size(h2,1);
h3=[h1(1:ceil(n1/2),:) ;h2(ceil(n2/2):end,:)]
imshow(h3)
imwrite(h3,'image3.jpg')
  3 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 10 月 22 日
try
h3=[h1(1:ceil(n1/2),:,:) ;h2(ceil(n2/2):end,:,:)]
Elysi Cochin
Elysi Cochin 2012 年 10 月 22 日
thank u sir...

サインインしてコメントする。

その他の回答 (0 件)

タグ

タグが未入力です。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by