with changes suggested by Atma
"A recent remote sensing technique to extract coastline is `Band Ratio`. In this technique the DN values of bands are divided to create a binary raster. NIR, Red and Blue bands were used for creating the binary raster. NIR band is selected as it is able to delineate water-land boundary, Red band is important for vegetation and water content and Blue band has high reflectance in water bodies. In the current study the following band ratio formula was used:\n",
"\n",
" Blue>NIR & Blue>Red\n",
- "The output of this formula is a binary raster which has 0 and 1 pixel value. 0 represents water (white pixels) and 1 represents land (black pixels) i.e. bare surface, vegetation etc."
+ "The output of this formula is a binary raster which has 0 and 1 pixel value. 1 represents water (white pixels) and 0 represents land (black pixels) i.e. bare surface, vegetation etc."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
- " For vizualisation, [stretch](https://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/stretch-function.htm#:~:text=Stretching%20improves%20the%20appearance%20of,results%20in%20the%20raster%20display.) raster function was used to stretch function the histogram. After applying stretch the pixel values were changed to 0 and 255 where 0 represents water and 255 represents land."
+ " For vizualisation, [stretch](https://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/stretch-function.htm#:~:text=Stretching%20improves%20the%20appearance%20of,results%20in%20the%20raster%20display.) raster function was used to stretch function the histogram. After applying stretch the pixel values were changed to 0 and 255 where 0 represents land and 255 represents water."
]
},
{
