IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 6, 2006, 11:07:42 PM (20 years ago)
Author:
magnier
Message:

adding prep code to apply psImageBicubeFit to peaks in pmPeaks (ie, to smoothed image); not functioning yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPeaks.c

    r9730 r9881  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-10-24 22:55:05 $
     8 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-11-07 09:07:42 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    286286XXX: Merge with CVS 1.20.  This had the proper code for images with a single
    287287row or column.
     288 
     289XXX this does not use the weight or mask information
    288290 
    289291*****************************************************************************/
     
    420422
    421423                        list = myListAddPeak(list, row + row0, col + col0, image->data.F32[row][col], myType);
     424
     425                        # if (0)
     426
     427                            psPolynomial2D *bicube = psImageBicubeFit (inSource->pixels, ix, iy);
     428                        psPlane min = psImageBicubeMin (bicube);
     429                        peak->xf = min.x;
     430                        peak->yf = min.y;
     431                        # endif
     432
    422433                    }
    423434                }
Note: See TracChangeset for help on using the changeset viewer.