Skip to content

Commit

Permalink
exps parmss update
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclifford1 committed Jul 17, 2024
1 parent 644dff0 commit db52380
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions IQM_Vis/examples/dists.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ def run():
image_loader=load_and_calibrate_image,
image_pre_processing=lambda x: x, # no resize at start up
image_post_processing=lambda x: IQM_Vis.utils.image_utils.crop_centre(
x, scale_factor=1.5, keep_size=False)
x, scale_factor=2, keep_size=False)
)

# define the transformations
transformations = {
'rotation':{'min':-10, 'max':10, 'function':IQM_Vis.transforms.rotation}, # normal input
'x_shift': {'min':-0.1, 'max':0.1, 'function':IQM_Vis.transforms.x_shift, 'init_value': 0.0},
'rotation':{'min':-12, 'max':12, 'function':IQM_Vis.transforms.rotation}, # normal input
'x_shift': {'min':-0.2, 'max':0.2, 'function':IQM_Vis.transforms.x_shift, 'init_value': 0.0},
# 'y_shift': {'min':-0.1, 'max':0.1, 'function':IQM_Vis.transforms.y_shift, 'init_value': 0.0},
'zoom': {'min': 0.8, 'max':1.2, 'function':IQM_Vis.transforms.zoom_image, 'init_value': 1.0}, # requires non standard slider params
# 'brightness':{'min':-1.0, 'max':1.0, 'function':IQM_Vis.transforms.brightness}, # normal but with float
Expand Down

0 comments on commit db52380

Please sign in to comment.