ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::IsotropicWaveletsUtilities Struct Reference

#include <itkIsotropicWaveletsUtilities.h>

Detailed Description

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)
 

Member Typedef Documentation

◆ IndexPairType

Member Function Documentation

◆ ComputeMaxNumberOfLevels() [1/2]

static unsigned int itk::IsotropicWaveletsUtilities::ComputeMaxNumberOfLevels ( const Size< 2 > & inputSize,
const unsigned int & scaleFactor )
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.

◆ ComputeMaxNumberOfLevels() [2/2]

static unsigned int itk::IsotropicWaveletsUtilities::ComputeMaxNumberOfLevels ( const Size< 3 > & inputSize,
const unsigned int & scaleFactor )
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.

◆ ComputeNumberOfComponents()

static unsigned int itk::IsotropicWaveletsUtilities::ComputeNumberOfComponents ( const unsigned int & order,
const unsigned int & dimension )
static

Compute number of components p(N, d), where N = Order, d = Dimension. p(N,d) = (N + d - 1)!/( (d-1)! N! )

Parameters
orderN of the Riesz transform
dimensiond of the image
Returns
NumberOfComponents given the order for the ImageDimension.

◆ Factorial()

static long itk::IsotropicWaveletsUtilities::Factorial ( const long n)
static

Factorial.

◆ IndexToLevelBandSteerablePyramid()

static IndexPairType itk::IsotropicWaveletsUtilities::IndexToLevelBandSteerablePyramid ( unsigned int linearIndex,
unsigned int levels,
unsigned int bands )
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.


The documentation for this struct was generated from the following file: