I'm trying to program an MRCM (multiple reduction copy machine), which operates as follows:
- Takes some initial image
- Applies different combinations of affine linear transformations to the image to create new images (rotating, scaling, translating, sheering, etc)
- Conjoins these images to make a new image, that becomes the initial image
I have attached an image below as an example of an MRCM creating Sierpinski's triangle.
I'm looking for a way to implement this system in python and I'm unsure about what libraries and functions I should use, specifically for applying transformations and adding images together. If there is no ideal library to do this for me, I'm considering just converting images into pixel arrays and performing operations on each pixel. Outside from that, I am aware that PIL is an image processing library that might prove useful for this.
Any help is appreciated. Thank you!
