5.3.4.88. Function image_convert_gray8_to_rgb24

5.3.4.88.1. Function Documentation

void image_convert_gray8_to_rgb24(const uint8_t **gray8, int i0, int i1, int j0, int j1, uint8_t **rgb24)

Convert a gray image into an RGB image. The gray value is duplicate on each RGB channel.

Parameters
  • gray8 – Input gray8 image.

  • i0 – First \(y\) index in the gray8 image (included).

  • i1 – Last \(y\) index in the gray8 image (included).

  • j0 – First \(x\) index in the gray8 image (included).

  • j1 – Last \(x\) index in the gray8 image (included).

  • rgb24 – Output RGB24 image.