Estia-1a / projetGenieInfo_public

This is the main repository for the Estia First Year Computer Science Project
MIT License
1 stars 2 forks source link

[Feature] Color in RGB #22

Closed ebouzekri closed 2 years ago

ebouzekri commented 2 years ago

Feature description Transform the input image by keeping only the R (red) or G (green) or B (blue) component.

int color_in_rgb(unsigned char* data, int w, int h, int n, int rgb, char* name, int output_format)

Describe tips for implementing feature User getPixel from

pixelRGB * getPixel( unsigned char* data, const unsigned int width, const unsigned int height, const unsigned int n, const unsigned int x, const unsigned int y )

Additional information Add any other information or screenshots about the feature here.

dhmmasson commented 2 years ago

Moved to template