Converting an image into ghost/negative image using OpenCv, Matplotlib and Numpy.
- Firstly imported the required libraries which are Numpy, Matplotlib, Os and Cv2.
- Read the input image/Real image using cv2
- Used Bilateral Filter
- Followed by Median Blur
- Followed by Adaptive Threshold
- And at last used Bitwise Xor
- Finally converted the image into ghost filter image