IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 15, 2008, 10:25:00 AM (18 years ago)
Author:
eugene
Message:

re-organization of the named mask bit handling: pmConfigMaskSetBits now assigns the bits to names and make the recipe consistent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileFitsIO.c

    r18330 r18554  
    77
    88#include "pmConfig.h"
     9#include "pmConfigMask.h"
    910#include "pmDetrendDB.h"
    1011
     
    496497    }
    497498
     499    // whenever we write out a mask image, we should define the bits which represent mask concepts
     500    if (file->type == PM_FPA_FILE_MASK) {
     501        assert (phu->header);
     502        if (!pmConfigMaskWriteHeader (config, phu->header)) {
     503            psError(PS_ERR_UNKNOWN, false, "failed to set the bitmask names in the PHU header for Image %s (%s)\n", file->filename, file->name);
     504            return false;
     505        }
     506    }
     507
    498508    switch (file->fileLevel) {
    499509      case PM_FPA_LEVEL_FPA:
Note: See TracChangeset for help on using the changeset viewer.