Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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.

share|improve this answer
The near black tool is really a GDAL tool, called "nearblack": See – markusN Aug 18 '12 at 21:21

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!

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.