Edge detection and stratigraphic analysis using 3D seismic data