Magnetics-Inspired Virtual Current Methods in Image Processing