![]() | [using it] | Interface Manipulation Package v4.0 (2008-06-25) | ![]() | ©copyright | ![]() |
java.lang.Objectimp.ima.util.RgbFilter
imp.ima.util.Binary
public class Binary
Defines the binarization of the blue channel of an image.
Constructor Summary | |
---|---|
Binary(int threshold)
Creates an image threshold of the blue channel. |
Method Summary | |
---|---|
static int[] |
getHisto(int[] src,
int width,
int height)
Returns the histogram of the blue channel intensity. |
static int |
getThreshold(int[] src,
int width,
int height)
Returns an optimal bi-Gaussian threshold of the image blue channel. |
Methods inherited from class imp.ima.util.RgbFilter |
---|
filterChannel, filterRGB, getChannel, getChannel, getRGB |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Binary(int threshold)
Method Detail |
---|
public static int[] getHisto(int[] src, int width, int height)
public static int getThreshold(int[] src, int width, int height)