![]() |
Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
Functions | |
| template<class D > | |
| Image< D > | AffineTransform (const Image< D > &img, const Matrix< float > &transform) |
| Applies affine transformation to an image, using the matrix of transformation. More... | |
| template<class D > | |
| Image< D > | AffineTransform (const Image< D > &img, const Matrix< float > &transform, const PixelInterpolation &interpolation) |
| Applies affine transformation to an image, using the matrix of transformation. More... | |
| template<class D > | |
| Image< D > | Rotate (const Image< D > &img, float rad, size_t dms=2) |
| Rotates a image. More... | |
| template<class D > | |
| Image< D > | Rotate (const Image< D > &img, const PixelInterpolation &interpolation, float rad, size_t dms=2) |
| Rotates a image. More... | |
| Matrix< float > | Rotate (double rad, size_t dms=2) |
| Generates a transformation corresponding to a rotation. More... | |
| Matrix< float > | Rotate (Matrix< float > &source, double rad, size_t dms=2) |
| Generates a composite transformation of the rotation applyed over source matrix. More... | |
| template<class D > | |
| Image< D > | Scale (const Image< D > &img, double factor, bool resize=false) |
| Scales a image. More... | |
| template<class D > | |
| Image< D > | Scale (const Image< D > &img, const PixelInterpolation &interpolation, double factor, bool resize=false) |
| Scales a image. More... | |
| template<class D > | |
| Image< D > | Scale (const Image< D > &img, double fx, double fy, double fz=1.0, bool resize=false) |
| Scales a image. More... | |
| template<class D > | |
| Image< D > | Scale (const Image< D > &img, const PixelInterpolation &interpolation, double fx, double fy, double fz=1.0, bool resize=false) |
| Scales a image. More... | |
| template<class D > | |
| Image< D > | Scale (const Image< D > &img, const Vector< size_t > &dims) |
| Scales a image. More... | |
| template<class D > | |
| Image< D > | Scale (const Image< D > &img, const PixelInterpolation &interpolation, const Vector< size_t > &dims) |
| Scales a image. More... | |
| Matrix< float > | Scale (double fx, double fy, double fz=1.0) |
| Generates a transformation corresponding to a scaling. More... | |
| Matrix< float > | Scale (Matrix< float > &source, double fx, double fy, double fz=1.0) |
| Generates a composite transformation of the scaling applyed over source matrix. More... | |
| template<class D > | |
| Image< D > | Shear (const Image< D > &img, double s_xy, double s_yx, double s_xz=0.0, double s_yz=0.0, double s_zx=0.0, double s_zy=0.0) |
| Shears an image. More... | |
| template<class D > | |
| Image< D > | Shear (const Image< D > &img, const PixelInterpolation &interpolation, double s_xy, double s_yx, double s_xz=0.0, double s_yz=0.0, double s_zx=0.0, double s_zy=0.0) |
| Shears an image. More... | |
| Matrix< float > | Shear (double s_xy, double s_yx, double s_xz=0.0, double s_yz=0.0, double s_zx=0.0, double s_zy=0.0) |
| Generates a transformation corresponding to a shear. More... | |
| Matrix< float > | Shear (Matrix< float > &source, double s_xy, double s_yx, double s_xz=0.0, double s_yz=0.0, double s_zx=0.0, double s_zy=0.0) |
| Generates a composite transformation of the shear applyed over source matrix. More... | |
| template<class D > | |
| Image< D > | Translate (const Image< D > &img, double dx, double dy, double dz=0) |
| Translates a image. More... | |
| template<class D > | |
| Image< D > | Translate (const Image< D > &img, const PixelInterpolation &interpolation, double dx, double dy, double dz=0) |
| Translates a image. More... | |
| Matrix< float > | Translate (double dx, double dy, double dz=0) |
| Generates a transformation corresponding to a translation. More... | |
| Matrix< float > | Translate (Matrix< float > &source, double dx, double dy, double dz=0) |
| Generates a composite transformation of the translation applyed over source matrix. More... | |
| Image< D > Bial::Geometrics::AffineTransform | ( | const Image< D > & | img, |
| const Matrix< float > & | transform | ||
| ) |
Applies affine transformation to an image, using the matrix of transformation.
| img | Input image. |
| transform | Affine transformation matrix. |
| Image< D > Bial::Geometrics::AffineTransform | ( | const Image< D > & | img, |
| const Matrix< float > & | transform, | ||
| const PixelInterpolation & | interpolation | ||
| ) |
Applies affine transformation to an image, using the matrix of transformation.
| img | Input image. |
| transform | Affine transformation matrix. |
| interpolation | Pixel interpolation to be used. |
| Image< D > Bial::Geometrics::Rotate | ( | const Image< D > & | img, |
| float | rad, | ||
| size_t | dms = 2 |
||
| ) |
Rotates a image.
| img | Input image. |
| rad | Rotation in radians. |
| dms | Rotation dimension. Default: 2 to rotate around z axis. |
| Image< D > Bial::Geometrics::Rotate | ( | const Image< D > & | img, |
| const PixelInterpolation & | interpolation, | ||
| float | rad, | ||
| size_t | dms = 2 |
||
| ) |
Rotates a image.
| img | Input image. |
| interpolation | Pixel interpolation to be used. |
| rad | Rotation in radians. |
| dms | Rotation dimension. Default: 2 to rotate around z axis. |
| Matrix< float > Bial::Geometrics::Rotate | ( | double | rad, |
| size_t | dms = 2 |
||
| ) |
Generates a transformation corresponding to a rotation.
| rad | Rotation in radians |
| dms | Rotation dimension. Default: 2 to rotate around z axis. |
Generates a composite transformation of the rotation applyed over source matrix.
| source | Initial affine transformation over which rotation is applyed. |
| rad | Rotation in radians |
| dms | Rotation dimension. Default: 2 to rotate around z axis. |
| Image< D > Bial::Geometrics::Scale | ( | const Image< D > & | img, |
| double | factor, | ||
| bool | resize = false |
||
| ) |
Scales a image.
| img | Input image. |
| factor | Scaling factor. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| resize | resize the resultant image. |
| Image< D > Bial::Geometrics::Scale | ( | const Image< D > & | img, |
| const PixelInterpolation & | interpolation, | ||
| double | factor, | ||
| bool | resize = false |
||
| ) |
Scales a image.
| img | Input image. |
| interpolation | Pixel interpolation to be used. |
| factor | Scaling factor. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| resize | resize the resultant image. |
| Image< D > Bial::Geometrics::Scale | ( | const Image< D > & | img, |
| double | fx, | ||
| double | fy, | ||
| double | fz = 1.0, |
||
| bool | resize = false |
||
| ) |
Scales a image.
| img | Input image. |
| fx | Scaling factor in X. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| fy | Scaling factor in Y. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| fz | Scaling factor in Z. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| resize | resize the resultant image. |
| Image< D > Bial::Geometrics::Scale | ( | const Image< D > & | img, |
| const PixelInterpolation & | interpolation, | ||
| double | fx, | ||
| double | fy, | ||
| double | fz = 1.0, |
||
| bool | resize = false |
||
| ) |
Scales a image.
| img | Input image. |
| interpolation | Pixel interpolation to be used. |
| fx | Scaling factor in X. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| fy | Scaling factor in Y. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| fz | Scaling factor in Z. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| resize | resize the resultant image. |
| Image< D > Bial::Geometrics::Scale | ( | const Image< D > & | img, |
| const Vector< size_t > & | dims | ||
| ) |
Scales a image.
| img | Input image. |
| dims | Resulting image dimensions. |
| Image< D > Bial::Geometrics::Scale | ( | const Image< D > & | img, |
| const PixelInterpolation & | interpolation, | ||
| const Vector< size_t > & | dims | ||
| ) |
Scales a image.
| img | Input image. |
| interpolation | Pixel interpolation to be used. |
| dims | Resulting image dimensions. |
| Matrix< float > Bial::Geometrics::Scale | ( | double | fx, |
| double | fy, | ||
| double | fz = 1.0 |
||
| ) |
Generates a transformation corresponding to a scaling.
| img | Input image. |
| fx | Scaling factor in X. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| fy | Scaling factor in Y. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| fz | Scaling factor in Z. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| Matrix< float > Bial::Geometrics::Scale | ( | Matrix< float > & | source, |
| double | fx, | ||
| double | fy, | ||
| double | fz = 1.0 |
||
| ) |
Generates a composite transformation of the scaling applyed over source matrix.
| img | Input image. |
| source | Initial affine transformation over which scaling is applyed. |
| fx | Scaling factor in X. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| fy | Scaling factor in Y. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| fz | Scaling factor in Z. If greater than 1.0, image is dilated. If lower than 1.0, image is compressed. |
| Image< D > Bial::Geometrics::Shear | ( | const Image< D > & | img, |
| double | s_xy, | ||
| double | s_yx, | ||
| double | s_xz = 0.0, |
||
| double | s_yz = 0.0, |
||
| double | s_zx = 0.0, |
||
| double | s_zy = 0.0 |
||
| ) |
Shears an image.
| img | Input image. |
| s_xy | Shearing in axis X with respect to axis Y. |
| s_yx | Shearing in axis Y with respect to axis X. |
| s_xz | Shearing in axis X with respect to axis Z. |
| s_yz | Shearing in axis Y with respect to axis Z. |
| s_zx | Shearing in axis Z with respect to axis X. |
| s_zy | Shearing in axis Z with respect to axis Y. |
| Image< D > Bial::Geometrics::Shear | ( | const Image< D > & | img, |
| const PixelInterpolation & | interpolation, | ||
| double | s_xy, | ||
| double | s_yx, | ||
| double | s_xz = 0.0, |
||
| double | s_yz = 0.0, |
||
| double | s_zx = 0.0, |
||
| double | s_zy = 0.0 |
||
| ) |
Shears an image.
| img | Input image. |
| interpolation | Pixel interpolation to be used. |
| s_xy | Shearing in axis X with respect to axis Y. |
| s_yx | Shearing in axis Y with respect to axis X. |
| s_xz | Shearing in axis X with respect to axis Z. |
| s_yz | Shearing in axis Y with respect to axis Z. |
| s_zx | Shearing in axis Z with respect to axis X. |
| s_zy | Shearing in axis Z with respect to axis Y. |
| Matrix< float > Bial::Geometrics::Shear | ( | double | s_xy, |
| double | s_yx, | ||
| double | s_xz = 0.0, |
||
| double | s_yz = 0.0, |
||
| double | s_zx = 0.0, |
||
| double | s_zy = 0.0 |
||
| ) |
Generates a transformation corresponding to a shear.
| s_xy | Shearing in axis X with respect to axis Y. |
| s_yx | Shearing in axis Y with respect to axis X. |
| s_xz | Shearing in axis X with respect to axis Z. |
| s_yz | Shearing in axis Y with respect to axis Z. |
| s_zx | Shearing in axis Z with respect to axis X. |
| s_zy | Shearing in axis Z with respect to axis Y. |
| Matrix< float > Bial::Geometrics::Shear | ( | Matrix< float > & | source, |
| double | s_xy, | ||
| double | s_yx, | ||
| double | s_xz = 0.0, |
||
| double | s_yz = 0.0, |
||
| double | s_zx = 0.0, |
||
| double | s_zy = 0.0 |
||
| ) |
Generates a composite transformation of the shear applyed over source matrix.
| s_xy | Shearing in axis X with respect to axis Y. |
| s_yx | Shearing in axis Y with respect to axis X. |
| s_xz | Shearing in axis X with respect to axis Z. |
| s_yz | Shearing in axis Y with respect to axis Z. |
| s_zx | Shearing in axis Z with respect to axis X. |
| s_zy | Shearing in axis Z with respect to axis Y. |
| Image< D > Bial::Geometrics::Translate | ( | const Image< D > & | img, |
| double | dx, | ||
| double | dy, | ||
| double | dz = 0 |
||
| ) |
Translates a image.
| img | Input image. |
| dx | Displacement in X |
| dy | Displacement in Y |
| dz | Displacement in Z |
| Image< D > Bial::Geometrics::Translate | ( | const Image< D > & | img, |
| const PixelInterpolation & | interpolation, | ||
| double | dx, | ||
| double | dy, | ||
| double | dz = 0 |
||
| ) |
Translates a image.
| img | Input image. |
| interpolation | Pixel interpolation to be used. |
| dx | Displacement in X |
| dy | Displacement in Y |
| dz | Displacement in Z |
| Matrix< float > Bial::Geometrics::Translate | ( | double | dx, |
| double | dy, | ||
| double | dz = 0 |
||
| ) |
Generates a transformation corresponding to a translation.
| source | Initial affine transformation over which translation is applyed. |
| dx | Displacement in X |
| dy | Displacement in Y |
| dz | Displacement in Z |
| Matrix< float > Bial::Geometrics::Translate | ( | Matrix< float > & | source, |
| double | dx, | ||
| double | dy, | ||
| double | dz = 0 |
||
| ) |
Generates a composite transformation of the translation applyed over source matrix.
| source | Initial affine transformation over which translation is applyed. |
| dx | Displacement in X |
| dy | Displacement in Y |
| dz | Displacement in Z |