Changeset 11527 for trunk/psModules/src/camera
- Timestamp:
- Jan 31, 2007, 5:15:13 PM (19 years ago)
- Location:
- trunk/psModules/src/camera
- Files:
-
- 2 edited
-
pmFPARead.c (modified) (2 diffs)
-
pmFPA_JPEG.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r10705 r11527 183 183 } 184 184 185 bool (*hduReadFunc)(pmHDU*, psFits*) ; // Function to use to read the HDU186 psArray **imageArray ;// Array of images in the HDU187 psElemType imageType ;// Expected type for image185 bool (*hduReadFunc)(pmHDU*, psFits*) = NULL; // Function to use to read the HDU 186 psArray **imageArray = NULL; // Array of images in the HDU 187 psElemType imageType = PS_TYPE_F32; // Expected type for image 188 188 switch (type) { 189 189 case FPA_READ_TYPE_IMAGE: … … 245 245 } 246 246 247 psImage **target ; // Place in readout to put carved image247 psImage **target = NULL; // Place in readout to put carved image 248 248 switch (type) { 249 249 case FPA_READ_TYPE_IMAGE: -
trunk/psModules/src/camera/pmFPA_JPEG.c
r11292 r11527 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $8 * @date $Date: 2007-0 1-26 00:05:17$7 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2007-02-01 03:15:13 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 147 147 } 148 148 149 float min, max; // Minimum and maximum for stretch 150 float mean, delta; 149 float min = 0; 150 float max = 0; // Minimum and maximum for stretch 151 float mean = 0; 152 float delta = 0; 151 153 152 154 // measure the image statistics for scaling
Note:
See TracChangeset
for help on using the changeset viewer.
