RRAM Crossbar-based In-Memory Computation of Anisotropic Filters for Image Preprocessing