Changeset 20604
- Timestamp:
- Nov 9, 2008, 12:08:00 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/tools/mask_extra.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/mask_extra.c
r20603 r20604 89 89 psFree(desc); 90 90 91 long numPix = numCols * numRows; // Number of pixels 91 92 for (int i = 0; i <= maxType; i++) { 92 printf("Type %d: %d \n", i, count->data.S32[i]);93 printf("Type %d: %d (%f%%)\n", i, count->data.S32[i], count->data.S32[i] / (float)numPix * 100.0); 93 94 } 94 95
Note:
See TracChangeset
for help on using the changeset viewer.
