IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 13, 2004, 2:32:21 PM (22 years ago)
Author:
Paul Price
Message:

Added psImageSubsection, which makes a subimage on the basis of an
image section, [x1:x2,y1:y2] (like a BIASSEC in IRAF).

File:
1 edited

Legend:

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

    r1534 r1535  
    1 %%% $Id: psLibSDRS.tex,v 1.68 2004-08-14 00:30:36 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.69 2004-08-14 00:32:21 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    23172317following types: \code{psU8}, \code{psU16}, \code{psS8}, \code{psS16},
    23182318\code{psF32}, \code{psF64}, \code{psC32}, \code{psC64}.
     2319
     2320\begin{verbatim}
     2321/// Create a subimage of the area specified by an image section, [x1:x2,y1:y2]
     2322psImage *
     2323psImageSubsection(const psImage *image, ///< Parent image
     2324                  const *section        ///< Image section, of the form [x1:x2,y1:y2]
     2325    );
     2326\end{verbatim}
     2327Similar to \code{psImageSubset}, but uses an image \code{section}, of
     2328the form \code{[x1:x2,y1:y2]}.  If the image section is not fully
     2329contained within the input \code{image}, then the function shall
     2330generate an error and return \code{NULL}.  Note that the
     2331\code{refCounter} for the parent should be incremented.  This function
     2332must be defined for the following types: \code{psU8}, \code{psU16},
     2333\code{psS8}, \code{psS16}, \code{psF32}, \code{psF64}, \code{psC32},
     2334\code{psC64}.
    23192335
    23202336\begin{verbatim}
Note: See TracChangeset for help on using the changeset viewer.