Total Variation Deconvolution using Split Bregman
Functions
kernels.h File Reference

Convolution kernels. More...

#include "cliio.h"

Go to the source code of this file.

Functions

int ReadKernel (image *Kernel, const char *String)
 Read a kernel from the command line option stirng. More...
 

Detailed Description

Convolution kernels.

Author
Pascal Getreuer getre.nosp@m.uer@.nosp@m.gmail.nosp@m..com

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.h.

Function Documentation

int ReadKernel ( image Kernel,
const char *  String 
)

Read a kernel from the command line option stirng.

Parameters
Kernelpointer to kernel image
Stringcommand line optionstring
Returns
1 on success, 0 on failure

The syntax of string can be "disk:<radius>" or "gaussian:<sigma>". Otherwise, the string is assumed to be a file name.

Definition at line 175 of file kernels.c.