In the following activities, we will be comparing an original image of a cat to a slightly modified and watermarked version of it.
Let's start by loading the image and converting it to a grayscale version, using the following code:
using Images, ImageFeatures, ImageDraw, ImageViewimg1 = Gray.(load("sample-images/cat-3417184_640.jpg"))img2 = Gray.(load("sample-images/cat-3417184_640_watermarked.jpg"))imshow(restrict(hcat(img1, img2)))
We are also previewing the image to get an understanding of what we will be working with, as you can see from this image:
Next, we will use the fastcorners function to retrieve the ...