An image processing apparatus is connected to and accesses a database that
stores items of characteristic quantity information to be used for
recognizing, in image data, respective objects and items of color
information of the respective objects, the characteristic quantity
information and the color information are correlated with each other for
the respective objects. A controller performs image recognition
processing on image data using the items of characteristic quantity
information stored in the database, and acquires color information of an
object that has been recognized in the image data by the image
recognition processing. The controller searches the database to retrieve
the color information indicating a color of the object recognized by the
image recognition processing, and identifies a color space of the image
data by comparing the acquired color information with the retrieved color
information.