Module images

Source
Expand description

§Image Buffer

In this module we are reading the image to a buffer and calculate the RGB indexes for each pixel.

Functions§

read_rgb_image
Reads an RGB image from a file and returns the raw data in 1D form that can be mapped as a 3D array by using the calculate_rgb_index function.
write_frame_to_std_out
Writes a frame to the standard output.