10 template <
typename TInputImageType>
12 AsymmetricBMRegistrationMethod <TInputImageType>
15 itk::TimeProbe tmpTime;
18 this->GetBlockMatcher()->SetForceComputeBlocks(
false);
19 this->GetBlockMatcher()->SetReferenceImage(this->GetFixedImage());
20 this->GetBlockMatcher()->SetMovingImage(movingImage);
21 this->GetBlockMatcher()->SetNumberOfWorkUnits(this->GetNumberOfWorkUnits());
22 this->GetBlockMatcher()->Update();
26 if (this->GetVerboseProgression())
27 std::cout <<
"Matching performed in " << tmpTime.GetTotal() << std::endl;
29 this->GetAgregator()->SetInputRegions(this->GetBlockMatcher()->GetBlockRegions());
30 this->GetAgregator()->SetInputOrigins(this->GetBlockMatcher()->GetBlockPositions());
32 this->GetAgregator()->SetInputWeights(this->GetBlockMatcher()->GetBlockWeights());
33 this->GetAgregator()->SetInputTransforms(this->GetBlockMatcher()->GetBlockTransformPointers());
35 addOn = this->GetAgregator()->GetOutput();
Superclass::InputImageType InputImageType
Superclass::TransformPointer TransformPointer