Weird Artifact and CIFilter to the Rescue

Today I ran into an issue with a weird artifact on a video that has a filter.

If you notice the edges you can see weird pixels. The hypothesis is it is some kind of over exposure or white black colors. So what is the answer.


So using CIColorClamp we remove the black and white pixels and look at the result.



I hope this post and the power of combining other filters is helpful.