IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 3, 2013, 4:21:05 PM (13 years ago)
Author:
watersc1
Message:

Working 1D-Gaussian convolution code. Recipes/reductions that use this have _1DG added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionMatch.c

    r33424 r35771  
    2121#include "pmSubtractionThreads.h"
    2222#include "pmSubtractionVisual.h"
     23#include "pmSubtractionSimple.h"
    2324#include "pmErrorCodes.h"
    2425
     
    537538    }
    538539
     540    // Bail here if we're doing the simple matching
     541    if (type == PM_SUBTRACTION_KERNEL_SIMPLE) {
     542      if (!pmSubtractionSimpleMatch(conv1,conv2,ro1,ro2,sources,size,maskVal,maskBad,maskPoor)) {
     543        return false;
     544      }
     545      return(true);
     546    }
     547
    539548    // Where does our variance map come from?
    540549    // Getting the variance exactly right is not necessary --- it's just used for weighting.
     
    593602        goto MATCH_ERROR;
    594603    }
     604
    595605   
    596606    memCheck("start");
     
    648658        psFree(bg);
    649659    }
    650 
     660   
    651661    subtractionMatchAlloc(conv1, conv2, ro1, ro2, subMask, maskBad, subMode, numCols, numRows);
    652 
     662   
    653663    // Iterate over iso-kernel regions
    654664    for (int j = 0; j < yRegions; j++) {
Note: See TracChangeset for help on using the changeset viewer.