#include <vtkTransform.h>
#include "clitkCommon.h"
+#include "clitkConfiguration.h"
#include "vvFromITK.h"
#include "vvConstants.h"
UpdateWithDimAndInputPixelType<unsigned char,VImageDimension>();
else if (InputPixelType == "int")
UpdateWithDimAndInputPixelType<int,VImageDimension>();
+ else if (InputPixelType == "unsigned_int")
+ UpdateWithDimAndInputPixelType<unsigned int,VImageDimension>();
else if (InputPixelType == "double")
UpdateWithDimAndInputPixelType<double,VImageDimension>();
else if (InputPixelType == "float")
else
std::cerr << "Error, input pixel type : " << InputPixelType << " unknown !" << std::endl;
- if (CLITK_EXPERIMENTAL)
- if (mLastError.size()==0)
- ReadNkiImageTransform();
+ if (CLITK_EXPERIMENTAL && mLastError.size()==0) {
+ ReadNkiImageTransform();
+ ReadMatImageTransform();
+ }
}
//----------------------------------------------------------------------------
<< " " << err << std::endl;
}
vtkImageData *image = vtkImageData::New();
- image->DeepCopy(connector->GetOutput());
+ image->ShallowCopy(connector->GetOutput());
mImage->AddImage(image);
}
} else {