$search

pal_vision_util Namespace Reference

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)

Detailed Description

Author:
Jordi Pages
Bence Magyar

Function Documentation

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

Parameters:
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

Parameters:
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

Parameters:
src 
histogram 
void pal_vision_util::dctNormalization ( const cv::Mat &  img,
cv::Mat &  normalizedImg,
int  coefficientsToCancel,
const ImageRoi &  roi = ImageRoi(0, 0, 0, 0) 
)
See also:
dctNormalization(). Overloaded function accepting OpenCV C++ image as input and output.

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).

Parameters:
[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

Parameters:
[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.

void pal_vision_util::getLab ( const Image img,
Image L,
Image a,
Image b 
)

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  ) 
void pal_vision_util::setLab ( const Image L,
const Image a,
const Image b,
Image img 
)

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  ) 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


pal_vision_segmentation
Author(s): Created by Bence Magyar. Maintained by Jordi Pages
autogenerated on Fri Mar 1 16:38:33 2013