public class Entropy 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 |
---|
Entropy(float stepSize,
Image<FloatType> img,
LocalizableByDimCursor<FloatType> cursor,
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> img,
ContainerFactory entropyType,
int histogramBins,
int windowSizeX,
int windowSizeY,
int windowSizeZ) |
float |
getEntropy() |
static float |
getMaxEntropy(int bins) |
int |
getX() |
int |
getY() |
int |
getZ() |
static Entropy |
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 Entropy(float stepSize, Image<FloatType> img, LocalizableByDimCursor<FloatType> cursor, 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 void close()
public static Image<FloatType> computeEntropy(Image<FloatType> img, ContainerFactory entropyType, int histogramBins, int windowSizeX, int windowSizeY, int windowSizeZ)
public static Entropy 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.