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

Derived classes tend to have world to image transformations attached to them, and to be able to act as `views' of external data.
Definition at line 21 of file vimt_image.h.
Public Member Functions | |
| vimt_image () | |
| Dflt ctor. | |
| virtual | ~vimt_image () |
| Destructor. | |
| virtual unsigned | n_dims () const =0 |
| Return dimensionality of image. | |
| virtual unsigned | n_planes () const =0 |
| Return number of planes in images. | |
| virtual vcl_vector< unsigned > | image_size () const =0 |
| Return vector indicating size of image in pixels. | |
| virtual void | world_bounds (vcl_vector< double > &b_lo, vcl_vector< double > &b_hi) const =0 |
| Return vectors defining bounding box containing image in world co-ords. | |
| short | version_no () const |
| Version number for I/O. | |
| virtual vcl_string | is_a () const =0 |
| Name of the class. | |
| virtual bool | is_class (vcl_string const &) const =0 |
| Does the name of the class match the argument?. | |
| 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. | |
Private Member Functions | |
| virtual bool | equals (const vimt_image &) const =0 |
| Shallow equality tester. | |
|
|
Dflt ctor.
Definition at line 29 of file vimt_image.h. |
|
|
Destructor.
Definition at line 32 of file vimt_image.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 >. |
|
|
Shallow equality tester. The parameter must be identical type to this. Implemented in vimt_image_2d_of< T >. |
|
|
Return vector indicating size of image in pixels. 2D image is v[0] x v[1], 3D image is v[0] x v[1] x v[2] Somewhat inefficient: Only use when you absolutely have to. Usually one only needs to know the size once one knows the exact type. Implemented in vimt_image_2d. |
|
|
Name of the class.
Implemented in vimt_image_2d, and vimt_image_2d_of< T >. Definition at line 41 of file vimt_image.cxx. |
|
|
Does the name of the class match the argument?.
Implemented in vimt_image_2d, and vimt_image_2d_of< T >. Definition at line 49 of file vimt_image.cxx. |
|
|
Return dimensionality of image.
Implemented in vimt_image_2d. |
|
|
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 >. |
|
|
Version number for I/O.
Reimplemented in vimt_image_2d_of< T >. Definition at line 18 of file vimt_image.cxx. |
|
||||||||||||
|
Return vectors defining bounding box containing image in world co-ords.
Implemented in vimt_image_2d. |
1.4.4