Public Member Functions | Protected Attributes
i3d::Image3d< VOXEL > Class Template Reference

#include <image3d.h>

List of all members.

Public Member Functions

 Image3d (const Offset *off_=0, const Resolution *res_=0)
 Image3d (const char *fname, const VOI< PIXELS > *voi=0, bool is_regex=false, int channel=-1, const Offset *offset=0, const Resolution *resolution=0)
 Image3d (const Image3d &, const VOI< PIXELS > *voi=0)
 Image3d (const Image3d &, const VOI< MICRONS > &voi)
virtual ~Image3d ()
Image3doperator= (const Image3d &)
void CopyFromVOI (const Image3d< VOXEL > &src, const VOI< PIXELS > &voi, bool overrun=false, VOXEL padding_value=VOXEL(0))
void GetSliceX (Image3d< VOXEL > &img, size_t x) const
void GetSliceY (Image3d< VOXEL > &img, size_t y) const
void GetSliceZ (Image3d< VOXEL > &img, size_t z) const
void SetSliceX (const Image3d< VOXEL > &img, size_t x)
void SetSliceY (const Image3d< VOXEL > &img, size_t y)
void SetSliceZ (const Image3d< VOXEL > &img, size_t z)
template<typename CONVERTER , typename VOXELIN >
Image3dConvertFrom (const Image3d< VOXELIN > &src)
template<typename VOXELIN >
Image3dConvertFrom (const Image3d< VOXELIN > &src)
void ReadImage (const char *fname, const VOI< PIXELS > *voi=0, bool is_regex=false, int channel=-1, const Offset *offset=0, const Resolution *resolution=0)
void SaveImage (const char *fname, FileFormat ft=IMG_UNKNOWN, bool comp=true, const VOI< PIXELS > *voi=NULL) const
bool IsEmpty () const
size_t GetImageSize (void) const
size_t GetSliceSize (void) const
size_t GetWidth (void) const
size_t GetHeight (void) const
size_t GetNumSlices (void) const
size_t GetSizeX (void) const
size_t GetSizeY (void) const
size_t GetSizeZ (void) const
void GetRange (VOXEL &min, VOXEL &max) const
VOXEL GetMinValue (size_t &index) const
VOXEL GetMinValue () const
VOXEL GetMaxValue (size_t &index) const
VOXEL GetMaxValue () const
VOXEL GetKPercentileValue (float k) const
const OffsetGetOffset () const
const ResolutionGetResolution () const
const std::map< std::string,
std::string > & 
GetDescription () const
const Vector3d< size_t > & GetSize () const
void SetOffset (const Offset &off_)
void SetResolution (const Resolution &res_)
void SetDescription (const std::map< std::string, std::string > &description_)
template<class T >
void CopyMetaData (const Image3d< T > &img)
void ChangeNumberOfSlices (size_t sliceCount)
size_t GetX (size_t i) const
size_t GetY (size_t i) const
size_t GetZ (size_t i) const
size_t GetIndex (size_t x, size_t y, size_t z) const
size_t GetIndex (Vector3d< size_t > v) const
Vector3d< size_t > GetPos (size_t i) const
VOXEL GetVoxel (size_t x, size_t y, size_t z) const
VOXEL GetVoxel (const Vector3d< size_t > &v) const
VOXEL GetVoxel (size_t i) const
VOXEL * GetVoxelAddr (size_t x, size_t y, size_t z)
const VOXEL * GetVoxelAddr (size_t x, size_t y, size_t z) const
VOXEL * GetVoxelAddr (size_t i)
const VOXEL * GetVoxelAddr (size_t i) const
const VOXEL * GetFirstVoxelAddr () const
VOXEL * GetFirstVoxelAddr ()
void SetVoxel (size_t i, VOXEL voxel)
void SetVoxel (size_t x, size_t y, size_t z, VOXEL voxel)
void SetVoxel (const Vector3d< size_t > &v, VOXEL voxel)
void SetAllVoxels (VOXEL voxel)
void SetBorderVoxels (VOXEL voxel)
VOXEL * begin ()
VOXEL * end ()
const VOXEL * begin () const
const VOXEL * end () const
std::valarray< VOXEL > & GetVoxelData ()
const std::valarray< VOXEL > & GetVoxelData () const
void Clear ()
void PadImage (i3d::Vector3d< size_t > sz, VOXEL value=VOXEL(0))
void RemovePadding (i3d::Vector3d< size_t > sz)
void CycleSlices (size_t idxBegin, size_t idxEnd, size_t idxFirst)
bool OnBorder (const size_t i) const
bool OnBorder (const Vector3d< size_t > v) const
bool OnBorder (const size_t x, const size_t y, const size_t z) const
bool OnWideBorder (const size_t i, const size_t width) const
bool OnWideBorder (const size_t x, const size_t y, const size_t z, const size_t width) const
bool Include (int x, int y, int z) const
void Flip (bool xaxis, bool yaxis, bool zaxis)
bool Include (const Vector3d< int > &v) const
VOI< MICRONSGetVOI (void) const
void DisposeData ()
void MakeRoom (size_t width, size_t height, size_t slices)
void MakeRoom (const Vector3d< size_t > &sz)
bool TestConsistency (ImgVoxelType itype) const
ImgVoxelType ConsistentVoxelType () const
template<>
void GetRange (RGB &min, RGB &max) const
template<>
void GetRange (RGB16 &min, RGB16 &max) const
template<>
std::complex< float > GetMaxValue (size_t &index) const
template<>
std::complex< double > GetMaxValue (size_t &index) const
template<>
std::complex< float > GetMaxValue () const
template<>
std::complex< double > GetMaxValue () const
template<>
std::complex< float > GetKPercentileValue (float k) const
template<>
std::complex< double > GetKPercentileValue (float k) const
template<>
std::complex< float > GetMinValue (size_t &index) const
template<>
std::complex< double > GetMinValue (size_t &index) const
template<>
std::complex< float > GetMinValue () const
template<>
std::complex< double > GetMinValue () const

Protected Attributes

Offset offset
Vector3d< size_t > size
Resolution resolution
std::valarray< VOXEL > data
std::map< std::string,
std::string > 
description

Detailed Description

template<class VOXEL>
class i3d::Image3d< VOXEL >

The main template class which stores and manipulates the image data.

Todo:
Go through the documentation and make it more consistent and accurate
Note:
Functions GetVoxel, GetVoxelAddr, GetFirstVoxelAddr and OnBorder don't check whether the required voxel is available or whether the image is not empty.

Constructor & Destructor Documentation

template<class VOXEL>
i3d::Image3d< VOXEL >::Image3d ( const Offset off_ = 0,
const Resolution res_ = 0 
) [inline, explicit]

Default constructor.

It creates an empty image.

template<class T >
i3d::Image3d< T >::Image3d ( const char *  fname,
const VOI< PIXELS > *  voi = 0,
bool  is_regex = false,
int  channel = -1,
const Offset offset = 0,
const Resolution resolution = 0 
)

Constructor.

Read image from a specified file and constructs the Image3d object

parameters:

Parameters:
fnameimage filename or a regular expression
voivolume of interest to read from the file
is_regexspecifies whether the fname is regular filename or a mask for regular expansion.
channelwhich channel to read from the file. Default value (-1) means all channels. Currently, only ICS format supports this parameter.
offsetimage offset (in microns)
resolutionimage resolution (in pixels per microns) offset and resolution are optional parameters. If they are set to 0 the values stored in the image data file are used (implicitly), otherwise the argument values are used (explicitly).
template<class VOXEL>
i3d::Image3d< VOXEL >::Image3d ( const Image3d< VOXEL > &  ,
const VOI< PIXELS > *  voi = 0 
)

Copy constructor.

copy of VOI, if VOI == 0, whole image is copied VOI is in pixels and is relative to origin of image offset is recomputed apropriately, if resolution is not defined offset is simply added (i.e. it's supposed 1 pixel = 1 micron)

template<class VOXEL>
i3d::Image3d< VOXEL >::Image3d ( const Image3d< VOXEL > &  ,
const VOI< MICRONS > &  voi 
)

Copy constructor.

VOI is in microns, Image in intersection of VOI and src image is returned

template<class VOXEL>
virtual i3d::Image3d< VOXEL >::~Image3d ( ) [inline, virtual]

Destructor:


Member Function Documentation

template<class VOXEL>
Image3d< T > & i3d::Image3d< T >::operator= ( const Image3d< VOXEL > &  )

Assignment operator.

template<class T>
void i3d::Image3d< T >::CopyFromVOI ( const Image3d< T > &  src,
const VOI< PIXELS > &  voi,
bool  overrun = false,
padding_value = VOXEL(0) 
)

A function that copies the selected VOI from another image.

Copies the contents of a VOI from the src image to the current image, allocating enough room to fit the copied data. The source and destination must not be the same image.

Parameters:
srcanother (input) image
voithe area you are interested in within the input image
overrunwhether the given VOI may overrun the input image domain
padding_valueif the VOI overruns the input image the area that corresponds to the area beyond the input image domain must be padded with some value.
template<class VOXEL>
void i3d::Image3d< VOXEL >::GetSliceX ( Image3d< VOXEL > &  img,
size_t  x 
) const

Copy a selected slice to a given output image.

If the slice position is out of the image bounds, an InternalException is thrown. The output image is always 2D (i.e., its size in the z-axis is equal to 1 irrespective of the selected copying direction). The ordering of voxels in the output image follows the ordering in the input image.

template<class VOXEL>
void i3d::Image3d< VOXEL >::GetSliceY ( Image3d< VOXEL > &  img,
size_t  y 
) const
template<class VOXEL>
void i3d::Image3d< VOXEL >::GetSliceZ ( Image3d< VOXEL > &  img,
size_t  z 
) const
template<class VOXEL>
void i3d::Image3d< VOXEL >::SetSliceX ( const Image3d< VOXEL > &  img,
size_t  x 
)

Copy a 2D image to a given slice.

If the slice position is out of the image bounds or the size of the given 2D image is not equal to the size of the selected slice, an InternalException is thrown.

template<class VOXEL>
void i3d::Image3d< VOXEL >::SetSliceY ( const Image3d< VOXEL > &  img,
size_t  y 
)
template<class VOXEL>
void i3d::Image3d< VOXEL >::SetSliceZ ( const Image3d< VOXEL > &  img,
size_t  z 
)
template<class VOXEL>
template<typename CONVERTER , typename VOXELIN >
Image3d& i3d::Image3d< VOXEL >::ConvertFrom ( const Image3d< VOXELIN > &  src) [inline]

Converts contents of another image (of possibly different type) into this one using supplied CONVERTER.

Parameters:
srcsource image to copy data from
template<class VOXEL>
template<typename VOXELIN >
Image3d& i3d::Image3d< VOXEL >::ConvertFrom ( const Image3d< VOXELIN > &  src) [inline]

Converts contents of another image (of possibly different type) into this one without any advanced logic (simple constructor of VOXEL type is used).

Parameters:
srcsource image to copy data from
template<class T >
void i3d::Image3d< T >::ReadImage ( const char *  fname,
const VOI< PIXELS > *  voi = 0,
bool  is_regex = false,
int  channel = -1,
const Offset offset = 0,
const Resolution resolution = 0 
)

Read 3D image from file.

Returns:
true on success. Parameters:
Parameters:
fnameimage filename or a regular expression
voivolume of interest to read from the file
is_regexspecifies whether the fname is regular filename or a mask for regular expansion.
channelwhich channel to read from the file. Default value (-1) means all channels. Currently, only ICS format supports this parameter.
offsetimage offset (in microns)
resolutionimage resolution (in pixels per microns) offset and resolution are optional parameters. If they are set to 0 the values stored in the image data file are used (implicitly), otherwise the argument values are used (explicitly).

open image

choose the channel to read if the default value is set (-1), then all the channels are read

read the basic image info to the predefined structures

verify if the required VOI is included in the image

fetch the image size

choose the channel to read if the default value is set (-1), then all the channels are read

test if image file is in the same colorspace as the prepared image structure

test whether the resolution is defined by the user

test whether the resolution is defined within the image format

set some image characteristics, only if requested: set the image offset (if set)

Set image description loaded from file

allocate the memory

read the image data

template<class T >
void i3d::Image3d< T >::SaveImage ( const char *  fname,
FileFormat  ft = IMG_UNKNOWN,
bool  comp = true,
const VOI< PIXELS > *  voi = NULL 
) const

SaveImage: Saves the image into a file(s) in specified format File format is guessed from extension of fname if ft == IMG_UNKNOWN.

IOException is thrown

  • if format for saving is not recognized or not supported
  • if some disk problems occurred

create image writer

set the image dimensions

set the image voxel type (binary, gray8, rgb, ...)

set the image resolution (if it is even used)

set the referred image compression

set the image offset

set image escription with tags of i3dlib software and program source

clean temporary variables

save header info

save the data

template<class VOXEL>
bool i3d::Image3d< VOXEL >::IsEmpty ( ) const [inline]

Is the image empty?

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetImageSize ( void  ) const [inline]

Get the number of voxels in image.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetSliceSize ( void  ) const [inline]

Get the number of voxels per one slice.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetWidth ( void  ) const [inline]

Get the width (horizontal axis) of the image.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetHeight ( void  ) const [inline]

Get the height (vertical axis) of the image.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetNumSlices ( void  ) const [inline]

Get number of slices per image.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetSizeX ( void  ) const [inline]

Get the width (horizontal axis) of the image.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetSizeY ( void  ) const [inline]

Get the height (vertical axis) of the image.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetSizeZ ( void  ) const [inline]

Get number of slices per image.

template<class VOXEL>
void i3d::Image3d< VOXEL >::GetRange ( VOXEL &  min,
VOXEL &  max 
) const

Returns minimal and maximal value in the Image.

Returns minimum and maximum in red green and blue, if the image is RGB or RGB16

template<class VOXEL >
VOXEL i3d::Image3d< VOXEL >::GetMinValue ( size_t &  index) const

Returns minimal value in the Image and index of its occurence (the last one).

The function is not implemented for composed types like RGB, RGB16 etc.

template<class VOXEL >
VOXEL i3d::Image3d< VOXEL >::GetMinValue ( ) const
template<class VOXEL >
VOXEL i3d::Image3d< VOXEL >::GetMaxValue ( size_t &  index) const

Returns maximal value in the Image and index of its occurence (the last one).

The function is not implemented for composed types like RGB, RGB16 etc.

template<class VOXEL >
VOXEL i3d::Image3d< VOXEL >::GetMaxValue ( ) const
template<class VOXEL >
VOXEL i3d::Image3d< VOXEL >::GetKPercentileValue ( float  k) const

Returns k-percentile value in the Image.

The function is not implemented for composed types like RGB, RGB16 etc.

template<class VOXEL>
const Offset& i3d::Image3d< VOXEL >::GetOffset ( ) const [inline]

Get the offset of this image.

template<class VOXEL>
const Resolution& i3d::Image3d< VOXEL >::GetResolution ( ) const [inline]

Get the resolution of this image.

template<class VOXEL>
const std::map<std::string, std::string>& i3d::Image3d< VOXEL >::GetDescription ( ) const [inline]

Get the description of this image.

template<class VOXEL>
const Vector3d<size_t>& i3d::Image3d< VOXEL >::GetSize ( ) const [inline]

Get the dimensions of the image.

template<class VOXEL>
void i3d::Image3d< VOXEL >::SetOffset ( const Offset off_) [inline]

Set the offset for this image.

template<class VOXEL>
void i3d::Image3d< VOXEL >::SetResolution ( const Resolution res_) [inline]

Set the resolution for this image.

template<class VOXEL>
void i3d::Image3d< VOXEL >::SetDescription ( const std::map< std::string, std::string > &  description_) [inline]

Set description for this image.

template<class VOXEL>
template<class T >
void i3d::Image3d< VOXEL >::CopyMetaData ( const Image3d< T > &  img) [inline]

Copy resolution, offset, size and allocate the memory.

template<class VOXEL >
void i3d::Image3d< VOXEL >::ChangeNumberOfSlices ( size_t  sliceCount)

Change the number of slices.

The content of the first min(sliceCount, GetSizeZ()) slices is preserved.

Parameters:
[in]sliceCountThe new number of slices.
template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetX ( size_t  i) const [inline]

Get the x-coordinate of the i-th voxel in the image data block.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetY ( size_t  i) const [inline]

Get the y-coordinate of the i-th voxel in the image data block.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetZ ( size_t  i) const [inline]

Get the z-coordinate of the i-th voxel in the image data block.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetIndex ( size_t  x,
size_t  y,
size_t  z 
) const [inline]

Get the position of the voxel in the image data block (first position is O.

template<class VOXEL>
size_t i3d::Image3d< VOXEL >::GetIndex ( Vector3d< size_t >  v) const [inline]
template<class VOXEL>
Vector3d<size_t> i3d::Image3d< VOXEL >::GetPos ( size_t  i) const [inline]

get the coords from the position in the image buffer vector coords is Vector3d<int> type - for relative positions

template<class VOXEL>
VOXEL i3d::Image3d< VOXEL >::GetVoxel ( size_t  x,
size_t  y,
size_t  z 
) const [inline]

Get a voxel value (voxels are numbered from 0):

template<class VOXEL>
VOXEL i3d::Image3d< VOXEL >::GetVoxel ( const Vector3d< size_t > &  v) const [inline]

Get a voxel value (voxels are numbered from 0)

template<class VOXEL>
VOXEL i3d::Image3d< VOXEL >::GetVoxel ( size_t  i) const [inline]

Get a voxel value (voxels are numbered from 0)

template<class VOXEL>
VOXEL* i3d::Image3d< VOXEL >::GetVoxelAddr ( size_t  x,
size_t  y,
size_t  z 
) [inline]

Get a voxel address (voxels are numbered from 0)

template<class VOXEL>
const VOXEL* i3d::Image3d< VOXEL >::GetVoxelAddr ( size_t  x,
size_t  y,
size_t  z 
) const [inline]

Get a voxel address (voxels are numbered from 0)

template<class VOXEL>
VOXEL* i3d::Image3d< VOXEL >::GetVoxelAddr ( size_t  i) [inline]

Get a voxel address (voxels are numbered from 0)

template<class VOXEL>
const VOXEL* i3d::Image3d< VOXEL >::GetVoxelAddr ( size_t  i) const [inline]

Get a voxel address (voxels are numbered from 0)

template<class VOXEL>
const VOXEL* i3d::Image3d< VOXEL >::GetFirstVoxelAddr ( ) const [inline]

Get the first voxel address (voxels are numbered from 0)

template<class VOXEL>
VOXEL* i3d::Image3d< VOXEL >::GetFirstVoxelAddr ( ) [inline]

Get the first voxel address (voxels are numbered from 0)

template<class VOXEL>
void i3d::Image3d< VOXEL >::SetVoxel ( size_t  i,
VOXEL  voxel 
) [inline]

Set a voxel to value (voxels are numbered from 0)

template<class VOXEL>
void i3d::Image3d< VOXEL >::SetVoxel ( size_t  x,
size_t  y,
size_t  z,
VOXEL  voxel 
) [inline]

Set a voxel to value (voxels are numbered from 0)

template<class VOXEL>
void i3d::Image3d< VOXEL >::SetVoxel ( const Vector3d< size_t > &  v,
VOXEL  voxel 
) [inline]

Set a voxel to value (voxels are numbered from 0)

template<class VOXEL>
void i3d::Image3d< VOXEL >::SetAllVoxels ( VOXEL  voxel) [inline]

Set all voxels to given value.

template<class VOXEL>
void i3d::Image3d< VOXEL >::SetBorderVoxels ( VOXEL  voxel)

Set border voxels to a given value.

It is for example useful if an algorithm needs a special value at all border pixels. For 2D images it works as one would expected :-).

template<class VOXEL>
VOXEL* i3d::Image3d< VOXEL >::begin ( ) [inline]

Synonym for GetFirstVoxelAddr()

template<class VOXEL>
VOXEL* i3d::Image3d< VOXEL >::end ( ) [inline]

Pointer beyond the last image element.

template<class VOXEL>
const VOXEL* i3d::Image3d< VOXEL >::begin ( ) const [inline]

Synonym for const GetFirstVoxelAddr()

template<class VOXEL>
const VOXEL* i3d::Image3d< VOXEL >::end ( ) const [inline]

Const pointer beyond the last image element.

template<class VOXEL>
std::valarray<VOXEL>& i3d::Image3d< VOXEL >::GetVoxelData ( ) [inline]

Returns the reference the the object 'data', which is of the std::valarray data type.

template<class VOXEL>
const std::valarray<VOXEL>& i3d::Image3d< VOXEL >::GetVoxelData ( ) const [inline]
template<class VOXEL>
void i3d::Image3d< VOXEL >::Clear ( ) [inline]
template<class T>
void i3d::Image3d< T >::PadImage ( i3d::Vector3d< size_t >  sz,
value = VOXEL(0) 
)

Pad image with the given value from each side.

The size of the image will increase by 2 * sz (sz at each side)

Warning: voxel buffer will be reallocated!

template<class T >
void i3d::Image3d< T >::RemovePadding ( i3d::Vector3d< size_t >  sz)

Remove padding (it is the inverse to PadImage function).

The size of the image will decrease by 2 * sz (sz at each side)

Warning: voxel buffer will be reallocated!

template<class VOXEL >
void i3d::Image3d< VOXEL >::CycleSlices ( size_t  idxBegin,
size_t  idxEnd,
size_t  idxFirst 
)

Cycle slices.

Cycle the content of the slices in the interval [idxBegin, idxEnd) such that the slice at index idxFirst is shifted to index idxBegin.

template<class VOXEL>
bool i3d::Image3d< VOXEL >::OnBorder ( const size_t  i) const [inline]

Is index i on the border of the image?

template<class VOXEL>
bool i3d::Image3d< VOXEL >::OnBorder ( const Vector3d< size_t >  v) const [inline]

Is v on the border of the image?

template<class VOXEL>
bool i3d::Image3d< VOXEL >::OnBorder ( const size_t  x,
const size_t  y,
const size_t  z 
) const [inline]

Is (x,y,z) on the border of the image?

template<class VOXEL>
bool i3d::Image3d< VOXEL >::OnWideBorder ( const size_t  i,
const size_t  width 
) const [inline]

Is index i on the width wide border of the image?

template<class VOXEL>
bool i3d::Image3d< VOXEL >::OnWideBorder ( const size_t  x,
const size_t  y,
const size_t  z,
const size_t  width 
) const [inline]

Is (x,y,z) on the width wide border of the image?

template<class VOXEL>
bool i3d::Image3d< VOXEL >::Include ( int  x,
int  y,
int  z 
) const [inline]

Is the voxel [x,y,z] in this image?

template<class VOXEL >
void i3d::Image3d< VOXEL >::Flip ( bool  xaxis,
bool  yaxis,
bool  zaxis 
)

Flip the image along any axis.

template<class VOXEL>
bool i3d::Image3d< VOXEL >::Include ( const Vector3d< int > &  v) const [inline]

Is the voxel 'v' in this image?

template<class VOXEL>
VOI<MICRONS> i3d::Image3d< VOXEL >::GetVOI ( void  ) const [inline]

Get this image 'voi'.

template<class VOXEL>
void i3d::Image3d< VOXEL >::DisposeData ( ) [inline]

Free memory occupied by data and set size to (0,0,0)

template<class VOXEL >
void i3d::Image3d< VOXEL >::MakeRoom ( size_t  width,
size_t  height,
size_t  slices 
)

Allocate/reallocate voxel memory and set the image size.

The input are three dimensions.

template<class VOXEL>
void i3d::Image3d< VOXEL >::MakeRoom ( const Vector3d< size_t > &  sz) [inline]

Allocate/reallocate voxel memory and set the image size.

The input is the dimension vector.

template<class T >
bool i3d::Image3d< T >::TestConsistency ( ImgVoxelType  itype) const

Test, whether Image3d<T> can, in principle, be created from a file of type itype:

template<class T >
ImgVoxelType i3d::Image3d< T >::ConsistentVoxelType ( ) const

Return a file type consistent with the voxel type T:

template<>
void i3d::Image3d< RGB >::GetRange ( RGB min,
RGB max 
) const
template<>
void i3d::Image3d< RGB16 >::GetRange ( RGB16 min,
RGB16 max 
) const
template<>
std::complex< float > i3d::Image3d< std::complex< float > >::GetMaxValue ( size_t &  index) const
template<>
std::complex< double > i3d::Image3d< std::complex< double > >::GetMaxValue ( size_t &  index) const
template<>
std::complex< float > i3d::Image3d< std::complex< float > >::GetMaxValue ( ) const
template<>
std::complex< double > i3d::Image3d< std::complex< double > >::GetMaxValue ( ) const
template<>
std::complex< float > i3d::Image3d< std::complex< float > >::GetKPercentileValue ( float  k) const
template<>
std::complex< double > i3d::Image3d< std::complex< double > >::GetKPercentileValue ( float  k) const
template<>
std::complex< float > i3d::Image3d< std::complex< float > >::GetMinValue ( size_t &  index) const
template<>
std::complex< double > i3d::Image3d< std::complex< double > >::GetMinValue ( size_t &  index) const
template<>
std::complex< float > i3d::Image3d< std::complex< float > >::GetMinValue ( ) const
template<>
std::complex< double > i3d::Image3d< std::complex< double > >::GetMinValue ( ) const

Member Data Documentation

template<class VOXEL>
Offset i3d::Image3d< VOXEL >::offset [protected]

position of the image in absolute coordinates in micrometers

template<class VOXEL>
Vector3d<size_t> i3d::Image3d< VOXEL >::size [protected]

size of the image (width x height x slices) in pixels

template<class VOXEL>
Resolution i3d::Image3d< VOXEL >::resolution [protected]

image resolution in pixels per micrometer

template<class VOXEL>
std::valarray<VOXEL> i3d::Image3d< VOXEL >::data [protected]

image data buffer

template<class VOXEL>
std::map<std::string, std::string> i3d::Image3d< VOXEL >::description [protected]

image description


The documentation for this class was generated from the following files: