#include <itkIsotropicWaveletsUtilities.h>
Utility class for wrappings purposes.
The static functions call the free function versions from itkRieszUtilities.h and itkWaveletUtilities.h
From python, it can be used as: itk.IsotropicWaveletsUtilities.Factorial(2)
Definition at line 36 of file itkIsotropicWaveletsUtilities.h.
Public Types | |
| using | IndexPairType = itk::utils::IndexPairType |
Static Public Member Functions | |
| static unsigned int | ComputeMaxNumberOfLevels (const Size< 2 > &inputSize, const unsigned int &scaleFactor) |
| static unsigned int | ComputeMaxNumberOfLevels (const Size< 3 > &inputSize, const unsigned int &scaleFactor) |
| static unsigned int | ComputeNumberOfComponents (const unsigned int &order, const unsigned int &dimension) |
| static long | Factorial (const long n) |
| static IndexPairType | IndexToLevelBandSteerablePyramid (unsigned int linearIndex, unsigned int levels, unsigned int bands) |
Definition at line 38 of file itkIsotropicWaveletsUtilities.h.
|
static |
$; where each $J_i$ is the number of integer divisions that can be done with the $i$ size and the scale factor. returns 1 if any size is not divisible by the scale factor. Size<2> version.
|
static |
$; where each $J_i$ is the number of integer divisions that can be done with the $i$ size and the scale factor. returns 1 if any size is not divisible by the scale factor. Size<3> version.
|
static |
Compute number of components p(N, d), where N = Order, d = Dimension. p(N,d) = (N + d - 1)!/( (d-1)! N! )
| order | N of the Riesz transform |
| dimension | d of the image |
|
static |
Factorial.
|
static |
Get the (Level,Band) from a linear index output. The index corresponding to the low-pass image is the last one, corresponding to the IndexPairType(this->GetLevels(), 0).
In a steerable pyramid: TotalOutputs = 1 + Levels * Bands
The outputs are ordered, if n is the linearIndex:
n:0 ---> level:0 band:1, n:1 ---> l:0, b:2, etc. until b == bands. n:bands-1 ---> l:0, b=bands
If there is more than one level:
n:bands ---> l:1, b=1
if only one level:
n:bands ---> l:0, b=0
Independently of the numbers of levels or bands, the last index is always the low pass:
nLowPass ---> l:Levels, b=0
Note that bands and levels are always >= 1. The level/bands returned here corresponds to an index.