Skip to content

This program runs the Sobel Operators for a bit-map file on a GPU to achieve efficient edge detection.

Notifications You must be signed in to change notification settings

rubennoro/Sobel-Edge-Detection-w-CUDA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sobel Edge Detection

The intensity of each element in an image converted to a matrix is determined based on its RGB values. This is referred to as greyscaling an image. Both the C file and CUDA file begin by greyscaling the image before determining edges.

The Sobel Operators evaluate the difference in the intensity of the pixels in the horizontal direction across one element as well as the vertical direction. The magnitude of the difference is then calculated and compared with a set threshold. If greater, the intensity of that pixel is then set at 255, where others are set at 0. The output is shown by bmp_out for an example 1024x1024 bitmap.

About

This program runs the Sobel Operators for a bit-map file on a GPU to achieve efficient edge detection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published