Amazing-Python-Scripts/Ghost filter at master · anumshka/Amazing-Python-Scripts · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

Applying Ghost filter on an image.

Converting an image into ghost/negative image using OpenCv, Matplotlib and Numpy.

Steps:

  • Firstly imported the required libraries which are Numpy, Matplotlib, Os and Cv2.
  • Read the input image/Real image using cv2

Methods Used

  • 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

Original Image

Ghost Filter Image