mapbox / nodata

Because the pixels you can't see are harder than the ones you can.
MIT License
1 stars 3 forks source link

Use raster-tester for image comparison #32

Open dnomadb opened 8 years ago

dnomadb commented 8 years ago

Because SLIC is randomly seeded, we'll see slight variations in outputs at the pixel level. We should use raster-tester compare (https://github.com/mapbox/raster-tester) to compare, as it allows for down / upsampled comparison + comparison within a threshold.

sgillies commented 8 years ago

@dnomadb I also broke the SLIC test in two: one is a test that we don't find nodata and the other is a test that we do find lossy nodata on the edge of a noisy background.