affine transformation to rasters

*To*: mathgroup at smc.vnet.net*Subject*: [mg83025] affine transformation to rasters*From*: juan flores <juanfie at gmail.com>*Date*: Thu, 8 Nov 2007 06:04:27 -0500 (EST)

Hi all, I am working on fractals through IFS (Iterated Function Systems). An IFS ca be defined as a set of affine transformations that are iteratively applied to an initial image. All examples in the Wolfram Demonstrations Project do IFSs with polygons. When you apply an affine transformation to a raster image, you get the rotations, reflections, and shearings right, but not the translations nor the scalings. I am reading a jpg file with import, extracting the raster from it, and applying an affine transformation. oce = Import["ExampleData/ocelot.jpg"]; oceras = oce[[1]]; Graphics[GeometricTransformation[oceras, AffineTransform[{{{-0.139, 0.263}, {0.246, 0.224}}, {0.57, -0.036}}]]] In this case, the affine transformation is a composition of translation, rotation, reflection, and shearing. Any ideas on how to proceed? Any tricks? Regards, Juan Flores Universidad Michoacana Mexico