I have this data where NDBI has been done. But the water a part of the river from the month of March is not black in colour. If yes, how can we recode a particular area?
You can recode a particular pixel in various ways using different software packages. In QGIS, SPC paging will provide you editing environment you can edit using ROI. In Arc GIS Pro, Pixel editor able to make more customized editing. You can also edit pixel value in Esdras imagine, but you have to make a classified raster this time.