Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization
by Alejandro Terrazas, John Ostuni, Michael Barlow
The Immediate Mode Rendering Model
The AWT imaging model wasn't sufficient for any kind of serious image processing because it didn't provide a mechanism for a persistent memory store of pixel data. In other words, there was no convenient way to get to the pixel data. Note that although it is possible to access data through the grabPixels() method, operations on this data were quite limited. Easier access to the pixel data was added in Java 2D with the introduction of the immediate mode rendering model. The immediate mode rendering model is based on the concept of a buffered image. The class BufferedImage represents an area of memory containing pixel data. The ability to use an accessible data buffer enables custom filtering operations such as ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access