Skip to content

MuhammadAnas4774/Image-Convolution-Filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image-Convolution-Filters

A collection of Python notebooks demonstrating fundamental computer vision filters (Edge Detection, Blurring, and Sharpening) using TensorFlow and Keras 2D convolutions.

This repository contains interactive Jupyter Notebooks designed to visualize how Convolutional Neural Networks (CNNs) process images. Using TensorFlow and Keras, it applies various 3x3 mathematical kernels—such as Horizontal/Vertical Edge Detection, Gaussian Blurring, and Edge Enhancement—to a single-channel grayscale image. It serves as a practical, hands-on introduction to image filtering and feature extraction in computer vision.

Contents

  • 1_Edge_Detection_Filters.ipynb: Demonstrates horizontal, vertical, diagonal, and Laplacian edge detection filters.
  • 2_Blur_and_Sharpen_Filters.ipynb: Demonstrates box blur, Gaussian blur, sharpening, and edge enhancement filters.
  • Test Image/: Contains the base image used for applying filters.
  • Result/: Contains output composite images generated from the notebooks.

Usage

You can run these notebooks locally or upload them to Google Colab. If running in Colab, the notebooks are configured to fallback to a sample image if the local test image is unavailable.

Results

Edge Detection Filters

Edge Detection Results

Blur and Sharpen Filters

Blur and Sharpen Results

About

A collection of Python notebooks demonstrating fundamental computer vision filters (Edge Detection, Blurring, and Sharpening) using TensorFlow and Keras 2D convolutions)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors