- Timestamp:
- Jun 15, 2010, 11:22:56 AM (16 years ago)
- Location:
- branches/czw_branch/20100519
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppImage/src/ppImageMosaic.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100519
- Property svn:mergeinfo changed
/trunk merged: 28280-28298,28300-28302,28305-28307
- Property svn:mergeinfo changed
-
branches/czw_branch/20100519/ppImage/src/ppImageMosaic.c
r28304 r28334 9 9 { 10 10 bool status; // Status of MD lookup 11 printf("PPIM: %x %s\n",psErrorCodeLast(),psErrorCodeString(psErrorCodeLast())); 11 12 12 pmFPAfile *in = psMetadataLookupPtr(&status, config->files, inFile); // Input file 13 13 if (!status) { … … 15 15 exit(EXIT_FAILURE); 16 16 } 17 printf("PPIM: %x %s\n",psErrorCodeLast(),psErrorCodeString(psErrorCodeLast())); 17 18 18 pmFPAfile *out = psMetadataLookupPtr(&status, config->files, outFile); // Output file 19 19 if (!status) { … … 21 21 exit(EXIT_FAILURE); 22 22 } 23 printf("PPIM: %x %s\n",psErrorCodeLast(),psErrorCodeString(psErrorCodeLast())); 23 24 24 pmChip *outChip = pmFPAviewThisChip(view, out->fpa); 25 25 pmChip *inChip = pmFPAviewThisChip(view, in->fpa); … … 27 27 pmFPAAddSourceFromView(out->fpa, view, out->format); 28 28 } 29 printf("PPIM: %x %s\n",psErrorCodeLast(),psErrorCodeString(psErrorCodeLast())); 29 30 30 // If the input is a dark (normalising and mosaicking) then it looks like a video cell and will be ignored 31 31 // by pmChipMosaic. We therefore hack the structure so it doesn't look like a video cell. 32 32 psVector *darkNumbers = NULL; // Number of dark readouts for each cell 33 // psVectorInit(darkNumbers, 0);34 printf("PPIM: %x %s\n",psErrorCodeLast(),psErrorCodeString(psErrorCodeLast()));35 33 if (psMetadataLookupBool(&status, config->arguments, "INPUT_IS_DARK")) { 36 34 darkNumbers = psVectorAlloc(inChip->cells->n, PS_TYPE_S32); … … 45 43 } 46 44 } 47 printf("PPMI: %x %s\n",psErrorCodeLast(),psErrorCodeString(psErrorCodeLast())); 45 48 46 psTrace("pmChipMosaic", 5, "mosaic chip %s to %s (xbin,ybin: %d,%d to %d,%d)\n", 49 47 in->name, out->name, in->xBin, in->yBin, out->xBin, out->yBin);
Note:
See TracChangeset
for help on using the changeset viewer.
