主权项 |
1. A method for modifying color in an image using component specific natural language color commands comprising:
identifying an input image to be modified; segmenting the input image into a plurality of image components, the image components being discrete segments of the input image; assigning each of the plurality of image components a component identity based on content of the image component using pattern recognition, object recognition, and boundaries analysis; classifying the plurality of image components into a plurality of component types; receiving a component specific natural language color command for a color modification of the input image, the component specific natural language color command including a component type identifier and a color modifier; parsing the component specific natural language color command to obtain the component type identifier and the color modifier contained in the component specific natural language color command; identifying, without user input, the one or more component types corresponding to the parsed component type identifier; identifying all of the image components classified with each of the identified component types; attributing the color modifier to a predefined color space associated with each of the identified image components, the color modifier indicating the color modification to be performed; and applying the color modification to the identified image components to adjust the color of the identified image components. |