Functions
contrib/mul/vil3d/vil3d_decimate.h File Reference
#include <vil3d/vil3d_fwd.h>

Go to the source code of this file.

Functions

template<class T >
vil3d_image_view< T > vil3d_decimate (const vil3d_image_view< T > &im, unsigned i_factor, unsigned j_factor=0, unsigned k_factor=0)
 Create a view which is a decimated version of src.

Detailed Description

Author:
Ian Scott.

Definition in file vil3d_decimate.h.


Function Documentation

template<class T >
vil3d_image_view< T > vil3d_decimate ( const vil3d_image_view< T > &  im,
unsigned  i_factor,
unsigned  j_factor = 0,
unsigned  k_factor = 0 
) [inline]

Create a view which is a decimated version of src.

Doesn't modify underlying data. O(1).

The factor describes the number of input rows (or columns) that are equivalent to one output. If you don't specify the j_factor or k_factor, they will be set equal to i_factor.

Definition at line 21 of file vil3d_decimate.h.