IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35375


Ignore:
Timestamp:
Apr 9, 2013, 11:03:29 AM (13 years ago)
Author:
eugene
Message:

if file is missing TRIMSEC, assume the entire chip is valid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130307/psModules/src/camera/pmFPAMaskWeight.c

    r35038 r35375  
    301301    psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim section
    302302    if (!mdok || psRegionIsNaN(*trimsec)) {
    303         psError(PS_ERR_IO, true, "CELL.TRIMSEC is not set --- unable to set variance.\n");
    304         return false;
     303      // if trimsec is not defined, use the full image
     304      trimsec = psRegionAlloc(0,0,0,0);
     305      // psError(PS_ERR_IO, true, "CELL.TRIMSEC is not set --- unable to set variance.\n");
     306      // return false;
    305307    }
    306308
Note: See TracChangeset for help on using the changeset viewer.