|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.rsl.konrad.filtering.multiprojection.anisotropic.AnisotropicFilterFunction
public class AnisotropicFilterFunction
Class to process a Volume3D with an anisotropic structure tensor filter.
Field Summary | |
---|---|
static int |
MAX_FILTERS
|
Constructor Summary | |
---|---|
AnisotropicFilterFunction(FFTVolumeHandle fft,
VolumeOperator op)
|
Method Summary | |
---|---|
Volume3D[] |
computeAnisotropicFilteredVolume(Volume3D volume,
float low,
float high,
float hp_lower_level,
float hp_upper_level,
float smth,
int A,
float B,
float ri,
float a,
float lpUpper)
|
Volume3D[][] |
computeStructureTensor(Volume3D vol,
int A,
float B,
float ri)
|
static int |
filt_calc_Nk_I(int dimensions,
int k,
float[][] t_coeff)
Computes the orientation tensor ![]() ![]() ![]() |
void |
filt_gauss_relax_tensors(Volume3D[][] vol,
float a)
|
static int |
filt_get_filt_dirs(int dimensions,
float[][] fd)
Computes the filter directions. |
static int |
filt_get_n_filters(int dimensions)
|
Volume3D |
filt_normalize_tensors(Volume3D[][] structureTensor,
int eig)
Normalizes the tensors and computes the tensor nor. |
Volume3D[] |
filt_pre_enhance(Volume3D volume,
int A,
float B,
float ri,
float a,
float lpUpper)
Computes an array of filtered images. |
VolumeOperator |
getVolumeOperator()
Returns the VolumeOperator of the filter. |
void |
setShowStatus(boolean showStatus)
|
void |
setThreadNumber(int number)
Method to limit the number of threads used by the FFT of the filter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAX_FILTERS
Constructor Detail |
---|
public AnisotropicFilterFunction(FFTVolumeHandle fft, VolumeOperator op)
Method Detail |
---|
public void setShowStatus(boolean showStatus)
public void setThreadNumber(int number)
number
- public void filt_gauss_relax_tensors(Volume3D[][] vol, float a)
public Volume3D[][] computeStructureTensor(Volume3D vol, int A, float B, float ri)
public static int filt_get_n_filters(int dimensions)
public static int filt_get_filt_dirs(int dimensions, float[][] fd)
dimensions
- the number of dimensionsfd
- the result
public static int filt_calc_Nk_I(int dimensions, int k, float[][] t_coeff)
dimensions
- the filter dimensionk
- the filter indext_coeff
- the orientation tensor.
public Volume3D filt_normalize_tensors(Volume3D[][] structureTensor, int eig)
structureTensor
- the reference to the structure tensoreig
- if eig == 1 the maximal eigenvalue is used for normalization else the norm is performed using the tensor trace.
public Volume3D[] filt_pre_enhance(Volume3D volume, int A, float B, float ri, float a, float lpUpper)
volume
- the volume to processA
- B
- ri
- a
- lpUpper
- low pass frequency.
public Volume3D[] computeAnisotropicFilteredVolume(Volume3D volume, float low, float high, float hp_lower_level, float hp_upper_level, float smth, int A, float B, float ri, float a, float lpUpper)
public VolumeOperator getVolumeOperator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |