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

Functions

Kernel Box (size_t dimensions, size_t side_lenght)
 Creates and returns a N-dimensional box kernel with 1 coefficients. More...
 
Kernel Gabor (float sigma, size_t dimensions, size_t direction)
 Creates and returns a Gabor kernel. direction should be lower than dimensions value. More...
 
Kernel NormalizedGabor (float sigma, size_t dimensions, size_t direction)
 Creates and returns a normalized Gabor kernel. Direction should be lower than dimensions value. More...
 
Kernel Gaussian (size_t dimensions, float radius, float std_dev, float amplitude=-1.0f)
 Creates and returns a Gaussian kernel. More...
 
Kernel NormalizedGaussian (size_t dimensions, float radius, float std_dev)
 Creates and returns a normalized Gaussian kernel. More...
 
Kernel Circular (float radius=1.0f)
 Creates and returns a 2D circular kernel of radius 'radius'. More...
 
Kernel Elliptic (float x_radius=1.0f, float y_radius=1.0f)
 Creates and returns a 2D elliptic kernel of radius 'radius'. More...
 
Kernel Spheric (float radius=1.0f)
 Creates and returns a 3D spheric kernel of radius 'radius'. More...
 
Kernel HyperSpheric (float radius=1.0f, size_t dims=4)
 Creates and returns a hiper-spheric kernel of radius 'radius' and with dim dimensions. More...
 
Kernel Ellipsoid (float x_radius=1.0f, float y_radius=1.0f, float z_radius=1.0f)
 Creates and returns a 3D ellipsoid kernel of radius 'radius'. More...
 
Kernel Sobel (size_t dimensions, size_t direction)
 Creates and returns a Sobel kernel. direction should be lower than dimensions value. Each of Sobel's kernel sides is 3 pixels long. It is computed from a triangle filter with smoothing (h(−1) = 1, h(0) = 2, h(1) = 1) and central differences (h'(−1) =−1, h'(0) =0, h'(1) = 1) for derivative reconstruction. E.g. h'x(x,y,z) =h'(x)h(y)h(z). More...
 
Kernel NormalizedSobel (size_t dimensions, size_t direction)
 Creates and returns a normalized Sobel kernel. direction should be lower than dimensions value. Each of Sobel's kernel sides is 3 pixels long. It is computed from a triangle filter with smoothing (h(−1) = 1, h(0) = 2, h(1) = 1) and central differences (h'(−1) =−1, h'(0) =0, h'(1) = 1) for derivative reconstruction. E.g. h'x(x,y,z) =h'(x)h(y)h(z). Sum of elements is 1. More...
 

Function Documentation

Kernel Bial::KernelType::Box ( size_t  dimensions,
size_t  side_lenght 
)

Creates and returns a N-dimensional box kernel with 1 coefficients.

Date
2013/Nov/19
Parameters
dimensionsNumber of kernel dimensions.
side_lenghtNumber of pixel in each side.
Returns
A N-dimensional box kernel with 1 coefficients.
Warning
none.
Kernel Bial::KernelType::Circular ( float  radius = 1.0f)

Creates and returns a 2D circular kernel of radius 'radius'.

Date
2013/Nov/19
Parameters
radiusthe radius of the circular kernel.
Returns
kernel with circular form.
Warning
none.
Kernel Bial::KernelType::Ellipsoid ( float  x_radius = 1.0f,
float  y_radius = 1.0f,
float  z_radius = 1.0f 
)

Creates and returns a 3D ellipsoid kernel of radius 'radius'.

Date
2013/Nov/19
Parameters
x_radiusthe radius of the ellipsoid kernel in axis x.
y_radiusthe radius of the ellipsoid kernel in axis y.
z_radiusthe radius of the ellipsoid kernel in axis z.
Returns
kernel with ellipsoid form.
Warning
none.
Kernel Bial::KernelType::Elliptic ( float  x_radius = 1.0f,
float  y_radius = 1.0f 
)

Creates and returns a 2D elliptic kernel of radius 'radius'.

Date
2013/Nov/19
Parameters
x_radiusthe radius of the elliptic kernel in axis x.
y_radiusthe radius of the elliptic kernel in axis y.
Returns
kernel with elliptic form.
Warning
none.
Kernel Bial::KernelType::Gabor ( float  sigma,
size_t  dimensions,
size_t  direction 
)

Creates and returns a Gabor kernel. direction should be lower than dimensions value.

Date
2015/Jun/03
Parameters
sigmastandard deviation of Gabor curve.
dimensionsNumber of kernel dimensions.
directionGradient direction to be estimated.
Returns
Gabor kernel.
Warning
none.
Kernel Bial::KernelType::Gaussian ( size_t  dimensions,
float  radius,
float  std_dev,
float  amplitude = -1.0f 
)

Creates and returns a Gaussian kernel.

Date
2013/Nov/19
Parameters
dimensionsNumber of kernel dimensions.
radiusKernel adjacency radius.
std_devstandard deviation of the Gaussian.
amplitudeGaussian maximum amplitude.
Returns
Gaussian kernel.
Warning
none.
Kernel Bial::KernelType::HyperSpheric ( float  radius = 1.0f,
size_t  dims = 4 
)

Creates and returns a hiper-spheric kernel of radius 'radius' and with dim dimensions.

Date
2013/Nov/19
Parameters
radiusThe radius of the spheric kernel.
dimsThe number of dimensions.
Returns
kernel with spheric form.
Warning
none.
Kernel Bial::KernelType::NormalizedGabor ( float  sigma,
size_t  dimensions,
size_t  direction 
)

Creates and returns a normalized Gabor kernel. Direction should be lower than dimensions value.

Date
2015/Jun/03
Parameters
sigmastandard deviation of Gabor curve.
dimensionsNumber of kernel dimensions.
directionGradient direction to be estimated.
Returns
Normalized Gabor kernel.
Warning
none.
Kernel Bial::KernelType::NormalizedGaussian ( size_t  dimensions,
float  radius,
float  std_dev 
)

Creates and returns a normalized Gaussian kernel.

Date
2013/Nov/21
Parameters
dimensionsNumber of kernel dimensions.
radiusKernel adjacency radius.
std_devstandard deviation of the Gaussian.
Returns
Normalized Gaussian kernel.
Warning
none.
Kernel Bial::KernelType::NormalizedSobel ( size_t  dimensions,
size_t  direction 
)

Creates and returns a normalized Sobel kernel. direction should be lower than dimensions value. Each of Sobel's kernel sides is 3 pixels long. It is computed from a triangle filter with smoothing (h(−1) = 1, h(0) = 2, h(1) = 1) and central differences (h'(−1) =−1, h'(0) =0, h'(1) = 1) for derivative reconstruction. E.g. h'x(x,y,z) =h'(x)h(y)h(z). Sum of elements is 1.

Date
2013/Nov/22
Parameters
dimensionsNumber of kernel dimensions.
directionGradient direction to be estimated.
Returns
Normalized Sobel kernel.
Warning
none.
Kernel Bial::KernelType::Sobel ( size_t  dimensions,
size_t  direction 
)

Creates and returns a Sobel kernel. direction should be lower than dimensions value. Each of Sobel's kernel sides is 3 pixels long. It is computed from a triangle filter with smoothing (h(−1) = 1, h(0) = 2, h(1) = 1) and central differences (h'(−1) =−1, h'(0) =0, h'(1) = 1) for derivative reconstruction. E.g. h'x(x,y,z) =h'(x)h(y)h(z).

Date
2013/Nov/22
Parameters
dimensionsNumber of kernel dimensions.
directionGradient direction to be estimated.
Returns
Sobel kernel.
Warning
none.
Kernel Bial::KernelType::Spheric ( float  radius = 1.0f)

Creates and returns a 3D spheric kernel of radius 'radius'.

Date
2013/Nov/19
Parameters
radiusthe radius of the spheric kernel.
Returns
kernel with spheric form.
Warning
none.