source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/missing-data/shad_ints.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 415 bytes
Line 
1function [M, INC,ERR] = shad_ints(fo, nframes, npoints,sigma)
2% For now, I'll generate scenes with a surface normal drawn from
3% a uniform intensity facing the camera.  Lighting directions will
4% be drawn from uniform density on some subset of the sphere to
5% generate the appropriate fo.
6
7F = random_lights(nframes, fo);
8P = random_scene(npoints);
9
10ERR = randn(nframes,npoints).*sigma;
11M = F*P;
12INC = M+ERR > 0;
Note: See TracBrowser for help on using the repository browser.