Skip to content

TPS transforms with ANTsR #420

@muratmaga

Description

@muratmaga

I have a TPS transform created in Slicer and saved in h5 format. When I try to read this into ANTsR, I am getting this error. So TPS is not supported as transform format?

> tps = '/tmp/Transform.h5'
> antsr.tx=readAntsrTransform(tps)
ITK ExceptionObject caught !

itk::ExceptionObject (0x60db27af5350)
Location: "unknown" 
File: /tmp/RtmpXGmjPO/R.INSTALL227d863ed3ac81/ITKR/src/itks/Modules/IO/TransformBase/src/itkTransformIOBase.cxx
Line: 62
Description: ITK ERROR: HDF5TransformIOTemplate(0x60da90d50ab0): Could not create an instance of "ThinPlateSplineKernelTransform_float_3_3"
The usual cause of this error is not registering the transform with TransformFactory
Currently registered Transforms: 
[truncated, long list of supported transforms]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions