Suppose we extract pixels with a specific value from a grayscale image and then highlight these pixels by using a scatter plot on the same image.
import numpy as