IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 6, 2007, 2:35:23 PM (18 years ago)
Author:
Paul Price
Message:

Fixing region of search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionStamps.c

    r15443 r15745  
    245245            psRegion *subRegion = stamps->regions->data[i]; // Sub-region of interest
    246246            for (int y = subRegion->y0; y <= subRegion->y1 ; y++) {
    247                 for (int x = subRegion->x0; x <= subRegion->y1 ; x++) {
     247                for (int x = subRegion->x0; x <= subRegion->x1 ; x++) {
    248248                    if (checkStampMask(x, y, subMask, mode) && image->data.F32[y][x] > fluxStamp) {
    249249                        fluxStamp = image->data.F32[y][x];
Note: See TracChangeset for help on using the changeset viewer.