Parameters
| Name | Type | Mode |
|---|---|---|
| rast | USER-DEFINED | IN |
| nband | integer | IN |
| exclude_nodata_value | boolean | IN |
args: rast, nband=1, exclude_nodata_value=true - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.
| Name | Type | Mode |
|---|---|---|
| rast | USER-DEFINED | IN |
| nband | integer | IN |
| exclude_nodata_value | boolean | IN |