/* public header for jpgmean.c _ _ (_)_ __ __ _ _ __ ___ ___ __ _ _ __ | |__ | | '_ \ / _` | '_ ` _ \ / _ \/ _` | '_ \ | '_ \ | | |_) | (_| | | | | | | __/ (_| | | | | _ | | | | _/ | .__/ \__, |_| |_| |_|\___|\__,_|_| |_| (_) |_| |_| |__/|_| |___/ ian macky feb-19-2004 */ #include #define MAX_IMAGE_WIDTH 1024 #define STANDARD_UNITS 2.0 #define WHITE_DISTANCE 50.0 #define BLACK_DISTANCE 50.0 double rgb_distance(int r1, int g1, int b1, int r2, int g2, int b2); boolean jpg_mean(char *image, char *ofile, char **error_string, double white_dist, double black_dist, double std_units, JSAMPLE *mean_red, JSAMPLE *nean_green, JSAMPLE *mean_blue, unsigned *width, unsigned *height, boolean debug); /* $Id: jpgmean.h,v 1.2 2004/03/17 09:43:29 imacky Exp $ */