"Ground truth" means a set of measurements that is known to be much more accurate than measurements from the system you are testing.
For example, suppose you are testing a stereo vision system to see how well it can estimate 3D positions. The "ground truth" might be the positions given by a laser rangefinder which is known to be much more accurate than the camera system.
Sometimes synthetic data are generated from a model, to test a system whose goal is to estimate parameters of the model. In such cases the "ground truth" is the known parameters of the model. Again stereo vision provides a good example: computer graphics can generate synthetic images from a 3D model, and then a stereo vision system can try to reconstruct the model. The original model is the "ground truth".
In the case of edge detection, it's much less clear what "ground truth" means, and in fact I don't think it's well defined, as edge detec