Edge is a portion of data that represents the layout of objects within the image. Can be used to identify the size of the objects in the image or identifying objects within the image. The image of BPH change of levels of grey intensity low to high intensity level of gray and the adjacent pixels have very different values to extract the BPH from the background. After that, continue to fill the inner edges of the image will have the shape of BPH.