public class InputToBinarySwitch<T extends ImageGray<T>> extends java.lang.Object implements InputToBinary<T>
InputToBinary which will convert the input image into the specified type prior to processing.| Constructor and Description |
|---|
InputToBinarySwitch(InputToBinary alg,
java.lang.Class<T> inputType) |
| Modifier and Type | Method and Description |
|---|---|
ImageType<T> |
getInputType() |
void |
process(T input,
GrayU8 output) |
public InputToBinarySwitch(InputToBinary alg, java.lang.Class<T> inputType)
ThresholdBlockOtsupublic void process(T input, GrayU8 output)
process in interface InputToBinary<T extends ImageGray<T>>public ImageType<T> getInputType()
getInputType in interface InputToBinary<T extends ImageGray<T>>