[Insight-users] BSpline Deformable Registration
Tao, Xiaodong (GE, Research)
taox at research.ge.com
Wed Aug 9 15:43:53 EDT 2006
Minjie,
You can achieve this by using
itk::LBFGSBOptimizer,
which allows you to set bounds for the transformation parameters. The code may look like
typedef itk::LBFGSBOptimizer OptimizerType;
OptimizerType::Pointer optimizer = optimizer::New();
OptimizerType::BoundSelectionType boundSelect( transform->GetNumberOfParameters() );
OptimizerType::BoundValueType upperBound( transform->GetNumberOfParameters() );
OptimizerType::BoundValueType lowerBound( transform->GetNumberOfParameters() );
boundSelect.Fill( 2 ); // for each parameter, you can choose to use lower bound, upper bound, or both.
// set values for upperBound and lowerBound here
optimizer->SetBoundSelection( boundSelect );
optimizer->SetUpperBound( upperBound );
optimizer->SetLowerBound( lowerBound );
Hope this helps.
Xiaodong
-----Original Message-----
From: insight-users-bounces+taox=research.ge.com at itk.org [mailto:insight-users-bounces+taox=research.ge.com at itk.org]On Behalf Of Minjie Wu
Sent: Wednesday, August 09, 2006 2:49 PM
To: insight-users at itk.org
Subject: [Insight-users] BSpline Deformable Registration
Hello All,
I am using BSpline Registration for 3D brain image alignment. The warped
results look ok, but I am more interested in a constrained deformable
registration, such as allow the deformation only in one direction (could
be x, or y, or z-direciton).
I wonder if it is possible to have BSpline deformable registration with
less deformation flexibility, such as allowing deformation in one
direction only.
Or if there is any other deformable transformations in ITK have such
constrained-deformation property?
Any suggestion is appreciate. Thank you very much for your help.
-Minjie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20060809/945f1d09/attachment.html
More information about the Insight-users
mailing list