Determining colors of objects in digital images
AssigneeAdobe Inc.
InventorsZhihong Ding, Scott Cohen, Zhe Lin, Mingyang Ling
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a color classification system that accurately classifies objects in digital images based on color. In particular, in one or more embodiments, the color classification system utilizes a multidimensional color space and one or more color mappings to match objects to colors. Indeed, the color classification system can accurately and efficiently detect the color of an object utilizing one or more color similarity regions generated in the multidimensional color space.
Claims20
A method comprising:
- receiving a search query that comprises an indication of a target color and a corresponding query object;
- and
- identifying the corresponding query object in a digital image based on the indication of the target color by:
- identifying an object from a plurality of objects in the digital image, the object being formed by a plurality of pixels;
- mapping pixels of the plurality of pixels to a multidimensional color space to determine a set of color correspondences to a set of color similarity regions of the multidimensional color space, each of the color similarity regions being associated with a color and one or more alternative versions of the color;
- generating a set of color-matching scores for the object based on the set of color correspondences between the plurality of pixels and the set of color similarity regions;
- classifying the object as a first color associated with a first color similarity region based on the set of color-matching scores;
- and
- determining, based on a match between the indication of the target color and the first color, that the object is the corresponding query object.
A non-transitory computer-readable medium storing instructions that, when executed by at least one processor, cause the at least one processor to perform operations comprising:
- receiving a search query that comprises an indication of a target color and a corresponding query object;
- and
- identifying the corresponding query object in a digital image based on the indication of the target color by:
- identifying an object from a plurality of objects in the digital image, the object being formed by a plurality of pixels;
- mapping pixels of the plurality of pixels to a multidimensional color space to determine a set of color correspondences to a set of color similarity regions of the multidimensional color space, each of the color similarity regions being associated with a color and one or more alternative versions of the color;
- generating a set of color-matching scores for the object based on the set of color correspondences between the plurality of pixels and the set of color similarity regions;
- classifying the object as a first color associated with a first color similarity region based on the set of color-matching scores;
- and
- determining, based on a match between the indication of the target color and the first color, that the object is the corresponding query object.
A system comprising:
- one or more memory devices comprising a multidimensional color space for a plurality of colors comprising a plurality of color similarity regions each associated with a color label, the multidimensional color space comprising a first color similarity region associated with a first color label that groups regions of one or more alternative versions of a first color and a region of the first color within the multidimensional color space;
- and
- at least one processor configured to cause the system to:
- identify a plurality of instances of an object in a digital image;
- map pixels associated with each instance of the object to the multidimensional color space to determine correspondences to the first color similarity region;
- generate a color-matching score for each instance of the object based on the correspondences between the pixels associated with the instance of the object and the first color similarity region;
- classify a first instance of the object as the first color based on a color-matching score for the first instance of the object;
- and
- classify a second instance of the object as not being the first color based on a color-matching score for the second instance of the object.
Dependencies are inferred from the claim text.