WebGL Lightning Talk FOSS4G 2011

15
Accelerating remote sensing visualization with WebGL Trevor Clarke Opticks Developer Ball Aerospace & Technologies Corp. [email protected] http://opticks.org

description

This lightning talk will demonstrate and discuss initial work which accelerates certain ELT visualizations using WebGL. This allows for more efficient client-server remote sensing analysis especially over low bandwidth links. WPS and WCS are used to generate intermediate processing results such as spectral angle matrices. HTML5 technologies such as WebGL and Canvas are used to dynamically visualize this data on the client side. Speaker Bio: Trevor Clarke is a software engineer at Ball Aerospace & Technologies. Trevor has a masters degree in computer science from RIT and is a core contributor to Opticks.

Transcript of WebGL Lightning Talk FOSS4G 2011

Page 1: WebGL Lightning Talk FOSS4G 2011

Accelerating remote sensing visualization with

WebGL

Trevor Clarke

Opticks Developer

Ball Aerospace & Technologies Corp.

[email protected]

http://opticks.org

Page 2: WebGL Lightning Talk FOSS4G 2011

Non-literal remote sensing

• More than just pictures• Spectral

• Calculate statistics and visualize relationships

• LIDAR• Dynamic 3D visualizations

Page 3: WebGL Lightning Talk FOSS4G 2011

To the cloud

• Wouldn’t it be cool if we could do this in a web browser?

Page 4: WebGL Lightning Talk FOSS4G 2011

To the cloud

• Maybe we can• WMS – Context maps• WCS – RAW data• WPS – Process execution

Page 5: WebGL Lightning Talk FOSS4G 2011

To the cloud

• Doesn’t help with LIDAR• Spectral display often need lots of

“tweaking” to find proper thresholds, etc.

Page 6: WebGL Lightning Talk FOSS4G 2011

To the cloud

WCS WPS WMS

Adjustthreshold

Page 7: WebGL Lightning Talk FOSS4G 2011

Desktop solution

• A typical solution for desktop apps is to calculate the results data once and just change the display• This is quite fast when all display

operations happen in RAM and/or on the video card

Page 8: WebGL Lightning Talk FOSS4G 2011

A solution for the browser

• Calculate the results data once with WPS and transfer with WCS

• Perform visualization and compositing with Canvas/WebGL

Page 9: WebGL Lightning Talk FOSS4G 2011

A solution for the browser

WCS WPS WCS

WebGLTextureadjustment

Histogram

Page 10: WebGL Lightning Talk FOSS4G 2011

A solution for the browser

Includes material © 2010 DigitalGlobe, Inc. ALL RIGHTS RESERVED

Page 11: WebGL Lightning Talk FOSS4G 2011

Current status

• Proof of concept complete• Partially completed WebGL/Canvas

layer for OpenLayers• Some basic shaders completed

(primarily for hyperspectral)• Threshold• Dynamic color maps

Page 12: WebGL Lightning Talk FOSS4G 2011

Current status

• Multiple server side solutions being tested• GeoServer for WMS• MapServer for WCS and WPS results• 52north, PyWPS, and Zoo being

evaluated for WPS

Page 13: WebGL Lightning Talk FOSS4G 2011

Future

• Port to mobile platforms• Little to no WebGL support currently• Shaders and data flow are the same• Java (Android) or Objective-C (iOS)

instead of JavaScript• gvSIG Mini Maps might be a good starting

point

Page 14: WebGL Lightning Talk FOSS4G 2011

Future

• Same technique useful for LIDAR (and other 3D display)

• Multiple shaders for a variety of display modes available from Opticks (my other project)

Page 15: WebGL Lightning Talk FOSS4G 2011

Q&A

Trevor Clarke

Opticks Developer

Ball Aerospace & Technologies Corp.

[email protected]

http://opticks.org

Presentation available at http://slideshare.net