![]() |
Orfeo Toolbox
3.16
|
Functions | |
| template<typename TReturn , typename TInput > | |
| TReturn | CastWithRangeCheck (TInput x) |
| template<TReturn , typename TInput > | |
| Ceil (TInput x) | |
| Round towards plus infinity. | |
| template<TReturn , typename TInput > | |
| Floor (TInput x) | |
| Round towards minus infinity. | |
| template<typename TReturn , typename TInput > | |
| TReturn | Round (TInput x) |
| Round towards nearest integer (This is a synonym for RoundHalfIntegerUp) | |
| template<TReturn , typename TInput > | |
| RoundHalfIntegerToEven (TInput x) | |
| Round towards nearest integer. | |
| template<TReturn , typename TInput > | |
| RoundHalfIntegerUp (TInput x) | |
| Round towards nearest integer. | |
| int | RoundHalfIntegerToEven (double x) |
| int | RoundHalfIntegerToEven (float x) |
| int | RoundHalfIntegerUp (double x) |
| int | RoundHalfIntegerUp (float x) |
| int | Round (double x) |
| int | Round (float x) |
| int | Floor (double x) |
| int | Floor (float x) |
| int | Ceil (double x) |
| int | Ceil (float x) |
Variables | |
| static const double | ln10 = 2.30258509299404568402 |
| |
| static const double | ln2 = 0.69314718055994530942 |
| |
| static const double | log10e = 0.43429448190325182765 |
| |
| static const double | log2e = 1.4426950408889634074 |
| |
| static const double | one_over_pi = 0.31830988618379067154 |
| |
| static const double | one_over_sqrt2pi = 0.39894228040143267794 |
| |
| static const double | pi_over_2 = 1.57079632679489661923 |
| |
| static const double | pi_over_4 = 0.78539816339744830962 |
| |
| static const double | sqrt1_2 = 0.70710678118654752440 |
| |
| static const double | sqrt2 = 1.41421356237309504880 |
| |
| static const double | two_over_pi = 0.63661977236758134308 |
| |
| static const double | two_over_sqrtpi = 1.12837916709551257390 |
| |
|
inline |
This class requires OnlyDefinedForIntegerTypes1 in the form of (itk::Concept::IsInteger<TReturn>)
This class requires OnlyDefinedForIntegerTypes2 in the form of (itk::Concept::IsInteger<TInput>)
Definition at line 225 of file itkMath.h.
References itkConceptMacro.
| itk::Math::Ceil | ( | TInput | x | ) |
Round towards plus infinity.
The behavior of overflow is undefined due to numerous implementations.
|
inline |
|
inline |
| itk::Math::Floor | ( | TInput | x | ) |
Round towards minus infinity.
The behavior of overflow is undefined due to numerous implementations.
|
inline |
|
inline |
|
inline |
Round towards nearest integer (This is a synonym for RoundHalfIntegerUp)
| TReturn | must be an interger type |
| TInput | must be float or double |
|
inline |
|
inline |
| itk::Math::RoundHalfIntegerToEven | ( | TInput | x | ) |
Round towards nearest integer.
| TReturn | must be an interger type |
| TInput | must be float or double halfway cases are rounded towards the nearest even
integer, e.g.
RoundHalfIntegerToEven( 1.5) == 2
RoundHalfIntegerToEven(-1.5) == -2
RoundHalfIntegerToEven( 2.5) == 2
RoundHalfIntegerToEven( 3.5) == 4
|
The behavior of overflow is undefined due to numerous implementations.
|
inline |
|
inline |
| itk::Math::RoundHalfIntegerUp | ( | TInput | x | ) |
Round towards nearest integer.
| TReturn | must be an interger type |
| TInput | must be float or double halfway cases are rounded upward, e.g. |
The behavior of overflow is undefined due to numerous implementations.
|
inline |
|
inline |
|
static |
|
static |
Definition at line 48 of file itkMath.h.
Referenced by itk::DiffeomorphicDemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::ApplyUpdate(), and itk::ExponentialDeformationFieldImageFilter< TInputImage, TOutputImage >::GenerateData().
|
static |
|
static |
|
static |
Definition at line 58 of file itkMath.h.
Referenced by itk::AtanRegularizedHeavisideStepFunction< TInput, TOutput >::Evaluate(), and itk::AtanRegularizedHeavisideStepFunction< TInput, TOutput >::EvaluateDerivative().
|
static |
Definition at line 64 of file itkMath.h.
Referenced by itk::Statistics::GaussianDistribution::PDF().
|
static |
Definition at line 54 of file itkMath.h.
Referenced by itk::DeformableSimplexMesh3DFilter< TInputMesh, TOutputMesh >::L_Func().
|
static |
|
static |
Definition at line 68 of file itkMath.h.
Referenced by itk::Statistics::GaussianDistribution::CDF(), and itk::Statistics::GaussianDistribution::InverseCDF().
|
static |
Definition at line 66 of file itkMath.h.
Referenced by itk::FlatStructuringElement< VDimension >::PolySub().
|
static |