There are many functions in Mathematica, which return expressions with TransformationFunction head, for example RotationTransform. Unfortunately, there is no PerspectiveTransform amongst them.
How to create custom transformation functions in general? There is no explanation in docs. It is only said that "TransformationFunction works like Function." what does it mean? That writing TransformationFunction is just writing a Function?
Also it is said that when possible "matrix forms for transformations can be obtained from TransformationFunction objects using TransformationMatrix."
Can I have some samples of custom TransformationFunction with and without matrix?
UPDATE
If I provide my transformation (homogenous) matrix it produces "nonaffine" error:



UPDATE 2
Now trying to form transformation via LinearFractionalTransform and effect ios the same

FindGeometricTransformcan return perspective transform. But what about generating custom one? – Suzan Cioc Jun 18 '13 at 08:31custom = TransformationFunction[Array[Plus,{4,4}]]– Simon Woods Jun 18 '13 at 09:13GeometricTransformation, which can only deal with affine transformations. – Simon Woods Jun 18 '13 at 10:33GeometricTransformation[g, tfun]and it isn't clear thattfunmust be affine. – Simon Woods Jun 18 '13 at 11:20{0,0,1}to make the transformation affine. It would be better if the message explained that, so you know that what you get out is not what you asked for. – Simon Woods Jun 18 '13 at 11:26