Home
last modified time | relevance | path

Searched refs:kernel (Results 1 – 12 of 12) sorted by relevance

/imagick/tests/
H A D145_imagickkernel_coverage.phpt14 $kernel = array(
20 $kernel = ImagickKernel::fromMatrix($kernel);
22 $kernel->addUnityKernel(0.50);
28 $kernel
35 "Cannot create kernel, matrix is empty.",
106 //Test adding unity kernel works.
113 $kernel->addUnityKernel(0.5);
114 $matrix = $kernel->getMatrix();
158 $matrixOut = $kernel->getMatrix();
167 //Test single line kernel works
[all …]
H A D280_imagickkernel_exception_invalid_origin.phpt39 $kernel = ImagickKernel::fromMatrix($kernelArray, $validOrigin);
48 $kernel = ImagickKernel::fromMatrix($kernelArray, $invalidOrigin);
71 $kernel = ImagickKernel::fromMatrix($flatKernelArray, [1, 4]);
96 $kernel = ImagickKernel::fromMatrix($tallKernelArray, [4, 1]);
H A D047_Imagick_convolveImage_7.phpt21 $kernel = ImagickKernel::fromMatrix($kernelMatrix);
22 $imagick->convolveImage($kernel);
/imagick/
H A Dimagickkernel_class.c130 kernel->minimum = kernel->maximum = 0.0; in im_CalcKernelMetaData()
131 kernel->negative_range = kernel->positive_range = 0.0; in im_CalcKernelMetaData()
133 for (i=0; i < (kernel->width*kernel->height); i++) { in im_CalcKernelMetaData()
135 kernel->values[i] = 0.0; in im_CalcKernelMetaData()
137 if (kernel->values[i] < 0) { in im_CalcKernelMetaData()
138 kernel->negative_range += kernel->values[i]; in im_CalcKernelMetaData()
141 kernel->positive_range += kernel->values[i]; in im_CalcKernelMetaData()
143 if (kernel->values[i] < kernel->minimum) { in im_CalcKernelMetaData()
144 kernel->minimum = kernel->values[i]; in im_CalcKernelMetaData()
147 if (kernel->values[i] > kernel->maximum) { in im_CalcKernelMetaData()
[all …]
H A DImagickKernel.stub.php8 public function addKernel(ImagickKernel $kernel): void {} argument
13 public static function fromBuiltin(int $kernel, string $shape): ImagickKernel {} argument
H A Dphp_imagick_macros.h43 #define IMAGICK_KERNEL_NOT_NULL_EMPTY(kernel) \ argument
44 if (kernel->kernel_info == NULL) { \
H A DImagickKernel_arginfo.h13 ZEND_ARG_OBJ_INFO(0, kernel, ImagickKernel, 0)
44 ZEND_ARG_TYPE_INFO(0, kernel, IS_LONG, 0)
46 ZEND_ARG_INFO(0, kernel)
H A Dshim_im6_to_im7.h17 const ChannelType channel, const KernelInfo *kernel);
114 KernelInfo *kernel);
H A Dshim_im6_to_im7.c254 const ChannelType channel, const KernelInfo *kernel){ in MagickConvolveImageChannel() argument
263 status = MagickConvolveImage(wand, kernel); in MagickConvolveImageChannel()
593 KernelInfo *kernel) { in MagickMorphologyImageChannel() argument
601 status = MagickMorphologyImage(wand, method, iterations, kernel); in MagickMorphologyImageChannel()
H A DImagick.stub.php796 public function convolveImage(array $kernel, int $channel = Imagick::CHANNEL_DEFAULT): bool {} argument
1286 * @param ImagickKernel $kernel
1293 ImagickKernel $kernel, argument
1301 … public function filter(ImagickKernel $kernel, int $channel = Imagick::CHANNEL_UNDEFINED): bool {} argument
H A Dimagick_class.c6062 php_imagickkernel_object *kernel; local
6071 kernel = Z_IMAGICKKERNEL_P(objvar);
6095 double *kernel; local
6111 if (!kernel) {
6118 efree(kernel);
12704 php_imagickkernel_object *kernel; local
12714 kernel = Z_IMAGICKKERNEL_P(objvar);
12722 kernel->kernel_info
12745 php_imagickkernel_object *kernel; local
12754 kernel = Z_IMAGICKKERNEL_P(objvar);
[all …]
H A DImagick_arginfo.h3473 ZEND_ARG_TYPE_INFO(0, kernel, IS_ARRAY, 0)
3475 ZEND_ARG_INFO(0, kernel)
5039 ZEND_ARG_OBJ_INFO(0, kernel, ImagickKernel, 0)
5052 ZEND_ARG_OBJ_INFO(0, kernel, ImagickKernel, 0)

Completed in 85 milliseconds