#include <vimt_gaussian_pyramid_builder_2d_general.h>
Inheritance diagram for vimt_gaussian_pyramid_builder_2d_general< T >:

Definition at line 17 of file vimt_gaussian_pyramid_builder_2d_general.h.
Public Member Functions | |
| virtual void | build (vimt_image_pyramid &im_pyr, const vimt_image &im) const |
| Build pyramid. | |
| vimt_gaussian_pyramid_builder_2d_general () | |
| Dflt ctor. | |
| vimt_gaussian_pyramid_builder_2d_general (double scale_step) | |
| Construct with given scale_step. | |
| ~vimt_gaussian_pyramid_builder_2d_general () | |
| Destructor. | |
| double | scale_step () const |
| get the current scale step;. | |
| void | set_scale_step (double scale_step) |
| Set the Scale step. | |
| void | extend (vimt_image_pyramid &image_pyr) const |
| Extend pyramid. | |
| vimt_image_pyramid_builder * | clone () const |
| Create a copy on the heap and return base class pointer. | |
| short | version_no () const |
| Version number for I/O. | |
| virtual vcl_string | is_a () const |
| Name of the class. | |
| virtual bool | is_class (vcl_string const &s) const |
| Does the name of the class match the argument?. | |
| void | print_summary (vcl_ostream &) const |
| Print class to os. | |
| void | b_write (vsl_b_ostream &bfs) const |
| Save class to binary file stream. | |
| void | b_read (vsl_b_istream &bfs) |
| Load class from binary file stream. | |
| unsigned | filter_width () const |
| Current filter width. | |
| void | set_filter_width (unsigned) |
| Set current filter width (must be 3 or 5 at present). | |
| virtual vimt_image_pyramid * | new_image_pyramid () const |
| Create new (empty) pyramid on heap. | |
| virtual void | set_max_levels (int max_l) |
| Define maximum number of levels to build. | |
| virtual int | max_levels () const |
| Get the current maximum number levels allowed. | |
| void | gauss_reduce (const vimt_image_2d_of< T > &src_im, vimt_image_2d_of< T > &dest_im) const |
| Smooth and subsample src_im to produce dest_im. | |
| unsigned | min_y_size () const |
| Get the minimum Y size of the top layer of the pyramid. | |
| unsigned | min_x_size () const |
| Get the minimum X size of the top layer of the pyramid. | |
| virtual void | set_min_size (unsigned X, unsigned Y) |
| Set the minimum size of the top layer of the pyramid. | |
Protected Member Functions | |
| void | check_pyr (vimt_image_pyramid &im_pyr, int n_levels) const |
| Checks pyramid has at least n levels of correct type. | |
| void | empty_pyr (vimt_image_pyramid &im_pyr) const |
| Deletes all data in im_pyr. | |
Private Attributes | |
| vil_image_view< T > | worka_ |
| image workspace. | |
| vil_image_view< T > | workb_ |
| image workspace. | |
| vil_gauss_reduce_params | scale_params_ |
| Pre-calculated scale parameters and filter taps. | |
|
|||||||||
|
Dflt ctor.
Definition at line 21 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
||||||||||
|
Construct with given scale_step.
Definition at line 27 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
|||||||||
|
Destructor.
Definition at line 34 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
||||||||||
|
Load class from binary file stream.
Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. Definition at line 226 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
||||||||||
|
Save class to binary file stream.
Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. Definition at line 216 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
||||||||||||||||
|
Build pyramid.
Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. Definition at line 47 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
||||||||||||||||
|
Checks pyramid has at least n levels of correct type.
Definition at line 121 of file vimt_gaussian_pyramid_builder_2d.txx. |
|
|||||||||
|
Create a copy on the heap and return base class pointer.
Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. Definition at line 200 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
||||||||||
|
Deletes all data in im_pyr.
Definition at line 112 of file vimt_gaussian_pyramid_builder_2d.txx. |
|
||||||||||
|
Extend pyramid. The first layer of the pyramid must already be set. Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. Definition at line 120 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
|||||||||
|
Current filter width.
Definition at line 49 of file vimt_gaussian_pyramid_builder_2d.h. |
|
||||||||||||||||
|
Smooth and subsample src_im to produce dest_im. Applies filter in x and y, then samples every other pixel. Filter width defined by set_filter_width() Definition at line 86 of file vimt_gaussian_pyramid_builder_2d.txx. |
|
|||||||||
|
Name of the class.
Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. |
|
||||||||||
|
Does the name of the class match the argument?.
Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. Definition at line 183 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
|||||||||
|
Get the current maximum number levels allowed.
Implements vimt_image_pyramid_builder. Definition at line 53 of file vimt_gaussian_pyramid_builder_2d.txx. |
|
|||||||||
|
Get the minimum X size of the top layer of the pyramid. Defaults to 5. Definition at line 91 of file vimt_gaussian_pyramid_builder_2d.h. |
|
|||||||||
|
Get the minimum Y size of the top layer of the pyramid. Defaults to 5. Definition at line 87 of file vimt_gaussian_pyramid_builder_2d.h. |
|
|||||||||
|
Create new (empty) pyramid on heap. Caller responsible for its deletion Implements vimt_image_pyramid_builder. Definition at line 62 of file vimt_gaussian_pyramid_builder_2d.txx. |
|
||||||||||
|
Print class to os.
Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. Definition at line 208 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
|||||||||
|
get the current scale step;.
Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. Definition at line 42 of file vimt_gaussian_pyramid_builder_2d_general.h. |
|
||||||||||
|
Set current filter width (must be 3 or 5 at present).
Definition at line 77 of file vimt_gaussian_pyramid_builder_2d.txx. |
|
||||||||||
|
Define maximum number of levels to build. Limits levels built in subsequent calls to build() Useful efficiency measure. As build() only takes a shallow copy of the original image, using max_l=1 avoids any copying or smoothing. Implements vimt_image_pyramid_builder. Definition at line 40 of file vimt_gaussian_pyramid_builder_2d.txx. |
|
||||||||||||||||
|
Set the minimum size of the top layer of the pyramid.
Definition at line 94 of file vimt_gaussian_pyramid_builder_2d.h. |
|
||||||||||
|
Set the Scale step.
Definition at line 39 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
|||||||||
|
Version number for I/O.
Reimplemented from vimt_gaussian_pyramid_builder_2d< T >. Definition at line 192 of file vimt_gaussian_pyramid_builder_2d_general.txx. |
|
|||||
|
Pre-calculated scale parameters and filter taps.
Definition at line 26 of file vimt_gaussian_pyramid_builder_2d_general.h. |
|
|||||
|
image workspace.
Definition at line 21 of file vimt_gaussian_pyramid_builder_2d_general.h. |
|
|||||
|
image workspace.
Definition at line 23 of file vimt_gaussian_pyramid_builder_2d_general.h. |
1.4.4