public class AverageRGB extends AbstractImageProcessor
imageKeyDEFAULT_IMAGE_KEY| Constructor and Description |
|---|
AverageRGB() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getIncludeRatios()
Delivers, if the processor is including the ratios or not.
|
stream.Data |
process(stream.Data item,
ImageRGB img) |
void |
setIncludeRatios(boolean includeRatios)
If desired, the processor includes the ration between the color channels.
|
getImage, process, setImage@Parameter(description="Sets, if the processor includes the ration between the color channels, or just the average RGB color values. Ratios are (red/blue), (red/green), (green/blue).",
defaultValue="false")
public void setIncludeRatios(boolean includeRatios)
includeRatios - public Boolean getIncludeRatios()
public stream.Data process(stream.Data item,
ImageRGB img)
process in interface ImageProcessorprocess in class AbstractImageProcessorCopyright © 2015. All rights reserved.