from PIL import Image, ImageFilter
image1=Image.open("E:/OpenCV/data/mandrill.jpg")
om1=image1.filter(ImageFilter.CONTOUR)
om1.save("monkeyContour.jpg")
om2=image1.filter(ImageFilter.EMBOSS)
om2.save("monkeyEMBOSS.jpg")
om3=image1.filter(ImageFilter.FIND_EDGES)
om3.save("monkeyFINDEDGES.jpg")
a=Image.new('RGB',(940,1140),(255,0,0))
a.paste(image1,(0,0))
a.paste(om1,(470,0))
a.paste(om2,(0,570))
a.paste(om3,(470,570))
a.save("1.jpg")