1 #include "vtkImageData.h"
2 #include "vtkImageResample.h"
14 //Initialize newImage points
15 void initialize(int dimensions[], double spacing[]);
17 //Calculate the new image and save it in the attribute image
18 void calculateImage();
21 vtkImageData* getFilteredImage();
26 //Constructs new image from image 2
27 void createImage(vtkImageData *img1, vtkImageData *img2, int sizeX, int sizeY);
29 void setInputImage1(vtkImageData *_image);
31 void setInputImage2(vtkImageData *_image);
33 void setCols(int cols);
35 void setRows(int rows);
37 // --- Atributes --- //
49 vtkImageData *newImage;
51 //Total number of divisions for the X axis (colums)
54 //Total number of divisions for the Y axis (rows)
57 // Image 1 extent (iniX, finX, iniY, finY, iniZ, finZ)
59 // Dimensionality image 1
64 // Image 2 extent (iniX, finX, iniY, finY, iniZ, finZ)
66 // Dimensionality image 2