public class GrayQuant extends Object
| Constructor and Description |
|---|
GrayQuant() |
| Modifier and Type | Method and Description |
|---|---|
static Pix |
pixThresholdToBinary(Pix pixs,
int thresh)
Perform simple (pixelwise) binarization with fixed threshold
|
public static Pix pixThresholdToBinary(Pix pixs, int thresh)
Notes:
pixs - Source pix (4 or 8 bpp)thresh - Threshold value