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

All operations are delegated to the vil1_image_impl object, which uses class inheritance to make various file images etc. For fuller documentation on any method, see vil1_image_impl
Imagine that vil1_image is a class derived from vbl_smart_ptr<vil1_image_impl>, but with some extra convenience methods. These methods might traditionally be attached to the abstract base class vil1_image_impl, but this avoids cluttering that interface.
You should not derive from vil1_image to make a new image type. Derive from vil1_image_impl instead.
Definition at line 28 of file vil1_image.h.
Public Member Functions | |
| int | planes () const |
| Dimensions: Planes x W x H x Components. | |
| int | width () const |
| Dimensions: Planes x W x H x Components. | |
| int | height () const |
| Dimensions: Planes x W x H x Components. | |
| int | components () const |
| Dimensions: Planes x W x H x Components. | |
| int | bits_per_component () const |
| Format. | |
| enum vil1_component_format | component_format () const |
| Format. | |
| vil1_image | get_plane (unsigned int p) const |
| return the ith plane. | |
| bool | get_section (void *buf, int x0, int y0, int wd, int ht) const |
| Copy from image to buf. | |
| bool | put_section (void const *buf, int x0, int y0, int wd, int ht) |
| Copy from buf to image. | |
| bool | get_property (char const *tag, void *property_value=0) const |
| Getting property information. | |
| bool | set_property (char const *tag, void const *property_value=0) |
| Setting property information. | |
| char const * | file_format () const |
| Return a string describing the file format. | |
| int | rows () const |
| Number of rows. | |
| int | cols () const |
| Number of columns. | |
| int | get_size_bytes () const |
| return size in bytes. | |
| vcl_ostream & | print (vcl_ostream &) const |
| Print a 1-line summary of contents. | |
| vil1_image (vil1_image_impl *p=0) | |
| vil1_image (vil1_image const &that) | |
| ~vil1_image () | |
| Destructor. | |
| vil1_image & | operator= (vil1_image const &that) |
| vil1_image & | operator= (vil1_image_impl *p) |
| bool | operator== (vil1_image const &that) const |
| equality means equality of implementation, not pixels. | |
| bool | operator< (vil1_image const &that) const |
| needed for sorted containers of images. | |
| operator safe_bool () const | |
| conversion to bool. | |
| bool | operator! () const |
| inverse conversion to bool. | |
| vil1_image_impl * | impl () const |
| use "sptr.impl()" to get a pointer to the impl object. | |
Protected Attributes | |
| vil1_image_impl * | ptr |
Private Attributes | |
| VCL_SAFE_BOOL_DEFINE | |
|
|
Definition at line 93 of file vil1_image.h. |
|
|
Definition at line 99 of file vil1_image.h. |
|
|
Destructor.
Definition at line 105 of file vil1_image.h. |
|
|
Format.
Definition at line 48 of file vil1_image.h. |
|
|
Number of columns.
Definition at line 83 of file vil1_image.h. |
|
|
Format.
Definition at line 51 of file vil1_image.h. |
|
|
Dimensions: Planes x W x H x Components.
Definition at line 45 of file vil1_image.h. |
|
|
Return a string describing the file format. Only file images have a format, others return 0 Definition at line 75 of file vil1_image.h. |
|
|
return the ith plane.
Definition at line 55 of file vil1_image.h. |
|
||||||||||||
|
Getting property information.
Definition at line 66 of file vil1_image.h. |
|
||||||||||||||||||||||||
|
Copy from image to buf.
Definition at line 58 of file vil1_image.h. |
|
|
return size in bytes.
Definition at line 37 of file vil1_image.cxx. |
|
|
Dimensions: Planes x W x H x Components.
Reimplemented in vil1_memory_image. Definition at line 42 of file vil1_image.h. |
|
|
use "sptr.impl()" to get a pointer to the impl object.
Definition at line 150 of file vil1_image.h. |
|
|
conversion to bool.
Definition at line 142 of file vil1_image.h. |
|
|
inverse conversion to bool.
Definition at line 146 of file vil1_image.h. |
|
|
needed for sorted containers of images.
Definition at line 137 of file vil1_image.h. |
|
|
Definition at line 122 of file vil1_image.h. |
|
|
Reimplemented in vil1_memory_image_of< T >, and vil1_memory_image_of< vxl_byte >. Definition at line 111 of file vil1_image.h. |
|
|
equality means equality of implementation, not pixels.
Definition at line 132 of file vil1_image.h. |
|
|
Dimensions: Planes x W x H x Components.
Definition at line 36 of file vil1_image.h. |
|
|
Print a 1-line summary of contents.
Definition at line 13 of file vil1_image.cxx. |
|
||||||||||||||||||||||||
|
Copy from buf to image.
Definition at line 62 of file vil1_image.h. |
|
|
Number of rows.
Definition at line 81 of file vil1_image.h. |
|
||||||||||||
|
Setting property information.
Definition at line 70 of file vil1_image.h. |
|
|
Dimensions: Planes x W x H x Components.
Reimplemented in vil1_memory_image. Definition at line 39 of file vil1_image.h. |
|
|
Definition at line 155 of file vil1_image.h. |
|
|
Definition at line 30 of file vil1_image.h. |
1.4.4