Author: Chaira Harder Project: Image Manipulation and Filtering in MATLAB
This project demonstrates the use of matrix operations in digital image processing using MATLAB. Starting with a standard image (thai.jpg), various color filters and transformations including grayscale, sepia, red-channel isolation, hue rotation, and artistic effects like Warhol-style tiling and blurring are used.
- Extract and manipulate RGB channels
- Apply grayscale and sepia tone transformations via matrix multiplication
- Rotate image hues with color rotation matrices
- Implement image flipping, cropping, darkening, and brightness enhancement
- Simulate Andy Warhol-style image tiling
- Blur an image using a custom-defined
blur()function
- Place
thai.jpgin your MATLAB project directory. - Run the script from MATLAB.
- Generated figures will display each transformation.
- Optional: Test the
blur()function with differentwid(blur width) values for custom effects.
- All transformations use pixel-wise or channel-wise manipulation with for-loops and matrix reshaping.
- Hue rotation uses a combination of predefined and trigonometric matrices to simulate real-world color shifting.
- The
blur()function is manually implemented without using built-in filters (except for testing) for educational purposes.