#include <cgh_scene.h>
Inheritance diagram for mimas::cgh_scene< T >:
Public Types | |
typedef boost::numeric::ublas::vector< double > | Vector |
typedef std::string | string |
typedef std::ostringstream | ostringstream |
typedef std::ofstream | ofstream |
Public Member Functions | |
cgh_scene () | |
void | setComparisonThreshold (double d) |
void | setCGHBinThreshold (double d) |
cgh_wrapper_ptr_list | getCGHList () |
void | createFromImage (image< T > &im) |
void | createFromImage (image< T > &im, double contrast_thres) |
extract all corner features from the image. | |
cgh_wrapper_ptr_list | crossCompare (cgh_scene &other) |
compare the histograms and provide output of the matches NOTE: nooooot symmetrical. | |
void | createFromImageFixedPoints (image< T > &im) |
This tool can also be used for comparing / matching corner featuers in two scenes.
Definition at line 31 of file cgh_scene.h.
typedef boost::numeric::ublas::vector< double > mimas::cgh_scene< T >::Vector |
Definition at line 34 of file cgh_scene.h.
typedef std::string mimas::cgh_scene< T >::string |
Definition at line 35 of file cgh_scene.h.
typedef std::ostringstream mimas::cgh_scene< T >::ostringstream |
Definition at line 36 of file cgh_scene.h.
typedef std::ofstream mimas::cgh_scene< T >::ofstream |
Definition at line 37 of file cgh_scene.h.
mimas::cgh_scene< T >::cgh_scene | ( | ) | [inline] |
Definition at line 44 of file cgh_scene.h.
void mimas::cgh_scene< T >::setComparisonThreshold | ( | double | d | ) | [inline] |
Definition at line 62 of file cgh_scene.h.
void mimas::cgh_scene< T >::setCGHBinThreshold | ( | double | d | ) | [inline] |
Definition at line 65 of file cgh_scene.h.
cgh_wrapper_ptr_list mimas::cgh_scene< T >::getCGHList | ( | ) | [inline] |
Definition at line 69 of file cgh_scene.h.
void mimas::cgh_scene< T >::createFromImage | ( | image< T > & | im | ) | [inline] |
Definition at line 74 of file cgh_scene.h.
void mimas::cgh_scene< T >::createFromImage | ( | image< T > & | im, | |
double | contrast_thres | |||
) | [inline] |
extract all corner features from the image.
threshold based on 'contrast_thres' to reduce the numbers a little. then create CGHs for all that remain. current implementation returns a maximum of 500 histograms, contrast ordered, with the strongest contrast corner first.
Definition at line 84 of file cgh_scene.h.
References mimas::corner_tool< T >::filterImage(), mimas::edge_string_op::filterWiggles(), mimas::canny_tool< T >::findEdgeStrings(), mimas::const_image_ref< T, TPtr >::getHeight(), mimas::const_image_ref< T, T * >::getHeight(), mimas::const_image_ref< T, TPtr >::getWidth(), mimas::const_image_ref< T, T * >::getWidth(), mimas::image< T >::init(), and mimas::image_ref< T >::pixel().
Here is the call graph for this function:
cgh_wrapper_ptr_list mimas::cgh_scene< T >::crossCompare | ( | cgh_scene< T > & | other | ) | [inline] |
compare the histograms and provide output of the matches NOTE: nooooot symmetrical.
Search for the best match of all corners in the first image in the second image. Not necessarily back again. NOTE2: the output contains pointers to data which is 'owned' by the views. so don't delete the data pointed to in the returned list
Definition at line 345 of file cgh_scene.h.
References mimas::cgh_scene< T >::cgh_list, and mimas::dotProduct().
Here is the call graph for this function:
void mimas::cgh_scene< T >::createFromImageFixedPoints | ( | image< T > & | im | ) | [inline] |
im | experimental code, probably not much use |
Definition at line 394 of file cgh_scene.h.
References mimas::canny_tool< T >::findEdgeStrings(), mimas::const_image_ref< T, T * >::getHeight(), and mimas::const_image_ref< T, T * >::getWidth().
Here is the call graph for this function: