SlideShare uma empresa Scribd logo
1 de 21
FPGA Vission
1
Made by:
Bhinjan Dalwadi
Parth Parikh
Ghanshyam Zambare
Guided by:
Prof. Chintan S. Patel
BIRLA VISHWAKARMA MAHAVIDYALAY ENGINEERING COLLEGE
ELECTRONICS DEPARTMENT
Edge Detection Algorithms
▪ First Order Derivative Edge Detection Algorithms
▪ Sobel
▪ Canny
▪ Prewitt
▪ Roberts
▪ Second Order Derivative Edge Detection Algorithms
▪ Difference of Gaussian (DoG)
▪ Laplacian Of Gaussian (LoG)
2
Why FPGA ?
▪ Fast image processing compared to CPU, GPU and DSP processor.
▪ Scalable to SoC.
▪ Cheaper and Rapid Development than ASIC.
3
Source: Study and Comparison of Various Image Edge Detection
Techniques
4
Image Gradient
▪ Gradient of a digital image data is directional change in the pixel (or colour)
intensity. i.e. Differentiation of Pixel Intensity w.r.t. Distance
𝛻𝑓 =
𝜕𝑓
𝜕𝑥
𝑥 +
𝜕𝑓
𝜕𝑦
y
5
Sobel Derivatives
6
-1 0 1
-2 0 2
-1 0 1
-1 -2 -1
0 0 0
1 2 1
Gx=
Gy=
𝐺 = 𝐺 𝑥
2
+ 𝐺 𝑦
2
Sobel Derivative Algorithm On
Image
Original Gradient Edge
Original Image Source: World Wild Life
Org.
7
8
Sobel Top Module
clk
rst
rdy
Pixel(8 bit)
Grad_out(17 bit)
Sobel Top Module
9
Structural Block Diagram
Block ROM
input image Line Buffer
Sobel Operators
Block RAM
output image
VGA-Display
Sobel Top Module
Gradient
VGA Timing
Implementation hierarchy
10
11
12
Block memory IP Core Configurations
12
▪Block ROM/RAM
▪Features:
• Low latency memory controller
• Separate read and write channel interfaces to utilize dual port FPGA BRAM technology
• Configurable BRAM data width (8-, 32-, 64-, 128-, 256-, 512-, and 1024-bit) (equals AXI
slave port data width size)
• Supports memory sizes up to a maximum of 2 MBytes (byte size 8 or 9)
• Performance up to 450 MHz
• Data widths from 1 to 4096 bits
• Memory depths from 2 to 128k
VGA Interface
▪ Signals
▪ Hsync
▪ 0-Tracing line is completed
▪ 1-otherwise
▪ Vsync
▪ 0- when frame is changed
▪ 1- otherwise
▪ R-G-B
▪ Analog Input
▪ 0-1v Range
▪ 1-for Brightest
▪ 0-for Darkest
13
VGA Process Flow
14
In_clk pixel_clk VGA Timing VGA Display
BRAM
System clk
Clock generator
Output_image
VGA Controller
▪ Fetches data from the Block RAM forwarded to the VGA port.
▪ Generates Hsync and Vsync pulses for synchronization.
▪ Pixel Clock is generated using LogiCORE IP Clock Generator (v4.03a)
Resoluti
on
(pixels)
Refresh
Rate
(Hz)
Pixel
Clock
(MHz)
Horizontal (pixel clocks) Vertical (rows)
Display Front
Porch
Sync
Pulse
Back
Porch
Display Front
Porch
Sync
Pulse
Back
Porch
640x480
60 25.175 640 16 96 48 480 10 2 33
15
Simulation Result
16
Simulation Result
17
Resource utilization report
(nexys4 xc7a100tcsg324-1)
18
Conclusion
▪ Implemented Sobel edge detection technique on FPGA.
▪ Simulated the hardware with VHDL test bench.
▪ Processing speed is 400 FPS for 500x500 Gray scale image.
▪ Displayed processed image on screen through VGA interface. Image pixel data stored
in block ram which was displayed.
▪ Simulated Sobel edge detection technique using OpenCV and Python on CPU.
19
Future Work
▪ Add modules for further image processing.
▪ Implementing a switch for displaying both input image(original) and output image(edge
detected).
▪ Make a complete SoC.
▪ Use Xilinx Zynq APSoC to make heterogeneous embedded system for image processing.
▪ Use hardwired Dual core ARM Cortex A9 processor (PS block) of Xilinx ZYNQ XC7Z010-
1CLG400C with Linux for process controlling
▪ Create AXI (AMBA Standard) peripheral of the Sobel module
▪ Enhance performance speed by over clocking.
20
Reference
▪ R. Maini and D. H. Aggarwal, “Study and Comparison of Various Image Edge
Detection Techniques” International Journal of Image Processing
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.301.927&rep=rep1&typ
e=pdf
▪ Shuichi Asano, Tsutomu Maruyama and Yoshiki Yamaguchi “Performance comparison
of FPGA, GPU and CPU in image processing, IEEE
http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=5272532
▪ S. Larson, “VGA Controller (VHDL) – Logic –eewiki”
https://eewiki.net/pages/viewpage.action?pageId=15925278
• Xilinx DS512 LogicCORE IP Block Memory Generator v6.1, Data Sheet
www.xilinx.com>blk_mem_gen_ds512
21

Mais conteúdo relacionado

Mais procurados

Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domain
Ashish Kumar
 
[G4]image deblurring, seeing the invisible
[G4]image deblurring, seeing the invisible[G4]image deblurring, seeing the invisible
[G4]image deblurring, seeing the invisible
NAVER D2
 
Threshold Selection for Image segmentation
Threshold Selection for Image segmentationThreshold Selection for Image segmentation
Threshold Selection for Image segmentation
Parijat Sinha
 

Mais procurados (20)

Study on 32-bit Cortex - M3 Powered MCU: STM32F101
Study on 32-bit Cortex - M3 Powered MCU: STM32F101Study on 32-bit Cortex - M3 Powered MCU: STM32F101
Study on 32-bit Cortex - M3 Powered MCU: STM32F101
 
調波打撃音分離の時間周波数マスクを用いた線形ブラインド音源分離
調波打撃音分離の時間周波数マスクを用いた線形ブラインド音源分離調波打撃音分離の時間周波数マスクを用いた線形ブラインド音源分離
調波打撃音分離の時間周波数マスクを用いた線形ブラインド音源分離
 
Digital image processing using matlab
Digital image processing using matlab Digital image processing using matlab
Digital image processing using matlab
 
Image Dithering.pptx
Image Dithering.pptxImage Dithering.pptx
Image Dithering.pptx
 
Icp3.2 takmin
Icp3.2 takminIcp3.2 takmin
Icp3.2 takmin
 
Intelligent Image Enhancement and Restoration - From Prior Driven Model to Ad...
Intelligent Image Enhancement and Restoration - From Prior Driven Model to Ad...Intelligent Image Enhancement and Restoration - From Prior Driven Model to Ad...
Intelligent Image Enhancement and Restoration - From Prior Driven Model to Ad...
 
Histogram equalization
Histogram equalizationHistogram equalization
Histogram equalization
 
The motion estimation
The motion estimationThe motion estimation
The motion estimation
 
B&W Image Coloring (1).pptx
B&W  Image Coloring (1).pptxB&W  Image Coloring (1).pptx
B&W Image Coloring (1).pptx
 
Deep Learning for Computer Vision: Object Detection (UPC 2016)
Deep Learning for Computer Vision: Object Detection (UPC 2016)Deep Learning for Computer Vision: Object Detection (UPC 2016)
Deep Learning for Computer Vision: Object Detection (UPC 2016)
 
Enhancement in spatial domain
Enhancement in spatial domainEnhancement in spatial domain
Enhancement in spatial domain
 
Image processing fundamentals
Image processing fundamentalsImage processing fundamentals
Image processing fundamentals
 
CATHODE RAY TUBE IN COMPUTER GRAPHICS
CATHODE RAY TUBE IN COMPUTER GRAPHICSCATHODE RAY TUBE IN COMPUTER GRAPHICS
CATHODE RAY TUBE IN COMPUTER GRAPHICS
 
Image processing on matlab presentation
Image processing on matlab presentationImage processing on matlab presentation
Image processing on matlab presentation
 
Texture Mapping
Texture MappingTexture Mapping
Texture Mapping
 
Computational models of human visual attention driven by auditory cues
Computational models of human visual attention driven by auditory cuesComputational models of human visual attention driven by auditory cues
Computational models of human visual attention driven by auditory cues
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
[G4]image deblurring, seeing the invisible
[G4]image deblurring, seeing the invisible[G4]image deblurring, seeing the invisible
[G4]image deblurring, seeing the invisible
 
Threshold Selection for Image segmentation
Threshold Selection for Image segmentationThreshold Selection for Image segmentation
Threshold Selection for Image segmentation
 
Chapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woodsChapter 1 and 2 gonzalez and woods
Chapter 1 and 2 gonzalez and woods
 

Destaque

Geographical information system (gis) for water resources management
Geographical information system (gis) for water resources managementGeographical information system (gis) for water resources management
Geographical information system (gis) for water resources management
eSAT Journals
 
Edge detection of video using matlab code
Edge detection of video using matlab codeEdge detection of video using matlab code
Edge detection of video using matlab code
Bhushan Deore
 
Image Processing (General Topic)
Image Processing (General Topic)Image Processing (General Topic)
Image Processing (General Topic)
mcc.jeppiaar
 
optical character recognition system
optical character recognition systemoptical character recognition system
optical character recognition system
Vijay Apurva
 

Destaque (11)

H017255560
H017255560H017255560
H017255560
 
Fpga implementation of image segmentation by using edge detection based on so...
Fpga implementation of image segmentation by using edge detection based on so...Fpga implementation of image segmentation by using edge detection based on so...
Fpga implementation of image segmentation by using edge detection based on so...
 
Geographical information system (gis) for water resources management
Geographical information system (gis) for water resources managementGeographical information system (gis) for water resources management
Geographical information system (gis) for water resources management
 
Canny Edge Detection Algorithm on FPGA
Canny Edge Detection Algorithm on FPGA Canny Edge Detection Algorithm on FPGA
Canny Edge Detection Algorithm on FPGA
 
Edge detection of video using matlab code
Edge detection of video using matlab codeEdge detection of video using matlab code
Edge detection of video using matlab code
 
Image Processing (General Topic)
Image Processing (General Topic)Image Processing (General Topic)
Image Processing (General Topic)
 
Spandana image processing and compression techniques (7840228)
Spandana   image processing and compression techniques (7840228)Spandana   image processing and compression techniques (7840228)
Spandana image processing and compression techniques (7840228)
 
Basics of-optical-character-recognition
Basics of-optical-character-recognitionBasics of-optical-character-recognition
Basics of-optical-character-recognition
 
optical character recognition system
optical character recognition systemoptical character recognition system
optical character recognition system
 
Information and communication technology:a class presentation
Information and communication technology:a class presentationInformation and communication technology:a class presentation
Information and communication technology:a class presentation
 
Image processing ppt
Image processing pptImage processing ppt
Image processing ppt
 

Semelhante a Sobel Edge Detection Using FPGA

Accelerating Real Time Video Analytics on a Heterogenous CPU + FPGA Platform
Accelerating Real Time Video Analytics on a Heterogenous CPU + FPGA PlatformAccelerating Real Time Video Analytics on a Heterogenous CPU + FPGA Platform
Accelerating Real Time Video Analytics on a Heterogenous CPU + FPGA Platform
Databricks
 
“Fast-track Design Cycles Using Lattice’s FPGAs,” a Presentation from Lattice...
“Fast-track Design Cycles Using Lattice’s FPGAs,” a Presentation from Lattice...“Fast-track Design Cycles Using Lattice’s FPGAs,” a Presentation from Lattice...
“Fast-track Design Cycles Using Lattice’s FPGAs,” a Presentation from Lattice...
Edge AI and Vision Alliance
 

Semelhante a Sobel Edge Detection Using FPGA (20)

Moving object detection on FPGA
Moving object detection on FPGAMoving object detection on FPGA
Moving object detection on FPGA
 
Dr.s.shiyamala fpga ppt
Dr.s.shiyamala  fpga pptDr.s.shiyamala  fpga ppt
Dr.s.shiyamala fpga ppt
 
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
 
Octnews featured article
Octnews featured articleOctnews featured article
Octnews featured article
 
GPU - Basic Working
GPU - Basic WorkingGPU - Basic Working
GPU - Basic Working
 
Accelerating Real Time Video Analytics on a Heterogenous CPU + FPGA Platform
Accelerating Real Time Video Analytics on a Heterogenous CPU + FPGA PlatformAccelerating Real Time Video Analytics on a Heterogenous CPU + FPGA Platform
Accelerating Real Time Video Analytics on a Heterogenous CPU + FPGA Platform
 
A funtro to real-time ray-tracing
A funtro to real-time ray-tracingA funtro to real-time ray-tracing
A funtro to real-time ray-tracing
 
26_Fan.pdf
26_Fan.pdf26_Fan.pdf
26_Fan.pdf
 
Dongliang_Slides
Dongliang_SlidesDongliang_Slides
Dongliang_Slides
 
Gpu with cuda architecture
Gpu with cuda architectureGpu with cuda architecture
Gpu with cuda architecture
 
Nbsingh csir-ceeri-semiconductor-activities
Nbsingh csir-ceeri-semiconductor-activitiesNbsingh csir-ceeri-semiconductor-activities
Nbsingh csir-ceeri-semiconductor-activities
 
Solving channel coding simulation and optimization problems using GPU
Solving channel coding simulation and optimization problems using GPUSolving channel coding simulation and optimization problems using GPU
Solving channel coding simulation and optimization problems using GPU
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusion
 
Thesis Final Presentation
Thesis Final PresentationThesis Final Presentation
Thesis Final Presentation
 
Main (3)
Main (3)Main (3)
Main (3)
 
Performance Evaluation and Comparison of Service-based Image Processing based...
Performance Evaluation and Comparison of Service-based Image Processing based...Performance Evaluation and Comparison of Service-based Image Processing based...
Performance Evaluation and Comparison of Service-based Image Processing based...
 
Leveraging DSP Resources
Leveraging DSP ResourcesLeveraging DSP Resources
Leveraging DSP Resources
 
“Fast-track Design Cycles Using Lattice’s FPGAs,” a Presentation from Lattice...
“Fast-track Design Cycles Using Lattice’s FPGAs,” a Presentation from Lattice...“Fast-track Design Cycles Using Lattice’s FPGAs,” a Presentation from Lattice...
“Fast-track Design Cycles Using Lattice’s FPGAs,” a Presentation from Lattice...
 
Mmclass5b
Mmclass5bMmclass5b
Mmclass5b
 
Performance Evaluation of SAR Image Reconstruction on CPUs and GPUs
Performance Evaluation of SAR Image Reconstruction on CPUs and GPUsPerformance Evaluation of SAR Image Reconstruction on CPUs and GPUs
Performance Evaluation of SAR Image Reconstruction on CPUs and GPUs
 

Último

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 

Último (20)

DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
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
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 

Sobel Edge Detection Using FPGA

  • 1. FPGA Vission 1 Made by: Bhinjan Dalwadi Parth Parikh Ghanshyam Zambare Guided by: Prof. Chintan S. Patel BIRLA VISHWAKARMA MAHAVIDYALAY ENGINEERING COLLEGE ELECTRONICS DEPARTMENT
  • 2. Edge Detection Algorithms ▪ First Order Derivative Edge Detection Algorithms ▪ Sobel ▪ Canny ▪ Prewitt ▪ Roberts ▪ Second Order Derivative Edge Detection Algorithms ▪ Difference of Gaussian (DoG) ▪ Laplacian Of Gaussian (LoG) 2
  • 3. Why FPGA ? ▪ Fast image processing compared to CPU, GPU and DSP processor. ▪ Scalable to SoC. ▪ Cheaper and Rapid Development than ASIC. 3
  • 4. Source: Study and Comparison of Various Image Edge Detection Techniques 4
  • 5. Image Gradient ▪ Gradient of a digital image data is directional change in the pixel (or colour) intensity. i.e. Differentiation of Pixel Intensity w.r.t. Distance 𝛻𝑓 = 𝜕𝑓 𝜕𝑥 𝑥 + 𝜕𝑓 𝜕𝑦 y 5
  • 6. Sobel Derivatives 6 -1 0 1 -2 0 2 -1 0 1 -1 -2 -1 0 0 0 1 2 1 Gx= Gy= 𝐺 = 𝐺 𝑥 2 + 𝐺 𝑦 2
  • 7. Sobel Derivative Algorithm On Image Original Gradient Edge Original Image Source: World Wild Life Org. 7
  • 8. 8 Sobel Top Module clk rst rdy Pixel(8 bit) Grad_out(17 bit) Sobel Top Module
  • 9. 9 Structural Block Diagram Block ROM input image Line Buffer Sobel Operators Block RAM output image VGA-Display Sobel Top Module Gradient VGA Timing
  • 11. 11
  • 12. 12 Block memory IP Core Configurations 12 ▪Block ROM/RAM ▪Features: • Low latency memory controller • Separate read and write channel interfaces to utilize dual port FPGA BRAM technology • Configurable BRAM data width (8-, 32-, 64-, 128-, 256-, 512-, and 1024-bit) (equals AXI slave port data width size) • Supports memory sizes up to a maximum of 2 MBytes (byte size 8 or 9) • Performance up to 450 MHz • Data widths from 1 to 4096 bits • Memory depths from 2 to 128k
  • 13. VGA Interface ▪ Signals ▪ Hsync ▪ 0-Tracing line is completed ▪ 1-otherwise ▪ Vsync ▪ 0- when frame is changed ▪ 1- otherwise ▪ R-G-B ▪ Analog Input ▪ 0-1v Range ▪ 1-for Brightest ▪ 0-for Darkest 13
  • 14. VGA Process Flow 14 In_clk pixel_clk VGA Timing VGA Display BRAM System clk Clock generator Output_image
  • 15. VGA Controller ▪ Fetches data from the Block RAM forwarded to the VGA port. ▪ Generates Hsync and Vsync pulses for synchronization. ▪ Pixel Clock is generated using LogiCORE IP Clock Generator (v4.03a) Resoluti on (pixels) Refresh Rate (Hz) Pixel Clock (MHz) Horizontal (pixel clocks) Vertical (rows) Display Front Porch Sync Pulse Back Porch Display Front Porch Sync Pulse Back Porch 640x480 60 25.175 640 16 96 48 480 10 2 33 15
  • 18. Resource utilization report (nexys4 xc7a100tcsg324-1) 18
  • 19. Conclusion ▪ Implemented Sobel edge detection technique on FPGA. ▪ Simulated the hardware with VHDL test bench. ▪ Processing speed is 400 FPS for 500x500 Gray scale image. ▪ Displayed processed image on screen through VGA interface. Image pixel data stored in block ram which was displayed. ▪ Simulated Sobel edge detection technique using OpenCV and Python on CPU. 19
  • 20. Future Work ▪ Add modules for further image processing. ▪ Implementing a switch for displaying both input image(original) and output image(edge detected). ▪ Make a complete SoC. ▪ Use Xilinx Zynq APSoC to make heterogeneous embedded system for image processing. ▪ Use hardwired Dual core ARM Cortex A9 processor (PS block) of Xilinx ZYNQ XC7Z010- 1CLG400C with Linux for process controlling ▪ Create AXI (AMBA Standard) peripheral of the Sobel module ▪ Enhance performance speed by over clocking. 20
  • 21. Reference ▪ R. Maini and D. H. Aggarwal, “Study and Comparison of Various Image Edge Detection Techniques” International Journal of Image Processing http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.301.927&rep=rep1&typ e=pdf ▪ Shuichi Asano, Tsutomu Maruyama and Yoshiki Yamaguchi “Performance comparison of FPGA, GPU and CPU in image processing, IEEE http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=5272532 ▪ S. Larson, “VGA Controller (VHDL) – Logic –eewiki” https://eewiki.net/pages/viewpage.action?pageId=15925278 • Xilinx DS512 LogicCORE IP Block Memory Generator v6.1, Data Sheet www.xilinx.com>blk_mem_gen_ds512 21