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 (none), 14 years ago

Added original make3d

File size: 220 bytes
Line 
1function S = random_scene(np)
2% First we pick a scene with unit albedos, then scale by randomly chosen ones.
3for i = 1:np
4  US = [US, random_scene_normal];
5end
6albedos = rand(np,1);
7S = [albedos, albedos, albedos]'.*US;
Note: See TracBrowser for help on using the repository browser.