public class FloatDCT_3D extends Object
Constructor and Description |
---|
FloatDCT_3D(long slices,
long rows,
long columns)
Creates new instance of FloatDCT_3D.
|
Modifier and Type | Method and Description |
---|---|
void |
forward(float[][][] a,
boolean scale)
Computes the 3D forward DCT (DCT-II) leaving the result in
a
. |
void |
forward(float[] a,
boolean scale)
Computes the 3D forward DCT (DCT-II) leaving the result in
a
. |
void |
forward(pl.edu.icm.jlargearrays.FloatLargeArray a,
boolean scale)
Computes the 3D forward DCT (DCT-II) leaving the result in
a
. |
void |
inverse(float[][][] a,
boolean scale)
Computes the 3D inverse DCT (DCT-III) leaving the result in
a . |
void |
inverse(float[] a,
boolean scale)
Computes the 3D inverse DCT (DCT-III) leaving the result in
a . |
void |
inverse(pl.edu.icm.jlargearrays.FloatLargeArray a,
boolean scale)
Computes the 3D inverse DCT (DCT-III) leaving the result in
a . |
public FloatDCT_3D(long slices, long rows, long columns)
slices
- number of slicesrows
- number of rowscolumns
- number of columnspublic void forward(float[] a, boolean scale)
a
. The data is stored in 1D array addressed in slice-major, then
row-major, then column-major, in order of significance, i.e. the element
(i,j,k) of 3D array x[slices][rows][columns] is stored in a[i*sliceStride
+ j*rowStride + k], where sliceStride = rows * columns and rowStride =
columns.a
- data to transformscale
- if true then scaling is performedpublic void forward(pl.edu.icm.jlargearrays.FloatLargeArray a, boolean scale)
a
. The data is stored in 1D array addressed in slice-major, then
row-major, then column-major, in order of significance, i.e. the element
(i,j,k) of 3D array x[slices][rows][columns] is stored in a[i*sliceStride
+ j*rowStride + k], where sliceStride = rows * columns and rowStride =
columns.a
- data to transformscale
- if true then scaling is performedpublic void forward(float[][][] a, boolean scale)
a
. The data is stored in 3D arraya
- data to transformscale
- if true then scaling is performedpublic void inverse(float[] a, boolean scale)
a
. The data is stored in 1D array addressed in slice-major,
then row-major, then column-major, in order of significance, i.e. the
element (i,j,k) of 3D array x[slices][rows][columns] is stored in
a[i*sliceStride + j*rowStride + k], where sliceStride = rows * columns
and rowStride = columns.a
- data to transformscale
- if true then scaling is performedpublic void inverse(pl.edu.icm.jlargearrays.FloatLargeArray a, boolean scale)
a
. The data is stored in 1D array addressed in slice-major,
then row-major, then column-major, in order of significance, i.e. the
element (i,j,k) of 3D array x[slices][rows][columns] is stored in
a[i*sliceStride + j*rowStride + k], where sliceStride = rows * columns
and rowStride = columns.a
- data to transformscale
- if true then scaling is performedpublic void inverse(float[][][] a, boolean scale)
a
. The data is stored in 3D array.a
- data to transformscale
- if true then scaling is performedCopyright © 2015. All rights reserved.