BorderExtender
that implements border extension by filling all pixels outside of the image bounds with constant values. For example, the image: A | B | C |
D | E | F |
G | H | I |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | A | B | C | X | X | X | X | D | E | F | X | X | X | X | G | H | I | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
WritableRaster
being filled. The number of constants used is given by the number of bands of the WritableRaster
. If the WritableRaster
has b
bands, and there are c
constants, constants 0
through b - 1
are used when b <= c
. If there is only a single constant, then it is used for all bands. If b > c
, an UnsupportedOperationException
is thrown.
@see BorderExtender
BorderExtender
that implements border extension by filling all pixels outside of the image bounds with constant values. For example, the image: A | B | C |
D | E | F |
G | H | I |
X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | A | B | C | X | X | X | X | D | E | F | X | X | X | X | G | H | I | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
WritableRaster
being filled. The number of constants used is given by the number of bands of the WritableRaster
. If the WritableRaster
has b
bands, and there are c
constants, constants 0
through b - 1
are used when b <= c
. If there is only a single constant, then it is used for all bands. If b > c
, an UnsupportedOperationException
is thrown.
@see BorderExtender
|
|