Ejemplo n.º 1
0
 public function __construct(\ImagickDemo\ImagickKernel\Control\usage $usageControl, VariableMap $variableMap)
 {
     $this->usageControl = $usageControl;
     $this->morphologyType = $variableMap->getVariable('morphologyType', \Imagick::MORPHOLOGY_EDGE_IN);
     parent::__construct($usageControl);
     $this->functionTable = [\Imagick::MORPHOLOGY_CONVOLVE => "renderConvolve", \Imagick::MORPHOLOGY_CORRELATE => "renderCorrelate", \Imagick::MORPHOLOGY_ERODE => "renderErode", \Imagick::MORPHOLOGY_DILATE => "renderDilate", \Imagick::MORPHOLOGY_ERODE_INTENSITY => "renderErodeIntensity", \Imagick::MORPHOLOGY_DILATE_INTENSITY => "renderDilateIntensity", \Imagick::MORPHOLOGY_DISTANCE => "renderDistance", \Imagick::MORPHOLOGY_DISTANCE . "Chebyshev" => "renderDistanceChebyshev", \Imagick::MORPHOLOGY_DISTANCE . "Manhattan" => "renderDistanceManhattan", \Imagick::MORPHOLOGY_DISTANCE . "Octagonal" => "renderDistanceOctagonal", \Imagick::MORPHOLOGY_DISTANCE . "Euclidian" => "renderDistanceEuclidian", \Imagick::MORPHOLOGY_ITERATIVE => "renderDistanceIterative", \Imagick::MORPHOLOGY_OPEN => "renderOpen", \Imagick::MORPHOLOGY_CLOSE => "renderClose", \Imagick::MORPHOLOGY_OPEN_INTENSITY => "renderOpenIntensity", \Imagick::MORPHOLOGY_CLOSE_INTENSITY => "renderCloseIntensity", \Imagick::MORPHOLOGY_SMOOTH => "renderSmooth", \Imagick::MORPHOLOGY_EDGE_IN => "renderEdgeIn", \Imagick::MORPHOLOGY_EDGE_OUT => "renderEdgeOut", \Imagick::MORPHOLOGY_EDGE => "renderEdge", \Imagick::MORPHOLOGY_TOP_HAT => "renderTopHat", \Imagick::MORPHOLOGY_BOTTOM_HAT => "renderBottomHat", \Imagick::MORPHOLOGY_HIT_AND_MISS => "renderHitAndMiss", \Imagick::MORPHOLOGY_THINNING => "renderThinning", \Imagick::MORPHOLOGY_THICKEN . "Standard" => "renderThicken", \Imagick::MORPHOLOGY_THICKEN . "Convex" => "renderThickenConvexHull"];
 }
Ejemplo n.º 2
0
 function __construct(samplingFactorsControl $samplingFactorControl, VariableMap $variableMap)
 {
     parent::__construct($samplingFactorControl);
     $this->samplingFactorControl = $samplingFactorControl;
     $this->request = $variableMap;
 }
Ejemplo n.º 3
0
 function __construct(\ImagickDemo\Control\ImageControl $imageControl)
 {
     $this->imageControl = $imageControl;
     parent::__construct($imageControl);
 }
Ejemplo n.º 4
0
 public function __construct(FXAnalyzeControl $fxAnalyzeControl)
 {
     parent::__construct($fxAnalyzeControl);
     $this->type = $fxAnalyzeControl->getCompositeExampleType();
 }
Ejemplo n.º 5
0
 public function __construct(fromMatrixControl $control)
 {
     parent::__construct($control);
     $this->fromMatrixControl = $control;
 }
Ejemplo n.º 6
0
 function __construct(fromBuiltInControl $control)
 {
     parent::__construct($control);
     $this->builtInControl = $control;
 }