Question

Dull pixel strips while using RasterResampler


Badge

I've been using a basic FME workbench to resample 8000*8000 RGB 12.5cm tifs to 4000*4000 RGB 25cm tifs and have recently come across a problem in some of my re sampled images.

As you can see in the image there is a strip of black looking pixels, after further investigation I found that they were not black pixels but just very low value pixels, i.e with RGB values of 10/11/12 and the strips were always at the edge of images.

I was wondering if anyone else had come across this while using RasterResampler ? if it's something that can be avoid and is potentially an error on my behalf. Part of me thinks it may be something to do with how FME is re sampling the pixels from 4 to 2 and in some areas is struggling to get the correct pixel value. Please see a clip of my workbench below and don't hesitate to ask if you require anymore information.


2 replies

Badge +22

Based on your description you appear to be getting edge effects from the bicubic sampling. Do you have a padding of NoData surrounding your tiles?

What happens if you use a nearest neighbour or bilinear resample?

If you need to use bicubic, you can mosaic all your tiles together, resample and then retile your data.

Badge

Based on your description you appear to be getting edge effects from the bicubic sampling. Do you have a padding of NoData surrounding your tiles?

What happens if you use a nearest neighbour or bilinear resample?

If you need to use bicubic, you can mosaic all your tiles together, resample and then retile your data.

 

Some of the tifs that were re sampled have a padding of Nodata, however the tifs with the strips of dull pixels are all RGB and have no padding.

 

 

Bicuibic is needed due to the images being used for various things after my part is played. I will try your two suggestions and see what the outcome is.

Reply