Package | Description |
---|---|
org.openimaj.image.processing.threshold | |
org.openimaj.util.pair |
Modifier and Type | Method and Description |
---|---|
static FloatFloatPair |
OtsuThreshold.calculateThresholdAndVariance(float[] data,
int numBins)
Estimate the threshold and inter-class variance for the given data.
|
static FloatFloatPair |
OtsuThreshold.computeThresholdAndVarianceFromHistogram(int[] histData,
int total)
Estimate the threshold and inter-class variance for the given histogram.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<FloatFloatPair> |
FloatFloatPair.FIRST_ITEM_ASCENDING_COMPARATOR
Comparator for comparing the first element of a
FloatFloatPair in ascending order. |
static Comparator<FloatFloatPair> |
FloatFloatPair.FIRST_ITEM_DESCENDING_COMPARATOR
Comparator for comparing the first element of a
FloatFloatPair in descending order. |
static Comparator<FloatFloatPair> |
FloatFloatPair.SECOND_ITEM_ASCENDING_COMPARATOR
Comparator for comparing the second element of a
FloatFloatPair in ascending order. |
static Comparator<FloatFloatPair> |
FloatFloatPair.SECOND_ITEM_DESCENDING_COMPARATOR
Comparator for comparing the second element of a
FloatFloatPair in descending order. |
Modifier and Type | Method and Description |
---|---|
static FloatFloatPair |
FloatFloatPair.pair(float a,
float b)
Create a pair from the given values.
|
Modifier and Type | Method and Description |
---|---|
static gnu.trove.list.array.TFloatArrayList |
FloatFloatPair.getFirst(Iterable<FloatFloatPair> data)
Extract the first values from a list of pairs.
|
static gnu.trove.list.array.TFloatArrayList |
FloatFloatPair.getSecond(Iterable<FloatFloatPair> data)
Extract the second values from a list of pairs.
|