- python 3.5 or higher
- py -m pip install PyQt5
- py -m pip install numpy
- py -m pip install ovencv-python
- py -m pip install imutils
- py -m pip install matplotlib
- py -m pip install scikit-image
- python 3.5 or higher
- pip install PyQt5
- pip install numpy
- pip install ovencv-python
- pip install imutils
- pip install matplotlib
- pip install scikit-image
- python transformation.py (Windows command : py transformation.py)
 
- Click on the Upload button to Upload an image from the input images folder. The uploaded image appears on the image placeholder on the left.
- Select an alorithm (displayed as radio buttons) to get the output.
- The transformed image replaces the uploaded image and is displayed on the image placeholder on the left.
- The Error Map is displayed on the image placeholder on the right.
- SSIM is displayed on the bottom.
- Clear the images using Clear button and upload the respective image for each algorithm.
The images required for upload are present in the “Input images” folder.
Lenna_512.png: Used for Image negative, Log Transformation, Gamma Transformation, Histogram Equalization, DFT, Image Reconstruction using IFFT, Histogram Shaping.
lenna_noise.jpg: Used for median filter.
monalisa_noise.png: Used for mean filter.
Cameraman_512.jpg: Used for Low pass, High pass, Band pass, Unsharp masking filters.
cameraman_256.jpg: Used for Laplacian Filter.
lenna_Interpolation.jpg (256X256): Used for Bilinear and Bicubic Interpolation.
Image Negative image with its error map and SSIM:

Log Transformed Image with its error map and SSIM:

Gamma Transformed Image with its error map and SSIM: Γ = 2.0

Histogram Equalization with its Error Map and SSIM:

Median Filter with its Error Map and SSIM:
Input image for Median Filter:(lenna_noise.jpg)
 
Output:

Mean Filter with its Error Map and SSIM:
Input: (Monalisa with salt and pepper noise: monalisa_noise.png)
 
Output:

Input image for Low pass, High pass and Band pass filter: (Cameraman_512.jpg)
 
Low Pass Filter with its Error Map and SSIM:

High Pass Filter with its Error Map and SSIM:

Band Pass Filter with its Error Map and SSIM:

Laplacian Filter with its Error Map and SSIM:
Input image: cameraman_256.jpg
Output:

Unsharp Masking with its Error Map and SSIM:
Input: Cameraman_512.jpg
Output:

Bilinear Interpolation:
Input for Bilinear and Bicubic Interpolation: lenna_Interpolation.jpg (size 256*256)
 
Output:

Bicubic Interpolation:
Input: Lenna_Interpolation.jpg (size 256*256)
Output:

DFT:
Input: Lenna_512.png
Output:

Image Reconstruction Using IFFT:
Input: Lenna_512.png
Output: We converted the input image to grayscale and then performed DFT on it. The output from the DFT is used as an input for the image reconstruction.

Click on Image negative:
 
Click on Image Shaping Radio button and upload Lenna_512.png as the target image:
 
Now click on Transform Image button:


