Closed dnomadb closed 8 years ago
@yhahn an update on where I am at:
Right now, I have it set up so that you can specify the (blobbed|filled|smergled)
bands. Check out the results (purposefully did a 10px blob
on bands 1, 2, and 3):
When we run this through pxm-composite
(w/o ze old seamfilling), we get this:
It's not just the alpha band that is masking this - the data from r, g, and b
themselves are 0 now:
If we blob all bands then composite, we see two things:
One is that darker edge artifacts still exist - they've just been moved. The second is that there are weird extrapolation artifacts where we've essentially filled too much.
This big question that are coming up for me in pre-blobbing jpegification is: how do we make sure blobbed pixels don't go "over" good pixels? Also, how are we going to preserve the blobbed data values (under masked areas) with the existing compositing method?
Basically - do we also have to make a custom compositor that will handle this? Or am i misunderstanding the sketch you can in your mind?
^ This is all good!
Purpose:
The main idea of this repo is to capture the tools we need to work w/ nodata:
alpha
band that contains transparency information.What has happened so far:
seamfilling
as-is frompxm
, and implemented tests. The tests aren't complete, but we are effectively testing the same case as pxm was. PR here: https://github.com/mapbox/nodata/pull/1raster-tester
module that will contain our various testing tools. These will be crucial for testing in this repo.What needs to happen:
rgb
bands into nodata / masked areas, and save as lossy), we'll need to add options for:rio-mucho
, we'll be able to speed this up a good deal.I've experimented with blobbing out and compositing over "actual" data, and the results look promising - there are only tiny artifacts in extrapolated areas:
I'll pick this back up when I am back, but until then, would love for anyone to start poking at this.
cc @mapbox/satellite @isiyu @yhahn