Simulation with Computer Vision
Andres Fernandez
Outline
● Computer Vision
– Algorithms
– Object Tracking Technique
● Robot Simulation
Computer Vision
● Hough Transform Circle
● Smallest-circle
Hough Transform Circle
● Detects circles
● Outputs the X and Y coordinates
● Outputs the radius
Smallest-circle
● Finds circles
● Outputs the X and Y coordinates
● Outputs the radius
● Finds the smallest circle out of all circles
Computer Vision Object Tracking
● Changing the environment to make calculations
easier
● Detecting circles using Hough Transform Circle
● Using the output to feed into simulation
Changing the environment
● Environment color change from RGB to HSV
● HSV stands for Hue Saturation Value
● Hue – Color shown
● Saturation – Color intensity
● Value – Color brightness
Changing the environment
Source: http://en.wikipedia.org/wiki/File:Hsl-hsv_models.svg
RGB vs. HSV
Hough Transformer Circle
● Needs three parameters (x, y, r)
●
● Changed the equation to find x and y as the
center
(x−a)
2
+( y−b)
2
=r
2
x=a+R cos(θ) y=b+R sin(θ)
Hough Transformer Circle
● An 2-dim accumulation array keeps track of the
number of intersections
● The pixel with highest count is considered to be
center of the circle
● w = width, h = height
O(wh(δ R))
δ R=(MaximumRadius−MinimumRadius)
Hough Transformer Circle
Simulation
● A simple 2D animation of a box
● The box represents a robot which follows an object
of interest
● The velocity is fixed
● The turning velocity can be changed in the GUI
Simulation
Threading
● Three threads total
● GUI – Main thread
● Image Processing – Child Thread
● Robot Simulation – Child Thread
Scheduling
● Image thread
Scheduling
● Simulation thread
Improvements
● Background Subtraction
● OpenCL (Multicore)
● More Benchmarking Analysis
● Extending Simulation (more variables)
● Real Time Operating System (RTOS)
Questions
References
● Alper Yilmaz, Omar Javed, and Mubarak Shah. 2006. Object
tracking: A survey. ACM Comput. Surv. 38, 4, Article 13
(December 2006)
● Canny, John, "A Computational Approach to Edge Detection,"
Pattern Analysis and Machine Intelligence, IEEE Transactions
on , vol.PAMI-8, no.6, pp.679,698, Nov. 1986
● H. K. Yuen, J. Princen, J. Illingworth, and J. Kittler. 1990.
Comparative study of Hough transform methods for circle finding.
Image Vision Comput. 8, 1 (February 1990), 71-77
● Jasmin Blanchette and Mark Summerfield , “C++ GUI
Programming with Qt 4”, 2nd ed., Prentice Hall, 2008
Extra - Reasons
● Why use actual sensors to connect to the
simulation?
● What framework to use to display the video and
animation?
Extra - Technical Specifications
● Intel Core i7
● 6 Gigabytes of Memory
● OpenCV 2.4.8
● Webcam: 15 MP
● Webcam: 30 FPS
Extra – Edge Detection
● Edge Detection is used to simplify the image
● The Hough Transform Circle function uses Canny
and Sobel to detect edges
● Sobel is a predecessor of Canny
● Canny and Sobel is a multi step process
Extra – Canny Edge Detection
● Color to Gray scale
● Gaussian filter
● Gradient Processing
● Non-maximum suppression
● Tracing edges
● Hysteresis Thresholding

More Related Content

PDF
Graphing Rational Functions 2
PPTX
Teampresentation4
PDF
Computer Graphics and Multimedia Techniques Paper (RTU VI Semester)
PDF
final_presentation
PPTX
Explore ML Beginner Session on Linear Regression
PPTX
Cloud-based Storage, Processing and Rendering for Gegabytes 3D Biomedical Images
PDF
Geographic Information Systems (April – 2013) [Question Paper | IDOL: Revised...
PDF
aip shape detection and tracking using contours
Graphing Rational Functions 2
Teampresentation4
Computer Graphics and Multimedia Techniques Paper (RTU VI Semester)
final_presentation
Explore ML Beginner Session on Linear Regression
Cloud-based Storage, Processing and Rendering for Gegabytes 3D Biomedical Images
Geographic Information Systems (April – 2013) [Question Paper | IDOL: Revised...
aip shape detection and tracking using contours

What's hot (8)

PPTX
Mahaviracharya (hindi)
PPTX
A169571 tugasan pisah ragaman
PDF
[Question Paper] Geographic Information System (Old Syllabus) [April / 2014]
PDF
[DL Hacks]Smart, Sparse Contours to Represent and Edit Images
PDF
Tugasan pisah ragaman (a168892)
PDF
Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...
PPTX
Tugasan 9 Pisah Ragaman (A168202)
PDF
Image processing fundamentals
Mahaviracharya (hindi)
A169571 tugasan pisah ragaman
[Question Paper] Geographic Information System (Old Syllabus) [April / 2014]
[DL Hacks]Smart, Sparse Contours to Represent and Edit Images
Tugasan pisah ragaman (a168892)
Geographic Information Systems (Question Paper) [May – 2018 | CBSGS - 75:25 P...
Tugasan 9 Pisah Ragaman (A168202)
Image processing fundamentals
Ad

Viewers also liked (20)

PPTX
Open cv tutorial
PPTX
Hough Transform By Md.Nazmul Islam
PPTX
Databse Intrusion Detection Using Data Mining Approach
PPTX
Linear Hough TRansform
PDF
Drawing Ellipses
PPTX
Intrusion detection using data mining
PPT
Data Mining and Intrusion Detection
PDF
Digital Image Processing - MATLAB Notes - Akshansh
PPT
Dip Image Segmentation
PPT
Introduction To Intrusion Detection Systems
PPT
Segmentation
PPTX
Conic Sections- Circle, Parabola, Ellipse, Hyperbola
PDF
Digital Image Processing: Image Segmentation
PPTX
Intrusion detection
PPTX
IMAGE SEGMENTATION.
PPTX
Intrusion Detection System(IDS)
PPT
Image segmentation ppt
PPS
Image Processing Basics
PPT
Intrusion detection system ppt
PPT
Digital Image Processing
Open cv tutorial
Hough Transform By Md.Nazmul Islam
Databse Intrusion Detection Using Data Mining Approach
Linear Hough TRansform
Drawing Ellipses
Intrusion detection using data mining
Data Mining and Intrusion Detection
Digital Image Processing - MATLAB Notes - Akshansh
Dip Image Segmentation
Introduction To Intrusion Detection Systems
Segmentation
Conic Sections- Circle, Parabola, Ellipse, Hyperbola
Digital Image Processing: Image Segmentation
Intrusion detection
IMAGE SEGMENTATION.
Intrusion Detection System(IDS)
Image segmentation ppt
Image Processing Basics
Intrusion detection system ppt
Digital Image Processing
Ad

Similar to Presentation sim opencv (20)

PDF
A Case Study : Circle Detection Using Circular Hough Transform
PDF
One-Pass Clustering Superpixels
PDF
E0442328
PDF
Hough Transform: Serial and Parallel Implementations
PPTX
06 image features
PDF
Practical Digital Image Processing 3
PPTX
Orb feature by nitin
PDF
Presentation - Bi-directional A-star search
PDF
Algorithmic Techniques for Parametric Model Recovery
PPTX
04 image transformations_ii
PPT
Reverse Engineering for additive manufacturing
PPTX
BallCatchingRobot
PPT
Miniproject final group 14
PDF
Deep Local Parametric Filters for Image Enhancement
PPTX
Mvs adas
PDF
Multiple_view_geometry - Mechatronics and Robotics
PPTX
Invariant Generalised Hough Transform
PDF
Practical Spherical Harmonics Based PRT Methods
PPTX
Human action recognition with kinect using a joint motion descriptor
PDF
Implementation_of_Hough_Transform_for_image_processing_applications.pdf
A Case Study : Circle Detection Using Circular Hough Transform
One-Pass Clustering Superpixels
E0442328
Hough Transform: Serial and Parallel Implementations
06 image features
Practical Digital Image Processing 3
Orb feature by nitin
Presentation - Bi-directional A-star search
Algorithmic Techniques for Parametric Model Recovery
04 image transformations_ii
Reverse Engineering for additive manufacturing
BallCatchingRobot
Miniproject final group 14
Deep Local Parametric Filters for Image Enhancement
Mvs adas
Multiple_view_geometry - Mechatronics and Robotics
Invariant Generalised Hough Transform
Practical Spherical Harmonics Based PRT Methods
Human action recognition with kinect using a joint motion descriptor
Implementation_of_Hough_Transform_for_image_processing_applications.pdf

Recently uploaded (20)

PDF
Computer organization and architecuture Digital Notes....pdf
PDF
Design Guidelines and solutions for Plastics parts
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
ai_satellite_crop_management_20250815030350.pptx
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PPTX
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
PPTX
Feature types and data preprocessing steps
PDF
Java Basics-Introduction and program control
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
Computer System Architecture 3rd Edition-M Morris Mano.pdf
PPTX
Petroleum Refining & Petrochemicals.pptx
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
Abrasive, erosive and cavitation wear.pdf
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
MLpara ingenieira CIVIL, meca Y AMBIENTAL
PDF
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Computer organization and architecuture Digital Notes....pdf
Design Guidelines and solutions for Plastics parts
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
distributed database system" (DDBS) is often used to refer to both the distri...
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
August 2025 - Top 10 Read Articles in Network Security & Its Applications
ai_satellite_crop_management_20250815030350.pptx
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
Chapter 2 -Technology and Enginerring Materials + Composites.pptx
Feature types and data preprocessing steps
Java Basics-Introduction and program control
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Computer System Architecture 3rd Edition-M Morris Mano.pdf
Petroleum Refining & Petrochemicals.pptx
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Abrasive, erosive and cavitation wear.pdf
Information Storage and Retrieval Techniques Unit III
MLpara ingenieira CIVIL, meca Y AMBIENTAL
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...

Presentation sim opencv

  • 1. Simulation with Computer Vision Andres Fernandez
  • 2. Outline ● Computer Vision – Algorithms – Object Tracking Technique ● Robot Simulation
  • 3. Computer Vision ● Hough Transform Circle ● Smallest-circle
  • 4. Hough Transform Circle ● Detects circles ● Outputs the X and Y coordinates ● Outputs the radius
  • 5. Smallest-circle ● Finds circles ● Outputs the X and Y coordinates ● Outputs the radius ● Finds the smallest circle out of all circles
  • 6. Computer Vision Object Tracking ● Changing the environment to make calculations easier ● Detecting circles using Hough Transform Circle ● Using the output to feed into simulation
  • 7. Changing the environment ● Environment color change from RGB to HSV ● HSV stands for Hue Saturation Value ● Hue – Color shown ● Saturation – Color intensity ● Value – Color brightness
  • 8. Changing the environment Source: http://en.wikipedia.org/wiki/File:Hsl-hsv_models.svg
  • 10. Hough Transformer Circle ● Needs three parameters (x, y, r) ● ● Changed the equation to find x and y as the center (x−a) 2 +( y−b) 2 =r 2 x=a+R cos(θ) y=b+R sin(θ)
  • 11. Hough Transformer Circle ● An 2-dim accumulation array keeps track of the number of intersections ● The pixel with highest count is considered to be center of the circle ● w = width, h = height O(wh(δ R)) δ R=(MaximumRadius−MinimumRadius)
  • 13. Simulation ● A simple 2D animation of a box ● The box represents a robot which follows an object of interest ● The velocity is fixed ● The turning velocity can be changed in the GUI
  • 15. Threading ● Three threads total ● GUI – Main thread ● Image Processing – Child Thread ● Robot Simulation – Child Thread
  • 18. Improvements ● Background Subtraction ● OpenCL (Multicore) ● More Benchmarking Analysis ● Extending Simulation (more variables) ● Real Time Operating System (RTOS)
  • 20. References ● Alper Yilmaz, Omar Javed, and Mubarak Shah. 2006. Object tracking: A survey. ACM Comput. Surv. 38, 4, Article 13 (December 2006) ● Canny, John, "A Computational Approach to Edge Detection," Pattern Analysis and Machine Intelligence, IEEE Transactions on , vol.PAMI-8, no.6, pp.679,698, Nov. 1986 ● H. K. Yuen, J. Princen, J. Illingworth, and J. Kittler. 1990. Comparative study of Hough transform methods for circle finding. Image Vision Comput. 8, 1 (February 1990), 71-77 ● Jasmin Blanchette and Mark Summerfield , “C++ GUI Programming with Qt 4”, 2nd ed., Prentice Hall, 2008
  • 21. Extra - Reasons ● Why use actual sensors to connect to the simulation? ● What framework to use to display the video and animation?
  • 22. Extra - Technical Specifications ● Intel Core i7 ● 6 Gigabytes of Memory ● OpenCV 2.4.8 ● Webcam: 15 MP ● Webcam: 30 FPS
  • 23. Extra – Edge Detection ● Edge Detection is used to simplify the image ● The Hough Transform Circle function uses Canny and Sobel to detect edges ● Sobel is a predecessor of Canny ● Canny and Sobel is a multi step process
  • 24. Extra – Canny Edge Detection ● Color to Gray scale ● Gaussian filter ● Gradient Processing ● Non-maximum suppression ● Tracing edges ● Hysteresis Thresholding