Is there an algorithm for rotating a (presumably square) image 90 degrees (either cw or ccw) with the only operation available being mirroring (either vertical, horizontal or both) an arbitrary rectangular section of the image? The algorithm should be optimal in the number of operations done.
Aucun commentaire:
Enregistrer un commentaire