X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FCheckBoard.h;h=d7774780957922a36f6e4bb9dc1e0ca5ca864b97;hb=6ab99c126654ed05ed2bea23b70ef9d73e90d784;hp=cc1ef870ac4638ce0fcee260dc0fbd7adceef460;hpb=7c0413065745f2cd119bbb1f352770d61be6b21c;p=creaRigidRegistration.git diff --git a/lib/CheckBoard.h b/lib/CheckBoard.h index cc1ef87..d777478 100644 --- a/lib/CheckBoard.h +++ b/lib/CheckBoard.h @@ -33,6 +33,7 @@ class CheckBoard void setCols(int cols); void setRows(int rows); + template void createImageByType(T* dataImagePointer1, T* dataImagePointer2, T* dataImageResultPointer, vtkImageData *img1, vtkImageData *img2, int sizeX, int sizeY); // --- Atributes --- // private: @@ -48,6 +49,12 @@ class CheckBoard //Resulting image vtkImageData *newImage; + //Image Resampler + vtkImageResample *resample; + + //Rsulting image from the resampler + vtkImageData *result; + //Total number of divisions for the X axis (colums) int squaresX;