public class GlobalFixedBinaryFilter<T extends ImageGray> extends java.lang.Object implements InputToBinary<T>
| Constructor and Description |
|---|
GlobalFixedBinaryFilter(double threshold,
boolean down,
ImageType<T> inputType) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHorizontalBorder()
How many pixels are not processed along the horizontal border.
|
ImageType<T> |
getInputType()
Specifies the input image type
|
ImageType<GrayU8> |
getOutputType()
Specifies the output image type
|
int |
getVerticalBorder()
How many pixels are not processed along the vertical border.
|
void |
process(T input,
GrayU8 output)
Processes the input image and writes the results to the output image.
|
public void process(T input, GrayU8 output)
FilterImageInterfaceprocess in interface FilterImageInterface<T extends ImageGray,GrayU8>input - Input image.output - Output image.public int getHorizontalBorder()
FilterImageInterfacegetHorizontalBorder in interface FilterImageInterface<T extends ImageGray,GrayU8>public int getVerticalBorder()
FilterImageInterfacegetVerticalBorder in interface FilterImageInterface<T extends ImageGray,GrayU8>public ImageType<T> getInputType()
FilterImageInterfacegetInputType in interface FilterImageInterface<T extends ImageGray,GrayU8>public ImageType<GrayU8> getOutputType()
FilterImageInterfacegetOutputType in interface FilterImageInterface<T extends ImageGray,GrayU8>