SlideShare a Scribd company logo
1 of 43
Download to read offline
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
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

What's hot

Go Profiling - John Graham-Cumming
Go Profiling - John Graham-Cumming Go Profiling - John Graham-Cumming
Go Profiling - John Graham-Cumming
Cloudflare
 

What's hot (20)

Code Freeze 2018: There is no such thing as a microservice!
Code Freeze 2018: There is no such thing as a microservice!Code Freeze 2018: There is no such thing as a microservice!
Code Freeze 2018: There is no such thing as a microservice!
 
Graphdatabases
GraphdatabasesGraphdatabases
Graphdatabases
 
실시간 게임 서버 최적화 전략
실시간 게임 서버 최적화 전략실시간 게임 서버 최적화 전략
실시간 게임 서버 최적화 전략
 
Lenses - Real-time Rendering of Physically Based Optical Effect in Theory an...
Lenses - Real-time Rendering of Physically Based Optical Effect in Theory an...Lenses - Real-time Rendering of Physically Based Optical Effect in Theory an...
Lenses - Real-time Rendering of Physically Based Optical Effect in Theory an...
 
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
 
Intrinsics: Low-level engine development with Burst - Unite Copenhagen 2019
Intrinsics: Low-level engine development with Burst - Unite Copenhagen 2019 Intrinsics: Low-level engine development with Burst - Unite Copenhagen 2019
Intrinsics: Low-level engine development with Burst - Unite Copenhagen 2019
 
Introduction to DirectX 12 Programming , Ver 1.5
Introduction to DirectX 12 Programming , Ver 1.5Introduction to DirectX 12 Programming , Ver 1.5
Introduction to DirectX 12 Programming , Ver 1.5
 
Cassandra serving netflix @ scale
Cassandra serving netflix @ scaleCassandra serving netflix @ scale
Cassandra serving netflix @ scale
 
Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...
Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...
Running PostgreSQL in Kubernetes: from day 0 to day 2 with CloudNativePG - Do...
 
A glimpse of cassandra 4.0 features netflix
A glimpse of cassandra 4.0 features   netflixA glimpse of cassandra 4.0 features   netflix
A glimpse of cassandra 4.0 features netflix
 
RAPIDS Overview
RAPIDS OverviewRAPIDS Overview
RAPIDS Overview
 
MLflow at Company Scale
MLflow at Company ScaleMLflow at Company Scale
MLflow at Company Scale
 
Stream All Things—Patterns of Modern Data Integration with Gwen Shapira
Stream All Things—Patterns of Modern Data Integration with Gwen ShapiraStream All Things—Patterns of Modern Data Integration with Gwen Shapira
Stream All Things—Patterns of Modern Data Integration with Gwen Shapira
 
What is MLOps
What is MLOpsWhat is MLOps
What is MLOps
 
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
 
Go Profiling - John Graham-Cumming
Go Profiling - John Graham-Cumming Go Profiling - John Graham-Cumming
Go Profiling - John Graham-Cumming
 
Cassandra Introduction & Features
Cassandra Introduction & FeaturesCassandra Introduction & Features
Cassandra Introduction & Features
 
Introduction to Modern Software Architecture
Introduction to Modern Software ArchitectureIntroduction to Modern Software Architecture
Introduction to Modern Software Architecture
 
Cassandra concepts, patterns and anti-patterns
Cassandra concepts, patterns and anti-patternsCassandra concepts, patterns and anti-patterns
Cassandra concepts, patterns and anti-patterns
 
OpenStreetMap 기반의 위치데이터서비스 플랫폼 - Mapbox
OpenStreetMap 기반의 위치데이터서비스 플랫폼 - MapboxOpenStreetMap 기반의 위치데이터서비스 플랫폼 - Mapbox
OpenStreetMap 기반의 위치데이터서비스 플랫폼 - Mapbox
 

Viewers also liked

статут пошук
статут пошукстатут пошук
статут пошук
ksuha12
 
Rm issue oct 07
Rm issue oct 07Rm issue oct 07
Rm issue oct 07
Paul Lai
 
DIY Rainwater harvesting
DIY Rainwater harvestingDIY Rainwater harvesting
DIY Rainwater harvesting
Thibsim
 
історичний клуб брама віків
історичний клуб  брама віківісторичний клуб  брама віків
історичний клуб брама віків
ksuha12
 
Presentation angelica c. mawili
Presentation   angelica c. mawiliPresentation   angelica c. mawili
Presentation angelica c. mawili
An Gel
 
історичний клуб пошук
історичний клуб пошукісторичний клуб пошук
історичний клуб пошук
ksuha12
 

Viewers also liked (20)

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

Similar to Fast CCL(connected component labeling) with GPU

Cahall Final Intern Presentation
Cahall Final Intern PresentationCahall Final Intern Presentation
Cahall Final Intern Presentation
Daniel Cahall
 
Scalable Similarity-Based Neighborhood Methods with MapReduce
Scalable Similarity-Based Neighborhood Methods with MapReduceScalable Similarity-Based Neighborhood Methods with MapReduce
Scalable Similarity-Based Neighborhood Methods with MapReduce
sscdotopen
 
Neural Networks for Machine Learning and Deep Learning
Neural Networks for Machine Learning and Deep LearningNeural Networks for Machine Learning and Deep Learning
Neural Networks for Machine Learning and Deep Learning
comifa7406
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
milad abbasi
 

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

Synchronizing Multi-User Photo Galleries with MRF
Synchronizing Multi-User Photo Galleries with MRFSynchronizing Multi-User Photo Galleries with MRF
Synchronizing Multi-User Photo Galleries with MRF
 
Cahall Final Intern Presentation
Cahall Final Intern PresentationCahall Final Intern Presentation
Cahall Final Intern Presentation
 
Scalable Similarity-Based Neighborhood Methods with MapReduce
Scalable Similarity-Based Neighborhood Methods with MapReduceScalable Similarity-Based Neighborhood Methods with MapReduce
Scalable Similarity-Based Neighborhood Methods with MapReduce
 
Introduction to computer vision with Convoluted Neural Networks
Introduction to computer vision with Convoluted Neural NetworksIntroduction to computer vision with Convoluted Neural Networks
Introduction to computer vision with Convoluted Neural Networks
 
Introduction to computer vision
Introduction to computer visionIntroduction to computer vision
Introduction to computer vision
 
201907 AutoML and Neural Architecture Search
201907 AutoML and Neural Architecture Search201907 AutoML and Neural Architecture Search
201907 AutoML and Neural Architecture Search
 
lec6a.ppt
lec6a.pptlec6a.ppt
lec6a.ppt
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation Controller
 
Neural Networks for Machine Learning and Deep Learning
Neural Networks for Machine Learning and Deep LearningNeural Networks for Machine Learning and Deep Learning
Neural Networks for Machine Learning and Deep Learning
 
Discretization.pptx
Discretization.pptxDiscretization.pptx
Discretization.pptx
 
Parking space detect
Parking space detectParking space detect
Parking space detect
 
Performance Analysis of Lattice QCD with APGAS Programming Model
Performance Analysis of Lattice QCD with APGAS Programming ModelPerformance Analysis of Lattice QCD with APGAS Programming Model
Performance Analysis of Lattice QCD with APGAS Programming Model
 
Convolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular ArchitecturesConvolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular Architectures
 
Emerging Properties in Self-Supervised Vision Transformers
Emerging Properties in Self-Supervised Vision TransformersEmerging Properties in Self-Supervised Vision Transformers
Emerging Properties in Self-Supervised Vision Transformers
 
Project Matsu
Project MatsuProject Matsu
Project Matsu
 
PR-217: EfficientDet: Scalable and Efficient Object Detection
PR-217: EfficientDet: Scalable and Efficient Object DetectionPR-217: EfficientDet: Scalable and Efficient Object Detection
PR-217: EfficientDet: Scalable and Efficient Object Detection
 
Cvpr 2018 papers review (efficient computing)
Cvpr 2018 papers review (efficient computing)Cvpr 2018 papers review (efficient computing)
Cvpr 2018 papers review (efficient computing)
 
Cnn
CnnCnn
Cnn
 
Convolutional Neural Networks
Convolutional Neural NetworksConvolutional Neural Networks
Convolutional Neural Networks
 
Network Visualization and Analysis with Cytoscape
Network Visualization and Analysis with CytoscapeNetwork Visualization and Analysis with Cytoscape
Network Visualization and Analysis with Cytoscape
 

More from Young-Min kang (8)

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

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Fast CCL(connected component labeling) with GPU