#include <vimt_image_2d.h>
Inheritance diagram for vimt_image_2d:

world2im() gives transformation from world to image co-ordinates
Definition at line 16 of file vimt_image_2d.h.
Public Member Functions | |
| vimt_image_2d () | |
| Dflt ctor. | |
| virtual | ~vimt_image_2d () |
| Destructor. | |
| virtual unsigned | n_dims () const |
| Return dimensionality of image. | |
| virtual vcl_vector< unsigned > | image_size () const |
| Return vector indicating size of image in pixels. | |
| virtual void | world_bounds (vcl_vector< double > &b_lo, vcl_vector< double > &b_hi) const |
| Return vectors defining bounding box containing image in world co-ords. | |
| const vimt_transform_2d & | world2im () const |
| Current world-to-image transformation. | |
| vimt_transform_2d & | world2im () |
| Current world-to-image transformation. | |
| void | set_world2im (const vimt_transform_2d &w2i) |
| Set world-to-image transformation. | |
| virtual const vil_image_view_base & | image_base () const =0 |
| Baseclass view of image. | |
| 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?. | |
| virtual unsigned | n_planes () const =0 |
| Return number of planes in images. | |
| short | version_no () const |
| Version number for I/O. | |
| virtual vimt_image * | clone () const =0 |
| Create a copy on the heap and return base class pointer. | |
| virtual vimt_image * | deep_clone () const =0 |
| Create a deep copy on the heap and return base class pointer. | |
| bool | operator== (const vimt_image &) const |
| Shallow equality. | |
| virtual void | print_summary (vcl_ostream &os) const =0 |
| Print class to os. | |
| virtual void | print_all (vcl_ostream &os) const =0 |
| Print whole image to os. | |
| virtual void | b_write (vsl_b_ostream &bfs) const =0 |
| Save class to binary file stream. | |
| virtual void | b_read (vsl_b_istream &bfs)=0 |
| Load class from binary file stream. | |
Protected Member Functions | |
| vimt_image_2d (const vimt_transform_2d &w2i) | |
Protected Attributes | |
| vimt_transform_2d | world2im_ |
|
|
Definition at line 21 of file vimt_image_2d.h. |
|
|
Dflt ctor.
Definition at line 25 of file vimt_image_2d.h. |
|
|
Destructor.
Definition at line 28 of file vimt_image_2d.h. |
|
|
Load class from binary file stream.
Implemented in vimt_image_2d_of< T >. |
|
|
Save class to binary file stream.
Implemented in vimt_image_2d_of< T >. |
|
|
Create a copy on the heap and return base class pointer. Note that this will make a shallow copy of any contained images Implemented in vimt_image_2d_of< T >. |
|
|
Create a deep copy on the heap and return base class pointer. This will make a deep copy of any contained images Implemented in vimt_image_2d_of< T >. |
|
|
Baseclass view of image.
Implemented in vimt_image_2d_of< T >. |
|
|
Return vector indicating size of image in pixels. 2D image is v[0] x v[1] Somewhat inefficient: Only use when you absolutely have to. Usually one only needs to know the size once one knows the exact type. Implements vimt_image. Definition at line 11 of file vimt_image_2d.cxx. |
|
|
Name of the class.
Implements vimt_image. Reimplemented in vimt_image_2d_of< T >. Definition at line 57 of file vimt_image_2d.h. |
|
|
Does the name of the class match the argument?.
Implements vimt_image. Reimplemented in vimt_image_2d_of< T >. Definition at line 60 of file vimt_image_2d.h. |
|
|
Return dimensionality of image.
Implements vimt_image. Definition at line 31 of file vimt_image_2d.h. |
|
|
Return number of planes in images.
Implemented in vimt_image_2d_of< T >. |
|
|
Shallow equality. tests if the two images are the same type, have equal transforms, and point to the same image data with equal step sizes, etc. Definition at line 27 of file vimt_image.cxx. |
|
|
Print whole image to os.
Implemented in vimt_image_2d_of< T >. |
|
|
Print class to os.
Implemented in vimt_image_2d_of< T >. |
|
|
Set world-to-image transformation.
Definition at line 51 of file vimt_image_2d.h. |
|
|
Version number for I/O.
Reimplemented in vimt_image_2d_of< T >. Definition at line 18 of file vimt_image.cxx. |
|
|
Current world-to-image transformation.
Definition at line 47 of file vimt_image_2d.h. |
|
|
Current world-to-image transformation.
Definition at line 44 of file vimt_image_2d.h. |
|
||||||||||||
|
Return vectors defining bounding box containing image in world co-ords.
Implements vimt_image. Definition at line 20 of file vimt_image_2d.cxx. |
|
|
Definition at line 19 of file vimt_image_2d.h. |
1.4.4