Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

basically yes.

for a proper description of how, you'd need to demonstrate your problem more precisely. I'd suggest illustrations/pictures or very precise textual description.

at the very least, you can construct 3x3 matrices for translation and scaling and matrix-multiply them onto the homography you calculated. you start with an identity matrix. for translation you change the top two values of the third column. for scaling you'd change the first two values on the diagonal. use separate matrices for each operation, then multiply them.

basically yes.

for a proper description of how, you'd need to demonstrate your problem more precisely. I'd suggest illustrations/pictures or very precise textual description.

at the very least, you can construct 3x3 matrices for translation and scaling and matrix-multiply them (from the left) onto the homography you calculated. that has the effect of moving the data in "screen space", i.e. in the result. to construct one such operation, you start with an identity matrix. for translation you change the top two values of the third column. for scaling you'd change the first two values on the diagonal. use separate matrices for each operation, then multiply them.