DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
Go to the source code of this file.
Functions | |
template<typename T > | |
void | callFunction (mxArray *plhs[], const mxArray *prhs[], const int nlhs, const int nrhs, const bool isVectorImage) |
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
template<class ImageType > | |
void | SetITKImageInformation (itk::SmartPointer< ImageType > &image, const mxArray *originArray, const mxArray *spacingArray) |
|
inline |
Definition at line 51 of file mexITKImageWrite.cxx.
References utl::GetArrayStruct(), itk::GetITKImageFromMXArray(), itk::GetITKVectorImageFromMXArray(), utl::GetString(), itk::SaveImage(), SetITKImageInformation(), and utlGlobalException.
void mexFunction | ( | int | nlhs, |
mxArray * | plhs[], | ||
int | nrhs, | ||
const mxArray * | prhs[] | ||
) |
Definition at line 88 of file mexITKImageWrite.cxx.
References utlGlobalException.
void SetITKImageInformation | ( | itk::SmartPointer< ImageType > & | image, |
const mxArray * | originArray, | ||
const mxArray * | spacingArray | ||
) |
Definition at line 24 of file mexITKImageWrite.cxx.
References utl::min().
Referenced by callFunction().