1. A processor-implemented method for processing image data, the method comprising the following acts implemented by a processor: segmenting input image data to generate: (i) a background layer representing background attributes of the input image data; (ii) a selector layer for identifying one or more foreground attributes of the input image data not included in the background layer; and (iii) one or more foreground layers representing the foreground attributes of the input image data; detecting a background color value of the background layer; generating background metadata representing the detected background color value, and associating the background metadata with the segmented image data, such that the associated background metadata is in a searchable format.