aboutsummaryrefslogtreecommitdiff
path: root/src/templates.h
blob: 50aa74439a33401fc0286b460b9febf9394666f4 (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
30
31
32
/*
 * templates.h
 *
 * Indexing by template matching
 *
 * (c) 2006-2010 Thomas White <taw@physics.org>
 *
 * Part of CrystFEL - crystallography with a FEL
 *
 */

#ifndef TEMPLATES_H
#define TEMPLATES_H

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


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

extern IndexingPrivate *generate_templates(UnitCell *cell, const char *filename,
                                           struct detector *det);


extern void match_templates(struct image *image, IndexingPrivate *ipriv);

extern void free_templates(IndexingPrivate *priv);

#endif	/* TEMPLATES_H */