Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages   Examples  

Conversion operations


Functions

ByteImageoperator= (Image< byte > &img)
void byte2int (Image< byte > &input, Image< int > &output)
void byte2int (ByteImage &input, IntImage &output)
void byte2float (Image< byte > &input, Image< float > &output)
void byte2float (ByteImage &input, FloatImage &output)
void int2byte (Image< int > &input, Image< byte > &output)
void int2byte (IntImage &input, ByteImage &output)
void int2float (Image< int > &input, Image< float > &output)
void int2float (IntImage &input, FloatImage &output)
void float2byte (Image< float > &input, Image< byte > &output)
void float2byte (FloatImage &input, ByteImage &output)
void float2int (Image< float > &input, Image< int > &output)
void float2int (FloatImage &input, IntImage &output)
FloatImageoperator= (Image< float > &img)
IntImageoperator= (Image< int > &img)

Detailed Description

This group contains conversion functions for the available image formats.

Function Documentation

void byte2float ( ByteImage & input,
FloatImage & output )
 

Performs the conversion of a binary image to a gray level image. In the gray level image the gray levels are stored as floats.

Definition at line 35 of file Conversion.cpp.

void byte2float ( Image< byte > & input,
Image< float > & output )
 

Performs the conversion of a binary image to a gray level image. In the gray level image the gray levels are stored as floats.

Definition at line 25 of file Conversion.cpp.

void byte2int ( ByteImage & input,
IntImage & output )
 

Performs the conversion of a binary image to a gray level image. In the gray level image the gray levels are stored as integers.

Definition at line 15 of file Conversion.cpp.

void byte2int ( Image< byte > & input,
Image< int > & output )
 

Performs the conversion of a binary image to a gray level image. In the gray level image the gray levels are stored as integers.

Definition at line 5 of file Conversion.cpp.

void float2byte ( FloatImage & input,
ByteImage & output )
 

Performs the conversion of a gray level image to a binary image.

Definition at line 95 of file Conversion.cpp.

void float2byte ( Image< float > & input,
Image< byte > & output )
 

Performs the conversion of a gray level image to a binary image.

Examples:
test_conversion.cpp.

Definition at line 85 of file Conversion.cpp.

void float2int ( FloatImage & input,
IntImage & output )
 

Performs the conversion of a gray level image whose gray levels are stored as floats to a gray level image whose gray levels are stored as integers.

Definition at line 115 of file Conversion.cpp.

void float2int ( Image< float > & input,
Image< int > & output )
 

Performs the conversion of a gray level image whose gray levels are stored as floats to a gray level image whose gray levels are stored as integers.

Examples:
test_conversion.cpp.

Definition at line 105 of file Conversion.cpp.

void int2byte ( IntImage & input,
ByteImage & output )
 

Performs the conversion of a gray level image to a binary image.

Definition at line 55 of file Conversion.cpp.

void int2byte ( Image< int > & input,
Image< byte > & output )
 

Performs the conversion of a gray level image to a binary image.

Definition at line 45 of file Conversion.cpp.

void int2float ( IntImage & input,
FloatImage & output )
 

Performs the conversion of a gray level image whose gray levels are stored as integers to a gray level image whose gray levels are stored as floats.

Definition at line 75 of file Conversion.cpp.

void int2float ( Image< int > & input,
Image< float > & output )
 

Performs the conversion of a gray level image whose gray levels are stored as integers to a gray level image whose gray levels are stored as floats.

Definition at line 65 of file Conversion.cpp.

IntImage & IntImage::operator= ( Image< int > & img )
 

Copy operator that allows conversion between Image< int > and IntImage.

Definition at line 39 of file IntImage.cpp.

FloatImage & FloatImage::operator= ( Image< float > & img )
 

Copy operator that allows conversion between Image< float > and FloatImage.

Definition at line 5 of file FloatImage.cpp.

ByteImage & ByteImage::operator= ( Image< byte > & img )
 

Copy operator that allows conversion between Image< byte > and ByteImage.

Definition at line 77 of file ByteImage.cpp.