SlideShare a Scribd company logo
1 of 25
Improve computation complexity
of sobel edge detection using
contract anytime algorithm
Presented By
Md Kamal Hossain Shajal - 12101073
Md Asif Ibtehaz - 14341001
Md Assaduzzaman Ashique - 12301017
Supervisor
Dr. Jia Uddin
Ass professor
BRAC University
Department of Computer Science & Engineering
jia.uddin@bracu.ac.bd
Presentation Outline
Introduction
Proposed Model
Experimental Setup
Result Analysis
Conclusion
Introduction
What is Edge Detection
 Definition
 Different Edge Detection Technique
Canny Edge Detection Technique
Sobel Edge Detection Technique
Why Edge Detection is Important
 Medical Image processing (Detect the
edge of lungs CT scan)
 Shape and object recognition
 Traffic Management
 Line detection from blurry image
Continue
 Replacing Sniko Technology
Input Image Output Image
Proposed Model
Edge detection (Sobel)
Gray Scale Conversion
Image Input
Output
Proposed Model
Conventional Implementation of Sobel in Java
Output for a 1920 x 1024 Input Image in
Java
Introducing Sobel in Parallel Computing
Edge detection
(Sobel)
Gray Scale
Conversion
Image InputCPU
GPU
OutputCPU
Proposed Model (Sobel in Parallel Computing)
Introducing Anytime Algorithm
 What is Anytime Algorithm
 Types of Anytime Algorithm
 Contract Anytime Algorithm
 Interruptible Anytime Algorithm
Contract Anytime Algorithm
Input Quick Process Half Process Full process Output
Less More
Low High
Contract Anytime Algorithm
Sobel Edge Detection Technique using Contract
Anytime Algorithm in Parallel Computing
Edge detection (Sobel) Contract
Anytime
Algorithm for
Sobel
Gray Scale Conversion
Image Input
Contract
Anytime
Algorithm to
convert in
gray scale
Output
Proposed Model
CPU
GPU
CPU
Experimental Environment
 Software Specification
 Visual Studio 2013
 CUDA ToolKit 7.5
 .NET C++
 JAVA 7
 Eclipse MARS
 Create A Graph (online tool)
 OpenGL
 Hardware Specification
 AMD FX5320 CPU
 RAM 8 GB
 NVIDIA GTX 550 TI
GTX 550ti GPU Engine Specs
Parameters Value
CUDA Cores 192
Graphics Clock (MHz) 900
Processor Clock (MHz) 1800
Texture Fill Rate (billion/sec) 28.8
Total amount of shared memory per block 49152 bytes
Maximum number of threads per block 1024
CUDA Driver Version / Runtime Version 7.5 / 7.5
TABLE GTX 550ti GPU Engine Specs
Result Analysis – Implementation using
Java
Output for Input Image Higher than
1920 pixel
Sobel Edge Detection Implementation
using Parallel Computing
Output of [Image 1] for block
dimension 16.
Output of [Image 1] for block
dimension 32.
Sample Image 1
Implementing Contact Anytime Algorithm in
Sobel Edge Detection (16 block)
(a) Test Image 2 (b) Test 1(quick)
(c) Test 2(half) (d) Test 3(full)
Three contract-time process test for 16 block dimension Test
(b, c, and d)
Implementing Contact Anytime Algorithm in
Sobel Edge Detection (32 block)
(a) Test Image 1 (b) Test 1(quick)
(c) Test 2(half) (d) Test 3(full)
Three contract-time process test for 32 block dimension Test
(b, c, and d)
Time Comparison between Java and Sobel
Anytime Algorithm
Time Comparison of 1920 x 1024 Input Image Time Comparison of 4096 x 4096 Input Image
Time Comparison (Sobel with Anytime 16
block and 32 block)
Process versus Time for 16 and 32 block dimension.
Overall Comparison
PROCESS
CPU – GPU TIME
(MS)
THREADS PER BLOCK BLOCK SIZE
JAVA EXECUTION TIME
(MS)
SPEEDUP
(AGAINST
JAVA)
16 BLOCK DIMENSION
QUICK 119.899
256 8192 480
4.003X
HALF 127.809 3.7X
FULL 127.992 3.75X
32 BLOCK DIMENSION
QUICK 138.227
1024 2048 480
3.47X
HALF 141.027 3.4X
FULL 141.601 3.38X
Result comparison for an 1920 x 1024 Input Image
Conclusion
 Future Work
 Real time using contract-based anytime algorithm
 Interruptible anytime algorithm.
 Limitation
 CUDA 7.0 Toolkit
 Visual Studio Extension Error
 Tesla Architecture
Appendix
 Parallel Computing
 Anytime Algorithm
 Experiment
Parallel Computing
Threads per Warp 32
Warps per Multiprocessor 64
Threads per Multiprocessor 2048
Thread Blocks per Multiprocessor 16
Total # of 32-bit registers per Multiprocessor 65536
Register allocation unit size 256
Register allocation granularity warp
Registers per Thread 255
Shared Memory per Multiprocessor (bytes) 49152
Shared Memory Allocation unit size 256
Warp allocation granularity 4
Maximum Thread Block Size 1024
Source. NVIDIA Occupancy calculator
Source. NVIDIA Understanding parallel computing
Source. NVIDIA NVIDIA GPGPU
Anytime Algorithm
Figure 6 page 15
Result ← INITIALIZATION-STEP (Input(x,
y))
REGISTER-RESULT (Result)
x ← 0; y ← 0;
While (x < h)
{
While (y < w)
{
Outpu
t(x, y) ←
Input(x, y);
y ← y
+ 2;
}
SIGNAL (TERMINATION)
HALT
}
w ← w/2;
h ← h/2;

More Related Content

What's hot

Java lejos-multithreading
Java lejos-multithreadingJava lejos-multithreading
Java lejos-multithreading
Mr. Chanuwan
 
Summer Games University - Day 3
Summer Games University - Day 3Summer Games University - Day 3
Summer Games University - Day 3
Clemens Kern
 

What's hot (19)

Noise Resilience of Variational Quantum Compiling
Noise Resilience of Variational Quantum CompilingNoise Resilience of Variational Quantum Compiling
Noise Resilience of Variational Quantum Compiling
 
GPUs for GEC Competition @ GECCO-2013
GPUs for GEC Competition @ GECCO-2013GPUs for GEC Competition @ GECCO-2013
GPUs for GEC Competition @ GECCO-2013
 
function* - ES6, generators, and all that (JSRomandie meetup, February 2014)
function* - ES6, generators, and all that (JSRomandie meetup, February 2014)function* - ES6, generators, and all that (JSRomandie meetup, February 2014)
function* - ES6, generators, and all that (JSRomandie meetup, February 2014)
 
Design the High Speed Kogge-Stone Adder by Using
Design the High Speed Kogge-Stone Adder by UsingDesign the High Speed Kogge-Stone Adder by Using
Design the High Speed Kogge-Stone Adder by Using
 
Java lejos-multithreading
Java lejos-multithreadingJava lejos-multithreading
Java lejos-multithreading
 
EvoRobocode Competition @ GECCO-2013
EvoRobocode Competition @ GECCO-2013EvoRobocode Competition @ GECCO-2013
EvoRobocode Competition @ GECCO-2013
 
C-SAW: A Framework for Graph Sampling and Random Walk on GPUs
C-SAW: A Framework for Graph Sampling and Random Walk on GPUsC-SAW: A Framework for Graph Sampling and Random Walk on GPUs
C-SAW: A Framework for Graph Sampling and Random Walk on GPUs
 
Single qubit-gates operations
Single qubit-gates operationsSingle qubit-gates operations
Single qubit-gates operations
 
Multi qubit entanglement
Multi qubit entanglementMulti qubit entanglement
Multi qubit entanglement
 
Implementation of Bitcoin Miner on SW and HW
Implementation of Bitcoin Miner on SW and HWImplementation of Bitcoin Miner on SW and HW
Implementation of Bitcoin Miner on SW and HW
 
Monte Carlo on GPUs
Monte Carlo on GPUsMonte Carlo on GPUs
Monte Carlo on GPUs
 
Nucleon TMD Contractions in Lattice QCD using QUDA
Nucleon TMD Contractions in Lattice QCD using QUDANucleon TMD Contractions in Lattice QCD using QUDA
Nucleon TMD Contractions in Lattice QCD using QUDA
 
C++ AMP 실천 및 적용 전략
C++ AMP 실천 및 적용 전략 C++ AMP 실천 및 적용 전략
C++ AMP 실천 및 적용 전략
 
Summer Games University - Day 3
Summer Games University - Day 3Summer Games University - Day 3
Summer Games University - Day 3
 
Fast indexes with roaring #gomtl-10
Fast indexes with roaring #gomtl-10 Fast indexes with roaring #gomtl-10
Fast indexes with roaring #gomtl-10
 
E 2017 1
E 2017 1E 2017 1
E 2017 1
 
Toy Model Overview
Toy Model OverviewToy Model Overview
Toy Model Overview
 
Europy17_dibernardo
Europy17_dibernardoEuropy17_dibernardo
Europy17_dibernardo
 
Conflux:gpgpu for .net (en)
Conflux:gpgpu for .net (en)Conflux:gpgpu for .net (en)
Conflux:gpgpu for .net (en)
 

Viewers also liked

8PP BROCHURE BIG NEW HOME SALE 1ST JUNE SINGLE PAGES LR2
8PP BROCHURE BIG NEW HOME SALE 1ST JUNE SINGLE PAGES LR28PP BROCHURE BIG NEW HOME SALE 1ST JUNE SINGLE PAGES LR2
8PP BROCHURE BIG NEW HOME SALE 1ST JUNE SINGLE PAGES LR2
Glenn Kennedy
 
BRISBANE DESIGNER - LR
BRISBANE DESIGNER - LRBRISBANE DESIGNER - LR
BRISBANE DESIGNER - LR
Glenn Kennedy
 

Viewers also liked (13)

La voz pasiva
La voz pasivaLa voz pasiva
La voz pasiva
 
What will it Contain?
What will it Contain?What will it Contain?
What will it Contain?
 
Shipping Container Summary
Shipping Container SummaryShipping Container Summary
Shipping Container Summary
 
La voz pasiva
La voz pasivaLa voz pasiva
La voz pasiva
 
Gene therapy
Gene therapyGene therapy
Gene therapy
 
Business Communication
Business CommunicationBusiness Communication
Business Communication
 
Business Communication
Business CommunicationBusiness Communication
Business Communication
 
8PP BROCHURE BIG NEW HOME SALE 1ST JUNE SINGLE PAGES LR2
8PP BROCHURE BIG NEW HOME SALE 1ST JUNE SINGLE PAGES LR28PP BROCHURE BIG NEW HOME SALE 1ST JUNE SINGLE PAGES LR2
8PP BROCHURE BIG NEW HOME SALE 1ST JUNE SINGLE PAGES LR2
 
BRISBANE DESIGNER - LR
BRISBANE DESIGNER - LRBRISBANE DESIGNER - LR
BRISBANE DESIGNER - LR
 
Toit on oluline – sa oled see, mida sööd!
Toit on oluline – sa oled see, mida sööd!Toit on oluline – sa oled see, mida sööd!
Toit on oluline – sa oled see, mida sööd!
 
개인 개발자의 앱스토어 도전기 (D2 오픈세미나 발표)
개인 개발자의 앱스토어 도전기 (D2 오픈세미나 발표)개인 개발자의 앱스토어 도전기 (D2 오픈세미나 발표)
개인 개발자의 앱스토어 도전기 (D2 오픈세미나 발표)
 
0.5년차 iOS개발자의 첫 앱스토어 도전기 + 팁
0.5년차 iOS개발자의 첫 앱스토어 도전기 + 팁0.5년차 iOS개발자의 첫 앱스토어 도전기 + 팁
0.5년차 iOS개발자의 첫 앱스토어 도전기 + 팁
 
D2 캠퍼스 세미나 - 학생 개발자에서 신입 개발자로 한단계 업그레이드 하기
D2 캠퍼스 세미나 - 학생 개발자에서 신입 개발자로 한단계 업그레이드 하기D2 캠퍼스 세미나 - 학생 개발자에서 신입 개발자로 한단계 업그레이드 하기
D2 캠퍼스 세미나 - 학생 개발자에서 신입 개발자로 한단계 업그레이드 하기
 

Similar to Thesis Final Presentation

FAST MAP PROJECTION ON CUDA.ppt
FAST MAP PROJECTION ON CUDA.pptFAST MAP PROJECTION ON CUDA.ppt
FAST MAP PROJECTION ON CUDA.ppt
grssieee
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
Johan Andersson
 
Commandlistsiggraphasia2014 141204005310-conversion-gate02
Commandlistsiggraphasia2014 141204005310-conversion-gate02Commandlistsiggraphasia2014 141204005310-conversion-gate02
Commandlistsiggraphasia2014 141204005310-conversion-gate02
RubnCuesta2
 
D3 D10 Unleashed New Features And Effects
D3 D10 Unleashed   New Features And EffectsD3 D10 Unleashed   New Features And Effects
D3 D10 Unleashed New Features And Effects
Thomas Goddard
 
Exploring Compiler Optimization Opportunities for the OpenMP 4.x Accelerator...
Exploring Compiler Optimization Opportunities for the OpenMP 4.x Accelerator...Exploring Compiler Optimization Opportunities for the OpenMP 4.x Accelerator...
Exploring Compiler Optimization Opportunities for the OpenMP 4.x Accelerator...
Akihiro Hayashi
 

Similar to Thesis Final Presentation (20)

An35225228
An35225228An35225228
An35225228
 
09 accelerators
09 accelerators09 accelerators
09 accelerators
 
FAST MAP PROJECTION ON CUDA.ppt
FAST MAP PROJECTION ON CUDA.pptFAST MAP PROJECTION ON CUDA.ppt
FAST MAP PROJECTION ON CUDA.ppt
 
Octnews featured article
Octnews featured articleOctnews featured article
Octnews featured article
 
Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...
Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...
Recent Progress in SCCS on GPU Simulation of Biomedical and Hydrodynamic Prob...
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
 
Nvidia in bioinformatics
Nvidia in bioinformaticsNvidia in bioinformatics
Nvidia in bioinformatics
 
ANPR FPGA Workshop
ANPR FPGA WorkshopANPR FPGA Workshop
ANPR FPGA Workshop
 
Gpu
GpuGpu
Gpu
 
Cache Optimization Techniques for General Purpose Graphic Processing Units
Cache Optimization Techniques for General Purpose Graphic Processing UnitsCache Optimization Techniques for General Purpose Graphic Processing Units
Cache Optimization Techniques for General Purpose Graphic Processing Units
 
Cuda project paper
Cuda project paperCuda project paper
Cuda project paper
 
Commandlistsiggraphasia2014 141204005310-conversion-gate02
Commandlistsiggraphasia2014 141204005310-conversion-gate02Commandlistsiggraphasia2014 141204005310-conversion-gate02
Commandlistsiggraphasia2014 141204005310-conversion-gate02
 
D3 D10 Unleashed New Features And Effects
D3 D10 Unleashed   New Features And EffectsD3 D10 Unleashed   New Features And Effects
D3 D10 Unleashed New Features And Effects
 
Exploring Compiler Optimization Opportunities for the OpenMP 4.x Accelerator...
Exploring Compiler Optimization Opportunities for the OpenMP 4.x Accelerator...Exploring Compiler Optimization Opportunities for the OpenMP 4.x Accelerator...
Exploring Compiler Optimization Opportunities for the OpenMP 4.x Accelerator...
 
B Eng Final Year Project Presentation
B Eng Final Year Project PresentationB Eng Final Year Project Presentation
B Eng Final Year Project Presentation
 
Machine-Learning-based Performance Heuristics for Runtime CPU/GPU Selection
Machine-Learning-based Performance Heuristics for Runtime CPU/GPU SelectionMachine-Learning-based Performance Heuristics for Runtime CPU/GPU Selection
Machine-Learning-based Performance Heuristics for Runtime CPU/GPU Selection
 
Fpga video capturing
Fpga video capturingFpga video capturing
Fpga video capturing
 
Squashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse MatrixSquashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse Matrix
 
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIXSQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
 
Squashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse MatrixSquashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse Matrix
 

Recently uploaded

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Recently uploaded (20)

Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 

Thesis Final Presentation

  • 1. Improve computation complexity of sobel edge detection using contract anytime algorithm Presented By Md Kamal Hossain Shajal - 12101073 Md Asif Ibtehaz - 14341001 Md Assaduzzaman Ashique - 12301017 Supervisor Dr. Jia Uddin Ass professor BRAC University Department of Computer Science & Engineering jia.uddin@bracu.ac.bd
  • 3. Introduction What is Edge Detection  Definition  Different Edge Detection Technique Canny Edge Detection Technique Sobel Edge Detection Technique
  • 4. Why Edge Detection is Important  Medical Image processing (Detect the edge of lungs CT scan)  Shape and object recognition  Traffic Management  Line detection from blurry image
  • 5. Continue  Replacing Sniko Technology Input Image Output Image
  • 6. Proposed Model Edge detection (Sobel) Gray Scale Conversion Image Input Output Proposed Model
  • 7. Conventional Implementation of Sobel in Java Output for a 1920 x 1024 Input Image in Java
  • 8. Introducing Sobel in Parallel Computing Edge detection (Sobel) Gray Scale Conversion Image InputCPU GPU OutputCPU Proposed Model (Sobel in Parallel Computing)
  • 9. Introducing Anytime Algorithm  What is Anytime Algorithm  Types of Anytime Algorithm  Contract Anytime Algorithm  Interruptible Anytime Algorithm
  • 10. Contract Anytime Algorithm Input Quick Process Half Process Full process Output Less More Low High Contract Anytime Algorithm
  • 11. Sobel Edge Detection Technique using Contract Anytime Algorithm in Parallel Computing Edge detection (Sobel) Contract Anytime Algorithm for Sobel Gray Scale Conversion Image Input Contract Anytime Algorithm to convert in gray scale Output Proposed Model CPU GPU CPU
  • 12. Experimental Environment  Software Specification  Visual Studio 2013  CUDA ToolKit 7.5  .NET C++  JAVA 7  Eclipse MARS  Create A Graph (online tool)  OpenGL  Hardware Specification  AMD FX5320 CPU  RAM 8 GB  NVIDIA GTX 550 TI
  • 13. GTX 550ti GPU Engine Specs Parameters Value CUDA Cores 192 Graphics Clock (MHz) 900 Processor Clock (MHz) 1800 Texture Fill Rate (billion/sec) 28.8 Total amount of shared memory per block 49152 bytes Maximum number of threads per block 1024 CUDA Driver Version / Runtime Version 7.5 / 7.5 TABLE GTX 550ti GPU Engine Specs
  • 14. Result Analysis – Implementation using Java Output for Input Image Higher than 1920 pixel
  • 15. Sobel Edge Detection Implementation using Parallel Computing Output of [Image 1] for block dimension 16. Output of [Image 1] for block dimension 32. Sample Image 1
  • 16. Implementing Contact Anytime Algorithm in Sobel Edge Detection (16 block) (a) Test Image 2 (b) Test 1(quick) (c) Test 2(half) (d) Test 3(full) Three contract-time process test for 16 block dimension Test (b, c, and d)
  • 17. Implementing Contact Anytime Algorithm in Sobel Edge Detection (32 block) (a) Test Image 1 (b) Test 1(quick) (c) Test 2(half) (d) Test 3(full) Three contract-time process test for 32 block dimension Test (b, c, and d)
  • 18. Time Comparison between Java and Sobel Anytime Algorithm Time Comparison of 1920 x 1024 Input Image Time Comparison of 4096 x 4096 Input Image
  • 19. Time Comparison (Sobel with Anytime 16 block and 32 block) Process versus Time for 16 and 32 block dimension.
  • 20. Overall Comparison PROCESS CPU – GPU TIME (MS) THREADS PER BLOCK BLOCK SIZE JAVA EXECUTION TIME (MS) SPEEDUP (AGAINST JAVA) 16 BLOCK DIMENSION QUICK 119.899 256 8192 480 4.003X HALF 127.809 3.7X FULL 127.992 3.75X 32 BLOCK DIMENSION QUICK 138.227 1024 2048 480 3.47X HALF 141.027 3.4X FULL 141.601 3.38X Result comparison for an 1920 x 1024 Input Image
  • 21. Conclusion  Future Work  Real time using contract-based anytime algorithm  Interruptible anytime algorithm.  Limitation  CUDA 7.0 Toolkit  Visual Studio Extension Error  Tesla Architecture
  • 22.
  • 23. Appendix  Parallel Computing  Anytime Algorithm  Experiment
  • 24. Parallel Computing Threads per Warp 32 Warps per Multiprocessor 64 Threads per Multiprocessor 2048 Thread Blocks per Multiprocessor 16 Total # of 32-bit registers per Multiprocessor 65536 Register allocation unit size 256 Register allocation granularity warp Registers per Thread 255 Shared Memory per Multiprocessor (bytes) 49152 Shared Memory Allocation unit size 256 Warp allocation granularity 4 Maximum Thread Block Size 1024 Source. NVIDIA Occupancy calculator Source. NVIDIA Understanding parallel computing Source. NVIDIA NVIDIA GPGPU
  • 25. Anytime Algorithm Figure 6 page 15 Result ← INITIALIZATION-STEP (Input(x, y)) REGISTER-RESULT (Result) x ← 0; y ← 0; While (x < h) { While (y < w) { Outpu t(x, y) ← Input(x, y); y ← y + 2; } SIGNAL (TERMINATION) HALT } w ← w/2; h ← h/2;