The STA-ImageAnalysisToolkit namespace. More...
Classes | |
| class | _stafield |
| represents spherical tensor fields More... | |
| class | CtimeStopper |
| class | Fourier |
| class | Gauss |
| class | GaussBessel |
| class | GaussLaguerre |
| class | Kernel |
| class | SH |
| class | sta_fspecial_func |
| class | STAError |
| the STA error class More... | |
| class | stafield |
| represents spherical tensor fields (CPU version) More... | |
| class | stafieldGPU |
| represents spherical tensor fields (GPU version) More... | |
Enumerations | |
| enum | STA_RESULT |
| function return value | |
| enum | STA_FIELD_STORAGE { , STA_FIELD_STORAGE_C =2, STA_FIELD_STORAGE_R =4, STA_FIELD_STORAGE_RF =8 } |
| tensor field data storage More... | |
| enum | STA_FIELD_TYPE { , STA_OFIELD_SINGLE =128, STA_OFIELD_FULL =256, STA_OFIELD_EVEN =512, STA_OFIELD_ODD =1024 } |
| tensor field data interpretations according to certain symmetries More... | |
Functions | |
| template<typename T > | |
| STA_RESULT | sta_product (const std::complex< T > *stIn1, const std::complex< T > *stIn2, std::complex< T > *stOut, const std::size_t shape[], int J1, int J2, int J, std::complex< T > alpha=T(1), bool normalize=false, STA_FIELD_STORAGE field_storage=STA_FIELD_STORAGE_C, int stride_in1=-1, int stride_in2=-1, int stride_out=-1, bool clear_field=false) |
spherical tensor product: and , respectively More... | |
| template<typename T , typename S > | |
| STA_RESULT | sta_mult (const std::complex< T > *stIn, std::complex< T > *stOut, const std::size_t shape[], int ncomponents, S alpha=S(1), bool conjugate=false, int stride_in=-1, int stride_out=-1, bool clear_field=false) |
computes More... | |
| template<typename T > | |
| STA_RESULT | sta_norm (const std::complex< T > *stIn, std::complex< T > *stOut, const std::size_t shape[], int J, STA_FIELD_STORAGE field_storage=STA_FIELD_STORAGE_C, int stride_in=-1, int stride_out=-1, bool clear_field=false) |
| returns lengths of vectors component by compnent More... | |
| template<typename T > | |
| STA_RESULT | sta_derivatives (const std::complex< T > *stIn, std::complex< T > *stOut, const std::size_t shape[], int J, int Jupdown, bool conjugate=false, std::complex< T > alpha=(T) 1.0, STA_FIELD_STORAGE field_storage=STA_FIELD_STORAGE_C, const T v_size[]=NULL, int stride_in=-1, int stride_out=-1, bool clear_field=false, int accuracy=0) |
spherical tensor derivative: More... | |
| template<typename T > | |
| STA_RESULT | sta_derivatives2 (const std::complex< T > *stIn, std::complex< T > *stOut, const std::size_t shape[], int J, int Jupdown, bool conjugate=false, std::complex< T > alpha=(T) 1.0, STA_FIELD_STORAGE field_storage=STA_FIELD_STORAGE_C, const T v_size[]=NULL, int stride_in=-1, int stride_out=-1, bool clear_field=false) |
spherical tensor double-derivative: More... | |
| template<typename T > | |
| STA_RESULT | sta_laplace (const std::complex< T > *stIn, std::complex< T > *stOut, const std::size_t shape[], int components=1, int type=1, std::complex< T > alpha=1, STA_FIELD_STORAGE field_storage=STA_FIELD_STORAGE_C, const T v_size[]=NULL, int stride_in=-1, int stride_out=-1, bool clear_field=false) |
Laplacian: . More... | |
| template<typename T , typename S > | |
| STA_RESULT | sta_fft (const std::complex< T > *stIn, std::complex< T > *stOut, const std::size_t shape[], int components, bool forward, bool conjugate=false, S alpha=(S) 1, int flag=0) |
| tensor fft component by component More... | |
The STA-ImageAnalysisToolkit namespace.
tensor field data storage
tensor field data interpretations according to certain symmetries
| STA_RESULT hanalysis::sta_derivatives | ( | const std::complex< T > * | stIn, |
| std::complex< T > * | stOut, | ||
| const std::size_t | shape[], | ||
| int | J, | ||
| int | Jupdown, | ||
| bool | conjugate = false, |
||
| std::complex< T > | alpha = ( T ) 1.0, |
||
| STA_FIELD_STORAGE | field_storage = STA_FIELD_STORAGE_C, |
||
| const T | v_size[] = NULL, |
||
| int | stride_in = -1, |
||
| int | stride_out = -1, |
||
| bool | clear_field = false, |
||
| int | accuracy = 0 |
||
| ) |
spherical tensor derivative:
computes the spherical tensor derivative of
| stIn | |
| stOut | , the spherical tensor derivative of |
| shape | |
| J | tensor rank of the input field |
| Jupdown | |
| conjugate | if conjugate=true the conjugate operator is used |
| alpha | additional weighting factor |
| STA_RESULT hanalysis::sta_derivatives2 | ( | const std::complex< T > * | stIn, |
| std::complex< T > * | stOut, | ||
| const std::size_t | shape[], | ||
| int | J, | ||
| int | Jupdown, | ||
| bool | conjugate = false, |
||
| std::complex< T > | alpha = ( T ) 1.0, |
||
| STA_FIELD_STORAGE | field_storage = STA_FIELD_STORAGE_C, |
||
| const T | v_size[] = NULL, |
||
| int | stride_in = -1, |
||
| int | stride_out = -1, |
||
| bool | clear_field = false |
||
| ) |
spherical tensor double-derivative:
computes the spherical tensor double-derivative of
| stIn | |
| stOut | , the spherical tensor double-derivative of |
| shape | |
| J | tensor rank of the input field |
| Jupdown | |
| conjugate | if conjugate=true the conjugate operator is used |
| alpha | additional weighting factor |
| STA_RESULT hanalysis::sta_fft | ( | const std::complex< T > * | stIn, |
| std::complex< T > * | stOut, | ||
| const std::size_t | shape[], | ||
| int | components, | ||
| bool | forward, | ||
| bool | conjugate = false, |
||
| S | alpha = ( S ) 1, |
||
| int | flag = 0 |
||
| ) |
tensor fft component by component
transforms a spherical tensor field
into Fourier domain (and back)
| stIn | |
| stOut | |
| shape | |
| components | , number of tensor components of the input field |
| forward | |
| conjugate | if true it computes and , respectively |
| alpha | additional weighting factor |
!! | STA_RESULT hanalysis::sta_laplace | ( | const std::complex< T > * | stIn, |
| std::complex< T > * | stOut, | ||
| const std::size_t | shape[], | ||
| int | components = 1, |
||
| int | type = 1, |
||
| std::complex< T > | alpha = 1, |
||
| STA_FIELD_STORAGE | field_storage = STA_FIELD_STORAGE_C, |
||
| const T | v_size[] = NULL, |
||
| int | stride_in = -1, |
||
| int | stride_out = -1, |
||
| bool | clear_field = false |
||
| ) |
Laplacian:
.
computes the Laplacian of
component by component
| stIn | |
| stOut | |
| shape | |
| components | number of tensor components of the input field |
| type | if type=1 the standard 6 neighbors operator is used, if type=0 a 18 neighbors operator is used |
| alpha | additional weighting factor |
| STA_RESULT hanalysis::sta_mult | ( | const std::complex< T > * | stIn, |
| std::complex< T > * | stOut, | ||
| const std::size_t | shape[], | ||
| int | ncomponents, | ||
| S | alpha = S ( 1 ), |
||
| bool | conjugate = false, |
||
| int | stride_in = -1, |
||
| int | stride_out = -1, |
||
| bool | clear_field = false |
||
| ) |
computes
multiplication with a scalar:
| stIn | |
| stOut | |
| shape | |
| ncomponents | number of tensor components |
| alpha | weighting factor |
| conjugate | returns if true |
| STA_RESULT hanalysis::sta_norm | ( | const std::complex< T > * | stIn, |
| std::complex< T > * | stOut, | ||
| const std::size_t | shape[], | ||
| int | J, | ||
| STA_FIELD_STORAGE | field_storage = STA_FIELD_STORAGE_C, |
||
| int | stride_in = -1, |
||
| int | stride_out = -1, |
||
| bool | clear_field = false |
||
| ) |
returns lengths of vectors component by compnent
returns lengths of vectors component by compnent
| stIn | |
| stOut | |
| shape | |
| J | tensor rank of the input field |
| STA_RESULT hanalysis::sta_product | ( | const std::complex< T > * | stIn1, |
| const std::complex< T > * | stIn2, | ||
| std::complex< T > * | stOut, | ||
| const std::size_t | shape[], | ||
| int | J1, | ||
| int | J2, | ||
| int | J, | ||
| std::complex< T > | alpha = T( 1 ), |
||
| bool | normalize = false, |
||
| STA_FIELD_STORAGE | field_storage = STA_FIELD_STORAGE_C, |
||
| int | stride_in1 = -1, |
||
| int | stride_in2 = -1, |
||
| int | stride_out = -1, |
||
| bool | clear_field = false |
||
| ) |
spherical tensor product:
and
, respectively
computes the spherical tensor product
and
, respectively
| stIn1 | |
| stIn2 | |
| stOut | if normalized, else |
| shape | |
| J1 | tensor rank of the first field |
| J2 | tensor rank of the second field |
| J | tensor rank of the resulting field |
| alpha | additional weighting factor |
| normalize | normalized tensor products?: true= , false= |
the function returns
. This ensures that STA_FIELD_STORAGE_R holds for
, too.
1.8.9.1