Electronic device that acquires image data of a circular fish-eye image, acquires metadata of the image, and displays an image based on the image data
An electronic device acquires image data of a circular fish-eye image, acquires metadata of the image, and performs control to display an image based on the image data. Design information a position in the circular fish-eye image corresponding to an optical axis of a lens, a radius of the circular fish-eye image, an angle of view of the circular fish-eye image, and an angle of view of a target region of equirectangular conversion in the circular fish-eye image is stored in advance in a storage for one for more lenses. On a basis of the identification information, in one or more design information stored in the storage, design information corresponding to the lens used for photographing the acquired circular fish-eye image is read out from the storage, and, on a basis of the read-out design information, the control is performed such that the target region is identifiably displayed.
1 . An electronic device comprising:
a processor; and
a memory storing a program which, when executed by the processor, causes the electronic device:
to acquire image data of a circular fish-eye image;
to acquire metadata of the circular fish-eye image; and
to perform control to display an image based on the image data,
wherein design information including at least one of a position in the circular fish-eye image corresponding to an optical axis of a lens, a radius of the circular fish-eye image, an angle of view of the circular fish-eye image, and an angle of view of a target region of equirectangular conversion in the circular fish-eye image is stored in advance in a storage for one for more lenses,
the metadata is identification information of a lens used for photographing the acquired circular fish-eye image,
on a basis of the identification information, in one or more design information stored in the storage, design information corresponding to the lens used for photographing the acquired circular fish-eye image is read out from the storage, and,
on a basis of the read-out design information, the control is performed such that the target region is identifiably displayed.
2 . The electronic device according to claim 1 , wherein the control is performed such that the circular fish-eye image is displayed in a state in which a region on an outer side of the target region is painted in a predetermined color.
3 . The electronic device according to claim 1 , wherein the control is performed such that the circular fish-eye image is displayed in a state in which a profile line of the target region is highlighted.
4 . The electronic device according to claim 1 , wherein the metadata includes at least one of a position in the circular fish-eye image corresponding to an optical axis of a lens used for photographing the circular fish-eye image, a radius of the circular fish-eye image, an angle of view of the circular fish-eye image, and an angle of view of the target region.
5 . The electronic device according to claim 4 , wherein the metadata is design information.
6 . The electronic device according to claim 4 , wherein the metadata is individual information.
7 . The electronic device according to claim 1 , wherein the control is performed such that a circumscribed rectangular region of the target region is displayed in a state in which the target region is identifiable.
8 . The electronic device according to claim 7 , wherein the control is performed such that a plurality of circumscribed rectangular regions of a plurality of target regions corresponding to a plurality of circular fish-eye images are displayed in a state in which the plurality of target regions is identifiable and the plurality of circumscribed rectangular regions are aligned without a gap.
9 . The electronic device according to claim 1 , wherein, in accordance with an instruction from a user, whether or not the target region is identifiably displayed is switched.
10 . The electronic device according to claim 1 , wherein image data of an image including a plurality of regions of a plurality of circular fish-eye images is acquired, and
the control is performed such that a plurality of target regions of the plurality of circular fish-eye images are identifiably displayed.
11 . A control method of an electronic device, the method comprising:
acquiring image data of a circular fish-eye image;
acquiring metadata of the circular fish-eye image; and
performing control to display an image based on the image data,
wherein design information including at least one of a position in the circular fish-eye image corresponding to an optical axis of a lens, a radius of the circular fish-eye image, an angle of view of the circular fish-eye image, and an angle of view of a target region of equirectangular conversion in the circular fish-eye image is stored in advance in a storage for one or more lenses,
the metadata is identification information of a lens used for photographing the acquired circular fish-eye image,
on a basis of the identification information, in one or more design information stored in the storage, design information corresponding to the lens used for photographing the acquired circular fish-eye image is read out from the storage, and,
on a basis of the read-out design information, the control is performed such that the target region is identifiably displayed.
12 . A non-transitory computer readable medium that stores a program, wherein the program causes a computer to execute a control method of an electronic device, the control method comprising:
acquiring image data of a circular fish-eye image;
acquiring metadata of the circular fish-eye image; and
performing control to display an image based on the image data,
wherein design information including at least one of a position in the circular fish-eye image corresponding to an optical axis of a lens, a radius of the circular fish-eye image, an angle of view of the circular fish-eye image, and an angle of view of a target region of equirectangular conversion in the circular fish-eye image is stored in advance in a storage for one or more lenses,
the metadata is identification information of a lens used for photographing the acquired circular fish-eye image,
on a basis of the identification information, in one or more design information stored in the storage, design information corresponding to the lens used for photographing the acquired circular fish-eye image is read out from the storage, and
on a basis of the read-out design information, the control is performed such that the target region is identifiably displayed.