arrow
Return

Darkroom: Compiling High-Level Image Processing Code into Hardware Pipelines

delete2014-07-27
delete167
PRE
AI
J
James Hegarty *
J
John Brunhaver
Z
Zachary DeVito
Jonathan Ragan‐Kelley cover
Jonathan Ragan‐Kelley (Jonathan Ragan‐Kelley)
N
Noy Cohen
S
Steven Bell
A
Artem Vasilyev
Mark Horowitz cover
Mark Horowitz (Mark Horowitz)
P
Pat Hanrahan
DOI:10.1145/2601097.2601174delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Specialized image signal processors (ISPs) exploit the structure of image processing pipelines to minimize memory bandwidth using the architectural pattern of line-buffering, where all intermediate data between each stage is stored in small on-chip buffers. This provides high energy efficiency, allowing long pipelines with tera-op/sec. image processing in battery-powered devices, but traditionally requires painstaking manual design in hardware. Based on this pattern, we present Darkroom, a language and compiler for image processing. The semantics of the Darkroom language allow it to compile programs directly into line-buffered pipelines, with all intermediate values in local line-buffer storage, eliminating unnecessary communication with off-chip DRAM. We formulate the problem of optimally scheduling line-buffered pipelines to minimize buffering as an integer linear program. Finally, given an optimally scheduled pipeline, Darkroom synthesizes hardware descriptions for ASIC or FPGA, or fast CPU code. We evaluate Darkroom implementations of a range of applications, including a camera pipeline, low-level feature detection algorithms, and deblurring. For many applications, we demonstrate gigapixel/sec. performance in under 0.5mm(2) of ASIC silicon at 250 mW (simulated on a 45nm foundry process), real-time 1080p/60 video processing using a fraction of the resources of a modern FPGA, and tens of megapixels/sec. of throughput on a quad-core x86 processor.
Keywords:
Image processing
domain-specific languages
hardware synthesis
FPGAs
video processing
Rigel: Flexible Multi-Rate Image Processing Hardware
err2016-07-11
err65
PREAI
errHegarty, James; Daly, Ross; DeVito, Zachary; Ragan-Kelley, Jonathan; Horowitz, Mark; Hanrahan, Pat
errShare
errSave
RIPL: A Parallel Image Processing Language for FPGAs
err2018-03-14
err18
errOAAI
errStewart, Robert; Duncan, Kirsty; Michaelson, Greg; Garcia, Paulo; Bhowmik, Deepayan; Wallace, Andrew
errShare
errSave
Image Processing Hardware Acceleration-A Review of Operations Involved and Current Hardware Approaches
err2024-11-21
err0
errOAAI
errVasile, Costin-Emanuel; Ulmamei, Andrei-Alexandru; Bira, Calin
errShare
errSave
A High-Performance Pixel-Level Fully Pipelined Hardware Accelerator for Neural Networks
err2024-01-01
err0
PREAI
errLi, Zhan; Zhang, Zhihan; Hu, Jie; Meng, Qunkang; Shi, Xingyu; Luo, Jun; Wang, Hao; Huang, Qijun; Chang, Sheng
errShare
errSave
HIPAcc : A Domain-Specific Language and Compiler for Image Processing
err2016-01-01
err86
PREAI
errMembarth, Richard; Reiche, Oliver; Hannig, Frank; Teich, Juergen; Koerner, Mario; Eckert, Wieland
errShare
errSave
The Effect of Compiler Optimizations on High-Level Synthesis-Generated Hardware
err2015-05-11
err23
PREAI
errHuang, Qijing; Lian, Ruolong; Canis, Andrew; Choi, Jongsok; Xi, Ryan; Calagar, Nazanin; Brown, Stephen; Anderson, Jason
errShare
errSave
errShare
errSave

Journal

ACM Transactions on Graphics cover
ACM Transactions on Graphics
IF:
9.5
Papers:
4.9K
Citations:
4.4W

Organization

S
Stanford University
Scholars:
7.5K
Papers: 2.5K
Citations: 9.7W
Cited Papers

Cited Papers

Anatomy of a vertical metal halide discharge
err1989-11-01
err0
PREAI
errJames T. Dakin; Theodore H. Rautenberg; Evelyn M. Goldfield
errShare
errSave
Clinical Predictors of Response to Clozapine Treatment in Ambulatory Patients With Schizophrenia
err2002-05-15
err0
PREAI
errDaniel S. Umbricht; William C. Wirshing; Donna A. Wirshing; Marjorie McMeniman; Nina R. Schooler; Stephen R. Marder; John M. Kane
errShare
errSave
GRAMPS: A Programming Model for Graphics Pipelines
err2009-02-09
err61
PREAI
errSugerman, Jeremy; Fatahalian, Kayvon; Boulos, Solomon; Akeley, Kurt; Hanrahan, Pat
errShare
errSave
Decoupling Algorithms from Schedules for Easy Optimization of Image Processing Pipelines
err2012-07-01
err141
errOAAI
errRagan-Kelley, Jonathan; Adams, Andrew; Paris, Sylvain; Levoy, Marc; Amarasinghe, Saman; Durand, Fredo
errShare
errSave
researcher View more