Page 1:Fast Action Behind Still Photos
Page 2:Q&A: Under The Hood With AMD
Page 3:Q&A: Under The Hood With AMD, Cont.
Page 4:Test Platforms
Page 5:Applications: GIMP, AfterShot Pro, And Musemage
Page 6:Applications: Adobe Photoshop CS6
Page 7:Q&A: Under The Hood With Adobe
Page 8:Q&A: Under The Hood With Adobe, Cont.
Page 9:Q&A: Under The Hood With Adobe, Cont.
Page 10:Benchmark Results: GIMP
Page 11:Benchmark Results: AfterShot Pro
Page 12:Benchmark Results: Musemage
Page 13:Benchmark Results: Photoshop CS6
Page 14:The Picture Is Changing
Applications: GIMP, AfterShot Pro, And Musemage
For this article, we tested with four applications: GIMP, Corel AfterShot Pro, Musemage, and Adobe Photoshop CS6.
GIMP (GNU Image Manipulation Program), an open source project since 1995, is pretty much the go-to app for anyone who doesn’t want to pay for an image/graphics editor. The title is brimming with advanced features ranging from channels and paths to animation and pattern tools. While we tested under Windows, there are versions for several operating systems, including Mac OS X, Linux, FreeBSD, and even AmigaOS 4. Specifically, we tested with the version 2.8 build released on April 2, 2012, that incorporated OpenCL support for 19 filters. We accessed three of these filters (Gaussian blur, bilateral, and motion blur) through the Generic Graphics Library (GEGL) menu list that first started appearing in GIMP 2.6. AMD described GEGL to us like so:
“GEGL is a floating-point-based processing pipeline that will be the foundation for the next upcoming major release of GIMP. GEGL requires more computational power than the baseline GIMP pipeline, which is 8-bit-based. While the computation requirements are high, floating-point does provide flexibilities that 8-bit processing just can’t match. Since GEGL is going to be the future of GIMP processing, we have focused our OpenCL work with GIMP on accelerating the GEGL pipeline (as opposed to the baseline GIMP pipeline). As such, only GEGL operations will experience OpenCL acceleration. GEGL is being integrated piece by piece into GIMP, and that’s why you see special menus for GEGL operation in this build and in the near future, until it’s fully integrated in GIMP, at which point there will not be a special menu for GEGL since everything will be GEGL.”
In speaking with GIMP/GEGL developer Victor Oliveira, we gained an interesting insight. OpenGL is inherently made for graphics processing, and I’d long assumed that OpenCL was much the same, only aimed at somewhat different graphical tasks. However, it turns out that the API is more robust and flexible than most people appreciate.
“OpenCL not only gives GPU acceleration, but we can also use OpenCL in the CPU to provide good multi-threading, which GIMP lacked, and vectorization support,” says Oliveira. “Notice that GIMP's audience is very heterogeneous, so if we want to, for example, support the AVX instruction set in our code, we would have to generate two builds, because it wouldn't work on older machines, or detect it on runtime. Either option is bad. With OpenCL, we can do that while distributing just one build, it's a really interesting technology.
Our GIMP build has command line options for running with or without OpenCL support, as well as displaying a debug window that shows benchmarking results. For a test file, we used a 4096x2048 30 MB bitmap image.
Corel’s AfterShot Pro is a non-destructive photo workflow application. From a technical perspective, this means that every time an image is opened, edited, or output, ASP reapplies all of the image processing, starting at the very earliest step of decoding the image content all the way though rendering the final image on-screen. Throughout this process, no data is eliminated. A better metaphor may be to say that changes are stacked, and users can modify any change made within that stack. Of course, if that stack is flattened or merged, then the non-destructive workflow vanishes.
We obtained a special preview build of ASP from Corel that implements OpenCL in such a way that it helps accelerate file conversions. So we gathered a batch of 50 RAW images, each measuring 6048x4032 and roughly 37 MB, and used ASP to batch convert them into JPG with and without OpenCL assistance.
Musemage is a newer and lesser-known photo editor deserving of a larger audience. As we hear from AMD, this application was the work of several engineers in China, which explains a lot. Technically, the app is a marvel of utility and convenience for photo manipulation, especially for batch editing, but it seems to have received practically no marketing here in America. This is unfortunate because, unlike so many editing tools that have bolted-on GPU-based acceleration as an iterative afterthought, Musemage was built from the ground up with such acceleration.
In our Musemage batch test, we used eight JPEG images supplied by JLucasPhoto.com, each of 10 to 12 MP, totaling 35.4 MB of data. Musemage hosts dozens of adjustments, color effects, lens effects, distortions, resizing options, and so on. During the batch run, we applied eleven of these processes onto each image: Auto Contrast, Auto White Balance, Gaussian Blur (4.0 pixels), Color Denoising (0.8 pixel), Negative Film (highlight 50, shadow 50), Advanced Defog (threshold 0.10, strength 0.65), Vignetting (FoV angle 45), Soften Skin (radius 3.3 pixels, strength 0.05, whiten 0.02), Horizontal Flip, Resize (150% fixed width and height), and Add Text (40% opacity).
- Fast Action Behind Still Photos
- Q&A: Under The Hood With AMD
- Q&A: Under The Hood With AMD, Cont.
- Test Platforms
- Applications: GIMP, AfterShot Pro, And Musemage
- Applications: Adobe Photoshop CS6
- Q&A: Under The Hood With Adobe
- Q&A: Under The Hood With Adobe, Cont.
- Q&A: Under The Hood With Adobe, Cont.
- Benchmark Results: GIMP
- Benchmark Results: AfterShot Pro
- Benchmark Results: Musemage
- Benchmark Results: Photoshop CS6
- The Picture Is Changing