IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3972


Ignore:
Timestamp:
May 18, 2005, 4:19:15 PM (21 years ago)
Author:
Paul Price
Message:

Changing psRegion to pass by value

Location:
trunk/doc/modules
Files:
2 edited

Legend:

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

    r3777 r3972  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.18 2005-04-27 21:37:54 eugene Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.19 2005-05-19 02:19:15 price Exp $
    22
    33\subsection{Changes from version 00 (16 August 2004) to version 01 (12 October 2004)}
     
    6565\item changed models to return psF64, not psF32, to match psMinimizeLMChi2Func
    6666\end{itemize}
     67
     68\subsection{Changes from version 06 (27 April 2005) to present}
     69
     70\begin{itemize}
     71\item Changed \code{psRegion *region} to \code{psRegion region} in
     72  prototypes (passed by value instead of by reference).
     73\end{itemize}
  • trunk/doc/modules/ModulesSDRS.tex

    r3777 r3972  
    1 %%% $Id: ModulesSDRS.tex,v 1.39 2005-04-27 21:37:54 eugene Exp $
     1%%% $Id: ModulesSDRS.tex,v 1.40 2005-05-19 02:19:15 price Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    12731273
    12741274\begin{verbatim}
    1275 psArray *pmPeaksSubset(psArray *peaks, float maxvalue, const psRegion *valid);
     1275psArray *pmPeaksSubset(psArray *peaks, float maxvalue, const psRegion valid);
    12761276\end{verbatim}
    12771277
     
    16831683                                                                                           // transformed
    16841684                                                                                           // image
    1685         transformedMask->data[i] = psPixelsToMask(NULL, blanks, blankRegion, PS_MASK_BLANK);
     1685        transformedMask->data[i] = psPixelsToMask(NULL, blanks, *blankRegion, PS_MASK_BLANK);
    16861686        psFree(blankRegion);
    16871687        psFree(blanks);
     
    17171717                                                                                           // transformed
    17181718                                                                                           // image
    1719         transformedMask->data[i] = psPixelsToMask(transformedMask->data[i], blanks, blankRegion,
     1719        transformedMask->data[i] = psPixelsToMask(transformedMask->data[i], blanks, *blankRegion,
    17201720                                                  PS_MASK_BLANK);
    17211721        psFree(blankRegion);
     
    21532153  peaks = pmFindImagePeaks (smooth, NSIGMA*Sig + Sky);
    21542154
    2155   peaks = pmCullImagePeaks (peaks, SATURATE, keep);
     2155  peaks = pmCullImagePeaks (peaks, SATURATE, *keep);
    21562156 
    21572157  sources = pmSourceLocalSky (image, peaks, INNER, OUTER);
     
    21592159  sources = pmSourceMoments (image, sources, RADIUS);
    21602160 
    2161   sources = pmSourceRoughClassify (sources, SATURATE, MIN_SN_LIM, keep);
     2161  sources = pmSourceRoughClassify (sources, SATURATE, MIN_SN_LIM, *keep);
    21622162
    21632163  stars = pmSourceSelectBrightStars (sources);
Note: See TracChangeset for help on using the changeset viewer.