spilit an image into two image

1 回表示 (過去 30 日間)
bkshn
bkshn 2015 年 7 月 2 日
回答済み: Guillaume 2015 年 7 月 2 日
Hello
I have imageA, right now I want to have two image (Image B and Image C) from Image A.
so that odd rows of Image A goes to Image B , and even rows of image A goes to Image C.
thanks for your answers

採用された回答

Guillaume
Guillaume 2015 年 7 月 2 日
This is very simple matrix indexing:
ImageB = ImageA(1:2:end, :, :);
ImageC = ImageA(2:2:end, :, :);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by