Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

FindHomography need to calculate perspective transform. Perspective transform has 8 parameters. This means that it requires at least 8 equations to have . In other words you need to provide at least 4 pairs of points to FindHomography.

FindHomography need to calculate perspective transform. Perspective transform has 8 parameters. This means that it requires at least 8 equations to have . get single solution. In other words you need to provide at least 4 pairs of points to FindHomography.

FindHomography need to calculate perspective transform. Perspective transform has 8 parameters. This means that it requires at least 8 equations to get single solution. In other words you need to provide at least 4 pairs of points to FindHomography.

Edit: Just having 4 pairs of points is not enough. System of 8 equations with 8 unknown variables can't be solved if there linear dependence between equations. The points you used are on the same line. This create linear dependence and makes the system unsolvable. You should not co-linear segments.

FindHomography need to calculate perspective transform. Perspective transform has 8 parameters. This means that it requires at least 8 equations to get single solution. In other words you need to provide at least 4 pairs of points to FindHomography.

Edit: Just having 4 pairs of points is not enough. System of 8 equations with 8 unknown variables can't be solved if there linear dependence between equations. The points you used are on the same line. This create linear dependence and makes the system unsolvable. You should not use co-linear segments.