IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9142


Ignore:
Timestamp:
Oct 2, 2006, 5:49:46 PM (20 years ago)
Author:
Paul Price
Message:

Don't have to normalise if the value is 1.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageDetrendReadout.c

    r9058 r9142  
    6060    bool mdok;                          // Status of MD lookup
    6161    float norm = psMetadataLookupF32(&mdok, config->arguments, "NORMALISATION");
    62     if (mdok && isfinite(norm)) {
     62    if (mdok && isfinite(norm) && norm != 1.0) {
    6363        psBinaryOp(input->image, input->image, "*", psScalarAlloc(norm, PS_TYPE_F32));
    6464    }
Note: See TracChangeset for help on using the changeset viewer.