Changeset 30677
- Timestamp:
- Feb 17, 2011, 3:22:41 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213/psLib/src/fits
- Files:
-
- 4 edited
-
psFits.h (modified) (2 diffs)
-
psFitsImage.c (modified) (13 diffs)
-
psFitsScale.c (modified) (13 diffs)
-
psFitsScale.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psLib/src/fits/psFits.h
r25383 r30677 50 50 PS_FITS_SCALE_STDEV_NEGATIVE, ///< Auto-scale to sample stdev, place mean at upper limit 51 51 PS_FITS_SCALE_STDEV_BOTH, ///< Auto-scale to sample stdev, place mean at middle 52 PS_FITS_SCALE_MANUAL ///< Manual scaling (use specified BSCALE and BZERO) 52 PS_FITS_SCALE_MANUAL, ///< Manual scaling (use specified BSCALE and BZERO) 53 PS_FITS_SCALE_LOG_RANGE, ///< Take logarithm, Auto-scale to preserve dynamic range 54 PS_FITS_SCALE_LOG_STDEV_POSITIVE, ///< Take logarithm, Auto-scale to sample stdev, place mean at lower limit 55 PS_FITS_SCALE_LOG_STDEV_NEGATIVE, ///< Take logarithm, Auto-scale to sample stdev, place mean at upper limit 56 PS_FITS_SCALE_LOG_STDEV_BOTH, ///< Take logarithm, Auto-scale to sample stdev, place mean at middle 57 PS_FITS_SCALE_LOG_MANUAL ///< Manual scaling (use specified BSCALE, BZERO, and BOFFSET) 53 58 } psFitsScaling; 54 59 … … 66 71 bool fuzz; ///< Fuzz the values when quantising floating-point values? 67 72 double bscale, bzero; ///< Manually specified BSCALE and BZERO (for SCALE_MANUAL) 73 double boffset; ///< Manually specified BOFFSET (for SCALE_MANUAL) 68 74 double mean, stdev; ///< Mean and standard deviation of image 69 75 int stdevBits; ///< Number of bits to sample a standard deviation (for SCALE_STDEV_*) -
branches/eam_branches/ipp-20110213/psLib/src/fits/psFitsImage.c
r29931 r30677 54 54 int fitsDatatype; // cfitsio data type 55 55 int psDatatype; // psLib data type 56 bool is_logscaled; // is this image log scaled using BOFFSET? 56 57 } p_psFitsReadInfo; 57 58 … … 128 129 129 130 // Check scale and zero 130 double bscale = 0.0, bzero = 0.0 ; // Scale and zero point131 double bscale = 0.0, bzero = 0.0, boffset = NAN; // Scale and zero point 131 132 if (fits_read_key_dbl(fits->fd, "BSCALE", &bscale, NULL, &status) && status != KEY_NO_EXIST) { 132 133 psFitsError(status, true, "Unable to read header."); … … 137 138 psFitsError(status, true, "Unable to read header."); 138 139 goto bad; 140 } 141 status = 0; 142 if (fits_read_key_dbl(fits->fd, "BOFFSET", &boffset, NULL, &status) && status != KEY_NO_EXIST) { 143 psFitsError(status, true, "Unable to read header."); 144 goto bad; 145 } 146 if (status == KEY_NO_EXIST) { 147 info->is_logscaled = false; 148 } 149 else if (isfinite(boffset)) { 150 info->is_logscaled = true; 151 } 152 else { 153 info->is_logscaled = false; 139 154 } 140 155 status = 0; … … 246 261 static psImage *imageToDiskRepresentation(double *bscale, // Scaling applied 247 262 double *bzero, // Zero point applied 263 double *boffset, // Log offset applied 248 264 long *blank, // Blank value (integer data) 249 265 psFitsFloat *floatType, // Type of custom floating-point … … 258 274 psAssert(bscale, "impossible"); 259 275 psAssert(bzero, "impossible"); 276 psAssert(boffset, "impossible"); 260 277 psAssert(floatType, "impossible"); 261 278 psAssert(fits, "impossible"); … … 305 322 if (newScaleZero) { 306 323 // Choose an appropriate BSCALE and BZERO 307 if (!psFitsScaleDetermine(bscale, bzero, blank, image, mask, maskVal, fits)) {324 if (!psFitsScaleDetermine(bscale, bzero, boffset, blank, image, mask, maskVal, fits)) { 308 325 // We can't have the write dying for this reason --- try to save it somehow! 309 326 psWarning("Unable to determine BSCALE and BZERO for image --- refusing to quantise."); … … 331 348 } 332 349 333 return psFitsScaleForDisk(image, fits, *bscale, *bzero, rng);350 return psFitsScaleForDisk(image, fits, *bscale, *bzero, *boffset, rng); 334 351 } 335 352 … … 459 476 return NULL; 460 477 } 461 psFree(info);462 478 463 479 if (floatType != PS_FITS_FLOAT_NONE) { 464 480 outImage = psFitsFloatImageFromDisk(outImage, inImage, floatType); 465 481 } 482 483 // Need to apply BOFFSET if info->is_logscaled is true 484 if (info->is_logscaled) { 485 double boffset; 486 int status; 487 fits_read_key_dbl(fits->fd, "BOFFSET", &boffset, NULL, &status); 488 outImage = psFitsScaleFromDisk(outImage,boffset); 489 } 490 psFree(info); 491 466 492 psFree(inImage); 467 493 … … 572 598 573 599 double bscale = NAN, bzero = NAN; // Scale and zero point to put in header 600 double boffset = NAN; // Log offset to put into header. 574 601 long blank = 0; // Blank (undefined) value for image 575 602 psFitsFloat floatType; // Custom floating-point convention type 576 psImage *diskImage = imageToDiskRepresentation(&bscale, &bzero, &b lank, &floatType, fits, image,603 psImage *diskImage = imageToDiskRepresentation(&bscale, &bzero, &boffset, &blank, &floatType, fits, image, 577 604 mask, maskVal, NULL, true); // Image to write out 578 605 if (!diskImage) { … … 610 637 611 638 psFitsOptions *options = fits->options; // FITS I/O options 639 /* if (options) { */ 640 /* if (options->scaling == PS_FITS_SCALE_LOG_RANGE) { */ 641 /* fprintf(stderr,"it has the scaling I expect\n"); */ 642 /* } */ 643 /* else { */ 644 /* fprintf(stderr,"it does nto have the scaling I expect\n"); */ 645 /* } */ 646 /* } */ 647 /* else { */ 648 /* fprintf(stderr,"options is null, apparently? \n"); */ 649 /* } */ 650 612 651 psAssert(!useRequestedScale || !options || bitPix == options->bitpix || options->bitpix == 0, 613 652 "Something's not consistent"); … … 651 690 } 652 691 692 // Remove any BOFFSET values that exist in the header if we are not using that scaling anymore 693 if (options&&(!((options->scaling == PS_FITS_SCALE_LOG_RANGE)|| 694 (options->scaling == PS_FITS_SCALE_LOG_MANUAL)|| 695 (options->scaling == PS_FITS_SCALE_LOG_STDEV_POSITIVE)|| 696 (options->scaling == PS_FITS_SCALE_LOG_STDEV_NEGATIVE)|| 697 (options->scaling == PS_FITS_SCALE_LOG_STDEV_BOTH)))) { 698 if (psMetadataLookup(header,"BOFFSET")) { 699 psMetadataRemoveKey(header,"BOFFSET"); 700 } 701 } 702 653 703 // write the header, if any. 654 704 if (header && !psFitsWriteHeaderImage(fits, header, createPHU)) { … … 668 718 fits_write_key_dbl(fits->fd, "BSCALE", bscale, 12, 669 719 "Scaling: TRUE = BZERO + BSCALE * DISK", &status); 720 if (options&&(((options->scaling == PS_FITS_SCALE_LOG_RANGE)|| 721 (options->scaling == PS_FITS_SCALE_LOG_MANUAL)|| 722 (options->scaling == PS_FITS_SCALE_LOG_STDEV_POSITIVE)|| 723 (options->scaling == PS_FITS_SCALE_LOG_STDEV_NEGATIVE)|| 724 (options->scaling == PS_FITS_SCALE_LOG_STDEV_BOTH)))) { 725 fits_write_key_dbl(fits->fd, "BOFFSET", boffset, 12, 726 "Scaling: TRUE = BZERO + BSCALE * 10**(DISK) + BOFFSET)", &status); 727 } 670 728 if (psFitsError(status, true, "Could not write BSCALE/BZERO headers to file.")) { 671 729 success = false; … … 769 827 bool success = true; // Successful update? 770 828 double bscale = NAN, bzero = NAN; // Scale and zero point to put in header 829 double boffset = NAN; // Log offset to put in header 771 830 long blank = 0; // Blank (undefined) value for image 772 831 psFitsFloat floatType; // Custom floating-point convention type 773 psImage *diskImage = imageToDiskRepresentation(&bscale, &bzero, &b lank, &floatType, fits, input,832 psImage *diskImage = imageToDiskRepresentation(&bscale, &bzero, &boffset, &blank, &floatType, fits, input, 774 833 mask, maskVal, NULL, false); // Image to write out 775 834 if (!diskImage) { -
branches/eam_branches/ipp-20110213/psLib/src/fits/psFitsScale.c
r27417 r30677 100 100 } 101 101 102 102 103 // Determine appropriate BSCALE and BZERO for an image, mapping the standard deviation to the nominated number 103 104 // of bits … … 212 213 switch (options->scaling) { 213 214 case PS_FITS_SCALE_STDEV_POSITIVE: 215 case PS_FITS_SCALE_LOG_STDEV_POSITIVE: 214 216 // Put (mean - N sigma) at the lowest possible value: predominantly positive images 215 217 imageVal = mean - options->stdevNum * stdev; … … 217 219 break; 218 220 case PS_FITS_SCALE_STDEV_NEGATIVE: 221 case PS_FITS_SCALE_LOG_STDEV_NEGATIVE: 219 222 // Put (mean + N sigma) at the highest possible value: predominantly negative images 220 223 imageVal = mean + options->stdevNum * stdev; … … 222 225 break; 223 226 case PS_FITS_SCALE_STDEV_BOTH: 227 case PS_FITS_SCALE_LOG_STDEV_BOTH: 224 228 // Put mean right in the middle: images with an equal abundance of positive and negative values 225 229 imageVal = mean; … … 237 241 } 238 242 243 244 static bool logscaleStdev(double *bscale, // Scaling, to return 245 double *bzero, // Zero point, to return 246 double *boffset, // Log offset, to return 247 const psImage *image, // Image to scale 248 const psImage *mask, // Mask image 249 psImageMaskType maskVal, // Value to mask 250 const psFitsOptions *options // FITS options 251 ) 252 { 253 psAssert(bscale, "impossible"); 254 psAssert(bzero, "impossible"); 255 psAssert(boffset, "impossible"); 256 psAssert(image, "impossible"); 257 psAssert(options, "impossible"); 258 259 psTrace("psLib.fits", 3, "Scaling image by logarithm statistics"); 260 int numCols = image->numCols, numRows = image->numRows; // Size of image 261 262 psImage *copy; 263 264 *boffset = 99e99; 265 266 // Make a copy of the image to pass to get the scaling parameters 267 268 switch (image->type.type) { 269 case PS_TYPE_F32: 270 copy = psImageCopy(NULL,image,PS_TYPE_F32); 271 break; 272 case PS_TYPE_F64: 273 copy = psImageCopy(NULL,image,PS_TYPE_F64); 274 break; 275 default: 276 psError(PS_ERR_UNKNOWN, true, "Target type is not a float: %d", image->type.type); 277 return NULL; 278 break; 279 } 280 281 // Determine the minimum value on this image. 282 switch (image->type.type) { 283 case PS_TYPE_F32: 284 for (int y = 0; y < numRows; y++) { 285 for (int x = 0; x < numCols; x++) { 286 psF32 value = image->data.F32[y][x]; 287 if (isfinite(value)) { 288 if (value < *boffset) { 289 *boffset = value; 290 } 291 } 292 } 293 } 294 break; 295 case PS_TYPE_F64: 296 for (int y = 0; y < numRows; y++) { 297 for (int x = 0; x < numCols; x++) { 298 psF64 value = image->data.F64[y][x]; 299 if (isfinite(value)) { 300 if (value < *boffset) { 301 *boffset = value; 302 } 303 } 304 } 305 } 306 break; 307 default: 308 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Target type is not a float: %d",image->type.type); 309 return NULL; 310 break; 311 } 312 // We only need to offset images that go negative. 313 if (*boffset > 0.0) { 314 *boffset = 0.0; 315 } 316 // Write offset to header 317 // How? 318 // psMetadataAddF32(header,PS_LIST_TAIL,"LOGZERO",0,"Flux offset subtracted before taking logarithm.",offset); 319 // Take the logarithm of the image, applying the offset 320 switch (image->type.type) { 321 case PS_TYPE_F32: 322 for (int y = 0; y < numRows; y++) { 323 for (int x = 0; x < numCols; x++) { 324 /* if (x == 2331 && y == 2843) { */ 325 /* fprintf(stderr,"psFS32: %d %d %g %g %g\n",x,y,offset,image->data.F32[y][x],log10(image->data.F32[y][x] - offset)); */ 326 /* } */ 327 copy->data.F32[y][x] = (log10( image->data.F32[y][x] - *boffset)); 328 } 329 } 330 break; 331 case PS_TYPE_F64: 332 for (int y = 0; y < numRows; y++) { 333 for (int x = 0; x < numCols; x++) { 334 // fprintf(stderr,"psFS64: %d %d %g %g %g\n",x,y,offset,image->data.F64[y][x],log10(image->data.F64[y][x] - offset)); 335 copy->data.F64[y][x] = (log10( image->data.F64[y][x] - *boffset)); 336 } 337 } 338 break; 339 default: 340 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Target type is not a float: %d",image->type.type); 341 return NULL; 342 break; 343 } 344 345 // Do regular scaling on the logarithm image 346 if (!scaleStdev(bscale, bzero, copy, mask, maskVal, options)) { 347 psError(PS_ERR_UNKNOWN, false, "Unable to set BSCALE and BZERO from stdev"); 348 return false; 349 } 350 psFree(copy); 351 return true; 352 } 353 354 static bool logscaleRange(double *bscale, // Scaling, to return 355 double *bzero, // Zero point, to return 356 double *boffset, // Log offset, to return 357 const psImage *image, // Image to scale 358 const psFitsOptions *options // FITS options 359 ) 360 { 361 psAssert(bscale, "impossible"); 362 psAssert(bzero, "impossible"); 363 psAssert(boffset, "impossible"); 364 psAssert(image, "impossible"); 365 psAssert(options, "impossible"); 366 367 psTrace("psLib.fits", 3, "Scaling image by logarithm statistics"); 368 int numCols = image->numCols, numRows = image->numRows; // Size of image 369 370 psImage *copy; 371 372 *boffset = 99e99; 373 374 // Make a copy of the image to pass to get the scaling parameters 375 376 switch (image->type.type) { 377 case PS_TYPE_F32: 378 copy = psImageCopy(NULL,image,PS_TYPE_F32); 379 break; 380 case PS_TYPE_F64: 381 copy = psImageCopy(NULL,image,PS_TYPE_F64); 382 break; 383 default: 384 psError(PS_ERR_UNKNOWN, true, "Target type is not a float: %d", image->type.type); 385 return NULL; 386 break; 387 } 388 389 // Determine the minimum value on this image. 390 switch (image->type.type) { 391 case PS_TYPE_F32: 392 for (int y = 0; y < numRows; y++) { 393 for (int x = 0; x < numCols; x++) { 394 psF32 value = image->data.F32[y][x]; 395 if (!isfinite(value)) { 396 if (value < *boffset) { 397 *boffset = value; 398 } 399 } 400 } 401 } 402 break; 403 case PS_TYPE_F64: 404 for (int y = 0; y < numRows; y++) { 405 for (int x = 0; x < numCols; x++) { 406 psF64 value = image->data.F64[y][x]; 407 if (!isfinite(value)) { 408 if (value < *boffset) { 409 *boffset = value; 410 } 411 } 412 } 413 } 414 break; 415 default: 416 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Target type is not a float: %d",image->type.type); 417 return NULL; 418 break; 419 } 420 // We only need to offset images that go negative. 421 if (*boffset > 0.0) { 422 *boffset = 0.0; 423 } 424 // Write offset to header 425 // How? 426 // psMetadataAddF32(header,PS_LIST_TAIL,"LOGZERO",0,"Flux offset subtracted before taking logarithm.",offset); 427 // Take the logarithm of the image, applying the offset 428 switch (image->type.type) { 429 case PS_TYPE_F32: 430 for (int y = 0; y < numRows; y++) { 431 for (int x = 0; x < numCols; x++) { 432 copy->data.F32[y][x] = (log10( image->data.F32[y][x] - *boffset)); 433 } 434 } 435 break; 436 case PS_TYPE_F64: 437 for (int y = 0; y < numRows; y++) { 438 for (int x = 0; x < numCols; x++) { 439 copy->data.F64[y][x] = (log10( image->data.F64[y][x] - *boffset)); 440 } 441 } 442 break; 443 default: 444 psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Target type is not a float: %d",image->type.type); 445 return NULL; 446 break; 447 } 448 449 // Do regular scaling on the logarithm image 450 if (!scaleRange(bscale, bzero, copy, options)) { 451 psError(PS_ERR_UNKNOWN, false, "Unable to set BSCALE and BZERO from stdev"); 452 return false; 453 } 454 psFree(copy); 455 return true; 456 } 457 458 239 459 ////////////////////////////////////////////////////////////////////////////////////////////////////////////// 240 460 // Public functions 241 461 ////////////////////////////////////////////////////////////////////////////////////////////////////////////// 242 462 243 bool psFitsScaleDetermine(double *bscale, double *bzero, long *blank, const psImage *image,463 bool psFitsScaleDetermine(double *bscale, double *bzero, double *boffset, long *blank, const psImage *image, 244 464 const psImage *mask, psImageMaskType maskVal, const psFits *fits) 245 465 { 246 466 PS_ASSERT_PTR_NON_NULL(bscale, false); 247 467 PS_ASSERT_PTR_NON_NULL(bzero, false); 468 PS_ASSERT_PTR_NON_NULL(boffset, false); 248 469 PS_ASSERT_PTR_NON_NULL(blank, false); 249 470 PS_ASSERT_IMAGE_NON_NULL(image, false); … … 256 477 *bscale = NAN; 257 478 *bzero = NAN; 479 *boffset = 0; 258 480 *blank = 0; 259 481 … … 299 521 } 300 522 break; 523 case PS_FITS_SCALE_LOG_RANGE: 524 if (!logscaleRange(bscale,bzero,boffset,image,options)) { 525 psError(PS_ERR_UNKNOWN, false, "Unable to set BSCALE and BZERO from range"); 526 return false; 527 } 528 break; 529 case PS_FITS_SCALE_LOG_STDEV_POSITIVE: 530 case PS_FITS_SCALE_LOG_STDEV_NEGATIVE: 531 case PS_FITS_SCALE_LOG_STDEV_BOTH: 532 if (!logscaleStdev(bscale, bzero,boffset, image, mask, maskVal, options)) { 533 psError(PS_ERR_UNKNOWN, false, "Unable to set BSCALE and BZERO from stdev"); 534 return false; 535 } 536 break; 301 537 case PS_FITS_SCALE_MANUAL: 302 538 *bscale = options->bscale; 303 539 *bzero = options->bzero; 540 break; 541 case PS_FITS_SCALE_LOG_MANUAL: 542 *bscale = options->bscale; 543 *bzero = options->bzero; 544 *boffset = options->boffset; 304 545 break; 305 546 default: … … 316 557 317 558 318 psTrace("psLib.fits", 3, "BSCALE = %.10lf, BZERO = %.10lf, BLANK = %ld\n", *bscale, *bzero, *blank); 559 psTrace("psLib.fits", 3, "BSCALE = %.10lf, BZERO = %.10lf, BOFFSET = %.10lf, BLANK = %ld\n", 560 *bscale, *bzero, *boffset, *blank); 319 561 return true; 320 562 } 321 563 322 564 323 psImage *psFitsScaleForDisk(const psImage *image, const psFits *fits, double bscale, double bzero, 565 psImage *psFitsScaleForDisk(const psImage *image, const psFits *fits, double bscale, double bzero, double boffset, 324 566 psRandom *rng) 325 567 { … … 377 619 for (int y = 0; y < numRows; y++) { \ 378 620 for (int x = 0; x < numCols; x++) { \ 379 ps##INTYPE value = (IN)->data.INTYPE[y][x]; \ 621 ps##INTYPE value; \ 622 if ((options->scaling == PS_FITS_SCALE_LOG_RANGE)|| \ 623 (options->scaling == PS_FITS_SCALE_LOG_MANUAL)|| \ 624 (options->scaling == PS_FITS_SCALE_LOG_STDEV_POSITIVE)|| \ 625 (options->scaling == PS_FITS_SCALE_LOG_STDEV_NEGATIVE)|| \ 626 (options->scaling == PS_FITS_SCALE_LOG_STDEV_BOTH)) { \ 627 value = log10( (IN)->data.INTYPE[y][x] - boffset ); \ 628 } \ 629 else { \ 630 value = (IN)->data.INTYPE[y][x]; \ 631 } \ 380 632 if (!isfinite(value)) { \ 381 633 /* This choice of "max" for non-finite pixels is mainly cosmetic --- it has to be */ \ … … 423 675 424 676 425 #if 0 677 426 678 // This function to apply BSCALE and BZERO to an image read immediately from disk should not be necessary at 427 679 // the present time, since cfitsio should apply the scaling itself in the process of reading. However, we may 428 680 // later desire it (e.g., if we ever make our own FITS implementation). 429 psImage *psFitsScaleFromDisk( psFits *fits, psImage *image)681 psImage *psFitsScaleFromDisk(const psImage *image, double boffset) 430 682 { 431 683 PS_ASSERT_IMAGE_NON_NULL(image, NULL); 432 433 if (bscale == 0.0) {434 // BSCALE = 0 means don't apply anything435 return psMemIncrRefCounter(image);436 }437 684 438 685 psElemType inType = image->type.type; // Type for input image … … 471 718 for (int y = 0; y < numRows; y++) { \ 472 719 for (int x = 0; x < numCols; x++) { \ 473 out->data.OUTTYPE[y][x] = image->data.INTYPE[y][x] * bscale + bzero; \720 out->data.OUTTYPE[y][x] = pow(10,image->data.INTYPE[y][x]) + boffset;; \ 474 721 } \ 475 722 } \ … … 505 752 return out; 506 753 } 507 #endif508 509 510 754 511 755 psFitsScaling psFitsScalingFromString(const char *string) … … 517 761 if (strcasecmp(string, "STDEV_NEGATIVE") == 0) return PS_FITS_SCALE_STDEV_NEGATIVE; 518 762 if (strcasecmp(string, "STDEV_BOTH") == 0) return PS_FITS_SCALE_STDEV_BOTH; 763 if (strcasecmp(string, "LOG_RANGE") == 0) return PS_FITS_SCALE_LOG_RANGE; 764 if (strcasecmp(string, "LOG_MANUAL") == 0) return PS_FITS_SCALE_LOG_MANUAL; 765 if (strcasecmp(string, "LOG_STDEV_POSITIVE") == 0) return PS_FITS_SCALE_LOG_STDEV_POSITIVE; 766 if (strcasecmp(string, "LOG_STDEV_NEGATIVE") == 0) return PS_FITS_SCALE_LOG_STDEV_NEGATIVE; 767 if (strcasecmp(string, "LOG_STDEV_BOTH") == 0) return PS_FITS_SCALE_LOG_STDEV_BOTH; 519 768 if (strcasecmp(string, "MANUAL") == 0) return PS_FITS_SCALE_MANUAL; 520 769 -
branches/eam_branches/ipp-20110213/psLib/src/fits/psFitsScale.h
r21183 r30677 10 10 bool psFitsScaleDetermine(double *bscale, ///< Scaling, to return 11 11 double *bzero, ///< Zero point, to return 12 double *boffset, ///< Log offset, to return 12 13 long *blank, ///< Blank value, to return 13 14 const psImage *image, ///< Image to scale … … 27 28 double bscale, ///< Scaling 28 29 double bzero, ///< Zero point 30 double boffset, ///< Log offset 29 31 psRandom *rng ///< Random number generator (for the "fuzz"), or NULL 30 32 ); 31 33 psImage *psFitsScaleFromDisk(const psImage *image, ///< Image to to unapply BOFFSET 34 double boffset ///< Log offset 35 ); 32 36 /// Interpret a string as a scaling method 33 37 psFitsScaling psFitsScalingFromString(const char *string ///< String to interpret
Note:
See TracChangeset
for help on using the changeset viewer.
