Functions
contrib/mul/vil3d/vil3d_plane.h File Reference
#include <vil3d/vil3d_image_view.h>
#include <vcl_cassert.h>

Go to the source code of this file.

Functions

template<class T >
vil3d_image_view< T > vil3d_plane (const vil3d_image_view< T > &im, unsigned p)
 Return a view of im's plane p.
template<class T >
vil3d_image_view< T > vil3d_planes (const vil3d_image_view< T > &im, unsigned first, int skip, unsigned n)
 Return a view of a selection of im's planes.

Detailed Description

Author:
Tim Cootes.

Definition in file vil3d_plane.h.


Function Documentation

template<class T >
vil3d_image_view< T > vil3d_plane ( const vil3d_image_view< T > &  im,
unsigned  p 
) [inline]

Return a view of im's plane p.

O(1).

Definition at line 19 of file vil3d_plane.h.

template<class T >
vil3d_image_view<T> vil3d_planes ( const vil3d_image_view< T > &  im,
unsigned  first,
int  skip,
unsigned  n 
) [inline]

Return a view of a selection of im's planes.

You can select any equally-spaced sequence of planes.

Parameters:
firstThe index of the first plane you want to select.
skipThe spacing in your selection - will be 1 for adjacent planes.
nThe total number of planes in your selection. O(1).

Definition at line 36 of file vil3d_plane.h.