AnsweredAssumed Answered

Cropping a lossy image edge for multiple images...

Question asked by geonetadmin on Jul 14, 2012
Latest reply on Jul 16, 2012 by geonetadmin
Original User: bmcdevitt

OK, smart ArcGIS imagery people, here is the issue I have.

I have a large number (300+) Landsat images that have already been layer stacked and pansharpened in ERDAS Imagine (saved as Imagine .img files) that I want to use as a raster catalog / raster mosaic in ArcGIS 10.1.  Problem is that they all have a black frame around the actual image.  See snapshot below: 

[ATTACH=CONFIG]16099[/ATTACH]

I can set the background to be transparent, but the problem lies in that the edge is lossy (not quite black) and when viewed they have a 'tear line' that shows up very badly in my final product.  See snapshots below:

[ATTACH=CONFIG]16100[/ATTACH]
[ATTACH=CONFIG]16101[/ATTACH]

I have been able to remove the edge by using a feature to clip about 10 pixels from the edges of each image and set the NoData so there is no lossy edge, but the feature is geolocked with the image so the feature location needs to be updated with each image.  I don't really want to do this for each image if I can help it.

Here is the question:  Is there a way to crop this edge off every image (I think the actual image area is the same shape/size for each image, despite location on earth) automatically?  I can certainly string some tools together in ModelBuilder to loop through the files, but how could I actually be able to tell Arc how much of the edge of each image to crop off?

Any ideas would be appreciated.

Regards, Bill

Attachments

Outcomes