Answer the question
In order to leave comments, you need to log in
How to reverse matrices (perspectives)?
Hello. There is a matrix array for one image:
$matrix = array(
1, 5, 0, 0,
0, 240, 0, 200,
120, 240, 80, 160,
192, 0, 106, 30
);
$image->distortImage(Imagick::DISTORTION_PERSPECTIVE, $matrix, true);
Answer the question
In order to leave comments, you need to log in
https://sourceforge.net/projects/phpmatrixlib/
include_once ("Matrix.class.php");
$matrixA = new Matrix(array(array(0, 1), array(2, 6)));
echo $matrixA->getInverse()->getMathMl();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question