Creating a custom color filter

Would you like to create a more sophisticated filter and apply it to your images? We will put everything we have learned so far together to create a color-splash filter effect. The color-splash filter effect is achieved by using a spot or area representing the colors that are going to be retained. This is represented in the following image:

Let's start by loading an image. This time, we will use a Busan night scene from the sample-images folder. This provides us with a wide range of colors, and the splash effect will be prominent. We will load the image as follows:

using Images, ImageView# load an image and ...

Get Hands-On Computer Vision with Julia now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.