interface.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. #define CV_HAL_INTER_LINEAR_EXACT 5
  14. #define CV_HAL_INTER_NEAREST_EXACT 6
  15. #define CV_HAL_INTER_MAX 7
  16. #define CV_HAL_WARP_FILL_OUTLIERS 8
  17. #define CV_HAL_WARP_INVERSE_MAP 16
  18. #define CV_HAL_WARP_RELATIVE_MAP 32
  19. //! @}
  20. //! @name Morphology operations
  21. //! @sa cv::MorphTypes
  22. //! @{
  23. #define CV_HAL_MORPH_ERODE 0
  24. #define CV_HAL_MORPH_DILATE 1
  25. //! @}
  26. //! @name Threshold types
  27. //! @sa cv::ThresholdTypes
  28. //! @{
  29. #define CV_HAL_THRESH_BINARY 0
  30. #define CV_HAL_THRESH_BINARY_INV 1
  31. #define CV_HAL_THRESH_TRUNC 2
  32. #define CV_HAL_THRESH_TOZERO 3
  33. #define CV_HAL_THRESH_TOZERO_INV 4
  34. #define CV_HAL_THRESH_MASK 7
  35. #define CV_HAL_THRESH_OTSU 8
  36. #define CV_HAL_THRESH_TRIANGLE 16
  37. //! @}
  38. //! @name Adaptive threshold algorithm
  39. //! @sa cv::AdaptiveThresholdTypes
  40. //! @{
  41. #define CV_HAL_ADAPTIVE_THRESH_MEAN_C 0
  42. #define CV_HAL_ADAPTIVE_THRESH_GAUSSIAN_C 1
  43. //! @}
  44. //! @}
  45. #endif