|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DiscreteTransform
Discrete transform of raster 1D - 2D data. Transforms segments/rectangles of integer/floating-point samples.
Field Summary |
---|
Fields inherited from interface cz.cuni.jagrlib.iface.Property |
---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
Method Summary | |
---|---|
boolean |
getSizeBounds(int[] bounds)
Get extreme domain (source) ranges. |
int |
inverse1D(double[] coef,
int len,
double[] sample,
int start)
Inverse 1D transform (floating-point form). |
int |
inverse1D(int[] coef,
int len,
int[] sample,
int start)
Inverse 1D transform (integer form). |
int |
inverse2D(double[] coef,
int len,
double[] sample,
int start,
int width,
int stride)
Inverse 2D transform (floating-point form). |
int |
inverse2D(int[] coef,
int len,
int[] sample,
int start,
int width,
int stride)
Inverse 2D transform (integer form). |
int |
transform1D(double[] sample,
int start,
int len,
double[] coef)
Forward 1D transform (floating-point form). |
int |
transform1D(int[] sample,
int start,
int len,
int[] coef)
Forward 1D transform (integer form). |
int |
transform2D(double[] sample,
int start,
int width,
int height,
int stride,
double[] coef)
Forward 2D transform (floating-point form). |
int |
transform2D(int[] sample,
int start,
int width,
int height,
int stride,
int[] coef)
Forward 2D transform (integer form). |
Methods inherited from interface cz.cuni.jagrlib.iface.Property |
---|
commit, get, set |
Methods inherited from interface cz.cuni.jagrlib.iface.PersistentParamsBinary |
---|
loadData, storeData |
Method Detail |
---|
boolean getSizeBounds(int[] bounds)
bounds
- Pre-allocated array to hold extreme ranges:
int transform1D(int[] sample, int start, int len, int[] coef)
sample
- Source array (containing sample data).start
- Starting index of the transformed segment.len
- Source segment length.coef
- Pre-allocated array to hold transformed data (coefficients).
inverse1D(int[],int,int[],int)
,
transform1D(double[],int,int,double[])
int transform1D(double[] sample, int start, int len, double[] coef)
sample
- Source array (containing sample data).start
- Starting index of the transformed segment.len
- Source segment length.coef
- Pre-allocated array to hold transformed data (coefficients).
inverse1D(double[],int,double[],int)
,
transform1D(int[],int,int,int[])
int inverse1D(int[] coef, int len, int[] sample, int start)
transform1D(int[],int,int,int[])
.
coef
- Source array (holding coefficients).len
- Number of coefficients.sample
- Pre-allocated array to hold reconstructed sample data.start
- Starting index of the reconstructed sample data.
transform1D(int[],int,int,int[])
,
inverse1D(double[],int,double[],int)
int inverse1D(double[] coef, int len, double[] sample, int start)
transform1D(double[],int,int,double[])
.
coef
- Source array (holding coefficients).len
- Number of coefficients.sample
- Pre-allocated array to hold reconstructed sample data.start
- Starting index of the reconstructed sample data.
transform1D(double[],int,int,double[])
,
inverse1D(int[],int,int[],int)
int transform2D(int[] sample, int start, int width, int height, int stride, int[] coef)
sample
- Source array (containing sample data).start
- Starting index of the transformed data.width
- Source rectangle's width (faster index).height
- Source rectangle's height (slower index).stride
- Source matrix row length.coef
- Pre-allocated array to hold transformed data (coefficients).
inverse2D(int[],int,int[],int,int,int)
,
transform2D(double[],int,int,int,int,double[])
int transform2D(double[] sample, int start, int width, int height, int stride, double[] coef)
sample
- Source array (containing sample data).start
- Starting index of the transformed data.width
- Source rectangle's width (faster index).height
- Source rectangle's height (slower index).stride
- Source matrix row length.coef
- Pre-allocated array to hold transformed data (coefficients).
inverse2D(double[],int,double[],int,int,int)
,
transform2D(int[],int,int,int,int,int[])
int inverse2D(int[] coef, int len, int[] sample, int start, int width, int stride)
transform2D(int[],int,int,int,int,int[])
.
coef
- Source array (holding coefficients).len
- Number of coefficients.sample
- Pre-allocated array to hold reconstructed sample data.start
- Starting index of the reconstructed rectangle.width
- Reconstructed rectangle's width (faster index).stride
- Reconstructed data matrix row length.
transform2D(int[],int,int,int,int,int[])
,
inverse2D(double[],int,double[],int,int,int)
int inverse2D(double[] coef, int len, double[] sample, int start, int width, int stride)
transform2D(double[],int,int,int,int,double[])
.
coef
- Source array (holding coefficients).len
- Number of coefficients.sample
- Pre-allocated array to hold reconstructed sample data.start
- Starting index of the reconstructed rectangle.width
- Reconstructed rectangle's width (faster index).stride
- Reconstructed data matrix row length.
transform2D(double[],int,int,int,int,double[])
,
inverse2D(int[],int,int[],int,int,int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |