public class BinarizeTransformation extends ImageTransformation
| Constructor and Description |
|---|
BinarizeTransformation() |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
transform(BufferedImage image,
Object[] params)
Transforms image using specific transformation algorithm and array of parameters.
|
Object[] |
validateParams(Object[] params)
Validates parameters for transformation.
|
renderedImage2Imagepublic BufferedImage transform(BufferedImage image,
Object[] params)
throws Exception
ImageTransformationtransform in class ImageTransformationimage - the input imageparams - the array of parametersException - in case of any errorpublic Object[] validateParams(Object[] params)
throws Exception
ImageTransformationvalidateParams in class ImageTransformationparams - the array of parametersException - the "Validation failed" exception if validation failedCopyright © 2010-2020 Toolsverse. All Rights Reserved.