Skip to content

A simple image convolution algorithm in C for blurring bitmaps and edge-detection.

License

Notifications You must be signed in to change notification settings

Joseeeeeeeph/Convolution-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joseeeeeeeph's Convolution Algorithm

This is a simple bitmap image processor and convolution algorithm written in C, that currently applies either box blur, Gaussian blur or Laplacian edge-detection to an image

Run: ./convolve

The input image must be named "input.bmp" and placed in the input directory. There are also example images for you.

The output will be generated as "output.bmp" in the output directory.

The algorithm uses edge-extension as its edge handling.

The size of the kernel, and the size of the variance for Gaussian blur, can be edited in src/convolution.c. The kernel width/height must be an odd number (though this will probably change in the future). Larger kernel sizes return weird results for edge-detection.

About

A simple image convolution algorithm in C for blurring bitmaps and edge-detection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages