Changeset 21183 for trunk/psLib/src/fits/psFitsImage.c
- Timestamp:
- Jan 26, 2009, 8:40:07 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsImage.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsImage.c
r19384 r21183 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.4 0$ $Name: not supported by cvs2svn $10 * @date $Date: 200 8-09-05 08:08:33$9 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2009-01-27 06:39:37 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 251 251 const psImage *image, // Image to convert 252 252 const psImage *mask, // Mask image, or NULL 253 ps MaskType maskVal, // Value to mask253 psImageMaskType maskVal, // Value to mask 254 254 psRandom *rng, // Random number generator 255 255 bool newScaleZero // Determine a new BSCALE and BZERO? … … 506 506 507 507 bool psFitsWriteImageWithMask(psFits *fits, psMetadata *header, const psImage *input, 508 const psImage *mask, ps MaskType maskVal, int numZPlanes,508 const psImage *mask, psImageMaskType maskVal, int numZPlanes, 509 509 const char *extname) 510 510 { … … 525 525 526 526 bool psFitsInsertImageWithMask(psFits *fits, psMetadata *header, const psImage *image, 527 const psImage *mask, ps MaskType maskVal, int numZPlanes,527 const psImage *mask, psImageMaskType maskVal, int numZPlanes, 528 528 const char *extname, bool after) 529 529 { … … 532 532 PS_ASSERT_IMAGE_NON_NULL(image, false); 533 533 if (mask) { 534 PS_ASSERT_IMAGE_TYPE(mask, PS_TYPE_ MASK, false);534 PS_ASSERT_IMAGE_TYPE(mask, PS_TYPE_IMAGE_MASK, false); 535 535 PS_ASSERT_IMAGES_SIZE_EQUAL(mask, image, false); 536 536 } … … 706 706 } 707 707 708 bool psFitsUpdateImageWithMask(psFits *fits, const psImage *input, const psImage *mask, ps MaskType maskVal,708 bool psFitsUpdateImageWithMask(psFits *fits, const psImage *input, const psImage *mask, psImageMaskType maskVal, 709 709 int x0, int y0, int z) 710 710 { … … 713 713 PS_ASSERT_IMAGE_NON_NULL(input, false); 714 714 if (mask) { 715 PS_ASSERT_IMAGE_TYPE(mask, PS_TYPE_ MASK, false);715 PS_ASSERT_IMAGE_TYPE(mask, PS_TYPE_IMAGE_MASK, false); 716 716 PS_ASSERT_IMAGES_SIZE_EQUAL(mask, input, false); 717 717 } … … 896 896 897 897 bool psFitsWriteImageCubeWithMask(psFits *fits, psMetadata *header, const psArray *input, 898 const psArray *masks, ps MaskType maskVal, const char *extname)898 const psArray *masks, psImageMaskType maskVal, const char *extname) 899 899 { 900 900 PS_ASSERT_FITS_NON_NULL(fits, false); … … 976 976 977 977 bool psFitsUpdateImageCubeWithMask(psFits *fits, const psArray *input, 978 const psArray *masks, ps MaskType maskVal, int x0, int y0)978 const psArray *masks, psImageMaskType maskVal, int x0, int y0) 979 979 { 980 980 PS_ASSERT_FITS_NON_NULL(fits, false);
Note:
See TracChangeset
for help on using the changeset viewer.
