Geometric computation for machine vision