|
Total Variation Deconvolution using Split Bregman
|
Convolution kernels. More...
Go to the source code of this file.
Macros | |
| #define | M_SQRT1_2 0.70710678118654752440084436210484904 |
| The constant sqrt(1/2) | |
Functions | |
| static int | KernelRescale (image *Kernel) |
| static int | GaussianKernel (image *Kernel, num Sigma) |
| static int | DiskKernel (image *Kernel, num Radius) |
| static int | MakeNamedKernel (image *Kernel, const char *String) |
| int | ReadKernel (image *Kernel, const char *String) |
| Read a kernel from the command line option stirng. More... | |
Convolution kernels.
Copyright (c) 2011, Pascal Getreuer All rights reserved.
This program is free software: you can use, modify and/or redistribute it under the terms of the simplified BSD License. You should have received a copy of this license along with this program. If not, see http://www.opensource.org/licenses/bsd-license.html.
Definition in file kernels.c.
| int ReadKernel | ( | image * | Kernel, |
| const char * | String | ||
| ) |
Read a kernel from the command line option stirng.
| Kernel | pointer to kernel image |
| String | command line optionstring |
The syntax of string can be "disk:<radius>" or "gaussian:<sigma>". Otherwise, the string is assumed to be a file name.
1.8.3.1