IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 17, 2004, 11:39:39 AM (22 years ago)
Author:
Paul Price
Message:

Working well, and timing OK, but can yet be optimised.

File:
1 edited

Legend:

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

    r2670 r2751  
    162162#endif
    163163
     164#ifdef TESTING
    164165                // Check gradient
    165166                float meanGrads = 0.0;
     
    184185                    meanGrads = 0;
    185186                }
     187#else
     188                float meanGrads = 10000.0;
     189#endif
     190
    186191               
    187192#ifdef TESTING
     
    197202                        fprintf(crs, "%d %d --> %f %f %f\n", x, y, ((psImage*)(inputs->data[i]))->data.F32[y][x],
    198203                                maskVal, stacGradient(inputs->data[i], x, y));
     204#endif
    199205                    }
    200 #endif
    201206                } else {
    202207                    mask->data.U8[y][x] = 0;
Note: See TracChangeset for help on using the changeset viewer.