github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/opencv4/include/opencv2/imgproc/hal/interface.h (about) 1 #ifndef OPENCV_IMGPROC_HAL_INTERFACE_H 2 #define OPENCV_IMGPROC_HAL_INTERFACE_H 3 4 //! @addtogroup imgproc_hal_interface 5 //! @{ 6 7 //! @name Interpolation modes 8 //! @sa cv::InterpolationFlags 9 //! @{ 10 #define CV_HAL_INTER_NEAREST 0 11 #define CV_HAL_INTER_LINEAR 1 12 #define CV_HAL_INTER_CUBIC 2 13 #define CV_HAL_INTER_AREA 3 14 #define CV_HAL_INTER_LANCZOS4 4 15 //! @} 16 17 //! @name Morphology operations 18 //! @sa cv::MorphTypes 19 //! @{ 20 #define CV_HAL_MORPH_ERODE 0 21 #define CV_HAL_MORPH_DILATE 1 22 //! @} 23 24 //! @name Threshold types 25 //! @sa cv::ThresholdTypes 26 //! @{ 27 #define CV_HAL_THRESH_BINARY 0 28 #define CV_HAL_THRESH_BINARY_INV 1 29 #define CV_HAL_THRESH_TRUNC 2 30 #define CV_HAL_THRESH_TOZERO 3 31 #define CV_HAL_THRESH_TOZERO_INV 4 32 #define CV_HAL_THRESH_MASK 7 33 #define CV_HAL_THRESH_OTSU 8 34 #define CV_HAL_THRESH_TRIANGLE 16 35 //! @} 36 37 //! @name Adaptive threshold algorithm 38 //! @sa cv::AdaptiveThresholdTypes 39 //! @{ 40 #define CV_HAL_ADAPTIVE_THRESH_MEAN_C 0 41 #define CV_HAL_ADAPTIVE_THRESH_GAUSSIAN_C 1 42 //! @} 43 44 //! @} 45 46 #endif