SlideShare a Scribd company logo
ICESS 2016, Takamatsu, Japan
14 ~ 16 Nov. 2016
Young-Min Kang
Tongmyong University
A Parallel Approach to Object Identification
In Large-scale Images
Sung-Soo Kim, ETRI Gyung-Tae Nam, GCSC Inc.
Bigger images
• Era of Big data
– Increased sizes of images data
• Image processing
– Heavy Computation
• One of the most fundamental operations
– Object identification/recognition
• Image segmentation
• Connected components labeling
Connected component labeling
• Objective
– Pixels in a connected component have an identical labels
Parallel image processing
• Most image processing algorithms
– Pixel-wise operations
• can be implemented with pixel-wise threads
• can be efficiently performed in a data-parallel fashion
• GPU
– Data parallel device
– can be easily applied to various image processing methods
GPU:
Many-core architecture
Pixel connectivity
• Graph representation
Image Pixel connectivity
CCL and parallelism
• CCL with graph traversal
– cannot be easily parallelized
• Traversal = sequential
• GPU based approaches
– has not been very successful
Our method
• GPU-based efficient algorithm for CCL
– Data initialization
– Computing column-wise label runs
– Efficient label merge
Data initialization
• Each pixel is assigned unique label if it is
turned on
Data initialization
• Each pixel is assigned unique label if it is
turned on
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
Data initialization
• Each pixel is assigned unique label if it is
turned on
1 2 -1 -1 -1
6 7 -1 9 10
11 12 -1 14 -1
-1 -1 -1 19 20
-1 -1 -1 -1 -1
Column-wise label runs
• Run
– Block of contiguous object pixels in a column
• Computing column-wise label runs
– Can be done with w threads
h
w
Column-wise label runs
• Label change within a column (1 thread)
Column-wise label runs
• Graph-based interpretation
Column-wise label runs
• Implementation
Label merge
• After computing “column-wise label runs”
– We have separate trees to be merges in accordance
with their connectivity
• What is needed
– Checking vertical adjacency
Label merge
• Connectivity check
Label merge
• Connectivity check
Label merge
• Connectivity check
Label merge
• Connectivity check
Label merge
• Updated hierarchy
Why only roots are changed
Let’s merge
OK! I will
follow you
Why only roots are changed
Merged tree
Previous methods
1. Check the connectivity
2. Update the hierarchy
3. Iterate this process until no update is made
A kind of graph traversal
Heavy computation when the pixels make a
long connected chain
Our method
• Label merge is performed with fixed
number of iterations
– The number of iteration
• log2(w)
– Computation cost at every iteration
• reduced to be the half the previous one
• Efficient label merge
• Moreover
– Can be easily parallelized
Label merge boundary
• 1st merge
w/2 boundaries
h comparisons in each boundary
 wh/2 threads
Label merge boundary
• 2nd merge
w/22 boundaries
h comparisons in each boundary
 wh/22 threads
Label merge boundary
• 3rd merge
w/23 boundaries
h comparisons in each boundary
 wh/23 threads
Label merge boundary
• Final merge
log2(w) –th merge
Computation cost at the 1st merge: C(1)
Total Cost
Fast CCL(connected component labeling) with GPU
Performance
• Computational cost for each task
– Cost for Initialization = 1
– 4096x4096 images with different number of connected components
50 labels 1869 labels
initialization 1.0 1.0
column-wise run 1.6 1.6
label merge 3.4 3.6
Performance
• Computational cost for each task
– Cost for Initialization = 1
– 4096x4096 images with different number of connected components
0.0
0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
initialization column-wise run label merge
50 labels
1869 labels
Experimental results
• Reference
– Grana’s method implemented with OpenCV
• Two Tests
– Random noise with varying densities
– Object identification with shapes
Varying densities
• Image size: 2048x2048
Varying densities
• Image size: 2048x2048
Varying densities
• Image size: 4096x4096
Varying densities
• Image size: 4096x4096
Object identification with shapes
• Two spiral curves
Object identification with shapes
Object identification with shapes
• Stars
Object identification with shapes
• Stars
Applications
• Object tracking with radar signal
Conclusion
• An efficient GPGPU implementation for
CCL
• Data-parallelism of GPU exploited
• Experimental results show its efficiency
• Can be successfully applied to various
applications with large-scale images
– e.g., Object identification from radar signals
감사합니다.
ありがとうございます
谢谢
Thank you
Q & A

More Related Content

PDF
セミパラメトリック推論の基礎
PDF
SSE4.2の文字列処理命令の紹介
PDF
機械学習プロフェッショナルシリーズ輪読会 #5 異常検知と変化検知 Chapter 1 & 2 資料
PDF
ドロネー三角形分割
PDF
PRML上巻勉強会 at 東京大学 資料 第1章前半
PDF
スパースモデリング、スパースコーディングとその数理(第11回WBA若手の会)
PDF
指数分布とポアソン分布のいけない関係
PPTX
[研究室論文紹介用スライド] Adversarial Contrastive Estimation
セミパラメトリック推論の基礎
SSE4.2の文字列処理命令の紹介
機械学習プロフェッショナルシリーズ輪読会 #5 異常検知と変化検知 Chapter 1 & 2 資料
ドロネー三角形分割
PRML上巻勉強会 at 東京大学 資料 第1章前半
スパースモデリング、スパースコーディングとその数理(第11回WBA若手の会)
指数分布とポアソン分布のいけない関係
[研究室論文紹介用スライド] Adversarial Contrastive Estimation

What's hot (20)

PDF
階層ベイズとWAIC
PDF
[DL輪読会]Recent Advances in Autoencoder-Based Representation Learning
PPTX
Introduction to Single-cell RNA-seq
PDF
明日使えないすごいビット演算
PPTX
RBMを応用した事前学習とDNN学習
PDF
実践QBVH
PDF
グラフデータの機械学習における特徴表現の設計と学習
PPTX
[DL輪読会]EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
PDF
中級グラフィックス入門~シャドウマッピング総まとめ~
PDF
技術者が知るべき Gröbner 基底
PDF
Cosine Based Softmax による Metric Learning が上手くいく理由
PDF
[DL Hacks]Variational Approaches For Auto-Encoding Generative Adversarial Ne...
PDF
はじめてのパターン認識 第5章 k最近傍法(k_nn法)
PDF
Ml professional bandit_chapter2
PDF
3週連続DDDその1 ドメイン駆動設計の基本を理解する
PDF
ガイデットフィルタとその周辺
PDF
変分推論と Normalizing Flow
ODP
Attention-Guided GANについて
PPTX
NLPにおけるAttention~Seq2Seq から BERTまで~
階層ベイズとWAIC
[DL輪読会]Recent Advances in Autoencoder-Based Representation Learning
Introduction to Single-cell RNA-seq
明日使えないすごいビット演算
RBMを応用した事前学習とDNN学習
実践QBVH
グラフデータの機械学習における特徴表現の設計と学習
[DL輪読会]EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
中級グラフィックス入門~シャドウマッピング総まとめ~
技術者が知るべき Gröbner 基底
Cosine Based Softmax による Metric Learning が上手くいく理由
[DL Hacks]Variational Approaches For Auto-Encoding Generative Adversarial Ne...
はじめてのパターン認識 第5章 k最近傍法(k_nn法)
Ml professional bandit_chapter2
3週連続DDDその1 ドメイン駆動設計の基本を理解する
ガイデットフィルタとその周辺
変分推論と Normalizing Flow
Attention-Guided GANについて
NLPにおけるAttention~Seq2Seq から BERTまで~
Ad

Viewers also liked (20)

PDF
Quaternion and Rotation
PDF
게임수학 강의노트 1부
PDF
Algorithms summary korean
PDF
인공지능과 딥러닝에 대한 소개
PPTX
статут пошук
PDF
HPAC Magazine (Canada) features Detailed Article for Specifying LUXE Linear D...
PDF
Rm issue oct 07
PDF
Intro to Ravelry
PDF
DIY Rainwater harvesting
PDF
DiVal Events - Creative Marketing Assets and Event Aesthetics
PPT
історичний клуб брама віків
PPTX
Presentation angelica c. mawili
PDF
Sindrom srednjeg deteta
PPTX
数学的思考力ゲーム制作を通した低学年生の開発力向上の事例
DOCX
Elena félix gonzález.práctica 2
PDF
Wireframing Workshop - TiE Women Create-a-Thon
PDF
PPT
історичний клуб пошук
PDF
iLOOKUSA Magazine Fall 2014 Fashion Forward Issue I
PDF
Asi technology
Quaternion and Rotation
게임수학 강의노트 1부
Algorithms summary korean
인공지능과 딥러닝에 대한 소개
статут пошук
HPAC Magazine (Canada) features Detailed Article for Specifying LUXE Linear D...
Rm issue oct 07
Intro to Ravelry
DIY Rainwater harvesting
DiVal Events - Creative Marketing Assets and Event Aesthetics
історичний клуб брама віків
Presentation angelica c. mawili
Sindrom srednjeg deteta
数学的思考力ゲーム制作を通した低学年生の開発力向上の事例
Elena félix gonzález.práctica 2
Wireframing Workshop - TiE Women Create-a-Thon
історичний клуб пошук
iLOOKUSA Magazine Fall 2014 Fashion Forward Issue I
Asi technology
Ad

Similar to Fast CCL(connected component labeling) with GPU (20)

PPTX
Synchronizing Multi-User Photo Galleries with MRF
PPTX
Cahall Final Intern Presentation
PDF
Scalable Similarity-Based Neighborhood Methods with MapReduce
PPTX
Introduction to computer vision with Convoluted Neural Networks
PPTX
Introduction to computer vision
PDF
201907 AutoML and Neural Architecture Search
PPT
lec6a.ppt
PDF
Cerebellar Model Articulation Controller
PPTX
Neural Networks for Machine Learning and Deep Learning
PPTX
Discretization.pptx
PPTX
Parking space detect
PPTX
• An attacker’s aim for carrying out a CSRF attack is to force the user to su...
PPTX
CM20315_10_Convolutional neural networkArchitecture
PDF
Performance Analysis of Lattice QCD with APGAS Programming Model
PDF
Convolutional Neural Networks : Popular Architectures
PDF
Emerging Properties in Self-Supervised Vision Transformers
PPTX
Project Matsu
PDF
Computer Vision Computer Vision: Algorithms and Applications Richard Szeliski
PDF
PR-217: EfficientDet: Scalable and Efficient Object Detection
PPTX
Computational Fluid Dynamics: Discretization
Synchronizing Multi-User Photo Galleries with MRF
Cahall Final Intern Presentation
Scalable Similarity-Based Neighborhood Methods with MapReduce
Introduction to computer vision with Convoluted Neural Networks
Introduction to computer vision
201907 AutoML and Neural Architecture Search
lec6a.ppt
Cerebellar Model Articulation Controller
Neural Networks for Machine Learning and Deep Learning
Discretization.pptx
Parking space detect
• An attacker’s aim for carrying out a CSRF attack is to force the user to su...
CM20315_10_Convolutional neural networkArchitecture
Performance Analysis of Lattice QCD with APGAS Programming Model
Convolutional Neural Networks : Popular Architectures
Emerging Properties in Self-Supervised Vision Transformers
Project Matsu
Computer Vision Computer Vision: Algorithms and Applications Richard Szeliski
PR-217: EfficientDet: Scalable and Efficient Object Detection
Computational Fluid Dynamics: Discretization

More from Young-Min kang (8)

PDF
[update] Introductory Parts of the Book "Dive into Deep Learning"
PDF
물리기반 모델링 기초 - 강의노트
PDF
Lec gp05 rigidbody2d
PDF
Physics for Game: Part1 - Basics
PDF
Algorithms summary (English version)
PDF
Game Physics Test
PDF
Game salad 07
PDF
Game Salad Study
[update] Introductory Parts of the Book "Dive into Deep Learning"
물리기반 모델링 기초 - 강의노트
Lec gp05 rigidbody2d
Physics for Game: Part1 - Basics
Algorithms summary (English version)
Game Physics Test
Game salad 07
Game Salad Study

Recently uploaded (20)

PPTX
Lesson notes of climatology university.
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Yogi Goddess Pres Conference Studio Updates
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Complications of Minimal Access Surgery at WLH
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Lesson notes of climatology university.
A systematic review of self-coping strategies used by university students to ...
Microbial diseases, their pathogenesis and prophylaxis
GDM (1) (1).pptx small presentation for students
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
01-Introduction-to-Information-Management.pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Supply Chain Operations Speaking Notes -ICLT Program
Pharmacology of Heart Failure /Pharmacotherapy of CHF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Final Presentation General Medicine 03-08-2024.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
Yogi Goddess Pres Conference Studio Updates
Anesthesia in Laparoscopic Surgery in India
Complications of Minimal Access Surgery at WLH
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Abdominal Access Techniques with Prof. Dr. R K Mishra
Weekly quiz Compilation Jan -July 25.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx

Fast CCL(connected component labeling) with GPU