public function apply($image) { $image->getCore()->sigmoidalContrastImage($this->amount > 0, $this->amount / 4, 0); return $image; }