#include <strk_region_info.h>

Public Member Functions | |
| strk_region_info (strk_region_info_params &tp) | |
| constructor from a parameter block (the only way). | |
| ~strk_region_info () | |
| Default Destructor. | |
| vil1_memory_image_of< unsigned char > | image_0 () |
| vil1_memory_image_of< unsigned char > | image_i () |
| void | set_image_0 (vil1_image &image) |
| Set the previous frame image. | |
| void | set_image_i (vil1_image &image) |
| Set the next frame image. | |
| void | set_face_0 (vtol_face_2d_sptr const &face) |
| Set the polygonal region for image 0. | |
| void | set_face_i (vtol_face_2d_sptr const &face) |
| Set the polygonal region for image i. | |
| void | set_background_face (vtol_face_2d_sptr const &face) |
| Set the background region for image i. | |
| void | init () |
| void | evaluate_info () |
| Evalutate the information at the initial region. | |
| void | evaluate_background_info () |
| Evalutate the information for the background region. | |
| bool | SanityCheck () |
| Checks that parameters are within acceptable bounds. | |
Public Attributes | |
| float | sigma_ |
| smoothing kernel radius for estimating gradient | |
| bool | gradient_info_ |
| Combine gradient and intensity info. | |
| bool | color_info_ |
| Combine color and intensity info. | |
| float | min_gradient_ |
| minimum gradient magnitude to be considered | |
| float | parzen_sigma_ |
| smoothing for the histogram density | |
| bool | verbose_ |
| informative messages to cout | |
| bool | debug_ |
| informative debug messages to cout | |
Protected Member Functions | |
| bool | map_i_to_0 (vgl_h_matrix_2d< double > &H) |
| map the intensities from image i to the coordinate frame of image 0. | |
| void | InitParams (float sigma, bool gradient_info, bool color_info, float min_gradient, float parzen_sigma, bool verbose, bool debug) |
Protected Attributes | |
| vil1_memory_image_of< float > | image_0_ |
| frame 0 intensity | |
| vil1_memory_image_of< float > | image_i_ |
| frame i intensity | |
| vil1_memory_image_of< float > | hue_0_ |
| hue of image_0 | |
| vil1_memory_image_of< float > | sat_0_ |
| saturation of image_0 | |
| vil1_memory_image_of< float > | hue_i_ |
| hue of image i | |
| vil1_memory_image_of< float > | sat_i_ |
| saturation of image_i | |
| vil1_memory_image_of< float > | Ix_0_ |
| x derivative of image_0 intensity | |
| vil1_memory_image_of< float > | Iy_0_ |
| y derivative of image_0 intensity | |
| vil1_memory_image_of< float > | Ix_i_ |
| x derivative of image_i intensity | |
| vil1_memory_image_of< float > | Iy_i_ |
| y derivative of image_i intensity | |
| vtol_face_2d_sptr | face_0_ |
| initial model | |
| vtol_face_2d_sptr | face_i_ |
| observation model | |
| vtol_face_2d_sptr | background_face_ |
| strk_tracking_face_2d_sptr | info_face_ |
Friends | |
| vcl_ostream & | operator<< (vcl_ostream &os, const strk_region_info_params &tp) |
Definition at line 24 of file strk_region_info.h.
| strk_region_info::strk_region_info | ( | strk_region_info_params & | tp | ) |
constructor from a parameter block (the only way).
Definition at line 29 of file strk_region_info.cxx.
| strk_region_info::~strk_region_info | ( | ) |
Default Destructor.
Definition at line 35 of file strk_region_info.cxx.
| void strk_region_info::evaluate_background_info | ( | ) |
Evalutate the information for the background region.
Evaluate background/forground information in image_0_.
Useful for debugging purposes.
Definition at line 207 of file strk_region_info.cxx.
| void strk_region_info::evaluate_info | ( | ) |
Evalutate the information at the initial region.
Evaluate information between I_0 and I_i at the initial region.
Useful for debugging purposes.
Definition at line 169 of file strk_region_info.cxx.
| vil1_memory_image_of< unsigned char > strk_region_info::image_0 | ( | ) |
Definition at line 261 of file strk_region_info.cxx.
| vil1_memory_image_of< unsigned char > strk_region_info::image_i | ( | ) |
Definition at line 266 of file strk_region_info.cxx.
| void strk_region_info::init | ( | ) |
| void strk_region_info_params::InitParams | ( | float | sigma, |
| bool | gradient_info, | ||
| bool | color_info, | ||
| float | min_gradient, | ||
| float | parzen_sigma, | ||
| bool | verbose, | ||
| bool | debug | ||
| ) | [protected, inherited] |
Definition at line 45 of file strk_region_info_params.cxx.
| bool strk_region_info::map_i_to_0 | ( | vgl_h_matrix_2d< double > & | H | ) | [protected] |
map the intensities from image i to the coordinate frame of image 0.
assumes a homography between the images is defined by a face with 4 vertices
Definition at line 235 of file strk_region_info.cxx.
| bool strk_region_info_params::SanityCheck | ( | ) | [inherited] |
Checks that parameters are within acceptable bounds.
Note that msg << ends seems to restart the string and erase the previous string. We should only use it as the last call, use vcl_endl otherwise.
Definition at line 68 of file strk_region_info_params.cxx.
| void strk_region_info::set_background_face | ( | vtol_face_2d_sptr const & | face | ) |
Set the background region for image i.
Definition at line 148 of file strk_region_info.cxx.
| void strk_region_info::set_face_0 | ( | vtol_face_2d_sptr const & | face | ) |
Set the polygonal region for image 0.
Definition at line 135 of file strk_region_info.cxx.
| void strk_region_info::set_face_i | ( | vtol_face_2d_sptr const & | face | ) |
Set the polygonal region for image i.
Definition at line 142 of file strk_region_info.cxx.
| void strk_region_info::set_image_0 | ( | vil1_image & | image | ) |
Set the previous frame image.
Definition at line 42 of file strk_region_info.cxx.
| void strk_region_info::set_image_i | ( | vil1_image & | image | ) |
Set the next frame image.
Definition at line 79 of file strk_region_info.cxx.
| vcl_ostream& operator<< | ( | vcl_ostream & | os, |
| const strk_region_info_params & | tp | ||
| ) | [friend, inherited] |
Definition at line 79 of file strk_region_info_params.cxx.
vtol_face_2d_sptr strk_region_info::background_face_ [protected] |
Definition at line 77 of file strk_region_info.h.
bool strk_region_info_params::color_info_ [inherited] |
Combine color and intensity info.
Definition at line 46 of file strk_region_info_params.h.
bool strk_region_info_params::debug_ [inherited] |
informative debug messages to cout
Definition at line 50 of file strk_region_info_params.h.
vtol_face_2d_sptr strk_region_info::face_0_ [protected] |
initial model
Definition at line 75 of file strk_region_info.h.
vtol_face_2d_sptr strk_region_info::face_i_ [protected] |
observation model
Definition at line 76 of file strk_region_info.h.
bool strk_region_info_params::gradient_info_ [inherited] |
Combine gradient and intensity info.
Definition at line 45 of file strk_region_info_params.h.
vil1_memory_image_of<float> strk_region_info::hue_0_ [protected] |
hue of image_0
Definition at line 67 of file strk_region_info.h.
vil1_memory_image_of<float> strk_region_info::hue_i_ [protected] |
hue of image i
Definition at line 69 of file strk_region_info.h.
vil1_memory_image_of<float> strk_region_info::image_0_ [protected] |
frame 0 intensity
Definition at line 65 of file strk_region_info.h.
vil1_memory_image_of<float> strk_region_info::image_i_ [protected] |
frame i intensity
Definition at line 66 of file strk_region_info.h.
Definition at line 78 of file strk_region_info.h.
vil1_memory_image_of<float> strk_region_info::Ix_0_ [protected] |
x derivative of image_0 intensity
Definition at line 71 of file strk_region_info.h.
vil1_memory_image_of<float> strk_region_info::Ix_i_ [protected] |
x derivative of image_i intensity
Definition at line 73 of file strk_region_info.h.
vil1_memory_image_of<float> strk_region_info::Iy_0_ [protected] |
y derivative of image_0 intensity
Definition at line 72 of file strk_region_info.h.
vil1_memory_image_of<float> strk_region_info::Iy_i_ [protected] |
y derivative of image_i intensity
Definition at line 74 of file strk_region_info.h.
float strk_region_info_params::min_gradient_ [inherited] |
minimum gradient magnitude to be considered
Definition at line 47 of file strk_region_info_params.h.
float strk_region_info_params::parzen_sigma_ [inherited] |
smoothing for the histogram density
Definition at line 48 of file strk_region_info_params.h.
vil1_memory_image_of<float> strk_region_info::sat_0_ [protected] |
saturation of image_0
Definition at line 68 of file strk_region_info.h.
vil1_memory_image_of<float> strk_region_info::sat_i_ [protected] |
saturation of image_i
Definition at line 70 of file strk_region_info.h.
float strk_region_info_params::sigma_ [inherited] |
smoothing kernel radius for estimating gradient
Definition at line 44 of file strk_region_info_params.h.
bool strk_region_info_params::verbose_ [inherited] |
informative messages to cout
Definition at line 49 of file strk_region_info_params.h.
1.7.5.1