Changeset 4362
- Timestamp:
- Jun 22, 2005, 4:10:51 PM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (24 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r4357 r4362 1 %%% $Id: ChangeLogSDRS.tex,v 1.1 49 2005-06-23 01:10:24price Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.150 2005-06-23 02:10:51 price Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 735 735 \item Removed \code{psLookupTableStatusType} (see bugs 304, 454). 736 736 \item Added \code{psArrayElementsFree} (already implemented). 737 \item Sizes in \code{psArray} are \code{unsigned long}.737 \item \code{psMask} changed to \code{psMaskType} (more clear). 738 738 \item Use the \code{region} in \code{psImageTransform} to set the size of the output image (bug 453). 739 739 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r4357 r4362 1 %%% $Id: psLibSDRS.tex,v 1.29 2 2005-06-23 01:10:24price Exp $1 %%% $Id: psLibSDRS.tex,v 1.293 2005-06-23 02:10:51 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1611 1611 \begin{datatype} 1612 1612 typedef struct { 1613 const unsigned long n;///< size of array1614 const unsigned long nalloc;///< allocated data block1613 const long n; ///< size of array 1614 const long nalloc; ///< allocated data block 1615 1615 psPtr *data; ///< pointer to data block 1616 1616 void *lock; ///< Optional lock for thread safety … … 1625 1625 % 1626 1626 \begin{prototype} 1627 psArray *psArrayAlloc( unsignedlong nalloc);1628 psArray *psArrayRealloc(psArray *array, unsignedlong nalloc);1627 psArray *psArrayAlloc(long nalloc); 1628 psArray *psArrayRealloc(psArray *array, long nalloc); 1629 1629 \end{prototype} 1630 1630 % … … 3915 3915 3916 3916 \begin{datatype} 3917 typedef psU8 psMask ;3917 typedef psU8 psMaskType; 3918 3918 \end{datatype} 3919 3919 … … 3952 3952 const psVector *errors, 3953 3953 const psVector *mask, 3954 psMask maskVal3954 psMaskType maskVal 3955 3955 ); 3956 3956 \end{prototype} … … 3981 3981 clipped statistics are modified according to the ADD; the robust 3982 3982 median and quartiles are modified as specified in the ADD. The mask 3983 must be of type \code{psMask }.3983 must be of type \code{psMaskType}. 3984 3984 3985 3985 The \code{psStats} structure is defined with entries for each of the … … 4096 4096 const psVector *errors, 4097 4097 const psVector *mask, 4098 psMask maskVal);4098 psMaskType maskVal); 4099 4099 \end{prototype} 4100 4100 The \code{values} vector may be of types \code{psU8, psU16, psF32, … … 4408 4408 identical. 4409 4409 4410 \code{paramMask} must be of type \code{psMask }, while \code{params}4410 \code{paramMask} must be of type \code{psMaskType}, while \code{params} 4411 4411 must be of type \code{psF32}. The \code{func} function must be valid 4412 4412 only for types \code{psF32}, \code{psF64}. … … 4518 4518 psPolynomial1D *psVectorFitPolynomial1D(psPolynomial1D *poly, 4519 4519 const psVector *mask, 4520 psMask maskValue4520 psMaskType maskValue 4521 4521 const psVector *f, 4522 4522 const psVector *fErr 4523 4523 const psVector *x); 4524 psPolynomial2D *psVectorFitPolynomial2D(psPolynomial 1D *poly,4524 psPolynomial2D *psVectorFitPolynomial2D(psPolynomial2D *poly, 4525 4525 const psVector *mask, 4526 psMask maskValue4526 psMaskType maskValue 4527 4527 const psVector *f, 4528 4528 const psVector *fErr 4529 4529 const psVector *x, 4530 4530 const psVector *y); 4531 psPolynomial3D *psVectorFitPolynomial3D(psPolynomial 1D *poly,4531 psPolynomial3D *psVectorFitPolynomial3D(psPolynomial3D *poly, 4532 4532 const psVector *mask, 4533 psMask maskValue4533 psMaskType maskValue 4534 4534 const psVector *f, 4535 4535 const psVector *fErr … … 4537 4537 const psVector *y, 4538 4538 const psVector *z); 4539 psPolynomial4D *psVectorFitPolynomial4D(psPolynomial 1D *poly,4539 psPolynomial4D *psVectorFitPolynomial4D(psPolynomial4D *poly, 4540 4540 const psVector *mask, 4541 psMask maskValue4541 psMaskType maskValue 4542 4542 const psVector *f, 4543 4543 const psVector *fErr … … 4565 4565 psStats *stats, 4566 4566 const psVector *mask, 4567 psMask maskValue4567 psMaskType maskValue 4568 4568 const psVector *f, 4569 4569 const psVector *fErr 4570 4570 const psVector *x); 4571 psPolynomial2D *psVectorClipFitPolynomial2D(psPolynomial 1D *poly,4571 psPolynomial2D *psVectorClipFitPolynomial2D(psPolynomial2D *poly, 4572 4572 psStats *stats, 4573 4573 const psVector *mask, 4574 psMask maskValue4574 psMaskType maskValue 4575 4575 const psVector *f, 4576 4576 const psVector *fErr 4577 4577 const psVector *x, 4578 4578 const psVector *y); 4579 psPolynomial3D *psVectorClipFitPolynomial3D(psPolynomial 1D *poly,4579 psPolynomial3D *psVectorClipFitPolynomial3D(psPolynomial3D *poly, 4580 4580 psStats *stats, 4581 4581 const psVector *mask, 4582 psMask maskValue4582 psMaskType maskValue 4583 4583 const psVector *f, 4584 4584 const psVector *fErr … … 4586 4586 const psVector *y, 4587 4587 const psVector *z); 4588 psPolynomial4D *psVectorClipFitPolynomial4D(psPolynomial 1D *poly,4588 psPolynomial4D *psVectorClipFitPolynomial4D(psPolynomial4D *poly, 4589 4589 psStats *stats, 4590 4590 const psVector *mask, 4591 psMask maskValue4591 psMaskType maskValue 4592 4592 const psVector *f, 4593 4593 const psVector *fErr … … 4696 4696 const psImage *input, 4697 4697 const psImage *mask, 4698 psMask maskVal,4698 psMaskType maskVal, 4699 4699 psRegion region, 4700 4700 psImageCutDirection direction, … … 4731 4731 const psImage *input, 4732 4732 const psImage *mask, 4733 psMask maskVal,4733 psMaskType maskVal, 4734 4734 psRegion region, 4735 4735 unsigned int nSamples, … … 4751 4751 const psImage *input, 4752 4752 const psImage *mask, 4753 psMask maskVal,4753 psMaskType maskVal, 4754 4754 float x, 4755 4755 float y, … … 4802 4802 psImage *psImageRebin(psImage *out, const psImage *in, 4803 4803 const psImage *mask, 4804 psMask maskVal,4804 psMaskType maskVal, 4805 4805 int scale, const psStats *stats); 4806 4806 \end{prototype} … … 4876 4876 const psImage *input, 4877 4877 const psImage *inputMask, 4878 psMask inputMaskVal,4878 psMaskType inputMaskVal, 4879 4879 const psPlaneTransform *outToIn, 4880 4880 psRegion region, … … 4891 4891 If the \code{inputMask} is non-\code{NULL}, those pixels in the 4892 4892 \code{inputMask} matching \code{inputMaskVal} are to be ignored in the 4893 transformation. The \code{inputMask} must be of type \code{psMask }, and4893 transformation. The \code{inputMask} must be of type \code{psMaskType}, and 4894 4894 of the same size as the \code{input}, otherwise the function shall 4895 4895 generate an error and return \code{NULL}. The transformation … … 4917 4917 const psImage *in, 4918 4918 const psImage *mask, 4919 psMask maskVal);4919 psMaskType maskVal); 4920 4920 \end{prototype} 4921 4921 Determine statistics for image (or subimage). The statistics to be … … 4930 4930 const psImage *in, 4931 4931 const psImage *mask, 4932 psMask maskVal);4932 psMaskType maskVal); 4933 4933 \end{prototype} 4934 4934 Construct a histogram from an image (or subimage). The histogram to … … 4958 4958 \begin{prototype} 4959 4959 complex double psImagePixelInterpolate(const psImage *input, float x, float y, 4960 const psImage *mask, psMask maskVal,4960 const psImage *mask, psMaskType maskVal, 4961 4961 complex double unexposedValue, psImageInterpolateMode mode); 4962 4962 \end{prototype} … … 5056 5056 image set to the \code{growValue}. The function must be defined for 5057 5057 the following types: \code{psU8}, \code{psU16}. Note that 5058 \code{maskVal} and \code{growVal} are not of type \code{psMask }, but5058 \code{maskVal} and \code{growVal} are not of type \code{psMaskType}, but 5059 5059 \code{psU16} so that they match the maximum required type for the 5060 5060 \code{in} image. 5061 5061 5062 5062 \begin{prototype} 5063 psImage *psPixelsToMask(psImage *out, const psPixels *pixels, psRegion region, psMask maskVal);5064 psPixels *psPixelsFromMask(psPixels *out, const psImage *mask, psMask maskVal);5065 \end{prototype} 5066 5067 \code{psPixelsToMask} shall return an image of type \code{psMask } with5063 psImage *psPixelsToMask(psImage *out, const psPixels *pixels, psRegion region, psMaskType maskVal); 5064 psPixels *psPixelsFromMask(psPixels *out, const psImage *mask, psMaskType maskVal); 5065 \end{prototype} 5066 5067 \code{psPixelsToMask} shall return an image of type \code{psMaskType} with 5068 5068 the \code{pixels} lying within the specified \code{region} set to the 5069 5069 \code{maskVal}. The \code{out} image shall be modified if supplied, … … 5083 5083 5084 5084 \begin{prototype} 5085 void psImageMaskRegion(psImage *image, psRegion region, const char *op, psMask maskValue);5086 void psImageKeepRegion(psImage *image, psRegion region, const char *op, psMask maskValue);5085 void psImageMaskRegion(psImage *image, psRegion region, const char *op, psMaskType maskValue); 5086 void psImageKeepRegion(psImage *image, psRegion region, const char *op, psMaskType maskValue); 5087 5087 \end{prototype} 5088 5088 … … 5099 5099 \begin{prototype} 5100 5100 void psImageMaskCircle(psImage *image, double x, double y, double radius, const char *op, 5101 psMask maskValue);5101 psMaskType maskValue); 5102 5102 void psImageKeepCircle(psImage *image, double x, double y, double radius, const char *op, 5103 psMask maskValue);5103 psMaskType maskValue); 5104 5104 \end{prototype} 5105 5105
Note:
See TracChangeset
for help on using the changeset viewer.
