SlideShare ist ein Scribd-Unternehmen logo
1 von 25
1 Is it an open door to common parallelization strategy  for topological operators on multi-core multi-thread architecture ? R. MAHMOUDI – A3SI Laboratory– 2009 April
2 Summary General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
3 Summary General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
4 General framework 1. Scientific and technical context (1) Image processingoperators Fourier Transformation Opening Thinning Dynamic  redistribution Linear filters Closing Crest restoring Not-linear  filters  Euclidean  Distance Transformation Thresholding Smoothing Attributed Filter Watershed  Associated class Topological  operators Morphological  operators Local  operators Point-to-Point  operators Global operators R. MAHMOUDI – A3SI Laboratory– 2009 April
5 General framework 1. Scientific and technical context (2) (Associated class) Vs (Parallelizationstrategies) Global operators Topological  operators Morphological  operators Local  operators Point-to-Point  operators Sienstra [1] (2002) Wilkinson [2] (2007) Meijster [3] [1]  F. J. Seinstra, D. Koelma, and J. M. Geusebroek, “A software architecture for user transparent parallel image processing”. [2] M.H.F. Wilkinson, H. Gao, W.H. Hesselink, “Concurrent Computation of Attribute Filters on Shared Memory Parallel Machines”. [3]  A. Meijster, J. B. T. M. Roerdink, and W. H. Hesselink, “A general algorithm for computing distance transforms in linear time” . R. MAHMOUDI – A3SI Laboratory– 2009 April
6 General framework 2. Ph. D. objectives (1) Topological operators Thinning operator [1] common parallelization strategy Crest restoring [1] 2D and 3D smoothing [2] Watershed based on w-thinning [3] Watershed based on graph [4] Homotopic kernel transformation [5] Leveling kernel transformation [5] [1] M. Couprie, F. N. Bezerra, and G. Bertrand, “Topological operators for grayscale image processing”,  [2] M. Couprie, and G. Bertrand, “Topology preserving alternating sequential filter for smoothing 2D and 3D objects”. [3] G. Bertrand, “On Topological Watersheds”.   [4] J. Cousty, M. Couprie, L. Najman and G. Betrand “Weighted fusion graphs: Merging properties and watersheds”. [5] G. Bertrand, J. C. Everat, and M. Couprie, "Image segmentation through operators based on topology“  R. MAHMOUDI – A3SI Laboratory– 2009 April
7 General framework 2. Ph. D. objectives (2) Main Architectural Classes  SISD machines SIMD machines MISD machines MIMD Machine : (Execute several instruction streams in parallel on different data) Shared Memory Machine Distributed  Memory  System CPU1 CPU2 CPU3 CPUn Random Access Memory  R. MAHMOUDI – A3SI Laboratory– 2009 April
8 General framework 2. Ph. D. objectives (3) Needs Common  parallelization strategy of topological operators on multi-core multithread architecture (MIMD Machines – Shared Memory System)? Main Objectives Unifyingparallelizationmethod of topologicaloperators class (Algorithmiclevel) Implementation Methodology and optimization techniques on multi-core multithread        architecture (Architecture level). R. MAHMOUDI – A3SI Laboratory– 2009 April
9 General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
10 Parallel thinning operator 1. Theoretical background Filtered thinning method that allows to selectively simplify the topology, based on a  local  contrast parameter λ. (b) filtered skeleton   with λ = 10. (a) After Deriche  gradient operator R. MAHMOUDI – A3SI Laboratory– 2009 April
11 Parallel thinning operator 1. Parallelization strategy (1) Definesearch area Startparallelcharacterization  Create new shared data structure End parallelcharacterization  Mergemodifiedsearch area Restart process until stability R. MAHMOUDI – A3SI Laboratory– 2009 April
12 Parallel thinning operator 1. Parallelization strategy (2) SDM-Strategy (Divide and conquer principle) Up level DATA PARALLELISM MIXED PARALLELISM Down level THREAD PARALLELISM R. MAHMOUDI – A3SI Laboratory– 2009 April
13 Parallel thinning operator 1. Parallelization strategy (3) R. MAHMOUDI – A3SI Laboratory– 2009 April
14 Parallel thinning operator 2. Coordination of threads (1) Thread 1 Thread 2 First implementation using a lock-based shared FIFO queue. Lock() Unlock() Push() Fail Success Blocked R. MAHMOUDI – A3SI Laboratory– 2009 April
15 Parallel thinning operator 2. Coordination of threads (2) Thread 1 Thread 2 Lock() and access semaphore Unlock() and leave semaphore Semaphore Push() Second implementation using a private-shared concurrent FIFO queue R. MAHMOUDI – A3SI Laboratory– 2009 April
16 Parallel thinning operator 3. Performance testing (1) R. MAHMOUDI – A3SI Laboratory– 2009 April
17 Parallel thinning operator 3. Performance testing (2) First implementation using a lock-based shared FIFO queue. R. MAHMOUDI – A3SI Laboratory– 2009 April
18 Parallel thinning operator 3. Performance testing (3) Second implementation using a private-shared concurrent FIFO queue R. MAHMOUDI – A3SI Laboratory– 2009 April
19 Parallel thinning operator 4. Conclusion Non-specific nature of the proposed  parallelization strategy. Threads coordination and communication  during computing dependently parallel read/write  for managing cache-resident data  1 2 R. MAHMOUDI – A3SI Laboratory– 2009 April
20 General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
21 Future work 1. Extension SDM - Strategy Performance enhancement (speed up) Efficiency (work distribution) Cache miss ParallelThinning Operator IMBRICATE  TWO Operators Crest restoring  R. MAHMOUDI – A3SI Laboratory– 2009 April
22 Future work 2. New parallel topological watershed % Achievement Parallelwatershed Operator SDM - Strategy Performance enhancement (speed up) Efficiency (work distribution) Cache miss 80% R. MAHMOUDI – A3SI Laboratory– 2009 April
23 General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
24 Discussion Introduce future programming model  (make it easy to write programs that execute efficiently on highly parallel C.S) Introduce new “Draft”to design and evaluate parallel programming models  (instead of old benchmark) Maximize programmer productivity, future programming model must be more human-centric (than the conventional focus on hardware or application) R. MAHMOUDI – A3SI Laboratory– 2009 April
25 R. MAHMOUDI – A3SI Laboratory– 2009 April

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
 
Multi processor scheduling
Multi  processor schedulingMulti  processor scheduling
Multi processor scheduling
 
Memory management
Memory managementMemory management
Memory management
 
Paging.ppt
Paging.pptPaging.ppt
Paging.ppt
 
Chomsky classification of Language
Chomsky classification of LanguageChomsky classification of Language
Chomsky classification of Language
 
Learning by analogy
Learning by analogyLearning by analogy
Learning by analogy
 
Chapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage SystemsChapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage Systems
 
Query processing
Query processingQuery processing
Query processing
 
Parallel Algorithms
Parallel AlgorithmsParallel Algorithms
Parallel Algorithms
 
Introduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed ComputingIntroduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed Computing
 
Turing machine
Turing machineTuring machine
Turing machine
 
Distributed dbms architectures
Distributed dbms architecturesDistributed dbms architectures
Distributed dbms architectures
 
Memory management
Memory managementMemory management
Memory management
 
Concurrent programming
Concurrent programmingConcurrent programming
Concurrent programming
 
Amdahl`s law -Processor performance
Amdahl`s law -Processor performanceAmdahl`s law -Processor performance
Amdahl`s law -Processor performance
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
 
Architecture of operating system
Architecture of operating systemArchitecture of operating system
Architecture of operating system
 
Process scheduling algorithms
Process scheduling algorithmsProcess scheduling algorithms
Process scheduling algorithms
 
Bellman Ford's Algorithm
Bellman Ford's AlgorithmBellman Ford's Algorithm
Bellman Ford's Algorithm
 
serializability in dbms
serializability in dbmsserializability in dbms
serializability in dbms
 

Andere mochten auch

Parallel programming
Parallel programmingParallel programming
Parallel programmingAnshul Sharma
 
الديسلكسيا العسر القرائي
الديسلكسيا العسر القرائيالديسلكسيا العسر القرائي
الديسلكسيا العسر القرائيLAILAF_M
 
Introduction to multi core
Introduction to multi coreIntroduction to multi core
Introduction to multi coremukul bhardwaj
 
Multi core-architecture
Multi core-architectureMulti core-architecture
Multi core-architecturePiyush Mittal
 
Servers Technologies and Enterprise Data Center Trends 2014 - Thailand
Servers Technologies and Enterprise Data Center Trends 2014 - ThailandServers Technologies and Enterprise Data Center Trends 2014 - Thailand
Servers Technologies and Enterprise Data Center Trends 2014 - ThailandAruj Thirawat
 
Multi core processors
Multi core processorsMulti core processors
Multi core processorsAdithya Bhat
 

Andere mochten auch (9)

Multicore
MulticoreMulticore
Multicore
 
Parallel programming
Parallel programmingParallel programming
Parallel programming
 
ER_appreciation
ER_appreciationER_appreciation
ER_appreciation
 
Introduction to multicore .ppt
Introduction to multicore .pptIntroduction to multicore .ppt
Introduction to multicore .ppt
 
الديسلكسيا العسر القرائي
الديسلكسيا العسر القرائيالديسلكسيا العسر القرائي
الديسلكسيا العسر القرائي
 
Introduction to multi core
Introduction to multi coreIntroduction to multi core
Introduction to multi core
 
Multi core-architecture
Multi core-architectureMulti core-architecture
Multi core-architecture
 
Servers Technologies and Enterprise Data Center Trends 2014 - Thailand
Servers Technologies and Enterprise Data Center Trends 2014 - ThailandServers Technologies and Enterprise Data Center Trends 2014 - Thailand
Servers Technologies and Enterprise Data Center Trends 2014 - Thailand
 
Multi core processors
Multi core processorsMulti core processors
Multi core processors
 

Ähnlich wie parallelization strategy

2014 valat-phd-defense-slides
2014 valat-phd-defense-slides2014 valat-phd-defense-slides
2014 valat-phd-defense-slidesSébastien Valat
 
fdocuments.in_metamorphic-robots.ppt
fdocuments.in_metamorphic-robots.pptfdocuments.in_metamorphic-robots.ppt
fdocuments.in_metamorphic-robots.pptYagnaSri8
 
Moim a novel design of cryptographic hash function
Moim a novel design of cryptographic hash functionMoim a novel design of cryptographic hash function
Moim a novel design of cryptographic hash functionIAEME Publication
 
Browser-Based Collaborative Modeling in Near Real-Time
Browser-Based Collaborative Modeling in Near Real-TimeBrowser-Based Collaborative Modeling in Near Real-Time
Browser-Based Collaborative Modeling in Near Real-TimeNicolaescu Petru
 
Cloud Era Transactional Processing -- Problems, Strategies and Solutions
Cloud Era Transactional Processing -- Problems, Strategies and SolutionsCloud Era Transactional Processing -- Problems, Strategies and Solutions
Cloud Era Transactional Processing -- Problems, Strategies and SolutionsYu Liu
 
Tuple-Based Coordination in Large-Scale Situated Systems
Tuple-Based Coordination in Large-Scale Situated SystemsTuple-Based Coordination in Large-Scale Situated Systems
Tuple-Based Coordination in Large-Scale Situated SystemsRoberto Casadei
 
High-Speed Neural Network Controller for Autonomous Robot Navigation using FPGA
High-Speed Neural Network Controller for Autonomous Robot Navigation using FPGAHigh-Speed Neural Network Controller for Autonomous Robot Navigation using FPGA
High-Speed Neural Network Controller for Autonomous Robot Navigation using FPGAiosrjce
 
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINESISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINESijcseit
 
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINESISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINESijcseit
 
[Gp][1st seminar][presentation]
[Gp][1st seminar][presentation][Gp][1st seminar][presentation]
[Gp][1st seminar][presentation]anas_awad
 
Exploring the capabilities of the tight integration of HyperWorks and ESAComp
Exploring the capabilities of the tight integration of HyperWorks and ESACompExploring the capabilities of the tight integration of HyperWorks and ESAComp
Exploring the capabilities of the tight integration of HyperWorks and ESACompAltair
 

Ähnlich wie parallelization strategy (20)

Cluster Schedulers
Cluster SchedulersCluster Schedulers
Cluster Schedulers
 
2D Thinning
2D Thinning2D Thinning
2D Thinning
 
2014 valat-phd-defense-slides
2014 valat-phd-defense-slides2014 valat-phd-defense-slides
2014 valat-phd-defense-slides
 
PhD Topics
PhD TopicsPhD Topics
PhD Topics
 
fdocuments.in_metamorphic-robots.ppt
fdocuments.in_metamorphic-robots.pptfdocuments.in_metamorphic-robots.ppt
fdocuments.in_metamorphic-robots.ppt
 
Moim a novel design of cryptographic hash function
Moim a novel design of cryptographic hash functionMoim a novel design of cryptographic hash function
Moim a novel design of cryptographic hash function
 
4 Serge Fdida
4   Serge Fdida4   Serge Fdida
4 Serge Fdida
 
Browser-Based Collaborative Modeling in Near Real-Time
Browser-Based Collaborative Modeling in Near Real-TimeBrowser-Based Collaborative Modeling in Near Real-Time
Browser-Based Collaborative Modeling in Near Real-Time
 
Cloud Era Transactional Processing -- Problems, Strategies and Solutions
Cloud Era Transactional Processing -- Problems, Strategies and SolutionsCloud Era Transactional Processing -- Problems, Strategies and Solutions
Cloud Era Transactional Processing -- Problems, Strategies and Solutions
 
Be cse
Be cseBe cse
Be cse
 
Tuple-Based Coordination in Large-Scale Situated Systems
Tuple-Based Coordination in Large-Scale Situated SystemsTuple-Based Coordination in Large-Scale Situated Systems
Tuple-Based Coordination in Large-Scale Situated Systems
 
High-Speed Neural Network Controller for Autonomous Robot Navigation using FPGA
High-Speed Neural Network Controller for Autonomous Robot Navigation using FPGAHigh-Speed Neural Network Controller for Autonomous Robot Navigation using FPGA
High-Speed Neural Network Controller for Autonomous Robot Navigation using FPGA
 
H011114758
H011114758H011114758
H011114758
 
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINESISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
 
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINESISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
ISSUES IN IMPLEMENTATION OF PARALLEL PARSING ON MULTI-CORE MACHINES
 
[Gp][1st seminar][presentation]
[Gp][1st seminar][presentation][Gp][1st seminar][presentation]
[Gp][1st seminar][presentation]
 
Role of locking- cds
Role of locking- cdsRole of locking- cds
Role of locking- cds
 
Rock Overview
Rock OverviewRock Overview
Rock Overview
 
Exploring the capabilities of the tight integration of HyperWorks and ESAComp
Exploring the capabilities of the tight integration of HyperWorks and ESACompExploring the capabilities of the tight integration of HyperWorks and ESAComp
Exploring the capabilities of the tight integration of HyperWorks and ESAComp
 
Lj2419141918
Lj2419141918Lj2419141918
Lj2419141918
 

Kürzlich hochgeladen

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Kürzlich hochgeladen (20)

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

parallelization strategy

  • 1. 1 Is it an open door to common parallelization strategy for topological operators on multi-core multi-thread architecture ? R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 2. 2 Summary General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 3. 3 Summary General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 4. 4 General framework 1. Scientific and technical context (1) Image processingoperators Fourier Transformation Opening Thinning Dynamic redistribution Linear filters Closing Crest restoring Not-linear filters Euclidean Distance Transformation Thresholding Smoothing Attributed Filter Watershed Associated class Topological operators Morphological operators Local operators Point-to-Point operators Global operators R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 5. 5 General framework 1. Scientific and technical context (2) (Associated class) Vs (Parallelizationstrategies) Global operators Topological operators Morphological operators Local operators Point-to-Point operators Sienstra [1] (2002) Wilkinson [2] (2007) Meijster [3] [1] F. J. Seinstra, D. Koelma, and J. M. Geusebroek, “A software architecture for user transparent parallel image processing”. [2] M.H.F. Wilkinson, H. Gao, W.H. Hesselink, “Concurrent Computation of Attribute Filters on Shared Memory Parallel Machines”. [3] A. Meijster, J. B. T. M. Roerdink, and W. H. Hesselink, “A general algorithm for computing distance transforms in linear time” . R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 6. 6 General framework 2. Ph. D. objectives (1) Topological operators Thinning operator [1] common parallelization strategy Crest restoring [1] 2D and 3D smoothing [2] Watershed based on w-thinning [3] Watershed based on graph [4] Homotopic kernel transformation [5] Leveling kernel transformation [5] [1] M. Couprie, F. N. Bezerra, and G. Bertrand, “Topological operators for grayscale image processing”, [2] M. Couprie, and G. Bertrand, “Topology preserving alternating sequential filter for smoothing 2D and 3D objects”. [3] G. Bertrand, “On Topological Watersheds”.   [4] J. Cousty, M. Couprie, L. Najman and G. Betrand “Weighted fusion graphs: Merging properties and watersheds”. [5] G. Bertrand, J. C. Everat, and M. Couprie, "Image segmentation through operators based on topology“ R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 7. 7 General framework 2. Ph. D. objectives (2) Main Architectural Classes SISD machines SIMD machines MISD machines MIMD Machine : (Execute several instruction streams in parallel on different data) Shared Memory Machine Distributed Memory System CPU1 CPU2 CPU3 CPUn Random Access Memory R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 8. 8 General framework 2. Ph. D. objectives (3) Needs Common parallelization strategy of topological operators on multi-core multithread architecture (MIMD Machines – Shared Memory System)? Main Objectives Unifyingparallelizationmethod of topologicaloperators class (Algorithmiclevel) Implementation Methodology and optimization techniques on multi-core multithread architecture (Architecture level). R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 9. 9 General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 10. 10 Parallel thinning operator 1. Theoretical background Filtered thinning method that allows to selectively simplify the topology, based on a local contrast parameter λ. (b) filtered skeleton with λ = 10. (a) After Deriche gradient operator R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 11. 11 Parallel thinning operator 1. Parallelization strategy (1) Definesearch area Startparallelcharacterization Create new shared data structure End parallelcharacterization Mergemodifiedsearch area Restart process until stability R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 12. 12 Parallel thinning operator 1. Parallelization strategy (2) SDM-Strategy (Divide and conquer principle) Up level DATA PARALLELISM MIXED PARALLELISM Down level THREAD PARALLELISM R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 13. 13 Parallel thinning operator 1. Parallelization strategy (3) R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 14. 14 Parallel thinning operator 2. Coordination of threads (1) Thread 1 Thread 2 First implementation using a lock-based shared FIFO queue. Lock() Unlock() Push() Fail Success Blocked R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 15. 15 Parallel thinning operator 2. Coordination of threads (2) Thread 1 Thread 2 Lock() and access semaphore Unlock() and leave semaphore Semaphore Push() Second implementation using a private-shared concurrent FIFO queue R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 16. 16 Parallel thinning operator 3. Performance testing (1) R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 17. 17 Parallel thinning operator 3. Performance testing (2) First implementation using a lock-based shared FIFO queue. R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 18. 18 Parallel thinning operator 3. Performance testing (3) Second implementation using a private-shared concurrent FIFO queue R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 19. 19 Parallel thinning operator 4. Conclusion Non-specific nature of the proposed parallelization strategy. Threads coordination and communication during computing dependently parallel read/write for managing cache-resident data 1 2 R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 20. 20 General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 21. 21 Future work 1. Extension SDM - Strategy Performance enhancement (speed up) Efficiency (work distribution) Cache miss ParallelThinning Operator IMBRICATE TWO Operators Crest restoring R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 22. 22 Future work 2. New parallel topological watershed % Achievement Parallelwatershed Operator SDM - Strategy Performance enhancement (speed up) Efficiency (work distribution) Cache miss 80% R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 23. 23 General framework Parallel thinning operator Future work Discussion R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 24. 24 Discussion Introduce future programming model (make it easy to write programs that execute efficiently on highly parallel C.S) Introduce new “Draft”to design and evaluate parallel programming models (instead of old benchmark) Maximize programmer productivity, future programming model must be more human-centric (than the conventional focus on hardware or application) R. MAHMOUDI – A3SI Laboratory– 2009 April
  • 25. 25 R. MAHMOUDI – A3SI Laboratory– 2009 April