Functions
contrib/mul/vimt3d/vimt3d_slice.h File Reference
#include <vil/vil_image_view.h>
#include <vil3d/vil3d_slice.h>
#include <vimt/vimt_image_2d_of.h>
#include <vimt3d/vimt3d_image_3d_of.h>
#include <vimt3d/vimt3d_transform_3d.h>
#include <vimt/vimt_transform_2d.h>
#include <vcl_cassert.h>

Go to the source code of this file.

Functions

template<class T >
vimt_image_2d_of< T > vimt3d_slice_ji (const vimt3d_image_3d_of< T > &im, unsigned k)
 Return a 2D view of slice k of 3D image aligned as (j,i).
template<class T >
vimt_image_2d_of< T > vimt3d_slice_ij (const vimt3d_image_3d_of< T > &im, unsigned k)
 Return a 2D view of slice k of 3D image aligned as (i,j).
template<class T >
vimt_image_2d_of< T > vimt3d_slice_jk (const vimt3d_image_3d_of< T > &im, unsigned i)
 Return a 2D view of slice i of 3D image aligned as (j,k).
template<class T >
vimt_image_2d_of< T > vimt3d_slice_kj (const vimt3d_image_3d_of< T > &im, unsigned i)
 Return a 2D view of slice i of 3D image aligned as (k,j).
template<class T >
vimt_image_2d_of< T > vimt3d_slice_ki (const vimt3d_image_3d_of< T > &im, unsigned j)
 Return a 2D view of slice j of 3D image aligned as (k,i).
template<class T >
vimt_image_2d_of< T > vimt3d_slice_ik (const vimt3d_image_3d_of< T > &im, unsigned j)
 Return a 2D view of slice j of 3D image aligned as (i,k).

Detailed Description

Author:
Chris Wolstenholme

Definition in file vimt3d_slice.h.


Function Documentation

template<class T >
vimt_image_2d_of< T > vimt3d_slice_ij ( const vimt3d_image_3d_of< T > &  im,
unsigned  k 
) [inline]

Return a 2D view of slice k of 3D image aligned as (i,j).

result(x,y,p)=im(x,y,k,p)

Definition at line 50 of file vimt3d_slice.h.

template<class T >
vimt_image_2d_of< T > vimt3d_slice_ik ( const vimt3d_image_3d_of< T > &  im,
unsigned  j 
) [inline]

Return a 2D view of slice j of 3D image aligned as (i,k).

result(x,y,p)=im(x,i,y,p)

Definition at line 154 of file vimt3d_slice.h.

template<class T >
vimt_image_2d_of< T > vimt3d_slice_ji ( const vimt3d_image_3d_of< T > &  im,
unsigned  k 
) [inline]

Return a 2D view of slice k of 3D image aligned as (j,i).

result(x,y,p)=im(y,x,k,p)

Definition at line 24 of file vimt3d_slice.h.

template<class T >
vimt_image_2d_of< T > vimt3d_slice_jk ( const vimt3d_image_3d_of< T > &  im,
unsigned  i 
) [inline]

Return a 2D view of slice i of 3D image aligned as (j,k).

result(x,y,p)=im(i,x,y,p)

Definition at line 76 of file vimt3d_slice.h.

template<class T >
vimt_image_2d_of< T > vimt3d_slice_ki ( const vimt3d_image_3d_of< T > &  im,
unsigned  j 
) [inline]

Return a 2D view of slice j of 3D image aligned as (k,i).

result(x,y,p)=im(y,i,x,p)

Definition at line 128 of file vimt3d_slice.h.

template<class T >
vimt_image_2d_of< T > vimt3d_slice_kj ( const vimt3d_image_3d_of< T > &  im,
unsigned  i 
) [inline]

Return a 2D view of slice i of 3D image aligned as (k,j).

result(x,y,p)=im(i,y,x,p)

Definition at line 102 of file vimt3d_slice.h.