Information processing device, information processing method, and computer program
The information processing device efficiently selects and generates three-dimensional images by utilizing multiple image sets and processing capacity, enhancing image generation and display quality.
Patent Information
- Application Number
- JP2022565117
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-11-30
- Filing Date
- 2021-10-20
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-10-20
AI Technical Summary
Existing techniques for generating three-dimensional images are inefficient in selecting and processing images, leading to suboptimal generation and display of three-dimensional images.
An information processing device that includes an image acquisition unit, a storage unit, and selection units to select a predetermined number of images across multiple image sets, generating three-dimensional images based on these images, and displaying them efficiently, taking into account processing capacity and quality.
The device enables more appropriate generation and display of three-dimensional images by selecting suitable images across multiple sets, optimizing processing efficiency and quality, and adapting to processing capacity, thus improving the overall image generation and display process.
Smart Images

Figure 0007533619000008 
Figure 0007533619000020 
Figure 0007533619000012
Abstract
Description
[Technical field]
[0001] The present disclosure relates to the technical field of an information processing device, an information processing method, and a recording medium for generating a three-dimensional image. [Background technology]
[0002] As this type of device, a device that generates a three-dimensional image of a subject is known. For example, Patent Document 1 discloses a technology for mapping the value of each pixel of a face image onto aligned three-dimensional face shape data to create a three-dimensional face model corresponding to the face image. Patent Document 2 discloses a technology for estimating the three-dimensional shape of a subject's face and displaying the estimation result on a display device.
[0003] As other related techniques, for example, Patent Document 3 discloses distributed processing for processing related to three-dimensional objects. Patent Document 4 discloses thinning out images to be processed to reduce the transfer load and processing load. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2011-209916 A [Patent Document 2] International Publication No. 2019 / 078310 [Patent Document 3] Japanese Patent Application Publication No. 03-085688 [Patent Document 4] JP 2009-207709 A Summary of the Invention [Problem to be solved by the invention]
[0005] This disclosure aims to improve upon the related art mentioned above. [Means for solving the problem]
[0006] One aspect of the information processing device disclosed herein includes an acquisition means for acquiring an image set including a plurality of images captured of a subject, a first storage means for storing a plurality of the image sets, a first selection means for selecting a first predetermined number of images from the plurality of image sets across sets, and a generation means for generating a three-dimensional image of the subject based on the first predetermined number of images.
[0007] One aspect of the information processing method disclosed herein includes obtaining an image set including a plurality of images captured of a subject, storing the plurality of image sets, selecting a first predetermined number of images from the plurality of image sets across the sets, and generating a three-dimensional image of the subject based on the first predetermined number of images.
[0008] One aspect of a recording medium of this disclosure has recorded thereon a computer program that causes a computer to acquire an image set including a plurality of images captured of a subject, store a plurality of the image sets, select a first predetermined number of images from the plurality of image sets across sets, and generate a three-dimensional image of the subject based on the first predetermined number of images. [Brief description of the drawings]
[0009] [Figure 1] 1 is a block diagram showing a hardware configuration of an information processing device according to a first embodiment. [Diagram 2] 1 is a block diagram showing a functional configuration of an information processing device according to a first embodiment. [Diagram 3] 4 is a flowchart showing a flow of operations of the information processing device according to the first embodiment. [Figure 4] FIG. 2 is a conceptual diagram showing an example of image selection in the information processing device according to the first embodiment. [Diagram 5] 10 is a flowchart showing the flow of operations of the information processing device according to the second embodiment. [Figure 6] FIG. 11 is a schematic diagram showing the configuration of an imaging system to which an information processing device according to a third embodiment is applied. [Figure 7]FIG. 4 is a plan view showing an example of a sine wave pattern projected onto a subject. [Figure 8] 1 is a plan view showing an example of a luminance gradient pattern projected onto a subject; [Figure 9] FIG. 13 is a diagram showing an example of an image set used in an information processing device according to a third embodiment. [Figure 10] FIG. 13 is a block diagram showing a functional configuration of an information processing device according to a fourth embodiment. [Figure 11] 13 is a flowchart showing the flow of operations of the information processing device according to the fourth embodiment. [Figure 12] 1 is a conceptual diagram showing the configuration of an image ring memory and a three-dimensional image ring memory. [Figure 13] 13 is a flowchart showing the flow of operations of an imaging thread in an information processing device according to the fourth embodiment. [Figure 14] 13 is a flowchart showing the flow of operations of a three-dimensional image generation thread in an information processing device according to the fourth embodiment. [Figure 15] 13 is a flowchart showing the flow of operations of a three-dimensional image display thread in an information processing device according to the fourth embodiment. [Figure 16] FIG. 13 is a block diagram showing a functional configuration of a modified example of the information processing device according to the fourth embodiment. [Figure 17] 13 is a flowchart showing the flow of operations of a modified example of the information processing device according to the fourth embodiment. [Figure 18] 13 is a flowchart showing the flow of operations of the information processing device according to the fifth embodiment. [Figure 19] FIG. 13 is a diagram showing an example of a list display of three-dimensional images by the information processing device according to the sixth embodiment. [Figure 20] FIG. 13 is a diagram showing an example of a display mode in an information processing device according to a sixth embodiment. [Figure 21] FIG. 13 is a block diagram showing a functional configuration of an information processing device according to a seventh embodiment. [Figure 22] 13 is a flowchart showing the flow of operations of the information processing device according to the seventh embodiment. [Diagram 23] FIG. 13 is a diagram showing an example of a display mode in an information processing device according to the seventh embodiment. [Figure 24] FIG. 13 is a block diagram showing a functional configuration of an information processing device according to an eighth embodiment. [Diagram 25] 20 is a flowchart showing the flow of operations of the information processing device according to the eighth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, embodiments of an information processing method, an information processing device, a computer program, and a recording medium will be described with reference to the drawings.
[0011] First Embodiment An information processing device according to a first embodiment will be described with reference to FIGS. 1 to 4. FIG.
[0012] (Hardware configuration) First, the hardware configuration of the information processing device according to the first embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the hardware configuration of the information processing device according to the first embodiment.
[0013] 1, an information processing device 10 according to the first embodiment includes a processor 11, a RAM (Random Access Memory) 12, a ROM (Read Only Memory) 13, and a storage device 14. The information processing device 10 may further include an input device 15 and an output device 16. The processor 11, the RAM 12, the ROM 13, the storage device 14, the input device 15, and the output device 16 are connected via a data bus 17.
[0014] The processor 11 reads a computer program. For example, the processor 11 is configured to read a computer program stored in at least one of the RAM 12, the ROM 13, and the storage device 14. Alternatively, the processor 11 may read a computer program stored in a computer-readable recording medium using a recording medium reading device (not shown). The processor 11 may acquire (i.e., read) a computer program from a device (not shown) disposed outside the information processing device 10 via a network interface. The processor 11 controls the RAM 12, the storage device 14, the input device 15, and the output device 16 by executing the computer program that the processor 11 reads. In particular, in this embodiment, when the processor 11 executes the computer program that the processor 11 reads, a functional block for generating a three-dimensional image is realized in the processor 11. Examples of the processor 11 include a central processing unit (CPU), a graphics processing unit (GPU), a field-programmable gate array (FPGA), a demand-side platform (DSP), and an application specific integrated circuit (ASIC). The processor 11 may be one of the above-mentioned examples, or a plurality of processors may be used in parallel.
[0015] The RAM 12 temporarily stores a computer program executed by the processor 11. The RAM 12 temporarily stores data that is temporarily used by the processor 11 when the processor 11 is executing the computer program. The RAM 12 may be, for example, a D-RAM (Dynamic RAM).
[0016] The ROM 13 stores computer programs executed by the processor 11. The ROM 13 may also store other fixed data. The ROM 13 may be, for example, a programmable ROM (P-ROM).
[0017] The storage device 14 stores data that is to be stored long-term by the information processing device 10. The storage device 14 may operate as a temporary storage device for the processor 11. The storage device 14 may include, for example, at least one of a hard disk device, a magneto-optical disk device, an SSD (Solid State Drive), and a disk array device.
[0018] The input device 15 is a device that receives input instructions from a user of the information processing device 10. The input device 15 may include, for example, at least one of a keyboard, a mouse, and a touch panel. The input device 15 may be a dedicated controller (operation terminal). The input device 15 may also include a terminal owned by a user (for example, a smartphone, a tablet terminal, etc.). The input device 15 may be, for example, a device that includes a microphone and is capable of voice input.
[0019] The output device 16 is a device that outputs information related to the information processing device 10 to the outside. For example, the output device 16 may be a display device (for example, a display) that can display information related to the information processing device 10. The display device here may be a television monitor, a personal computer monitor, a smartphone monitor, a tablet terminal monitor, or a monitor of another mobile terminal. In addition, the display device may be a large monitor or digital signage installed in various facilities such as a store. In addition, the output device 16 may be a device that outputs information in a format other than an image. For example, the output device 16 may be a speaker that outputs information related to the information processing device 10 as sound.
[0020] (Functional configuration) Next, the functional configuration of the information processing device 10 according to the first embodiment will be described with reference to Fig. 2. Fig. 2 is a block diagram showing the functional configuration of the information processing device according to the first embodiment.
[0021] 2, the information processing device 10 according to the first embodiment includes, as processing blocks for realizing its functions, an image acquisition unit 110, a first storage unit 120, a first selection unit 130, and a three-dimensional image generation unit 140. Each of the image acquisition unit 110, the first selection unit 130, and the three-dimensional image generation unit 140 may be realized by the above-mentioned processor 11 (see FIG. 1). The first storage unit 120 may be realized by the above-mentioned RAM 12 (see FIG. 1).
[0022] The image acquisition unit 110 is configured to be able to acquire an image set including a plurality of images of a subject. The image acquisition unit 110 may directly acquire images captured from a camera or the like, or may appropriately acquire images stored in a storage unit. When acquiring images from a camera, there may be a plurality of cameras, and a plurality of images may be acquired from each of the plurality of cameras. The number of images included in the image set is not particularly limited. Specific examples of image sets will be described in detail in other embodiments described later. The images stored in the image acquisition unit 110 are configured to be output to the first storage unit 120.
[0023] The first storage section 120 is configured to be capable of storing a plurality of image sets (i.e., a plurality of images) acquired by the image acquisition section 110. The first storage section 120 is capable of storing, for example, two image sets. The first storage section 120 may be capable of storing three or more image sets. The first storage section 120 may have a function of appropriately deleting image sets that are no longer necessary.
[0024] The first selection unit 130 is configured to be able to select a first predetermined number of images from the image set stored in the first storage unit 120. The "first predetermined number" here is set as the number of images to be output to the three-dimensional image generation unit 140, and may be, for example, the minimum number required to generate a three-dimensional image. The first predetermined number may be the same number as the number of images included in the image set, or may be a different number. The first selection unit 130 particularly selects the first predetermined number of images across sets from among a plurality of image sets stored in the first storage unit 120. For example, the first selection unit 130 selects the first predetermined number of images from each of the first image set and the second image set. The method of selecting images by the first selection unit 130 will be described in detail later with a specific example. The first predetermined number of images selected by the first selection unit 130 is configured to be output to the three-dimensional image generation unit 140.
[0025] The three-dimensional image generating unit 140 is configured to be able to generate a three-dimensional image of the subject from the first predetermined number of images selected by the first selecting unit 130. That is, the three-dimensional image generating unit 140 has a function of generating a three-dimensional image from a plurality of two-dimensional images. Note that the method of generating a three-dimensional image from a plurality of images is not particularly limited, and existing technology can be appropriately adopted, so a detailed description thereof will be omitted here.
[0026] (Operation flow) Next, the flow of operations of the information processing device 10 according to the first embodiment will be described with reference to Fig. 3. Fig. 3 is a flowchart showing the flow of operations of the information processing device according to the first embodiment.
[0027] 3, when the information processing device 10 according to the first embodiment operates, first, the image acquisition unit 110 acquires an image set including a plurality of images (step S11). Then, the first storage unit 120 stores the image set acquired by the image acquisition unit 110 (step S12). Note that in the processes of steps S11 and S12 described above, a plurality of image sets may be acquired and stored collectively, or a process of acquiring and storing one image set may be repeatedly executed to store a plurality of image sets.
[0028] Next, the first selection unit 130 selects a first predetermined number of images across the sets from among the multiple image sets stored in the first storage unit 120 (step S13). Then, the three-dimensional image generation unit 140 generates a three-dimensional image of the subject using the first predetermined number of images selected by the first selection unit 130 (step S14). Note that the above-described series of processes may be repeatedly executed as appropriate. That is, multiple three-dimensional images may be generated by repeatedly executing the process of generating a three-dimensional image.
[0029] (Example of image selection) Next, a specific example of image selection by the first selection unit 130 will be described with reference to Fig. 4. Fig. 4 is a conceptual diagram showing an example of image selection in the information processing device according to the first embodiment.
[0030] As shown in Fig. 4, it is assumed that a first image set and a second image set are stored in the first storage unit 120. Each image set includes eight images. Specifically, the first image set includes eight images numbered 1 to 8. The second image set includes eight images numbered 9 to 16.
[0031] In this case, the first selection unit 130 may select, for example, four images from the latter half of the first image set (i.e., images 5 to 8) and four images from the first half of the second image set (i.e., images 9 to 12). In this case, a three-dimensional image is generated from a total of eight images, including the selected images 5 to 8 and images 9 to 12. In other words, the images that are not selected (i.e., images 1 to 4 and images 13 to 16) are not used to generate a three-dimensional image. The images that are not used may be discarded or may be used in a similar process executed at a different timing (for example, they may be candidates for selection by the first selection unit 130 next time).
[0032] In the above-mentioned selection example, images with consecutive numbers across sets (i.e., consecutive images from 5 to 12) are selected, but images with non-consecutive numbers may be selected. For example, images 1, 3, 5, and 7 in the first image set and images 9, 11, 13, and 15 in the second image set may be selected. In the above-mentioned example, the same number of images (8 images) as the images included in the image set are selected, but a different number of images (e.g., 7 images or less, or 9 images or more) from the images included in the image set may be selected. The images to be selected may be appropriately set according to various conditions. The images to be selected may be determined based on, for example, the quality of the images (whether the subject is facing forward, whether the image is blurred or blurred, etc.). Such examples will be described in detail in other embodiments described later.
[0033] (Technical effect) Next, technical effects obtained by the information processing device 10 according to the first embodiment will be described.
[0034] As described in FIG. 1 to FIG. 4, in the information processing device 10 according to the first embodiment, a first predetermined number of images are selected from a plurality of image sets across the sets. In this way, a three-dimensional image can be generated using a first predetermined number of images included in different image sets. In this case, a three-dimensional image can be generated more appropriately compared to a case where a three-dimensional image is generated using only images included in one image set. For example, a three-dimensional image can be generated by selecting images suitable for generating a three-dimensional image (in other words, excluding images unsuitable for generating a three-dimensional image).
[0035] In particular, the information processing device 10 according to the first embodiment includes the first storage unit 120 that stores a plurality of image sets, so that it is easy to select a first predetermined number of images across sets. In addition, since the first storage unit 120 is configured to be able to store a plurality of image sets, it is possible to efficiently execute the process of acquiring images and the process of selecting images and generating a three-dimensional image. Specifically, it is possible to simultaneously execute the process of acquiring images and the process of generating a three-dimensional image in parallel. In addition, since the first storage unit 120 is provided, it is possible to execute the process of acquiring a new image without waiting for the process of generating a three-dimensional image to be completed. If the first storage unit 120 is not provided, the image acquisition unit 110 cannot acquire a new image until the three-dimensional image generation unit 140 completes the generation of a three-dimensional image using one image set (i.e., it is required to wait for the process of generating a three-dimensional image to be completed). However, by providing the first storage unit 120, the image acquisition unit 110 can acquire a new image without waiting for the completion of the process of generating a three-dimensional image by the three-dimensional image generation unit 140. Specifically, the image acquisition unit 110 sequentially stores the acquired images in the first storage unit 120, and the three-dimensional image generation unit 140 can acquire the images from the first storage unit 120 and generate a three-dimensional image without acquiring the images directly from the image acquisition unit 110.
[0036] <Second embodiment> An information processing device 10 according to the second embodiment will be described with reference to Fig. 5. The second embodiment differs from the first embodiment only in part of the operation, and for example, the hardware configuration (see Fig. 1) and functional configuration (see Fig. 2) of the device may be similar to those of the first embodiment. Therefore, hereinafter, the parts that differ from the first embodiment will be described in detail, and the explanation of the other overlapping parts will be omitted as appropriate.
[0037] (Operation flow) First, the flow of operations of the information processing device according to the second embodiment will be described with reference to Fig. 5. Fig. 5 is a flowchart showing the flow of operations of the information processing device according to the second embodiment. In Fig. 5, the same processes as those shown in Fig. 3 are denoted by the same reference numerals.
[0038] 5, when the information processing device 10 according to the second embodiment operates, the image acquisition unit 110 first acquires an image set including a plurality of images (step S11). Then, the first storage unit 120 stores the image set acquired by the image acquisition unit 110 (step S12).
[0039] Next, the first selection unit 130 selects a first predetermined number of images across sets from among the multiple image sets stored in the first storage unit 120. At this time, particularly in the second embodiment, the first selection unit 130 selects the first predetermined number of images according to the processing capability of the three-dimensional image generation unit 140 (step S21). That is, the first selection unit 130 selects images according to the subsequent processing capability. Thereafter, the three-dimensional image generation unit 140 generates a three-dimensional image of the subject using the first predetermined number of images selected by the first selection unit 130 (step S14).
[0040] The above-mentioned "processing capacity of the three-dimensional image generating unit 140" may be the processing capacity in the specifications of the three-dimensional image generating unit 140, or may be the processing capacity at that time point considering the calculation load of the processing being executed. For example, the first selection unit 130 changes the number of images to be selected (i.e., the value of the first predetermined number) according to the processing capacity of the three-dimensional image generating unit 140. In this case, the number of images used by the three-dimensional image generating unit 140 to generate a three-dimensional image varies according to the processing capacity. Alternatively, the first selection unit 130 changes the frequency of selecting images according to the processing capacity of the three-dimensional image generating unit 140. In this case, the frequency with which images are output to the three-dimensional image generating unit 140 varies, and therefore the number of images processed by the three-dimensional image generating unit 140 per unit time varies.
[0041] (Technical effect) Next, technical effects obtained by the information processing device 10 according to the second embodiment will be described.
[0042] As described in FIG. 5, in the information processing device 10 according to the second embodiment, the first predetermined number of images is selected according to the processing capacity of the three-dimensional image generating unit 140. In this way, it is possible to appropriately generate a three-dimensional image in consideration of the processing capacity of the three-dimensional image generating unit 140. For example, when the processing capacity of the three-dimensional image generating unit 140 is degraded, the first selection unit 130 selects a smaller number of images. In this case, the number of images processed by the three-dimensional image generating unit 140 at one time is reduced, so that even a three-dimensional image generating unit 140 with reduced processing capacity can execute the process of generating a three-dimensional image without any problems. Alternatively, when the processing capacity of the three-dimensional image generating unit 140 is degraded, the first selection unit 130 selects images less frequently. In this case, the number of images processed by the three-dimensional image generating unit 140 per unit time is reduced, so that even a three-dimensional image generating unit 140 with reduced processing capacity can execute the process of generating a three-dimensional image without any problems.
[0043] <Third embodiment> An information processing device 10 according to the third embodiment will be described with reference to Fig. 6 to Fig. 9. Note that the third embodiment shows a specific example of an image (i.e., an image of a subject for generating a three-dimensional image) used in the first and second embodiments described above, and the device configuration, operation flow, etc. may be similar to those of the first and second embodiments. Therefore, hereinafter, the parts that differ from the embodiments already described will be described in detail, and the explanation of other overlapping parts will be omitted as appropriate.
[0044] (Imaging system) First, the overall configuration of an imaging system including an information processing device according to the third embodiment will be described with reference to Fig. 6. Fig. 6 is a schematic diagram showing the configuration of an imaging system to which the information processing device according to the third embodiment is applied.
[0045] 6, the information processing device 10 according to the third embodiment is connected to an imaging unit 210 and a projection unit 220. The imaging unit 210 and the projection unit 220 are each disposed so as to face the direction of the subject 50.
[0046] The imaging unit 210 is configured to be able to capture an image of the subject 50. The imaging unit 210 may include a solid-state imaging element such as a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary Metal Oxide Semiconductor) image sensor. The imaging unit 210 may also include an optical system that forms an image of the subject on the imaging surface of the solid-state imaging element, a signal processing circuit that processes the output of the solid-state imaging element to obtain a luminance value for each pixel, and the like. Note that, for convenience of explanation, one imaging unit 210 is illustrated here, but two or more imaging units 210 may be provided. In this case, the two imaging units 210 may be arranged to capture the subject 50 at different angles.
[0047] The projection unit 220 is configured to be able to project a predetermined light pattern onto the subject 50. The projection unit 220 is not particularly limited, and may be, for example, a DLP (Digital light Processing) projector or a liquid crystal projector. A DLP projector or a liquid crystal projector can project any light pattern at high speed, and is preferable for shortening the time required for measuring the shape of the subject 50. The shortening of the measurement time is particularly preferable for measuring the three-dimensional shape of a moving object (moving body), such as when performing face authentication of a person. Details of the light pattern projected by the projection unit 220 onto the subject 50 will be described later.
[0048] (sine wave pattern) The sine wave pattern projected onto the subject and the measurement method using the sine wave pattern will be described in detail with reference to Fig. 7. Fig. 7 is a plan view showing an example of the sine wave pattern projected onto the subject.
[0049] 7, the projection unit 220 projects a sine wave pattern (i.e., a sine wave grating-shaped light pattern) as a predetermined light pattern onto the subject 50. By projecting the sine wave pattern, it becomes possible to perform three-dimensional shape measurement using a sine wave grating phase shift method. The sine wave grating phase shift method is a method of projecting a sine wave pattern onto the subject while shifting the phase little by little to identify the three-dimensional shape of the subject.
[0050] The basic principle of the measurement method using the sine wave grating phase shift method will be described below. When an object onto which a sine wave pattern is projected is photographed by the imaging unit 210, the luminance value I(x, y, t) at time t in the (x, y) coordinate of the obtained image can be expressed as the following formula (1) where A is the amplitude of the sine wave, θ is the phase value, and B is the bias (center value of the sine wave).
[0051]
number
[0052] Since the phase value θ of the sine wave pattern projected by the projection unit 220 differs for each angle as viewed from the projection unit 220, if the phase value θ at the coordinates (x, y) can be determined, the three-dimensional position corresponding to the coordinates (x, y) can be determined.
[0053] Since there are three unknowns in the above formula (1), namely, the amplitude A, the phase value θ, and the bias B, the phase value θ can be calculated with a minimum of three sine wave pattern projection images. When four or more light pattern projection images are captured, the phase value θ can be calculated with higher accuracy by the least squares method or the like.
[0054] Here, if four sine wave patterns with a phase shift of 1 / 4 wavelength are projected at times t = 0, t = π / 2, t = π, and t = 3π / 2 to obtain images, the luminance value I(x, y, t) of the coordinates (x, y) at each time can be expressed as in the following equations (2) to (5).
[0055]
number
[0056] By determining the amplitude A, the phase value θ, and the bias B from equations (2) to (5) by the least squares method, the following equations (6) to (8) are obtained.
[0057]
number
[0058] (Brightness gradient pattern) Next, the luminance gradient pattern projected onto the subject and a measurement method using the luminance gradient pattern will be described in detail with reference to Fig. 8. Fig. 8 is a plan view showing an example of the luminance gradient pattern projected onto the subject.
[0059] As shown in the example of Fig. 8, the projection unit 220 projects a luminance gradient pattern (i.e., a light pattern in which the luminance value changes linearly at a constant rate) onto the subject 50 in addition to the above-mentioned sine wave pattern. The luminance gradient pattern is projected as a periodic light pattern having a different number of repetition periods from the sine wave pattern. Note that while Fig. 8 shows a luminance gradient pattern in which the luminance becomes brighter at a constant rate from top to bottom, a luminance gradient pattern in which the luminance becomes brighter at a constant rate from bottom to top may also be used.
[0060] A measurement method using a luminance gradient pattern will be described below. When the subject 50 onto which the luminance gradient pattern is projected is photographed by the imaging unit 210, the luminance value K(x, y, t) at time t in the (x, y) coordinates of the obtained image can be expressed as in the following formula (9). Here, A″ is the amplitude, B″ is the bias, and ω is a variable whose value changes linearly in the range of -1≦ω≦1.
[0061]
number
[0062] Here, when a projector capable of projecting any light pattern, such as a liquid crystal projector or DLP projector, is used as the projection unit 220, it is possible to switch between a sine wave pattern and a luminance gradient pattern at high speed and project them using one projection unit 220. When a sine wave pattern and a luminance gradient pattern generated based on light emitted from the same light source are projected using one projection unit 220, it can be assumed that the basic physical characteristics of the projection device 20 when projecting these light patterns are the same. In other words, when the sine wave pattern and the luminance gradient pattern are projected onto the subject 50 using the same projection unit 220, it is considered that the following formula (10) is established. A=A″, B=B″ …(10)
[0063] When the subject 50 onto which the luminance gradient pattern is projected is photographed only once, the luminance value K(x, y, t) and the variable ω can be expressed as in equations (11) and (12).
[0064]
number
[0065] Also, the subject 50 onto which the luminance gradient pattern is projected can be photographed twice, and the variable ω can be calculated by the least squares method. In other words, assuming that images are obtained at time t=0 and time t=1, the luminance value K(x,y,t) at the coordinates (x,y) can be expressed by the following formulas (13) and (14). The variable ω can be expressed by the following formula (15).
[0066]
number
[0067] (An example of an image set) Next, an image set acquired by the information processing device 10 according to the third embodiment will be described with reference to Fig. 9. Fig. 9 is a diagram showing an example of an image set used by the information processing device according to the third embodiment.
[0068] As shown in Fig. 9, the information processing device 10 according to the third embodiment acquires, as one image set, a plurality of images including an image captured by projecting the above-mentioned sine wave pattern (see Fig. 7), an image captured by projecting a luminance gradient pattern (see Fig. 8), and a texture image showing the surface state of the subject 50. In the example shown in Fig. 9, one image set includes a total of eight images, including four images captured by projecting the sine wave pattern, two images captured by projecting the luminance gradient pattern, and two texture images.
[0069] The above-mentioned configuration of the image set is merely an example, and the number of each of the images captured by projecting a sine wave pattern, the images captured by projecting a luminance gradient pattern, and the texture images may be changed as appropriate. The total number of images constituting one image set may also be a number other than eight. However, it is preferable that one image set includes a plurality of each of the images captured by projecting a sine wave pattern, the images captured by projecting a luminance gradient pattern, and the texture images.
[0070] (Technical effect) Next, technical effects obtained by the information processing device 10 according to the third embodiment will be described.
[0071] 6 to 9, in the information processing device 10 according to the third embodiment, a plurality of images including an image captured by projecting a sine wave pattern, an image captured by projecting a luminance gradient pattern, and a texture image are acquired as an image set. In this way, it is possible to appropriately generate a three-dimensional image from each image included in the image set.
[0072] <Fourth embodiment> The information processing device 10 according to the fourth embodiment will be described with reference to Fig. 10 to Fig. 15. The fourth embodiment differs from the first to third embodiments described above only in some configurations and operations, and other parts may be similar to the first to third embodiments. Therefore, hereinafter, parts that differ from the embodiments already described will be described in detail, and explanations of other overlapping parts will be omitted as appropriate.
[0073] (Functional configuration) First, the functional configuration of the information processing device 10 according to the fourth embodiment will be described with reference to Fig. 10. Fig. 10 is a block diagram showing the functional configuration of the information processing device according to the fourth embodiment. In Fig. 10, the same elements as those shown in Fig. 2 are denoted by the same reference numerals.
[0074] As shown in FIG. 10, the information processing device 10 according to the fourth embodiment includes an image acquisition unit 110, a first storage unit 120, a first selection unit 130, a three-dimensional image generation unit 140, a second storage unit 150, a second selection unit 160, and a display unit 170 as processing blocks for realizing the functions of the information processing device 10. That is, the information processing device 10 according to the fourth embodiment is configured to further include the second storage unit 150, the second selection unit 160, and the display unit 170 in addition to the configuration according to the first embodiment (see FIG. 2). The second storage unit 150 may be realized by the above-mentioned RAM 12 (see FIG. 1). The second selection unit 160 and the display unit 170 may be realized by the above-mentioned processor 11 (see FIG. 1).
[0075] The second storage unit 150 is configured to be capable of storing a plurality of sets including a plurality of three-dimensional images generated by the three-dimensional image generating unit 140 (hereinafter referred to as "three-dimensional image sets" as appropriate). The second storage unit 150 is capable of storing, for example, two three-dimensional image sets. The second storage unit 150 may be capable of storing three or more three-dimensional image sets. The second storage unit 150 may have a function of appropriately deleting unnecessary three-dimensional image sets.
[0076] The second selection unit 160 is configured to be able to select a second predetermined number of three-dimensional images from the three-dimensional image set stored in the second storage unit 150. The "second predetermined number" here is set as the number of three-dimensional images output by the display unit 170, and may be, for example, the number of three-dimensional images to be simultaneously displayed on a display or the like. The second predetermined number may be the same number as the number of three-dimensional images included in the three-dimensional image set, or may be a different number. In particular, the second selection unit 160 selects a second predetermined number of three-dimensional images across sets from among the multiple three-dimensional image sets stored in the second storage unit 150. For example, the second selection unit 160 selects a second predetermined number of images from each of the first three-dimensional image set and the second three-dimensional image set. The second predetermined number of three-dimensional images selected by the second selection unit 160 is configured to be output to the display unit 170.
[0077] The display unit 170 outputs the second predetermined number of images selected by the second selection unit 160 as a three-dimensional image to be displayed to a user or the like. That is, the display unit 170 has a function of outputting a plurality of three-dimensional images. The three-dimensional image output from the display unit 170 is output to, for example, a display device having a display. This display device may be realized by, for example, the above-mentioned output device 16 (see FIG. 1). The display mode of the three-dimensional image output from the display unit 170 will be described with a specific example in another embodiment described later.
[0078] (Operation flow) Next, the flow of operations of the information processing device 10 according to the fourth embodiment will be described with reference to Fig. 11. Fig. 11 is a flowchart showing the flow of operations of the information processing device according to the fourth embodiment. In Fig. 11, the same processes as those shown in Fig. 3 are denoted by the same reference numerals.
[0079] 11, when the information processing device 10 according to the fourth embodiment operates, the image acquisition unit 110 first acquires an image set including a plurality of images (step S11). Then, the first storage unit 120 stores the image set acquired by the image acquisition unit 110 (step S12).
[0080] Next, the first selection unit 130 selects a first predetermined number of images across sets from among the multiple image sets stored in the first storage unit 120 (step S13). Then, the three-dimensional image generation unit 140 generates a three-dimensional image of the subject using the first predetermined number of images selected by the first selection unit 130 (step S14).
[0081] Next, the second storage unit 150 stores the three-dimensional image set generated by the three-dimensional image generation unit 140 (step S41). Then, the second selection unit 160 selects a second predetermined number of three-dimensional images across the sets from among the multiple three-dimensional image sets stored in the second storage unit 150 (step S42). After that, the display unit 170 outputs the second predetermined number of three-dimensional images selected by the second selection unit 160 as three-dimensional images for display (step S43). As a result, the second predetermined number of three-dimensional images selected by the second selection unit 160 are displayed (presented) to the user, etc.
[0082] (Memory Operation) Next, the operation of the memory (i.e., first storage unit 120 and second storage unit 150) of the information processing device 10 according to the fourth embodiment will be described with reference to Figs. 12 to 15. Fig. 12 is a conceptual diagram showing the configuration of an image ring memory and a three-dimensional image ring memory. Fig. 13 is a flowchart showing the operation flow of an imaging thread in the information processing device according to the fourth embodiment. Fig. 14 is a flowchart showing the operation flow of a three-dimensional image generation thread in the information processing device according to the fourth embodiment. Fig. 15 is a flowchart showing the operation flow of a three-dimensional image display thread in the information processing device according to the fourth embodiment.
[0083] As shown in FIG. 12, the first storage unit 120 includes an image ring memory capable of storing a plurality of images. The image ring memory here has eight buffers, each of which is configured to be capable of storing an image. Each buffer has a state indicating its status. The state is either "writeable" or "non-writeable." Pointer #1 points to the buffer to be worked on in the image ring memory.
[0084] On the other hand, the second storage unit 150 includes a three-dimensional image ring memory capable of storing a plurality of three-dimensional images. The three-dimensional image ring memory here has five buffers, each of which is configured to be capable of storing a three-dimensional image. Each buffer has a state indicating a state. The state is either "writeable" or "non-writeable." Pointer #2 points to the buffer to be worked on in the three-dimensional image ring memory.
[0085] The imaging thread will be described using the example shown in Fig. 13. The imaging thread is a thread corresponding to a process in which the image acquisition unit 110 acquires an image captured by the imaging unit 210 (see Fig. 6) or the like and stores the image in the first storage unit 120.
[0086] In the imaging thread, first, the state of the buffer pointed to by pointer #1 is checked (step S101). If the state of the buffer pointed to by pointer #1 is "unwritable", the subsequent processing is not started. In this case, the processing of step S101 may be executed again, for example, after a predetermined period of time. On the other hand, if the state of the buffer pointed to by pointer #1 is "writable", the captured image is acquired and the acquired image is written to the image ring memory (step S102).
[0087] Next, the state of the buffer pointed to by pointer #1 is set to "unwritable" (step S103). Then, pointer #1 is advanced to the next buffer (step S104).
[0088] The three-dimensional image generation thread will be described using the example shown in Fig. 14. The three-dimensional image generation thread is a thread corresponding to a process in which the first selection unit 130 selects a first predetermined number of images from a plurality of image sets stored in the first storage unit 120, and the three-dimensional image generation unit 140 generates and stores a three-dimensional image.
[0089] In the 3D image generation thread, first, the state of the buffer pointed to by the pointer #1 is checked (step S201). If the state of the buffer pointed to by the pointer #1 is "writeable", the following processing is not started. In this case, the processing of step S201 may be executed again after a predetermined period of time, for example.
[0090] On the other hand, if the state of the buffer pointed to by pointer #1 is "unwritable", the state of the buffer pointed to by pointer #2 is checked (step S202). If the state of the buffer pointed to by pointer #2 is "unwritable", the subsequent processing is not started. In this case, the processing of step S202 may be executed again, for example, after a predetermined period of time. If the state of the buffer pointed to by pointer #2 is "writable", a three-dimensional image is generated and written into the generated three-dimensional image ring memory (step S203).
[0091] Next, the state of the input buffer of the image ring memory pointed to by pointer #1 is set to "write enabled" (step S204). Also, the state of the output buffer of the 3D image ring memory pointed to by pointer #2 is set to "write disabled" (step S205). Then, pointers #1 and #2 are each advanced to the next buffer (step S206).
[0092] The three-dimensional image display thread will be described using the example shown in Fig. 15. The three-dimensional image display thread is a thread corresponding to a process in which the second selection unit 160 selects a second predetermined number of three-dimensional images from a plurality of three-dimensional image sets stored in the second storage unit 150, and the display unit 170 outputs the images as three-dimensional images for display.
[0093] In the 3D image generation thread, first, the state of the buffer pointed to by pointer #2 is checked (step S301). If the state of the buffer pointed to by pointer #2 is "writeable", the subsequent processing is not started. In this case, for example, the processing of step S301 may be executed again after a predetermined period of time. On the other hand, if the state of the buffer pointed to by pointer #1 is "unwriteable", the selected 3D image is output as a 3D image for display (step S302).
[0094] Next, the state of the buffer pointed to by pointer #2 is set to "write enabled" (step S303). Then, pointer #2 is advanced to the next buffer (step S304).
[0095] (Technical effect) Next, technical effects obtained by the information processing device 10 according to the fourth embodiment will be described.
[0096] As described in FIG. 10 to FIG. 15, in the information processing device 10 according to the fourth embodiment, a second predetermined number of three-dimensional images are selected from among a plurality of three-dimensional image sets across the sets. In this way, the second predetermined number of images included in different three-dimensional image sets can be displayed. In this case, the three-dimensional images can be displayed more appropriately compared to the case where only images included in one three-dimensional image set are displayed. For example, the three-dimensional images suitable for display can be selected (in other words, the three-dimensional images unsuitable for display can be excluded) and displayed.
[0097] <Modification of the Fourth Embodiment> Next, a modified example of the information processing device 10 according to the fourth embodiment will be described with reference to Fig. 16 and Fig. 17. The modified example according to the fourth embodiment is only partially different from the fourth embodiment, and other parts are generally similar to the fourth embodiment. Therefore, hereinafter, the parts that differ from the fourth embodiment will be described in detail, and the explanation of other overlapping parts will be omitted as appropriate.
[0098] (Functional configuration) First, a functional configuration of a modified example of the information processing device 10 according to the fourth embodiment will be described with reference to Fig. 16. Fig. 16 is a block diagram showing a functional configuration of a modified example of the information processing device according to the fourth embodiment. In Fig. 16, the same elements as those shown in Fig. 10 are denoted by the same reference numerals.
[0099] 16, the modified information processing device 10 according to the fourth embodiment includes, as processing blocks for realizing its functions, an image acquisition unit 110, a three-dimensional image generation unit 140, a second storage unit 150, a second selection unit 160, and a display unit 170. That is, compared to the configuration according to the second embodiment (see FIG. 10), the modified information processing device 10 according to the fourth embodiment does not include the first storage unit 120 and the first selection unit 130.
[0100] (Operation flow) Next, the flow of operations of a modified example of the information processing device 10 according to the fourth embodiment will be described with reference to Fig. 17. Fig. 17 is a flowchart showing the flow of operations of a modified example of the information processing method according to the fourth embodiment. In Fig. 17, the same processes as those shown in Fig. 11 are denoted by the same reference numerals.
[0101] As shown in FIG. 17, in the modified example of the information processing device 10 according to the fourth embodiment, first, the image acquisition unit 110 acquires an image set including a plurality of images (step S11). Then, the three-dimensional image generating unit 140 generates a three-dimensional image of the subject using the image set acquired by the image acquiring unit 110 (step S40). That is, unlike the fourth embodiment described above, the three-dimensional image is generated directly without storage by the first storage unit 120 or selection by the first selection unit 130.
[0102] Next, the second storage unit 150 stores the three-dimensional image set generated by the three-dimensional image generation unit 140 (step S41). Then, the second selection unit 160 selects a second predetermined number of three-dimensional images across the sets from among the multiple three-dimensional image sets stored in the second storage unit 150 (step S42). After that, the display unit 170 outputs the second predetermined number of three-dimensional images selected by the second selection unit 160 as three-dimensional images for display (step S43).
[0103] (Technical effect) Next, technical effects obtained by the modified example of the information processing device 10 according to the fourth embodiment will be described.
[0104] 16 and 17, in the modified example of the information processing device 10 according to the fourth embodiment, a second predetermined number of three-dimensional images are selected across the sets from among a plurality of three-dimensional image sets, in the same manner as in the above-described fourth embodiment. In this way, the second predetermined number of images included in different three-dimensional image sets can be displayed.
[0105] <Fifth embodiment> The information processing device 10 according to the fifth embodiment will be described with reference to Fig. 18. The fifth embodiment differs from the fourth embodiment described above only in part of the operation, and other parts may be the same as the fourth embodiment. Therefore, the following will describe in detail the parts that differ from the embodiments already described, and will omit descriptions of other overlapping parts as appropriate.
[0106] (Operation flow) First, the flow of operations of the information processing device 10 according to the fifth embodiment will be described with reference to Fig. 18. Fig. 18 is a flowchart showing the flow of operations of the information processing device according to the fifth embodiment. In Fig. 18, the same processes as those shown in Fig. 11 are denoted by the same reference numerals.
[0107] 18, when the information processing device 10 according to the fifth embodiment operates, first, the image acquisition unit 110 acquires an image set including a plurality of images (step S11). Then, the first storage unit 120 stores the image set acquired by the image acquisition unit 110 (step S12).
[0108] Next, the first selection unit 130 selects a first predetermined number of images across sets from among the multiple image sets stored in the first storage unit 120 (step S13). Then, the three-dimensional image generation unit 140 generates a three-dimensional image of the subject using the first predetermined number of images selected by the first selection unit 130 (step S14).
[0109] Next, the second storage unit 150 stores the three-dimensional image set generated by the three-dimensional image generation unit 140 (step S41). Then, the second selection unit 160 selects a second predetermined number of three-dimensional images across the sets from among the multiple three-dimensional image sets stored in the second storage unit 150. At this time, particularly in the fifth embodiment, the second selection unit 160 selects the second predetermined number of images according to the processing capacity of the display unit 170 (step S51). That is, the second selection unit 160 selects images according to the subsequent processing capacity. After that, the display unit 170 outputs the second predetermined number of three-dimensional images selected by the second selection unit 160 as three-dimensional images for display (step S43).
[0110] The above-mentioned "processing capacity of the display unit 170" may be the processing capacity in the specifications of the display unit 170, or may be the processing capacity at that time point considering the calculation load of the processing being executed. For example, the second selection unit 160 changes the number of three-dimensional images to be selected (i.e., the value of the second predetermined number) according to the processing capacity of the display unit 170. In this case, the number of three-dimensional images output by the display unit 170 varies according to the processing capacity. Alternatively, the second selection unit 160 changes the frequency of selecting three-dimensional images according to the processing capacity of the display unit 170. In this case, the frequency with which three-dimensional images are output to the display unit 170 varies, and therefore the number of three-dimensional images processed by the display unit 170 per unit time varies.
[0111] (Technical effect) Next, technical effects obtained by the information processing device 10 according to the fifth embodiment will be described.
[0112] As described in FIG. 18, in the information processing device 10 according to the fifth embodiment, the second predetermined number of images is selected according to the processing capacity of the display unit 170. In this way, it is possible to appropriately output three-dimensional images taking into account the processing capacity of the display unit 170. For example, when the processing capacity of the display unit 170 is degraded, the second selection unit 160 reduces the number of images to be selected. In this case, the number of three-dimensional images that the display unit 170 processes at one time is reduced, so that even the display unit 170 with reduced processing capacity can execute the process of outputting three-dimensional images without any problems. Alternatively, when the processing capacity of the display unit 170 is degraded, the second selection unit 160 reduces the frequency of selecting three-dimensional images. In this case, the number of three-dimensional images that the display unit 170 processes per unit time is reduced, so that even the display unit 170 with reduced processing capacity can execute the process of outputting three-dimensional images without any problems. Note that the configuration that takes into account the processing capacity of the display unit 170 of the fifth embodiment may be combined with the configuration that takes into account the processing capacity of the three-dimensional image generation unit 140 described in the second embodiment (see FIG. 5). In this case, the processing capabilities of both the display unit 170 and the three-dimensional image generator 140 are taken into consideration, so that more efficient processing can be achieved compared to the case where the processing capability of only one of them is taken into consideration.
[0113] Sixth embodiment An information processing device 10 according to the sixth embodiment will be described with reference to Fig. 19 and Fig. 20. Note that the sixth embodiment describes a specific example of a display mode by the display unit 170 provided in the fourth and fifth embodiments described above, and other operations and device configurations may be similar to those of the fourth and fifth embodiments. Therefore, hereinafter, the parts that differ from the embodiments already described will be described in detail, and explanations of other overlapping parts will be omitted as appropriate.
[0114] (List of 3D images) First, a display mode realized by the information processing device 10 according to the sixth embodiment will be described with reference to Fig. 19. Fig. 19 is a diagram showing an example of a list display of three-dimensional images by the information processing device according to the sixth embodiment. In the following, the description will be given assuming that the subject 50 is a person's face.
[0115] 19, the information processing device 10 according to the sixth embodiment is capable of outputting a plurality of three-dimensional images in a display mode in which the images are displayed in a list. Specifically, each of the second predetermined number of three-dimensional images selected by the second selection unit 160 is output in a format in which the display unit 170 displays the images in a list. As a result, the three-dimensional images are displayed in a list on a display device having a display or the like.
[0116] In the example shown in FIG. 19, each of the four three-dimensional images is displayed in four areas, the upper right, the lower right, the upper left, and the lower left, but the images may be displayed in a different display manner. Specifically, the images may be displayed in a display manner in which the three-dimensional images are arranged in a horizontal line. Alternatively, the images may be displayed in a display manner in which the three-dimensional images are arranged in a vertical line. It is preferable that the three-dimensional images displayed in a list are all displayed so as to fit on the screen, but some of the images may be displayed outside the screen. For example, the three-dimensional images that are outside the screen may be displayed within the screen by, for example, a scrolling operation or a swiping operation.
[0117] In the example shown in FIG. 19, the multiple three-dimensional images are displayed at the same size. However, the multiple three-dimensional images may be displayed at different sizes. For example, one image may be displayed large and the other images may be displayed small. Alternatively, one image may be displayed small and the other images may be displayed large. Also, the multiple three-dimensional images may be displayed at unique sizes different from the other three-dimensional images. For example, there may be a three-dimensional image displayed as the largest, an image displayed as the second largest, a three-dimensional image displayed as the third largest, and a three-dimensional image displayed as the fourth largest.
[0118] (Rotation of 3D images) Next, another display mode realized by the information processing device 10 according to the sixth embodiment will be described with reference to Fig. 20. Fig. 20 is a diagram showing an example of a display mode in the information processing device according to the sixth embodiment.
[0119] As shown in FIG. 20, the information processing device 10 according to the sixth embodiment may display a plurality of three-dimensional images so as to rotate. In the example shown in FIG. 20, only the upper left three-dimensional image is displayed so as to rotate, but other three-dimensional images may also be displayed so as to rotate. For example, all of the displayed three-dimensional images may be displayed so as to rotate, or some of the plurality of three-dimensional images may be displayed so as to rotate. Note that which three-dimensional image is to be rotated may be set in advance by a user or the like, or may be automatically determined according to various parameters of the three-dimensional image.
[0120] When a plurality of three-dimensional images are displayed so as to rotate, the rotation directions of the images may be the same or different. The rotation speeds may be the same or different. The rotation direction and rotation speed of each three-dimensional image may be changed automatically midway. That is, a three-dimensional image that has been rotating clockwise may start to rotate counterclockwise midway. A three-dimensional image that has been rotating relatively slowly may start to rotate relatively quickly midway. The rotation direction and rotation speed may be set in advance by a user or the like, or may be automatically determined according to various parameters of the three-dimensional image.
[0121] The information processing device 10 according to the sixth embodiment may perform display that emphasizes the difference between multiple three-dimensional images in addition to or instead of the above-mentioned rotation display. Specifically, the multiple three-dimensional images displayed may be compared, and a portion where the difference is large may be highlighted. Examples of highlighting include displaying in a different color, displaying with a shaded area, or surrounding with a frame. To explain in a more specific example, for example, when one three-dimensional image is an image of a face that is blinking (i.e., with the eyes closed) and the other three-dimensional image is an image of a face that is not blinking (i.e., with the eyes open), the area around the eyes of at least one of the three-dimensional images may be highlighted.
[0122] (Technical effect) Next, technical effects obtained by the information processing device 10 according to the sixth embodiment will be described.
[0123] As described in Fig. 19 and Fig. 20, the information processing device 10 according to the sixth embodiment displays a list of multiple three-dimensional images. In this way, it is possible to present more three-dimensional images to the user compared to the case where only one three-dimensional image is displayed. In addition, by arranging and comparing multiple three-dimensional images side by side, it becomes possible to easily distinguish the differences between them.
[0124] Seventh embodiment The information processing device 10 according to the seventh embodiment will be described with reference to Fig. 21 to Fig. 23. The seventh embodiment differs from the fourth to sixth embodiments described above only in some configurations and operations, and other parts may be similar to the fourth to sixth embodiments. Therefore, hereinafter, parts that differ from the embodiments already described will be described in detail, and explanations of other overlapping parts will be omitted as appropriate.
[0125] (Functional configuration) First, the functional configuration of the information processing device 10 according to the seventh embodiment will be described with reference to Fig. 21. Fig. 21 is a block diagram showing the functional configuration of the information processing device according to the seventh embodiment. In Fig. 21, the same elements as those shown in Fig. 10 are denoted by the same reference numerals.
[0126] As shown in Fig. 21, the information processing device 10 according to the seventh embodiment includes, as processing blocks for realizing the functions thereof, an image acquisition unit 110, a first storage unit 120, a first selection unit 130, a three-dimensional image generation unit 140, a second storage unit 150, a second selection unit 160, a display unit 170, and a score calculation unit 180. That is, the information processing device 10 according to the seventh embodiment is configured to further include a score calculation unit 180 in addition to the configuration according to the fourth embodiment (see Fig. 10). Note that the score calculation unit 180 may be realized by the above-mentioned processor 11 (see Fig. 1).
[0127] The score calculation unit 180 is configured to be able to calculate the score of each of the three-dimensional images generated by the three-dimensional image generation unit 140. The "score" here is a score indicating the quality of the three-dimensional image, and for example, the higher the quality of the three-dimensional image, the larger the calculated value. More specifically, the score is calculated according to various conditions, such as whether the three-dimensional image is blurred, whether the state of the object of the three-dimensional image is good (for example, whether the person has closed their eyes), etc. Note that the above example is merely an example, and the score may be calculated using other criteria. In addition, when the score is calculated using multiple conditions, for example, after the score is calculated from each condition one by one, the average value of the scores may be calculated as the final score. Information regarding the score calculated by the score calculation unit 180 is configured to be output to the display unit 170. The display unit 170 switches the display mode of the three-dimensional image according to the score, as described later.
[0128] (Operation flow) Next, the flow of operations of the information processing device 10 according to the seventh embodiment will be described with reference to Fig. 22. Fig. 22 is a flowchart showing the flow of operations of the information processing device according to the seventh embodiment. In Fig. 22, the same processes as those shown in Fig. 11 are denoted by the same reference numerals.
[0129] 22, when the information processing device 10 according to the seventh embodiment operates, first, the image acquisition unit 110 acquires an image set including a plurality of images (step S11). Then, the first storage unit 120 stores the image set acquired by the image acquisition unit 110 (step S12).
[0130] Next, the first selection unit 130 selects a first predetermined number of images across the sets from among the multiple image sets stored in the first storage unit 120 (step S13). Then, the three-dimensional image generation unit 140 generates a three-dimensional image of the subject using the first predetermined number of images selected by the first selection unit 130 (step S14). After that, the second storage unit 150 stores the three-dimensional image set generated by the three-dimensional image generation unit 140 (step S41).
[0131] Here, particularly in the seventh embodiment, the score calculation unit 180 calculates the score of the three-dimensional image (step S71). The score calculation unit 180 outputs the calculated score to the display unit 170. Note that the score calculation may be performed at the timing when the three-dimensional image is generated. Alternatively, the score calculation may be performed immediately before the three-dimensional image is output from the display unit 170.
[0132] Next, the second selection unit 160 selects a second predetermined number of three-dimensional images across the sets from among the multiple three-dimensional image sets stored in the second storage unit 150 (step S42). After that, the display unit 170 outputs the second predetermined number of three-dimensional images selected by the second selection unit 160 as three-dimensional images for display. Here, particularly in the seventh embodiment, the three-dimensional images are output so as to be displayed in a display mode according to the score calculated by the score calculation unit 180 (step S72). The display mode according to the score will be described below with a specific example.
[0133] (Display example) Next, a display mode realized by the information processing device 10 according to the seventh embodiment will be specifically described with reference to Fig. 23. Fig. 23 is a diagram showing an example of a display mode in the information processing device according to the seventh embodiment.
[0134] As shown in FIG. 23, the information processing device 10 according to the seventh embodiment may enlarge and display the three-dimensional image with the highest score. That is, the three-dimensional image with the highest score may be displayed large, while the other three-dimensional images may be displayed small. In the example of FIG. 23, only the three-dimensional image with the highest score is enlarged and displayed, but a plurality of three-dimensional images with higher scores may be enlarged and displayed. For example, three three-dimensional images may be selected in descending order of score, and the selected three three-dimensional images may be enlarged and displayed. The enlargement ratio may be changed according to the score. For example, the three-dimensional image with the highest score may be displayed largest, the three-dimensional image with the second highest score may be displayed second largest, the three-dimensional image with the third highest score may be displayed third largest, and the three-dimensional image with the fourth highest score may be displayed fourth largest. In contrast to the above example, a three-dimensional image with a low score may be enlarged and displayed.
[0135] When changing the display mode according to the score, the score value of each three-dimensional image may be displayed by being superimposed on the three-dimensional image. The score value may be displayed for all three-dimensional images, or may be displayed only for the three-dimensional image with the highest score or for multiple three-dimensional images with top scores. The score may be displayed as a numerical value, a graph, or the like.
[0136] It should be noted that the manner in which the three-dimensional image is enlarged and displayed as described above is merely one example, and various display manners may be realized by utilizing the calculated score of each image.
[0137] The information processing device 10 according to the seventh embodiment may highlight only the three-dimensional images with high scores, for example. For example, the three-dimensional image with the highest score or the three-dimensional image with the top scores may be displayed in a different color, shaded, or framed. When highlighting, only the three-dimensional image with the highest score may be highlighted, or multiple three-dimensional images with the top scores may be highlighted.
[0138] The information processing device 10 according to the seventh embodiment may be configured to display only images with high scores. For example, only three-dimensional images with scores equal to or greater than a predetermined threshold may be displayed, and three-dimensional images with scores below the predetermined threshold may not be displayed. In this case, the predetermined threshold may be appropriately set by the user. Also, only a predetermined number of three-dimensional images with top scores may be displayed, and other three-dimensional images may not be displayed. In this case, the predetermined number may be appropriately set by the user.
[0139] The information processing device 10 according to the seventh embodiment may display three-dimensional images sorted in order of score. For example, the three-dimensional images may be displayed sorted in order of highest score. In this case, three-dimensional images with lower scores may not be displayed. That is, only three-dimensional images with relatively high scores may be displayed sorted in order of score. Alternatively, three-dimensional images may be displayed sorted in order of lowest score. In this case, three-dimensional images with higher scores may not be displayed. That is, only three-dimensional images with relatively low scores may be displayed sorted in order of score.
[0140] The information processing device 10 according to the seventh embodiment may rotate and display only the three-dimensional images with high scores (for the rotation display, see the sixth embodiment). For example, the three-dimensional image with the highest score may be rotated, or multiple three-dimensional images with high scores may be rotated. Furthermore, the rotation direction and rotation speed of the three-dimensional image may be changed according to the score. For example, the image with the high score may be rotated quickly, while the three-dimensional image with the low score may be rotated slowly.
[0141] (Technical effect) Next, technical effects obtained by the information processing device 10 according to the seventh embodiment will be described.
[0142] 21 to 23, in the information processing device 10 according to the seventh embodiment, the display mode of the three-dimensional image is changed according to the calculated score. In this way, it is possible to present the three-dimensional image to the user in a more appropriate mode according to the score (in other words, the quality) of the three-dimensional image.
[0143] Eighth embodiment The information processing device 10 according to the eighth embodiment will be described with reference to Fig. 24 and Fig. 25. The eighth embodiment differs from the fourth to seventh embodiments described above only in some configurations and operations, and other parts may be similar to the fourth to seventh embodiments. Therefore, hereinafter, parts that differ from the embodiments already described will be described in detail, and explanations of other overlapping parts will be omitted as appropriate.
[0144] (Functional configuration) First, the functional configuration of the information processing device 10 according to the eighth embodiment will be described with reference to Fig. 24. Fig. 24 is a block diagram showing the functional configuration of the information processing device according to the eighth embodiment. In Fig. 24, the same elements as those shown in Fig. 10 are denoted by the same reference numerals.
[0145] As shown in Fig. 24, the information processing device 10 according to the eighth embodiment includes, as processing blocks for realizing the functions thereof, an image acquisition unit 110, a first storage unit 120, a first selection unit 130, a three-dimensional image generation unit 140, a second storage unit 150, a second selection unit 160, a display unit 170, and a selection operation detection unit 190. That is, the information processing device 10 according to the eighth embodiment is configured to further include a selection operation detection unit 190 in addition to the configuration according to the fourth embodiment (see Fig. 10). Note that the selection operation detection unit 190 may be realized by the above-mentioned processor 11 (see Fig. 1).
[0146] The selection operation detection unit 190 is configured to be capable of detecting an operation of selecting a three-dimensional image by a user. The selection operation detection unit 190 is capable of detecting an operation of a user by, for example, the input device 15 (see FIG. 1). The selection operation detection unit 190 may detect an operation of selecting one three-dimensional image from a plurality of three-dimensional images being displayed. The selection operation detection unit 190 may detect an operation of selecting two or more three-dimensional images from a plurality of three-dimensional images being displayed. When the selection operation is detected, the selection operation detection unit 190 outputs information specifying the selected three-dimensional image to the display unit 170. The display unit 170 switches the display mode of the three-dimensional image according to the selection operation as described later.
[0147] (Operation flow) Next, the flow of operations of the information processing device 10 according to the eighth embodiment will be described with reference to Fig. 25. Fig. 25 is a flowchart showing the flow of operations of the information processing device according to the eighth embodiment. In Fig. 25, the same processes as those shown in Fig. 11 are denoted by the same reference numerals.
[0148] 25, when the information processing device 10 according to the eighth embodiment operates, first, the image acquisition unit 110 acquires an image set including a plurality of images (step S11). Then, the first storage unit 120 stores the image set acquired by the image acquisition unit 110 (step S12).
[0149] Next, the first selection unit 130 selects a first predetermined number of images across sets from among the multiple image sets stored in the first storage unit 120 (step S13). Then, the three-dimensional image generation unit 140 generates a three-dimensional image of the subject using the first predetermined number of images selected by the first selection unit 130 (step S14).
[0150] Next, the second storage unit 150 stores the three-dimensional image set generated by the three-dimensional image generation unit 140 (step S41). Then, the second selection unit 160 selects a second predetermined number of three-dimensional images across the sets from among the multiple three-dimensional image sets stored in the second storage unit 150 (step S42). After that, the display unit 170 outputs the second predetermined number of three-dimensional images selected by the second selection unit 160 as three-dimensional images for display (step S43).
[0151] After that, particularly in the eighth embodiment, the selection operation detection unit 190 detects a selection operation by the user (step S81), and switches the display mode of the three-dimensional image according to the detected selection operation (step S82).
[0152] (Display example) In the information processing device 10 according to the eighth embodiment, the display mode may be appropriately switched according to the three-dimensional image selected by the user's operation. The display mode in this case may be the same as the display mode described in the seventh embodiment.
[0153] The information processing device 10 according to the eighth embodiment may, for example, enlarge and display the three-dimensional image selected by the user. Alternatively, the three-dimensional image selected by the user may be highlighted. Alternatively, only the three-dimensional image selected by the user may be displayed. Alternatively, the three-dimensional image selected by the user may be displayed so as to rotate.
[0154] In addition, the information processing device 10 according to the eighth embodiment may display a slide show of three-dimensional images selected by the user. In this case, the three-dimensional images may be displayed in the order selected by the user. Alternatively, a plurality of two-dimensional images may be displayed for the three-dimensional image selected by the user. For example, when the three-dimensional image is an image of a person's face, a two-dimensional image of the face viewed from the right side, a two-dimensional image of the face viewed from the left side, a two-dimensional image of the face viewed from above, etc. may be displayed based on the selected three-dimensional image.
[0155] The above-described display example is merely an example, and various display modes may be adopted according to a selection operation by a user. For example, a three-dimensional image may be stereoscopically displayed using AR (Augmented Reality) or hologram technology.
[0156] (Technical effect) Next, technical effects obtained by the information processing device 10 according to the eighth embodiment will be described.
[0157] 24 and 25, in the information processing device 10 according to the eighth embodiment, the display mode of the three-dimensional image is changed in response to a selection operation by the user. In this way, it is possible to present the three-dimensional image in a more appropriate mode in response to the user's operation (in other words, reflecting the user's intention).
[0158] <Specific application examples> A specific application example of the information processing apparatuses according to the above-mentioned first to eighth embodiments will be described.
[0159] (3D facial shape measurement device) The above-described embodiments are applicable to a three-dimensional facial shape measuring device that measures the three-dimensional shape of a face. The three-dimensional facial shape measuring device can measure the three-dimensional shape of a person's face as a subject by capturing an image of the person's face using two cameras, one on the left and one on the right, and synthesizing the images. More specifically, the right camera captures an image of the right side of the face, and the left camera captures an image of the left side of the face. Then, the shape of the right side of the face created from the image of the right side of the face and the shape of the left side of the face created from the image of the left side of the face are synthesized to create a three-dimensional shape of the entire face of the person (for example, up to the ears). The three-dimensional facial shape measuring device may capture an image while irradiating the subject with a sine wave pattern, for example, and perform measurement using a sine wave grating shift method.
[0160] The scope of each embodiment also includes a processing method in which a program that operates the configuration of each embodiment to realize the functions of the above-mentioned embodiments is recorded on a recording medium, the program recorded on the recording medium is read as code, and the program is executed on a computer. That is, a computer-readable recording medium is also included in the scope of each embodiment. Furthermore, not only the recording medium on which the above-mentioned program is recorded, but also the program itself is included in each embodiment.
[0161] Examples of recording media that can be used include floppy disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, magnetic tapes, non-volatile memory cards, and ROMs. In addition, the scope of each embodiment does not include those that execute processing by themselves recorded on the recording media, but also those that execute processing by operating on an OS in cooperation with other software and functions of an extension board.
[0162] This disclosure is not limited to the above-mentioned embodiment. This disclosure can be modified as appropriate within the scope of the claims and the gist or idea of the invention that can be read from the entire specification, and the information processing device, information processing method, computer program, and recording medium that are accompanied by such modifications are also included in the technical idea of this disclosure.
[0163] <Additional Notes> The above-described embodiment may be further described as follows, but is not limited to the following.
[0164] (Appendix 1) The information processing device described in Appendix 1 is an information processing device characterized by comprising an acquisition means for acquiring an image set including a plurality of images captured of a subject, a first storage means for storing a plurality of the image sets, a first selection means for selecting a first predetermined number of images from the plurality of image sets across sets, and a generation means for generating a three-dimensional image of the subject based on the first predetermined number of images.
[0165] (Appendix 2) The information processing device according to Supplementary Note 2 is the information processing device according to Supplementary Note 1, characterized in that the first selection means selects the first predetermined number of images according to a processing capacity of the generation means.
[0166] (Appendix 3) The information processing device described in Appendix 3 is the information processing device described in Appendix 1 or 2, characterized in that the multiple images include an image captured by projecting a sine wave pattern in a sine wave lattice shape onto the subject, an image captured by projecting a luminance gradient pattern in which the luminance value changes linearly onto the subject, and a texture image showing the surface condition of the subject.
[0167] (Appendix 4) The information processing device described in Appendix 4 is the information processing device described in any one of claims 1 to 3, characterized in that it further comprises a second storage means for storing a plurality of three-dimensional image sets, each including a plurality of the three-dimensional images, a second selection means for selecting a second predetermined number of the three-dimensional images from the plurality of the three-dimensional image sets across sets, and a display means for displaying the second predetermined number of the three-dimensional images.
[0168] (Appendix 5) The information processing device described in Supplementary Note 5 is the information processing device described in Supplementary Note 4, characterized in that the second selection means selects the second predetermined number of the three-dimensional images depending on the processing capacity of the display means.
[0169] (Appendix 6) The information processing device described in Supplementary Note 6 is the information processing device described in any one of Supplementary Note 4 or 5, characterized in that the display means displays the second predetermined number of the three-dimensional images in a list.
[0170] (Appendix 7) The information processing device described in Appendix 7 is the information processing device described in any one of Appendixes 4 to 6, further comprising a calculation means for calculating a score according to a predetermined evaluation criterion for each of the second predetermined number of three-dimensional images, and the display means changes the display mode of each of the second predetermined number of three-dimensional images according to the score.
[0171] (Appendix 8) The information processing device described in Appendix 8 is the information processing device described in any one of Appendixes 4 to 7, further comprising a detection means for detecting a selection operation for selecting a portion of the three-dimensional images from the second predetermined number of the three-dimensional images, and the display means changes the display mode of the three-dimensional image selected by the selection operation.
[0172] (Appendix 9) The information processing method described in Appendix 9 is an information processing method characterized by obtaining an image set including a plurality of images captured of a subject, storing a plurality of the image sets, selecting a first predetermined number of images from the plurality of image sets across sets, and generating a three-dimensional image of the subject based on the first predetermined number of images.
[0173] (Appendix 10) The computer program described in Appendix 10 is a computer program characterized by operating a computer to obtain an image set including a plurality of images of a subject, store a plurality of the image sets, select a first predetermined number of images from the plurality of image sets across sets, and generate a three-dimensional image of the subject based on the first predetermined number of images.
[0174] (Appendix 11) The recording medium according to claim 11 is a recording medium having the computer program according to claim 10 recorded thereon.
[0175] To the extent permitted by law, this application claims priority based on Japanese Patent Application No. 2020-198259, filed on November 30, 2020, the disclosure of which is incorporated herein in its entirety. In addition, to the extent permitted by law, all publications and papers described in this specification are incorporated herein by reference. [Explanation of symbols]
[0176] 10. Information processing device 11 Processors 50 Subjects 110 Image acquisition unit 120 1st memory section 130 First Selection Section 140 Three-dimensional image generation unit 150 2nd memory section 160 Second Selection Section 170 Display section 180 Score Calculation Section 190 Selection operation detection unit 210 Imaging unit 220 Projection section
Claims
1. An acquisition means for acquiring an image set including a plurality of images captured of a subject; a first storage means for storing a plurality of the image sets; a first selection means for selecting a first predetermined number of images across a plurality of image sets from the plurality of image sets; a generating means for generating a three-dimensional image of the subject based on the first predetermined number of images; A second storage means for storing a plurality of three-dimensional image sets including a plurality of the three-dimensional images; A second selection means for selecting a second predetermined number of the three-dimensional images from the plurality of three-dimensional image sets across the sets; a display means for displaying the second predetermined number of the three-dimensional images; An information processing device comprising:
2. 2 . The information processing apparatus according to claim 1 , wherein the first selection means selects the first predetermined number of images depending on a processing capacity of the generation means.
3. 3. The information processing device according to claim 1, wherein the plurality of images include an image captured by projecting a sine wave pattern in a sine wave grid shape onto the subject, an image captured by projecting a luminance gradient pattern in which the luminance value changes linearly onto the subject, and a texture image showing the surface condition of the subject.
4. 2 . The information processing apparatus according to claim 1 , wherein the second selection means selects the second predetermined number of the three-dimensional images depending on a processing capacity of the display means.
5. The information processing apparatus according to claim 1 , wherein the display means displays a list of the second predetermined number of the three-dimensional images.
6. A calculation means for calculating a score according to a predetermined evaluation criterion for each of the second predetermined number of the three-dimensional images, The display means changes a display mode of each of the second predetermined number of three-dimensional images in accordance with the score.
2. The information processing apparatus according to claim 1,
7. a detection unit that detects a selection operation of selecting a part of the three-dimensional images from the second predetermined number of the three-dimensional images; The display means changes a display mode of the three-dimensional image selected by the selection operation.
2. The information processing apparatus according to claim 1,
8. Acquire an image set including a plurality of images of a subject; storing a plurality of said image sets; selecting a first predetermined number of images across the sets from the plurality of image sets; generating a three-dimensional image of the subject based on the first predetermined number of images; storing a plurality of three-dimensional image sets each including a plurality of the three-dimensional images; selecting a second predetermined number of the three-dimensional images across the sets from the plurality of three-dimensional image sets; Displaying the second predetermined number of the three-dimensional images 23. An information processing method comprising:
9. Acquire an image set including a plurality of images of a subject; storing a plurality of said image sets; selecting a first predetermined number of images across the sets from the plurality of image sets; generating a three-dimensional image of the subject based on the first predetermined number of images; storing a plurality of three-dimensional image sets each including a plurality of the three-dimensional images; selecting a second predetermined number of the three-dimensional images across the sets from the plurality of three-dimensional image sets; Displaying the second predetermined number of the three-dimensional images A computer program for causing a computer to operate in such a manner.
Citation Information
Patent Citations
Stereographic image display system
JP1991085688A
Image processing system, image preserving device, image processor, image processing method and program
JP2009207709A
Face image synthesizing apparatus
JP2011209916A
Shape measurement device
JP2017037089A
Information processor and information-processing method
WO2017154606A1
