itk_dreg.elastix.serialize
¶
Module Contents¶
Functions¶
Convert an ITKElastix parameter map to a pickleable dictionary. |
|
Create an ITKElastix parameter map from a dictionary representation. |
|
Convert an ITKElastix parameter object to a pickleable collection. |
|
Create an ITKElastix parameter object from a list-of-dictionaries representation. |
Data¶
API¶
- itk_dreg.elastix.serialize.logger¶
‘getLogger(…)’
- itk_dreg.elastix.serialize.ParameterObjectType¶
None
- itk_dreg.elastix.serialize.ParameterMapType¶
None
- itk_dreg.elastix.serialize.SerializableParameterMapType¶
None
- itk_dreg.elastix.serialize.SerializableParameterObjectType¶
None
- itk_dreg.elastix.serialize.parameter_map_to_dict(parameter_map: itk_dreg.elastix.serialize.ParameterMapType) itk_dreg.elastix.serialize.SerializableParameterMapType ¶
Convert an ITKElastix parameter map to a pickleable dictionary.
- Parameters:
parameter_map – The
itk.elxParameterObjectPython.mapstringvectorstring
to convert.- Returns:
A dictionary of parameter map values.
- itk_dreg.elastix.serialize.dict_to_parameter_map(val: itk_dreg.elastix.serialize.SerializableParameterMapType) itk_dreg.elastix.serialize.ParameterMapType ¶
Create an ITKElastix parameter map from a dictionary representation.
- Parameters:
val – A dictionary of parameter map values to convert.
- Returns:
An
itk.elxParameterObjectPython.mapstringvectorstring
parameter map representation.
- itk_dreg.elastix.serialize.parameter_object_to_list(parameter_object: itk_dreg.elastix.serialize.ParameterObjectType) itk_dreg.elastix.serialize.SerializableParameterObjectType ¶
Convert an ITKElastix parameter object to a pickleable collection.
- Parameters:
parameter_object – An
itk.ParameterObject
representing an Elastix registration configuration. A parameter object may contain 0 to many parameter maps.- Returns:
A list of parameter maps.
- itk_dreg.elastix.serialize.list_to_parameter_object(elastix_parameter_map_vals: itk_dreg.elastix.serialize.SerializableParameterObjectType) itk_dreg.elastix.serialize.ParameterObjectType ¶
Create an ITKElastix parameter object from a list-of-dictionaries representation.
- Parameters:
elastix_parameter_map_vals – The list of dictionaries that represent ITKElastix parameter maps.
- Returns:
An
itk.ParameterObject
populated with parameter maps.