This document is archived and information here might be outdated. Recommended version. |
A PixelBlock cursor class.
The PixelBlockCursor object provides a mechanism for iterating through the pixel blocks in a Raster or a RasterBand. It is useful for rasters that are too large to be brought into memory at once.
The PixelBlockCursor object, although similar to RasterCursor, provides a more convient way for iterating through the pixel blocks in a Raster or a RasterBand. It allows any pixel block size and provides four iteration modes.
When iterating through pixel blocks in a Rasterband, you must specify the size of the pixel block at the time of initiating it. After initiation, the pixel block size is fixed. When iterating through pixel blocks in a Raster, the size of the PixelBlock is determined automatically at the time of initiation. You can modify the size of the PixelBlock later on.
Interfaces | Description |
---|---|
IPixelBlockCursor | Provides access to members that control pixel block cursor. |