Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project by
CvMat Struct Reference
[C structures and operations]
  Matrix elements are stored row by row. More...
#include <types_c.h>
Detailed Description
Matrix elements are stored row by row.
Element (i, j) (i - 0-based row index, j - 0-based column index) of a matrix can be retrieved or modified using CV_MAT_ELEM macro:
uchar pixval = CV_MAT_ELEM(grayimg, uchar, i, j) CV_MAT_ELEM(cameraMatrix, float, 0, 2) = image.width*0.5f;
To access multiple-channel matrices, you can use CV_MAT_ELEM(matrix, type, i, j\*nchannels + channel_idx).
Definition at line 423 of file core/types_c.h.
Generated on Tue Jul 12 2022 15:17:36 by
 1.7.2
 1.7.2 
    