IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2006, 5:27:52 PM (20 years ago)
Author:
Paul Price
Message:

Moving additional pslib functions over to psLib proper. Some API changes.

File:
1 edited

Legend:

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

    r7311 r7382  
    88#include "pmHDUUtils.h"
    99#include "pmConcepts.h"
    10 #include "psRegionIsBad.h"
    1110#include "pmFPAHeader.h"
    1211
     
    3332
    3433    // The image corresponding to the trim region
    35     if (psRegionIsBad(*trimsec)) {
     34    if (psRegionIsNaN(*trimsec)) {
    3635        psString regionString = psRegionToString(*trimsec);
    3736        psError(PS_ERR_UNKNOWN, true, "Invalid trim section: %s\n", regionString);
     
    5958    psRegion *biassec = NULL;       // A BIASSEC region from the list
    6059    while ((biassec = psListGetAndIncrement(iter))) {
    61         if (psRegionIsBad(*biassec)) {
     60        if (psRegionIsNaN(*biassec)) {
    6261            psString regionString = psRegionToString(*biassec);
    6362            psError(PS_ERR_IO, true, "Invalid bias section: %s\n", regionString);
     
    190189    bool mdok = true;                   // Status of MD lookup
    191190    psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim sections
    192     if (!mdok || !trimsec || psRegionIsBad(*trimsec)) {
     191    if (!mdok || !trimsec || psRegionIsNaN(*trimsec)) {
    193192        psError(PS_ERR_IO, true, "CELL.TRIMSEC is not set.\n");
    194193        return false;
Note: See TracChangeset for help on using the changeset viewer.