IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 12, 2008, 3:14:57 PM (17 years ago)
Author:
Paul Price
Message:

Combine with weights based on the background noise in the image after convolution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackCamera.c

    r19744 r20710  
    101101        psString psf = psMetadataLookupStr(&mdok, input, "PSF"); // Name of PSF
    102102        psString sources = psMetadataLookupStr(&mdok, input, "SOURCES"); // Name of sources
    103 
    104         float weighting = psMetadataLookupF32(&mdok, input, "WEIGHTING"); // Relative weighting
    105         if (!mdok || isnan(weighting) || weighting == 0.0) {
    106             psWarning("Component %s lacks WEIGHTING of type F32 --- assuming 1.0", item->name);
    107             weighting = 1.0;
    108         }
    109103
    110104        // Add the image file
     
    258252#endif
    259253
    260         psMetadataAddF32(imageFile->fpa->analysis, PS_LIST_TAIL, "PPSTACK.WEIGHTING", 0,
    261                          "Relative weighting for image", weighting);
    262 
    263254        i++;
    264255    }
Note: See TracChangeset for help on using the changeset viewer.