Image Effect is a Java project developed by Nexus Coding Club designed to simulate and correct chromatic aberration in digital images. Chromatic aberration, or color fringing, occurs when a lens fails to focus all colors at the same point, resulting in color distortions.
- Simulation Engine: Models the effect of chromatic aberration on images.
- Correction Algorithms: Corrects color shifts, defringing, and channel misalignment.
- User Interface: User-friendly graphical interface for real-time image correction.
- Performance Optimization: Efficient processing for large images.
- Extensibility: Modular design supports future enhancements.
To use Chromatic-Aberration, follow these steps:
- Load Image: Load an image from a file using its filename.
- Create New Image: Initialize a new, empty image (
imageNew) with the same dimensions as the original image. - Define Offsets: Set up offsets for each color channel (Red, Green, Blue) to correct the aberration.
- Process Pixels:
- Read RGB values of each pixel from the original image.
- Apply the defined offsets to adjust the pixel positions.
- Update New Image: Write the adjusted pixel values to
imageNew.
This project is licensed under the MIT License. See the LICENSE file for details.
For more information or questions, please contact Nexus Coding Club.