IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 4, 2021, 6:02:11 PM (5 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-dev-20210817 (add chebyshev, add fit2d_full, add inner_fraction to medimage, change dvoImageOverlap test to CERSTD)

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/opihi/include/data.h

    r41341 r41891  
    7171  float **dNabla_w; // a matrix of Nabla_w values for each layer
    7272} Nnet;
     73
     74// a single chebyshev associates a name with the scaling
     75// relationship and maybe other stuff
     76typedef struct {
     77  char *name;
     78  opihi_flt scale[2];
     79  opihi_flt zero[2];
     80  int   order;
     81  int   dimen;
     82  opihi_flt *A;
     83} ChebyshevType;
    7384
    7485void InitData (void);
     
    294305int nnet_apply (int argc, char **argv);
    295306
     307/*** Chebyshev functions (chebyshev.c, chebyshev_commands.c) ***/
     308
     309void InitChebyshevs ();
     310void FreeChebyshevs ();
     311void FreeChebyshev (ChebyshevType *chebyshev);
     312ChebyshevType *FindChebyshev (char *name);
     313ChebyshevType *CreateChebyshev (char *name);
     314int DeleteChebyshev (ChebyshevType *chebyshev);
     315void ListChebyshevs ();
     316int ChebyshevSetScale (ChebyshevType *cheb, Vector *vec, int dir);
     317Vector *ChebyshevNormVector (ChebyshevType *cheb, Vector *vec, int dir);
     318Vector *ChebyshevPolyVector (Vector *Ti, Vector *vec, int order);
     319int ChebyshevPolyFit1D (ChebyshevType *cheb, Vector *vec, Vector **poly);
     320int ChebyshevPolyApplyFit1D (ChebyshevType *cheb, Vector *vec, Vector **poly);
     321int ChebyshevPolyFit2D (ChebyshevType *cheb, Vector *vec, Vector **xPoly, Vector **yPoly);
     322int ChebyshevPolyApplyFit2D (ChebyshevType *cheb, Vector *vec, Vector **xPoly, Vector **yPoly);
     323
    296324# endif
Note: See TracChangeset for help on using the changeset viewer.