37 #ifndef JSK_PERCEPTION_MORPHOLOGICAL_OPERATOR_H_ 38 #define JSK_PERCEPTION_MORPHOLOGICAL_OPERATOR_H_ 41 #include <sensor_msgs/Image.h> 42 #include <dynamic_reconfigure/server.h> 43 #include <jsk_perception/MorphologicalMaskImageOperatorConfig.h> 44 #include <opencv2/opencv.hpp> 53 typedef jsk_perception::MorphologicalMaskImageOperatorConfig
Config;
61 virtual void imageCallback(
const sensor_msgs::Image::ConstPtr& image_msg);
62 virtual void apply(
const cv::Mat&
input, cv::Mat&
output,
const cv::Mat& element) = 0;
82 const cv::Mat&
input, cv::Mat&
output,
const cv::Mat& element);
virtual void imageCallback(const sensor_msgs::Image::ConstPtr &image_msg)
virtual void apply(const cv::Mat &input, cv::Mat &output, const cv::Mat &element)=0
virtual void unsubscribe()
jsk_perception::MorphologicalMaskImageOperatorConfig Config
void output(int index, double value)
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_
MorphologicalImageOperator(const std::string &name, const int &operation)
MorphologicalImageOperatorNodelet(const std::string &name)
virtual void configCallback(Config &config, uint32_t level)