16 #ifndef _A_IMAGE_DEFO_H_
17 #define _A_IMAGE_DEFO_H_
20 #include "vtkImageData.h"
33 virtual void read(
const std::string&
name);
a unit to deform an image. The transformation function needs to be defined in a children class.
void box_out_reset()
reset the value of the bounding box
virtual bool old_coordinates(double xn, double yn, double &xo, double &yo)=0
gives the pixel coordinates in the input image in function of the pixel coordinates in the output ima...
void yM(const int val)
impose the size of the output bounding box
void xm(const int val)
impose the size of the output bounding box
void write(const std::string &name)
write the processed image to a file
void deform()
deform the image
void xM(const int val)
impose the size of the output bounding box
virtual void new_coordinates(double xo, double yo, double &xn, double &yn)=0
gives the pixel coordinates in the output image in function of the pixel coordinates in the input ima...
virtual void read(const std::string &name)
read the image to be processed
virtual void box_out()
compute the bounding box of the new image
void ym(const int val)
impose the size of the output bounding box