Satellite View of Globe, Day/Night
Keine Lizenz
Anmerkung des Herausgebers: This file was a File Exchange Pick of the Week
Using the figure file satglobe, which I will upload into the MATLAB Central File Exchange shortly, you can generate fully rendered, rotatable, zoomable views of earth as seen from space. This screen capture was rendered with OpenGL, using a camera light at infinity and specified diffuse and ambient material reflectivities.
The image data was obtained from NASA; the map projection, political boundaries, and gridlines were created using the Mapping Toolbox.
Rendering can be as much art as science, and so graphic design aftertouching on the brightness, contrast, and specular point anomalies was done using standard image editing software, after the image was created in MATLAB. I do not have the image processing toolbox, but I presume this could easily be accomplished with that instead.
Using the SATGLOBE function, the command syntax for this image was:
hgload satglobe
set(gcf,'renderer','opengl')
camlight(-80,0,'infinite')
material([.03 1.5 0])
The OpenGL renderer seems preferable for screen displays, whereas the Zbuffer renderer seems better for image captures such as printing to a JPEG file.
For details on how to create the underlying image, and for higher resolution satellite imagery, please contact the author.
Zitieren als
Michael Kleder (2025). Satellite View of Globe, Day/Night (https://www.mathworks.com/matlabcentral/fileexchange/5403-satellite-view-of-globe-day-night), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Mathematics and Optimization > Mapping Toolbox >
- Radar > Mapping Toolbox >
- Industries > Aerospace and Defense > CubeSat and Satellites >
- Aerospace and Defense > Aerospace Blockset > Reference Applications >
Tags
Quellenangaben
Inspiriert: SATGLOBE - Rendering Satellite Views of Earth
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |