Currently, the demos provided at instantiation of TpsRpmRegistrationFactory, TpsRpmBijRegistrationFactory are merely used to iterate over for batch_register and batch_cost. However, the intended behavior is for the RegistrationFactory to only allow to do register and cost with one of the demos provided at instantiation.
Once this behavior is implemented, the RegistrationFactory should do all necessary pre-computation at instantiation for efficiency reasons (i.e. the SolverFactory should create a Solver at this point instead of every time tps_rpm or tps_rpm_bij is called).
Currently, the demos provided at instantiation of
TpsRpmRegistrationFactory
,TpsRpmBijRegistrationFactory
are merely used to iterate over forbatch_register
andbatch_cost
. However, the intended behavior is for theRegistrationFactory
to only allow to doregister
andcost
with one of the demos provided at instantiation.Once this behavior is implemented, the
RegistrationFactory
should do all necessary pre-computation at instantiation for efficiency reasons (i.e. theSolverFactory
should create aSolver
at this point instead of every timetps_rpm
ortps_rpm_bij
is called).