aboutsummaryrefslogtreecommitdiff
path: root/src/reproject.c
blob: f62e8f3c9a6e1b1da222b12e8423a0c19dae8681 (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
33
/*
 * reproject.c
 *
 * Synthesize diffraction patterns
 *
 * (c) 2007 Thomas White <taw27@cam.ac.uk>
 *
 *  dtr - Diffraction Tomography Reconstruction
 *
 */

#include <stdlib.h>

#include "control.h"
#include "reflections.h"

#define MAX_IMAGE_REFLECTIONS 1024

ImageReflection *reproject_get_reflections(ImageRecord *image, size_t *n, ReflectionContext *ref) {

	ImageReflection *refl;
	int i;
	
	refl = malloc(MAX_IMAGE_REFLECTIONS*sizeof(ImageReflection));
	
	i = 0;
	
	
	*n = i;
	return refl;

}