Data structures that store efficiently detected features of an image
A simple solution would be a 2D array containing a 1 in the locations that are detected as an edge, or a sparse 2D matrix.  A more sophisticated solution would be a quadtree.