Dear listers, I am trying to write a small program in PDL that performs the "baker" transformation on a sample image. I am a relatiovely new PDL user and the objective of this is to learn more The basic steps, given an image, are:
1. 100% stretch in the X direction, e.g. from 100 pixels to 200. 2. 50% contract in the Y direction, e.g. from 100 pixels to 50. 3. divide in two halves along X and create a new image by putting the right halve above the left one (the new image has the same size as the input one). I know how to do step number 3, but my attempts to use PDL::Transform to do steps 1 and 2 have failed. Basically, I cannot figure out how to define a transformation (using t_linear) that applies different scales to X and Y. Any hint will be appreciated. Thanks in advance Hernán -- Hernán De Angelis Linux user # 397217 _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
