Authors belong to:
- University of LYON http://www.universite-lyon.fr/
- - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
+ - Léon Bérard cancer center http://www.centreleonberard.fr
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-======================================================================-====*/
+===========================================================================**/
#ifndef CLITKVFRESAMPLEGENERICFILTER_CXX
#define CLITKVFRESAMPLEGENERICFILTER_CXX
{
//typedef itk::Vector<float,Dim> v3f;
//ADD_IMAGE_TYPE(Dim, v3f);
- ADD_VEC_IMAGE_TYPE(Dim, Dim, float)
+ ADD_DEFAULT_VEC_IMAGE_TYPES
}
//--------------------------------------------------------------------
static unsigned int dim = ImageType::ImageDimension;
if (mOutputSize.size() != dim) {
std::cerr << "Please set size with " << dim << " dimensions." << std::endl;
- return NULL;
+ return ITK_NULLPTR;
}
if (mOutputSpacing.size() != dim) {
std::cerr << "Please set spacing with " << dim << " dimensions." << std::endl;
- return NULL;
+ return ITK_NULLPTR;
}
mOutputOrigin.resize(dim);
if (mApplyGaussianFilterBefore && mSigma.size() != dim) {
std::cerr << "Please set sigma with " << dim << " dimensions." << std::endl;
- return NULL;
+ return ITK_NULLPTR;
}
// Some typedefs