Changeset 3990
- Timestamp:
- May 19, 2005, 1:57:37 PM (21 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 15 edited
-
astro/psCoord.c (modified) (9 diffs)
-
astronomy/psCoord.c (modified) (9 diffs)
-
collections/psPixels.h (modified) (2 diffs)
-
dataManip/psConstants.h (modified) (9 diffs)
-
dataManip/psFunctions.c (modified) (2 diffs)
-
dataManip/psMinimize.c (modified) (2 diffs)
-
dataManip/psStats.c (modified) (4 diffs)
-
image/psImage.h (modified) (2 diffs)
-
math/psConstants.h (modified) (9 diffs)
-
math/psMinimize.c (modified) (2 diffs)
-
math/psPolynomial.c (modified) (2 diffs)
-
math/psSpline.c (modified) (2 diffs)
-
math/psStats.c (modified) (4 diffs)
-
mathtypes/psImage.h (modified) (2 diffs)
-
types/psPixels.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.c
r3977 r3990 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.6 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-05-19 05:18:20$12 * @version $Revision: 1.68 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-05-19 23:57:36 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 89 89 (Y2 * (1.0 / (F - ((C*E)/B)))); 90 90 91 XXX: Since th re is now a general psPlaneTransformInvert() function, we91 XXX: Since there is now a general psPlaneTransformInvert() function, we 92 92 should rename this. 93 93 *****************************************************************************/ … … 122 122 psPlaneTransform *out = psPlaneTransformAlloc(2, 2); 123 123 124 /* This is sample code from IfA. It didn't work initially, and I did not 125 spend any time debugging it. 126 127 psF64 a = transform->x->coeff[1][0]; 128 psF64 b = transform->x->coeff[0][1]; 129 psF64 c = transform->y->coeff[1][0]; 130 psF64 d = transform->y->coeff[0][1]; 131 psF64 e = transform->x->coeff[0][0]; 132 psF64 f = transform->y->coeff[0][0]; 133 134 psF64 invDet = 1.0 / (a * d - b * c); // Inverse of the determinant 135 136 // Not entirely sure why this works, but it appears to do so....................................! 137 out->x->coeff[1][0] = invDet * a; 138 out->x->coeff[0][1] = - invDet * b; 139 out->y->coeff[1][0] = - invDet * c; 140 out->y->coeff[0][1] = invDet * d; 141 142 out->x->coeff[0][0] = - invDet * (d * e + c * f); 143 out->y->coeff[0][0] = - invDet * (b * e + a * f); 144 */ 124 145 out->x->coeff[0][0] = (-D + ((F*A)/C)) / (E - ((F*B)/C)); 125 146 out->x->coeff[1][0] = -(F/C) / (E - ((F*B)/C)); … … 1032 1053 psS32 numCoords = PS_MIN(source->n, dest->n); 1033 1054 psS32 order = PS_MAX(trans->x->nX, trans->x->nY); 1055 order = PS_MAX(order, trans->y->nX); 1056 order = PS_MAX(order, trans->y->nY); 1034 1057 1035 1058 // … … 1133 1156 psPlaneTransform *psPlaneTransformInvert(psPlaneTransform *out, 1134 1157 const psPlaneTransform *in, 1135 psRegion region,1158 psRegion *region, 1136 1159 int nSamples) 1137 1160 { … … 1151 1174 psError(PS_ERR_BAD_PARAMETER_TYPE, true, "Input transformation must have same nX==nY."); 1152 1175 } 1153 psS32 order = PS_MAX(in->x->nX, in->x->nY);1176 psS32 order = in->x->nX; 1154 1177 1155 1178 psPlaneTransform *myPT = NULL; … … 1197 1220 1198 1221 // 1199 // Initialize the grid. 1222 // Initialize the grid. Since we want the inverse of the transformation, the 1223 // inCoords are written to the outData vector, and the outCoords are written 1224 // to the inData vector. 1200 1225 // 1201 1226 psS32 cnt = 0; … … 1205 1230 inCoord->x = region.x0 + ((psF32) xint) * ((region.x1 - region.x0) / ((psF32) nSamples)); 1206 1231 (void)psPlaneTransformApply(outCoord, in, inCoord); 1207 1208 1232 ((psPlane *) outData->data[cnt])->x = inCoord->x; 1209 1233 ((psPlane *) outData->data[cnt])->y = inCoord->y; … … 1214 1238 } 1215 1239 } 1240 // XXX: what values should be used here? 1216 1241 bool rc = psPlaneTransformFit(myPT, inData, outData, 10, 100.0); 1217 1242 -
trunk/psLib/src/astronomy/psCoord.c
r3977 r3990 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.6 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-05-19 05:18:20$12 * @version $Revision: 1.68 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-05-19 23:57:36 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 89 89 (Y2 * (1.0 / (F - ((C*E)/B)))); 90 90 91 XXX: Since th re is now a general psPlaneTransformInvert() function, we91 XXX: Since there is now a general psPlaneTransformInvert() function, we 92 92 should rename this. 93 93 *****************************************************************************/ … … 122 122 psPlaneTransform *out = psPlaneTransformAlloc(2, 2); 123 123 124 /* This is sample code from IfA. It didn't work initially, and I did not 125 spend any time debugging it. 126 127 psF64 a = transform->x->coeff[1][0]; 128 psF64 b = transform->x->coeff[0][1]; 129 psF64 c = transform->y->coeff[1][0]; 130 psF64 d = transform->y->coeff[0][1]; 131 psF64 e = transform->x->coeff[0][0]; 132 psF64 f = transform->y->coeff[0][0]; 133 134 psF64 invDet = 1.0 / (a * d - b * c); // Inverse of the determinant 135 136 // Not entirely sure why this works, but it appears to do so....................................! 137 out->x->coeff[1][0] = invDet * a; 138 out->x->coeff[0][1] = - invDet * b; 139 out->y->coeff[1][0] = - invDet * c; 140 out->y->coeff[0][1] = invDet * d; 141 142 out->x->coeff[0][0] = - invDet * (d * e + c * f); 143 out->y->coeff[0][0] = - invDet * (b * e + a * f); 144 */ 124 145 out->x->coeff[0][0] = (-D + ((F*A)/C)) / (E - ((F*B)/C)); 125 146 out->x->coeff[1][0] = -(F/C) / (E - ((F*B)/C)); … … 1032 1053 psS32 numCoords = PS_MIN(source->n, dest->n); 1033 1054 psS32 order = PS_MAX(trans->x->nX, trans->x->nY); 1055 order = PS_MAX(order, trans->y->nX); 1056 order = PS_MAX(order, trans->y->nY); 1034 1057 1035 1058 // … … 1133 1156 psPlaneTransform *psPlaneTransformInvert(psPlaneTransform *out, 1134 1157 const psPlaneTransform *in, 1135 psRegion region,1158 psRegion *region, 1136 1159 int nSamples) 1137 1160 { … … 1151 1174 psError(PS_ERR_BAD_PARAMETER_TYPE, true, "Input transformation must have same nX==nY."); 1152 1175 } 1153 psS32 order = PS_MAX(in->x->nX, in->x->nY);1176 psS32 order = in->x->nX; 1154 1177 1155 1178 psPlaneTransform *myPT = NULL; … … 1197 1220 1198 1221 // 1199 // Initialize the grid. 1222 // Initialize the grid. Since we want the inverse of the transformation, the 1223 // inCoords are written to the outData vector, and the outCoords are written 1224 // to the inData vector. 1200 1225 // 1201 1226 psS32 cnt = 0; … … 1205 1230 inCoord->x = region.x0 + ((psF32) xint) * ((region.x1 - region.x0) / ((psF32) nSamples)); 1206 1231 (void)psPlaneTransformApply(outCoord, in, inCoord); 1207 1208 1232 ((psPlane *) outData->data[cnt])->x = inCoord->x; 1209 1233 ((psPlane *) outData->data[cnt])->y = inCoord->y; … … 1214 1238 } 1215 1239 } 1240 // XXX: what values should be used here? 1216 1241 bool rc = psPlaneTransformFit(myPT, inData, outData, 10, 100.0); 1217 1242 -
trunk/psLib/src/collections/psPixels.h
r3959 r3990 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-05-1 8 21:38:19$9 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-05-19 23:57:36 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 79 79 * 80 80 * psPixelsToMask shall return an image of type U8 with the pixels lying 81 * within the speci ï¬ed region set to the maskVal. The out image shall be82 * modi ï¬ed if supplied, or allocated and returned if NULL. The size of the81 * within the specified region set to the maskVal. The out image shall be 82 * modified if supplied, or allocated and returned if NULL. The size of the 83 83 * output image shall be region->x1 - region->x0 by region->y1 - region->y0, 84 84 * with out->x0 = region->x0 and out->y0 = region->y0. In the event that -
trunk/psLib/src/dataManip/psConstants.h
r3884 r3990 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.6 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-05-1 1 22:02:16$8 * @version $Revision: 1.67 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-05-19 23:57:37 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 * that we ensure that an argument which is expected to be output is 18 18 * psFree'ed before reurning NULL. 19 * 20 * XXX: The macros have a name similar to PS_CHECK_CONDITION() and generally 21 * throw a psError if the CONDITION is true. However, some throw the error 22 * if the CONDITION is false. This should be consistant. 19 23 * 20 24 */ … … 68 72 } 69 73 74 // Return an error if the arg is less than zero. 75 #define PS_INT_CHECK_NEGATIVE(NAME, RVAL) \ 76 if (NAME < 0) { \ 77 psError(PS_ERR_BAD_PARAMETER_VALUE, true, \ 78 "Error: %s is less than 0.", #NAME); \ 79 return(RVAL); \ 80 } 81 82 // Return an error if the arg is less than zero. 83 // XXX: This naming scheme is opposite most other macros. This should be 84 // corrected as soon as a fresh checkin/out can be performed. 70 85 #define PS_INT_CHECK_NON_NEGATIVE(NAME, RVAL) \ 71 86 if (NAME < 0) { \ … … 75 90 } 76 91 92 // Return an error if the arg is less than or equal to zero. 93 // XXX: This naming scheme is opposite most other macros. This should be 94 // corrected as soon as a fresh checkin/out can be performed. 77 95 #define PS_INT_CHECK_POSITIVE(NAME, RVAL) \ 78 96 if (NAME < 1) { \ … … 82 100 } 83 101 102 // Return an error if the arg is not equal to zero. 103 #define PS_INT_CHECK_NON_ZERO(NAME, RVAL) \ 104 if (NAME != 0) { \ 105 psError(PS_ERR_BAD_PARAMETER_VALUE, true, \ 106 "Error: %s is 0.", #NAME); \ 107 return(RVAL); \ 108 } 109 110 // Return an error if the arg is equal to zero. 84 111 #define PS_INT_CHECK_ZERO(NAME, RVAL) \ 85 if (NAME < 1) { \112 if (NAME == 0) { \ 86 113 psError(PS_ERR_BAD_PARAMETER_VALUE, true, \ 87 114 "Error: %s is 0.", #NAME); \ … … 89 116 } 90 117 118 // Return an error if the arg is lies outside the supplied range. 91 119 #define PS_INT_CHECK_RANGE(NAME, LOWER, UPPER, RVAL) \ 92 120 if ((int)NAME < LOWER || (int)NAME > UPPER) { \ … … 106 134 } 107 135 108 109 136 // Produce an error if ((NAME1 > NAME2) 110 137 #define PS_FLOAT_COMPARE(NAME1, NAME2, RVAL) \ … … 116 143 } 117 144 145 // Generate an error if the two floats are equal. 146 // XXX: Inconsistent naming. 118 147 #define PS_FLOAT_CHECK_NON_EQUAL(NAME1, NAME2, RVAL) \ 119 148 if (fabs(NAME2 - NAME1) < FLT_EPSILON) { \ … … 124 153 } 125 154 155 // Return an error if the arg is lies outside the supplied range. 126 156 #define PS_FLOAT_CHECK_RANGE(NAME, LOWER, UPPER, RVAL) \ 127 157 if ((NAME) < (LOWER) || (NAME) > (UPPER)) { \ -
trunk/psLib/src/dataManip/psFunctions.c
r3988 r3990 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.10 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-05-19 2 2:53:47 $9 * @version $Revision: 1.103 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-05-19 23:57:37 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 247 247 { 248 248 PS_INT_CHECK_NON_NEGATIVE(maxChebyPoly, NULL); 249 250 printf("HERE: 00\n");251 249 252 250 psPolynomial1D **chebPolys = NULL; -
trunk/psLib/src/dataManip/psMinimize.c
r3989 r3990 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.11 8$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-05-19 23:5 2:19$11 * @version $Revision: 1.119 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-05-19 23:57:37 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1437 1437 min->value = 0.0; 1438 1438 min->iter = 0; 1439 min->lastDelta = tol + 1;1439 min->lastDelta = NAN; 1440 1440 1441 1441 return(min); -
trunk/psLib/src/dataManip/psStats.c
r3769 r3990 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.12 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 4-26 19:53:30$11 * @version $Revision: 1.127 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-05-19 23:57:37 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1512 1512 1513 1513 // Determine minimum and maximum values in the data vector. 1514 // XXX: remove this conditional? 1514 1515 if (isnan(tmpStats->min)) { 1515 1516 if (0 != p_psVectorMin(myVector, maskVector, maskVal, tmpStats)) { … … 1519 1520 } 1520 1521 } 1522 // XXX: remove this conditional? 1521 1523 if (isnan(tmpStats->max)) { 1522 1524 if (0 != p_psVectorMax(myVector, maskVector, maskVal, tmpStats)) { … … 1656 1658 } 1657 1659 1658 1660 // XXX: Must fit a 2-D polynomial, not a Gaussian. (bug 366) 1659 1661 psBool rc = psMinimizeLMChi2(min, 1660 1662 NULL, -
trunk/psLib/src/image/psImage.h
r3977 r3990 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.5 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-05-19 05:18:20$13 * @version $Revision: 1.53 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-05-19 23:57:37 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 20 20 21 21 #include <complex.h> 22 22 #include <stdio.h> 23 23 #include "psType.h" 24 24 #include "psArray.h" -
trunk/psLib/src/math/psConstants.h
r3884 r3990 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.6 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-05-1 1 22:02:16$8 * @version $Revision: 1.67 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-05-19 23:57:37 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 17 17 * that we ensure that an argument which is expected to be output is 18 18 * psFree'ed before reurning NULL. 19 * 20 * XXX: The macros have a name similar to PS_CHECK_CONDITION() and generally 21 * throw a psError if the CONDITION is true. However, some throw the error 22 * if the CONDITION is false. This should be consistant. 19 23 * 20 24 */ … … 68 72 } 69 73 74 // Return an error if the arg is less than zero. 75 #define PS_INT_CHECK_NEGATIVE(NAME, RVAL) \ 76 if (NAME < 0) { \ 77 psError(PS_ERR_BAD_PARAMETER_VALUE, true, \ 78 "Error: %s is less than 0.", #NAME); \ 79 return(RVAL); \ 80 } 81 82 // Return an error if the arg is less than zero. 83 // XXX: This naming scheme is opposite most other macros. This should be 84 // corrected as soon as a fresh checkin/out can be performed. 70 85 #define PS_INT_CHECK_NON_NEGATIVE(NAME, RVAL) \ 71 86 if (NAME < 0) { \ … … 75 90 } 76 91 92 // Return an error if the arg is less than or equal to zero. 93 // XXX: This naming scheme is opposite most other macros. This should be 94 // corrected as soon as a fresh checkin/out can be performed. 77 95 #define PS_INT_CHECK_POSITIVE(NAME, RVAL) \ 78 96 if (NAME < 1) { \ … … 82 100 } 83 101 102 // Return an error if the arg is not equal to zero. 103 #define PS_INT_CHECK_NON_ZERO(NAME, RVAL) \ 104 if (NAME != 0) { \ 105 psError(PS_ERR_BAD_PARAMETER_VALUE, true, \ 106 "Error: %s is 0.", #NAME); \ 107 return(RVAL); \ 108 } 109 110 // Return an error if the arg is equal to zero. 84 111 #define PS_INT_CHECK_ZERO(NAME, RVAL) \ 85 if (NAME < 1) { \112 if (NAME == 0) { \ 86 113 psError(PS_ERR_BAD_PARAMETER_VALUE, true, \ 87 114 "Error: %s is 0.", #NAME); \ … … 89 116 } 90 117 118 // Return an error if the arg is lies outside the supplied range. 91 119 #define PS_INT_CHECK_RANGE(NAME, LOWER, UPPER, RVAL) \ 92 120 if ((int)NAME < LOWER || (int)NAME > UPPER) { \ … … 106 134 } 107 135 108 109 136 // Produce an error if ((NAME1 > NAME2) 110 137 #define PS_FLOAT_COMPARE(NAME1, NAME2, RVAL) \ … … 116 143 } 117 144 145 // Generate an error if the two floats are equal. 146 // XXX: Inconsistent naming. 118 147 #define PS_FLOAT_CHECK_NON_EQUAL(NAME1, NAME2, RVAL) \ 119 148 if (fabs(NAME2 - NAME1) < FLT_EPSILON) { \ … … 124 153 } 125 154 155 // Return an error if the arg is lies outside the supplied range. 126 156 #define PS_FLOAT_CHECK_RANGE(NAME, LOWER, UPPER, RVAL) \ 127 157 if ((NAME) < (LOWER) || (NAME) > (UPPER)) { \ -
trunk/psLib/src/math/psMinimize.c
r3989 r3990 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.11 8$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-05-19 23:5 2:19$11 * @version $Revision: 1.119 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-05-19 23:57:37 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1437 1437 min->value = 0.0; 1438 1438 min->iter = 0; 1439 min->lastDelta = tol + 1;1439 min->lastDelta = NAN; 1440 1440 1441 1441 return(min); -
trunk/psLib/src/math/psPolynomial.c
r3988 r3990 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.10 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-05-19 2 2:53:47 $9 * @version $Revision: 1.103 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-05-19 23:57:37 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 247 247 { 248 248 PS_INT_CHECK_NON_NEGATIVE(maxChebyPoly, NULL); 249 250 printf("HERE: 00\n");251 249 252 250 psPolynomial1D **chebPolys = NULL; -
trunk/psLib/src/math/psSpline.c
r3988 r3990 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.10 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-05-19 2 2:53:47 $9 * @version $Revision: 1.103 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-05-19 23:57:37 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 247 247 { 248 248 PS_INT_CHECK_NON_NEGATIVE(maxChebyPoly, NULL); 249 250 printf("HERE: 00\n");251 249 252 250 psPolynomial1D **chebPolys = NULL; -
trunk/psLib/src/math/psStats.c
r3769 r3990 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.12 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 4-26 19:53:30$11 * @version $Revision: 1.127 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-05-19 23:57:37 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1512 1512 1513 1513 // Determine minimum and maximum values in the data vector. 1514 // XXX: remove this conditional? 1514 1515 if (isnan(tmpStats->min)) { 1515 1516 if (0 != p_psVectorMin(myVector, maskVector, maskVal, tmpStats)) { … … 1519 1520 } 1520 1521 } 1522 // XXX: remove this conditional? 1521 1523 if (isnan(tmpStats->max)) { 1522 1524 if (0 != p_psVectorMax(myVector, maskVector, maskVal, tmpStats)) { … … 1656 1658 } 1657 1659 1658 1660 // XXX: Must fit a 2-D polynomial, not a Gaussian. (bug 366) 1659 1661 psBool rc = psMinimizeLMChi2(min, 1660 1662 NULL, -
trunk/psLib/src/mathtypes/psImage.h
r3977 r3990 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.5 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-05-19 05:18:20$13 * @version $Revision: 1.53 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-05-19 23:57:37 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 20 20 21 21 #include <complex.h> 22 22 #include <stdio.h> 23 23 #include "psType.h" 24 24 #include "psArray.h" -
trunk/psLib/src/types/psPixels.h
r3959 r3990 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-05-1 8 21:38:19$9 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-05-19 23:57:36 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 79 79 * 80 80 * psPixelsToMask shall return an image of type U8 with the pixels lying 81 * within the speci ï¬ed region set to the maskVal. The out image shall be82 * modi ï¬ed if supplied, or allocated and returned if NULL. The size of the81 * within the specified region set to the maskVal. The out image shall be 82 * modified if supplied, or allocated and returned if NULL. The size of the 83 83 * output image shall be region->x1 - region->x0 by region->y1 - region->y0, 84 84 * with out->x0 = region->x0 and out->y0 = region->y0. In the event that
Note:
See TracChangeset
for help on using the changeset viewer.
