5.3.4.124. Function tools_linear_2d_nrc_ui8matrix
Defined in File tools.h
5.3.4.124.1. Function Documentation
-
void tools_linear_2d_nrc_ui8matrix(const uint8_t *X, const int i0, const int i1, const int j0, const int j1, const uint8_t **Y)
Convert a 1D (linear) array into a 2D array (8-bit integers).
- Parameters
X – Input 1D array (1D array \([(i1 - i0 + 1) \times (j1 - j0 + 1)]\)).
i0 – First \(y\) index in the 2D array (included).
i1 – Last \(y\) index in the 2D array (included).
j0 – First \(x\) index in the 2D array (included).
j1 – Last \(x\) index in the 2D array (included).
Y – Output matrix (2D array \([i1 - i0 + 1][j1 - j0 + 1]\)).