Skip to main content
Solved

RasterMosaicker gaps


mr_fme
Enthusiast
Forum|alt.badge.img+9

Hi,

I have a dataset with 8 images. Look below at the images together:

 

After using the Raster Mosaicker, the output is 1 image like this:

 

What could I have done wrong in the transformer, or what else is necessary?

Thanks.

Best answer by crystalatsafe

Hi @mr_fme 

You could try changing the Data Values parameters, particularly the Overlapping Values parameter. By default the last value in will win, so if a raster with empty space comes in after a raster that has meaningful values in that area, the empty space will overwrite the meaningful values since they arrived later. Changing the data value parameters may help with this, here are a few things you could try:

  • If your data has an alpha band, setting Overlapping Values to Composite Using Alpha Band will likely have the best result.
  • If your data has nodata values, ensure that Nodata Overwrites Data is No. You may also need to set the no data value before the RasterMosaicker. 
  • If your data has neither alpha nor nodata, you could try setting Overlapping Values to Minimum, since white would be (255, 255, 255), so any real value would be less than that.

Please let me know how this goes and if you have any questions.

Crystal 

View original
Did this help you find an answer to your question?

2 replies

crystalatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • October 16, 2024

Hi @mr_fme 

You could try changing the Data Values parameters, particularly the Overlapping Values parameter. By default the last value in will win, so if a raster with empty space comes in after a raster that has meaningful values in that area, the empty space will overwrite the meaningful values since they arrived later. Changing the data value parameters may help with this, here are a few things you could try:

  • If your data has an alpha band, setting Overlapping Values to Composite Using Alpha Band will likely have the best result.
  • If your data has nodata values, ensure that Nodata Overwrites Data is No. You may also need to set the no data value before the RasterMosaicker. 
  • If your data has neither alpha nor nodata, you could try setting Overlapping Values to Minimum, since white would be (255, 255, 255), so any real value would be less than that.

Please let me know how this goes and if you have any questions.

Crystal 


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • October 17, 2024

Thank´s


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings