summaryrefslogtreecommitdiffstats
path: root/tksao/util/convolve.h
blob: 7465833a52cd4c50fc827368d6ee7618742e9644 (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 xmin, int ymin, int xmax, int ymax, int width, int k);

#endif