Still image generation device and still image generation program

The still image generation device addresses the need for additional sensors by using a fisheye lens and image processing to adapt to speed changes, resulting in cost-effective and high-quality still images of moving objects.

JP7961157B2Active Publication Date: 2026-12-04SAXA +1
9 Cites 0 Cited by

Patent Information

Application Number
JP2023029338
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2026-12-04
Estimated Expiration
2043-02-28

Smart Images

  • Figure 0007961157000001
    Figure 0007961157000001
  • Figure 0007961157000002
    Figure 0007961157000002
  • Figure 0007961157000003
    Figure 0007961157000003
Patent Text Reader

Abstract

To generate a still picture of a material of a subject that is relatively moved against a camera from photographing image information from the camera that performs a photograph by using a fisheye lens.SOLUTION: A material of a subject that is relatively moved to a photographing position is photographed with a camera for performing a photographing with a fisheye lens. An image processing device comprises: a correction part that performs dewarping of photographing image information from a camera in a frame unit; a feature point detection part that detects a feature point from an image in the frame unit; a matching part that performs a matching between post- and pre-frames in regard to the feature point detected by the feature point detection part; a movement amount calculation part that calculates a movement amount of the feature point detection part of the post- and pre-frames on the basis of a matching result in the matching part; a coupling image generation part that generates a coupling image about an image in the frame unit on the basis of the movement amount calculated by the movement amount calculation part; and a coupling part that couples the coupling image generated by the coupling image generation part to the relative movement direction of the material of the subject.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 still image generation device and a still image generation program that generate a still image from captured image information from a camera that captures a moving object.

Background Art

[0002] Patent Document 1 (Japanese Patent No. 4871678) is known as a technology for generating a still image from captured image information obtained by capturing a moving object. In Patent Document 1, the moving object is a vehicle, and the bottom surface of the vehicle is captured by a camera disposed near the road surface, and a still image of the entire bottom surface of the vehicle is generated from the captured image.

[0003] In Patent Document 1, since the distance between the vehicle bottom surface and the camera is short, it is difficult to capture the entire bottom surface of the vehicle even with a wide-angle lens, so a fisheye lens is used to capture the entire bottom surface of the vehicle. In Patent Document 1, a vehicle speed sensor for detecting the traveling speed of the vehicle is provided, and the time required for traveling a predetermined distance is calculated based on the traveling speed detected by the vehicle speed sensor. A shooting command is given to the camera at each calculated time. Furthermore, in Patent Document 1, spherical aberration due to a fisheye lens is corrected for each of a plurality of images captured by the camera, and then the images are combined to generate a still image of the entire vehicle bottom surface.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0005] However, the still image generation device described in Patent Document 1 requires a vehicle speed sensor in addition to a fisheye lens camera, which increases costs and requires installation space. Furthermore, if the moving object being photographed is not a vehicle, it may be necessary to prepare a different sensor for each moving object, which presents a problem.

[0006] Furthermore, in Patent Document 1, the time required to travel a predetermined distance is calculated based on the driving speed detected by the vehicle speed sensor, and a shooting command is issued to the camera at each calculated time interval. However, this assumes that the speed is constant when traveling a predetermined distance, and there is a problem in that it is difficult to respond when there is a change in speed.

[0007] The purpose of this invention is to provide a still image generation device that can solve the above-mentioned problems. [Means for solving the problem]

[0008] To solve the above problems, the invention of claim 1 is: The system comprises a camera that photographs a subject object that is moving relative to the shooting position, and an image processing device that generates a still image of the entire subject object from the image information captured by the camera. The aforementioned image processing device is A correction unit that dewarps the captured image information from the camera on a frame-by-frame basis to correct the distortion of the captured image, A cropping unit extracts an image of the central part of the relative movement direction of the subject object from the frame-by-frame image corrected by the correction unit, A feature point detection unit detects feature points in the image of the central part of the relative movement direction cut out by the cutting unit, The feature points detected by the feature point detection unit are compared with the preceding and succeeding frames. The image of the central part in the relative direction of movement, cut out by the aforementioned cutting section. A matching unit that performs matching between, Based on the matching results in the matching unit, the preceding and succeeding frames The image of the central part in the relative direction of movement, cut out by the aforementioned cutting section.A movement amount calculation unit that calculates the amount of movement of the aforementioned feature point, Based on the amount of movement calculated by the movement amount calculation unit, the cropping range in the joining direction along the relative movement direction for the frame-by-frame image is determined. And, before A combining image generation unit generates a combining image for each frame by extracting an image of the determined extraction range from the image of the central part of the relative movement direction from the extraction unit, A coupling unit that combines the combined images generated by the combining image generation unit in the relative direction of movement of the subject object, A still image generation device characterized by comprising the following features.

[0009] In the still image generation device according to claim 1 of the above configuration, Photography The captured image information is dewarped to correct the distortion of the captured image, and feature points are extracted from the central part of the image corresponding to the relative movement direction of the subject object, which is then cut out from the frame-by-frame image. The matching unit then performs a matching process on these feature points between preceding and succeeding frames. Based on the matching result, the amount of movement of the feature points between preceding and succeeding frames is calculated. Based on this calculated amount of movement, the cutout range in the joining direction along the relative movement direction of the frame-by-frame image is determined. And, cut From the image of the central part of the relative movement direction from the protruding part, an image of the determined cropping range is extracted, a composite image for each frame is generated, and a still image is generated by combining the generated composite image in the relative movement direction of the subject object.

[0010] Therefore, the still image generation device according to claim 1 of the above configuration does not require the use of sensors such as vehicle speed sensors, which is advantageous in terms of cost and eliminates the need for installation space. Furthermore, since a composite image is generated for each frame based on the amount of movement of feature points between preceding and succeeding frames, and the generated composite image is combined in the relative direction of movement of the subject object, even if the relative speed of movement of the subject object changes, a corresponding composite image can be obtained, and a good still image can be generated. [Effects of the Invention]

[0011] This invention eliminates the need for sensors such as vehicle speed sensors, resulting in cost advantages and eliminating the need for installation space. Furthermore, even if the relative speed of the subject object changes, a corresponding composite image can be obtained, enabling the generation of a high-quality still image. [Brief explanation of the drawing]

[0012] [Figure 1] This figure shows an example configuration of an embodiment of the still image generation device according to this invention. [Figure 2] This figure illustrates the object appearance / disappearance detection unit in an embodiment of the still image generation device according to this invention. [Figure 3] This figure is used to illustrate the dewarp correction unit in an embodiment of the still image generation device according to this invention. [Figure 4] This figure is used to illustrate the central portion of the still image generation device according to this invention. [Figure 5] This figure is used to illustrate the feature point detection unit and matching unit in an embodiment of the still image generation device according to this invention. [Figure 6] This figure is used to illustrate the movement amount calculation unit in an embodiment of the still image generation device according to this invention. [Figure 7] This figure is used to illustrate the image generation unit for combining images in an embodiment of the still image generation device according to this invention. [Figure 8] It is a diagram used for describing a combined image generation unit in an embodiment of a still image generation device according to the present invention. [Figure 9] It is a diagram used for describing a combining unit in an embodiment of a still image generation device according to the present invention. [Figure 10] It is a diagram showing a part of a flowchart illustrating an example of an operation flow of an image processing device in an embodiment of a still image generation device according to the present invention. [Figure 11] It is a diagram showing a part of a flowchart illustrating an example of an operation flow of an image processing device in an embodiment of a still image generation device according to the present invention. [Figure 12] It is a diagram showing a part of a flowchart illustrating an example of an operation flow of an image processing device in an embodiment of a still image generation device according to the present invention. [MODES FOR CARRYING OUT THE INVENTION]

[0013] Hereinafter, an embodiment of a still image generation device according to the present invention will be described with reference to the drawings.

[0014] FIG. 1 is a diagram showing a configuration example of an embodiment of a still image generation device according to the present invention. The still image generation device of the embodiment of the example of FIG. 1 includes a camera 2 for imaging the bottom surface of a vehicle body of an automobile MV, which is a moving object traveling on a road, and an image processing device 1 for generating a still image of the bottom surface of the vehicle body of the automobile MV from image information captured by the camera 2.

[0015] The camera 2 is provided below a road surface on which the automobile MV travels, in a state where the distance between the bottom surface of the vehicle body of the automobile MV and the camera 2 is short. The camera 2 uses a fish-eye lens 2L as an imaging lens so that the entire bottom surface of the vehicle body can be included in the field of view even when the distance between the bottom surface of the vehicle body of the automobile MV and the camera 2 is short. In this example, as shown in FIG. 1, the imaging position by the camera 2 is illuminated by an illumination device 3 so as to have brightness suitable for imaging.

[0016] In this embodiment, camera 2 captures video of the underside of the moving vehicle MV and supplies the captured image information to image processing device 1. The method of supplying the captured image information from camera 2 to image processing device may be via cable or wireless communication. Furthermore, if it is not necessary to perform the process of generating still images in real time, a storage medium such as a card-type memory may be loaded into camera 2, the captured image information may be stored in the storage medium, and the image processing device 1 may read the captured image information from the storage medium and perform the process of generating still images.

[0017] The image processing device 1 dewarps and reduces the characteristic distortion of the captured image caused by using the fisheye lens 2L, then extracts an image of only the central part of the subject object, the automobile MV, in the direction of travel, and combines these extracted images in the direction of travel to generate a still image of the entire underside of the moving automobile MV.

[0018] In this example, when the subject object, the automobile MV, is traveling in a straight direction, the direction parallel to the vertical direction of the frame image obtained from the image information captured by camera 2 is made to coincide with the direction of travel of the automobile MV. Thus, if the direction of travel of the subject object, the automobile MV, is straight and parallel to the vertical direction of the frame image, the image to be cut out for merging should be the vertical center of the frame image.

[0019] However, the direction of travel of a vehicle MV is not always straight; it can also be oblique to the straight direction. In such cases, where the direction of travel of the vehicle MV is oblique, as described later, the frame image is rotated to match the direction of travel with the direction of joining, and then the image for joining is cut out and joined.

[0020] The image processing device 1 is configured such that the control unit 10 is connected to a frame-by-frame image acquisition unit 11, a subject object appearance / disappearance detection unit 12, a dewarp correction unit 13, a central portion cropping unit 14, a feature point detection unit 15, a matching unit 16, a movement amount calculation unit 17, a combined image generation unit 18, and a combined unit 19.

[0021] In this example, the control unit 10 is a computer and controls the processing of each unit connected to it. The frame-by-frame image acquisition unit 11, the subject object appearance / disappearance detection unit 12, the dewarp correction unit 13, the central part cropping unit 14, the feature point detection unit 15, the matching unit 16, the movement amount calculation unit 17, the image generation unit for merging 18, and the merging unit 19 can each be configured as hardware or as functional blocks executed by software programs.

[0022] The frame-by-frame image acquisition unit 11 acquires image information from the camera 2, specifically the video footage in this example, on a frame-by-frame basis. In this case, the frames to be acquired may be all the frames of the video footage, or frames every one to several frames. In short, the frame-by-frame image acquisition unit 11 only needs to acquire the frames necessary to generate still images.

[0023] The object appearance / disappearance detection unit 12 detects whether an image of the underside of the automobile MV, which is the subject object in this example, has appeared in the frame image acquired by the frame-by-frame image acquisition unit 11, and whether the image of the underside of the automobile MV, which was present in the frame image, has disappeared. In this example, the detection by the object appearance / disappearance detection unit 12 is performed by AI (Artificial Intelligence) processing using images of the underside of the automobile MV that have been learned in the past.

[0024] In this embodiment, as will be described later, in order to perform still image generation processing with higher accuracy, the processing is performed using only the image of the central part in the vertical direction corresponding to the straight-ahead movement direction of the subject object, the automobile, in the frame image. For this reason, the subject object appearance / disappearance detection unit 12 does not detect that the subject object has appeared when it has just begun to appear within the frame of the fisheye lens 2L, as shown in Figure 2(A). Instead, as shown in Figure 2(B), it detects that the subject object has appeared within the frame of the fisheye lens 2L when it has appeared near the center of the frame of the fisheye lens 2L. Furthermore, the subject object appearance / disappearance detection unit 12 detects that the subject object has disappeared from within the frame of the fisheye lens 2L when it has disappeared from near the center of the frame of the fisheye lens 2L.

[0025] The control unit 10 receives the detection result from the object appearance / disappearance detection unit 12. When it detects that an object has appeared, it starts a still image generation process by image merging, as described later. When it detects that an object has disappeared, it terminates the still image generation process. In this embodiment, when the control unit 10 starts the still image generation process, it resizes the image information on a frame-by-frame basis, such as by lowering the resolution, taking into consideration the performance of the information processing device 1 in this embodiment for subsequent image processing.

[0026] The dewarp correction unit 13 dewarps the frame image from the fisheye lens (fisheye image), which is displayed as a rounded distortion as shown in Figure 3(A), and corrects it to a less distorted planar image (an image that looks like it was taken from the front) as shown in Figure 3(B).

[0027] The central portion cropping unit 14 crops only the central portion in the direction of movement of the subject object, the automobile MV, in this example, in the vertical direction of the frame image, from the frame image 201 (see Figure 4(A)) that has been dewarped and corrected by the dewarp correction unit 13, to obtain a central portion image 202 as shown in Figure 4(B). Here, the vertical central portion image of the frame image means an image within a predetermined vertical width W centered on the vertical center position of the frame, as shown in Figure 4(A).

[0028] The reason for cropping the central portion of the image 202 in this way is to make it easier for the feature point detection unit 15, which will be described later, to detect feature points. Furthermore, as will be described later, when combining the images for combining in the direction of movement of the subject object, it is possible to eliminate the portion of the image of the bottom surface of the vehicle body, which is the subject object, where there is significant image distortion due to the difference in perspective from the fisheye lens 2L, which is the shooting lens.

[0029] In this embodiment, the central portion image 202 extracted by the central portion extraction unit 14 is used as the processing target in the feature point detection unit 15, the matching unit 16, the movement amount calculation unit 17, and the image generation unit 18.

[0030] The feature point detection unit 15 detects feature points within the central portion image 202 extracted by the central portion extraction unit 14. The feature point detection process in this feature point detection unit 15 uses a well-known feature point detection algorithm that is common in image processing. The details are omitted here.

[0031] The matching unit 16 matches the same feature point in the two frames before and after the feature point detection unit 15 detects the feature point. The matching process in this matching unit 16 also uses a general, well-known matching algorithm. The details are omitted here.

[0032] Figure 5 illustrates the matching of identical feature points in preceding and succeeding frames, as performed by the matching unit 16. Specifically, Figure 5(A) shows an example of the image (central portion image) 202a of the preceding frame, and Figure 5(B) shows an example of the image (central portion image) 202b of the succeeding frame. In this example of Figure 5, the same feature points P1, P2, P3, P4, P5, and P6 detected in the image 202a of the preceding frame in Figure 5(A) are detected as feature points P1', P2', P3', P4', P5', and P6' in the image 202b of the succeeding frame in Figure 5(B). To make identical feature points easier to understand, Figure 5 shows identical feature points in preceding and succeeding frames connected by a dashed line.

[0033] The movement amount calculation unit 17 calculates the amount of movement between identical feature points that have been matched by the matching unit 16. Specifically, the movement amount calculation unit 17 detects the amount of movement as the difference between the position coordinates of the feature points P1, P2, P3, P4, P5, and P6 detected in the previous frame image 202a and the position coordinates of the feature points P1', P2', P3', P4', P5', and P6' detected in the subsequent frame image 202b. In this case, since the movement amount calculation unit 17 detects the amount of movement as a difference in position coordinates, it is detected as a vector that also includes the direction of movement.

[0034] Figure 6(A) shows an example of the movement of feature points P1', P2', P3', P4', P5', P6' detected in the later frame relative to feature points P1, P2, P3, P4, P5, P6 in the previous frame, indicated by vector arrows. For example, Figure 6(A) shows the case where the direction of movement of the subject object, the automobile MV, is a straight line along the vertical direction of the frame.

[0035] Furthermore, in this embodiment, the movement amount calculation unit 17 also performs a process to find and exclude outliers in the movement amount (for example, the movement amounts shown by the dashed arrows Er1 and Er2 in Figure 6(B)) based on feature point detection errors or misrecognitions by the feature point detection unit 15. Methods for detecting and removing these outliers can include large differences in movement amount or differences in movement direction. Since well-known general algorithms can be used for this outlier removal process, their details are omitted here.

[0036] In this embodiment, the displacement calculation unit 17 performs outlier removal, then calculates the average value of the calculated displacement amounts and outputs that average value as the calculation result. By performing outlier removal, the displacement calculation unit 17 can improve the accuracy of displacement calculation.

[0037] The image generation unit 18 determines the image range to be combined according to the average value of the movement amount calculated by the movement amount calculation unit 17. Then, as shown in Figures 7(A) and (B), the image generation unit 18 generates the combined image 203 (see Figure 7(B)) of the determined image range from the central portion image 202 (see Figure 7(A)) cut out by the central portion cutting unit 14, as a part of the image in the combining direction (in this example, the vertical direction of the frame).

[0038] Furthermore, if the direction of travel of the automobile MV is at an angle relative to the vertical direction of the frame, that is, if the direction of travel of the automobile MV is not straight, then, as described above, the central portion image 202 is rotated to match the direction of travel of the automobile MV, and a portion of the combined image 203 is extracted from the rotated central portion image 202 as a part of the direction of travel.

[0039] Furthermore, for reasons such as the dewarp correction not functioning correctly, the amount of movement calculated by the movement amount calculation unit 17 may have a certain difference between the central portion and the left and right end portions in the direction perpendicular to the joining direction, as shown by the arrows Vc1, Vc2, and Vc3 in the central portion image of Figure 8(A).

[0040] In such cases, the image generation unit 18 generates a curve-corrected image 203 based on the amount of movement calculated in the central portion and the left and right end portions, as shown in Figure 8(B), and then generates a combined image 204 as shown in Figure 8(C) from this curve-corrected image 203. This makes the combined image 204 closer to an image taken from a more frontal view.

[0041] In this embodiment, the image generation unit 18 generates the image for merging by cutting out the image for merging from the central portion of the image. However, it may also generate the image for merging by cutting out the image for the frame that has been dewarped and corrected.

[0042] As shown in Figure 9, the joining unit 19 sequentially combines the combined images 203 generated as described above in the direction of movement of the subject object, the automobile MV. In this case, the joining unit 19 also performs image correction so that some of the images overlap at the joining point and so that the joining point is smooth. In Figure 9, the lower image is the combined image 205, which is the combined image after the combined images have been combined up to that point.

[0043] [Regarding the flow of still image generation processing in the image processing device 1] An example of the flow of still image generation processing in the information processing device 1 configured as described above will be explained with reference to the flowcharts in Figures 10 to 12. The following explanation assumes that the frame-unit image acquisition unit 11, subject object appearance / disappearance detection unit 12, dewarp correction unit 13, central portion cropping unit 14, feature point detection unit 15, matching unit 16, movement amount calculation unit 17, combined image generation unit 18, and combined unit 19 are all configured as functional blocks by software programs provided by the control unit 10. Therefore, the processing of each step in the flowcharts shown in Figures 10 to 12 will be explained assuming that the control unit 10 performs these steps.

[0044] The control unit 10 acquires captured image information from the camera 2 (step S101) and obtains frame-by-frame image information from the acquired captured image information (step S102). Next, the control unit 10 monitors the acquired frame-by-frame image information and determines whether or not a subject object has been detected within the frame (step S103). As explained with reference to Figure 2, in this embodiment, the image information of the frame is combined using the image of the central part in the vertical direction of the frame in the direction of movement of the subject object, in this example. Therefore, when the subject object appears near the center of the vertical direction of the frame, it is determined that the appearance of the subject object has been detected, and when the subject object can no longer be detected in an area smaller than half the vertical direction of the frame, it is determined that the subject object has disappeared.

[0045] In step S103, when it is determined that the appearance of a subject object has been detected, the control unit 10 dewarps the frame image, which is a fisheye image, to correct it into a planar image, as explained with reference to Figure 3 (step S106). Next, as shown in Figure 4, the control unit 10 cuts out the central part in the vertical direction of the dewarped and corrected frame image 201 in this example to obtain a central part image 202 (step S107).

[0046] Next, the control unit 10 detects feature points in the central portion of the image, as explained using Figure 5 (step S108). Then, the control unit 10 determines whether the same feature points detected in the previous frame's image exist in the frame being processed (the subsequent frame as described above) (step S111 in Figure 11).

[0047] If, in step S111, the control unit 10 determines that the same feature points detected in the image of the previous frame do not exist in the frame being processed, the control unit 10 retains the detected feature points as feature points of the previous frame (step S112), and then returns the process to step S102, repeating the process from step S102 onward.

[0048] Furthermore, if in step S111 the control unit 10 determines that the same feature point detected in the image of the previous frame exists in the frame being processed, the control unit 10 matches the feature point detected in the frame being processed with the feature point in the previous frame (step S113). Next, the control unit 10 calculates the amount of movement for each feature point, along with the direction of movement, from the coordinate difference between the preceding and succeeding frames of the matched feature point (step S114).

[0049] Next, the control unit 10 performs a process to remove outliers regarding the amount and direction of movement of the feature point between preceding and succeeding frames (step S115). Then, the control unit 10 determines whether or not there is still a movement after removing the outliers (step S116), and if there is no movement, that is, the movement is zero, it proceeds in the same manner as in step S112. The detected feature points are retained as feature points from the previous frame (step S117), and then the process returns to step S102, and the processing from step S102 onward is repeated.

[0050] Furthermore, if step S116 determines that there is still movement after removing outliers, the control unit 10 determines whether the direction of movement after removing outliers is straight and coincides with the coupling direction (step S121 in Figure 12). If step S121 determines that the direction of movement after removing outliers is not straight but oblique to the coupling direction, the control unit 10 rotates the image so that the direction of movement after removing outliers coincides with the coupling direction (step S122).

[0051] In step S121, when it is determined that the direction of movement after excluding outliers is straight and coincides with the joining direction, and following step S122, the control unit 10 generates a joining image by cutting out the central portion of the central portion image in the direction along the direction of movement determined based on the detected amount of movement (step S123).

[0052] Next, the control unit 10 determines whether or not a combined image (a combined image of the combining images) is stored in the buffer memory (step S124). If it determines that a combined image is not stored in the buffer memory, it stores the combining image generated in step S123 in the buffer memory (step S125). If it determines that a combined image is stored in the buffer memory, the control unit 10 combines the combining image generated in step S123 with the combined image and stores it in the buffer memory (step S126).

[0053] Following step S125 and step S126, the control unit 10 stores the feature points detected in step S108 in the buffer memory as feature points from the previous frame (step S127). Following step S127, the control unit 10 returns to step S102 and repeats the processing from step S102 onward.

[0054] Then, in step S103 of Figure 10, when the control unit 10 determines that the subject object has disappeared because it is no longer detected, it determines whether the combined image is stored in the buffer memory (step S104). If the combined image is not stored, it returns to step S102 and repeats the process from step S102 onward. Also, if it determines in step S104 that the combined image is stored in the buffer memory, the control unit 10 saves the combined image as a still image file (step S105). The still image file is a still image of the subject object generated from the captured image information, and can be read from the buffer memory and displayed. After step S105, the control unit 10 returns to step S102 and repeats the process from step S102 onward.

[0055] [Effects of the still image generation device of the embodiment] According to the embodiment of the still image generation device described above, a sensor for detecting the movement of the subject object is unnecessary, which is advantageous in terms of cost and eliminates the need for installation space.

[0056] Furthermore, in the embodiment of the still image generation device described above, a still image of the subject object is generated by combining images using only the central part in the direction of movement of the subject object, which is the part of the planar image obtained by dewarping the image information captured by a camera using a fisheye lens, which has less distortion. As a result, a relatively accurate and good still image can be obtained.

[0057] Furthermore, in the embodiment of the still image generation device described above, feature points of an image are detected on a frame-by-frame basis, a composite image is generated based on the amount of movement of the feature points in the preceding and succeeding frames, and a still image is generated by combining the composite image in the direction of movement. This has the remarkable effect of being able to respond to changes in the movement speed of the subject object.

[0058] Furthermore, in the embodiment of the still image generation device described above, when the direction of movement of a feature point between preceding and succeeding frames differs from the joining direction, the image is rotated and corrected according to the direction of movement to make the joining direction and the direction of movement coincide. This makes it possible to generate a good still image even when the subject object is not moving in a straight line but is moving diagonally.

[0059] Furthermore, in the embodiment of the still image generation device described above, when the dewarping of the fisheye image from camera 2 does not function properly and there is a difference in the amount of feature point movement between the central part and the ends, the image is curved to match the amount of movement so that it is closer to a planar image taken from the front. This allows for a cleaner joining of the images when they are joined together.

[0060] Furthermore, in the embodiment of the still image generation device described above, outliers are removed from the amount and direction of movement of feature points between preceding and succeeding frames. This improves the accuracy of the amount and direction of movement required to obtain the composite image used to generate the still image, resulting in a higher quality still image.

[0061] [Other embodiments or modifications] In the example described above, a still image was generated from video footage. However, this invention is not limited to video; it can also be applied to generating a single still image from multiple frame images captured in rapid succession with a fisheye lens camera.

[0062] Furthermore, the subject object to be photographed is not limited to the underside of the car body as in the example above; any object that can be photographed with a fisheye lens camera and from which a still image can be obtained from the captured image information is acceptable.

[0063] Furthermore, while the above-described embodiment involved photographing a moving subject object relative to a fixed camera position, this invention can also be applied to cases where the subject object is placed in a fixed position and the camera moves to capture the image.

[0064] Furthermore, this invention is not limited to cases where the camera photographs the bottom side of a moving subject object, but can also be applied when photographing the side, top, front, rear, etc., of the subject object.

[0065] Furthermore, in the above-described embodiment, the direction parallel to the vertical direction of the frame of the captured image was used as the relative direction of movement (joining direction) of the subject object. However, in this invention, even when the subject object moves relatively in a direction parallel to the horizontal direction of the frame, a still image can be generated by performing the joining process in the same manner by setting the joining direction of the images to that horizontal direction. [Explanation of Symbols]

[0066] 1…Image processing device, 2…Camera, 2L…Fisheye lens, 3…Illumination device, 10…Control unit, 11…Frame-by-frame image acquisition unit, 12…Subject object appearance / disappearance detection unit, 13…Dewarp correction unit, 14…Central portion cropping unit, 15…Feature point detection unit, 16…Matching unit, 17…Movement amount calculation unit, 18…Image generation unit for merging, 19…Merge unit

Claims

1. The system comprises a camera that photographs a subject object that is moving relative to the shooting position, and an image processing device that generates a still image of the entire subject object from the image information captured by the camera. The aforementioned image processing device is A correction unit that dewarps the captured image information from the camera on a frame-by-frame basis to correct the distortion of the captured image, A cropping unit extracts an image of the central part of the relative movement direction of the subject object from the frame-by-frame image corrected by the correction unit, A feature point detection unit detects feature points in the image of the central part of the relative movement direction cut out by the cutting unit, A matching unit performs matching between images of the central part of the relative movement direction, which are extracted by the extraction unit of the preceding and succeeding frames, with respect to the feature points detected by the feature point detection unit. A movement amount calculation unit calculates the amount of movement of the feature points in the central part of the relative movement direction of the image extracted by the extraction unit of the preceding and succeeding frames based on the matching results in the matching unit, A combining image generation unit generates a combining image for the frame unit by determining a cropping range in the combining direction along the relative movement direction for the frame unit image based on the movement amount calculated by the movement amount calculation unit, and cropping an image of the determined cropping range from the image of the central part of the relative movement direction from the cropping unit to generate a combining image for the frame unit image. A coupling unit that combines the combined images generated by the combined image generation unit in the relative movement direction of the subject object, A still image generation device characterized by comprising the following features.

2. The range of the image of the central part of the relative movement direction of the subject object cut out by the aforementioned cutting section is a range that excludes the portion of the captured image with significant distortion. The still image generation apparatus according to feature 1.

3. The coupling portion is configured to connect the frame of the captured image information from the camera with the coupling direction being the direction corresponding to the relative movement direction, either vertically or horizontally. The movement amount calculation unit also calculates the movement direction of the feature points in the preceding and succeeding frames based on the matching results in the matching unit. When the movement direction of the feature point is oblique to the vertical or horizontal direction of the frame, the system includes a rotation correction unit that rotates and corrects the image of the central part of the relative movement direction from the cropping section so that the calculated movement direction of the feature point matches the joining direction. A still image generation apparatus according to claim 1 or 2.

4. If the amount of movement calculated by the movement amount calculation unit has a difference of a predetermined amount or more between the central portion and both ends in the vertical or horizontal direction of the frame image that intersects with the relative movement direction of the subject object, then the combined image is obtained by correcting the curvature of the image based on the amount of movement calculated by the movement amount calculation unit. A still image generation apparatus according to claim 1 or 2.

5. The movement amount calculation unit detects and excludes outliers from the movement amounts calculated, and the image generation unit for combining determines the cropping range based on the average value of the movement amounts excluding the outliers. A still image generation apparatus according to claim 1 or 2.

6. The aforementioned image processing device is The system includes a subject object appearance / disappearance detection unit that detects the appearance of the subject object from the captured image information from the camera and detects the disappearance of the subject object from the captured image information from the camera. The object appearance / disappearance detection unit performs the process of generating the still image from the image information captured by the camera during the period from when it detects the appearance of the object until the object disappears. A still image generation apparatus according to claim 1 or 2.

7. A computer in an image processing device that generates a still image of the entire subject object from image information captured by a camera that photographs the subject object moving relative to the shooting position, A correction unit that dewarps the captured image information from the camera on a frame-by-frame basis to correct the distortion of the captured image. A cropping unit extracts an image of the central part of the relative movement direction of the subject object from the frame-by-frame image corrected by the correction unit. A feature point detection unit detects feature points in the image of the central part of the relative movement direction cut out by the cutting unit. A matching unit performs matching between images of the central part of the relative movement direction, which are extracted by the extraction unit of the preceding and succeeding frames, with respect to the feature points detected by the feature point detection unit. A movement amount calculation unit calculates the amount of movement of the feature points in the central part of the relative movement direction of the image extracted by the extraction unit of the preceding and succeeding frames, based on the matching results in the matching unit. Based on the amount of movement calculated by the movement amount calculation unit, a combining image generation unit determines a cropping range in the combining direction along the relative movement direction for the frame-unit image, and crops an image of the determined cropping range from the image of the central part of the relative movement direction from the cropping unit to generate a combining image for the frame-unit image. A coupling unit that combines the combined images generated by the combining image generation unit in the relative direction of movement of the subject object, A program for generating still images to function as such.

8. The aforementioned computer is further, A subject object appearance detection unit detects whether or not an image of the subject object appears in the image captured by the camera. A subject object disappearance detection unit detects whether or not the image of the subject object has disappeared from the image captured by the camera. A still image generation program according to claim 7 for functioning as such.

Citation Information

Patent Citations

  • JP1973071678A

  • Image synthesizer, image synthesis program and image synthesizing method

    JP2008167092A

  • Image processor and image processing program

    JP2011139123A

  • Device and method for controlling reproduction and program

    JP2011217394A

  • Imaging apparatus, imaging method and program

    JP2012105121A