Changeset 7625
- Timestamp:
- Jun 21, 2006, 1:25:17 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMosaic.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMosaic.c
r7618 r7625 447 447 // Set up the image 448 448 // Since both upper and lower values are inclusive, we need to add one to the size 449 float xSize = (float)(xMax + 1) / (float)xBinTarget;449 float xSize = (float)(xMax - xMin + 1) / (float)xBinTarget; 450 450 if (xSize - (int)xSize > 0) { 451 451 xSize += 1; 452 452 } 453 float ySize = (float)(yMax + 1) / (float)yBinTarget;453 float ySize = (float)(yMax - yMin + 1) / (float)yBinTarget; 454 454 if (ySize - (int)ySize > 0) { 455 455 ySize += 1;
Note:
See TracChangeset
for help on using the changeset viewer.
