Maintaining a constant optical flow precludes the need to calculate height and groundspeed manually.
From the newscientist.com
Maintaining a constant optical flow while descending should provide a constant height-to-groundspeed ratio, which makes a bee slowdown as it approaches the ground.