Skip to main content
Question

Finding No Data in ECW File

  • December 4, 2012
  • 3 replies
  • 24 views

adrian
Contributor
Forum|alt.badge.img+1

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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • December 4, 2012
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

adrian
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • December 5, 2012
It could be any part of the image although it tends to be around the edges.

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • December 6, 2012
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.