# how to remove the color formed on the edge of satellite image?

my AOI requires two scene of satellite image but when I try to mosaic the images using ERDAS imagine, the color of the edge is seen forming black line after mosaic! so please how can I remove the image edge color?

-

My approach would be to draw a border shape around your AOI, save it to a shapefile and the use GDAL's crop_to_cutline command to crop the image to those borders. After performing this operation on both of your sat. images, you should be fine to mosaic them!

Hope it helped!

-
Was this method useful for you? Please let me know! –  Tamas Sep 18 '12 at 6:58

Do you mean the outside edge of the combined image, or along the join?

Perhaps the Near Black tool in QGIS would help. Raster->Analysis->Near black.

Or if the colour is not present anywhere else, you can Reclassify that pixel type to NoData or whatever class you want.

-
The near black tool is really a GDAL tool, called "nearblack": See gdal.org/nearblack.html –  markusN Aug 18 '12 at 21:21