imagedataValueResult->Delete();
}
imagedataValueResult = vtkImageData::New();
-<<<<<<< HEAD
- // imagedataValueResult->SetScalarType(scalartype);
-=======
//EED 2017-12-18
imagedataValueResult->SetScalarType(scalartype);
//imagedataValueResult->SetScalarTypeToUnsignedShort();
->>>>>>> master
+
imagedataValueResult->SetSpacing(spc);
imagedataValueResult->SetDimensions( newDim );
imagedataMaskResult->Delete();
}
imagedataMaskResult = vtkImageData::New();
-<<<<<<< HEAD
- // imagedataMaskResult->SetScalarType(scalartype);
-=======
//EED 2017-12-18
// imagedataMaskResult->SetScalarType(scalartype);
// imagedataMaskResult->SetScalarTypeToUnsignedShort();
imagedataMaskResult->SetScalarTypeToUnsignedChar();
->>>>>>> master
imagedataMaskResult->SetSpacing(spc);
imagedataMaskResult->SetDimensions( newDim );