Patent ID: 8212786

Claim:
An image-selecting device comprising: a storing unit that stores a plurality of pieces of image data; a displaying unit that displays a plurality of images based on the plurality of pieces of image data and has a plurality of display regions for each of the plurality of images; a detecting unit that detects each of the plurality of display regions receiving direct input by an indicator; a reading unit that reads the plurality of pieces of image data from the storing unit; a display controlling unit that controls the displaying unit to display the plurality of images; an image data identifying unit that identifies at least two pieces of image data for the images displayed in the display regions detected by the detecting unit; an image data selecting unit that selects or deselects the at least two pieces of image data identified by the image data identifying unit; a selection data storing unit that stores selection data for each of the plurality of pieces of image data read by the reading unit, the selection data indicating whether each of the plurality of pieces of image data is in a selected state or a deselected state by the image data selecting unit; and a determining unit that determines whether first image data firstly identified by the image data identifying unit among the at least two pieces of image data is in the selected state or the deselected state based on the selection data, wherein the selected state or the deselected state of the at least two pieces of image data is set based only on the first image data, such that the image data selecting unit sets the at least two image data to the selected state when the determining unit determines that the first image data is in the deselected state, and sets the at least two image data to the deselected state when the determining unit determines that the first image data is in the selected state.