A method and apparatus for automatically categorizing images in a digital
camera is provided. In one aspect, a digital camera includes a processor
that converts raw image data into processed image data at the time of
image capture, an analysis module coupled to the processor that analyzes
the raw image data at the time of image capture and identifies one or
more categories to which each of the images may relate, and category tags
that are attached to and stored in each of the images corresponding to
the categories. By attaching and storing the category tags with each of
the images, the processor can automatically sort the images by their
respective categories.