When an accepting section 102 accepts an order to acquire image data, an image data acquirer 104 acquires image data from a memory section 130 and compresses it in the JPEG format. An orientation identifier 122 identifies orientation information of an image processing device 10 by using a detection value of an acceleration sensor. A direction identifier 124 identifies the azimuthal angle of a lens optical axis by using a detection value of a geomagnetic sensor and orientation information identified by the orientation identifier 122. If it is determined by the orientation identifier 122 that the image processing device 10 is in a horizontal orientation, the direction identifier 124 identifies the azimuthal angle of the lens optical axis from a predetermined direction in the image processing device 10 and the detection value of the geomagnetic sensor without using the lens optical axis direction.
Legal claims defining the scope of protection, as filed with the USPTO.
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.
2. The image processing device according to claim 1 , wherein the direction identifier identifies an azimuthal angle of lens optical axis direction as the direction of the image processing device.
3. The image processing device according to claim 1 , wherein, if the detected angle z is greater than zero, the direction identifier identifies the horizontal orientation as a face up orientation, and if the detected angle z is less than or equal to zero, the direction identifier identifies the horizontal orientation as a face down orientation.
4. The image processing device according to claim 1 , wherein the direction identifier further identifies a third detected angle x different than the first detected angle z and the second detected angle y, if the second detected angle y is greater than the third predetermined angle D, the third detected angle x is less than or equal to a fourth predetermined angle C, and the third detected angle x is greater than zero, the direction identifier the direction identifier identifies the inclined orientation as a right down orientation, and if the second detected angle y is greater than the third predetermined angle D, the third detected angle x is less than or equal to the fourth predetermined angle C, and the third detected angle x is less than or equal to zero, the direction identifier identifies the inclined orientation as a left down orientation.
5. A non-transitory computer readable medium having stored thereon a program for causing a computer incorporated in a chassis to execute: a function to accept an acquisition order of image data; a function to acquire image data if the acquisition order is accepted; a function to identify an orientation of the chassis by using a detection value of an acceleration sensor; a function to identify a direction of the chassis by using a detection value of a geomagnetic sensor and identified orientation information; and a function to generate an image file in which identified direction information is associated with the image data, wherein the function to identify an orientation of the chassis determines whether the chassis is in a horizontal orientation or an inclined orientation, wherein the chassis is in a horizontal orientation when a detected angle z is less than or equal to a first predetermined angle B and the chassis 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 chassis is in the inclined orientation, the function to identify the direction of the chassis identifies the direction of the chassis based on the detection value of the geomagnetic sensor and lens optical axis direction, and wherein if the chassis is in the horizontal orientation, the function to identify the direction of the chassis identifies the direction of the chassis based on the detection value of the geomagnetic sensor and a predetermined direction perpendicular to the lens optical axis direction, wherein, in the horizontal orientation, the lens optical axis is substantially parallel to a normal line extending from a floor, and 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 of the chassis is set using the previous orientation, and if the previous orientation was not the horizontal orientation, the direction of the chassis is set as the inclined orientation, wherein the function to identify the direction of the chassis further identifies a second detected angle 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 function to identify the direction of the chassis 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 function to identify the direction of the chassis identifies the inclined orientation as a landscape orientation.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
April 5, 2012
June 7, 2016
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.