Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottfried Munda committed Jun 6, 2017
1 parent ae928be commit 7aa8449
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions flowdepth.py
Expand Up @@ -92,14 +92,6 @@ def run_ctf(params, d0, data, imageWidget=None):
I1 = data['images'][0]; I2 = data['images'][1]; K = data['K'] I1 = data['images'][0]; I2 = data['images'][1]; K = data['K']
d0 = np.ones(I1.shape)*d_init d0 = np.ones(I1.shape)*d_init


#path='/home/gottfried/vmgpu/Playground/stereoGeoRegulariser/data/fountain_dense'
#data,G,K = OpenEXR.read(os.path.join(path,'frame_'+str(6).zfill(4)+'.exr'))
#data1,G1,K1 = OpenEXR.read(os.path.join(path,'frame_'+str(7).zfill(4)+'.exr'))
#images = [data['gray'].astype('f')/255, data1['gray'].astype('f')/255]
#G = [G, G1]
#data = dict(images=images, G=G, K=K)
#I1 = data['images'][0]; I2 = data['images'][1]; K = data['K']
#d0 = np.ones(I1.shape)*8.3


minalpha = 0.015 # 3d points must be seen at least under this angle minalpha = 0.015 # 3d points must be seen at least under this angle
maxz = ft.camera_baseline(data['G'][0], data['G'][1])/np.arctan(minalpha/2) # compute depth value maxz = ft.camera_baseline(data['G'][0], data['G'][1])/np.arctan(minalpha/2) # compute depth value
Expand Down

0 comments on commit 7aa8449

Please sign in to comment.