|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.cs.cisst.algorithms.util.DataOperations
public final class DataOperations
The Class DataOperations defines basic operations to perform on raw data.
Constructor Summary | |
---|---|
DataOperations()
|
Method Summary | |
---|---|
static float[][] |
blur(float[][] image,
double stddev)
Blur. |
static float[][] |
gaussianCurvature(float[][] image)
Gaussian curvature. |
protected static double |
getImageValue(float[][] image,
int i,
int j,
int rows,
int cols)
Gets the image value. |
protected static float |
getValue(int i,
int j,
int rows,
int cols,
float[][] imgMat)
Gets the value. |
static float[][][] |
gradient(float[][] image,
boolean componentsFirst)
Gradient. |
static double |
interpolate(double x,
double y,
double z,
ConstGrid grid,
int sx,
int sy,
int sz)
Interpolate. |
static double |
interpolate(double x,
double y,
double z,
float[][][] data,
int sx,
int sy,
int sz)
Interpolate. |
static double |
interpolate(double x,
double y,
float[][] data,
int sx,
int sy)
Interpolate. |
static float[][] |
meanCurvature(float[][] image)
Mean curvature. |
static float[][][] |
restrict(float[][][] fineData,
Stencil s,
int cx,
int cy,
int cz)
Restrict. |
static float[][] |
restrict(float[][] fineData,
Stencil s,
int cx,
int cy)
Restrict. |
static float[][] |
softThresholdArcTan(float[][] image,
double fuzziness)
Soft threshold arc tan. |
static float[][] |
softThresholdSigmoid(float[][] image,
double fuzziness)
Soft threshold sigmoid. |
static float[][] |
softThresholdSin(float[][] image,
double fuzziness)
Soft threshold sin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataOperations()
Method Detail |
---|
public static final double interpolate(double x, double y, float[][] data, int sx, int sy)
x
- the xy
- the ydata
- the datasx
- the sxsy
- the sy
public static final double interpolate(double x, double y, double z, float[][][] data, int sx, int sy, int sz)
x
- the xy
- the yz
- the zdata
- the datasx
- the sxsy
- the sysz
- the sz
public static final float[][] restrict(float[][] fineData, Stencil s, int cx, int cy)
fineData
- the fine datas
- the stencilcx
- the cxcy
- the cy
public static final float[][][] restrict(float[][][] fineData, Stencil s, int cx, int cy, int cz)
fineData
- the fine datas
- the stencilcx
- the cxcy
- the cycz
- the cz
public static final float[][] softThresholdSigmoid(float[][] image, double fuzziness)
image
- the imagefuzziness
- the fuzziness
public static final float[][] softThresholdSin(float[][] image, double fuzziness)
image
- the imagefuzziness
- the fuzziness
public static final float[][] softThresholdArcTan(float[][] image, double fuzziness)
image
- the imagefuzziness
- the fuzziness
protected static final float getValue(int i, int j, int rows, int cols, float[][] imgMat)
i
- the ij
- the jrows
- the rowscols
- the colsimgMat
- the img mat
public static final float[][] gaussianCurvature(float[][] image)
image
- the image
public static final float[][] meanCurvature(float[][] image)
image
- the image
public static final float[][] blur(float[][] image, double stddev)
image
- the imagestddev
- the stddev
public static float[][][] gradient(float[][] image, boolean componentsFirst)
image
- the imagecomponentsFirst
- indicate components come first
protected static double getImageValue(float[][] image, int i, int j, int rows, int cols)
image
- the imagei
- the ij
- the jrows
- the rowscols
- the cols
public static final double interpolate(double x, double y, double z, ConstGrid grid, int sx, int sy, int sz)
x
- the xy
- the yz
- the zgrid
- the gridsx
- the sxsy
- the sysz
- the sz
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |