IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2007, 5:09:31 PM (19 years ago)
Author:
bills
Message:

Shift the transform by the stamps integer offset from the original
image.
Added ugly temporary hack to work around the megacam problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppstamp/src/ppstampParseCamera.c

    r15280 r15388  
    44
    55# include "ppstamp.h"
     6
     7bool ppstampMegacamWorkaround = false;
    68
    79// Set up the ppstamp output Image file
     
    5355        return NULL;
    5456    }
     57
     58    if (!strcmp(config->cameraName, "MEGACAM")) {
     59        // workaround bug 986 and related
     60        ppstampMegacamWorkaround = true;
     61    }
    5562 
    56 
    57 #ifdef notyet
    58     if (psTraceGetLevel("ppstamp.config") > 0) {
    59         // Get a look inside all the files.
    60         psMetadataIterator *filesIter = psMetadataIteratorAlloc(config->files, PS_LIST_HEAD, NULL); // Iterator
    61         psMetadataItem *item;               // Item from iteration
    62         fprintf(stderr, "Files:\n");
    63         while ((item = psMetadataGetAndIncrement(filesIter))) {
    64             pmFPAfile *file = item->data.V; // File of interest
    65             fprintf(stderr, "%s: %p %p %p (%p) %p\n", file->name,
    66                     file->src, file->fpa,
    67                     file->camera, file->fpa->camera, file->format);
    68         }
    69         psFree(filesIter);
    70     }
    71 #endif
    72 
    7363    return true;
    7464}
Note: See TracChangeset for help on using the changeset viewer.