Edge Based Segmentation In Image Processing