Functions
contrib/mul/vil3d/vil3d_reflect.h File Reference

functions to create a reflected image view More...

#include <vil3d/vil3d_image_view.h>

Go to the source code of this file.

Functions

template<class T >
vil3d_image_view< T > vil3d_reflect_i (const vil3d_image_view< T > &v)
 Create a reflected view in which i -> ni-1-i.
template<class T >
vil3d_image_view< T > vil3d_reflect_j (const vil3d_image_view< T > &v)
 Create a reflected view in which j -> nj-1-j.
template<class T >
vil3d_image_view< T > vil3d_reflect_k (const vil3d_image_view< T > &v)
 Create a reflected view in which k -> nk-1-k.

Detailed Description

functions to create a reflected image view

Author:
Kevin de Souza, Ian Scott.

Definition in file vil3d_reflect.h.


Function Documentation

template<class T >
vil3d_image_view< T > vil3d_reflect_i ( const vil3d_image_view< T > &  v) [inline]

Create a reflected view in which i -> ni-1-i.

i.e. vil3d_reflect_i(view)(i, j, k, p) = view(ni-1-i, j, k, p) O(1).

Definition at line 21 of file vil3d_reflect.h.

template<class T >
vil3d_image_view< T > vil3d_reflect_j ( const vil3d_image_view< T > &  v) [inline]

Create a reflected view in which j -> nj-1-j.

i.e. vil3d_reflect_j(view)(i, j, k, p) = view(i, nj-1-j, k, p) O(1).

Definition at line 35 of file vil3d_reflect.h.

template<class T >
vil3d_image_view< T > vil3d_reflect_k ( const vil3d_image_view< T > &  v) [inline]

Create a reflected view in which k -> nk-1-k.

i.e. vil3d_reflect_k(view)(i, j, k, p) = view(i, j, nk-1-k, p) O(1).

Definition at line 49 of file vil3d_reflect.h.