does similarity transform matrix depend on the image size?
See original GitHub issueI am trying to align image with different size (182x182) but I am not getting good results. The alignment looks good if I pass the default image_size (112x112). So, I am wondering if the `
src = np.array([
[30.2946, 51.6963],
[65.5318, 51.5014],
[48.0252, 71.7366],
[33.5493, 92.3655],
[62.7299, 92.2041] ], dtype=np.float32 )
if image_size[1]==112:
src[:,0] += 8.0`
matrix given is for 112x112 images only,
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Matrix similarity - Wikipedia
Similar matrices represent the same linear map under two (possibly) different bases, with P being the change of basis matrix. A transformation A...
Read more >Similarity Transformation - an overview ... - ScienceDirect.com
When a 3D scene is imaged by a moving camera, with translation t = (tx, ty, tz) and rotation ω = (ωx, ωy,...
Read more >Tune Registration Settings in Registration Estimator
Translation transformations preserve the size and orientation of the image. · Similarity transformations include isotropic scaling, rotation, and translation.
Read more >Understanding Transformations in Computer Vision:
In the 2D case, the equation for an affine transform is given by: equation for a 2D affine transform (image by author). Here,...
Read more >Computing Similarity Transformations from Only Image ...
to alternative similarity transformation methods, our ap- proach uses 2D-2D image correspondences thus is not sub- ject to the depth uncertainty that often ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mlourencoeb Thank you, rescaling the values like you told resolved the issue.
Not really. After that line where the shift is applied all you needed to do is:
src = src * 182.0 / 112