A Generalization of CLAP from 3D Localization to Image Processing, A Connection With RANSAC & Hough Transforms