Skip to content

Commit

Permalink
Added README.md and data
Browse files Browse the repository at this point in the history
  • Loading branch information
yasumat committed Apr 24, 2019
1 parent 62b59e9 commit 6733732
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def plot_light_intensities(ground_truth=None, estimated=None):
scps.load_mask(filename=MASK_FILENAME) # Load mask image
scps.load_lightnpy(filename=LIGHT_FILENAME) # Load light matrix
scps.load_npyimages(foldername=DATA_FOLDERNAME) # Load observations
########################################################################################
# Give fluctuation to light intensities (equivalent to rescaling scps.M's row vectors)
E_gt = np.random.rand(scps.M.shape[0])
E_gt = E_gt / max(E_gt.ravel())
Expand Down

0 comments on commit 6733732

Please sign in to comment.