Classes | Public Member Functions | Private Attributes
haloc::Image Class Reference

#include <image.h>

List of all members.

Classes

struct  Params

Public Member Functions

vector< DMatch > bucketFeatures (vector< DMatch > matches, vector< KeyPoint > kp)
 Bucket features.
vector< Point3f > get3D ()
Mat getDesc ()
int getId ()
vector< KeyPoint > getKp ()
 Image ()
 Image constructor.
Params params () const
void set3D (vector< Point3f > p3d)
void setCameraModel (image_geometry::StereoCameraModel stereo_camera_model)
 Sets the stereo camera model for the class.
void setDesc (Mat desc)
void setId (int id)
void setKp (vector< KeyPoint > kp)
bool setMono (int id, const Mat &img)
 Compute the keypoints and descriptors for one image (mono)
void setParams (const Params &params)
 Sets the parameters.
bool setStereo (int id, const Mat &img_l, const Mat &img_r)
 Compute the keypoints and descriptors for two images (stereo)

Private Attributes

Mat desc_
 > Unfiltered keypoints of the images.
int id_
 > Object to save the stereo camera model.
vector< KeyPoint > kp_
 > The current id for this image.
Params params_
vector< Point3f > points_3d_
 > Unfiltered descriptors of the images.
image_geometry::StereoCameraModel stereo_camera_model_
 > Stores parameters

Detailed Description

Definition at line 15 of file image.h.


Constructor & Destructor Documentation

Image constructor.

Definition at line 19 of file image.cpp.


Member Function Documentation

vector< DMatch > haloc::Image::bucketFeatures ( vector< DMatch >  matches,
vector< KeyPoint >  kp 
)

Bucket features.

Returns:
the bucketed matches
Parameters:
inputmatches
inputkeypoints
bucketwith
bucketheight
numberof features per bucket

Definition at line 199 of file image.cpp.

vector< Point3f > haloc::Image::get3D ( )

Definition at line 36 of file image.cpp.

Definition at line 34 of file image.cpp.

Definition at line 30 of file image.cpp.

vector< KeyPoint > haloc::Image::getKp ( )

Definition at line 32 of file image.cpp.

Params haloc::Image::params ( ) const [inline]

Definition at line 51 of file image.h.

void haloc::Image::set3D ( vector< Point3f >  p3d)

Definition at line 37 of file image.cpp.

Sets the stereo camera model for the class.

Parameters:
stereo_camera_model.

Definition at line 43 of file image.cpp.

void haloc::Image::setDesc ( Mat  desc)

Definition at line 35 of file image.cpp.

void haloc::Image::setId ( int  id)

Definition at line 31 of file image.cpp.

void haloc::Image::setKp ( vector< KeyPoint >  kp)

Definition at line 33 of file image.cpp.

bool haloc::Image::setMono ( int  id,
const Mat &  img 
)

Compute the keypoints and descriptors for one image (mono)

Returns:
false if not enough keypoints. True otherwise.
Parameters:
Imageidentifier
cvMatimage

Definition at line 53 of file image.cpp.

void haloc::Image::setParams ( const Params params)

Sets the parameters.

Parameters:
parameterstruct.

Definition at line 24 of file image.cpp.

bool haloc::Image::setStereo ( int  id,
const Mat &  img_l,
const Mat &  img_r 
)

Compute the keypoints and descriptors for two images (stereo)

Returns:
false if not enough stereo matches. True otherwise.
Parameters:
Imageidentifier
cvMatimage for left frame
cvMatimage for right frame

Definition at line 90 of file image.cpp.


Member Data Documentation

Mat haloc::Image::desc_ [private]

> Unfiltered keypoints of the images.

Definition at line 89 of file image.h.

int haloc::Image::id_ [private]

> Object to save the stereo camera model.

Definition at line 87 of file image.h.

vector<KeyPoint> haloc::Image::kp_ [private]

> The current id for this image.

Definition at line 88 of file image.h.

Definition at line 84 of file image.h.

vector<Point3f> haloc::Image::points_3d_ [private]

> Unfiltered descriptors of the images.

Definition at line 90 of file image.h.

> Stores parameters

Definition at line 86 of file image.h.


The documentation for this class was generated from the following files:


libhaloc
Author(s): Pep Lluis Negre
autogenerated on Thu Jun 6 2019 21:25:00