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.
2 | No.2 Revision |
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.
3 | No.3 Revision |
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.
4 | No.4 Revision |
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.