主权项 |
1. A computer-implemented method, comprising:
receiving an input image; using a computer, partitioning the input image into a plurality of image regions based on color, wherein the partitioning comprises:
assigning a color difference value to each location of a plurality of locations within the input image, wherein a particular color difference value assigned to a particular location is determined based in part on the input image and indicates how different a color of the particular location is from colors of other locations neighboring the particular location;assigning each location of the plurality of locations to an image region of the plurality of image regions, wherein the assigning occurs according to a particular order, wherein the particular order is based at least in part on color difference values associated with the plurality of locations;selecting an image region for assignment to a particular location based in part on the color of the particular location, wherein the color of the particular location is determined based at least in part on the input image; using information determined based on the partitioning to determine information about an item in the input image; wherein the method is performed using one or more computing devices. |