IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5373


Ignore:
Timestamp:
Oct 18, 2005, 5:12:34 PM (21 years ago)
Author:
eugene
Message:

added notes for psRegion concerns

Location:
trunk/doc/pslib
Files:
2 edited

Legend:

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

    r5063 r5373  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.173 2005-09-16 22:25:26 price Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.174 2005-10-19 03:12:34 eugene Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    791791\end{itemize}
    792792
    793 \subsection{Changes from Revision 16 (13 Sept 2005) to present}
     793\subsection{Changes from Revision 16 (13 Sept 2005) to Revision 17 (18 Oct 2005)}
    794794
    795795\begin{itemize}
     
    799799\item changed psPolynomial masks from char to psU8.
    800800\item changed \code{psImage.col0,row0} changed from const.
    801 \item Removed \code{{psMath}
    802 
    803 \end{itemize}
    804 
     801\item Removed \code{psMath}
     802\item set \code{psPolynomial} order elements (nX, nY, etc)
     803\end{itemize}
     804
  • trunk/doc/pslib/psLibSDRS.tex

    r5372 r5373  
    1 %%% $Id: psLibSDRS.tex,v 1.347 2005-10-19 02:57:36 eugene Exp $
     1%%% $Id: psLibSDRS.tex,v 1.348 2005-10-19 03:12:34 eugene Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    1111\project{Pan-STARRS Image Processing Pipeline}
    1212\organization{Institute for Astronomy}
    13 \version{16}
     13\version{17}
    1414\docnumber{PSDC-430-007}
    1515
     
    484815 & 2005 Jun 15 & draft for cycle 7 \\ \hline
    494916 & 2005 Sep 13 & final for cycle 8 \\ \hline
     5017 & 2005 Sep 13 & draft for cycle 9 \\ \hline
    5051\RevisionsEnd
    5152
     
    35993600lower bounds of the image, the coordinates should saturate on those
    36003601limits.  The output of this function is always a valid region, though
    3601 it may define an area of 0 pixels.
     3602it may define an area of 0 pixels. \tbd{if Image is a subimage, do
     3603region coordinates refer to image or subimage?}
    36023604
    36033605
     
    40824084\code{psF64}).  The user is expected to convert the data type as
    40834085needed with \code{psImageCopy}.  The return value must be 0 for a
    4084 successful operation and 1 for an error.
     4086successful operation and 1 for an error.  \tbd{is region in the frame
     4087of input or of disk image?  how do image coordinates relate to disk
     4088image coords?}
    40854089
    40864090\begin{prototype}
     
    50135017region.  In the event that \code{region.x1} or \code{region.y1} are
    50145018negative, they shall be interpreted as being relative to the size of
    5015 the parent image in that dimension.
     5019the parent image in that dimension. \tbd{how is region interpreted if
     5020image is a subimage?}
    50165021
    50175022The function shall generate an error if the specified region is
     
    50665071the region.  In the event that \code{region.x1} or \code{region.y1}
    50675072are negative, they shall be interpreted as being relative to the size
    5068 of the parent image in that dimension.
     5073of the parent image in that dimension. \tbd{how is region interpreted
     5074  if input is a subimage?}
    50695075
    50705076The input region is collapsed in the direction perpendicular to that
     
    51015107corresponding mask value is \code{maskVal} are not included in the
    51025108interpolation.  This function must be defined for the following types:
    5103 \code{psS8}, \code{psU16}, \code{psF32}, \code{psF64}.
     5109\code{psS8}, \code{psU16}, \code{psF32}, \code{psF64}. \tbd{how is
     5110region interpreted if input is a subimage?}
    51045111
    51055112\begin{prototype}
     
    52435250\code{region} (size \code{region.x1 - region.x0} by \code{region.y1 -
    52445251region.y0}, with \code{out->x0 = region.x0} and \code{out->y0 =
    5245 region.y0}).
     5252region.y0}).  \tbd{is this subimage-safe}
    52465253
    52475254If the \code{inputMask} is non-\code{NULL}, those pixels in the
     
    53015308This function returns the number of pixels in the image region which
    53025309satisfy any of the mask bits.  An error (eg, invalid image, invalid
    5303 region) results in a return value of -1.
     5310region) results in a return value of -1. \tbd{how should region be
     5311interpreted if mask is a subimage?}
    53045312
    53055313\begin{prototype}
     
    54245432\end{prototype}
    54255433
    5426 \code{psPixelsToMask} shall return an image of type \code{psMaskType} with
    5427 the \code{pixels} lying within the specified \code{region} set to the
    5428 \code{maskVal}.  The \code{out} image shall be modified if supplied,
    5429 or allocated and returned if \code{NULL}.  The size of the output
    5430 image shall be \code{region.x1 - region.x0} by \code{region.y1 -
    5431 region.y0}, with \code{out->x0 = region.x0} and \code{out->y0 =
     5434\code{psPixelsToMask} shall return an image of type \code{psMaskType}
     5435with the \code{pixels} lying within the specified \code{region} set to
     5436the \code{maskVal}.  The \code{out} image shall be modified if
     5437supplied, or allocated and returned if \code{NULL}.  The size of the
     5438output image shall be \code{region.x1 - region.x0} by \code{region.y1
     5439- region.y0}, with \code{out->x0 = region.x0} and \code{out->y0 =
    54325440region.y0}.  In the event that either of \code{pixels} or
    54335441\code{region} are \code{NULL}, the function shall generate an error
    5434 and return \code{NULL}.
     5442and return \code{NULL}. \tbd{is this subimage-safe?}
    54355443
    54365444\code{psMaskToPixels} shall return a \code{psPixels} containing the
     
    54545462by combining the existing pixel value and the given \code{maskValue}
    54555463with a logical operation.  The allowed operations are \code{=},
    5456 \code{AND}, \code{OR} and \code{XOR}.
     5464\code{AND}, \code{OR} and \code{XOR}. \tbd{is this subimage-safe?}
    54575465
    54585466\begin{prototype}
     
    64676475return the inverse transformation.  In the event that \code{out} is
    64686476\code{NULL}, a new \code{psPlaneTransform} shall be allocated and
    6469 returned.
     6477returned. \tbd{is this subimage-safe?}
    64706478
    64716479\code{psPlaneTransformCombine} takes two transformations
Note: See TracChangeset for help on using the changeset viewer.