Basic computer vision algorithms