Skip to content

Commit

Permalink
examples: super_resolve: Fix resolving without photometric correction…
Browse files Browse the repository at this point in the history
…. Print lambda to higher accuracy.
  • Loading branch information
stefanv committed Feb 8, 2010
1 parent 7669c8b commit 302dfb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/examples/super_resolve.py
Expand Up @@ -95,6 +95,7 @@
scale_offset = []
for i in range(len(ic)):
scale = 1
offset = 0

if options.photo_adjust:
img_warp = homography(ic[i], ic[i].info['H'])
Expand Down Expand Up @@ -189,7 +190,7 @@

filename = '_'.join([os.path.basename(os.path.abspath(vgg_dir)),
'x%.2f' % options.scale,
'%.2flam' % options.damp,
'%.3flam' % options.damp,
options.method,
options.operator,
(options.update and 'update') or 'direct',
Expand Down

0 comments on commit 302dfb5

Please sign in to comment.