aboutsummaryrefslogtreecommitdiff
path: root/src/templates.h
blob: c4b66171e91d919f9458792aa76d41a8ced8db24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * templates.h
 *
 * Handle templates
 *
 * (c) 2006-2009 Thomas White <thomas.white@desy.de>
 *
 * template_index - Indexing diffraction patterns by template matching
 *
 */


#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#ifndef TEMPLATES_H
#define TEMPLATES_H

#include "cell.h"
#include "image.h"

/* An opaque type representing a list of templates */
typedef struct _templatelist TemplateList;

extern TemplateList *generate_templates(UnitCell *cell, struct image params);
extern int try_templates(struct image *image, TemplateList *list);

#endif	/* TEMPLAETS_H */