00001 00002 00003 00004 00005 00006 00007 00008 #ifndef __IMAGER_MISCOP_H__ 00009 #define __IMAGER_MISCOP_H__ 00010 00011 #include "defs.h" 00012 00013 void logexp (image_type* img, int what, float para); 00014 vertex get_centroid (image_type* img, int slice, int mass); 00015 void center_feat (image_type* img, int z, int mass); 00016 void rotate_img (image_type* img, double theta); 00017 void zoom2D (image_type* img, int xnew, int ynew); 00018 void interpol_slice (image_type* img, int numslices); 00019 void flip_xz (image_type* img); 00020 00021 00022 void rotzoom_main (); 00023 00024 void edit_clickstack (image_type* img); 00025 00026 void runlength (image_type* img, int graybins, int runbins); 00027 void runlength_main (); 00028 00029 00030 void add_gaussian_noise (image_type* img, float amplitude, int slice, int roiflg); 00031 void add_shot_noise (image_type* img, float probability, int slice, int roiflg); 00032 00033 void editval_main (); 00034 void save_default_prefs (); 00035 void preferences_main (); 00036 00037 void karhunen_loeve_transform (image_type* img, int oorflg); 00038 00039 00040 #endif