diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-10-16 16:22:44 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-10-16 16:22:44 +0200 |
commit | f5dab4ce7e8aea035ee25ca8f818e5779eb88726 (patch) | |
tree | 9a491c7963e145c1d995acaddaed0dc6f21c5ae7 /src/templates.h | |
parent | a5289c2bbfdc7a04fc3f44b0cead930a2740394b (diff) |
Read image and generate templates
Diffstat (limited to 'src/templates.h')
-rw-r--r-- | src/templates.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/templates.h b/src/templates.h new file mode 100644 index 00000000..c4b66171 --- /dev/null +++ b/src/templates.h @@ -0,0 +1,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 */ |