Similar Items: Adaptive sampling and reconstruction for gradient-domain rendering