Patent 9875430 was granted and assigned to Descartes Labs on January, 2018 by the United States Patent and Trademark Office.
A first image is received. An initial label is assigned to at least some pixels in the first image, including by assigning a first label to a first pixel. A determination is made, based at least in part on labels of spectral neighbors of the first pixel, that the first pixel's label should be replaced with a different label. The first pixel's label is updated with the different label.