This repository contains my Image Filtering project, developed as part of the CS50 Week 4 Assignment. The project demonstrates how to implement basic image filtering techniques in C, working with BMP image files.
- Grayscale Filter: Converts an image into shades of gray.
- Sepia Filter: Applies a sepia tone for a warm, vintage look.
- Reflection: Creates a mirrored reflection of the image.
- Blur Filter: Smoothens the image using a simple box blur algorithm.
- Language: C
- Images: BMP format
- Frameworks/Libraries: N/A (Implemented from scratch)
Ensure you have the following installed:
- GCC or any C compiler
- Make utility
- Clone this repository:
git clone https://github.com/not-human213/image-filter.git cd image-filter
- Run the program:
./filter <filter_type> infile.bmp outfile.bmp
Replace <filter_type> with one of these
- -g for grascale
- -b for blur
- -r for reflect
- -e to identify edges