Display method, image generation device, and non-transitory computer-readable storage medium storing program
A display method includes acquiring a rectangular first image and, when a half value of a first size indicating a size on a first axis of a rectangular display region where an image is displayed by one or more display devices is equal to or smaller than a second size indicating a size on the first axis of the first image, the one or more display devices displaying, in the display region, a first display image including the first image arranged in a first position, where a first side orthogonal to the first axis and located on one side of the first axis among four sides of the display region and a third side orthogonal to the first axis and located on the one side among four sides of the first image are in contact.
1 . A display method comprising:
acquiring a rectangular first image;
determining whether a half value of a first size indicating a size on a first axis of a rectangular display region where an image is displayed by one or more display devices is equal to or smaller than a second size indicating a size on the first axis of the first image; and
based on a result of the determining, when the half value of the first size is equal to or smaller than the second size, the one or more display devices displaying, in the display region, a first display image including the first image arranged in a first position, where a first side orthogonal to the first axis and located on one side of the first axis among four sides of the display region and a third side orthogonal to the first axis and located on the one side among four sides of the first image are in contact, or a second position where a second side opposed to the first side among the four sides of the display region and a fourth side opposed to the third side among the four sides of the first image are in contact, wherein the first size is larger than the second size.
2 . The display method according to claim 1 , further comprising, when the half value of the first size is larger than the second size, the one or more display devices displaying, in the display region, a second display image including the first image arranged in a third position where the fourth side of the first image passes a center point of the display region or a fourth position where the third side of the first image passes the center point.
3 . The display method according to claim 2 , wherein
the acquiring the first image includes generating the first image by enlarging or reducing the second image such that a third size indicating a size of a rectangular second image on a second axis orthogonal to the first axis coincides with a fourth size indicating a size on the second axis of the display region, and
an aspect ratio of the first image coincides with an aspect ratio of the second image.
4 . The display method according to claim 3 , wherein the one or more display devices displaying the first display image in the display region includes, when Ttw/2≤Tth×(Ccw/Cch) is satisfied, where Ttw represents the first size, Tth represents the fourth size, Ccw represents the size on the first axis of the second image, and Cch represents the third size, displaying the first display image including the first image arranged in the first position or the second position.
5 . The display method according to claim 3 , wherein the one or more display devices displaying the second display image in the display region includes, when Ttw/2>Tth×(Ccw/Cch) is satisfied, where Ttw represents the first size, Tth represents the fourth size, Ccw represents the size on the first axis of the second image, and Cch represents the third size, displaying the second display image including the first image arranged in the third position or the fourth position.
6 . The display method according to claim 1 , wherein the one or more display devices displaying the first display image in the display region includes:
in a case of a first mode, displaying the first display image including the first image arranged in the first position; and
in a case of a second mode, displaying the first display image including the first image arranged in the second position.
7 . The display method according to claim 1 , wherein
the rectangular display region is a largest rectangular region that fits within an inner side of a projection region, the projection region being displayed by the one or more display devices.
8 . The display method according to claim 7 , further comprising,
capturing a captured image that includes at least a portion of the projection region, and
acquiring the largest rectangular region based on the captured image.
9 . The display method according to claim 1 , further comprising,
acquiring the first size, and
capturing a captured image that includes at least a portion of a projection region, the projection region being displayed by the one or more display devices,
wherein acquiring the first size includes acquiring the first size based on the captured image.
10 . The display method according to claim 1 , further comprising:
after the determining, calculating output information, based on the first size and the second size, for generating an image to be displayed in a superimposed manner by a plurality of display devices, wherein the output information includes at least one of:
coordinates of four vertices of the first display image in the display region,
coordinates of four vertices of a first region in the display region in which the first display image is not displayed,
a number of one or more first regions,
a size of the one or more first regions on the first axis, and
a size of the one or more first regions on a second axis orthogonal to the first axis.
11 . An image generation device comprising a processing device configured to execute:
acquiring a rectangular first image;
determining whether a half value of a first size indicating a size on a first axis of a rectangular display region where an image is displayed by one or more display devices is equal to or smaller than a second size indicating a size on the first axis of the first image; and
based on a result of the determining, when the half value of the first size is equal to or smaller than the second size, generating a first display image including the first image arranged in a first position, where a first side orthogonal to the first axis and located on one side of the first axis among four sides of the display region and a third side orthogonal to the first axis and located on the one side among four sides of the first image are in contact, or a second position where a second side opposed to the first side among the four sides of the display region and a fourth side opposed to the third side among the four sides of the first image are in contact, wherein the first size is larger than the second size.
12 . The image generation device of claim 11 , wherein
the rectangular display region is a largest rectangular region that fits within an inner side of a projection region, the projection region being displayed by the one or more display devices.
13 . The image generation device of claim 12 , the processing device further configured to execute:
capturing a captured image that includes at least a portion of the projection region, and
acquiring the largest rectangular region based on the captured image.
14 . The image generation device of claim 11 , the processing device further configured to execute:
acquiring the first size, and
capturing a captured image that includes at least a portion of a projection region, the projection region being displayed by the one or more display devices,
wherein acquiring the first size includes acquiring the first size based on the captured image.
15 . The image generation device of claim 11 , the processing device further configured to execute:
when the half value of the first size is larger than the second size, generating a second display image including the first image arranged in a third position where the fourth side of the first image passes a center point of the display region, or a fourth position where the third side of the first image passes the center point.
16 . The image generation device of claim 11 , the processing device further configured to execute:
after the determining, calculating output information, based on the first size and the second size, for generating an image to be displayed in a superimposed manner by a plurality of display devices, wherein the output information includes at least one of:
coordinates of four vertices of the first display image in the display region,
coordinates of four vertices of a first region in the display region in which the first display image is not displayed,
a number of one or more first regions,
a size of the one or more first regions on the first axis, and
a size of the one or more first regions on a second axis orthogonal to the first axis.
17 . A non-transitory computer-readable storage medium storing a program executable by a computer, the program causing the computer to execute:
acquiring a rectangular first image;
determining whether a half value of a first size indicating a size on a first axis of a rectangular display region where an image is displayed by one or more display devices is equal to or smaller than a second size indicating a size on the first axis of the first image; and
based on a result of the determining, when the half value of the first size is equal to or smaller than the second size, the one or more display devices displaying, in the display region, a first display image including the first image arranged in a first position, where a first side orthogonal to the first axis and located on one side of the first axis among four sides of the display region and a third side orthogonal to the first axis and located on the one side among four sides of the first image are in contact, or a second position where a second side opposed to the first side among the four sides of the display region and a fourth side opposed to the third side among the four sides of the first image are in contact, wherein the first size is larger than the second size.
18 . The non-transitory computer-readable storage medium of claim 17 , wherein
the rectangular display region is a largest rectangular region that fits within an inner side of a projection region, the projection region being displayed by the one or more display devices.
19 . The non-transitory computer-readable storage medium of claim 18 , the program further causes the computer to execute:
capturing a captured image that includes at least a portion of the projection region, and
acquiring the largest rectangular region based on the captured image.
20 . The non-transitory computer-readable storage medium of claim 17 , the program further causes the computer to execute:
acquiring the first size, and
capturing a captured image that includes at least a portion of a projection region, the projection region being displayed by the one or more display devices,
wherein acquiring the first size includes acquiring the first size based on the captured image.
21 . The non-transitory computer-readable storage medium of claim 17 , wherein the program further causes the computer to execute:
when the half value of the first size is larger than the second size, the one or more display devices displaying, in the display region, a second display image including the first image arranged in a third position where the fourth side of the first image passes a center point of the display region or a fourth position where the third side of the first image passes the center point.
22 . The non-transitory computer-readable storage medium of claim 17 , the program further causes the computer to execute:
after the determining, calculating output information, based on the first size and the second size, for generating an image to be displayed in a superimposed manner by a plurality of display devices, wherein the output information includes at least one of:
coordinates of four vertices of the first display image in the display region,
coordinates of four vertices of a first region in the display region in which the first display image is not displayed,
a number of one or more first regions,
a size of the one or more first regions on the first axis, and
a size of the one or more first regions on a second axis orthogonal to the first axis.