$search
Classes | |
| class | Image |
| Wrapper of old C-style OpenCV IplImage with some processing functionalities. More... | |
| class | ImageRoi |
| 2D roi More... | |
Functions | |
| void | calcHSVHist (const std::vector< cv::Mat > &src, cv::MatND &histogram) |
| calcHSVHist compute and return Hue-Saturation histogram of a given set of images | |
| void | calcHSVHist (const std::vector< cv::Mat > &src, std::vector< cv::MatND > &histograms) |
| calcHSVHist compute a Hue-Saturation for each given image | |
| void | calcHSVHist (const cv::Mat &src, cv::MatND &histogram) |
| calcHSVHist compute and return a Hue-Saturation histogram of a given image | |
| void | dctNormalization (const cv::Mat &img, cv::Mat &normalizedImg, int coefficientsToCancel, const ImageRoi &roi=ImageRoi(0, 0, 0, 0)) |
| void | dctNormalization (const Image &img, Image &normalizedImg, int coefficientsToCancel, const ImageRoi &roi=ImageRoi(0, 0, 0, 0)) |
| illumination normalization using the discrete cosine transform (DCT). | |
| void | getConnectedComponents (const cv::Mat &binaryImage, std::vector< std::vector< cv::Point2i > > &components, std::vector< cv::Rect > &boundingBoxes) |
| getConnectedComponents finds connected components in the given binary image | |
| void | getLab (const Image &img, Image &L, Image &a, Image &b) |
| return the Lab components of the given image | |
| cv::Mat | histogramImage (const cv::MatND &hist) |
| void | setLab (const Image &L, const Image &a, const Image &b, Image &img) |
| build up a new image from the three Lab components provided. | |
| void | showHist (const cv::MatND &hist) |
| 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
| src | ||
| histograms |
| 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
| src | ||
| histogram |
| void pal_vision_util::calcHSVHist | ( | const cv::Mat & | src, | |
| cv::MatND & | histogram | |||
| ) |
calcHSVHist compute and return a Hue-Saturation histogram of a given image
| src | ||
| histogram |
| void pal_vision_util::dctNormalization | ( | const cv::Mat & | img, | |
| cv::Mat & | normalizedImg, | |||
| int | coefficientsToCancel, | |||
| const ImageRoi & | roi = ImageRoi(0, 0, 0, 0) | |||
| ) |
Definition at line 455 of file image_processing.cpp.
| void pal_vision_util::dctNormalization | ( | const Image & | img, | |
| Image & | normalizedImg, | |||
| int | coefficientsToCancel, | |||
| const ImageRoi & | roi = ImageRoi(0, 0, 0, 0) | |||
| ) |
illumination normalization using the discrete cosine transform (DCT).
| [in] | img | input image |
| [out] | normalizedImg | resulting normalized image |
| [in] | coefficientsToCancel | number of DCT coefficients that will be truncated |
| [in] | ImageRoi | optional. Image region in which normalization will be carried on. |
Definition at line 321 of file image_processing.cpp.
| void pal_vision_util::getConnectedComponents | ( | const cv::Mat & | binaryImage, | |
| std::vector< std::vector< cv::Point2i > > & | components, | |||
| std::vector< cv::Rect > & | boundingBoxes | |||
| ) |
getConnectedComponents finds connected components in the given binary image
| [in] | binaryImage. | Pixels set at 0 will be considered background, otherwise foreground. |
| [out] | components | for every connected component found this vector contains a vector of pixel coordinates that belong to the component (non black pixels). |
| [out] | boundingBoxes | bounding rectangle of every connected component |
Definition at line 42 of file image_processing.cpp.
return the Lab components of the given image
Definition at line 290 of file image_processing.cpp.
| cv::Mat pal_vision_util::histogramImage | ( | const cv::MatND & | hist | ) |
build up a new image from the three Lab components provided.
Definition at line 308 of file image_processing.cpp.
| void pal_vision_util::showHist | ( | const cv::MatND & | hist | ) |