def __init__(self,
               scaleDecimation=[1],
               filterDim=9,
               gainConstant=1.0,
               normalizationMethod='fixed',
               perPlaneNormalization=False,
               perPhaseNormalization=True,
               postProcessingMethod='raw',
               postProcessingSlope=1.0,
               postProcessingCenter=0.5,
               postProcessingMin=0.0,
               postProcessingMax=1.0,
               zeroThresholdOut=0.0,
               boundaryMode='constrained',
               offImagePixelValue='colorKey',
               suppressOutsideBox=True,
               forceBoxContraction=False,
               aspectRatio=0.3,
               effectiveWidth=4.5,
               orientationCount=4,
               targetType='edge',
               phaseMode='single',
               waveLength=5.6,
               lobeSuppression=True):
    """
    """
    assert phaseMode in ('single', 'dual')
    assert targetType in ('edge', 'line')

    self._orientationCount = orientationCount
    self._targetType = targetType
    self._phaseMode = phaseMode
    self._waveLength = waveLength
    self._lobeSuppression = lobeSuppression

    Convolution.__init__(self,
                         scaleDecimation,
                         filterDim,
                         gainConstant,
                         normalizationMethod,
                         perPlaneNormalization,
                         perPhaseNormalization,
                         postProcessingMethod,
                         postProcessingSlope,
                         postProcessingCenter,
                         postProcessingMin,
                         postProcessingMax,
                         zeroThresholdOut,
                         boundaryMode,
                         offImagePixelValue,
                         suppressOutsideBox,
                         forceBoxContraction,
                         aspectRatio,
                         effectiveWidth)
Beispiel #2
0
 def __init__(self,
              scaleDecimation=[1],
              filterDim=9,
              gainConstant=1.0,
              normalizationMethod='fixed',
              perPlaneNormalization=False,
              perPhaseNormalization=True,
              postProcessingMethod='raw',
              postProcessingSlope=1.0,
              postProcessingCenter=0.5,
              postProcessingMin=0.0,
              postProcessingMax=1.0,
              zeroThresholdOut=0.0,
              boundaryMode='constrained',
              offImagePixelValue=0,
              suppressOutsideBox=True,
              forceBoxContraction=False,
              lobeSuppression=True):
   """
   """
   Convolution.__init__(self,
                        scaleDecimation,
                        filterDim,
                        gainConstant,
                        normalizationMethod,
                        perPlaneNormalization,
                        perPhaseNormalization,
                        postProcessingMethod,
                        postProcessingSlope,
                        postProcessingCenter,
                        postProcessingMin,
                        postProcessingMax,
                        zeroThresholdOut,
                        boundaryMode,
                        offImagePixelValue,
                        suppressOutsideBox,
                        forceBoxContraction)
   self._lobeSuppression = lobeSuppression