locationtech / geotrellis

GeoTrellis is a geographic data processing engine for high performance applications.
http://geotrellis.io
Other
1.34k stars 361 forks source link

Major artifact when upsampling with Average #3555

Open jdries opened 2 weeks ago

jdries commented 2 weeks ago

Describe the bug

The following result was obtained when upsampling a COG to higher resolution, using 'Average'. I'm aware that doing upsampling with this kind of method may not really make sense, maybe the artifacts are even the expected outcome somehow.

image

To Reproduce

I don't have a small sample yet, but the more extensive test does this:

Expected behavior

Not

pomadchin commented 2 weeks ago

Ugh sadly we need a reproducible example + the exact code used.