I want to make a effect that a colored normal image to a scanned image.
like 2 pictures below, first image is the original image, second image is the adjusted image, effects should like the second image, the text on back of the page should also disappear:
First image:
Second image:
I want to use CoreImage and CIFilter to do this. besides contrast and brightness. I think should adjust level like photoshop. but how can adjust that? or other method?
I have tried to adjust it in photoshop, it seems that use photoshop's level function can reach this effect, the value shows on picture below:
but I don't know how to do this use CIFilter or other methods? I don't want to import third part framework or sources. because iOS 11 Notes APP can reach this effect, I think system's methods and frameworks can do this.