Open Channel Foundation
Not Logged In |  | 
Open Channel Foundation


Quick Application Search:


JadeDisplay
Basic information
¤ 
Contributors
¤ 
Vision & Direction


Additional resources
¤ 
1- Get JadeDisplay
¤ 
2- Coming Soon...
¤ 
3- COTS Architectural Foundation
¤ 
4- Credits
¤ 
5- How the Display Works
¤ 
6- Users of JadeDisplay at JPL
¤ 
7- Return to main JadeDisplay page


Foundation :: Graphics Software :: JadeDisplay

5- How the Display Works

The JadeDisplay component asynchronously requests tiles as they are needed for the image display. The tiles are loaded and computed in the background using JAI worker threads, and are painted onscreen when the computation is complete. This has the following advantages:

  • User interface remains active and responds to events even while the image is loading... no waiting for the computer. Experience has shown that this is a prime factor in usability.

  • Viewing of enormous images is practical because the user does not have to wait for them to load in their entirety. The display has been tested with images larger than 2 gigabytes.

  • Scrolling is instantaneous, even for slow-loading images.

  • Computations of tiles which are in the queue, but become unnecessary because of subsequent scrolling, are cancelled, thus improving overall throughput.

  • Threaded computation allows for greater throughput for compute-intensive operations on multiprocessor machines (e.g. rotation, filtering).

Tile Computation Sequence of Events

Tile Computation Sequence of Events

When Java sends a repaint event, the affected area is saved in a "damage list". Tiles affected by the repaint are queued with JAI for computation (unless the tile has already been queued). When JAI sends a tile completion notification, the part of the tile intersecting the damage list is immediately painted, and the tile's area is subtracted from the damage list. Multiple worker threads can be active simultaneously (omitted from the drawing for clarity).



Open Channel Software runs entirely on Open Source Software. We return value to the Software community in the form of services and original software. Most of our content is currently available as source code, with the copyright owned by the original author, All Rights Reserved. Everything else is Copyright ©2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Open Channel Software.

View our privacy statement.
Contact webmaster at openchannelsoftware dot org with questions.