#include <vil_border.h>
It acts like a proxy to the underlying image, transparently providing border pixel values if required.
Definition at line 121 of file vil_border.h.
Public Types | |
| typedef imT::pixel_type | pixel_type |
Public Member Functions | |
| vil_border_accessor (const imT &im, const vil_border< imT > &border) | |
| Constructor. | |
| const pixel_type & | operator() (int i, int j, int p=0) const |
| Returns a const reference on the pixel (i,j,p). | |
Private Attributes | |
| const imT & | im |
| vil_border< imT > | border |
| typedef imT::pixel_type vil_border_accessor< imT >::pixel_type |
Definition at line 124 of file vil_border.h.
| vil_border_accessor< imT >::vil_border_accessor | ( | const imT & | im, | |
| const vil_border< imT > & | border | |||
| ) | [inline] |
| const pixel_type& vil_border_accessor< imT >::operator() | ( | int | i, | |
| int | j, | |||
| int | p = 0 | |||
| ) | const [inline] |
Returns a const reference on the pixel (i,j,p).
If the pixel falls out of the image range, a border value is returned.
Definition at line 135 of file vil_border.h.
const imT& vil_border_accessor< imT >::im [private] |
Definition at line 139 of file vil_border.h.
vil_border<imT> vil_border_accessor< imT >::border [private] |
Definition at line 140 of file vil_border.h.
1.5.1