IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 3, 2010, 5:38:55 PM (16 years ago)
Author:
Paul Price
Message:

In the process of reworking ppMops to conform to new interface format, which is SMF-like.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppTranslate/src/ppMopsMerge.c

    r25256 r28209  
    2828
    2929
    30 ppMopsDetections *ppMopsMerge(const psArray *detections)
     30ppMopsDetections *ppMopsPurgeDuplicates(const psArray *detections)
    3131{
    3232    PS_ASSERT_ARRAY_NON_NULL(detections, NULL);
    3333
    34     psTrace("ppMops.merge", 1, "Merging detections from %ld inputs\n", detections->n);
     34    int numInputs = detections->n;                // Number of inputs
     35    psTrace("ppMops.merge", 1, "Checking detections from %ld inputs\n", numInputs);
     36
     37    psArray *dupes = psArrayAlloc(numInputs); // Vector of duplicate bits for each input
     38    for (int i = 0; i < numInputs; i++) {
     39        ppMopsDetections *det = detections->data[i]; // Detections from
     40
     41
     42
     43
     44
     45        dupes->data[i] = psVector
    3546
    3647    ppMopsDetections *merged = NULL;    // Merged list
Note: See TracChangeset for help on using the changeset viewer.