Changeset 35552 for branches/eam_branches/ipp-20130419/ppImage/src
- Timestamp:
- May 9, 2013, 11:33:22 AM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130419/ppImage/src
- Files:
-
- 7 edited
- 1 copied
-
. (modified) (1 prop)
-
Makefile.am (modified) (1 diff)
-
ppImage.h (modified) (3 diffs)
-
ppImageAuxiliaryMask.c (copied) (copied from trunk/ppImage/src/ppImageAuxiliaryMask.c )
-
ppImageDetrendReadout.c (modified) (1 diff)
-
ppImageLoop.c (modified) (1 diff)
-
ppImageOptions.c (modified) (4 diffs)
-
ppImagePhotom.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/ppImage/src
- Property svn:mergeinfo changed
/trunk/ppImage/src merged: 35523,35528,35531,35533
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20130419/ppImage/src/Makefile.am
r35081 r35552 65 65 ppImageMemory.c \ 66 66 ppImageAddNoise.c \ 67 ppImageRandomGaussian.c 67 ppImageRandomGaussian.c \ 68 ppImageAuxiliaryMask.c 68 69 69 70 CLEANFILES = *~ -
branches/eam_branches/ipp-20130419/ppImage/src/ppImage.h
r35081 r35552 30 30 bool doMaskLow; // mask low pixels 31 31 bool doMask; // Mask bad pixels 32 bool doAuxMask; // apply auxillary mask 32 33 bool doNonLin; // Non-linearity correction 33 34 bool doOverscan; // Overscan subtraction … … 126 127 psU16 maskstat_magic; 127 128 psU16 maskstat_advisory; 129 130 psString auxVideoMask; // auxillary video mask file 128 131 129 132 } ppImageOptions; … … 312 315 void ppImageRandomGaussianFree(void); 313 316 317 bool ppImageAuxiliaryMask(pmConfig *config, const pmFPAview *view, const ppImageOptions *options, psMetadata *stats); 314 318 315 319 #endif -
branches/eam_branches/ipp-20130419/ppImage/src/ppImageDetrendReadout.c
r34082 r35552 50 50 char *Vptr = strchr(psMetadataLookupStr(NULL,input->parent->parent->hdu->header,"CELLMODE"),'V'); 51 51 if (Vptr) { 52 hasVideo = true;52 hasVideo = options->hasVideo = true; 53 53 psLogMsg ("ppImage.detrend", PS_LOG_INFO, "VIDEO: %d %d %d\n",(int) options->hasVideo,(int) options->useVideoDark, (int) options->useVideoMask); 54 54 } -
branches/eam_branches/ipp-20130419/ppImage/src/ppImageLoop.c
r35081 r35552 188 188 ESCAPE("Unable to mosaic chip"); 189 189 } 190 191 if (!ppImageAuxiliaryMask(config, view, options, stats)) { 192 ESCAPE("Unable to apply auxiliary mask"); 193 } 194 190 195 timeDetrend += psTimerClear(TIMER_DETREND); 191 196 -
branches/eam_branches/ipp-20130419/ppImage/src/ppImageOptions.c
r35081 r35552 10 10 // psFree(options->nonLinearData); 11 11 // psFree(options->nonLinearSource); 12 psFree(options->auxVideoMask); 12 13 } 13 14 … … 24 25 options->doVarianceBuild = false; // Build internal variance 25 26 options->doMask = false; // Mask bad pixels 27 options->doAuxMask = false; // apply auxillary mask 26 28 options->doNonLin = false; // Non-linearity correction 27 29 options->doOverscan = false; // Overscan subtraction … … 116 118 options->normClass = NULL; // per-class normalizations refer to this class 117 119 120 options->auxVideoMask = NULL; // auxillary video mask file name 121 118 122 return options; 119 123 } … … 228 232 options->doMaskBurntool = psMetadataLookupBool(NULL, recipe, "MASK.BURNTOOL"); 229 233 options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD"); 234 options->doAuxMask = psMetadataLookupBool(NULL, recipe, "MASK.AUXMASK"); 235 if (options->doAuxMask) { 236 // if we are applying an auxiliary mask we can optionally apply another 237 // mask to video cells only. 238 psString auxVideoMask = psMetadataLookupStr(NULL, recipe, "AUX.VIDEO.MASK"); 239 // save the value if defined and not the value "NULL" 240 if (auxVideoMask && strcmp(auxVideoMask, "NULL")) { 241 options->auxVideoMask = psStringCopy(auxVideoMask); 242 } 243 } 230 244 231 245 // Mask recipe options (note that mask bit values are set in ppImageSetMaskBits.c) -
branches/eam_branches/ipp-20130419/ppImage/src/ppImagePhotom.c
r29926 r35552 46 46 } 47 47 psErrorClear(); 48 psphotFilesActivate(config, false);48 // psphotFilesActivate(config, false); 49 49 } 50 50
Note:
See TracChangeset
for help on using the changeset viewer.
