Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::Intensity Namespace Reference

Image intensity manipulation class. More...

Functions

template<class D >
Minimum (const Image< D > &img, const Image< D > &msk)
 Returns the minimum intensity in img restricted to msk pixels which intensities are different form zero. More...
 
template<class D >
Maximum (const Image< D > &img, const Image< D > &msk)
 Returns the maximum intensity in img restricted to msk pixels which intensities are different form zero. More...
 
template<class D >
void Complement (Image< D > &img)
 Inverts the intensity of each pixel of image img using its maximum value, i.e., data[ x ] = Maximum( img ) - data[ x ]. More...
 
template<class D >
void Complement (Image< D > &img, const Image< D > &msk)
 The same as Complement( img ), but restricted to the pixels of msk image which intensities are not zero. More...
 
template<class D >
Vector< bool > LocalMinima (const Image< D > &image, const Adjacency &adjacency)
 Returns an image with local minima pixel indexes of image image within adjacency relation adjacency. More...
 
template<class D >
Vector< bool > LocalMaxima (const Image< D > &image, const Adjacency &adjacency)
 Returns an image with local maxima pixel indexes of image 'image' within adjacency relation 'adjacency'. More...
 
template<class D , class D2 >
Vector< bool > LocalMinima (const Image< D > &image, const Image< D2 > &mask, const Adjacency &adjacency)
 Returns an image with local minima pixel indexes of image image within adjacency relation adjacency. More...
 
template<class D , class D2 >
Vector< bool > LocalMaxima (const Image< D > &image, const Image< D2 > &mask, const Adjacency &adjacency)
 Returns an image with local maxima pixel indexes of image 'image' within adjacency relation 'adjacency'. More...
 

Detailed Description

Image intensity manipulation class.

Function Documentation

template<class D >
void Bial::Intensity::Complement ( Image< D > &  img)

Inverts the intensity of each pixel of image img using its maximum value, i.e., data[ x ] = Maximum( img ) - data[ x ].

Date
2013/Aug/27
Parameters
imgAn image.
Returns
none.
Warning
none.
template<class D >
void Bial::Intensity::Complement ( Image< D > &  img,
const Image< D > &  msk 
)

The same as Complement( img ), but restricted to the pixels of msk image which intensities are not zero.

Date
2013/Aug/27
Parameters
imgAn image.
mskAn image.
Returns
none.
Warning
none.
template<class D >
Vector< bool > Bial::Intensity::LocalMaxima ( const Image< D > &  image,
const Adjacency adjacency 
)

Returns an image with local maxima pixel indexes of image 'image' within adjacency relation 'adjacency'.

Date
2012/Sep/24
Parameters
imageInput image.
adjacencyAn adjacency relation.
Returns
Image with local maxima pixel indexes in image 'image' within adjacency relation 'adjacency'.
Warning
none.
template<class D , class D2 >
Vector< bool > Bial::Intensity::LocalMaxima ( const Image< D > &  image,
const Image< D2 > &  mask,
const Adjacency adjacency 
)

Returns an image with local maxima pixel indexes of image 'image' within adjacency relation 'adjacency'.

Date
2012/Sep/24
Parameters
imageInput image.
maskImage mask with domain restriction.
adjacencyAn adjacency relation.
Returns
Image with local maxima pixel indexes in image 'image' within adjacency relation 'adjacency'.
Warning
none.
template<class D >
Vector< bool > Bial::Intensity::LocalMinima ( const Image< D > &  image,
const Adjacency adjacency 
)

Returns an image with local minima pixel indexes of image image within adjacency relation adjacency.

Date
2012/Sep/24
Parameters
imageInput image.
adjacencyAn adjacency relation.
Returns
Image with local minima pixel indexes in image image within adjacency relation adjacency.
Warning
none.
template<class D , class D2 >
Vector< bool > Bial::Intensity::LocalMinima ( const Image< D > &  image,
const Image< D2 > &  mask,
const Adjacency adjacency 
)

Returns an image with local minima pixel indexes of image image within adjacency relation adjacency.

Date
2012/Sep/24
Parameters
imageInput image.
maskImage mask with domain restriction.
adjacencyAn adjacency relation.
Returns
Image with local minima pixel indexes in image image within adjacency relation adjacency.
Warning
none.
template<class D >
D Bial::Intensity::Maximum ( const Image< D > &  img,
const Image< D > &  msk 
)

Returns the maximum intensity in img restricted to msk pixels which intensities are different form zero.

Date
2013/Aug/27
Parameters
imgAn image.
mskAn image.
Returns
Maximum intensity in img restricted to msk pixels which intensities are different form zero.
Warning
none.
template<class D >
D Bial::Intensity::Minimum ( const Image< D > &  img,
const Image< D > &  msk 
)

Returns the minimum intensity in img restricted to msk pixels which intensities are different form zero.

Date
2013/Aug/27
Parameters
imgAn image.
mskAn image.
Returns
Minimum intensity in img restricted to msk pixels which intensities are different form zero.
Warning
none.