public class EntropyFloatArray3D extends Object
Modifier and Type | Field and Description |
---|---|
int[] |
absFreq |
int |
histogramBins |
Image<FloatType> |
img |
boolean |
outOfImageX |
boolean |
outOfImageY |
boolean |
outOfImageZ |
float[] |
preComputed |
float |
size |
int |
windowSizeX |
int |
windowSizeXHalf |
int |
windowSizeY |
int |
windowSizeYHalf |
int |
windowSizeZ |
int |
windowSizeZHalf |
Constructor and Description |
---|
EntropyFloatArray3D(float stepSize,
Image<FloatType> img,
LocalizableByDimCursor3D<FloatType> cIn,
LocalizableByDimCursor3D<FloatType> cOut,
int histogramBins,
int windowSizeX,
int windowSizeY,
int windowSizeZ,
int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static Image<FloatType> |
computeEntropy(Image<FloatType> image,
ContainerFactory entropyType,
int histogramBins,
int windowSizeX,
int windowSizeY,
int windowSizeZ) |
float |
getEntropy() |
static float |
getMaxEntropy(int bins) |
int |
getX() |
int |
getY() |
int |
getZ() |
static EntropyFloatArray3D |
initEntropy(Image<FloatType> img,
int histogramBins,
int windowSizeX,
int windowSizeY,
int windowSizeZ,
int x,
int y,
int z) |
void |
updateEntropyX(int direction) |
void |
updateEntropyY(int direction) |
void |
updateEntropyZ(int direction) |
public final float[] preComputed
public final int[] absFreq
public boolean outOfImageX
public boolean outOfImageY
public boolean outOfImageZ
public final int histogramBins
public final int windowSizeX
public final int windowSizeY
public final int windowSizeZ
public final float size
public final int windowSizeXHalf
public final int windowSizeYHalf
public final int windowSizeZHalf
public EntropyFloatArray3D(float stepSize, Image<FloatType> img, LocalizableByDimCursor3D<FloatType> cIn, LocalizableByDimCursor3D<FloatType> cOut, int histogramBins, int windowSizeX, int windowSizeY, int windowSizeZ, int x, int y, int z)
public final float getEntropy()
public final int getX()
public final int getY()
public final int getZ()
public final void close()
public static Image<FloatType> computeEntropy(Image<FloatType> image, ContainerFactory entropyType, int histogramBins, int windowSizeX, int windowSizeY, int windowSizeZ)
public static EntropyFloatArray3D initEntropy(Image<FloatType> img, int histogramBins, int windowSizeX, int windowSizeY, int windowSizeZ, int x, int y, int z)
public static float getMaxEntropy(int bins)
public void updateEntropyX(int direction)
public void updateEntropyY(int direction)
public void updateEntropyZ(int direction)
Copyright © 2015–2021 Fiji. All rights reserved.