Related to #636, allow the read_transform function to read displacement fields.
Also added checking for the transform_from_displacement_field function, so that a meaningful error is raised if the image does not have the correct number of components.
coverage: 80.917% (+0.003%) from 80.914%
when pulling dab3df03029b7977840b77b1692b15903009fcc5 on ants_read_warp_transform
into 1c812984096bfebd8d55241735f750085c340d7f on master.
Related to #636, allow the read_transform function to read displacement fields.
Also added checking for the
transform_from_displacement_field
function, so that a meaningful error is raised if the image does not have the correct number of components.