Patent ID: 9363466
Filing Date: 2016-06-07
CPC Classification: H04N

Claim Text:
1. An image processing device that generates an image file, comprising: an accepting section that accepts an acquisition order of image data; an acquirer that acquires image data if the accepting section receives the acquisition order; an orientation identifier that identifies an orientation of the image processing device by using a detection value of an acceleration sensor; a direction identifier that identifies direction of the image processing device by using a detection value of a geomagnetic sensor and orientation information identified by the orientation identifier; and a file generator that generates an image file in which direction information identified by the direction identifier is associated with the image data, wherein the orientation identifier determines whether the image processing device is in a horizontal orientation or an inclined orientation, wherein the image processing device is in a horizontal orientation when a detected angle z is less than or equal to a first predetermined angle B and the image processing device is in an inclined orientation when angle z is greater than or equal to a second predetermined angle E, the second predetermined angle E being greater than the first predetermined angle B, and, if the image processing device is in the inclined orientation, the direction identifier identifies the direction of the image processing device based on the detection value of the geomagnetic sensor and lens optical axis direction, wherein if the image processing device is in the horizontal orientation, the direction identifier identifies the direction of the image processing device based on the detection value of the geomagnetic sensor and a predetermined direction perpendicular to the lens optical axis direction in the image processing device, and wherein, in the horizontal orientation, the image processing device is in a face up or a face down orientation, wherein, if the first predetermined angle B is less than the detected angle z, if the detected angle z is less than the second predetermined angle E, and a previous orientation was the horizontal orientation, the direction identifier identifies the direction of the image processing device by using the previous orientation, and if the previous orientation was not the horizontal orientation, the direction identifier identifies the direction of the image processing device as the inclined orientation, wherein the direction identifier further identifies a second detected angle y different than the first detected angle z, if the second detected angle y is less than or equal to a third predetermined angle D and the second detected angle y is greater than zero, the direction identifier identifies the inclined orientation as an upside down orientation, and if the second detected angle y is less than or equal to the third predetermined angle D and the second detected angle y is less than or equal to zero, the direction identifier identifies the inclined orientation as a landscape orientation.