Traceback (most recent call last):
File "/Users/yangxue/Desktop/yangxue/code/airlab/examples/demo.py", line 151, in <module>
main()
File "/Users/yangxue/Desktop/yangxue/code/airlab/examples/demo.py", line 99, in main
warped_polybox = al.Points.transform(np.array(polybox).reshape([-1, 2]), displacement)
File "/Users/yangxue/Desktop/yangxue/code/airlab/airlab/utils/points.py", line 105, in transform
raise Exception("Datatype of displacement field not supported.")
Exception: Datatype of displacement field not supported.
So I used the wrong displacement. How do I get the correct displacement? Can you give an example?
my code:
error:
So I used the wrong displacement. How do I get the correct displacement? Can you give an example?