Re: [gdal-dev] Boundary Artifact with ChunkAndWarpImage

2015-04-17 Thread Michael Aschenbeck
That did the trick! Sorry to burden the mailing list with a stupid error like this. However, I really appreciate you taking the time to help. Best, Mike On Fri, Apr 17, 2015 at 1:42 PM, Even Rouault wrote: > Le vendredi 17 avril 2015 20:00:36, Michael Aschenbeck a écrit : > > Hey guys, > > >

Re: [gdal-dev] Boundary Artifact with ChunkAndWarpImage

2015-04-17 Thread Even Rouault
Le vendredi 17 avril 2015 20:00:36, Michael Aschenbeck a écrit : > Hey guys, > > I realize this is borderline impossible to debug with what I've given you. > So I managed to reproduce it with the C++ code at the bottom of the email. > The image i used is: > https://www.dropbox.com/s/i9fxstyuf8eqe8

Re: [gdal-dev] Boundary Artifact with ChunkAndWarpImage

2015-04-17 Thread Michael Aschenbeck
Hey guys, I realize this is borderline impossible to debug with what I've given you. So I managed to reproduce it with the C++ code at the bottom of the email. The image i used is: https://www.dropbox.com/s/i9fxstyuf8eqe8t/testsingleband.tif?dl=0 Something that is a little weird is that I cropped

Re: [gdal-dev] Boundary Artifact with ChunkAndWarpImage

2015-04-16 Thread Michael Aschenbeck
Some good ideas, thanks for the suggestions. I added padfDstNoDataReal, as well as the imaginary values. I also set INIT_DEST to NODATA, although from what I read that was more of an option that affected speed. Unfortunately my output was identical to the previous run and the artifacts remain pr

Re: [gdal-dev] Boundary Artifact with ChunkAndWarpImage

2015-04-16 Thread Matt Hanson
Mike, Are you setting padfDstNoDataReal as well? Because GDAL performs the warp in chunks I'm wondering if previously written data, that should be NoData, is not recognized as such with later chunks. However, I'm still not clear on the exact details of how that works internally, Even would ha

Re: [gdal-dev] Boundary Artifact with ChunkAndWarpImage

2015-04-16 Thread Michael Aschenbeck
Thanks for your reply. I'm using gdal 1.10.1. I'm using cubic resampling, but i have noticed the dark line artifact with bilinear as well. I unfortunately do not reproduce the problem with a basic gdalwarp with cubic resampling. I have written this code to do some registration. It's hard to tel

Re: [gdal-dev] Boundary Artifact with ChunkAndWarpImage

2015-04-16 Thread Even Rouault
Le jeudi 16 avril 2015 19:01:57, Michael Aschenbeck a écrit : > Hello, > > I'm using ChunkAndWarpMulti to warp an image. The warping is working > nicely, however, at the boundary I seem to be getting some artifacts. > > The first artifact i see is a DARK boundary of pixels in some location. My

[gdal-dev] Boundary Artifact with ChunkAndWarpImage

2015-04-16 Thread Michael Aschenbeck
Hello, I'm using ChunkAndWarpMulti to warp an image. The warping is working nicely, however, at the boundary I seem to be getting some artifacts. The first artifact i see is a DARK boundary of pixels in some location. My guess is that the interpolator is interpolating with blackfill (intensity