An image-based effective-medium modeling of near-surface anomalies