Replies: 2 comments
-
|
Thanks for your question, @bercowsky Do you use the elastix/Core/Main/itkElastixRegistrationMethod.h Lines 218 to 220 in fa93025 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks for your reply! I am trying to register the images using elastix->RegisterImages(
static_cast<typename itk::DataObject::Pointer>(_FixITKImage),
static_cast<typename itk::DataObject::Pointer>(_MovingITKImage),
parameters, // Parameter map read in previous code
_OutputDir, // Directory where output transform params are written, if
// enabled
elastixLogs, // Enable/disable writing of elastix.log
masking
? static_cast<typename itk::DataObject::Pointer>(_FixITKMaskImage)
: nullptr, // Provide fixed image mask (optional, 0 = no mask)
nullptr // Provide moving image mask (optional, 0 = no mask)
); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to register 2 images using rigid registration, but I want to apply an initial transformation before hand. I saw there is the
-t0option in the command line, but is there a way to inform elastix about this transformation in C++?Beta Was this translation helpful? Give feedback.
All reactions