#include <vimt_vil_v2i.h>
Inheritance diagram for vimt_vil_v2i_image:

Definition at line 56 of file vimt_vil_v2i.h.
Public Member Functions | |
| virtual | ~vimt_vil_v2i_image () |
| virtual unsigned | nplanes () const |
| Dimensions: nplanes x ni x nj. | |
| virtual unsigned | ni () const |
| Dimensions: nplanes x ni x nj. | |
| virtual unsigned | nj () const |
| Dimensions: nplanes x ni x nj. | |
| virtual enum vil_pixel_format | pixel_format () const |
| Pixel Format. | |
| void | set_pixel_size (float i, float j) |
| Set the size of the each pixel in the i,j directions. | |
| const vimt_transform_2d & | world2im () const |
| Get full world to image transform. | |
| void | set_world2im (const vimt_transform_2d &tr) |
| Set full world to image transform. | |
| virtual vil_image_view_base_sptr | get_copy_view (unsigned i0, unsigned ni, unsigned j0, unsigned nj) const |
| Create a read/write view of a copy of this data. | |
| virtual vil_image_view_base_sptr | get_view (unsigned i0, unsigned ni, unsigned j0, unsigned nj) const |
| Create a read/write view of a copy of this data. | |
| virtual bool | put_view (const vil_image_view_base &im, unsigned i0, unsigned j0) |
| Put the data in this view back into the image source. | |
| virtual char const * | file_format () const |
| Return a string describing the file format. | |
| virtual bool | get_property (char const *label, void *property_value=0) const |
| Extra property information. | |
| vil_image_view_base_sptr | get_view () const |
| vil_image_view_base_sptr | get_copy_view () const |
| bool | put_view (const vil_image_view_base &im) |
| virtual bool | view_fits (const vil_image_view_base &im, unsigned i0, unsigned j0) |
| vil_image_resource_sptr | vil_convolve_1d (const vil_image_resource_sptr &src_im, const destT, const kernelT *kernel, int k_lo, int k_hi, const accumT, vil_convolve_boundary_option start_option, vil_convolve_boundary_option end_option) |
| vil_image_resource_sptr | vil_correlate_1d (const vil_image_resource_sptr &src_im, const destT, const kernelT *kernel, vcl_ptrdiff_t k_lo, vcl_ptrdiff_t k_hi, const accumT, vil_convolve_boundary_option start_option, vil_convolve_boundary_option end_option) |
| bool | vil_copy_deep (const vil_image_resource_sptr &src, vil_image_resource_sptr &dest) |
| vil_image_resource_sptr | vil_crop (const vil_image_resource_sptr &src, unsigned i0, unsigned n_i, unsigned j0, unsigned n_j) |
| vil_image_resource_sptr | vil_decimate (const vil_image_resource_sptr &src, unsigned i_factor, unsigned j_factor=0) |
| vil_image_resource_sptr | vil_load_image_resource (char const *filename) |
| vil_image_resource_sptr | vil_new_image_resource (unsigned ni, unsigned nj, vil_image_resource_sptr const &prototype) |
| vil_image_resource_sptr | vil_new_image_resource (vil_stream *os, unsigned ni, unsigned nj, unsigned nplanes, vil_pixel_format format, char const *file_format) |
| vil_image_resource_sptr | vil_new_image_resource (char const *filename, unsigned ni, unsigned nj, vil_image_resource_sptr const &prototype, char const *file_format) |
| vil_image_resource_sptr | vil_new_image_resource (char const *filename, unsigned ni, unsigned nj, unsigned nplanes, vil_pixel_format format, char const *file_format) |
| vil_image_resource_sptr | vil_new_image_resource (vil_stream *os, unsigned ni, unsigned nj, vil_image_resource_sptr const &prototype, char const *file_format) |
| vil_image_resource_sptr | vil_new_image_resource (char const *filename, unsigned ni, unsigned nj, unsigned nplanes, vil_image_resource_sptr const &prototype, char const *format=0) |
| vil_image_resource_sptr | vil_new_image_resource (vil_stream *os, unsigned ni, unsigned nj, unsigned nplanes, vil_image_resource_sptr const &prototype, char const *file_format=0) |
| bool | vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename, char const *file_format) |
| bool | vil_save_image_resource (const vil_image_resource_sptr &ir, char const *filename) |
Protected Member Functions | |
| void | ref () |
| void | unref () |
Protected Attributes | |
| int | reference_count_ |
Private Member Functions | |
| vimt_vil_v2i_image (vil_stream *vs) | |
| Private constructor, use vil_load instead. | |
| vimt_vil_v2i_image (vil_stream *vs, vil_pixel_format f) | |
| Private constructor, use vil_load instead. | |
| vimt_vil_v2i_image (vil_stream *vs, unsigned ni, unsigned nj, unsigned nplanes, vil_pixel_format format) | |
| Private constructor, use vil_save instead. | |
Private Attributes | |
| vil_stream * | vs_ |
| Pointer to open image file. | |
| vimt_image_2d * | im_ |
| Image cache. | |
| bool | dirty_ |
| If true, write image file on exit. | |
| enum vil_pixel_format | pixel_format_ |
| Expected pixel type. | |
Friends | |
| class | vimt_vil_v2i_format |
| friend class | vil_smart_ptr |
|
|
Private constructor, use vil_load instead. This object takes ownership of the file. Definition at line 143 of file vimt_vil_v2i.cxx. |
|
||||||||||||
|
Private constructor, use vil_load instead. This object takes ownership of the file. Definition at line 175 of file vimt_vil_v2i.cxx. |
|
||||||||||||||||||||||||
|
Private constructor, use vil_save instead. This object takes ownership of the file, for writing. Definition at line 240 of file vimt_vil_v2i.cxx. |
|
|
Definition at line 270 of file vimt_vil_v2i.cxx. |
|
|
Return a string describing the file format. Only file images have a format, others return 0 Reimplemented from vil_image_resource. Definition at line 131 of file vimt_vil_v2i.h. |
|
||||||||||||||||||||
|
Create a read/write view of a copy of this data. This function will always return a multi-plane scalar-pixel view of the data.
Implements vil_image_resource. Definition at line 348 of file vimt_vil_v2i.cxx. |
|
||||||||||||
|
Extra property information. This will just return the property of the first slice in the list. Implements vil_image_resource. Definition at line 213 of file vimt_vil_v2i.cxx. |
|
||||||||||||||||||||
|
Create a read/write view of a copy of this data. This function will always return a multi-plane scalar-pixel view of the data.
Reimplemented from vil_image_resource. Definition at line 383 of file vimt_vil_v2i.cxx. |
|
|
Dimensions: nplanes x ni x nj. The number of pixels in each row. Implements vil_image_resource. Definition at line 300 of file vimt_vil_v2i.cxx. |
|
|
Dimensions: nplanes x ni x nj. The number of pixels in each column. Implements vil_image_resource. Definition at line 307 of file vimt_vil_v2i.cxx. |
|
|
Dimensions: nplanes x ni x nj. This concept is treated as a synonym to components. Implements vil_image_resource. Definition at line 293 of file vimt_vil_v2i.cxx. |
|
|
Pixel Format.
Implements vil_image_resource. Definition at line 313 of file vimt_vil_v2i.cxx. |
|
||||||||||||||||
|
Put the data in this view back into the image source. The view must be of scalar components. Assign your view to a scalar-component view if this is not the case.
Implements vil_image_resource. Definition at line 418 of file vimt_vil_v2i.cxx. |
|
||||||||||||
|
Set the size of the each pixel in the i,j directions.
Definition at line 331 of file vimt_vil_v2i.cxx. |
|
|
Set full world to image transform. Call this before using put_view(); Definition at line 324 of file vimt_vil_v2i.cxx. |
|
|
Get full world to image transform.
Definition at line 319 of file vimt_vil_v2i.cxx. |
|
|
Definition at line 58 of file vimt_vil_v2i.h. |
|
|
If true, write image file on exit.
Definition at line 65 of file vimt_vil_v2i.h. |
|
|
Image cache. Currently the whole image is cached im memory. This should be fixed. Definition at line 63 of file vimt_vil_v2i.h. |
|
|
Expected pixel type.
Definition at line 68 of file vimt_vil_v2i.h. |
|
|
Pointer to open image file.
Definition at line 60 of file vimt_vil_v2i.h. |
1.4.4