Measurement method, measurement system and program for measurement

By using multiple cameras to capture and statistically process images of a moving calibration target and object, the method addresses illumination variations, enhancing color accuracy in three-dimensional photographic measurements of moving objects.

JP2024134526APending Publication Date: 2024-10-03NAT AGRI & FOOD RES ORG
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024026687
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2024-02-26
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing three-dimensional photographic measurement techniques for moving objects, such as carcasses, struggle with maintaining accurate color reproduction due to varying illumination conditions caused by the object's movement, which is not addressed by existing stationary object calibration methods.

Method used

A method involving multiple cameras surrounding a space to capture images of a moving calibration target and object, obtaining calibration data at multiple positions, and correcting image brightness and color using statistical processing to align with the object's position, ensuring consistent illumination conditions.

Benefits of technology

Effectively corrects brightness and color inconsistencies in images of moving objects, improving color reproducibility and accuracy in three-dimensional models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024134526000001_ABST
    Figure 2024134526000001_ABST
Patent Text Reader

Abstract

To effectively calibrate the brightness and color of a photographed image of a moving object.SOLUTION: Provided is a measurement method using a camera group 110 surrounding a photographic space 120 and photographing a carcass 101 which moves in the photographic space 120, the measurement method allowing the camera group 110 a plurality of times to photograph a calibration target 200 which moves in the photographic space 120, thereby obtaining a photographed image of the calibration target 200 from a plurality of different viewpoints viewed from the calibration target 200, obtaining calibration data concerning brightness and color on each of the plurality of the viewpoints on the basis of the photographed image of the calibration target 200, allowing the camera group 110 to photograph a plurality of times the carcass 101 which moves in the photographic space 120 on the same route as that of the calibration target to obtain image data of the carcass 101, and calibrating the image data of the carcass 101 according to the calibration data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for three-dimensional photogrammetry of a moving object. [Background technology]

[0002] In the field of meat distribution, a technique for performing three-dimensional photo measurement of a moving carcass is known (see, for example, Patent Document 1 and Patent Document 2). In addition, Patent Document 3 describes a calibration (correction process) for reducing color errors in three-dimensional photo measurement. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2020-144122 A [Patent Document 2] WO2018-167089 publication [Patent Document 3] JP 2012-194126 A Summary of the Invention [Problem to be solved by the invention]

[0004] For example, when performing three-dimensional photographic measurement of carcasses, in addition to the accuracy of the obtained three-dimensional data, high reproducibility of color in the image is required. This is because information on the color of the carcass is important for judging meat quality. Patent Document 3 describes ideas for reproducibility of color information.

[0005] Incidentally, when carcasses are the target, the carcasses that are suspended and moving are guided into an area where multiple cameras are arranged, and images are taken there for three-dimensional photogrammetry (see Patent Documents 1 and 2). In this case, since there are many carcasses and they move one after another, it is necessary to take images of the moving carcasses, because it is inefficient to stop the line every time an image is taken.

[0006] When an object moves, the degree to which the light hits the object changes depending on the object's position, and the state of the reflected light also changes depending on the object's position. The technology in Patent Document 3 is based on the premise that the object is stationary relative to the camera, and therefore cannot handle situations in which the state of the reflected light changes at different positions.

[0007] In this context, an object of the present invention is to provide a technique that can effectively correct the brightness and color of a captured image of a moving object. [Means for solving the problem]

[0008] The present invention is a measurement method that uses a plurality of cameras that surround a specific space and photograph an object moving through the space, and by photographing a calibration target moving through the space multiple times with the multiple cameras, photographed images of the calibration target from a plurality of different viewpoints as seen from the calibration target are obtained, calibration data related to brightness and color at each of the multiple viewpoints is obtained based on the photographed images of the calibration target, a measurement object moving through the space along the same path as the calibration target is photographed multiple times with the multiple cameras to obtain image data of the measurement object, and the image data of the measurement object is corrected using the calibration data, so that the position in the space of the calibration target from which the calibration data was obtained is the same as the position of the measurement object in the space from which the image data was obtained.

[0009] In the present invention, the measurement object may be a carcass, and the carcass and the calibration target may be arranged such that the calibration target first passes through the space, and then the carcass passes through the space. In the present invention, the calibration data may be acquired when the calibration target passes through the space, and the image data may be acquired when the carcass passes through the space.

[0010] In the present invention, the calibration data is acquired at a plurality of positions in the space of the calibration target, and the image data is acquired at the plurality of positions in the space of the measurement object. In the present invention, a plurality of captured images of a specific portion of the measurement object are obtained by capturing the specific portion at the plurality of positions by the plurality of cameras, and the plurality of captured images of the specific portion are statistically processed to correct brightness and color of the images of the specific portion.

[0011] In the present invention, the statistical processing may be processing for obtaining average values ​​of brightness and color or processing for obtaining intermediate values. In the present invention, the space is illuminated, and the calibration data differs depending on the position in the space. In the present invention, the measurement object is a carcass, and the calibration target has a structure approximating the carcass to a columnar shape and size.

[0012] The present invention is a measurement system comprising a plurality of cameras which surround a specific space and photograph an object moving through the space, means for photographing a calibration target moving through the space a plurality of times with the plurality of cameras to obtain photographed images of the calibration target from a plurality of different viewpoints as seen from the calibration target, means for obtaining calibration data relating to brightness and color at each of the plurality of viewpoints based on the photographed images of the calibration target, means for photographing a measurement object moving through the space on the same path as the calibration target a plurality of times with the plurality of cameras to obtain image data of the measurement object, and means for correcting the image data of the measurement object using the calibration data, wherein the position in the space of the calibration target from which the calibration data was obtained is the same as the position in the space of the measurement object from which the image data was obtained.

[0013] The present invention is a measurement program that causes a computer to perform measurements using a plurality of cameras that surround a specific space and photograph an object moving through the space, the measurement program causing a computer to photograph a calibration target moving through the space a plurality of times with the plurality of cameras, thereby obtaining photographed images of the calibration target from a plurality of different viewpoints as seen from the calibration target, obtaining calibration data related to brightness and color at each of the plurality of viewpoints based on the photographed images of the calibration target, obtaining image data of the measurement object by photographing a measurement object moving through the space along the same path as the calibration target a plurality of times with the plurality of cameras, and correcting the image data of the measurement object using the calibration data, so that the position in the space of the calibration target from which the calibration data was obtained is the same as the position in the space of the measurement object from which the image data was obtained. Effect of the Invention

[0014] According to the present invention, it is possible to effectively correct the brightness and color of a captured image of a moving object. [Brief description of the drawings]

[0015] [Figure 1] FIG. 1 is a diagram illustrating an overview of a system according to an embodiment. [Diagram 2] FIG. 2 is an external view of a calibration target. [Diagram 3] FIG. 2 is a block diagram of a data processing device. [Figure 4] 11 is a flowchart illustrating an example of a processing procedure. [Diagram 5] 11 is a flowchart illustrating an example of a processing procedure. [Figure 6] 1 is a photograph in lieu of a drawing showing a display image of a color three-dimensional model image of a carcass. [Figure 7] 1 is a drawing substitute photograph showing a display image of a color three-dimensional model image of a carcass. [Figure 8] 1 is a drawing substitute photograph showing a display image of a color three-dimensional model image of a carcass. [Figure 9] 1 is a drawing substitute photograph showing a display image of a color three-dimensional model image of a carcass. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] (overview) In a three-dimensional model of a carcass based on three-dimensional photographic measurement, it is important that color information can be accurately reproduced in order to determine meat quality. According to experiments by the inventors, depending on the position of the carcass (the carcass moves), unevenness in the reflection of the lighting occurs, which hinders the reproduction of color information. Therefore, the brightness information and color information are calibrated in advance to obtain correction data for the brightness and color of the image data in advance.

[0017] The carcass moves through a camera circle, which has multiple cameras arranged around the transport path. During this process, images are taken for 3D photo measurement. The inside of the camera circle (the path the carcass moves through) is illuminated by lighting equipment. This lighting is carefully installed to avoid unevenness, but in reality the lighting that hits the carcass varies depending on the position within the camera circle.

[0018] Therefore, calibration data relating to brightness and color is obtained using a calibration target at a plurality of positions, and then images of the carcass are taken at the positions of the calibration targets during calibration photography.

[0019] For example, a moving carcass is at position Y1 in the camera circle at time T1, and at position Y2 at time T2.

[0020] In this case, the calibration data obtained when the calibration target was located at position Y1 is used to correct the brightness and color of the image data obtained by photographing the carcass located at position Y1. Similarly, the calibration data obtained when the calibration target was located at position Y2 is used to correct the brightness and color of the image data obtained by photographing the carcass located at position Y2.

[0021] The degree to which the light hits the carcass varies depending on the position of the carcass. This is because the positional relationship between the carcass and the lighting device varies depending on the position of the carcass. The same can be said about the calibration target. Therefore, the calibration data differs depending on the position of the calibration target.

[0022] Therefore, by using calibration data corresponding to the position of the carcass, the occurrence of errors in brightness and color due to differences in the lighting conditions described above can be reduced.

[0023] (System Configuration) 1 shows a calibration target 200 and a carcass 101 that are hung and transported in the positive direction of the Y axis. Note that behind the carcass 101 (in the negative direction of the Y axis), there are many more carcasses, but these are not shown. The type of carcass 101 is not particularly limited. For example, the carcasses may be those of beef or pork.

[0024] The calibration target 200 and the carcass 101 are photographed by a camera group (camera circle) 110 composed of multiple cameras. The camera group 110 is composed of multiple cameras arranged to surround a photography space 120. The photography space 120 is a substantially cylindrical space.

[0025] The calibration target 200 and the carcass 101 pass through the photography space 120, and at this time, the camera group 110 photographs the calibration target 200 and the carcass 101. Using the photographed image obtained at this time, calibration data (data for calculating exterior orientation parameters, data for correcting the brightness and color of the photographed image) using the calibration target 200 is obtained, and three-dimensional photographic measurement of the carcass 101 is performed.

[0026] The position and orientation of each of the cameras constituting the camera group 110 are adjusted so that the calibration target 200 and the carcass 101 moving in the shooting space can be shot without any blind spots, and the shooting ranges of the cameras adjacent to each other on the top, bottom, left and right partially overlap. In other words, two cameras adjacent to each other on the top, bottom, left and right are set to form a stereo camera. Each of the cameras constituting the camera group 110 is connected to the data processing device 300 via a communication line. The communication line may be a wired line or a wireless line.

[0027] The photography space 120 is illuminated by lighting devices 121 to 124. The calibration target 200 and the carcass 101 passing through the photography space 120 are illuminated by the lighting devices 121 to 124.

[0028] The calibration target 200 and carcass 101 are hung from conveying means 103 and conveyed in the positive direction of the Y axis in the figure. The conveying means 103 has, for example, a conveying rail 105 and a hanging hanger 104 that is fixed to the conveying rail 105 and holds the carcass 101 by suspending it from the conveying rail. The conveying rail 105 is driven by an automatic or manual means (not shown) to move in the Y axis direction in the figure, whereby the carcass 101 moves in the positive direction of the Y axis. This movement mechanism is the same for the other carcasses and calibration targets 200.

[0029] The cameras constituting the camera group 110 are digital still cameras capable of taking color still images. A camera that takes color moving images can also be used. In this case, three-dimensional photo measurement is performed using frame images that make up the moving images. The interior orientation parameters of each camera in the camera group 110 are acquired in advance.

[0030] FIG. 2 is an external view of the calibration target 200. The calibration target 200 is a target for calculating the exterior orientation parameters of each camera constituting the camera group 110 and acquiring calibration data, which is correction information related to brightness and color. The calibration target 200 has a roughly cylindrical or polygonal prism (octagonal prism in the case of FIG. 1) structure that approximates the shape and size of the carcass 101, and a large number of colored identification targets are arranged on its surface (side and top surface). Each identification target can be individually identified by a photographed image, its center position can be specified, and it has a display pattern that determines a predetermined color pattern and brightness (luminosity). Each of these identification targets functions as an orientation target.

[0031] The calibration target 200 has a columnar structure whose shape and size are similar to those of the carcass 101. If the calibration target and the measurement object differ in shape and size, a difference in the way the light hits the target will occur, increasing calibration errors. By using a calibration target whose shape and size are as close as possible to the measurement object, this problem can be suppressed and the accuracy of correction regarding brightness and color can be further improved.

[0032] The calibration target 200 may have a shape that does not have a constant diameter in the vertical direction (axial direction) and has a narrowed or expanded diameter portion to match the shape of the carcass. As shown in the drawing substitute photograph of Fig. 6, the diameter of the suspended carcass is not constant in the vertical direction. Therefore, a columnar shape (approximately cylindrical or polygonal shape) with a variable diameter in the vertical direction may be used as the calibration target to better match the shape of the carcass.

[0033] The identification target has a display pattern for providing calibration data related to brightness and color. For example, a brightness preset in the identification target for providing the brightness calibration data is compared with the brightness of a captured image of the identification target. If there is a difference between the preset brightness and the brightness of the captured image of the identification target, correction data for correcting the difference is obtained as calibration data, and the actual captured image is corrected by this correction data. In this way, calibration related to brightness is performed.

[0034] Also, the known colors (RGB) of the identification target that provide the color (RGB) calibration data are compared with the colors of the captured image of the identification target. If there is a difference between the RGB data of the captured image of the identification target and the known RGB data, correction data for correcting the difference is obtained as calibration data, and the color tone of the actual captured image is corrected using this correction data, thereby performing color (RGB) calibration. Note that the positions of each identification target on the calibration target 200 (the positional relationship and distance between each identification target) and the shape and dimensions of the calibration target 200 are acquired in advance as known data.

[0035] The position and orientation of each camera constituting the camera group 110 are calculated by relative orientation and absolute orientation using as reference points a plurality of identification targets arranged on the surface of the calibration target 200. In addition, the brightness and color information of the plurality of identification targets arranged on the surface of the calibration target 200 is used to obtain calibration data, which is information for correcting the brightness and color of the images captured by each camera.

[0036] When using an inexpensive camera, subtle variations in brightness and color reproduction in the captured image are likely to occur. This problem can be addressed by obtaining the above brightness (brightness) and color (tone) correction information.

[0037] The brightness and color correction information is obtained at multiple positions in the imaging space 120. The calibration target 200 moves in the imaging space 120 in the positive direction of the Y axis, and during this movement, the calibration target 200 is repeatedly photographed by the camera group 110. Note that the cameras perform the photographing simultaneously in a substantially synchronized manner.

[0038] For example, each time the calibration target 200 moves a specific distance (for example, 1 cm to 10 cm), an image of the calibration target 200 is captured, and calibration data regarding brightness and color is obtained at each position.

[0039] The calibration data regarding brightness and color is required to improve the color reproducibility of the photographed image of the carcass 101. Although the carcass 101 is illuminated, the state of reflection of the lighting changes subtly depending on the position of the carcass 101 (this is due to differences in the distance from the lighting device and the angle of incidence and overlap of the lighting light), and if the position is different, the brightness and color in the photographed image may be subtly different even for the same part. This affects the evaluation of the texture and meat quality read from the image.

[0040] To address this problem, in this embodiment, calibration data related to brightness and color is obtained finely at specific distance intervals. That is, calibration data related to brightness and color for each camera at position Y1 on the Y axis in the shooting space 120, calibration data related to brightness and color for each camera at position Y2, calibration data related to brightness and color for each camera at position Y3, ... calibration data related to brightness and color for each camera at position Yn (n is a natural number equal to or greater than 1) are obtained. This corrects the difference in reproducibility of brightness and color in the image due to the difference in the position of the measurement target.

[0041] (computing device) Data processing related to three-dimensional photo measurement is performed in a data processing device 300 in Fig. 1. The data processing device 300 is realized by a computer having a CPU, a storage device, and various interfaces. The computer constituting the data processing device 300 may be a general-purpose computer, or dedicated hardware may be prepared. Also, a data processing server may be used as the arithmetic device 300.

[0042] 3 is a block diagram of data processing device 300. Data processing device 300 includes image data acquisition unit 301, calibration target position calculation unit 302, calibration data acquisition unit 303, carcass position calculation unit 304, brightness and color correction unit 305 for captured images based on calibration data, brightness and color correction unit 306 for captured images based on images captured from multiple viewpoints, color imaging three-dimensional model creation unit 307, and camera control unit 308.

[0043] Each functional unit shown in the block diagram of Fig. 3 is realized by executing dedicated software by a computer constituting the data processing device 300. A part or all of the functional units shown in the block diagram of Fig. 3 can also be configured by dedicated hardware (electronic circuits).

[0044] The image data acquisition unit 301 acquires image data of the images of the calibration target 200 and the carcass 101 captured by each camera of the camera group 110 .

[0045] The calibration target position calculation unit 302 calculates the positions of the calibration target 200 at a plurality of positions in the imaging space 120. The position of the calibration target 200 is recognized as the position of its central axis on the Y axis.

[0046] An example of a specific procedure for calculating the position of the calibration target 200 will be described below. Here, the position of the calibration target 200 on the Y axis at time Tn is assumed to be Yn. Since the position of the calibration target 200 is limited on the Y axis, the position of the object (the calibration target and the carcass) can be specified from the position on the Y axis. This position is described as coordinates in a local coordinate system fixed to the camera group 110 (the shooting space 120).

[0047] First, the calibration target 200 passing (moving) through the imaging space 120 in the positive direction of the Y axis is photographed repeatedly by the camera group 110 at specific time intervals, and photographed images of the calibration target 200 at each time are obtained.

[0048] Then, based on the images captured by the camera group 110 at time Tn and based on the principles of three-dimensional photometry, the positional relationship between each camera of the camera group 110 and the calibration target 200 and the orientation of each camera (direction of the optical axis) are obtained.

[0049] Specifically, the following processing is performed. Each camera constituting the camera group 110 is set so that two adjacent cameras on the top, bottom, left and right are stereo cameras. This results in the existence of a large number of stereo cameras. A three-dimensional point cloud is obtained in each camera according to the principle of three-dimensional photo measurement. As described above, the camera group 110 includes a large number of stereo cameras, and therefore, by integrating the three-dimensional point clouds obtained by each stereo camera, a three-dimensional point cloud of the photographed object is obtained.

[0050] In this case, since the calibration target 200 includes a large number of orientation targets, an orientation process using these orientation targets determines the relationship between the position and orientation of each camera of the camera group 110 and the calibration target 200. The orientation process is described in, for example, JP 2013-186816 A.

[0051] By repeating the same process, the relationship between the position and orientation of each camera of the camera group 110 and the calibration target 200 at time T2, the relationship between the position and orientation of each camera of the camera group 110 and the calibration target 200 at time T3, and so on, and the relationship between the position and orientation of each camera of the camera group 110 and the calibration target 200 at time Tn (n=1, 2, 3, . . .) are determined.

[0052] The position of the identification target on the calibration target 200 and the shape and dimensions of the calibration target 200 are known. In addition, the camera group 110 is fixed. Therefore, by determining the positional relationship between each camera of the camera group 110 and the calibration target 200, the position of the calibration target 200 relative to the camera group 110 can be obtained. In other words, the position of the calibration target in a local coordinate system fixed to the camera group 110 can be obtained.

[0053] In this manner, the position Yn of the calibration target 200 at the time Tn is determined. This process is performed in the calibration target position calculation unit 302.

[0054] The calibration data acquisition unit 303 acquires the calibration data relating to the brightness and color at the above-mentioned position Yn.

[0055] For example, attention is focused on one of the cameras in the camera group 110. Calibration data relating to brightness and color is obtained from an image captured by this camera of the calibration target 200.

[0056] Specifically, the following process is performed: First, the brightness and color information of the identification target provided on the calibration target 200 is acquired in advance.

[0057] The brightness (lightness) of the actual captured image of the identification target is compared with the brightness (lightness) previously acquired for the identification target. If the two are identical, no correction is necessary, and there is no calibration data for the brightness. On the other hand, if the two are not identical, correction is necessary to make the image have the original brightness, and the data required for the correction is the calibration data for the brightness.

[0058] For example, assume that the brightness (luminosity) of a photographed image of a certain identification target is darker than the brightness preset for that identification target. In this case, by correcting the brightness of the corresponding part in the image data of the photographed image of the identification target so that it becomes brighter, an image of that part with a brightness closer to the actual brightness can be obtained. The data required for this correction is the calibration data related to brightness.

[0059] Note that there are many identification targets, and the conditions are not necessarily the same depending on the position. This is because the lighting conditions vary depending on the location. Therefore, the above calibration data can be obtained for each location in an image captured by a certain camera.

[0060] Calibration data relating to color is also obtained by a similar method. Then, calibration data is acquired for all cameras constituting the camera group 110. Also, the calibration data for each camera is obtained at each of the above positions Y1 to Yn (n=1, 2, 3, . . .). The above processing is performed by calibration data acquisition unit 303.

[0061] The carcass position calculation unit 304 calculates the position of the carcass (for example, the carcass 101) moving in the photography space 120. The position of the carcass is grasped as the position on the Y axis of a hanger (for example, the hanging hanger 104) that hangs the carcass. The principle of calculating the position of the carcass 101 is the same as that of the calibration target 200.

[0062] The group of cameras 110 photographs the carcass 101 passing (moving) through the photography space 120. Here, the position and orientation of each camera of the group of cameras 110 in the photography space 120 are calculated by orientation using the calibration target 200. Therefore, the position of the carcass 101 in the photography space is calculated by three-dimensional photo measurement based on the photographed images obtained by the above photography.

[0063] For example, assume that photography is performed by the camera group 110 every 0.5 seconds. In this case, the position of the carcass 101 every 0.5 seconds is calculated by three-dimensional photo measurement.

[0064] A calibration data-based captured image brightness and color correction unit 305 corrects the brightness and color of each captured image based on the calibration data.

[0065] For example, assume that the carcass 101 moving in the photography space 120 is photographed by the camera group 110 at a timing when the carcass 101 is located at position Y1. The brightness and color of each photographed image obtained during photography are corrected using the calibration data acquired when the calibration target 200 is located at position Y1.

[0066] This reduces calibration errors caused by differences in position on the Y axis. Differences in position on the Y axis result in differences in how the lighting hits the subject, causing a problem of differences in brightness and color of the subject in the captured image. This problem can be reduced by aligning the position of the calibration target 200 when the calibration data is acquired with the position of the carcass 101 when the image is captured.

[0067] It is desirable that the position of the calibration target 200 when the calibration data is acquired and the position of the carcass 101 when the image is captured are exactly the same. For example, let Yn be the position of the calibration target where the calibration data was obtained, and Yn' be the image capture position of the carcass. Since the image capture is performed intermittently, Yn and Yn' will be discrete values. Ideally, Yn=Yn', but this is not always the case.

[0068] Therefore, the moving speed of the calibration target 200 and the carcass 101 by the conveying means 103 and the interval between images taken by the camera group 110 are adjusted so that the difference between Yn and Yn' is as small as possible. Specifically, the moving speed and the interval between images taken are set so that the difference between Yn and Yn' is 5 cm or less, preferably 3 cm or less. In this embodiment, if the difference between Yn and Yn' is 5 cm or less, they are considered to be in the same position.

[0069] The brightness and color correction unit 306 for captured images based on images captured from multiple viewpoints corrects the brightness and color of the captured images based on the captured images obtained from many viewpoints. For example, a certain part of the carcass 101 is captured by multiple cameras included in the camera group 110. In addition, the carcass 101 is moving, and images of this part are captured at multiple different times. Therefore, a large number of captured images of this part are obtained.

[0070] For example, suppose there are 20 images of a certain part of the carcass 101 taken at a first photographing timing. Since there are also images of the same part taken at a different timing with a time lag, the number is several times greater.

[0071] Here, a large number of photographed images of this part are compared, and brightness and color are corrected. Note that the photographed images to be considered are those that have been corrected using calibration data. Specific details of the process will be described below.

[0072] For example, suppose there is an image captured when the carcass 101 is located at position Yn (n=1, 2, 3, . . .) in the photography space 120. In this case, the brightness of the images capturing a specific part of the carcass 101 is compared for all captured images capturing that part.

[0073] Here, if all the images have the same brightness, no special processing is required. If there is a difference in brightness, the average brightness of the images of the part in all the target photographed images is calculated, and the brightness of the images of the part in all the target photographed images is replaced with this average brightness. Here, the median value can be used instead of the average value. Also, the most frequent value can be used instead of the average value.

[0074] A similar process is performed on color information. That is, when there is a difference in color of the same part in multiple photographed images, the color information of that part in all the photographed images is replaced with the average value, median value, or mode value of the color of that part in the photographed images.

[0075] In this way, the brightness and color of the captured image are corrected based on the images captured from multiple viewpoints, which makes it possible to eliminate abnormal values ​​in the reproduction of brightness and color, thereby improving the reproduction of the actual texture of the meat.

[0076] In the method of using the average, median, or mode, it is also possible to calculate the average, median, or mode after eliminating outliers, or to set a threshold for the deviation and use values ​​within the threshold range to find the average, median, or mode.

[0077] The color imaged three-dimensional model creation unit 307 creates a color imaged three-dimensional model of the carcass 101 based on the images of the carcass 101 captured by the camera group 110. The color imaged three-dimensional model is created by integrating the color image (RGB image) and the three-dimensional model.

[0078] The color image three-dimensional model will be described below. First, from among the many images of the carcass 101 captured by the camera group 110, a plurality of images captured from different viewpoints with partially overlapping capture ranges are extracted as stereo images. Then, feature points are extracted from the stereo images, and the correspondence between the feature points in the stereo images is identified.

[0079] The stereo images include stereo images based on images taken by two or more different cameras at the same time, and stereo images based on two or more images taken from different viewpoints at different times.

[0080] Since the position and orientation of the camera that captured the stereo images are known by orientation using the calibration target 200, the positions of the feature points with identified correspondences are found by the forward intersection method. This process is performed for all captured images to obtain a three-dimensional point cloud of the carcass 101. A three-dimensional model of the carcass 101 is created from this three-dimensional point cloud. This three-dimensional model is data in which an object is modeled using contour lines and a TIN (Triangulated Irregular Network). Technology for creating a three-dimensional model from a three-dimensional point cloud is described, for example, in WO2011 / 070927, JP2012-230594A, and JP2014-35702A.

[0081] When displaying this three-dimensional model as an image, one of the cameras constituting the camera group 110 is selected as the viewpoint position, and a color image (RGB image) captured by that camera is displayed on the screen as an image of the three-dimensional model. The viewpoint positions are discontinuous, but since there are many cameras in the camera group 110 and images are captured repeatedly while the carcass 101 is moving, a large number of viewpoints can be secured. The data that enables this image display is the color-imaged three-dimensional model.

[0082] FIG. 6 is a photograph substituting a drawing when a color imaged three-dimensional model of a carcass is displayed on a display. FIG. 6 shows a state in which a carcass is hung, as viewed from the horizontal direction. FIGS. 6(A) to 6(C) show different viewpoints. FIG. 6(B) shows the carcass in the state of FIG. 6(A) rotated slightly clockwise when viewed from above, and FIG. 6(C) shows the carcass rotated further clockwise. For example, in the case of FIG. 6(A), a color image captured by a camera at the viewpoint of FIG. 6(A) is selected and displayed as a color image of the three-dimensional model of the carcass.

[0083] In the system of Fig. 1, the carcass moves and three-dimensional photographic measurements of the carcass 101 are performed at a plurality of positions. This makes it possible to create a plurality of color-imaged three-dimensional models of the carcass.

[0084] The camera control unit 308 controls the shooting operations of the cameras constituting the camera group 110. The camera control unit 308 controls the multiple cameras constituting the camera group 110 so that they are synchronized and shoot at the same time. The camera control unit 308 has a clock, and the data of the shot image is acquired by the image data acquisition unit 301 as data associated with the shooting time.

[0085] (Example of processing) An example of processing performed in data processing device 300 will be described below. Figures 4 and 5 are flowcharts showing an example of the processing procedure. A program for executing the flowcharts shown in Figures 4 and 5 is stored in an appropriate storage medium or a storage device of a computer constituting data processing device 300, and is read and executed by the computer constituting data processing device 300.

[0086] The data processing device 300 performs the following two processes. The first process is a process related to obtaining calibration data related to the brightness and color of the captured image. The second process is a process for obtaining three-dimensional data of the carcass. In the second process, the brightness and color of the captured image are corrected using the calibration data obtained in the first process.

[0087] 1, prior to the first and second processes, the calibration target 200 is passed through the photography space 120 in the Y-axis direction (transport direction), and then the carcass 101 is passed through. Behind the carcass 101, there are a number of further carcasses (not shown), which are passed through the photography space 120 one after the other.

[0088] The camera group 110 photographs the calibration target 200 and the carcass 101 as they pass through the photographing space 120. At this time, each camera repeatedly photographs continuously. Here, the photographing intervals of each camera and the conveying speed of the calibration target 200 and the carcass 101 are set so that the calibration target 200 or the carcass 101, which are the subject of photographing, are photographed in a partially overlapping manner in photographed images adjacent to each other on the time axis by each camera, forming a stereo image. Similar photographing is also performed on other carcasses (not shown).

[0089] (1) Acquire calibration data The first process will be described below. Fig. 4 is a flow chart showing an example of the first process (process for acquiring calibration data related to brightness and color). First, image data obtained by photographing the calibration target 200 is acquired from each camera of the camera group 110 (step S101). The image data is processed by the image data acquisition unit 301 in Fig. 3.

[0090] Next, calculation of position data of the calibration target 200 is performed (step S102). This process is performed by the calibration target position calculation unit 302 in FIG.

[0091] The position of the calibration target 200 is grasped as the position on the Y axis of its central axis (the central axis of an approximately circular cylinder or octagonal prism). In step S102, the position Y1 at time T1, the position Y2 at time T2, the position Y3 at time T3, the position Y4 at time T4, ... are obtained.

[0092] This process is performed using a group of captured images taken at time T1, a group of captured images taken at time T2, a group of captured images taken at time T3, a group of captured images taken at time T4, . . .

[0093] The time interval is converted to distance and is, for example, 5 cm. Since a 3D model is created at each time (each position), if the time interval is short, more information is obtained for the 3D model, and the accuracy of the final 3D model can be improved. Also, more viewpoints can be secured. However, the amount of data handled increases, and the calculation burden also increases. If the time interval is long, the opposite tendency occurs.

[0094] In the above case, the positions of the calibration target 200 in the imaging space 120 at 5 cm intervals in the Y-axis direction are identified.

[0095] Furthermore, calibration data relating to the brightness and color of the image is acquired from the captured image of the calibration target 200 (step S103). The calibration data is acquired at each of the above positions Y1 to Yn (n=1, 2, 3, . . .). This process is performed by the calibration data acquisition unit 303 in FIG. 3.

[0096] By steps S101 to S103, calibration data regarding brightness and color at each position Y1 to Yn (n=1, 2, 3, . . . ) is obtained.

[0097] (2) Processing to obtain three-dimensional data of carcasses An example of the processing procedure for obtaining three-dimensional data of a carcass is shown below. Fig. 5 is a flow chart showing an example of processing (second processing) for obtaining three-dimensional data of a carcass. Note that although the following description focuses on carcass 101, the same processing is also performed on other carcasses behind carcass 101 (in the negative Y-axis direction).

[0098] First, image data of a photographed image of the carcass 101 is acquired (step S201). This process is performed in the image data receiving unit 301 in FIG.

[0099] Next, the position of the carcass 101 is calculated (step S202). This process is performed in the carcass position calculation unit 304 in Fig. 3. The position of the carcass 101 is grasped as the position on the Y axis of the hanging hanger 104. Here, the position of the carcass 101 is calculated based on the photographed image obtained in step S201. Since the carcass 101 is moving, the position of the carcass 101 corresponding to each photographing timing is calculated.

[0100] Next, the brightness and color of the captured image of the carcass are corrected based on the calibration data for the image data acquired in step S201 (step S203). This process is performed by the calibration data-based brightness and color correction unit 306 in FIG. 3.

[0101] This correction is performed on a photographed image of the carcass 101 obtained when the carcass 101 is positioned in the same position (or as close as possible) as the position of the calibration target 200 when the calibration data was acquired.

[0102] For example, it is assumed that the calibration data is obtained at a position Yc. In other words, it is assumed that the calibration data is obtained at a timing when the calibration target 200 is located at the position Yc. In this case, the brightness and color are corrected (calibrated) for an image of the carcass 101 captured at a timing when the carcass 101 is located at a position closest to Yc (ideally the same position).

[0103] The position of the calibration target 200 at the time of photographing is calculated by a calibration target position calculation section 302, and the position of the carcass 101 at the time of photographing is calculated by a carcass position calculation section 304. Therefore, it is possible to identify image data of the carcass 101 photographed at a position closest to the above Yc.

[0104] Calibration of the photographed images of the carcass 101 is performed on image data at a plurality of positions of the carcass. For example, the above-mentioned brightness and color calibration is performed on photographed images obtained at a first position, a second position, ..., an nth position of the moving carcass 101. A color imaged three-dimensional model is created based on the photographed images that have been subjected to this calibration.

[0105] Next, the captured image that was the subject of the process in step S203 is subjected to brightness and color correction based on the captured images from multiple viewpoints (step S204). This process is performed by the brightness and color correction unit 306 for the captured image based on the captured images from multiple viewpoints in FIG.

[0106] Next, a color imaged three-dimensional model of the carcass is created (step S205). This process is performed in the color imaged three-dimensional model creating unit 307 in Fig. 3. This process is performed based on the photographed image that was the subject of the process in step S204.

[0107] (Advantages) In this embodiment, calibration data is obtained at a specific position by photographing a moving calibration target, and the above calibration data is used to calibrate the brightness and color of the photographed image of the moving carcass at the specific position.

[0108] In this case, the calibration for brightness and color is performed under the condition of "carcass position = calibration data acquisition position", so the correction error caused by the difference in calibration conditions due to the difference in position is suppressed. This makes it possible to effectively correct the brightness and color of the captured image of the moving carcass.

[0109] In addition, in this embodiment, the moving carcass is continuously photographed, so the effect is obtained by increasing the number of cameras several times. Therefore, it is possible to process by supplementing the brightness information and color information of images photographed from other camera positions (viewpoints) without using brightness information and color information that cannot be fully corrected or irregular brightness information and color information. In addition, since many photographed images of the same part from different viewpoints are obtained, the brightness information and color information of that part can be obtained by statistical processing (using averaging, median, or mode) based on the many photographed images, and this improves the reproducibility of brightness and color information.

[0110] (Summary) The technology described above is a measurement method that uses a group of cameras 110 that surrounds a photographing space 120 and photographs the carcass 101 moving through the photographing space 120, and is characterized in that the calibration target 200 moving through the photographing space 120 is photographed multiple times by the group of cameras 110 to obtain photographed images of the calibration target 200 from multiple different viewpoints as seen from the calibration target 200, and calibration data regarding the brightness and color at each of the multiple viewpoints is obtained based on the photographed images of the calibration target 200, the carcass 101 moving through the photographing space 120 along the same path as the calibration target is photographed multiple times by the group of cameras 110 to obtain image data of the carcass 101, and the image data of the carcass 101 is corrected using the calibration data, and the position in the photographing space 120 of the calibration target 200 from which the calibration data was obtained and the position in the photographing space 120 of the carcass 101 from which the image data was obtained are the same position (or the closest position that can be selected).

[0111] (Demonstration test results) The results of the demonstration test to confirm the effect of the present invention are described below. Figure 7 is a photograph, used as a substitute for a drawing, of a color-imaged three-dimensional model obtained in an environment in which the carcass was illuminated from all sides with a standard light source (D65, daylight color).

[0112] The color imaged three-dimensional model in Fig. 7 was obtained as follows. First, a calibration target 200 was placed at the center of the shooting space 120 in the system in Fig. 1 to obtain calibration data. This calibration data was obtained using the above-mentioned standard light sources as the lighting devices 121 to 124.

[0113] Next, the carcass 101 was placed at the position of the calibration target 200 from which the above calibration data was obtained, and color images were taken with the camera group 110 to create the color imaged three-dimensional model shown in Fig. 7. At this time, the brightness and color of each captured image were corrected using the above calibration data.

[0114] Figure 8 is a drawing substitute photograph of the color imaged three-dimensional model obtained when the illumination from the X-axis direction was changed to a green light source under the conditions for obtaining the color imaged three-dimensional model in Figure 7. The other light sources used were standard light sources.

[0115] The color-imaging three-dimensional model in FIG. 8 shows the influence of green illumination from the X-axis direction since no calibration data for green illumination from the X-axis direction is used.

[0116] FIG. 9 is a drawing substitute photograph of a color-imaged three-dimensional model obtained when the brightness and color of the photographed image were corrected using the present invention under the conditions for obtaining the color-imaged three-dimensional model of FIG.

[0117] The following describes the conditions under which the color imaged three-dimensional model in Fig. 9 was obtained. First, under the conditions under which the color imaged three-dimensional model in Fig. 8 was obtained, i.e., under the conditions under which green illumination was provided from the X-axis direction and illumination from standard light sources was provided from other directions, a calibration target 200 was placed at the center of the shooting space 120, and calibration data was obtained.

[0118] Next, the carcass 101 was placed at the position where the calibration target 200 was placed (the central position of the photographing space 120), and color photographs of the carcass 101 were taken by the camera group 110 under the conditions that yielded the color imaged three-dimensional model shown in Figure 8, i.e., under conditions where green illumination was provided from the X-axis direction and illumination from standard light sources was provided from other directions.

[0119] Next, the brightness and color of the multiple color images obtained by the color photography were corrected using the above calibration data, and a color-imaged 3D model was created based on the multiple color images that had been corrected for brightness and color. This color-imaged 3D model is shown in Figure 9.

[0120] In the color-imaged three-dimensional model of FIG. 9, the effect of the green light source shown in FIG. 8 disappears, and an appearance equivalent to that of the color-imaged three-dimensional model obtained under illumination with the standard light source shown in FIG. 7 is obtained.

[0121] This shows that the effects of the green lighting, which is an intentional unevenness in lighting, were corrected by correcting the brightness and color of the captured image using calibration data that takes into account the effects of the green light source.

[0122] From the results of the demonstration test shown in Figs. 7 to 9, it can be confirmed that by utilizing the present invention, a color-imaged three-dimensional model capable of accurately reproducing the color of a carcass can be obtained.

[0123] In the process of obtaining the data in FIG. 9, if the position of the calibration target 200 from which the calibration data was obtained is misaligned with the position of the carcass 101 at the time of photographing, an error will occur in the above correction effect.

[0124] For example, assume that the position of the carcass 101 at the time of photographing is shifted in the Y-axis direction from the position of the calibration target 200 from which the calibration data was obtained. In this case, there is a difference in how the green illumination hits the portions of the calibration target 200 and the carcass 101 facing the X-axis and Y-axis directions. For this reason, the influence of the green illumination on these portions cannot be fully corrected by the calibration data, and the influence of the green illumination remains. This influence tends to be stronger the greater the deviation between the position of the calibration target 200 from which the calibration data was obtained and the position of the carcass 101 at the time of photographing.

[0125] (Variation 1) The following method is also possible. For example, the size and shape of the carcass are classified into several categories, and calibration targets of shapes and sizes corresponding to each category are prepared. For example, several calibration targets of approximately cylindrical or polygonal prism shape with different diameters are prepared. Also, several calibration targets of approximately cylindrical or polygonal prism shape with different diameters in the vertical direction are prepared according to the shape and size of the carcass. In this case, in FIG. 1, several calibration targets corresponding to each category are lined up. Then, calibration data is obtained for each calibration target.

[0126] In measuring the carcass, data on the size and shape of the carcass is obtained by three-dimensional photo measurement based on the images captured by the camera group 110, and it is determined which of the above categories it corresponds to, and the calibration target (calibration data) to be used is decided. This makes it possible to use calibration data according to the shape and dimensions of the carcass, thereby improving the accuracy of the calibration. This modified example can also be applied to modified example 2 described below.

[0127] (Variation 2) It is also possible to make the shape of the calibration target in the suspended state similar to an actual carcass, and align the position where the calibration data of the calibration target is acquired and its horizontal orientation with the photographing position and horizontal orientation of the carcass.

[0128] 6 to 9, the horizontal cross-sectional shape of the carcass 101 is not a simple shape due to the presence of the abdominal cavity, shoulder, buttocks, etc., and is not a uniform shape on the dorsal and ventral sides. As a method for incorporating the effect of this complexity of shape into the calibration data, a method of making the calibration target 200 have a shape that more closely resembles the appearance of the carcass 101 can be considered.

[0129] In this case, the apparent shape of the calibration target differs depending on the position of the viewpoint. For example, the viewpoint positions differ by 90° in the horizontal direction in Figures 7(A) and 7(B), and the carcass looks different. In this case, even if the position of the calibration target from which the calibration data was obtained is aligned with the position of the carcass at the time of photographing, errors will occur in the correction of brightness and color when the calibration data obtained with the calibration target orientation corresponding to the orientation in Figure 7(A) is applied to image data photographed with the carcass orientation in Figure 7(B). This is because there is an effect of differences in surface unevenness due to differences in orientation.

[0130] To reduce this error, in addition to aligning the position of the calibration target 200 at the timing of acquiring the calibration data with the position of the carcass 101 at the time of photographing, the horizontal orientation (angular position around the vertical axis) is also aligned.

[0131] 1 is used, the orientation of the calibration target 200 moving within the photography space 120 is aligned (matched or approximately matched) with the orientation of the carcass 101. This makes it possible to match the orientation of the calibration target 200 with the orientation of the carcass 101 when acquiring calibration data at position Yn (n=1, 2, 3, 4, ...) and when photographing the carcass at position Yn, thereby suppressing errors during calibration due to the above-mentioned differences in orientation.

[0132] The following methods can be used to align the horizontal orientation (angular position around the vertical axis) of the calibration target 200 at the time of acquiring the calibration data with the horizontal orientation (angular position around the vertical axis) of the carcass 101 at the time of photographing.

[0133] In the first method, a hanging structure is used that allows the orientation of the calibration target 200 and the carcass 101 in the horizontal direction to be adjusted, and the calibration target 200 and the carcass 101 are transported with their orientations aligned in the horizontal direction.

[0134] In the second method, a plurality of calibration targets with different orientations in the horizontal direction are prepared, calibration data for each orientation is obtained, and the calibration data for the corresponding orientation is used depending on the orientation of the carcass 101 at the time of photographing.

[0135] According to these methods, the horizontal orientation of the calibration target 200 at the timing of acquiring the calibration data can be aligned (or approximately aligned) with the horizontal orientation of the carcass 101 at the time of photographing. [Explanation of symbols]

[0136] 101... carcass, 103... conveying means, 104... hanger, 105... rail, 110... camera group, 120... shooting space, 121-124... lighting device, 200... calibration target, 300... data processing device.

Claims

1. A measurement method using a plurality of cameras that surround a specific space and capture an object moving through the space, comprising: By photographing the calibration target moving in the space a plurality of times with the plurality of cameras, photographed images of the calibration target are obtained from a plurality of different viewpoints as seen from the calibration target; obtaining calibration data relating to brightness and color at each of the plurality of viewpoints based on the captured images of the calibration target; A measurement object moving in the space along the same path as the calibration target is photographed a plurality of times by the plurality of cameras to obtain image data of the measurement object; correcting the image data of the measurement object using the calibration data; A measurement method in which a position in the space of the calibration target from which the calibration data was obtained is the same as a position of the measurement object in the space from which the image data was obtained.

2. The measurement object is a carcass, The measurement method according to claim 1 , wherein the carcass and the calibration target are moved in such a manner that the calibration target first passes through the space and then the carcass passes through the space.

3. The calibration data is acquired as the calibration target passes through the space; The method of claim 2 , wherein the image data is acquired as the carcass passes through the space.

4. The calibration data is acquired at a plurality of positions in space of the calibration target; The method according to claim 1 , wherein the image data is acquired at the plurality of positions in the space of the measurement object.

5. a plurality of captured images of a specific portion of the measurement object are obtained by capturing images of the specific portion at the plurality of positions by the plurality of cameras; The measurement method according to claim 4 , wherein the brightness and color of the images of the specific region are corrected by statistically processing the plurality of captured images of the specific region.

6. 6. The method according to claim 5, wherein the statistical processing is processing for obtaining an average value, a median value, or a mode value of brightness and color.

7. The space is illuminated, The measurement method according to claim 1 , wherein the calibration data differs depending on a difference in position in the space.

8. The measurement object is a carcass, The measurement method according to claim 1 , wherein the calibration target has a structure approximating the shape and size of the carcass in a columnar shape.

9. A plurality of cameras that surround a specific space and capture an object moving through the space; a means for capturing images of the calibration target moving in the space a plurality of times with the plurality of cameras, thereby obtaining captured images of the calibration target from a plurality of different viewpoints as seen from the calibration target; a means for obtaining calibration data relating to brightness and color at each of the plurality of viewpoints based on the captured image of the calibration target; a means for capturing an image of a measurement object moving in the space along the same path as the calibration target using the plurality of cameras a plurality of times to obtain image data of the measurement object; a means for correcting the image data of the measurement object using the calibration data; Equipped with A measurement system in which the position in space of the calibration target from which the calibration data was obtained is the same as the position in space of the measurement object from which the image data was obtained.

10. A program for causing a computer to execute measurements using a plurality of cameras surrounding a specific space and capturing images of an object moving through the space, To your computer acquiring photographed images of the calibration target from a plurality of different viewpoints as seen from the calibration target by photographing the calibration target moving in the space a plurality of times with the plurality of cameras; acquiring calibration data relating to brightness and color at each of the plurality of viewpoints based on the captured images of the calibration target; Acquiring image data of a measurement object by photographing the measurement object multiple times with the multiple cameras, the measurement object moving in the space along the same path as the calibration target; Correcting the image data of the measurement object using the calibration data; and Run the command, a measurement program in which the position in space of the calibration target from which the calibration data was obtained is the same as the position in space of the measurement object from which the image data was obtained.

Citation Information

Patent Citations

  • JP144122A

  • Image color correction device and image color correction method

    JP2012194126A

  • WO2018