Namespaces | Macros | Functions
canny.cpp File Reference
#include <opencv2/imgproc.hpp>
#include <opencv2/core.hpp>
Include dependency graph for canny.cpp:

Go to the source code of this file.

Namespaces

 tuw
 

Macros

#define CANNY_POP(d)   (d) = *--stack_top
 
#define CANNY_PUSH(d)   *(d) = (uchar)2, *stack_top++ = (d)
 
#define CANNY_SHIFT   15
 
#define TG22   (int)(0.4142135623730950488016887242097*(1<<CANNY_SHIFT) + 0.5)
 

Functions

void tuw::Canny (const cv::Mat &image, cv::Mat &edges, cv::Mat &gradient, cv::Mat &direction, cv::Mat &sobel_dx, cv::Mat &sobel_dy, double threshold1, double threshold2, int apertureSize=3, bool L2gradient=false)
 
CV_IMPL void tuw::tuwCanny (const void *srcarr, void *dstarr, void *gradientarr, void *directionarr, void *dxarr, void *dyarr, double low_thresh, double high_thresh, int aperture_size)
 

Macro Definition Documentation

#define CANNY_POP (   d)    (d) = *--stack_top
#define CANNY_PUSH (   d)    *(d) = (uchar)2, *stack_top++ = (d)
#define CANNY_SHIFT   15
#define TG22   (int)(0.4142135623730950488016887242097*(1<<CANNY_SHIFT) + 0.5)


tuw_ellipses
Author(s): Markus Bader
autogenerated on Mon Jun 10 2019 15:42:10