Text this: A Geometric Approach to Estimate Background in Astronomical Images