Border handling for images. More...
#include <vcl_cassert.h>
Go to the source code of this file.
Classes | |
class | vil_border< imT > |
Border class. Makes pixel access outside image range transparent and configurable. More... | |
class | vil_border_accessor< imT > |
Provides a pixel accessor which is syntax-compatible with vil_image_view. More... | |
Enumerations | |
enum | vil_border_mode { vil_border_constant = 0, vil_border_geodesic = 1, vil_border_reflect = 2, vil_border_periodic = 3 } |
Vil border modes. More... | |
Functions | |
template<class imT > | |
vil_border_accessor< imT > | vil_border_create_accessor (const imT &im, const vil_border< imT > &border) |
Instantiates a border accessor, provided for convenience. | |
template<class imT > | |
vil_border< imT > | vil_border_create_constant (const imT &, typename imT::pixel_type constant_val=0) |
Instantiate a constant border whose type is derived from imT. | |
template<class imT > | |
vil_border< imT > | vil_border_create_geodesic (const imT &) |
Instantiate a geodesic border whose type is derived from imT. | |
template<class imT > | |
vil_border< imT > | vil_border_create_reflect (const imT &) |
Instantiate a reflect border whose type is derived from imT. | |
template<class imT > | |
vil_border< imT > | vil_border_create_periodic (const imT &) |
Instantiate a reflect border whose type is derived from imT. |
Border handling for images.
Definition in file vil_border.h.
enum vil_border_mode |
Vil border modes.
Definition at line 16 of file vil_border.h.
vil_border_accessor<imT> vil_border_create_accessor | ( | const imT & | im, |
const vil_border< imT > & | border | ||
) |
Instantiates a border accessor, provided for convenience.
Definition at line 146 of file vil_border.h.
vil_border<imT> vil_border_create_constant | ( | const imT & | , |
typename imT::pixel_type | constant_val = 0 |
||
) | [inline] |
Instantiate a constant border whose type is derived from imT.
Definition at line 154 of file vil_border.h.
vil_border<imT> vil_border_create_geodesic | ( | const imT & | ) | [inline] |
Instantiate a geodesic border whose type is derived from imT.
Definition at line 165 of file vil_border.h.
vil_border<imT> vil_border_create_periodic | ( | const imT & | ) | [inline] |
Instantiate a reflect border whose type is derived from imT.
Definition at line 185 of file vil_border.h.
vil_border<imT> vil_border_create_reflect | ( | const imT & | ) | [inline] |
Instantiate a reflect border whose type is derived from imT.
Definition at line 175 of file vil_border.h.