Therefore, water extraction algorithm is developed in order to extract water surfaces accurately with shadows elimination. The detection is based on spectral information such as water indices (WIs), and morphological operations. Water indices are used to discriminate water surfaces from lands based on combining two or more water indices such as Normalized Difference Water Index (NDWI), Modified Normalized Difference Water Index (MNDWI), and Normalized Saturation-value Difference Index (NSVDI), used at an optimum threshold. The morphological operators will be performed using opening by reconstruction to discriminate between water and shadows at an optimum threshold. Both Water Indices and morphological operation results will be infused together in one image that result a binary image of water objects.
The algorithm and final results are compared with ground truth image for accuracy assessment, the results were satisfactory with an accuracy of 95% and higher and very minimum negligible shadows appeared. Moreover the resultant image transformed into vector features in order to create a shape file that can be used and viewed in google earth and Geo software.