- Timestamp:
- Mar 1, 2009, 3:52:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090215/psModules/src/extras/pmVisual.c
r22419 r22722 21 21 #include "pmAstrometryObjects.h" 22 22 #include "pmSubtractionStamps.h" 23 23 #include "pmTrend2D.h" 24 24 #include "pmFPAExtent.h" 25 25 … … 34 34 #include "pmSubtractionVisual.h" 35 35 #include "pmStackVisual.h" 36 #include "pmSourceVisual.h" 37 38 //#define TESTING 36 39 37 40 static bool isVisual = false; … … 50 53 pmSubtractionVisualClose(); 51 54 pmStackVisualClose(); 55 pmSourceVisualClose(); 52 56 //XXX handle psphot 53 57 // psphotVisualClose(); … … 209 213 210 214 bool pmVisualScaleImage(int kapaFD, psImage *inImage, const char *name, int channel, bool clip) { 211 212 215 KiiImage image; 213 216 KapaImageData data; 214 217 Coords coords; 215 218 216 //make sure we have a compatible image type 219 //make sure we have a compatible image 220 if (inImage == NULL) { 221 fprintf(stderr, "Image is NULL, and cannot be displayed\n"); 222 return false; 223 } 224 217 225 if(inImage->type.type != PS_TYPE_F32) { 218 226 fprintf(stderr, "Cannot display this image (imcompatible data type)\n"); … … 221 229 222 230 strcpy (coords.ctype, "RA---TAN"); 231 223 232 224 233 double min, max, stdev, mean;
Note:
See TracChangeset
for help on using the changeset viewer.
