Loading...
Searching...
No Matches
itkUpsampleBSplineParametersFilter.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 itkUpsampleBSplineParametersFilter_h
#define itkUpsampleBSplineParametersFilter_h
#include "itkObject.h"
#include "itkArray.h"
namespace itk
{
template <class TArray, class TImage>
class ITK_TEMPLATE_EXPORT UpsampleBSplineParametersFilter : public Object
{
public:
ITK_DISALLOW_COPY_AND_MOVE(UpsampleBSplineParametersFilter);
using Self = UpsampleBSplineParametersFilter;
using Superclass = Object;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(UpsampleBSplineParametersFilter, Object);
using ArrayType = TArray;
using ValueType = typename ArrayType::ValueType;
using ImageType = TImage;
using ImagePointer = typename ImageType::Pointer;
using PixelType = typename ImageType::PixelType;
using SpacingType = typename ImageType::SpacingType;
using OriginType = typename ImageType::PointType;
using DirectionType = typename ImageType::DirectionType;
using RegionType = typename ImageType::RegionType;
itkStaticConstMacro(Dimension, unsigned int, ImageType::ImageDimension);
itkSetMacro(CurrentGridOrigin, OriginType);
itkSetMacro(CurrentGridSpacing, SpacingType);
itkSetMacro(CurrentGridDirection, DirectionType);
itkSetMacro(CurrentGridRegion, RegionType);
itkSetMacro(RequiredGridOrigin, OriginType);
itkSetMacro(RequiredGridSpacing, SpacingType);
itkSetMacro(RequiredGridDirection, DirectionType);
itkSetMacro(RequiredGridRegion, RegionType);
itkSetMacro(BSplineOrder, unsigned int);
virtual void
UpsampleParameters(const ArrayType & param_in, ArrayType & param_out);
protected:
UpsampleBSplineParametersFilter();
~UpsampleBSplineParametersFilter() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
virtual bool
DoUpsampling();
private:
OriginType m_CurrentGridOrigin{};
SpacingType m_CurrentGridSpacing{};
DirectionType m_CurrentGridDirection{};
RegionType m_CurrentGridRegion{};
OriginType m_RequiredGridOrigin{};
SpacingType m_RequiredGridSpacing{};
DirectionType m_RequiredGridDirection{};
RegionType m_RequiredGridRegion{};
unsigned int m_BSplineOrder{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkUpsampleBSplineParametersFilter.hxx"
#endif
#endif // end #ifndef itkUpsampleBSplineParametersFilter_h
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType >::m_CurrentGridDirection
DirectionType m_CurrentGridDirection
Definition itkUpsampleBSplineParametersFilter.h:120
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType >::m_RequiredGridDirection
DirectionType m_RequiredGridDirection
Definition itkUpsampleBSplineParametersFilter.h:124
itk::UpsampleBSplineParametersFilter::OriginType
typename ImageType::PointType OriginType
Definition itkUpsampleBSplineParametersFilter.h:63
itk::UpsampleBSplineParametersFilter::UpsampleBSplineParametersFilter
UpsampleBSplineParametersFilter()
itk::UpsampleBSplineParametersFilter::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkUpsampleBSplineParametersFilter.h:48
itk::UpsampleBSplineParametersFilter::itkStaticConstMacro
itkStaticConstMacro(Dimension, unsigned int, ImageType::ImageDimension)
itk::UpsampleBSplineParametersFilter::DoUpsampling
virtual bool DoUpsampling()
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType >::m_CurrentGridOrigin
OriginType m_CurrentGridOrigin
Definition itkUpsampleBSplineParametersFilter.h:118
itk::UpsampleBSplineParametersFilter::UpsampleParameters
virtual void UpsampleParameters(const ArrayType &param_in, ArrayType &param_out)
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType >::m_RequiredGridOrigin
OriginType m_RequiredGridOrigin
Definition itkUpsampleBSplineParametersFilter.h:122
itk::UpsampleBSplineParametersFilter::SpacingType
typename ImageType::SpacingType SpacingType
Definition itkUpsampleBSplineParametersFilter.h:62
itk::UpsampleBSplineParametersFilter::ImagePointer
typename ImageType::Pointer ImagePointer
Definition itkUpsampleBSplineParametersFilter.h:60
itk::UpsampleBSplineParametersFilter::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::UpsampleBSplineParametersFilter::RegionType
typename ImageType::RegionType RegionType
Definition itkUpsampleBSplineParametersFilter.h:65
itk::UpsampleBSplineParametersFilter::~UpsampleBSplineParametersFilter
~UpsampleBSplineParametersFilter() override=default
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType >::m_RequiredGridRegion
RegionType m_RequiredGridRegion
Definition itkUpsampleBSplineParametersFilter.h:125
itk::UpsampleBSplineParametersFilter::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(UpsampleBSplineParametersFilter)
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType >::m_CurrentGridRegion
RegionType m_CurrentGridRegion
Definition itkUpsampleBSplineParametersFilter.h:121
itk::UpsampleBSplineParametersFilter::ValueType
typename ArrayType::ValueType ValueType
Definition itkUpsampleBSplineParametersFilter.h:58
itk::UpsampleBSplineParametersFilter::ImageType
TImage ImageType
Definition itkUpsampleBSplineParametersFilter.h:59
itk::UpsampleBSplineParametersFilter::Superclass
Object Superclass
Definition itkUpsampleBSplineParametersFilter.h:46
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType >::m_BSplineOrder
unsigned int m_BSplineOrder
Definition itkUpsampleBSplineParametersFilter.h:126
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType >::m_RequiredGridSpacing
SpacingType m_RequiredGridSpacing
Definition itkUpsampleBSplineParametersFilter.h:123
itk::UpsampleBSplineParametersFilter::Self
UpsampleBSplineParametersFilter Self
Definition itkUpsampleBSplineParametersFilter.h:45
itk::UpsampleBSplineParametersFilter::ArrayType
TArray ArrayType
Definition itkUpsampleBSplineParametersFilter.h:57
itk::UpsampleBSplineParametersFilter::Pointer
SmartPointer< Self > Pointer
Definition itkUpsampleBSplineParametersFilter.h:47
itk::UpsampleBSplineParametersFilter< ParametersType, ImageType >::m_CurrentGridSpacing
SpacingType m_CurrentGridSpacing
Definition itkUpsampleBSplineParametersFilter.h:119
itk::UpsampleBSplineParametersFilter::DirectionType
typename ImageType::DirectionType DirectionType
Definition itkUpsampleBSplineParametersFilter.h:64
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |