Feature #7: Min pixel

Print the pixel with the with the smallest sum of RGB components in the output terminal.

Feature description

Print the pixel with the with the smallest sum of RGB components in the output terminal. If multiple pixels are equals to the minimum, return the first pixel encountered (i.e. min (x,y)).

Parameters value
Name min_pixel
Command -c min_pixel
Input an image
output min_pixel (x, y): R, G, B

Usage

freud.exe -f ./images/input/image.jpeg -c min_pixel

Output

min_pixel (35, 1337): 14, 0, 0

Describe tips for implementing feature

Use the result from the function read_image_data from estia-image.h, pixelRGB struct, and its functions.