title: How to apply filter to image in Swift?
body: <p>Today I've searched a lot about it, found something but I'm still confusing.</p>
  
  <p>For example, I have the next filter:</p>
  
  <p><a href="https://i.stack.imgur.com/DYQ4u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DYQ4u.png" alt="enter image description here"></a></p>
  
  <p>The result need to be:</p>
  
  <p><a href="https://i.stack.imgur.com/C3cKF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C3cKF.png" alt="enter image description here"></a></p>
  
  <p>How can I apply it to my image?</p>
  
  <p>I know how to apply such type of effects as: <code>PhotoEffectNoir</code>, or <code>CIPhotoEffectChrome</code>, but how can I apply this matrix(or I do not know how to call it) to my UIImage?</p>
  
  <p>Can anyone help me with a little example?</p>