interface.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef OPENCV_IMGPROC_HAL_INTERFACE_H
  2. #define OPENCV_IMGPROC_HAL_INTERFACE_H
  3. //! @addtogroup imgproc_hal_interface
  4. //! @{
  5. //! @name Interpolation modes
  6. //! @sa cv::InterpolationFlags
  7. //! @{
  8. #define CV_HAL_INTER_NEAREST 0
  9. #define CV_HAL_INTER_LINEAR 1
  10. #define CV_HAL_INTER_CUBIC 2
  11. #define CV_HAL_INTER_AREA 3
  12. #define CV_HAL_INTER_LANCZOS4 4
  13. //! @}
  14. //! @name Morphology operations
  15. //! @sa cv::MorphTypes
  16. //! @{
  17. #define CV_HAL_MORPH_ERODE 0
  18. #define CV_HAL_MORPH_DILATE 1
  19. //! @}
  20. //! @name Threshold types
  21. //! @sa cv::ThresholdTypes
  22. //! @{
  23. #define CV_HAL_THRESH_BINARY 0
  24. #define CV_HAL_THRESH_BINARY_INV 1
  25. #define CV_HAL_THRESH_TRUNC 2
  26. #define CV_HAL_THRESH_TOZERO 3
  27. #define CV_HAL_THRESH_TOZERO_INV 4
  28. #define CV_HAL_THRESH_MASK 7
  29. #define CV_HAL_THRESH_OTSU 8
  30. #define CV_HAL_THRESH_TRIANGLE 16
  31. //! @}
  32. //! @name Adaptive threshold algorithm
  33. //! @sa cv::AdaptiveThresholdTypes
  34. //! @{
  35. #define CV_HAL_ADAPTIVE_THRESH_MEAN_C 0
  36. #define CV_HAL_ADAPTIVE_THRESH_GAUSSIAN_C 1
  37. //! @}
  38. //! @}
  39. #endif