bins
array and may be obtained by calling the getBins
method. The ROI
specifies the region within which the pixels are counted. If it is null
, the entire Raster
is counted. If it is not null
and does not intersect with the Raster
, then this method returns without changing the bins
.
The set of pixels to be counted may be obtained by intersecting the grid (xStart + i * xPeriod, yStart + j * yPeriod); i, j >= 0
with the ROI and the bounding rectangle of the Raster
.
@param raster The Raster that contains the pixels to be counted.
@param roi The region-of-interest within which the pixels are counted.
@param xStart The initial X sample coordinate.
@param yStart The initial Y sample coordinate.
@param xPeriod The X sampling period.
@param yPeriod The Y sampling period.
@throws IllegalArgumentException If raster
isnull
.
@throws IllegalArgumentException If the pixels stored in theraster
do not have the same number of bands (samples per pixel) as this histogram's bins.
@thows RuntimeException if the data type is not supported(not in DataBuffer.TYPE_BYTE,..., DataBuff.TYPE_DOUBLE.
bins
array and may be obtained by calling the getBins
method. The ROI
specifies the region within which the pixels are counted. If it is null
, the entire Raster
is counted. If it is not null
and does not intersect with the Raster
, then this method returns without changing the bins
.
The set of pixels to be counted may be obtained by intersecting the grid (xStart + i * xPeriod, yStart + j * yPeriod); i, j >= 0
with the ROI and the bounding rectangle of the Raster
.
@param raster The Raster that contains the pixels to be counted.
@param roi The region-of-interest within which the pixels are counted.
@param xStart The initial X sample coordinate.
@param yStart The initial Y sample coordinate.
@param xPeriod The X sampling period.
@param yPeriod The Y sampling period.
@throws IllegalArgumentException If raster
isnull
.
@throws IllegalArgumentException If the pixels stored in theraster
do not have the same number of bands (samples per pixel) as this histogram's bins.
@thows RuntimeException if the data type is not supported(not in DataBuffer.TYPE_BYTE,..., DataBuff.TYPE_DOUBLE.
|
|
|
|
|
|