IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 13, 2006, 12:58:07 PM (20 years ago)
Author:
Paul Price
Message:

Squashing a pretty horrible bug that was overwriting the output image during transformation --- instead of manipulating the output error image, it was doing the output sky image! Yikes!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/stacTransform.c

    r6887 r7544  
    214214
    215215                    outImage->data.F32[y][x] = (outImage->data.F32[y][x] - offset) / scale;
    216                     outImage->data.F32[y][x] = outImage->data.F32[y][x] / SQUARE(scale);
     216                    if (error) {
     217                        outError->data.F32[y][x] = outError->data.F32[y][x] / SQUARE(scale);
     218                    }
    217219
    218220                } // Pixels of interest
Note: See TracChangeset for help on using the changeset viewer.