Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Namespaces | Classes | Typedefs | Functions | Variables
jafar::image Namespace Reference

namespace for module image More...


Detailed Description

namespace for module image

Namespaces

namespace  filter

Classes

class  Capture
 Wrapper around openCV Capture mechanism. More...
class  Image
class  ImageIO
 I/O methods for Image serialization to file. More...
class  ImageException
 Base class for all exceptions defined in the module image. More...
class  ImagePreprocessorNode
 Virtual interface to implement to add a different preprocess type for images. More...
class  ImagePreprocessor
 This node contains a list of image preprocessor. More...
class  imout_t
class  image_iterator
class  const_image_iterator
class  LKTracker
 Lukas-Kanade based tracker working on Harris corners. More...
struct  endl_
struct  vsep_
struct  hsep_
struct  flush_
struct  clear_
class  oimstream
class  Pyramid
class  GaussianPyramid
class  GaborPyramid
class  LinearPyramid
 Linear Pyramid class. More...
struct  Pixel
 This class represents a convex 2D Region Of Interest. More...
struct  Slice
class  ConvexRoi
class  SliceRoi
 Generic Roi (non convex) implemented with slices NOT TESTED AT ALL (in particular union, intersection and scaling) so NEEDS TESTING BEFORE USING. More...
class  ROI

Typedefs

typedef boost::shared_ptr< Imageimage_ptr_t
typedef boost::shared_ptr< ROIroi_ptr_t

Functions

void getQuadrangleSubPix (const cv::Mat &src, cv::Mat &dst, const cv::Mat &mapMatrix)
std::ostream & operator<< (std::ostream &s, const Image &image)
std::ostream & operator<< (std::ostream &s, const JfrImage_TypeColorSpace tcs)
std::ostream & operator<< (std::ostream &os, ConvexRoi::SliceImpl const &c)
std::ostream & operator<< (std::ostream &os, ConvexRoi const &roi)
std::ostream & operator<< (std::ostream &os, SliceRoi::SliceImpl const &c)
std::ostream & operator<< (std::ostream &os, SliceRoi const &roi)
template<class Vec >
cv::Rect gauss2rect (const Vec &x, double dx, double dy)
template<class Vec , class Sym_mat >
cv::Rect gauss2rect (const Vec &x, const Sym_mat &P, double n_sigmas=3.0)
cv::Rect gauss2rect (const rtslam::Gaussian &g, double sigma=3.0)
void extractPatch (const Image &src, const vec2 &pix, Image &patch)
 Extract patch from image.
Image extractPatch (const Image &src, const vec2 &pix, int width, int height)
 Crate and extract patch from image.

Variables

imout_t imout
 equivalent to std::cout for images
endl_ endl
 end of line
vsep_ vsep
 vertical separator (add a 2 pixels horizontal line)
hsep_ hsep
 horizontal separator (add a 2 pixels vertical line)
flush_ flush
 send to the screen
clear_ clear
 clear the display

Function Documentation

void jafar::image::extractPatch ( const Image &  src,
const vec2 &  pix,
Image &  patch 
)

Extract patch from image.

Parameters:
srcsource image
pixcentral pixel of the patch
patchresulting patch

Definition at line 47 of file imageTools.hpp.

References jafar::image::Image::copy(), jafar::image::Image::height(), and jafar::image::Image::width().

Referenced by extractPatch().

Image jafar::image::extractPatch ( const Image &  src,
const vec2 &  pix,
int  width,
int  height 
)

Crate and extract patch from image.

Parameters:
srcsource image
pixcentral pixel of the patch
widthpatch width in pixels (must be odd number)
heightpatch height in pixels (must be odd number)
Returns:
patch resulting patch

Definition at line 63 of file imageTools.hpp.

References jafar::image::Image::colorSpace(), jafar::image::Image::depth(), and extractPatch().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1
LAAS-CNRS