00001
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef _GAN_CANNY_EDGE_H
00032 #define _GAN_CANNY_EDGE_H
00033
00034 #include <gandalf/common/misc_defs.h>
00035 #include <gandalf/vision/mask1D.h>
00036 #include <gandalf/vision/camera.h>
00037 #include <gandalf/vision/edge_feature.h>
00038 #include <gandalf/image/image_defs.h>
00039 #include <gandalf/linalg/2x3matrix.h>
00040
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif
00044
00055 Gan_EdgeFeatureMap *
00056 gan_canny_edge_q ( Gan_Image *image, Gan_Image *mask,
00057 Gan_Mask1D *filter_y, Gan_Mask1D *filter_x,
00058 Gan_RGBPixel_f *colour,
00059 Gan_Vector2_f *direction,
00060 double lower_thres, double upper_thres,
00061 unsigned string_length_thres,
00062 Gan_Matrix23_f *A, Gan_Camera *camera,
00063 Gan_LocalFeatureMapParams *lpms,
00064 Gan_EdgeFeatureMap *edge_map,
00065 void (*set_progress) ( void *, unsigned ),
00066 void *progress_obj );
00067
00092 Gan_EdgeFeatureMap *gan_canny_edge_s ( Gan_Image *image,
00093 Gan_Image *mask,
00094 Gan_Mask1D *filter_y,
00095 Gan_Mask1D *filter_x,
00096 Gan_RGBPixel_f *colour,
00097 Gan_Vector2_f *direction,
00098 double lower_thres, double upper_thres,
00099 unsigned string_length_thres,
00100 Gan_Matrix23_f *A, Gan_Camera *camera,
00101 Gan_LocalFeatureMapParams *lpms,
00102 void (*set_progress) ( void *,
00103 unsigned ),
00104 void *progress_obj );
00105
00114 #ifdef __cplusplus
00115 }
00116 #endif
00117
00118 #endif