Skip to content

Commit

Permalink
Update ramp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elerac committed Aug 15, 2020
1 parent 698fb11 commit 262a6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions structuredlight/ramp.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ def generate(self, dsize):
return imlist

def decode(self, imlist):
img_white = patternImages[0]
img_ramp = patternImages[1]
img_white = imlist[0]
img_ramp = imlist[1]

img_ratio = img_ramp/img_white

Expand Down

0 comments on commit 262a6a2

Please sign in to comment.