contrib/mul/vil3d/vil3d_scan_image.h File Reference


Detailed Description

Read all voxels in an image (or pair) and feed into a functor.

Author:
Tim Cootes

Definition in file vil3d_scan_image.h.

#include <vcl_cassert.h>
#include <vil3d/vil3d_image_view.h>

Go to the source code of this file.


Functions

template<class T, class Fn>
void vil3d_scan_image (const vil3d_image_view< T > &im, Fn &f)
 Call f(v) for every voxel in the image.
template<class T1, class T2, class Fn>
void vil3d_scan_image (const vil3d_image_view< T1 > &im1, const vil3d_image_view< T2 > &im2, Fn &f)
 Call f(im1(i,j,k,p),im2(i,j,k,p)) for every voxel in the images.

Function Documentation

template<class T1, class T2, class Fn>
void vil3d_scan_image ( const vil3d_image_view< T1 > &  im1,
const vil3d_image_view< T2 > &  im2,
Fn &  f 
) [inline]

Call f(im1(i,j,k,p),im2(i,j,k,p)) for every voxel in the images.

Definition at line 43 of file vil3d_scan_image.h.

template<class T, class Fn>
void vil3d_scan_image ( const vil3d_image_view< T > &  im,
Fn &  f 
) [inline]

Call f(v) for every voxel in the image.

Definition at line 14 of file vil3d_scan_image.h.


Generated on Mon Nov 23 05:15:08 2009 for contrib/mul/vil3d by  doxygen 1.5.1