Changeset 3423
- Timestamp:
- Mar 15, 2005, 10:54:55 AM (21 years ago)
- Location:
- trunk/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/ChangeLogSDRS.tex
r3420 r3423 1 %%% $Id: ChangeLogSDRS.tex,v 1.7 3 2005-03-15 03:00:52price Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.74 2005-03-15 20:54:49 price Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 486 486 \item Modified \code{psImageTransform} in preparation for image combination. 487 487 \item Added \code{psPlaneTransformDeriv}. 488 \end{itemize} 488 \item Added \code{psImageGrowMask}. 489 \end{itemize} -
trunk/doc/pslib/psLibSDRS.tex
r3420 r3423 1 %%% $Id: psLibSDRS.tex,v 1.18 5 2005-03-15 03:00:57price Exp $1 %%% $Id: psLibSDRS.tex,v 1.186 2005-03-15 20:54:55 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 3010 3010 datatype. The return value shall be the number of pixels overlaid. 3011 3011 3012 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 3012 \subsubsection{Mask operations} 3013 3014 \begin{verbatim} 3015 psImage *psImageGrowMask(psImage *out, const psImage *in, unsigned int maskVal, 3016 unsigned int growSize, unsigned int growValue); 3017 \end{verbatim} 3018 3019 \code{psImageGrowMask} grows specified values on the input mask image, 3020 \code{in}, returning the result. If \code{out} is \code{NULL}, then a 3021 new image of the same type and dimension as \code{in} shall be 3022 allocated and returned; otherwise \code{out} shall be modified. If 3023 \code{out} is non-\code{NULL} and does not have the same size and type 3024 as \code{in}, the function shall generate an error and return 3025 \code{NULL}. Pixels in the \code{in} image within \code{growSize} 3026 pixels (either horizontal or vertical) of a pixel which matches the 3027 \code{maskVal} shall have the corresponding pixel in the \code{out} 3028 image set to the \code{growValue}. The function must be defined for 3029 the following types: \code{psU8}, \code{psU16}. 3030 3031 3032 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 3013 3033 3014 3034 \subsection{Vector and Image Arithmetic} … … 3016 3036 3017 3037 We will need to be able to perform various operations on vectors and 3018 images, e.g.\ dividing one image by another, subtracting a vector 3019 froman image, etc. Both binary operations and unary operations are3020 required. To avoid the burden of memorizing a plethora of APIs, we specify3021 two generic APIs for the binary and unary operations.3038 images, e.g.\ dividing one image by another, subtracting a vector from 3039 an image, etc. Both binary operations and unary operations are 3040 required. To avoid the burden of memorizing a plethora of APIs, we 3041 specify two generic APIs for the binary and unary operations. 3022 3042 3023 3043 \begin{verbatim}
Note:
See TracChangeset
for help on using the changeset viewer.
