IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1657


Ignore:
Timestamp:
Aug 30, 2004, 11:39:23 AM (22 years ago)
Author:
Paul Price
Message:

Removed psKernel code segment: unnecessary given explanation.

File:
1 edited

Legend:

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

    r1649 r1657  
    1 %%% $Id: psLibSDRS.tex,v 1.91 2004-08-27 23:35:34 price Exp $
     1%%% $Id: psLibSDRS.tex,v 1.92 2004-08-30 21:39:23 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    29442944to \code{float}; these pointers point into the \code{psImage} data,
    29452945offset by the desired column offset.  \code{kernel} point into the
    2946 \code{kernelRows}, offset by the desired row offset.  For example:
    2947 
    2948 \begin{verbatim}
    2949     kernelRows = psAlloc(myImage->nRows * sizeof(float));
    2950     for (int i = 0; i < myImage->nRows; i++) {
    2951         kernelRows[i] = &rows[i][columnOffset];
    2952     }
    2953     kernel = &kernelRows[rowOffset];
    2954 \end{verbatim}
    2955 
    2956 This construction allows the \code{kernel} member to use negative
    2957 indices, while preserving the location of \code{psMemBlock}s relative
    2958 to allocated memory.
     2946\code{kernelRows}, offset by the desired row offset.  This
     2947construction allows the \code{kernel} member to use negative indices,
     2948while preserving the location of \code{psMemBlock}s relative to
     2949allocated memory.
    29592950
    29602951The maximum extent of the kernel shifts shall be defined by the
Note: See TracChangeset for help on using the changeset viewer.