#include <ros/ros.h>
#include <pal_vision_segmentation/histogram.h>
#include <boost/foreach.hpp>
#include <opencv2/highgui/highgui.hpp>
Go to the source code of this file.
Namespaces | |
namespace | pal_vision_util |
Functions | |
void | pal_vision_util::backProject (const cv::Mat &image, const cv::MatND &hist, int threshold, cv::Mat &result, int dilateIterations=0, int dilateSize=3, int erodeIterations=0, int erodeSize=3) |
backProject generate a binary image resulting of thresholding the per-pixel backprojection of a H-S histogram to a color image | |
void | pal_vision_util::calcHSVHist (const cv::Mat &src, cv::MatND &histogram) |
calcHSVHist compute and return a Hue-Saturation histogram of a given image | |
void | pal_vision_util::calcHSVHist (const std::vector< cv::Mat > &src, std::vector< cv::MatND > &histograms) |
calcHSVHist compute a Hue-Saturation for each given image | |
void | pal_vision_util::calcHSVHist (const std::vector< cv::Mat > &src, cv::MatND &histogram) |
calcHSVHist compute and return Hue-Saturation histogram of a given set of images | |
cv::Mat | pal_vision_util::histogramImage (const cv::MatND &hist) |
void | pal_vision_util::showHist (const cv::MatND &hist, bool waitKey=true) |
showHist visualize a Hue-Saturation histogram |