IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3423


Ignore:
Timestamp:
Mar 15, 2005, 10:54:55 AM (21 years ago)
Author:
Paul Price
Message:

Added psImageGrowMask.

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/ChangeLogSDRS.tex

    r3420 r3423  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.73 2005-03-15 03:00:52 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.74 2005-03-15 20:54:49 price Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    486486\item Modified \code{psImageTransform} in preparation for image combination.
    487487\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.185 2005-03-15 03:00:57 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.186 2005-03-15 20:54:55 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    30103010datatype.  The return value shall be the number of pixels overlaid.
    30113011
    3012 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     3012\subsubsection{Mask operations}
     3013
     3014\begin{verbatim}
     3015psImage *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
     3021new image of the same type and dimension as \code{in} shall be
     3022allocated 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
     3024as \code{in}, the function shall generate an error and return
     3025\code{NULL}.  Pixels in the \code{in} image within \code{growSize}
     3026pixels (either horizontal or vertical) of a pixel which matches the
     3027\code{maskVal} shall have the corresponding pixel in the \code{out}
     3028image set to the \code{growValue}.  The function must be defined for
     3029the following types: \code{psU8}, \code{psU16}.
     3030
     3031
     3032%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    30133033
    30143034\subsection{Vector and Image Arithmetic}
     
    30163036
    30173037We 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 from an image, etc.  Both binary operations and unary operations are
    3020 required.  To avoid the burden of memorizing a plethora of APIs, we specify
    3021 two generic APIs for the binary and unary operations.
     3038images, e.g.\ dividing one image by another, subtracting a vector from
     3039an image, etc.  Both binary operations and unary operations are
     3040required.  To avoid the burden of memorizing a plethora of APIs, we
     3041specify two generic APIs for the binary and unary operations.
    30223042
    30233043\begin{verbatim}
Note: See TracChangeset for help on using the changeset viewer.