public abstract class LinearConvolveKernel extends Object
Constructor and Description |
---|
LinearConvolveKernel() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getKernelSize(int pass)
Returns the size of the kernel for a given pass.
|
abstract LinearConvolveRenderState |
getRenderState(BaseTransform filtertx) |
abstract Rectangle |
getResultBounds(Rectangle srcdimension,
int pass)
Returns the size of the output image needed for a given input
image dimensions and a given pass of the algorithm.
|
boolean |
isNop()
Returns true if the entire operation of this linear convolution
would have no effect on the source data.
|
boolean |
isShadow()
Returns true if this is a LinearConvolveShadow operation, or false
if the operation is a regular LinearConvolve.
|
public boolean isShadow()
public boolean isNop()
public abstract Rectangle getResultBounds(Rectangle srcdimension, int pass)
srcdimension
- the bounds of the input imagepass
- the algorithm pass being performedpublic abstract int getKernelSize(int pass)
pass
- the pass of the algorithm being performedpublic abstract LinearConvolveRenderState getRenderState(BaseTransform filtertx)
Copyright © 2020. All rights reserved.