public class BoxBlur extends BlurOperation
radius
Constructor and Description |
---|
BoxBlur()
Creates a new BoxBlur of radius 5.
|
BoxBlur(int rank)
Creates a new BoxBlur of the specified rank (aka radius).
|
Modifier and Type | Method and Description |
---|---|
long |
getSerializationVersion()
Returns the current version of the serialization format.
|
int |
getVersion()
Returns the current class version.
|
Dataset |
HBlur(Dataset dataSet)
Performs a horizontal blur on the dataset.
|
Dataset |
run(Dataset dataSet)
Performs a fast 2D box blur by implementing a separate vertical and horizontal blur.
|
Dataset |
VBlur(Dataset dataSet)
Performs a vertical blur on the dataset.
|
getObjectMap, getRadius, initCurrentVersion, setRadius
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, initPreviousVersion, initUnknownVersion, load, read, save, write
public BoxBlur(int rank)
rank
- radius of the blur operationpublic BoxBlur()
public Dataset run(Dataset dataSet)
dataSet
- Dataset to blurpublic Dataset VBlur(Dataset dataSet)
dataSet
- Dataset to blurpublic Dataset HBlur(Dataset dataSet)
dataSet
- Dataset to blurpublic long getSerializationVersion()
ObjectMap
public int getVersion()
ObjectMap