65 typedef ForwardRigidTransformation2D < Space > ForwardTrans;
66 typedef BackwardRigidTransformation2D < Space > BackwardTrans;
68 typedef DomainRigidTransformation2D < Domain, ForwardTrans > MyDomainTransformer;
69 typedef MyDomainTransformer::Bounds Bounds;
77 MyDomainTransformer domainTransformer ( forwardTrans );
83 Bounds bounds = domainTransformer ( image.domain() );
84 Domain transformedDomain ( bounds.first, bounds.second );
89 MyImageBackwardAdapter backwardImageAdapter ( image, transformedDomain , backwardTrans, idD );
91 backwardImageAdapter >>
"backward_transform.pgm";
95 Image forwardTransformedImage ( transformedDomain );
99 forwardTransformedImage.
setValue ( forwardTrans ( *it ), image ( *it ) );
102 forwardTransformedImage >>
"forward_transform.pgm";
Iterator for HyperRectDomain.