The present disclosure relates to a photographing apparatus, a photographing unit, an image analysis apparatus, and a three-dimensional shape measuring system, and more particularly, to a photographing apparatus that photographs the same object from a plurality of different directions.
In the police, medical fields, beauty industries, and the like, there is a need to generate an image of a three-dimensional shape of a human head. Therefore, a three-dimensional shape measuring system has been developed that uses a plurality of cameras to photograph an object from a plurality of different directions and analyzes a plurality of pieces of obtained image data to measure a three-dimensional shape of the object with high accuracy (PTL 1). A related photographing apparatus photographs an object from a plurality of different directions. A related image analysis apparatus measures a three-dimensional shape of an object based on a plurality of pieces of image data obtained by a related photographing apparatus.
Then, the related image analysis apparatus generates and outputs an image of the three-dimensional shape of the object based on the measurement result. Even in a case where a moving object such as a human is an object to be measured, a plurality of cameras simultaneously or substantially simultaneously photographs the object, so that the photographing can be completed at high speed, and the three-dimensional shape of the object can be measured with high accuracy.
This disclosure aims to improve the techniques disclosed in the aforementioned prior art documents.
A photographing apparatus according to an aspect of the present disclosure includes a plurality of photographing units each of which includes a camera, and a base to which the plurality of photographing units is attached, wherein the plurality of photographing units is allowed to adjust alignment of the respective cameras independently of each other.
An image analysis apparatus according to an aspect of the present disclosure includes an acquisition means configured to acquire, from the photographing apparatus, a plurality of pieces of image data obtained by the plurality of photographing units photographing a same object from different directions, and a calculation means configured to calculate at least part of a three-dimensional shape of the object based on the plurality of pieces of image data.
A three-dimensional shape measuring system according to an aspect of the present disclosure includes the photographing apparatus and the image analysis apparatus.
The first example embodiment will be described with reference to
(Three-Dimensional Shape Measuring System 1)
The three-dimensional shape measuring system 1 may further include an image analysis apparatus 500 described in the fifth example embodiment or an image analysis apparatus 600, 600′ described in the sixth example embodiment. In this case, image data acquired by the right photographing unit 20a and the left photographing unit 20b of the photographing apparatus 200 photographing an object to be measured is transmitted to the image analysis apparatus 500, 600 or 600′ via a wired or wireless network.
A person sits on the chair 100. The chair 100 includes a headrest that supports the position of the head of the person. The headrest fixes the position of the head of the person to be measured. In a case where the object to be measured is not a person but a living creature such as a dog or a snake or an object including an inanimate being having a shape, the three-dimensional shape measuring system 1 may include a member that supports or fixes the living creature or the object instead of the chair 100. Hereinafter, a person, a living creature other than a person, and an inanimate being are collectively referred to simply as an “object”.
As illustrated in
The coupling member 150 couples the chair 100 and the stand 250. The distance between the chair 100 and the stand 250 is maintained constant by the coupling member 150. The constant distance is appropriately determined, for example, according to how finely a user desires to obtain an image and according to the focal distance of a camera 22 (
The photographing apparatus 200 is placed on the stand 250. The base 30 of the photographing apparatus 200 is connected to the stand 250. The shape of the jaw of the face of the person is useful information for identifying the person. However, in the related technique, since the head of the person is photographed from the front, the jaw portion may not be shown in the image data. On the other hand, in the first present example embodiment, the height of stand 250 is set in such a way that the camera 22 of each of the right photographing unit 20a and the right photographing unit 20b photographs the head of the person slightly upward. In this way, the camera 22 can photograph up to the jaw of the face of the person.
In order to further extend the distance D1 from the head of the person to the upper end of the shield plate 10, the offset of the upper end with respect to the lower end of the shield plate 10 may be increased by increasing the inclination of the shield plate 10. In this way, the space in front of the eyes of the person can be expanded, and the oppressive feeling of the person can be alleviated. The distance D1 may be determined in such a way that even when the person extends his/her arm forward, the hand does not reach the upper end of the shield plate 10. As a result, it is possible to prevent a person from holding the upper end of the shield plate 10 and interfering with imaging by the photographing apparatus 200. The inclination of the shield plate 10 can be increased within a range in which the upper end of the shield plate 10 does not contact the photographing unit 20a (20b) behind the shield plate 10.
(Photographing Apparatus 200)
The shield plate 10 prevents a person from coming into contact with the right photographing unit 20a, the left photographing unit 20b, or the center unit 300 of the photographing apparatus 200. This is because, when an external force is applied to the right photographing unit 20a, the left photographing unit 20b, or the center unit 300, there is a possibility that these positions are displaced or the camera 22, 310 or the like is damaged.
In order to prevent or suppress the light from the ceiling illumination from being reflected by the shield plate 10 and illuminating the face of the person, the shield plate 10 is desirably formed of a material having low reflectance. In an example, the shield plate 10 is made of translucent acrylic. Since the reflectance of the shield plate 10 increases as the incident angle of light from the ceiling increases, the angle R (
Furthermore, in order to further reduce reflection of light by the shield plate 10, the surface of the shield plate 10 may be processed. For example, the surface of the shield plate 10 may be painted matte, or may be provided with an uneven structure in such a way as to diffuse light.
As illustrated in
The opening LO4 of the shield plate 10 described above is provided at a position of the shield plate 10 related to the camera lens of the camera 310. The camera 310 can photograph the head of the person through the opening LO4. The shield plate 10 is also provided with an opening for passing light from the light source 320 on the front side of the light source 320. However,
The camera 310 is used by the user to confirm the position of the head of the person. The light source 320 is a so-called pilot lamp that indicates that the photographing apparatus 200 is energized (turned on), and can be used for adjusting the orientation of the head when a person seated on the chair 100 looking at the light source 320. The camera 310 captures an image of the head of a person, and the photographing apparatus 200 displays the image acquired by the camera 310 on a display (not illustrated) in real time. The user checks the position of the head of the person by viewing the image displayed on the display. Then, the user performs adjustment in such a way that the head of the person falls within a predetermined position.
Alternatively, the photographing apparatus 200 may display the image illustrated in
The shield plate 10 and the center unit 300 are optional. That is, the photographing apparatus 200 may not include one or both of the shield plate 10 and the center unit 300. For example, in a case where it is unlikely that a person comes into contact with the right photographing unit 20a and the left photographing unit 20b, the photographing apparatus 200 may not include the shield plate 10. In a case where it is not necessary to position the head of the person, the photographing apparatus 200 may not include the center unit 300. A case where the photographing apparatus 200 does not include both the shield plate 10 and the center unit 300 will be described in the second example embodiment.
As illustrated in
As indicated by an arrow in
As described above, in the photographing apparatus 200 according to the first present example embodiment, the right photographing unit 20a and the left photographing unit 20b can be detached from the base 30 or attached to the base 30 independently of each other. Therefore, when the camera 22 (
In the photographing apparatus 200 according to the first present example embodiment, in a case where it is necessary to readjust the alignment of the camera 22 of the right photographing unit 20a (or the left photographing unit 20b), only the right photographing unit 20a (or the left photographing unit 20b) is removed from the base 30, and the alignment of the camera 22 is allowed to be adjusted. That is, in the photographing apparatus 200 according to the first present example embodiment, the plurality of photographing units (20a, 20b) is allowed to adjust the alignment of the camera 22 independently of each other.
(Modification)
A three-dimensional shape measuring system 1′, which is a modification of the three-dimensional shape measuring system 1 according to the first example embodiment, will be described with reference to
As described above, the D1 represents a distance from the head of the person to the upper end of the shield plate 10. The D2 represents a distance from the backrest of a chair 100′ to the leg of the stand 250.
As illustrated in
In the three-dimensional shape measuring system 1 according to the first example embodiment, D1>D2. This means that the space in front of the person to be measured is wider at a position close to the face than at the feet of the person. Therefore, there is an advantage that the less oppressive feeling given to the person. On the other hand, the three-dimensional shape measuring system 1′ according to the present modification satisfies the relationship D1<=D2. That is, in the three-dimensional shape measuring system 1′ according to the present modification, the distance D1 from the head of the person to the upper end of the shield plate 10 is shorter than that in the three-dimensional shape measuring system 1 according to the first example embodiment illustrated in
An advantage of the present modification is that the user can easily perform maintenance work. In the configuration of the present modification, since the shield plate 10 is not inclined rearward, the user can lift the right photographing unit 20a and the left photographing unit 20b directly upward without paying much attention to contact with the shield plate 10.
The second example embodiment will be described with reference to
(Photographing Apparatus 200)
As illustrated in
Similarly, the left photographing unit 20b is positioned on the base by the other two pins provided on the base 30.
It is meaningful that the right photographing unit 20a is positioned by a set of two pins instead of one pin. A set of two pins determine the position and orientation of the right photographing unit 20a. That is, the positions of the two pins define the position of the right photographing unit 20a on the face of the base 30, and the direction of the straight line passing through the two pins defines the orientation of the right photographing unit 20a on the face of the base 30. Similarly, the left photographing unit 20b is oriented by a set of the other two pins provided on the base 30. The user is only required to align the two recesses or holes provided in the bottom face of the right photographing unit 20a or the left photographing unit 20b with a set of the other two pins provided in the base 30 and fit them. Therefore, the user does not have to adjust the orientations of the right photographing unit 20a and the left photographing unit 20b.
The movement of the right photographing unit 20a and the left photographing unit 20b in the upward direction (the direction away from the base 30) is not limited by the pins. Therefore, it is easy to remove the right photographing unit 20a and the left photographing unit 20b from the base 30. The user is only required to lift the right photographing unit 20a and the left photographing unit 20b obliquely backward.
(Photographing Unit 20a (20b))
The photographing unit 20a (20b) will be described with reference to
Furthermore, the positions of the three openings so1 to so3 of the photographing unit 20a (20b) are related to the positions of the openings LO1 to LO3 of the shield plate 10 described in the first example embodiment. That is, in a case where the photographing unit 20a (20b) according to the second present example embodiment is applied to the three-dimensional shape measuring system 1 according to the first example embodiment, the openings so1 to so3 of the right photographing unit 20a overlap the openings LO1 to LO3 of the shield plate 10 illustrated in
Therefore, the camera 22 of the photographing unit 20a (20b) can photograph the head of the person through the opening so1 of the housing and the opening LO1 of the shield plate. The light source 23 of the photographing unit 20a (20b) irradiates the head of the person through the opening so2 of the housing and the opening LO2 of the shield plate. The projector 24 of the photographing unit 20a (20b) projects a light pattern onto the head of the person through the opening so3 of the housing and the opening LO2 of the shield plate.
By irradiating the object with light from the light source 23, the object can be clearly photographed even in a dark environment. Specifically, an image with small noise (S/N ratio) can be acquired by adapting the wavelength range of the light to be emitted to the wavelength range of the spectrum to be captured.
The pattern of light projected onto the object by the projector 24 changes to a shape along the surface of the object on the surface of the object. Therefore, it is possible to calculate the three-dimensional shape of the object based on the changed shape. As a three-dimensional shape analysis method using a light pattern projected by the projector 24, in an example, a technique related to the technique disclosed in PTL 1 can be applied.
Of the components of the photographing unit 20a (20b) described above, neither the light source 23 nor the projector 24 is essential. That is, the photographing unit 20a (20b) may not include one of the light source 23 and the projector 24 or may include neither of them.
(Alignment Adjustment)
Here, the positioning (alignment adjustment) of the camera 22 included in the photographing unit 20a (20) will be described. The xyz coordinate system illustrated in
In the related technique described in PTL 1, positions and orientations of a plurality of cameras are adjusted in advance and then fixed to a support member. An external force such as an impact may cause the position or orientation of any of the cameras to deviate or cause a failure in any of the cameras. In such a case, it is necessary to move the plurality of cameras together with the support member in order to repair or replace one camera. Therefore, the alignment of the plurality of cameras is required to be adjusted again.
On the other hand, the photographing unit 20a and the photographing unit 20b are allowed to adjust the alignment of the camera 22 independently of each other. In an example, the photographing unit 20a (20b) includes the main body 21 connected to the base 30, the camera 22 is fixed to the main body 21, and the orientation of the camera 22 is adjusted with reference to the base 30.
Since the plurality of photographing units 20a and 20b is both attached to the base 30, it can be said that the plurality of photographing units 20a and 20b share a coordinate system. With the base 30 as a reference, it is possible to save time and effort to determine a common coordinate system before the orientations of the cameras 22 of the plurality of photographing units 20a and 20b are independently adjusted.
The specific examples of alignment adjustment will be described in the following example embodiments 3 and 4. In an example, the photographing unit 20a (20b) of the photographing apparatus 200 may include one or both of the structures in which alignment adjustment described in the third example embodiment and the fourth example embodiment is implement.
The third example embodiment will be described with reference to
In the third present example embodiment, a fitting means to be fitted to the base 30 is attached to the main body 21 of the photographing unit 20a (20b), and there is a clearance at a position of the main body 21 to which the fitting means can be attached. The orientation of the photographing unit 20a (20b) is allowed to be adjusted on the base 30 by changing the position of the fitting means attached to the main body 21.
When the fitting means attached to the main body 21 is fitted to the base 30, the photographing unit 20a (20b) is positioned. Since there is a clearance at the position of the main body 21 to which the fitting means can be attached, the orientation of the photographing unit 20a (20b) is allowed to be adjusted by changing the position of the fitting means within this clearance. Specifically, the position of the fitting means is allowed to be adjusted in such a way as to change the orientation of the camera 22 fixed to the main body 21 of the photographing unit 20a (20b). That is, the orientation of the camera 22 is allowed to be adjusted by adjusting the position of the fitting means.
Hereinafter, an example of a configuration of the third present example embodiment will be described in detail.
(Left-Right Direction Alignment)
First, a procedure for adjusting the orientation of the camera 22 in the positive and negative directions of the x axis, that is, the left-right direction when the positive direction of the y axis is the front direction will be described.
The shape and arrangement of the three holes G0-G2 of the main body 21 illustrated in
As in
An example of an alignment adjustment method will be described with reference to
The user first fits the bottom face of the main body 21 to the pins A and B. The pin A is fitted into a recess or hole F1 (
The central axis of rotation of the main body 21 preferably passes through the pin A and the camera 22. That is, the pin A, which is a fulcrum of rotation, is preferably installed directly below the camera 22. As a result, when the main body 21 is rotated around the central axis, the position of the camera 22 in the positive and negative directions of the x axis (left-right direction) does not change, so that the alignment in the left-right direction can be easily adjusted.
The fourth example embodiment will be described with reference to
In the fourth present example embodiment, the main body 21 of the photographing unit 20a (20b) is provided with a plurality of screw holes, the camera 22 is fixed to the main body 21 by inserting screws (tips of bolts) into the camera 22 through the plurality of screw holes, and the diameter of at least one screw hole is larger than the thickness of the screw passed through the screw hole. After inserting screws into the camera 22 and temporarily fixing the camera 22 to the main body 21, the orientation of the camera 22 is allowed to be adjusted by moving the screws within the range of the diameter of the screw holes. Here, the “photographing unit 20a (20b)” means the right photographing unit 20a or the left photographing unit 20b.
A diameter of at least one of the plurality of screw holes provided in the main body 21 of the photographing unit 20a (20b) is larger than a thickness of the screw. This means that the screw can be freely moved in the screw hole. When the position of the screw is determined, the orientation of the camera 22 in the z-axis direction (that is, the vertical direction when the positive direction of the y-axis is the front direction) is determined. That is, the alignment of the camera 22 is allowed to be adjusted by moving the position of the screw. After positioning the screw, the screw is tightly fastened, so that the movement of the screw can be stopped by friction between the head of the screw and the main body.
Hereinafter, an example of a configuration of the fourth present example embodiment will be described in detail.
(Vertical Direction Alignment)
Secondly, a procedure for adjusting the orientation of the camera 22 in the positive and negative directions of the z axis, that is, the vertical direction when the positive direction of the y axis is the front direction will be described.
However, the second screw hole H2 and the third screw hole H3 are not necessarily larger than the first screw hole h1. For example, the thickness of the screw passing through the second screw hole H2 and the third screw hole H3 may be smaller than the thickness of the screw passing through the first screw hole h1. In this case, a size relationship between the first screw hole h1, and the second screw hole H2 and the third screw hole H3 is not limited.
As illustrated in
Thereafter, the user performs alignment adjustment by a procedure illustrated in
The fifth example embodiment will be described with reference to
(Image Analysis Apparatus 500)
The acquisition unit 510 acquires, from the photographing apparatus 200 (
In an example, the acquisition unit 510 connects communication with the photographing apparatus 200 using a communication unit (not illustrated) (installed on the back face of the base 30). The plurality of pieces of image data acquired by the right photographing unit 20a and the left photographing unit 20b is transmitted from the photographing apparatus 200 via the network. The acquisition unit 510 receives a plurality of pieces of image data transmitted from the photographing apparatus 200.
The acquisition unit 510 outputs the plurality of pieces of acquired image data to the calculation unit 520.
The calculation unit 520 calculates at least part of the three-dimensional shape of the object (in an example, the head of the person) based on the plurality of pieces of image data. The calculation unit 520 is an example of the calculation means.
In an example, the calculation unit 520 calculates the distance from the reference position (for example, the midpoint between the right photographing unit 20a and the left photographing unit 20b) to the measurement point based on the parallax between the measurement point on the image data acquired by the right photographing unit 20a and the same measurement point on the image data acquired by the left photographing unit 20b. The calculation unit 520 calculates at least part of the three-dimensional shape of the object by mapping a plurality of measurement points on the object appearing in the image data and calculating the distance to each measurement point by the above-described method.
As illustrated in
In a case where the right photographing unit 20a and the left photographing unit 20b include the projector 24 (
The sixth example embodiment will be described with reference to
(Image Analysis Apparatus 600)
The description of the acquisition unit 510 and the calculation unit 520 in the fifth example embodiment is cited, and the description thereof will be omitted here.
The combining unit 630 combines the plurality of pieces of image data to generate image data indicating at least part of the three-dimensional shape of the object. The combining unit 630 is an example of the combining means.
By photographing the same object from different directions, a plurality of pieces of image data can be obtained. By combining these pieces of image data, image data indicating at least part of the three-dimensional shape of the object can be obtained. By using the combined image data, for example, the object can be accurately identified regardless of the orientation of the object.
In an example, the combining unit 630 uses a known image technology such as integral photography. The combining unit 630 receives, from the acquisition unit 510, a plurality of pieces of image data obtained by photographing the same object from different directions and acquires, from the calculation unit 520, data of the 3D model (
The combining unit 630 may output the combined image data to a display or the like. Alternatively, the combining unit 630 may store the combined image data in a storage device (not illustrated).
An advantage of the combined image data is that the user can see various sides of the object to be measured (for example, the head of a person). For example, the left side of the head of the person is photographed by the right photographing unit 20a, and the right side of the head of the person is photographed by the left photographing unit 20b, whereby image data in which the shape of the left ear of the person can be known and image data in which the shape of the right ear of the person can be known are obtained. By combining these pieces of image data, combined image data in which the shapes of both ears can be viewed is obtained.
(Modification)
As a modification, a configuration for correcting a plurality of pieces of image data before the combining unit 630 combines the plurality of pieces of image data will be described.
The image analysis apparatus 600′ according to the present modification is different from the image analysis apparatus 600 according to the sixth example embodiment in that it further includes the correction unit 640.
The correction unit 640 corrects an inconsistency between the plurality of pieces of image data based on a deviation in adjustment of the orientation of the camera 22. The correction unit 640 is an example of the correction means. In the sixth present example embodiment, the combining unit 630 (an example of the combining means) combines a plurality of pieces of corrected image data.
The position and orientation of the camera 22 are determined by adjustment of the alignment, but there may be a deviation from the reference. In the present modification, the correction unit 640 corrects the influence of the deviation by calibration, thereby obtaining image data in a case where the camera 22 is at the reference position and direction. By combining the corrected image data, the combining unit 630 can obtain image data with less inconsistency than that in a case where the image data before correction is combined. That is, image data indicating the accurate three-dimensional shape of the object can be obtained.
In an example, first, the correction unit 640 assumes that the alignment adjustment (
In an example, the correction unit 640 calculates the actual orientation for each of the camera 22 included in the right photographing unit 20a and the camera 22 included in the left photographing unit 20b based on the first parameter and the second parameter identified in the above-described procedure. Then, the correction unit 640 calibrates the image data acquired by the right photographing unit 20a based on the calculation result of the orientation of the camera 22 included in the right photographing unit 20a. The correction unit 640 calibrates the image data acquired by the right photographing unit 20b based on the calculation result of the orientation of the camera 22 included in the right photographing unit 20b.
In one modification, the correction unit 640 may present how much the actual orientation of the camera 22 deviates from the reference by any means for each of the camera 22 included in the right photographing unit 20a and the camera 22 included in the left photographing unit 20b, or may request the user to adjust the alignment of the camera 22.
The correction unit 640 outputs the plurality of pieces of image data corrected as described above to the combining unit 630. As described above, in the present modification, the combining unit 630 combines the plurality of pieces of image data corrected by the correction unit 640 instead of the plurality of pieces of image data acquired by the acquisition unit 510.
[Hardware Configuration]
Each component of the image analysis apparatus 500, 600, 600′ described in the fifth to sixth example embodiments and the modifications represents a functional unit block. Some or all of these components are implemented by an information processing device 900 as illustrated in
As illustrated in
The above-described processor 901 may be a central processing unit (CPU). Alternatively, the processor 901 may be a graphics processing unit (GPU), a field-programmable gate array (FPGA), a demand-side platform (DSP), or an application specific integrated circuit (ASIC).
The components of the image analysis apparatus 500, 600, 600′ described in the fifth to sixth example embodiments are implemented by the CPU 901 reading and executing a program 904 that implements these functions. The program 904 for achieving the function of each component is stored in the storage device 905 or the ROM 902 in advance, for example, and the CPU 901 loads the program into the RAM 903 and executes the program as necessary. The program 904 may be supplied to the CPU 901 via the communication network 909, or may be stored in advance in the recording medium 906, and the drive device 907 may read the program and supply the program to the CPU 901.
[Supplementary Note]
Some or all of the above example embodiments may be described as the following Supplementary Notes, but are not limited to the following.
(Supplementary Note 1)
A photographing apparatus including
(Supplementary Note 2)
The photographing apparatus according to Supplementary Note 1, wherein
(Supplementary Note 3)
The photographing apparatus according to Supplementary Note 2, wherein
(Supplementary Note 4)
The photographing apparatus according to Supplementary Note 3, wherein
(Supplementary Note 5)
The photographing apparatus according to any one of Supplementary Notes 2 to 4, wherein
(Supplementary Note 6)
The photographing apparatus according to Supplementary Note 5, wherein
(Supplementary Note 7)
The photographing apparatus according to any one of Supplementary Notes 1 to 6, wherein
(Supplementary Note 8)
The photographing apparatus according to any one of Supplementary Notes 1 to 7, wherein
(Supplementary Note 9)
A photographing unit included in the photographing apparatus according to any one of Supplementary Notes 1 to 8.
(Supplementary Note 10)
The photographing unit according to Supplementary Note 9, further including
(Supplementary Note 11)
The photographing unit according to Supplementary Note 9 or 10, further including
(Supplementary Note 12)
An image analysis apparatus including
(Supplementary Note 13)
The image analysis apparatus according to Supplementary Note 12, further including
(Supplementary Note 14)
The image analysis apparatus according to Supplementary Note 13, further including
(Supplementary Note 15) A three-dimensional shape measuring system including
In an example, the present disclosure can be used in a photographing apparatus including a plurality of cameras and capable of photographing an object from different directions.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2020/030912 | 8/14/2020 | WO |