Opened 2 years ago
Closed 2 years ago
#2658 closed enhancement (fixed)
NEW - WCPS cellCount() operator to get the total number of pixels of a coverage
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.1 |
Component: | petascope | Version: | 10.0 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
This would be useful if there is an operator to get the total number of pixels of a coverage.
e.g. $c
is 2D coverage with grid domains [0:3,0:2]
, then cellCount($c)
will return (3 - 0 + 1)*(2 - 0 + 1) = 8
.
One can know beforehand as well, how large a coverage is.
Note:
See TracTickets
for help on using tickets.