Changeset 6778 for trunk/psLib/test/imageops/tst_psImageStats.c
- Timestamp:
- Apr 4, 2006, 3:49:41 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/imageops/tst_psImageStats.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/imageops/tst_psImageStats.c
r6750 r6778 634 634 } 635 635 636 //Test a subimage. 637 reg.y0 = 1; 638 reg.y1 = 5; 639 numPix2 = -1; 640 in2->row0 = 1; 641 numPix2 = psImageCountPixelMask(in2, reg, 1); 642 if (numPix2 != 2) { 643 psError(PS_ERR_BAD_PARAMETER_VALUE, false, 644 "psImageCountPixelMask returned incorrect pixel count %ld (!=2)\n", numPix2); 645 return 11; 646 } 647 636 648 psFree(in); 637 649 psFree(in2);
Note:
See TracChangeset
for help on using the changeset viewer.
