Skip to main content
Question

Finding No Data in ECW File

  • 4 December 2012
  • 3 replies
  • 14 views

Hi,

 

 

I have been provided an update of aerial photography in ECW format, I know that some of these files contain areas of black, i.e. there is no new photograph for this area.   I was wondering if there is a way FME can look at each file and tell me is there it contains and area of No Data without me looking at each file individually?

 

 

Thanks

 

 

Adrain
Is the complete file black or can it be on the surrounding area so that only a part of the image is almost black? You can average all the pixels and if it is above 240, for all pixels and channels you can flag it as empty
It could be any part of the image although it tends to be around the edges.
Then you can read all the pixels on the "frame" of the image and decide, if you have more than x numbers of almost black pixels chained together - you select this as a NoData- ECW.

Reply