Hi,
can someone explain me how Matlab Coder define 3D matrix with the row major array layout?
In particular I'm interest in how RGB images are defined. I found this link that explain the most common array layout representation, does Matlab Coder follow the same rules?

回答 (1 件)

Rishabh Mishra
Rishabh Mishra 2020 年 9 月 4 日

0 投票

Hi
The Images in MATLAB are stored in a column major order.
For additional Information on Images & Matrices in MATLAB, refer the links below:
  1. https://www.mathworks.com/help/images/images-in-matlab.html
  2. MATLAB Images
  3. Matrix Indexing
  4. MATLAB Image Types
Hope this helps.

カテゴリ

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

製品

リリース

R2020a

質問済み:

2020 年 8 月 26 日

回答済み:

2020 年 9 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by