IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 9, 2007, 1:48:09 PM (19 years ago)
Author:
Paul Price
Message:

If the stamp footprint is smaller than the kernel size, then we won't
get much signal in the outer parts of the kernel, which can result in
bad matching artifacts.

File:
1 edited

Legend:

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

    r14835 r15267  
    166166    // Don't care about maskBlank
    167167
     168    // If the stamp footprint is smaller than the kernel size, then we won't get much signal in the outer
     169    // parts of the kernel, which can result in bad matching artifacts.
     170    if (footprint < size) {
     171        psError(PS_ERR_BAD_PARAMETER_VALUE, true,
     172                "Stamp footprint (%d) should be larger than or equal to the kernel size (%d)",
     173                footprint, size);
     174        return false;
     175    }
     176
    168177    // Reset the output readout, just in case
    169178    if (convolved->image) {
Note: See TracChangeset for help on using the changeset viewer.