Is this code creating a matrix for the image or is it doing something else?

 採用された回答

Image Analyst
Image Analyst 2016 年 3 月 26 日

1 投票

They're creating a 3D matrix where every slice/channel/plane is the same - it's im1. So im2 can either be a color image that appears as grayscale because all 3 color channels are identical, or it can be a volumetric image (like a CT or MRI image) where all three slices/planes are the same, like you extruded the im1 image upwards.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeImage Processing Toolbox についてさらに検索

質問済み:

2016 年 3 月 26 日

回答済み:

2016 年 3 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by