source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/missing-data/random_scene.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 220 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function S = random_scene(np) |
2 | % First we pick a scene with unit albedos, then scale by randomly chosen ones. | |
3 | for i = 1:np | |
4 | US = [US, random_scene_normal]; | |
5 | end | |
6 | albedos = rand(np,1); | |
7 | S = [albedos, albedos, albedos]'.*US; |
Note: See TracBrowser
for help on using the repository browser.