A Survey of Gaussian Convolution Algorithms
|
Gaussian convolution demo. More...
Gaussian convolution demo.
Copyright (c) 2012-2013, Pascal Getreuer All rights reserved.
This program is free software: you can redistribute it and/or modify it under, at your option, the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version, or the terms of the simplified BSD license.
You should have received a copy of these licenses along this program. If not, see http://www.gnu.org/licenses/ and http://www.opensource.org/licenses/bsd-license.html.
Definition in file gaussian_demo.c.
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "imageio.h"
#include "gaussian_conv_fir.h"
#include "gaussian_conv_dct.h"
#include "gaussian_conv_box.h"
#include "gaussian_conv_ebox.h"
#include "gaussian_conv_sii.h"
#include "gaussian_conv_am.h"
#include "gaussian_conv_deriche.h"
#include "gaussian_conv_vyv.h"
Go to the source code of this file.
Data Structures | |
struct | program_params |
struct of program parameters More... | |
Functions | |
void | print_usage () |
Print program usage help message. | |
int | parse_params (program_params *param, int argc, char **argv) |
Parse command line arguments. | |
int | is_grayscale (const num *rgb_image, long num_pixels) |
Test whether image is grayscale (R = G = B) More... | |
void | normalize (num *output_image, long num_pixels) |
int | main (int argc, char **argv) |
int is_grayscale | ( | const num * | rgb_image, |
long | num_pixels | ||
) |
Test whether image is grayscale (R = G = B)
rgb_image | image in planar order |
num_pixels | number of pixels |
Definition at line 306 of file gaussian_demo.c.