IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 12, 2005, 10:38:25 AM (21 years ago)
Author:
gusciora
Message:

....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmFlatField.c

    r4770 r4997  
    1818 *  @author Ross Harman, MHPCC
    1919 *
    20  *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    21  *  @date $Date: 2005-08-16 01:10:34 $
     20 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     21 *  @date $Date: 2005-09-12 20:38:25 $
    2222 *
    2323 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7878    // Check input image and its mask are not larger than flat image
    7979
    80     if(inImage->numRows>flatImage->numRows || inImage->numCols>flatImage->numCols) {
     80    if (inImage->numRows>flatImage->numRows || inImage->numCols>flatImage->numCols) {
    8181        psError( PS_ERR_BAD_PARAMETER_SIZE, true,
    8282                 PS_ERRORTEXT_pmFlatField_SIZE_INPUT_IMAGE,
    8383                 inImage->numRows, inImage->numCols, flatImage->numRows, flatImage->numCols);
    8484        return false;
    85     } else if(inMask->numRows>flatImage->numRows || inMask->numCols > flatImage->numCols) {
     85    }
     86    if (inMask->numRows > flatImage->numRows || inMask->numCols > flatImage->numCols) {
    8687        psError( PS_ERR_BAD_PARAMETER_SIZE, true,
    8788                 PS_ERRORTEXT_pmFlatField_SIZE_MASK_IMAGE,
Note: See TracChangeset for help on using the changeset viewer.