Matlab Coder: Row Mayor Array Layout
显示 更早的评论
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
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:
- https://www.mathworks.com/help/images/images-in-matlab.html
- MATLAB Images
- Matrix Indexing
- MATLAB Image Types
Hope this helps.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!