- Timestamp:
- Oct 23, 2007, 10:54:53 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20071023/psModules/src/objects/pmModel.c
r14938 r15359 6 6 * @author EAM, IfA 7 7 * 8 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $9 * @date $Date: 2007- 09-21 00:04:07$8 * @version $Revision: 1.15.6.1 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-10-23 20:54:53 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 217 217 Ro = psImageInterpolateOptionsAlloc( 218 218 PS_INTERPOLATE_BILINEAR, 219 model->residuals->Ro, NULL, NULL, 0, 0.0, 0.0, 1, 0, 0.0);219 model->residuals->Ro, NULL, model->mask, 0, 0.0, 0.0, 1, 0, 0.0); 220 220 Rx = psImageInterpolateOptionsAlloc( 221 221 PS_INTERPOLATE_BILINEAR, … … 257 257 float oy = yBin*(imageRow + 0.5 - yCenter) + yResidCenter; 258 258 259 psU8 mflux = 0; 259 260 if (mode & PM_MODEL_OP_RES0) { 260 psU8 mflux = 0;261 261 double Fo = 0.0; 262 262 psImageInterpolate (&Fo, NULL, &mflux, ox, oy, Ro); … … 265 265 } 266 266 } 267 if (mode & PM_MODEL_OP_RES1) { 268 psU8 mflux = 0;267 // skip Rx,Ry if Ro is masked 268 if (!mflux && (mode & PM_MODEL_OP_RES1)) { 269 269 double Fx = 0.0; 270 270 double Fy = 0.0;
Note:
See TracChangeset
for help on using the changeset viewer.
