IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 10, 2006, 10:59:09 AM (20 years ago)
Author:
Paul Price
Message:

Set CELL.DARKTIME and CELL.EXPOSURE when we've normalised by the dark time. Change options->exptime to options->darktime to properly indicate just what we're normalising by. Normalise by CELL.DARKTIME instead of CELL.EXPOSURE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeCombine.c

    r9376 r9463  
    258258                }
    259259
     260                // Set the dark time for the output image, since we normalised
     261                if (options->darktime) {
     262                    psMetadataItem *darkItem = psMetadataLookup(cell->concepts, "CELL.DARKTIME");
     263                    darkItem->data.F32 = 1.0;
     264                    psMetadataItem *expItem = psMetadataLookup(cell->concepts, "CELL.EXPOSURE");
     265                    expItem->data.F32 = 1.0;
     266                }
     267
    260268                memCheck();
    261269#endif
Note: See TracChangeset for help on using the changeset viewer.