Skip to content

janovak/image-processing

Repository files navigation

image-processing

Provides PyCuda implementations of varius image processing algorithms.

The CUDA kernel files need to be compiled with nvcc --cubin <file>.cu before the program will work.

Generates outputs based on the input file's name with additions to indicate which output is from which algorithm.

For example
Input: picture.png
Output: picture_boxblurred25.png, picture_gaussianblurred25.png, picture_grayscaled.png, etc

Image blurring

Blurs an image using the box blur and Gaussian blur algorithms and creates ones output for each algorithm.

Blur radius is not currently configurable without a recompile. Changing the blur radius requires changing the BLUR_RADIUS variables at the top of both process_image.py and blur_image_kernel.cu

Grayscale filter

Applies a grayscale filter to a given image.

Sobel filter

Applies a Sobel filter and outputs an image representing the detected edges.

Edge highlighting

Combines the Sobel filter output with the original image to create an image with highlighted edges

About

Manipulates an image with a variety of effects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published