Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated docstring, fixed motion blur #10

Merged
merged 4 commits into from
Oct 30, 2019
Merged

updated docstring, fixed motion blur #10

merged 4 commits into from
Oct 30, 2019

Conversation

Hvitgar
Copy link
Member

@Hvitgar Hvitgar commented Oct 30, 2019

list of changes

  • updated docstring to be in accordance with the changes made to the corrupt() function (resolves documentation of corruption function #9)
  • invalid arguments will now lead to exceptions. Especially, setting severity to invalid values (fixes severity 0 has more than no effect #8) and providing images of wrong datatype will raise exceptions
  • grayscale images of dimension (height x width) or (height x width x 1) will be converted to (height x width x 3) internally. Input images with dimensions other than these three options will raise an exception (fixes motion blur fails on grayscale inputs #6)
  • motion blur works now on images with small image dimensions (fixes motion blur fails on small input sizes #5). Note: images smaller than 32x32 pixels will still trigger errors in some corruptions, however it is questionable how usefull the corruptions are on very small images. Therefore, currently the input size will be limited to 32x32 pixels and the documentation will be updated accordingly

@Hvitgar Hvitgar merged commit 9ef4321 into master Oct 30, 2019
@Hvitgar Hvitgar deleted the develop branch October 30, 2019 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant