#ifndef _CLEANERIMAGE_H #define _CLEANERIMAGE_H #include #include "../Tools/tools.h" void grayscale(SDL_Surface *img); int IsValid(int x, int y, int w, int h); void ConstrastRenforcement(SDL_Surface *img, int delta); int Restrict256(int n); SDL_Surface *Convolute(SDL_Surface *img, float mask[3][3]); void noiseReduction(SDL_Surface *img); void blacknwhite(SDL_Surface *img); void binerize(SDL_Surface *img); #endif