Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
Morphological opperations over images. More...
Functions | |
template<class D > | |
Image< D > | Dilate (const Image< D > &image) |
Computes the dilation of input image using spherical adjacency relation of one pixel of radius. More... | |
template<class D > | |
Image< D > | Dilate (const Image< D > &image, const Adjacency &adjacency) |
Computes the dilation of input image using spherical adjacency relation of one pixel of radius, restricted to the input mask. More... | |
template<class D > | |
void | DilateThreads (const Image< D > &image, const Adjacency &adjacency, Image< D > &result, size_t thread, size_t total_threads) |
Computes the dilation of input image using input adjacency relation. Multi-thread implementation. More... | |
template<class D > | |
Image< D > | DilateBin (const Image< D > &image, const Adjacency &adjacency) |
Computes the dilation of input image restricted to input mask, using input adjacency relation. Multi-thread implementation. More... | |
template<class D > | |
void | DilateBinThreads (const Image< D > &image, const Adjacency &adjacency, const Vector< size_t > &seeds, Image< D > &result, size_t thread, size_t total_threads) |
Computes the dilation of input image using input adjacency relation. Multi-thread implementation. More... | |
template<class D > | |
Image< D > | Erode (const Image< D > &image) |
Computes the erosion of input image using spherical adjacency relation of one pixel of radius. More... | |
template<class D > | |
Image< D > | Erode (const Image< D > &image, const Adjacency &adjacency) |
Computes the erosion of input image using spherical adjacency relation of one pixel of radius, restricted to the input mask. More... | |
template<class D > | |
void | ErodeThreads (const Image< D > &image, const Adjacency &adjacency, Image< D > &result, size_t thread, size_t total_threads) |
Computes the erosion of input image using input adjacency relation. Multi-thread implementation. More... | |
template<class D > | |
Image< D > | ErodeBin (const Image< D > &image, const Adjacency &adjacency) |
Computes the erosion of input image restricted to input mask, using input adjacency relation. Multi-thread implementation. More... | |
template<class D > | |
void | ErodeBinThreads (const Image< D > &image, const Adjacency &adjacency, const Vector< size_t > &seeds, Image< D > &result, size_t thread, size_t total_threads) |
Computes the erosion of input image using input adjacency relation. Multi-thread implementation. More... | |
Morphological opperations over images.
Computes the dilation of input image using spherical adjacency relation of one pixel of radius.
image | Input image. |
Image< D > Bial::Morphology::Dilate | ( | const Image< D > & | image, |
const Adjacency & | adjacency | ||
) |
Computes the dilation of input image using spherical adjacency relation of one pixel of radius, restricted to the input mask.
image | Input image. |
mask | Input mask. |
image | Input image. |
adjacency | Adjacency relation used by dilation opperation. |
Image< D > Bial::Morphology::DilateBin | ( | const Image< D > & | image, |
const Adjacency & | adjacency | ||
) |
Computes the dilation of input image restricted to input mask, using input adjacency relation. Multi-thread implementation.
image | Input image. |
mask | Input mask. |
adjacency | Adjacency relation used by dilation opperation. |
result | resulting image. |
thread | Thread number. |
total_threads | Number of threads. |
image | Input image. |
mask | Input mask. |
adjacency | Adjacency relation used by dilation opperation. |
image | Input binary image. |
void Bial::Morphology::DilateBinThreads | ( | const Image< D > & | image, |
const Adjacency & | adjacency, | ||
const Vector< size_t > & | seeds, | ||
Image< D > & | result, | ||
size_t | thread, | ||
size_t | total_threads | ||
) |
Computes the dilation of input image using input adjacency relation. Multi-thread implementation.
image | Input image. |
adjacency | Adjacency relation used by erosion opperation. |
seeds | list of propagation seeds. |
result | resulting image. |
thread | Thread number. |
total_threads | Number of threads. |
void Bial::Morphology::DilateThreads | ( | const Image< D > & | image, |
const Adjacency & | adjacency, | ||
Image< D > & | result, | ||
size_t | thread, | ||
size_t | total_threads | ||
) |
Computes the dilation of input image using input adjacency relation. Multi-thread implementation.
image | Input image. |
adjacency | Adjacency relation used by dilation opperation. |
result | resulting image. |
thread | Thread number. |
total_threads | Number of threads. |
Computes the erosion of input image using spherical adjacency relation of one pixel of radius.
image | Input image. |
Image< D > Bial::Morphology::Erode | ( | const Image< D > & | image, |
const Adjacency & | adjacency | ||
) |
Computes the erosion of input image using spherical adjacency relation of one pixel of radius, restricted to the input mask.
image | Input image. |
mask | Input mask. |
image | Input image. |
adjacency | Adjacency relation used by erosion opperation. |
Image< D > Bial::Morphology::ErodeBin | ( | const Image< D > & | image, |
const Adjacency & | adjacency | ||
) |
Computes the erosion of input image restricted to input mask, using input adjacency relation. Multi-thread implementation.
image | Input image. |
mask | Input mask. |
adjacency | Adjacency relation used by erosion opperation. |
result | resulting image. |
thread | Thread number. |
total_threads | Number of threads. |
image | Input image. |
mask | Input mask. |
adjacency | Adjacency relation used by erosion opperation. |
image | Binary input image. |
void Bial::Morphology::ErodeBinThreads | ( | const Image< D > & | image, |
const Adjacency & | adjacency, | ||
const Vector< size_t > & | seeds, | ||
Image< D > & | result, | ||
size_t | thread, | ||
size_t | total_threads | ||
) |
Computes the erosion of input image using input adjacency relation. Multi-thread implementation.
image | Input image. |
adjacency | Adjacency relation used by erosion opperation. |
seeds | list of propagation seeds. |
result | resulting image. |
thread | Thread number. |
total_threads | Number of threads. |
void Bial::Morphology::ErodeThreads | ( | const Image< D > & | image, |
const Adjacency & | adjacency, | ||
Image< D > & | result, | ||
size_t | thread, | ||
size_t | total_threads | ||
) |
Computes the erosion of input image using input adjacency relation. Multi-thread implementation.
image | Input image. |
adjacency | Adjacency relation used by erosion opperation. |
result | resulting image. |
thread | Thread number. |
total_threads | Number of threads. |