00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef ENVISION_ENV_CHANNEL_H_DEFINED
00039 #define ENVISION_ENV_CHANNEL_H_DEFINED
00040
00041 #include "Envision/env_config.h"
00042 #include "Envision/env_types.h"
00043
00044 struct env_dims;
00045 struct env_image;
00046 struct env_math;
00047 struct env_params;
00048 struct env_pyr;
00049 struct env_rgb_pixel;
00050
00051 #ifdef __cplusplus
00052 extern "C"
00053 {
00054 #endif
00055
00056 typedef void (env_chan_status_func)(void* userdata,
00057 const char* tagName,
00058 const struct env_image* img);
00059
00060 void env_chan_process_pyr(const char* tagName,
00061 const struct env_dims inputDims,
00062 const struct env_pyr* pyr,
00063 const struct env_params* envp,
00064 const struct env_math* imath,
00065 const int takeAbs,
00066 const int normalizeOutput,
00067 struct env_image* result);
00068
00069
00070 void env_chan_intensity(const char* tagName,
00071 const struct env_params* envp,
00072 const struct env_math* imath,
00073 const struct env_dims inputdims,
00074 const struct env_pyr* lowpass5,
00075 const int normalizeOutput,
00076 env_chan_status_func* status_func,
00077 void* status_userdata,
00078 struct env_image* result);
00079
00080
00081 void env_chan_color(const char* tagName,
00082 const struct env_params* envp,
00083 const struct env_math* imath,
00084 const struct env_rgb_pixel* const colimg,
00085 const struct env_rgb_pixel* const prev_colimg ,
00086 const struct env_dims dims,
00087 env_chan_status_func* status_func,
00088 void* status_userdata,
00089 struct env_image* result);
00090
00091
00092 void env_chan_steerable(const char* tagName,
00093 const struct env_params* envp,
00094 const struct env_math* imath,
00095 const struct env_dims inputdims,
00096 const struct env_pyr* hipass9,
00097 const env_size_t thetaidx,
00098 env_chan_status_func* status_func,
00099 void* status_userdata,
00100 struct env_image* result);
00101
00102
00103 void env_chan_orientation(const char* tagName,
00104 const struct env_params* envp,
00105 const struct env_math* imath,
00106 const struct env_image* img,
00107 env_chan_status_func* status_func,
00108 void* status_userdata,
00109 struct env_image* result);
00110
00111 #ifdef ENV_WITH_DYNAMIC_CHANNELS
00112
00113
00114 void env_chan_flicker(const char* tagName,
00115 const struct env_params* envp,
00116 const struct env_math* imath,
00117 const struct env_image* prev,
00118 const struct env_image* cur,
00119 env_chan_status_func* status_func,
00120 void* status_userdata,
00121 struct env_image* result);
00122
00123
00124 void env_chan_msflicker(const char* tagName,
00125 const struct env_params* envp,
00126 const struct env_math* imath,
00127 const struct env_dims inputDims,
00128 const struct env_pyr* prev_lowpass5,
00129 const struct env_pyr* cur_lowpass5,
00130 env_chan_status_func* status_func,
00131 void* status_userdata,
00132 struct env_image* result);
00133
00134
00135 void env_chan_direction(const char* tagName,
00136 const struct env_params* envp,
00137 const struct env_math* imath,
00138 const struct env_dims inputdims,
00139 const struct env_pyr* unshiftedPrev,
00140 const struct env_pyr* unshiftedCur,
00141 const struct env_pyr* shiftedPrev,
00142 const struct env_pyr* shiftedCur,
00143 env_chan_status_func* status_func,
00144 void* status_userdata,
00145 struct env_image* result);
00146
00147 #endif // ENV_WITH_DYNAMIC_CHANNELS
00148
00149 #ifdef __cplusplus
00150 }
00151 #endif
00152
00153
00154
00155
00156
00157
00158
00159
00160 #endif // ENVISION_ENV_CHANNEL_H_DEFINED