Untitled Document
Not a member yet? Register for full benefits!

Username
Password
 Writing Graphics Software Gets Much Easier: New Programming Language Yields Code That’s Much Shorter and Clearer -- But Also Faster

This story is from the category Graphics
Printer Friendly Version
Email to a Friend (currently Down)

 

 

Date posted: 03/08/2012

Image-processing software is a hot commodity: Just look at Instagram, a company built around image processing that Facebook is trying to buy for a billion dollars. Image processing is also going mobile, as more and more people are sending cellphone photos directly to the Web, without transferring them to a computer first.

At the same time, digital-photo files are getting so big that, without a lot of clever software engineering, processing them would take a painfully long time on a desktop computer, let alone a cellphone. Unfortunately, the tricks that engineers use to speed up their image-processing algorithms make their code almost unreadable, and rarely reusable. Adding a new function to an image-processing program, or modifying it to run on a different device, often requires rethinking and revising it from top to bottom.

Researchers at MIT's Computer Science and Artificial Intelligence Laboratory (CSAIL) aim to change that, with a new programming language called Halide. Not only are Halide programs easier to read, write and revise than image-processing programs written in a conventional language, but because Halide automates code-optimization procedures that would ordinarily take hours to perform by hand, they're also significantly faster.

In tests, the MIT researchers used Halide to rewrite several common image-processing algorithms whose performance had already been optimized by seasoned programmers. The Halide versions were typically about one-third as long but offered significant performance gains -- two-, three-, or even six-fold speedups. In one instance, the Halide program was actually longer than the original -- but the speedup was 70-fold.

Jonathan Ragan-Kelley, a graduate student in the Department of Electrical Engineering and Computer Science (EECS), and Andrew Adams, a CSAIL postdoc, led the development of Halide, and they've released the code online. At this month's Siggraph, the premier graphics conference, they'll present a paper on Halide, which they co-wrote with MIT computer science professors Saman Amarasinghe and Fredo Durand and with colleagues at Adobe and Stanford University.

See the full Story via external site: www.sciencedaily.com



Most recent stories in this category (Graphics):

23/10/2012: How fear skews our spatial perception

30/09/2012: Taking mathematics to heart

07/09/2012: An Open Platform Improves Biomedical-Image Processing

10/08/2012: NASA's Curiosity Beams Back a Color 360 of Mars' Gale Crater

08/08/2012: What Makes Paris Look Like Paris? Software Finds Stylistic Core

08/08/2012: First BOSS Data: 3-D Map of 500,000 Galaxies, 100,000 Quasars

03/08/2012: Writing Graphics Software Gets Much Easier: New Programming Language Yields Code That’s Much Shorter and Clearer -- But Also Faster

02/08/2012: Software helps print video game characters in 3D