Changeset 12092 for trunk/FACT++/gui/QCameraWidget.cc
- Timestamp:
- 09/13/11 15:07:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/QCameraWidget.cc
r12080 r12092 310 310 double dmin = fData[0]; 311 311 double dmax = fData[0]; 312 for (int ii=0;ii<ACTUAL_NUM_PIXELS;ii++) 313 { 314 if (finite(fData[ii])) 315 { 316 dmin = dmax = fData[ii]; 317 break; 318 } 319 } 312 320 if (fMin < fScaleLimit || fMax < fScaleLimit) 313 321 { 314 322 for (int i=0;i<ACTUAL_NUM_PIXELS;i++) 315 323 { 324 if (!finite(fData[i])) continue; 316 325 if (!fEnable[i]) continue; 317 326 if (fData[i] > dmax) dmax = fData[i]; … … 325 334 for (int i=0;i<ACTUAL_NUM_PIXELS;i++) 326 335 { 327 if (!fEnable[i] )336 if (!fEnable[i] || !finite(fData[i])) 328 337 { 329 338 // cout << "not enabled !" << i << endl;
Note:
See TracChangeset
for help on using the changeset viewer.