Cropping out when opencv skewing

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

miki gravatar image

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

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



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 -0500 )edit

and perhaps an image illustrating the problem....

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

I have added more explanations as edit.

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

@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 -0500 )edit

alright, sorry for that

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