IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30404


Ignore:
Timestamp:
Jan 28, 2011, 11:15:30 AM (15 years ago)
Author:
bills
Message:

sometimes we get images with type F64. Handle this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksio.c

    r30315 r30404  
    11911191                                weight->data.F32[y][x] = NAN;
    11921192                            }
     1193                        } else if (weightType == PS_TYPE_F64) {
     1194                            double weightVal = weight->data.F64[y][x];
     1195                            if (!isnan(weightVal)) {
     1196                                ++nandWeights;
     1197                                weight->data.F64[y][x] = NAN;
     1198                            }
    11931199                        } else if(weightType == PS_TYPE_S16) {
    11941200                            double weightVal = weight->data.S16[y][x];
Note: See TracChangeset for help on using the changeset viewer.