public class BorderDetection extends AbstractImageProcessor
imageKeyDEFAULT_IMAGE_KEY| Constructor and Description |
|---|
BorderDetection() |
| Modifier and Type | Method and Description |
|---|---|
String |
getOutput() |
int |
getTolerance() |
stream.Data |
process(stream.Data item,
ImageRGB img) |
void |
setOutput(String output) |
void |
setTolerance(int tolerance) |
getImage, process, setImagepublic String getOutput()
@Parameter(description="The name/key of the output image is stored. If this name equals the name of the input image, the input image is going to be overwritten.") public void setOutput(String output)
output - The name/key of the output image is stored. If this name
equals the name of the input image, the input image is going
to be overwritten.public int getTolerance()
@Parameter(description="The number of neighboring pixels that may have a different color value, without causing, that the actual pixel becomes recognized as a border pixel. The higher the tolerance is, the less border pixels will be found.") public void setTolerance(int tolerance)
public stream.Data process(stream.Data item,
ImageRGB img)
process in interface ImageProcessorprocess in class AbstractImageProcessorCopyright © 2015. All rights reserved.