Skip to main content
QUICK REVIEW

[Paper Review] GPU-based Image Analysis on Mobile Devices

Andrew Ensor, Seth Hall|arXiv (Cornell University)|Dec 14, 2011
Advanced Image and Video Retrieval TechniquesComputer Science19 references14 citations
TL;DR

This paper evaluates GPU-accelerated real-time image processing on mobile devices using programmable shaders, focusing on Canny edge detection. It demonstrates that offloading image analysis to the GPU significantly improves frame rates—achieving up to 33.8 fps on the Samsung Galaxy S2—outperforming CPU-based methods and highlighting the growing performance advantage of modern mobile GPUs for on-device computer vision tasks.

ABSTRACT

With the rapid advances in mobile technology many mobile devices are capable of capturing high quality images and video with their embedded camera. This paper investigates techniques for real-time processing of the resulting images, particularly on-device utilizing a graphical processing unit. Issues and limitations of image processing on mobile devices are discussed, and the performance of graphical processing units on a range of devices measured through a programmable shader implementation of Canny edge detection.

Motivation & Objective

  • To investigate the feasibility and performance of real-time image processing on mobile devices using GPU acceleration.
  • To compare GPU-based image processing with CPU-based approaches on a range of mobile devices.
  • To evaluate the impact of different GPU architectures and mobile platform APIs on frame rates for image analysis tasks.
  • To identify performance bottlenecks in mobile GPU image processing, particularly related to texture transfer and shader execution.
  • To assess the practical benefits of offloading image processing to the GPU in terms of frame rate improvement and CPU resource availability.

Proposed method

  • Implemented a Canny edge detection algorithm using OpenGL ES 2.0 shaders for GPU execution on mobile devices.
  • Captured video preview frames using both Android and native camera APIs to compare performance across device platforms.
  • Measured frame rates for GPU-based processing and compared them with CPU-based OpenCV implementations on the same devices.
  • Optimized performance by issuing non-blocking render commands before texture updates to reduce latency in the rendering pipeline.
  • Used glTexImage2D to upload new image data to GPU textures, with timing measured during the transfer and processing phases.
  • Conducted tests on multiple devices with varying GPUs (Adreno, PowerVR, Mali, BCM2727) and CPUs to assess architectural differences.

Experimental results

Research questions

  • RQ1How does GPU-based Canny edge detection performance compare to CPU-based OpenCV implementations on modern mobile devices?
  • RQ2What is the impact of different GPU architectures (e.g., Adreno, PowerVR, Mali) on real-time image processing frame rates?
  • RQ3How do camera API choices (Android vs. native) affect the performance of on-device image processing pipelines?
  • RQ4To what extent does GPU offloading improve frame rates and reduce CPU load in mobile image analysis workloads?
  • RQ5How do the performance characteristics of mobile GPUs for image processing compare to their performance in standard graphics rendering benchmarks?

Key findings

  • The Samsung Galaxy S2 with a 1.5 GHz Snapdragon S3 CPU and Mali-400 GPU achieved 33.8 fps using GPU shaders for Canny edge detection, far exceeding its CPU-based performance of 14.2 fps.
  • The Nokia N8 with a BCM2727 GPU achieved 14.5 fps using GPU shaders, demonstrating strong performance on a device with a common Symbian^3 GPU architecture.
  • The iPhone 4, using an older PowerVR SGX535 GPU, achieved 7.6 fps with GPU shaders, which is consistent with its lower GPU performance compared to newer devices.
  • The Nexus One with an Adreno 200 GPU showed poor GPU performance at 3.9 fps, highlighting significant variation in GPU efficiency across devices.
  • The Desire HD with an Adreno 205 GPU achieved 15.4 fps with GPU shaders, representing a 50% performance improvement over CPU-based processing on the same device.
  • The Galaxy S with an Adreno 200 GPU achieved 11.3 fps with GPU shaders, showing that newer GPU generations significantly outperform older ones even with similar CPUs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.