Loading...
Searching...
No Matches
elxRegularStepGradientDescent.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef elxRegularStepGradientDescent_h
#define elxRegularStepGradientDescent_h
#include "elxIncludes.h" // include first to avoid MSVS warning
#include "itkRegularStepGradientDescentOptimizer.h"
namespace elastix
{
template <class TElastix>
class ITK_TEMPLATE_EXPORT RegularStepGradientDescent
: public itk::RegularStepGradientDescentOptimizer
, public OptimizerBase<TElastix>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(RegularStepGradientDescent);
using Self = RegularStepGradientDescent;
using Superclass1 = RegularStepGradientDescentOptimizer;
using Superclass2 = OptimizerBase<TElastix>;
using Pointer = itk::SmartPointer<Self>;
using ConstPointer = itk::SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(RegularStepGradientDescent, RegularStepGradientDescentOptimizer);
elxClassNameMacro("RegularStepGradientDescent");
using Superclass1::CostFunctionType;
using Superclass1::CostFunctionPointer;
using typename Superclass2::ElastixType;
using typename Superclass2::RegistrationType;
using ITKBaseType = typename Superclass2::ITKBaseType;
using typename Superclass1::ParametersType;
void
BeforeRegistration() override;
void
BeforeEachResolution() override;
void
AfterEachResolution() override;
void
AfterEachIteration() override;
void
AfterRegistration() override;
void
SetInitialPosition(const ParametersType & param) override;
protected:
RegularStepGradientDescent() = default;
~RegularStepGradientDescent() override = default;
private:
elxOverrideGetSelfMacro;
};
} // end namespace elastix
#ifndef ITK_MANUAL_INSTANTIATION
# include "elxRegularStepGradientDescent.hxx"
#endif
#endif // end #ifndef elxRegularStepGradientDescent_h
elastix::OptimizerBase::OptimizerBase
OptimizerBase()=default
elastix::OptimizerBase::RegistrationType
typename ElastixType::RegistrationBaseType RegistrationType
Definition elxBaseComponentSE.h:62
elastix::OptimizerBase::ElastixType
TElastix ElastixType
Definition elxBaseComponentSE.h:57
elastix::OptimizerBase::ITKBaseType
itk::Optimizer ITKBaseType
Definition elxOptimizerBase.h:70
elastix::OptimizerBase::ParametersType
typename ITKBaseType::ParametersType ParametersType
Definition elxOptimizerBase.h:73
elastix::RegularStepGradientDescent::Pointer
itk::SmartPointer< Self > Pointer
Definition elxRegularStepGradientDescent.h:76
elastix::RegularStepGradientDescent::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(RegularStepGradientDescent)
elastix::RegularStepGradientDescent::elxClassNameMacro
elxClassNameMacro("RegularStepGradientDescent")
elastix::RegularStepGradientDescent::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxRegularStepGradientDescent.h:77
elastix::RegularStepGradientDescent::elxOverrideGetSelfMacro
elxOverrideGetSelfMacro
Definition elxRegularStepGradientDescent.h:132
elastix::RegularStepGradientDescent::Superclass1
RegularStepGradientDescentOptimizer Superclass1
Definition elxRegularStepGradientDescent.h:74
elastix::RegularStepGradientDescent::AfterEachResolution
void AfterEachResolution() override
elastix::RegularStepGradientDescent::Superclass2
OptimizerBase< TElastix > Superclass2
Definition elxRegularStepGradientDescent.h:75
elastix::RegularStepGradientDescent::AfterRegistration
void AfterRegistration() override
elastix::RegularStepGradientDescent::~RegularStepGradientDescent
~RegularStepGradientDescent() override=default
elastix::RegularStepGradientDescent::BeforeEachResolution
void BeforeEachResolution() override
elastix::RegularStepGradientDescent::BeforeRegistration
void BeforeRegistration() override
elastix::RegularStepGradientDescent::SetInitialPosition
void SetInitialPosition(const ParametersType &param) override
elastix::RegularStepGradientDescent::ITKBaseType
typename Superclass2::ITKBaseType ITKBaseType
Definition elxRegularStepGradientDescent.h:98
elastix::RegularStepGradientDescent::Self
RegularStepGradientDescent Self
Definition elxRegularStepGradientDescent.h:73
elastix::RegularStepGradientDescent::AfterEachIteration
void AfterEachIteration() override
elastix::RegularStepGradientDescent::RegularStepGradientDescent
RegularStepGradientDescent()=default
elxIncludes.h
elastix
Definition elxDefaultConstruct.h:25

Generated on 1768596610 for elastix by 1.15.0 |