You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c3d -help origin
-origin : Set image origin
Syntax: `-origin vector `
Set the origin of the image. The origin is the world coordinate (in NIfTI coordinate space) of the center of the voxel (0,0,0) in the image. The origin should be specified in millimeters.
c3d input.img -origin 100x100x100mm -o output.img
But the code calls
SetOrigin
https://github.com/pyushkevich/c3d/blob/master/ConvertImageND.cxx#L1515-L1521
which is not overridden in itkOrientedRASImage.h .
The coordinate of voxel 0,0,0 should be the value of the qoffset field in the NIFTI header. But if I do
the origin is changed
The text was updated successfully, but these errors were encountered: