Heatmap calculation for image annotations