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

Definition at line 17 of file vil1_file_image.h.
Public Types | |
| enum | verbosity { silent, laconic, verbose } |
Public Member Functions | |
| vil1_file_image () | |
| vil1_file_image (char const *filename, verbosity v=verbose) | |
| Attempt to load named file. | |
| vil1_file_image (vcl_string const &f, verbosity v=verbose) | |
| Attempt to load named file. | |
| bool | load (char const *filename, verbosity=verbose) |
| Attempt to load named file. | |
| bool | load (vcl_string const &, verbosity=verbose) |
| Attempt to load named file. | |
| 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. | |
| 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 |
| vil1_file_image::vil1_file_image | ( | ) | [inline] |
Definition at line 27 of file vil1_file_image.h.
| vil1_file_image::vil1_file_image | ( | char const * | filename, | |
| verbosity | v = verbose | |||
| ) | [inline] |
| vil1_file_image::vil1_file_image | ( | vcl_string const & | f, | |
| verbosity | v = verbose | |||
| ) | [inline] |
| bool vil1_file_image::load | ( | char const * | filename, | |
| verbosity | = verbose | |||
| ) |
| bool vil1_file_image::load | ( | vcl_string const & | , | |
| verbosity | = verbose | |||
| ) |
| int vil1_image::planes | ( | ) | const [inline, inherited] |
| int vil1_image::width | ( | ) | const [inline, inherited] |
Dimensions: Planes x W x H x Components.
Reimplemented in vil1_memory_image.
Definition at line 39 of file vil1_image.h.
| int vil1_image::height | ( | ) | const [inline, inherited] |
Dimensions: Planes x W x H x Components.
Reimplemented in vil1_memory_image.
Definition at line 42 of file vil1_image.h.
| int vil1_image::components | ( | ) | const [inline, inherited] |
| int vil1_image::bits_per_component | ( | ) | const [inline, inherited] |
| enum vil1_component_format vil1_image::component_format | ( | ) | const [inline, inherited] |
| vil1_image vil1_image::get_plane | ( | unsigned int | p | ) | const [inline, inherited] |
| bool vil1_image::get_section | ( | void * | buf, | |
| int | x0, | |||
| int | y0, | |||
| int | wd, | |||
| int | ht | |||
| ) | const [inline, inherited] |
| bool vil1_image::put_section | ( | void const * | buf, | |
| int | x0, | |||
| int | y0, | |||
| int | wd, | |||
| int | ht | |||
| ) | [inline, inherited] |
| bool vil1_image::get_property | ( | char const * | tag, | |
| void * | property_value = 0 | |||
| ) | const [inline, inherited] |
| bool vil1_image::set_property | ( | char const * | tag, | |
| void const * | property_value = 0 | |||
| ) | [inline, inherited] |
| char const* vil1_image::file_format | ( | ) | const [inline, inherited] |
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.
| int vil1_image::rows | ( | ) | const [inline, inherited] |
| int vil1_image::cols | ( | ) | const [inline, inherited] |
| int vil1_image::get_size_bytes | ( | ) | const [inherited] |
| vcl_ostream & vil1_image::print | ( | vcl_ostream & | ) | const [inherited] |
| bool vil1_image::operator== | ( | vil1_image const & | that | ) | const [inline, inherited] |
| bool vil1_image::operator< | ( | vil1_image const & | that | ) | const [inline, inherited] |
| vil1_image::operator safe_bool | ( | ) | const [inline, inherited] |
| bool vil1_image::operator! | ( | ) | const [inline, inherited] |
| vil1_image_impl* vil1_image::impl | ( | ) | const [inline, inherited] |
vil1_image_impl* vil1_image::ptr [protected, inherited] |
Definition at line 155 of file vil1_image.h.
1.5.1