IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 31, 2005, 4:42:29 PM (21 years ago)
Author:
eugene
Message:

working towards autocode for imregister

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/imreg/match.c

    r2803 r3606  
    22# include "imreg.h"
    33
    4 int *match_criteria (int *Nmatch) {
     4int *match_criteria (RegImage *image, int Nimage, int *Nmatch) {
    55
    6   int i, j, Nname, Nimage;
     6  int i, j, Nname;
    77  int N, NMATCH;
    88  int *match;
    99  int reject;
    10   RegImage *image;
    1110
    1211  /* create selection index */
     
    1817  if (criteria.NameSelect) Nname = strlen (criteria.Name);
    1918 
    20   image = get_images (&Nimage);
    21 
    2219  /* find entries that matches criteria */
    2320  for (i = 0; i < Nimage; i++) {
     
    4643}
    4744
    48 int *match_images (RegImage *subset, int Nsubset, int *Nmatch) {
     45int *match_images (RegImage *image, int Nimage, RegImage *subset, int Nsubset, int *Nmatch) {
    4946 
    50   int i, j, N, Nimage, Nfound;
     47  int i, j, N, Nfound;
    5148  int *match;
    52   RegImage *image;
    53 
    54   image = get_images (&Nimage);
    5549
    5650  /* find matching images - very inefficient : sort by obstime, find those first? */
Note: See TracChangeset for help on using the changeset viewer.