6

enter image description here

I have received many unclipped Colour Infrared Aerial photos (around 1000) which have been georeferenced but still have the black thick borders including flight information etc. The images are of course not perfectly aligned and their borders are also unfortunately not perfectly square. (See attatchment)

Does anyone know of a method to somehow automate or simplify the process of cutting the borders out?

3
  • 1
    What software are you going to use it ?
    – PROBERT
    Nov 18, 2015 at 16:10
  • Software includes Safe FME, ArcGIS Advanced and SAGA GIS and GDAL. Nov 18, 2015 at 16:12
  • What process do you use to remove the border from a single image? That would always be my starting point when trying to automate a process.
    – PolyGeo
    Nov 19, 2015 at 2:54

1 Answer 1

2

The quick and dirty method consists in applying a threshold on your image for bright/dark detection, converting the binary output to polygon and using the convex hull or the extent rectangle of the largest polygon to mask (with convex hull) or clip (with extent rectangle) your photo. You don't need to worry about water bodies/shadows because they will be inside your largest polygon.

Alternatively, you can use template matching/feature detection algorithm to automatically detect the fiducial marks, then build your polygon based on these four points and buffer it depending on the image portion that you want to keep (borders are usually of poorer quality and redundant). Those are white circles with a cross, so even simple a correlation filter would find them, and you can look only "near" the corners to speed up the process (the only possible confusion are the digits of the photo number).

1
  • "Alternatively, you can use template matching/feature detection algorithm to automatically detect the fiducial marks" - that sounds like the best method - would you be able to expand on how to initiate such a process? Nov 19, 2015 at 14:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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