Skip to main content
Question

Making black No Data cells transparent in ECW raster mosaic

  • March 29, 2017
  • 6 replies
  • 276 views

Forum|alt.badge.img

I am creating an ECW raster mosaic from around 500 JPGs using the RasterMosaicker transformer, in FME 2015.1. The attached snapshot shows a test piece of the resulting mosaic, but ideally I would like the areas with no data to be transparent, not black. Is this possible? I have read some threads on a similar theme but I find the answers where bands are discussed difficult to understand as I don't have enough knowledge in this area. Is there a simple solution? Probably not! Many thanks.

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.

6 replies

zzupljanin
Contributor
Forum|alt.badge.img+4
  • Contributor
  • 120 replies
  • March 29, 2017

Have you tried RasterInterpretationCoercer. Convert from RGB to RGBA and select to 'create alphaband from no data'. If black pixels aren't defined as nodata use RasterBandNodataSetter before RICoercer.

Cheers,

Želimir


Forum|alt.badge.img
  • Author
  • 5 replies
  • March 29, 2017

OK many thanks, @zzupljanin - I'll try and experiment with this.


helmoet
Forum|alt.badge.img+8
  • 195 replies
  • March 29, 2017

rastertransparancy.fmw I experimented with this, see attachment. Might also be a good tip to add transparance before mosaicking to avoid black backgrounds, see

https://knowledge.safe.com/articles/18764/setting-alpha-vs-nodata-color-and-numeric-data.html

Hope this inspires you @masoj1.


Forum|alt.badge.img
  • Author
  • 5 replies
  • March 29, 2017

rastertransparancy.fmw I experimented with this, see attachment. Might also be a good tip to add transparance before mosaicking to avoid black backgrounds, see

https://knowledge.safe.com/articles/18764/setting-alpha-vs-nodata-color-and-numeric-data.html

Hope this inspires you @masoj1.

 

Wow thanks, @helmoet , I'll try this too as soon as I can.

kampinga_c
Participant
Forum|alt.badge.img+2
  • Participant
  • 1 reply
  • June 26, 2019

rastertransparancy.fmw I experimented with this, see attachment. Might also be a good tip to add transparance before mosaicking to avoid black backgrounds, see

https://knowledge.safe.com/articles/18764/setting-alpha-vs-nodata-color-and-numeric-data.html

Hope this inspires you @masoj1.

@helmoet, is there a way, i can get the attachment 'rastertransparancy.fmw'? The attechment in your reply doesn't work anymore.


helmoet
Forum|alt.badge.img+8
  • 195 replies
  • June 28, 2019

rastertransparancy.fmw I experimented with this, see attachment. Might also be a good tip to add transparance before mosaicking to avoid black backgrounds, see

https://knowledge.safe.com/articles/18764/setting-alpha-vs-nodata-color-and-numeric-data.html

Hope this inspires you @masoj1.

@kampinga_c here it is again, though it is a bit of an oldy...rastertransparancy.fmw