22 #include <itkVector.h>
23 #include <itkFiniteDifferenceFunction.h>
24 #include <itkPDEDeformableRegistrationFunction.h>
25 #include <itkImageFunction.h>
143 m_FiniteDifferenceFunctionImg2OfVoxInt8Type =
nullptr;
144 m_FiniteDifferenceFunctionImg2OfVoxInt16Type =
nullptr;
145 m_FiniteDifferenceFunctionImg2OfVoxInt32Type =
nullptr;
146 m_FiniteDifferenceFunctionImg2OfVoxUInt8Type =
nullptr;
147 m_FiniteDifferenceFunctionImg2OfVoxUInt16Type =
nullptr;
148 m_FiniteDifferenceFunctionImg2OfVoxUInt32Type =
nullptr;
149 m_FiniteDifferenceFunctionImg2OfVoxFloatType =
nullptr;
150 m_FiniteDifferenceFunctionImg2OfVoxDoubleType =
nullptr;
151 m_FiniteDifferenceFunctionImg2OfVox2DFloatVecType =
nullptr;
152 m_FiniteDifferenceFunctionImg2OfVox2DDoubleVecType =
nullptr;
153 m_FiniteDifferenceFunctionImg2OfVox3DDoubleVecType =
nullptr;
154 m_FiniteDifferenceFunctionImg2OfVox3DFloatVecType =
nullptr;
155 m_FiniteDifferenceFunctionImg2OfVox4DDoubleVecType =
nullptr;
156 m_FiniteDifferenceFunctionImg2OfVox4DFloatVecType =
nullptr;
157 m_FiniteDifferenceFunctionImg2OfVox6DDoubleVecType =
nullptr;
158 m_FiniteDifferenceFunctionImg2OfVox6DFloatVecType =
nullptr;
159 m_FiniteDifferenceFunctionImg2OfVox8DDoubleVecType =
nullptr;
160 m_FiniteDifferenceFunctionImg2OfVox8DFloatVecType =
nullptr;
162 m_FiniteDifferenceFunctionImg3OfVoxInt8Type =
nullptr;
163 m_FiniteDifferenceFunctionImg3OfVoxInt16Type =
nullptr;
164 m_FiniteDifferenceFunctionImg3OfVoxInt32Type =
nullptr;
165 m_FiniteDifferenceFunctionImg3OfVoxUInt8Type =
nullptr;
166 m_FiniteDifferenceFunctionImg3OfVoxUInt16Type =
nullptr;
167 m_FiniteDifferenceFunctionImg3OfVoxUInt32Type =
nullptr;
168 m_FiniteDifferenceFunctionImg3OfVoxFloatType =
nullptr;
169 m_FiniteDifferenceFunctionImg3OfVoxDoubleType =
nullptr;
170 m_FiniteDifferenceFunctionImg3OfVox2DFloatVecType =
nullptr;
171 m_FiniteDifferenceFunctionImg3OfVox2DDoubleVecType =
nullptr;
172 m_FiniteDifferenceFunctionImg3OfVox3DFloatVecType =
nullptr;
173 m_FiniteDifferenceFunctionImg3OfVox3DDoubleVecType =
nullptr;
174 m_FiniteDifferenceFunctionImg3OfVox4DFloatVecType =
nullptr;
175 m_FiniteDifferenceFunctionImg3OfVox4DDoubleVecType =
nullptr;
176 m_FiniteDifferenceFunctionImg3OfVox6DFloatVecType =
nullptr;
177 m_FiniteDifferenceFunctionImg3OfVox6DDoubleVecType =
nullptr;
178 m_FiniteDifferenceFunctionImg3OfVox8DFloatVecType =
nullptr;
179 m_FiniteDifferenceFunctionImg3OfVox8DDoubleVecType =
nullptr;
181 m_PDEDeformableRegFunction3DF3DF3DFVType =
nullptr;
237 if (!outImg){
return false; }
247 if (!usePDEDeformableFunc){
249 if ((
MLint8Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxInt8Type ){
return true; }
250 if ((
MLint16Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxInt16Type ){
return true; }
251 if ((
MLint32Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxInt32Type ){
return true; }
252 if ((
MLuint8Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxUInt8Type ){
return true; }
253 if ((
MLuint16Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxUInt16Type ){
return true; }
254 if ((
MLuint32Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxUInt32Type ){
return true; }
255 if ((
MLfloatType == dt) && m_FiniteDifferenceFunctionImg2OfVoxFloatType ){
return true; }
256 if ((
MLdoubleType == dt) && m_FiniteDifferenceFunctionImg2OfVoxDoubleType ){
return true; }
257 if ((2 == numComps) && m_FiniteDifferenceFunctionImg2OfVox2DFloatVecType ){
return true; }
258 if ((2 == numComps) && m_FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ){
return true; }
259 if ((3 == numComps) && m_FiniteDifferenceFunctionImg2OfVox3DFloatVecType ){
return true; }
260 if ((3 == numComps) && m_FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ){
return true; }
261 if ((4 == numComps) && m_FiniteDifferenceFunctionImg2OfVox4DFloatVecType ){
return true; }
262 if ((4 == numComps) && m_FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ){
return true; }
263 if ((6 == numComps) && m_FiniteDifferenceFunctionImg2OfVox6DFloatVecType ){
return true; }
264 if ((6 == numComps) && m_FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ){
return true; }
265 if ((8 == numComps) && m_FiniteDifferenceFunctionImg2OfVox8DFloatVecType ){
return true; }
266 if ((8 == numComps) && m_FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ){
return true; }
269 if ((
MLint8Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxInt8Type ){
return true; }
270 if ((
MLint16Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxInt16Type ){
return true; }
271 if ((
MLint32Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxInt32Type ){
return true; }
272 if ((
MLuint8Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxUInt8Type ){
return true; }
273 if ((
MLuint16Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxUInt16Type ){
return true; }
274 if ((
MLuint32Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxUInt32Type ){
return true; }
275 if ((
MLfloatType == dt) && m_FiniteDifferenceFunctionImg3OfVoxFloatType ){
return true; }
276 if ((
MLdoubleType == dt) && m_FiniteDifferenceFunctionImg3OfVoxDoubleType ){
return true; }
277 if ((2 == numComps) && m_FiniteDifferenceFunctionImg3OfVox2DFloatVecType ){
return true; }
278 if ((2 == numComps) && m_FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ){
return true; }
279 if ((3 == numComps) && m_FiniteDifferenceFunctionImg3OfVox3DFloatVecType ){
return true; }
280 if ((3 == numComps) && m_FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ){
return true; }
281 if ((4 == numComps) && m_FiniteDifferenceFunctionImg3OfVox4DFloatVecType ){
return true; }
282 if ((4 == numComps) && m_FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ){
return true; }
283 if ((6 == numComps) && m_FiniteDifferenceFunctionImg3OfVox6DFloatVecType ){
return true; }
284 if ((6 == numComps) && m_FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ){
return true; }
285 if ((8 == numComps) && m_FiniteDifferenceFunctionImg3OfVox8DFloatVecType ){
return true; }
286 if ((8 == numComps) && m_FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ){
return true; }
289 if (usePDEDeformableFunc && (3==imgDim)){
290 if ((3 == numComps) && m_PDEDeformableRegFunction3DF3DF3DFVType ){
return true; }
348 FiniteDifferenceFunctionImg2OfVoxInt8Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxInt8Type ;
349 FiniteDifferenceFunctionImg2OfVoxInt16Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxInt16Type ;
350 FiniteDifferenceFunctionImg2OfVoxInt32Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxInt32Type ;
351 FiniteDifferenceFunctionImg2OfVoxUInt8Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxUInt8Type ;
352 FiniteDifferenceFunctionImg2OfVoxUInt16Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxUInt16Type ;
353 FiniteDifferenceFunctionImg2OfVoxUInt32Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxUInt32Type ;
354 FiniteDifferenceFunctionImg2OfVoxFloatType ::Pointer m_FiniteDifferenceFunctionImg2OfVoxFloatType ;
355 FiniteDifferenceFunctionImg2OfVoxDoubleType ::Pointer m_FiniteDifferenceFunctionImg2OfVoxDoubleType ;
356 FiniteDifferenceFunctionImg2OfVox2DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox2DFloatVecType ;
357 FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ;
358 FiniteDifferenceFunctionImg2OfVox3DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox3DFloatVecType ;
359 FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ;
360 FiniteDifferenceFunctionImg2OfVox4DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox4DFloatVecType ;
361 FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ;
362 FiniteDifferenceFunctionImg2OfVox6DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox6DFloatVecType ;
363 FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ;
364 FiniteDifferenceFunctionImg2OfVox8DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox8DFloatVecType ;
365 FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ;
367 FiniteDifferenceFunctionImg3OfVoxInt8Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxInt8Type ;
368 FiniteDifferenceFunctionImg3OfVoxInt16Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxInt16Type ;
369 FiniteDifferenceFunctionImg3OfVoxInt32Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxInt32Type ;
370 FiniteDifferenceFunctionImg3OfVoxUInt8Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxUInt8Type ;
371 FiniteDifferenceFunctionImg3OfVoxUInt16Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxUInt16Type ;
372 FiniteDifferenceFunctionImg3OfVoxUInt32Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxUInt32Type ;
373 FiniteDifferenceFunctionImg3OfVoxFloatType ::Pointer m_FiniteDifferenceFunctionImg3OfVoxFloatType ;
374 FiniteDifferenceFunctionImg3OfVoxDoubleType ::Pointer m_FiniteDifferenceFunctionImg3OfVoxDoubleType ;
375 FiniteDifferenceFunctionImg3OfVox2DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox2DFloatVecType ;
376 FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ;
377 FiniteDifferenceFunctionImg3OfVox3DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox3DFloatVecType ;
378 FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ;
379 FiniteDifferenceFunctionImg3OfVox4DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox4DFloatVecType ;
380 FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ;
381 FiniteDifferenceFunctionImg3OfVox6DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox6DFloatVecType ;
382 FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ;
383 FiniteDifferenceFunctionImg3OfVox8DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox8DFloatVecType ;
384 FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ;
386 PDEDeformableRegFunction3DF3DF3DFVType ::Pointer m_PDEDeformableRegFunction3DF3DF3DFVType ;
412 if (!outputFieldName) {
414 "Passed field name pointer is nullptr. Ignoring call.");
422 _baseField = module.
addBase(outputFieldName);
424 _baseField->setBaseValue(&_baseWrapper);
433 if (!inputFieldName) {
435 "Passed field name pointer is nullptr. Ignoring call.");
443 _baseField = module.
addBase(inputFieldName);
453 _baseField->setBaseValue(newObject);
478 return &_baseWrapper;
Field to encapsulate a pointer to an ML base object.
void addAllowedType(const RuntimeType *allowedType)
Adds type to the list of allowed types.
Class representing general ML objects that support import/export via strings (setPersistentState() an...
BaseField * addBase(const char *name)
Creates a Base field with name and adds it to the container. Default value is NULL.
Special case wrapper for ITKFiniteDifferenceFunctionWrapper.
BaseField * getInputBaseField()
For legacy reasons there are two fields for getting the base field.
void setNewOutputBaseFieldObject(ITKFiniteDifferenceFunctionWrapper *newObject)
This replaces the output base object.
BaseField * getOutputBaseField()
For legacy reasons there are two fields for getting the base field.
FiniteDifferenceFunctionWrapper()
Constructor.
void addOutputBaseField(Module &module, const char *outputFieldName)
Method to add a base field to the passed Module module.
ITKFiniteDifferenceFunctionWrapper _baseWrapper
Reference to the Base object wrapping the ITK object pointer.
void addInputBaseField(Module &module, const char *inputFieldName)
Method to add a base field to the passed Module module.
ITKFiniteDifferenceFunctionWrapper * getWrappedInputObject()
Return the pointer to the wrapped input object, if it is of the correct type, otherwise a nullptr.
ITKFiniteDifferenceFunctionWrapper * getWrappedOutputObject()
Return the pointer to the wrapped object.
Class to provide a number of get/set functions for often used templated objects, for example function...
void SetFiniteDifferenceFunctionImg3OfVoxUInt8Type(FiniteDifferenceFunctionImg3OfVoxUInt8Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox8DFloatVecType(FiniteDifferenceFunctionImg3OfVox8DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox4DFloatVecType(FiniteDifferenceFunctionImg3OfVox4DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox6DDoubleVecType(FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVoxUInt8Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxUInt8Type *)
void SetFiniteDifferenceFunctionImg3OfVoxInt16Type(FiniteDifferenceFunctionImg3OfVoxInt16Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox2DDoubleVecType(FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox2DFloatVecType(FiniteDifferenceFunctionImg2OfVox2DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox2DFloatVecType(FiniteDifferenceFunctionImg3OfVox2DFloatVecType ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVox3DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox3DFloatVecType *)
void SetFiniteDifferenceFunctionImg3OfVoxFloatType(FiniteDifferenceFunctionImg3OfVoxFloatType ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVox2DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox2DFloatVecType *)
FiniteDifferenceFunctionImg2OfVoxUInt8Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxUInt8Type *)
FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox6DDoubleVecType *)
void SetFiniteDifferenceFunctionImg3OfVoxDoubleType(FiniteDifferenceFunctionImg3OfVoxDoubleType ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVoxInt16Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt16Type *)
ITKFiniteDifferenceFunctionWrapper()
Constructor. Resets all pointers.
FiniteDifferenceFunctionImg2OfVoxInt8Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt8Type *)
FiniteDifferenceFunctionImg3OfVoxInt8Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxInt8Type *)
void SetFiniteDifferenceFunctionImg2OfVox6DFloatVecType(FiniteDifferenceFunctionImg2OfVox6DFloatVecType ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox4DDoubleVecType *)
void SetFiniteDifferenceFunctionImg3OfVoxUInt16Type(FiniteDifferenceFunctionImg3OfVoxUInt16Type ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox2DDoubleVecType *)
void SetFiniteDifferenceFunctionImg2OfVoxInt8Type(FiniteDifferenceFunctionImg2OfVoxInt8Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxUInt8Type(FiniteDifferenceFunctionImg2OfVoxUInt8Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxFloatType(FiniteDifferenceFunctionImg2OfVoxFloatType ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVoxUInt32Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxUInt32Type *)
FiniteDifferenceFunctionImg3OfVoxDoubleType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxDoubleType *)
void SetFiniteDifferenceFunctionImg2OfVoxInt16Type(FiniteDifferenceFunctionImg2OfVoxInt16Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox8DFloatVecType(FiniteDifferenceFunctionImg2OfVox8DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVoxInt32Type(FiniteDifferenceFunctionImg3OfVoxInt32Type ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox8DDoubleVecType *)
void SetFiniteDifferenceFunctionImg3OfVox3DDoubleVecType(FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVoxFloatType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxFloatType *)
FiniteDifferenceFunctionImg2OfVoxUInt16Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxUInt16Type *)
void SetFiniteDifferenceFunctionImg2OfVoxUInt32Type(FiniteDifferenceFunctionImg2OfVoxUInt32Type ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVoxFloatType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxFloatType *)
void SetFiniteDifferenceFunctionImg2OfVox4DFloatVecType(FiniteDifferenceFunctionImg2OfVox4DFloatVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVoxInt16Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxInt16Type *)
FiniteDifferenceFunctionImg3OfVox2DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox2DFloatVecType *)
FiniteDifferenceFunctionImg2OfVoxDoubleType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxDoubleType *)
FiniteDifferenceFunctionImg3OfVox3DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox3DFloatVecType *)
void SetFiniteDifferenceFunctionImg3OfVox6DFloatVecType(FiniteDifferenceFunctionImg3OfVox6DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox4DDoubleVecType(FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox3DDoubleVecType(FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxUInt16Type(FiniteDifferenceFunctionImg2OfVoxUInt16Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxInt32Type(FiniteDifferenceFunctionImg2OfVoxInt32Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox2DDoubleVecType(FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVox8DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox8DFloatVecType *)
FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox4DDoubleVecType *)
bool isFiniteDifferenceFunctionValid(PagedImage *outImg, bool usePDEDeformableFunc=false)
Check whether a correctly typed difference function is available in any member which matches the conf...
FiniteDifferenceFunctionImg2OfVox8DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox8DFloatVecType *)
FiniteDifferenceFunctionImg2OfVox4DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox4DFloatVecType *)
FiniteDifferenceFunctionImg3OfVoxInt32Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxInt32Type *)
FiniteDifferenceFunctionImg3OfVoxUInt32Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxUInt32Type *)
void SetFiniteDifferenceFunctionImg2OfVox3DFloatVecType(FiniteDifferenceFunctionImg2OfVox3DFloatVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVoxUInt16Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxUInt16Type *)
void SetFiniteDifferenceFunctionImg3OfVoxUInt32Type(FiniteDifferenceFunctionImg3OfVoxUInt32Type ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox6DDoubleVecType *)
FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox2DDoubleVecType *)
FiniteDifferenceFunctionImg3OfVox4DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox4DFloatVecType *)
void SetFiniteDifferenceFunctionImg3OfVox8DDoubleVecType(FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox8DDoubleVecType *)
void SetFiniteDifferenceFunctionImg2OfVoxDoubleType(FiniteDifferenceFunctionImg2OfVoxDoubleType ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVox6DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox6DFloatVecType *)
FiniteDifferenceFunctionImg3OfVox6DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox6DFloatVecType *)
FiniteDifferenceFunctionImg2OfVoxInt32Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt32Type *)
FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox3DDoubleVecType *)
void SetFiniteDifferenceFunctionImg2OfVox8DDoubleVecType(FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVoxInt8Type(FiniteDifferenceFunctionImg3OfVoxInt8Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox6DDoubleVecType(FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox3DFloatVecType(FiniteDifferenceFunctionImg3OfVox3DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox4DDoubleVecType(FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ::Pointer ptr)
PDEDeformableRegFunction3DF3DF3DFVType ::Pointer GetFiniteDifferenceFunction(PDEDeformableRegFunction3DF3DF3DFVType *)
void SetPDEDeformableRegFunction3DF3DF3DFVType(PDEDeformableRegFunction3DF3DF3DFVType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox3DDoubleVecType *)
MLDataType getDataType() const
Returns the data type of the image.
ImageVector getImageExtent() const
Returns the extent of the (sub)image.
Base class for an image processing module of the ML.
The class PagedImage, representing a fragmented image that manages properties and data of an image lo...
MLint getExtDimension() const
Returns the index to the highest vector component that is not 1.
MLint32 MLDataType
MLDataType.
MLEXPORT size_t MLTypeGetNumComponents(MLDataType dataType)
Returns the number of components of the data type data type or 0 in case of an invalid data type.
@ MLuint8Type
Enumerator for the unsigned 8-bit ML integer type.
@ MLuint32Type
Enumerator for the unsigned 32-bit ML integer type.
@ MLfloatType
Enumerator for the signed 32-bit ML floating point type.
@ MLuint16Type
Enumerator for the unsigned 16-bit ML integer type.
@ MLint16Type
Enumerator for the signed 16-bit ML integer type.
@ MLint32Type
Enumerator for the signed 32-bit ML integer type.
@ MLdoubleType
Enumerator for the signed 64-bit ML floating point type.
@ MLint8Type
Enumerator for the signed 8-bit ML integer type.
#define ML_BAD_POINTER_OR_0
A pointer is NULL or a value is NULL or 0 where it should not be.
#define ML_BAD_STATE
The current state of an object is not appropriate for an operation.
#define ML_PRINT_ERROR(FUNC_NAME, REASON, HANDLING)
Like ML_PRINT_ERROR_DUMP(FUNC_NAME, REASON, HANDLING, RT_OBJ) without a runtime object to be dumped.
itk::Image< MLint8, 2 > Img2OfVoxInt8Type
itk::Image< MLuint16, 2 > Img2OfVoxUInt16Type
itk::Image< Vox8DFloatVecType, 3 > Img3OfVox8DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVoxFloatType > FiniteDifferenceFunctionImg3OfVoxFloatType
itk::Image< Vox8DDoubleVecType, 2 > Img2OfVox8DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVoxFloatType > FiniteDifferenceFunctionImg2OfVoxFloatType
itk::Image< MLfloat, 3 > Img3OfVoxFloatType
itk::Image< Vox8DDoubleVecType, 3 > Img3OfVox8DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVox6DFloatVecType > FiniteDifferenceFunctionImg2OfVox6DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVox8DFloatVecType > FiniteDifferenceFunctionImg3OfVox8DFloatVecType
itk::Image< Vox4DDoubleVecType, 3 > Img3OfVox4DDoubleVecType
itk::PDEDeformableRegistrationFunction< Img3OfVoxFloatType, Img3OfVoxFloatType, Img3OfVox3DFloatVecType > PDEDeformableRegFunction3DF3DF3DFVType
itk::Vector< float,8 > Vox8DFloatVecType
itk::Image< Vox6DFloatVecType, 2 > Img2OfVox6DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVox4DFloatVecType > FiniteDifferenceFunctionImg3OfVox4DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVox3DFloatVecType > FiniteDifferenceFunctionImg2OfVox3DFloatVecType
itk::Image< MLfloat, 2 > Img2OfVoxFloatType
itk::Image< MLdouble, 2 > Img2OfVoxDoubleType
itk::Image< MLdouble, 3 > Img3OfVoxDoubleType
itk::Vector< double, 3 > Vox3DDoubleVecType
itk::Image< Vox2DFloatVecType, 3 > Img3OfVox2DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVox4DDoubleVecType > FiniteDifferenceFunctionImg3OfVox4DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVox2DDoubleVecType > FiniteDifferenceFunctionImg3OfVox2DDoubleVecType
itk::Image< Vox2DFloatVecType, 2 > Img2OfVox2DFloatVecType
itk::Image< Vox6DFloatVecType, 3 > Img3OfVox6DFloatVecType
itk::Vector< float,3 > Vox3DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVoxUInt16Type > FiniteDifferenceFunctionImg2OfVoxUInt16Type
itk::FiniteDifferenceFunction< Img2OfVox8DDoubleVecType > FiniteDifferenceFunctionImg2OfVox8DDoubleVecType
itk::Vector< double, 8 > Vox8DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVoxDoubleType > FiniteDifferenceFunctionImg2OfVoxDoubleType
itk::Image< Vox3DFloatVecType, 2 > Img2OfVox3DFloatVecType
itk::Image< MLint8, 3 > Img3OfVoxInt8Type
itk::Image< Vox2DDoubleVecType, 2 > Img2OfVox2DDoubleVecType
itk::Image< MLint16, 2 > Img2OfVoxInt16Type
itk::FiniteDifferenceFunction< Img2OfVox6DDoubleVecType > FiniteDifferenceFunctionImg2OfVox6DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVox4DDoubleVecType > FiniteDifferenceFunctionImg2OfVox4DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVoxUInt32Type > FiniteDifferenceFunctionImg3OfVoxUInt32Type
itk::FiniteDifferenceFunction< Img3OfVoxUInt16Type > FiniteDifferenceFunctionImg3OfVoxUInt16Type
itk::Image< Vox8DFloatVecType, 2 > Img2OfVox8DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVoxUInt32Type > FiniteDifferenceFunctionImg2OfVoxUInt32Type
itk::Image< MLuint8, 2 > Img2OfVoxUInt8Type
itk::Image< MLint32, 2 > Img2OfVoxInt32Type
itk::FiniteDifferenceFunction< Img2OfVoxUInt8Type > FiniteDifferenceFunctionImg2OfVoxUInt8Type
itk::FiniteDifferenceFunction< Img2OfVox4DFloatVecType > FiniteDifferenceFunctionImg2OfVox4DFloatVecType
itk::Image< MLuint32, 3 > Img3OfVoxUInt32Type
itk::FiniteDifferenceFunction< Img3OfVoxInt32Type > FiniteDifferenceFunctionImg3OfVoxInt32Type
itk::Image< Vox4DDoubleVecType, 2 > Img2OfVox4DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVox3DDoubleVecType > FiniteDifferenceFunctionImg3OfVox3DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVox8DFloatVecType > FiniteDifferenceFunctionImg2OfVox8DFloatVecType
itk::Image< Vox4DFloatVecType, 3 > Img3OfVox4DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVox3DDoubleVecType > FiniteDifferenceFunctionImg2OfVox3DDoubleVecType
itk::Image< Vox3DFloatVecType, 3 > Img3OfVox3DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVox6DDoubleVecType > FiniteDifferenceFunctionImg3OfVox6DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVox2DFloatVecType > FiniteDifferenceFunctionImg2OfVox2DFloatVecType
itk::Image< Vox3DDoubleVecType, 3 > Img3OfVox3DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVox8DDoubleVecType > FiniteDifferenceFunctionImg3OfVox8DDoubleVecType
itk::Vector< float,4 > Vox4DFloatVecType
itk::Image< Vox4DFloatVecType, 2 > Img2OfVox4DFloatVecType
itk::Image< MLuint32, 2 > Img2OfVoxUInt32Type
itk::Image< Vox6DDoubleVecType, 2 > Img2OfVox6DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVox3DFloatVecType > FiniteDifferenceFunctionImg3OfVox3DFloatVecType
itk::Image< MLint16, 3 > Img3OfVoxInt16Type
itk::FiniteDifferenceFunction< Img2OfVoxInt8Type > FiniteDifferenceFunctionImg2OfVoxInt8Type
itk::FiniteDifferenceFunction< Img2OfVox2DDoubleVecType > FiniteDifferenceFunctionImg2OfVox2DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVoxInt8Type > FiniteDifferenceFunctionImg3OfVoxInt8Type
itk::FiniteDifferenceFunction< Img2OfVoxInt32Type > FiniteDifferenceFunctionImg2OfVoxInt32Type
itk::Vector< double, 2 > Vox2DDoubleVecType
itk::Image< MLuint16, 3 > Img3OfVoxUInt16Type
itk::Vector< float,2 > Vox2DFloatVecType
Include most ML specific things.
itk::FiniteDifferenceFunction< Img3OfVox2DFloatVecType > FiniteDifferenceFunctionImg3OfVox2DFloatVecType
itk::Image< MLuint8, 3 > Img3OfVoxUInt8Type
itk::Vector< double, 6 > Vox6DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVoxInt16Type > FiniteDifferenceFunctionImg3OfVoxInt16Type
itk::FiniteDifferenceFunction< Img3OfVox6DFloatVecType > FiniteDifferenceFunctionImg3OfVox6DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVoxUInt8Type > FiniteDifferenceFunctionImg3OfVoxUInt8Type
itk::Image< MLint32, 3 > Img3OfVoxInt32Type
itk::Image< Vox3DDoubleVecType, 2 > Img2OfVox3DDoubleVecType
itk::Image< Vox6DDoubleVecType, 3 > Img3OfVox6DDoubleVecType
itk::Vector< double, 4 > Vox4DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVoxDoubleType > FiniteDifferenceFunctionImg3OfVoxDoubleType
itk::Vector< float,6 > Vox6DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVoxInt16Type > FiniteDifferenceFunctionImg2OfVoxInt16Type
itk::Image< Vox2DDoubleVecType, 3 > Img3OfVox2DDoubleVecType
#define MLITK_SUPPORT_EXPORT
When included by other libraries MLITK_SUPPORT_EXPORT is compiled as import symbol.
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...