Open KrisThielemans opened 4 years ago
@rijobro: So far as I can see otherengine
can only be Reg
at present - or is there a branch that has other conversions implemented?
yes unfortunately we can only convert to NiftiImageData
, not the other way round.
PR for ImageData->Gadgetron https://github.com/CCPPETMR/SIRF/pull/537, PR for ImageData->STIR https://github.com/CCPPETMR/SIRF/pull/535.
I guess the point is to have the test in master, then merge it into the PRs above, and extend it to the other cases.
add
VoxelisedGeometryInfo::operator==
(use accuracy as in https://github.com/CCPPETMR/SIRF/blob/12d2a9dc36f63efc854e1ac5bb293e3ee6e15a1c/src/Registration/cReg/NiftiImageData.cpp#L837)write
!=
in terms of==
add
SIRFImageData::operator==
(and!=
)voxelised_geometry_info
norm(diff)/norm(arg1)< 1.E-3
add ctest in
cSynergistic
:expose to Matlab/Python and add tests there. Need to add test on norm of
as_array
as well.