Use the macro from interface.h.

Co-authored-by: Liutong HAN <liutong2020@iscas.ac.cn>
This commit is contained in:
amane-ame 2025-03-11 17:44:55 +08:00
parent 54da5c3e77
commit d9ec808b15

View File

@ -4,6 +4,7 @@
#ifndef OPENCV_HAL_RVV_FILTER_HPP_INCLUDED
#define OPENCV_HAL_RVV_FILTER_HPP_INCLUDED
#include "../../imgproc/include/opencv2/imgproc/hal/interface.h"
#include <riscv_vector.h>
struct cvhalFilter2D;
@ -539,9 +540,6 @@ namespace morph {
#define cv_hal_morph cv::cv_hal_rvv::morph::morph
#define cv_hal_morphFree cv::cv_hal_rvv::morph::morphFree
#define CV_HAL_MORPH_ERODE 0
#define CV_HAL_MORPH_DILATE 1
struct Morph2D
{
int operation;