Fix bug in homography detection
Explicitly cast image shape to integer value
Add some more comments
Re-enable clipping which was accidentally removed
Do not derive piecewise affine from projective transform
Merge pull request #796 from ahojnnes/warp-fix

Fix bug in homography detection