00001 00002 00003 #ifndef __IMAGER_PROCESSM_H__ 00004 #define __IMAGER_PROCESSM_H__ 00005 00006 #include "defs.h" 00007 00008 00009 void invert_image (image_type* img); 00010 void do_thresholding (); 00011 void threshold_segment (image_type* img); 00012 void do_thresholding2 (float l, float u, int slice); 00013 void dual_threshold (image_type* img); 00014 float threshold_iterative (image_type* img, int zslice); 00015 float otsus_threshold (image_type* img, int zslice, int mkgraph); 00016 void do_thresholding_universal (image_type* img, int zslice, int what, int interactive); 00017 void cycle_image (image_type *img, int xcycle, int ycycle, int slice); 00018 void execute_trim_image (image_type* img, int offs, double fmin, double fmax, int shift, int mask); 00019 void trim_data (image_type *img); 00020 int do_crop (image_type* img, int x1, int y1, int x2, int y2); 00021 void crop_main (); 00022 void histeq (image_type* img, int numbins, int oorflg); 00023 void histeq_main (); 00024 void dataconv_execute (image_type* img, TYPE_SELECTOR targettype, char dataconv_expand); 00025 void dataconv_expand_rgb (image_type* img); 00026 void dataconv_main (); 00027 00028 00029 #endif