You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When one uses skew_left_right(), the image is cropped to fit original image size and hence, content is lost.
For example:
Original:
After skewing:
As you can see the content is clipped at top-right and bottom-right corners.
How can I skew in a fashion that preserves content at the expense of larger (or changed) image sizes ?
Actually, this is not supported. The skew operations maintain the image size, as different skew magnitudes/angles would result in many different image sizes due to the stochastic nature of the pipeline. By default Augmentor tries to maintain consistently sized images and automatically performs the cropping required to maintain this.
I hope this helps.
Description:
When one uses skew_left_right(), the image is cropped to fit original image size and hence, content is lost.
For example:
Original:
After skewing:
As you can see the content is clipped at top-right and bottom-right corners.
How can I skew in a fashion that preserves content at the expense of larger (or changed) image sizes ?
Language/Compiler:
Python 3.7
OS:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
Version:
0.2.9
How to recreate:
Sample input image -
What i have already done to resolve the issue:
peruse documentation - https://augmentor.readthedocs.io/en/master/userguide/mainfeatures.html
and code on github -
Augmentor/Augmentor/Pipeline.py
Line 1366 in daf4478
The text was updated successfully, but these errors were encountered: