21#ifndef mia_2d_transform_hh
22#define mia_2d_transform_hh
64 typedef std::shared_ptr<C2DTransformation >
Pointer;
125 void print(
std::ostream& os) const;
127 virtual const
C2DFVector& do_get_value()const = 0;
128 virtual
void do_y_increment() = 0;
129 virtual
void do_x_increment() = 0;
219 std::unique_ptr<iterator_impl> m_holder;
281 virtual
size_t degrees_of_freedom() const = 0;
286 virtual
void set_identity() = 0;
324 virtual
float get_max_transform() const = 0;
346 return get_displacement_at(x);
378 static constexpr const char *input_spacing_attr =
"in-pixel-spacing";
383 static constexpr const char *output_spacing_attr =
"out-pixel-spacing";
397 std::string m_creator_string;
398 virtual C2DTransformation *do_clone() const __attribute__((warn_unused_result)) = 0;
C2DImage::Pointer P2DImage
Shared pointer representation of the 2D Image.
bool operator!=(const C2DImage &a, const C2DImage &b)
EXPORT_2D C2DFVectorfield & operator+=(C2DFVectorfield &a, const C2DFVectorfield &b)
bool operator==(const CAttribute &a, const CAttribute &b)
std::ostream & operator<<(std::ostream &os, const CAttribute &attr)
a 2D field of floating point single accuracy 2D vectors
This is the base class for 2D images that can hold generic pixel data.
The factory to create an interpolator from some input data.
A wrapper around the c-array to provide an STL like interface for iterators.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
#define NS_MIA_END
conveniance define to end the mia namespace
C2DTransformation::Pointer P2DTransformation
Pointer type for the 2D transformation.
F operator*(const typename TSparseSolver< F >::A_mult_x &A, const F &x)