67 typedef ForwardRigidTransformation3D < Space > ForwardTrans;
68 typedef BackwardRigidTransformation3D < Space > BackwardTrans;
70 typedef DomainRigidTransformation3D < Domain, ForwardTrans > MyTransformedDomain;
71 typedef MyTransformedDomain::Bounds Bounds;
79 MyTransformedDomain domainForwardTrans ( forwardTrans );
85 Bounds bounds = domainForwardTrans ( image.domain() );
86 Domain transformedDomain ( bounds.first, bounds.second );
90 MyImageBackwardAdapter adapter ( image, transformedDomain, backwardTrans, idD );
92 adapter >>
"backward_transform.pgm3d";
96 Image transformed ( transformedDomain );
100 transformed.
setValue ( forwardTrans ( *it ), image ( *it ) );
103 transformed >>
"forward_transform.pgm3d";
Iterator for HyperRectDomain.