core/vil/vil_plane.h File Reference


Detailed Description

Author:
Ian Scott.

Definition in file vil_plane.h.

#include <vil/vil_image_resource.h>
#include <vil/vil_image_view.h>
#include <vcl_cassert.h>

Go to the source code of this file.


Classes

class  vil_plane_image_resource
 A generic_image adaptor that behaves like a single plane version of its input. More...

Functions

template<class T>
vil_image_view< T > vil_plane (const vil_image_view< T > &im, unsigned p)
 Return a view of im's plane p.
template<class T>
vil_image_view< T > vil_planes (const vil_image_view< T > &im, unsigned first, int skip, unsigned n)
 Return a view of a selection of im's planes.
vil_image_resource_sptr vil_plane (const vil_image_resource_sptr &src, unsigned p)
 Return a specific plane of an image.

Function Documentation

vil_image_resource_sptr vil_plane ( const vil_image_resource_sptr src,
unsigned  p 
)

Return a specific plane of an image.

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

Return a view of im's plane p.

O(1).

Definition at line 20 of file vil_plane.h.

template<class T>
vil_image_view<T> vil_planes ( const vil_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:
first The index of the first plane you want to select.
skip The spacing in your selection - will be 1 for adjacent planes.
n The total number of planes in your selection.
O(1).

Definition at line 35 of file vil_plane.h.


Generated on Mon Mar 8 05:08:52 2010 for core/vil by  doxygen 1.5.1