public class SamplingBorderExtender
extends javax.media.jai.BorderExtender
BorderExtender,
Serialized Form| Constructor and Description |
|---|
SamplingBorderExtender(int maxDistance)
Creates a border extender that generate a value for each border pixel by
randomly sampling the area of the source image that lies within
maxDistance pixels of the border pixel. |
| Modifier and Type | Method and Description |
|---|---|
void |
extend(WritableRaster raster,
javax.media.jai.PlanarImage sourceImage) |
public SamplingBorderExtender(int maxDistance)
maxDistance pixels of the border pixel.maxDistance - the maximum distance from a border pixel of source
image pixels that are sampledpublic void extend(WritableRaster raster, javax.media.jai.PlanarImage sourceImage)
extend in class javax.media.jai.BorderExtenderCopyright © 2009–2018. All rights reserved.