summaryrefslogtreecommitdiffstats
path: root/tksao/util/convolve.h
blob: 5aeb55112cd57a1558f1ac11aa5aab1ea9e38585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 1999-2019
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"

#ifndef __convolve_h__
#define __convolve_h__

void boxcar(double* kernel, int r);
void tophat(double* kernel, int r);
void gaussian(double* kernel, int r, double sigma);
void elliptic(double* kernel, int r, int m, double ss, double sm, double aa);

void* convolve(double* kernel, double* src, double* dest,
	       int width, int height, int k);

#endif