Collaborating in geospatial context since 2000!

Monday, January 26, 2009

How to remove NO DATA pixels from your map series

A very common issue in working with orthophotography and satellite imagery is that once the final image product has been created, there is often a fair amount of collar data (NO DATA) pixels in the image. This is caused by the inherent rotation that is applied to the image when resampling each pixel in the orthorecification process. Anyway, there is no easy way to completely delete these pixels from your imagery but there are work arounds when playing in the PDF space. Please observe the NO DATA pixels in the image below.

If there is no method of blending or cut line editing that takes place as part of a preprocessing step, these pesky pixels appear to overlap the areas with good "image" pixels when mosaicking adjacent tiles together. Observe the map that was stitched together using TerraGo's Map Assembler.

To fix this, we have to modify the neatline for each GeoPDF which will force the map canvas to cover only the image extent so that Map Assembler can stitch it together properly. Please see the before and after snap shots of the edited neatline.




After editing the neatline, you can clearly see that the NO DATA values in the graphic on the left are now removed in the graphic on the right (highlited in yellow). I edited all four images in this series to get a seamless output county mosaic. This quick and dirty edit created a single 30 megabyte GeoPDF that covered approximately 735 square miles. 

Enjoy...

Labels: ,