Open YMBrianHung opened 4 years ago
Hello,
Basically, the physical world coordinate of image and landmarks will not change after the resmapling. Only the index coordinate will change.
If your landmarks are in the index coordinate, you can convert them to the world coordinate before resampling, for example by sitk::Image::TransformIndexToPhysicalPoint()
. After performing the resampling then these physical points can be converted back to indices: sitk::Image::TransformPhysicalPointToIndex()
.
For more info, you can check some examples on the SimpleITK tutorial
I guess it makes the pipeline much straight-forward, but it is not necessary. Just consider that landmark points are given in the index domain.
1