22 #include <opencv2/core.hpp>
32 JEVOIS_DECLARE_PARAMETER(op,
MorphoOp, "Morphological operation to
apply",
39 JEVOIS_DECLARE_PARAMETER(kshape, KernelShape, "Kernel shape",
40 KernelShape::Rectangle, KernelShape_Values, ParamCateg);
43 JEVOIS_DECLARE_PARAMETER(ksize, cv::Size, "Kernel width and height",
44 cv::Size(7, 7), ParamCateg);
47 JEVOIS_DECLARE_PARAMETER(anchor, cv::Point, "Anchor point x and y;
default value [-1 -1] means that the anchor "
48 "is at the kernel center",
49 cv::Point(-1, -1), ParamCateg);
52 JEVOIS_DECLARE_PARAMETER(iter,
unsigned int, "Number of iterations of the filter to
apply",
71 virtual std::string process(cv::Mat
const & src, cv::Mat & dst)
override;