peterzs / skymodel Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jflalonde/skymodel
MATLAB implementation of the Perez physically-based sky model.
License: Other
This project forked from jflalonde/skymodel
MATLAB implementation of the Perez physically-based sky model.
License: Other
This is a MATLAB implementation of the Perez sky model [1] that we've re-parameterized as a function of common camera parameters, as explained in our IJCV 2010 paper [2]. See the following website for more information: http://graphics.cs.cmu.edu/projects/sky/ === TEST FILE === Use the file 'synthesizeSky.m' as a starting point. === SKY MODEL === These files synthesize the sky model based on camera parameters as inputs: - exactSkyModel.m: Synthesizes the full sky model; - exactGradientModel.m: Synthesizes only the "gradient" part of the sky model; - exactSunModel.m: Synthesizes only the "sun" part of the sky model. These files synthesize the sky model based on angles as inputs (Perez sky model): - perezSkyModel.m: Synthesizes the full sky model; - perezGradientModel.m: Synthesizes only the "gradient" part of the sky model; - perezSunModel.m: Synthesizes only the "sun" part of the sky model. Useful files that convert from pixel coordinates to angles: - pixelAzimuthAngle.m: Converts from pixels to azimuth angle; - pixelZenithAngle.m: Converts from pixels to zenith angle. === TURBIDITY === These files deal with converting the turbidity to the Perez weather coefficients (in 3 channels in xyY color space, as in [3]): - convertTurbidityToSkyParams.m: Converts turbidity to the weather coefficients; - getTurbidityMapping.m: Returns the turbidity mapping between the weather coefficients in each channel. === REFERENCES === [1] R. Perez, R. Seals, and J. Michalsky, "All-weather model for sky luminance distribution -- preliminary configuration and validation," Solar Energy, vol. 50, no. 3, pp. 235--245, Mar. 1993. [2] J.-F. Lalonde, S. G. Narasimhan, and A. A. Efros, "What do the sun and the sky tell us about the camera?," International Journal of Computer Vision, vol. 88, no. 1, pp. 24--51, May 2010. [3] A. J. Preetham, P. Shirley, and B. Smits, "A practical analytic model for daylight," presented at the Proceedings of ACM SIGGRAPH 1999, 1999. === CHANGELOG === 09/18/12: Now using github! See commit messages for changelogs. 09/21/11: Added missing file 'exactGradientModelRatio.m'. Thanks to A. Ravichandran for pointing this out!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.