IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2006, 4:43:57 PM (20 years ago)
Author:
drobbin
Message:

Made several changes to image functions/tests w.r.t. subimage v. parent image issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/imageops/tst_psImageStats.c

    r6306 r6750  
    543543    psRegion reg;
    544544    reg.x0 = 0;
    545     reg.x1 = 1;
     545    reg.x1 = 0;
    546546    reg.y0 = 0;
    547     reg.y1 = 5;
     547    reg.y1 = 4;
     548
     549    psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
    548550    numPix = psImageCountPixelMask(in, reg, 1);
    549 
    550551    if (numPix != -1) {
    551552        psError(PS_ERR_BAD_PARAMETER_VALUE, false,
     
    587588    if (numPix2 != 2) {
    588589        psError(PS_ERR_BAD_PARAMETER_VALUE, false,
    589                 "psImageCountPixelMask returned incorrect pixel count %ld\n", numPix2);
     590                "psImageCountPixelMask returned incorrect pixel count %ld (!=2)\n", numPix2);
    590591        return 4;
    591592    }
     
    613614    reg.x1 = 1;
    614615    reg.y1 = 1;
     616    psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
    615617    numPix2 = psImageCountPixelMask(in2, reg, 1);
    616618    if (numPix2 != -1) {
Note: See TracChangeset for help on using the changeset viewer.