Skip to content

Commit

Permalink
reduce blur in rotation transform with higher interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclifford1 committed Jul 2, 2024
1 parent 4f77db9 commit c5c9efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IQM_Vis/transformations/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def rotation(image, angle=0):
'''
if angle == 0:
return image
return np.clip(rotate(image, angle), 0, 1)
return np.clip(rotate(image, angle, order=3), 0, 1)

def blur(image, kernel_size=7):
'''Gaussian Blur on an image
Expand Down

0 comments on commit c5c9efe

Please sign in to comment.