Image Interpolation with Contour Stencils
|
Image coarsening utility program. More...
Go to the source code of this file.
Data Structures | |
struct | image |
struct representing an image More... | |
struct | programparams |
struct of program parameters More... | |
Defines | |
#define | VERBOSE 0 |
#define | NUMSTDS 4 |
Approximate Gaussian with this number of standard deviations. | |
Enumerations | |
enum | boundaryhandling { BOUNDARY_CONSTANT = 0, BOUNDARY_HSYMMETRIC = 1, BOUNDARY_WSYMMETRIC = 2 } |
Functions | |
int | ParseParams (programparams *Param, int argc, char *argv[]) |
int | Coarsen (image v, image u, programparams Param) |
void | PrintHelpMessage () |
Print program usage help message. | |
int | main (int argc, char *argv[]) |
float | Sqr (float x) |
Variables | |
int(* | ExtensionMethod [3])(int, int) |
Image coarsening utility program.
This file implements the imcoarsen program, a command line tool for coarsening an image by Gaussain smoothing followed by downsampling. See the routine PrintHelpMessage for usage details.
Copyright (c) 2010-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 this program. If not, see <http://www.opensource.org/licenses/bsd-license.html>.
Definition in file imcoarsen.c.
#define NUMSTDS 4 |
Approximate Gaussian with this number of standard deviations.
Definition at line 29 of file imcoarsen.c.
#define VERBOSE 0 |
Definition at line 26 of file imcoarsen.c.
enum boundaryhandling |
Definition at line 43 of file imcoarsen.c.
int Coarsen | ( | image | v, |
image | u, | ||
programparams | Param | ||
) |
Definition at line 218 of file imcoarsen.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
int ParseParams | ( | programparams * | Param, |
int | argc, | ||
char * | argv[] | ||
) |
Definition at line 344 of file imcoarsen.c.
void PrintHelpMessage | ( | ) |
Print program usage help message.
Definition at line 74 of file imcoarsen.c.
float Sqr | ( | float | x | ) |
int(* ExtensionMethod[3])(int, int) |
{ConstExtension, HSymExtension, WSymExtension}
Definition at line 214 of file imcoarsen.c.