Cropping out when opencv skewing

asked 2019-07-04 23:42:21 -0600

miki gravatar image

updated 2019-07-07 23:10:13 -0600

As stated in the header, when using the affine transformation with mapping from three points to three points (in order to make a Skewing effect), some parts of the original image are cropped out. In my case, those parts are needed and so I'm wondering how to skew but fully keeping the details.

EDIT: My bad, sorry about that, is attached below what I tried, and the results I got from it image description

image description

This one is after tweaking a bit more points.

image description

edit retag flag offensive close merge delete

Comments

1

can you show us, what you tried, so far ? we can help you much better, if we actualy discuss code ;)

berak gravatar imageberak ( 2019-07-05 03:47:14 -0600 )edit
2

and perhaps an image illustrating the problem....

Witek gravatar imageWitek ( 2019-07-05 04:39:31 -0600 )edit
1

I have added more explanations as edit.

miki gravatar imagemiki ( 2019-07-07 23:10:41 -0600 )edit
1

@miki, for the future -- please NO screenshots of code here. ppl can't quote you, it can't be indexed for search, etc, thank you.

berak gravatar imageberak ( 2019-07-07 23:54:18 -0600 )edit

alright, sorry for that

miki gravatar imagemiki ( 2019-07-08 01:22:58 -0600 )edit