N = ∫ρ · one unit of mass per digit
drag to rotate · scroll to zoom
Each digit puts one unit of mass on the pixel grid, so the sum is N at every resolution; what a coarse grid loses is the separation of nearby peaks. On 16² try N ≥ 15.
Objects N
digits
Samples M
128² grid
Kernel σ
px
Estimate N̂
→ 8