Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Arithmetic.hxx File Reference

Function definitions for classes declared in .hpp. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class ImageType>
void IP3D::Addition (const ImageType &im1, const ImageType &im2, ImageType &_imDest)
 Apply calculates imDest = im1 + im2.
template<class ImageType>
void IP3D::AdditionWithConstant (const ImageType &src, const typename ImageType::value_type &scalarValue, ImageType &res)
 Adds a scalar value to each element of Imagetype.
template<class ImageType>
void IP3D::Difference (const ImageType &im1, const ImageType &im2, ImageType &_imDest)
 Apply calculates imDest = im1 - im2.
template<class ImageType>
void IP3D::DifferenceWithConstant (const ImageType &src, const typename ImageType::value_type &scalarValue, ImageType &res)
 Substracts a scalar value from each element of Imagetype.
template<class ImageType>
void IP3D::Multiplication (const ImageType &im1, const ImageType &im2, ImageType &_imDest)
 Multiply imDest = im1 * im2, voxel by voxel.
template<class ImageType>
void IP3D::Division (const ImageType &im1, const ImageType &im2, ImageType &_imDest)
 Divide imDest = im1 * im2, voxel by voxel.
template<class ImageType>
void IP3D::MultiplicationWithConstant (const ImageType &src, double v, ImageType &res)
 Multiplies each voxel with the same scalar.
template<class ImageType>
void IP3D::MaxImage (const ImageType &im1, const ImageType &im2, ImageType &_imDest)
template<class ImageType>
void IP3D::Abs (const ImageType &im1, ImageType &_imDest)


Detailed Description

Function definitions for classes declared in .hpp.

See AUTHORS and COPYING files for more information

Date:
2001-01-16

Definition in file Arithmetic.hxx.


Function Documentation

template<class ImageType>
void IP3D::Addition const ImageType &  im1,
const ImageType &  im2,
ImageType &  _imDest
 

Apply calculates imDest = im1 + im2.

This is a function that calculate im1 + im2 voxel by voxel

Definition at line 39 of file Arithmetic.hxx.

References ImageProcessorArgs< ImageType >::GetDest(), ImageProcessorArgs< ImageType >::InPlace(), and ImageProcessorArgs< ImageType >::SameSize().

template<class ImageType>
void IP3D::AdditionWithConstant const ImageType &  src,
const typename ImageType::value_type &  scalarValue,
ImageType &  res
 

Adds a scalar value to each element of Imagetype.

<long-description>

Parameters:
const Imagetype& im1
const typename ImageType::value_type&scalarValue
Imagetype& imDest

Definition at line 67 of file Arithmetic.hxx.

template<class ImageType>
void IP3D::DifferenceWithConstant const ImageType &  src,
const typename ImageType::value_type &  scalarValue,
ImageType &  res
 

Substracts a scalar value from each element of Imagetype.

<long-description>

Parameters:
const Imagetype& im1
const typename ImageType::value_type&scalarValue
Imagetype& imDest

Definition at line 111 of file Arithmetic.hxx.

template<class ImageType>
void IP3D::MultiplicationWithConstant const ImageType &  src,
double  v,
ImageType &  res
 

Multiplies each voxel with the same scalar.

<long-description>

Parameters:
const Imagetype& im1
const typename ImageType::value_type&scalarValue
Imagetype& imDest

Definition at line 177 of file Arithmetic.hxx.


Generated on Fri Jun 17 13:36:10 2005 for ImLib3D by  doxygen 1.4.2