1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-28 09:59:54 +02:00

Added support for custom convolutions. Fix #49.

This commit is contained in:
Mikael Roos
2014-11-27 22:04:41 +01:00
parent 832edc9d26
commit 3c04a2dd0f
5 changed files with 199 additions and 97 deletions

View File

@@ -0,0 +1,38 @@
<?php
// Include config for all testcases
include __DIR__ . "/config.php";
// The title of the test case
$title = "Testing issue 49 - flexible convolution";
// Provide a short description of the testcase.
$description = "Creating shortcuts to custom convolutions by using configurable list of constant convolutions.";
// Use these images in the test
$images = array(
'kodim08.png',
);
// For each image, apply these testcases
$testcase = array(
'&nc&width=400&convolve=lighten',
'&nc&width=400&convolve=darken',
'&nc&width=400&convolve=sharpen',
'&nc&width=400&convolve=emboss',
'&nc&width=400&convolve=blur',
'&nc&width=400&convolve=blur:blur',
'&nc&width=400&convolve=blur:blur:blur:blur',
);
// Apply testcases and present results
include __DIR__ . "/template.php";