5.3.4.96. Function image_max_reduce

5.3.4.96.1. Function Documentation

void image_max_reduce(uint8_t **M, int i0, int i1, int j0, int j1, uint8_t **I)

Creates a new image with the maximum intensity pixels between I and M

Parameters
  • I – Input matrix (2D array \([i1 - i0 + 1][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).

  • M – Output matrix (2D array \([i1 - i0 + 1][j1 - j0 + 1]\)).