Image processing device, image processing method, and program
The video processing system addresses complex video data management by synthesizing data from multiple cameras into a single file, optimizing space and enhancing compression efficiency through aligned motion vectors.
Patent Information
- Application Number
- JP2023184570
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-10-27
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2040-06-10
AI Technical Summary
Existing video recording systems using multiple cameras, including ultra-wide-angle cameras, face challenges in efficiently managing and synchronizing video data files, leading to complex file management and wasted space in rectangular video formats.
A video processing system that acquires main video data from a main imaging unit and sub-video data from sub-imaging units, synthesizes and arranges the data to generate a single video file, and adjusts image areas with curved portions based on sub-video data availability, using hardware and software components for processing and compression.
Efficiently generates a single video file from multiple camera data, optimizing space utilization and simplifying synchronization management, while improving compression efficiency by aligning motion vectors and reducing data capacity.
Smart Images

Figure 0007568033000001 
Figure 0007568033000002 
Figure 0007568033000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing device, an image processing method, and a program for processing an image captured using an ultra-wide-angle lens. [Background technology]
[0002] In recent years, drive recorders capable of recording 360° omnidirectional video of a vehicle are becoming widespread. For example, a configuration is conceivable in which four cameras are installed on the front, rear, left and right sides of a vehicle, and an ultra-wide-angle camera is installed on the ceiling of the vehicle interior so as to look down on the interior of the vehicle. Video captured by an ultra-wide-angle camera using a fisheye lens or the like becomes a circular video (see, for example, Patent Document 1). A general video recording format records rectangular video on a frame-by-frame basis, so when video captured by an ultra-wide-angle camera is recorded in a general recording format, wasted areas are generated in the four corners. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2015-80107 A Summary of the Invention [Problem to be solved by the invention]
[0004] As mentioned above, when multiple cameras installed in a vehicle are used to simultaneously capture and record video, a video data file is generated for each camera, and when playing back the video, it tends to be difficult to combine and sync the video data captured by the multiple cameras.
[0005] The present invention has been made in consideration of these circumstances, and has as its object to provide a technique for efficiently generating files of video data captured by multiple cameras including an ultra-wide-angle camera. [Means for solving the problem]
[0006] In order to solve the above problem, an image processing device according to one embodiment of the present invention includes a first acquisition unit that acquires main image data including an image area having a curved shape from a main imaging unit installed at a predetermined position, a second acquisition unit that acquires sub-image data from a sub-imaging unit installed at another position, a synthesis unit that synthesizes and places image data generated based on the sub-image data in free space other than the image area of each frame of the main image data, a generation unit that generates a single video file based on the synthesized image data, and a processing unit that enlarges or reduces the image area having a curved shape based on whether or not the sub-image data is saved.
[0007] Another aspect of the present invention is a video processing method, which includes the steps of acquiring main video data including a video area having a curved shape from a main imaging unit installed at a predetermined position, acquiring sub-video data from a sub-imaging unit installed at another position, synthesizing and arranging video data generated based on the sub-video data in a free area other than the video area of each frame of the main video data, generating one moving image file based on the synthesized video data, and enlarging or reducing the video area having the curved shape based on the presence or absence of the storage of the sub-video data, performed by a computer.
[0008] Any combination of the above components, and any transformation of the present invention into a method, device, system, recording medium, computer program, etc., are also effective as aspects of the present invention. Effect of the Invention
[0009] According to the present invention, files of video data captured by a plurality of cameras including an ultra-wide-angle camera can be efficiently generated. [Brief description of the drawings]
[0010] [Figure 1]1(a) and 1(b) are diagrams showing an example of the arrangement of a main imaging unit and four sub-imaging units mounted on a vehicle, which constitute a video processing system according to the first embodiment. [Diagram 2] 1 is a block diagram showing a configuration of a video processing system according to a first embodiment. [Diagram 3] 2 is a diagram for explaining a main image and a first sub-image to a fourth sub-image captured by a main imaging unit and a first sub-image to a fourth sub-image captured by a fourth sub-imaging unit, respectively, in accordance with the first embodiment. FIG. [Figure 4] 4 is a diagram for explaining a transformation process of a main image and a first sub-image to a fourth sub-image captured by a main imaging unit and a first sub-image to a fourth sub-image captured by a fourth sub-imaging unit, respectively, in accordance with the first embodiment. FIG. [Diagram 5] FIG. 13 is a diagram showing a composite video after four partial video data are arranged in the main video. [Figure 6] 6(a) and 6(b) are diagrams showing an example of the arrangement of a main imaging unit and a sub imaging unit mounted on a vehicle, which constitute a video processing system according to the second embodiment. [Figure 7] FIG. 11 is a block diagram showing a configuration of a video processing system according to a second embodiment. [Figure 8] 11 is a diagram for explaining a main image and a sub-image captured by a main imaging section and a sub-imaging section, respectively, in accordance with the second embodiment. FIG. [Figure 9] 13 is a diagram for explaining a transformation process of a main image and a sub-image captured by a main imaging section and a sub-imaging section, respectively, in accordance with the second embodiment. FIG. [Figure 10] FIG. 13 is a diagram showing a composite video after four partial video data are arranged in the main video. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] (Embodiment 1) 1(a)-(b) are diagrams showing an example of the arrangement of a main imaging unit 10 and four sub-imaging units 11-14 mounted on a vehicle 1, which constitute a video processing system according to the first embodiment. FIG. 1(a) is a diagram showing the vehicle 1 as viewed from above, and FIG. 1(b) is a diagram showing the vehicle 1 as viewed from the left side. The main imaging unit 10 is equipped with a camera having an ultra-wide-angle lens. In this embodiment, it is assumed that the ultra-wide-angle lens is a circular fisheye lens with an angle of view of 180° that can capture the front, rear, left and right of the vehicle 1, as well as the entire hemispherical circumference of the vehicle interior. As shown in FIG. 1(a)-(b), in this embodiment, the main imaging unit 10 is installed on the ceiling of the vehicle facing downward so as to overlook the interior of the vehicle, and captures the scenery inside and outside the vehicle.
[0012] In the first embodiment, in order to compensate for the blind spot of the main imaging unit 10 or the lack of resolution in the peripheral area, a plurality of sub-imaging units 11-14 are installed on the outside of the vehicle 1. It is assumed that the plurality of sub-imaging units 11-14 are equipped with cameras having a general wide-angle lens that causes less distortion of the peripheral image compared to a circular fisheye lens. In the first embodiment, a first sub-imaging unit 11 is installed in front of the vehicle 1, a second sub-imaging unit 12 is installed behind the vehicle 1, a third sub-imaging unit 13 is installed on the left side of the vehicle 1, and a fourth sub-imaging unit 14 is installed on the right side of the vehicle 1.
[0013] 1(a)-(b), the first sub-imaging unit 11 is attached to the front grille and captures the view in front of the vehicle 1. The second sub-imaging unit 12 is attached to the rear grille and captures the view behind the vehicle 1. The third sub-imaging unit 13 is attached to the left side mirror and captures the view to the left of the vehicle 1. The fourth sub-imaging unit 14 is attached to the right side mirror and captures the view to the right of the vehicle 1.
[0014] 2 is a block diagram showing a configuration of a video processing system 5 according to the first embodiment. The video processing system 5 according to the first embodiment includes a main imaging unit 10, a first sub-imaging unit 11, a second sub-imaging unit 12, a third sub-imaging unit 13, a fourth sub-imaging unit 14, and a video processing device 20. The main imaging unit 10, the first sub-imaging unit 11, the second sub-imaging unit 12, the third sub-imaging unit 13, and the fourth sub-imaging unit 14 are connected to the video processing device 20 by cables, respectively. Note that, as long as the requirements for real-time performance and noise resistance are satisfied, at least one of the main imaging unit 10, the first sub-imaging unit 11, the second sub-imaging unit 12, the third sub-imaging unit 13, and the fourth sub-imaging unit 14 may be connected to the video processing device 20 wirelessly.
[0015] The main imaging unit 10 includes an ultra-wide-angle lens, a solid-state imaging element, and a signal processing circuit. The solid-state imaging element converts light incident through the ultra-wide-angle lens into an electrical video signal, and outputs the signal to the signal processing circuit. For example, a CMOS (Complementary Metal Oxide Semiconductor) image sensor or a CCD (Charge Coupled Devices) image sensor can be used as the solid-state imaging element. The signal processing circuit performs signal processing such as A / D conversion and noise removal on the video signal input from the solid-state imaging element, and outputs the signal to the video processing device 20. The configurations of the first sub-imaging unit 11 to the fourth sub-imaging unit 14 are the same as those of the main imaging unit 10, except for the shape of the lens and the specifications of each circuit component.
[0016] The video processing device 20 includes a main video acquisition unit 21, a first sub-video acquisition unit 22a, a second sub-video acquisition unit 22b, a third sub-video acquisition unit 22c, a fourth sub-video acquisition unit 22d, a main video processing unit 23, a first sub-video processing unit 24a, a second sub-video processing unit 24b, a third sub-video processing unit 24c, a fourth sub-video processing unit 24d, a synthesis unit 25, a compression encoding unit 26, a file generation unit 27, and a recording unit 28.
[0017] The configuration up to the file generation unit 27 of the video processing device 20 can be realized by a combination of hardware and software resources, or by hardware resources alone. As hardware resources, a CPU, ROM, RAM, GPU (Graphics Processing Unit), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), and other LSIs can be used. As software resources, programs such as firmware can be used.
[0018] The main video acquisition unit 21 acquires main video data including a circular video area from the main imaging unit 10. The main video acquisition unit 21 outputs the acquired main video data to the main video processing unit 23. In this specification, the circular video area is not limited to a perfect circular video area, but also includes an elliptical video area and a distorted circular video area.
[0019] Normally, the pixels of a solid-state imaging device are arranged in a rectangular shape, so even if the lens is an ultra-wide-angle circular fisheye lens, the main video data output from the main imaging unit 10 will be rectangular data containing a circular video area inside. In each frame of the main video data, the area other than the circular video area will be a blank area that does not contain video information. When the main video data is played back without converting the angle of view, the blank area will be displayed as a black background.
[0020] The first sub-video acquisition section 22a to the fourth sub-video acquisition section 22d acquire the first sub-video data to the fourth sub-video data, respectively, from the first sub-imaging section 11 to the fourth sub-imaging section 14. The first sub-video acquisition section 22a to the fourth sub-video acquisition section 22d output the acquired first sub-video data to the first sub-video processing section 24a to the fourth sub-video processing section 24d, respectively.
[0021] The first sub-picture processing unit 24a to the fourth sub-picture processing unit 24d process the first sub-picture data to the fourth sub-picture data to generate video data having the shape of the free area of each frame of the main video data. This will be described in detail below with reference to Figs. 3 to 5.
[0022] 3 is a diagram for explaining the main video 10i and the first sub-video 11i to fourth sub-video 14i captured by the main imaging unit 10 and the first sub-image 11 to fourth sub-image 14, respectively, according to the first embodiment. Areas in the main video data that do not contain video information are indicated by hatched empty areas 10e. In FIG. 3, arrows respectively indicate the movement of scenes captured in the main video 10i, the first sub-image 11i, the second sub-image 12i, the third sub-image 13i, and the fourth sub-image 14i when the vehicle 1 is moving forward. The scenes captured in each image flow in the opposite direction to the direction in which the vehicle 1 is moving.
[0023] As the vehicle 1 is moving forward (in FIG. 3, the vehicle 1 is moving from bottom to top), the scene shown in the main image 10i is a scene that flows backwards. Specifically, the scene flows from top to bottom. Since an image captured through an ultra-wide-angle lens is a circularly distorted image, in areas close to the circumference, the scene flows from top to bottom along the circumference. The scene shown in the first sub-image 11i is a scene that spreads from the center to the periphery. The scene shown in the second sub-image 12i is a scene that is drawn from the periphery to the center. The scene shown in the third sub-image 13i is a scene that flows from right to left. The scene shown in the fourth sub-image 14i is a scene that flows from left to right.
[0024] When the vehicle 1 is reversing (in FIG. 3, the vehicle 1 is moving from top to bottom), the movement of the scenes shown in the main image 10i, the first sub-image 11i, the second sub-image 12i, the third sub-image 13i, and the fourth sub-image 14i is opposite to the direction of the arrows shown in FIG. 3.
[0025] Fig. 4 is a diagram for explaining a transformation process of the primary video 10i and the first sub-video 11i to the fourth sub-video 14i captured by the main imaging section 10 and the first sub-video 11 to the fourth sub-video 14, respectively, according to embodiment 1. In the example shown in Figs. 3 to 5, the first sub-video 11i is arranged in the empty area 10e above the primary video 10i, the second sub-video 12i is arranged in the empty area 10e below the primary video 10i, the third sub-video 13i is arranged in the empty area 10e to the left of the primary video 10i, and the fourth sub-video 14i is arranged in the empty area 10e to the right of the primary video 10i.
[0026] The main video processing section 23 and the first sub-video processing section 24a to the fourth sub-video processing section 24d perform various processing processes on the main video data and the first sub-video data to the fourth sub-video data as pre-processing before synthesizing the videos. For example, when the resolution of the solid-state imaging element of the main imaging section 10 is different from the resolution of the solid-state imaging element of the first sub-imaging section 11 to the fourth sub-imaging section 14, at least one of the main video processing section 23 and the first sub-video processing section 24a to the fourth sub-video processing section 24d performs the following processing processes. At least one of the thinning or interpolation process of the main video data by the main video processing section 23 and the thinning or interpolation process of the first sub-video data to the fourth sub-video data by the first sub-video processing section 24a to the fourth sub-video processing section 24d is performed so that the resolution of the main video data matches the resolution of the first sub-video data to the fourth sub-video data.
[0027] The main video processing unit 23 may execute processing to enlarge or reduce the circular video area of the main video 10i. For example, when the first sub-video data to the fourth sub-video data are stored separately from the main video data, the main video processing unit 23 may enlarge the circular video area to the maximum extent. Conversely, when the first sub-video data to the fourth sub-video data are discarded without being stored, the main video processing unit 23 may reduce the circular video area. In this case, more space can be secured for the free area 10e, and more information of the first sub-video 11i to the fourth sub-video 14i can be retained.
[0028] In order to reduce distortion of the main image 10i, the main image processing unit 23 may perform coordinate transformation of the main image data using a predetermined projective transformation method based on distortion parameters set according to the viewing angle of the ultra-wide-angle lens of the main imaging unit 10.
[0029] The first sub-picture processing unit 24a to the fourth sub-picture processing unit 24d modify the first sub-picture data to the fourth sub-picture data so as to bring the motion vectors of the first sub-picture 11i to the fourth sub-picture 14i closer to the motion vector of the area adjacent to the empty area 10e in the main picture 10i in accordance with the movement of the vehicle 1. In the example shown in FIG. 4, the third sub-picture processing unit 24c rotates the third sub-picture data by 90° counterclockwise. The fourth sub-picture processing unit 24d rotates the fourth sub-picture data by 90° clockwise. In the example shown in FIG. 4, the first sub-picture data and the second sub-picture data do not need to be rotated.
[0030] The rotation angle of the sub-video data is set in advance according to the positional relationship between the main imaging unit 10 and the first to fourth sub-imaging units 11 to 14 and their respective angles of view. For example, if the angle of view of the third sub-imaging unit 13 is tilted in the roll direction, the third sub-video processing unit 24c rotates the third sub-video data at an angle according to the tilt, rather than 90°. For example, if the first sub-imaging unit 11 or the second sub-imaging unit 12 is tilted in the roll direction, the first sub-video processing unit 24a or the second sub-video processing unit 24b rotates the first sub-video data or the second sub-video data at an angle according to the tilt.
[0031] The first sub-video processing unit 24a cuts out the partial video data 11c from the first sub-video 11i in a shape that corresponds to the empty area 10e above the main video 10i. The position from which the partial video data 11c is cut out from the first sub-video 11i is not limited to the position shown in FIG. 4, and the partial video data 11c can be cut out from any position. The first sub-video processing unit 24a may cut out the partial video data 11c in a larger size and reduce the cut partial video data 11c to the size of the empty area 10e above the first sub-video 11i. The first sub-video processing unit 24a may transform the entire first sub-video 11i into a shape that corresponds to the empty area 10e above the main video 10i, instead of cutting out the partial video data 11c from the first sub-video 11i.
[0032] Similarly, the second sub-video processing unit 24b cuts out partial video data 12c having a shape corresponding to the empty space 10e below the main video 10i from the second sub-video 12i. The second sub-video processing unit 24b may transform the entire second sub-video 12i into a shape corresponding to the empty space 10e below the main video 10i. The third sub-video processing unit 24c cuts out partial video data 13c having a shape corresponding to the empty space 10e on the left of the main video 10i from the third sub-video 13i. The third sub-video processing unit 24c may transform the entire third sub-video 13i into a shape corresponding to the empty space 10e on the left of the main video 10i. The fourth sub-video processing unit 24d cuts out partial video data 14c having a shape corresponding to the empty space 10e on the right of the main video 10i from the fourth sub-video 14i. The fourth sub-image processing unit 24d may transform the entire fourth sub-image 14i into a shape that corresponds to the empty area 10e to the right of the main image 10i.
[0033] The first sub-picture processor 24a to the fourth sub-picture processor 24d execute coordinate conversion in response to deformation, rotation, or cutting of the first sub-picture data to the fourth sub-picture data. Note that the main video processor 23 and the first sub-picture processor 24a to the fourth sub-picture processor 24d can also execute other processing such as gradation correction, color correction, and contour correction in addition to the processing described above.
[0034] The synthesizing unit 25 has a frame buffer. The synthesizing unit 25 arranges the partial video data 11c-14c generated by the first sub-video processing unit 24a-fourth sub-video processing unit 24d, respectively, in a free area 10e other than the circular video area of each frame of the main video data.
[0035] Fig. 5 is a diagram showing a composite image 15 after four pieces of partial image data 11c-14c are arranged in a main image 10i. As shown in Fig. 5, the direction of the scene flow is similar inside and outside the boundary of the circular image area.
[0036] The compression-encoding unit 26 compresses and encodes the synthesized video data. The compression-encoding unit 26 compresses and encodes the video data using, for example, an MPEG-based compression method. As the MPEG-based compression method, for example, MPEG-2, MPEG-4, H.264 / AVC, H.265 / HEVC, etc. can be used.
[0037] The file generating unit 27 generates one video file based on the compressed and encoded video data stream. When audio data is acquired by a microphone (not shown), the file generating unit 27 may multiplex the video data and audio data to generate one video file with audio. For example, the video data and audio data are stored in one file using the MP4 format. The file generating unit 27 saves the generated video file in the recording unit 28. Here, the video file saved in the recording unit 28 is generated by compressing and encoding the combined video data, but if there are no limitations in specifications such as recording capacity and processing speed, the first sub-video data to the fourth sub-video data that are not processed for combining may be compressed and encoded separately and saved in the recording unit 28.
[0038] The recording unit 28 includes a non-volatile recording medium. The non-volatile recording medium may be a removable recording medium or a fixed recording medium built into the video processing device 20. As the removable recording medium, a semiconductor memory card (e.g., an SD card), an optical disk (e.g., a DVD), etc. may be used. As the fixed recording medium, a NAND type flash memory chip, an SSD, an HDD, etc. may be used.
[0039] Although not shown in Fig. 2, the video processing device 20 may be provided with a display unit (e.g., a liquid crystal display, an organic EL display) for displaying the captured video. Instead of providing a display unit, the captured video may be displayed on the screen of a car navigation system or a smartphone in cooperation with the car navigation system or a smartphone. Also, the removable recording medium may be removed from the video processing device 20, and the removed removable recording medium may be attached to a video playback device such as a PC, and the video file stored on the removable recording medium may be played.
[0040] Although not shown in Fig. 2, the video processing device 20 may be provided with a wireless communication unit. The wireless communication unit can transmit the generated video file to a server on the cloud via a wireless network and store the file. The wireless communication unit can also stream the composite video to a PC or server in a monitoring center via a wireless network.
[0041] As described above, according to the first embodiment, it is possible to efficiently generate files of video data captured by the main imaging unit 10 having an ultra-wide-angle lens such as a circular fisheye lens, and the first to fourth sub-imaging units 11 to 14. That is, by arranging the video acquired from the first to fourth sub-imaging units 11 to 14 in the area surrounding the circular video area acquired from the main imaging unit 10, the video can be efficiently recorded. The video captured through the circular fisheye lens has no video information in the area outside the circular video area, resulting in waste in the rectangular recordable area. In contrast, according to the present embodiment, the outer free area can be effectively utilized.
[0042] When attempting to record video with a wide field of view by simultaneously capturing images using multiple imaging units, the video data for each imaging unit is recorded separately, which tends to make the synthesis and synchronization management of the multiple video data complicated during playback. In contrast, according to the present embodiment, the videos captured by the multiple imaging units can be collected and recorded in a single video area, eliminating the need to be aware of the synchronization of the multiple video data during playback, and simplifying the processing during playback.
[0043] When images captured by multiple imaging units are synthesized and recorded in a single image area, there is no correlation between the movements of each image, so the compression efficiency of the images does not improve and data volume tends to increase in the boundary areas between the synthesized images.
[0044] For example, in the MPEG-based compression coding method, interframe predictive coding using motion compensation is used. The compression coding unit 26 searches for a prediction region that has the smallest error with the macroblock of the current frame in a reference frame adjacent to the current frame in the time direction. The compression coding unit 26 obtains a motion vector indicating the deviation between the macroblock of the current frame and the prediction region searched for in the reference frame. The compression coding unit 26 compensates for the motion of the macroblock using the obtained motion vector, and generates a difference image between the image of the macroblock after motion compensation and the image of the prediction region searched for in the reference frame. The compression coding unit 26 encodes the data obtained by quantizing the orthogonal transform coefficient of the difference image and the motion vector.
[0045] In interframe predictive coding using motion compensation, the more uniform the movement of the scene shown in the macroblock, the smaller the data amount of the difference image, and the more efficient the compression. In this embodiment, the sub-picture data is rotated so that the motion vector of the scene shown in the sub-picture arranged around the main video is brought closer to the motion vector of the scene shown in the outer periphery of the main video. This makes it possible to reduce the variation in the motion vector of the scene shown in the macroblock in the boundary area between the main video and the sub-picture, and to reduce the data amount of the difference image. Therefore, the compression efficiency of the video data in the boundary area can be improved compared to when the sub-picture data is synthesized without being rotated.
[0046] In addition, the compression efficiency of the video data near the boundary area between the main video and the sub-video can be improved even when searching for a reference area similar to the target area within the same frame and generating and encoding a difference image between the image of the target area and the image of the reference area. By rotating the sub-video data so that the motion vector of the scene shown in the sub-video arranged around the main video is brought closer to the motion vector of the scene shown in the outer periphery of the main video, it becomes easier to search for a reference area that is highly similar to the target area near the boundary, which contributes to reducing the data amount of the difference image. In addition, rotating the sub-video data also contributes to improving the apparent continuity of the video near the boundary.
[0047] (Embodiment 2) 6(a)-(b) are diagrams showing an example of the arrangement of a main imaging unit 10 and a sub-imaging unit 11 mounted on a vehicle 1, which constitute a video processing system according to embodiment 2. FIG. 6(a) is a diagram showing the vehicle 1 as viewed from above, and FIG. 6(b) is a diagram showing the vehicle 1 as viewed from the left side. Embodiment 2 shows an example in which there is only one sub-imaging unit 11. The sub-imaging unit 11 is attached to the front grille, and captures an image of the scene ahead of the vehicle 1.
[0048] Fig. 7 is a block diagram showing the configuration of a video processing system 5 according to embodiment 2. The configuration of the video processing system 5 according to embodiment 2 is obtained by removing the second sub-imaging section 12, the third sub-imaging section 13, the fourth sub-imaging section 14, the second sub-image acquisition section 22b, the third sub-image acquisition section 22c, the fourth sub-image acquisition section 22d, the second sub-image processing section 24b, the third sub-image processing section 24c, and the fourth sub-image processing section 24d from the configuration of the video processing system 5 according to embodiment 1 shown in Fig. 2. A specific description will be given below with reference to Figs. 8 to 10.
[0049] Fig. 8 is a diagram for explaining a main image 10i and a sub-image 11i captured by the main imaging unit 10 and the sub imaging unit 11, respectively, according to the second embodiment. In Fig. 8, the arrows respectively indicate the movement of the scenes captured in the main image 10i and the sub-image 11i when the vehicle 1 is moving forward. The scenes captured in each image flow in the opposite direction to the direction in which the vehicle 1 is moving.
[0050] In the example shown in Figure 8, the sub-image processing unit 24 divides the sub-image 11i into four parts crosswise, and generates a first partial image 11A in the upper left region A, a second partial image 11B in the upper right region B, a third partial image 11C in the lower left region C, and a fourth partial image 11D in the lower right region D.
[0051] Fig. 9 is a diagram for explaining a transformation process of the primary video 10i and the secondary video 11i captured by the primary imaging section 10 and the secondary imaging section 11, respectively, according to the second embodiment. In the example shown in Figs. 8 to 10, the first partial video 11A of the sub-video 11i is arranged in the empty area 10e in the upper left corner of the primary video 10i, the second partial video 11B of the sub-video 11i is arranged in the empty area 10e in the upper right corner of the primary video 10i, the third partial video 11C of the sub-video 11i is arranged in the empty area 10e in the lower left corner of the primary video 10i, and the fourth partial video 11D of the sub-video 11i is arranged in the empty area 10e in the lower right corner of the primary video 10i.
[0052] The sub-image processing unit 24 deforms the first partial image 11A to the fourth partial image 11D so as to bring the motion vectors of the first partial image 11A to the fourth partial image 11D closer to the motion vector of an area adjacent to the empty area 10e in the main image 10i in accordance with the movement of the vehicle 1. In the example shown in Fig. 9, the sub-image processing unit 24 rotates the first partial image 11A by 90° counterclockwise, rotates the second partial image 11B by 90° clockwise, rotates the third partial video 11C by 90° counterclockwise, and rotates the fourth partial video 11D by 90° clockwise.
[0053] The sub-video processing unit 24 cuts out partial video data 11Ac having a shape corresponding to the empty area 10e in the upper left corner of the main video 10i from the first partial video 11A. Similarly, the sub-video processing unit 24 cuts out partial video data 11Bc having a shape corresponding to the empty area 10e in the upper right corner of the main video 10i from the second partial video 11B. Similarly, the sub-video processing unit 24 cuts out partial video data 11Cc having a shape corresponding to the empty area 10e in the lower left corner of the main video 10i from the third partial video 11C. Similarly, the sub-video processing unit 24 cuts out partial video data 11Dc having a shape corresponding to the empty area 10e in the lower right corner of the main video 10i from the fourth partial video 11D. The sub-video processing unit 24 performs coordinate conversion in conjunction with the deformation, rotation, or cutting of the sub-video data.
[0054] The synthesizing unit 25 arranges the partial video data 11Ac-11Dc generated by the sub-video processing unit 24 in the empty areas 10e other than the circular video area of each frame of the main video data.
[0055] Fig. 10 is a diagram showing a composite image 15 after four partial image data 11Ac-11Dc are arranged in a main image 10i. As shown in Fig. 10, the direction of the scene flow is similar inside and outside the boundary of the circular image area.
[0056] As described above, according to the second embodiment, the same effects as those of the first embodiment can be achieved. Furthermore, in the second embodiment, the number of sub-imaging units is smaller than that of the first embodiment, so that the cost of the video processing system 5 can be reduced more than that of the first embodiment.
[0057] The present invention has been described above based on the embodiment. This embodiment is merely an example, and it will be understood by those skilled in the art that various modifications are possible in the combination of each component and each processing process, and that such modifications are also within the scope of the present invention. Furthermore, the expression of the present invention may be substituted between a method, an apparatus, a system, a recording medium, a computer program, and the like, and these are also effective aspects of the present invention.
[0058] In the second embodiment, the sub-image unit 11 has been described as capturing the view ahead of the vehicle 1, but it may also be applied to a camera attached to the rear of the vehicle that captures the view behind. In this case, the direction of each arrow in the sub-image 11i when the vehicle 1 is moving forward in Fig. 8 is reversed, but by changing the rotation direction of the sub-image data, it is possible to align the flow direction of the view so that it is close to each other inside and outside the boundary of the circular image area. Also, the arrangement of the first partial image 11A to the fourth partial image 11D may be appropriately interchanged.
[0059] In the examples shown in Figs. 3 to 5, the third sub-image processing unit 24c rotates the third sub-image data by 90° counterclockwise, and the fourth sub-image processing unit 24d rotates the fourth sub-image data by 90° clockwise. In this regard, the third sub-imaging unit 13 and the fourth sub-imaging unit 14 may be installed with their angles of view rotated in the roll direction in advance. Specifically, when the vehicle 1 is moving forward, the third sub-imaging unit 13 and the fourth sub-imaging unit 14 are installed in such an orientation that the front side of the vehicle 1 is reflected on the upper side of the captured image and the rear side of the vehicle 1 is reflected on the lower side. In this case, the third sub-image processing unit 24c and the fourth sub-image processing unit 24d do not need to rotate the third sub-image data and the fourth sub-image data, respectively. In this way, by adjusting the position and orientation of the main imaging unit 10 and the first sub-imaging unit 11-fourth sub-imaging unit 14 in advance so that the motion vector of the scene captured on the outer periphery of the main image is aligned with the motion vector of the scene captured in the sub-images arranged around it, the compression efficiency of the image data near the boundary area can be improved without the need for advanced image processing.
[0060] In the above-described first and second embodiments, the vehicle 1 is assumed as an object to which the image processing system 5 is to be mounted. In this regard, the image processing system 5 may be mounted on a moving object other than a vehicle. For example, the image processing system 5 may be mounted on a motorcycle, a bicycle, a railroad car, a ship, an airplane, a multicopter (drone), or the like.
[0061] Also, in the first embodiment, the first sub-picture processing unit 24a to the fourth sub-picture processing unit 24d may dynamically derive the motion vectors of the first sub-picture 11i to the fourth sub-picture 14i in accordance with the motion vectors of the areas adjacent to the free area 10e in the main video 10i in accordance with the motion of the moving object, and adaptively adjust the rotation angles of the first sub-picture data to the fourth sub-picture data. For example, the main video processing unit 23 derives the motion vectors of each area of the main video 10i so that the difference between each area of adjacent frames in the time direction of the main video 10i is minimized. The first sub-picture processing unit 24a derives the motion vector of the first sub-picture 11i so that the difference between adjacent frames in the time direction of the first sub-picture 11i is minimized. The first sub-picture processing unit 24a rotates the first sub-picture 11i so that the motion vector of the first sub-picture 11i is close to the motion vector of the area of the main video 10i adjacent to the area where the first sub-picture 11i should be placed.
[0062] Similarly, in embodiment 2, the sub-image processing unit 24 may dynamically derive the motion vector of each partial area AD of the sub-image 11i in accordance with the motion vector of the area adjacent to the free area 10e in the main image 10i in accordance with the movement of the moving object, and adaptively adjust the rotation angles of the first partial image 11A to the fourth partial image 11D.
[0063] In the above-mentioned first and second embodiments, a circular effective image area is used as the main image, and a rectangular image area is used as the sub-image, but this is not limited thereto. For example, the image area may have a shape having curved portions that is not limited to a circular shape, such as a barrel shape or a semicircular shape, depending on the shape of the effective pixel area projected onto the fixed imaging element through the lens unit as the main image, or on the effective pixel area that is set in advance. The shape having curved portions may have curved portions and straight portions. The curved portions may be polygonal shapes formed by connecting straight portions to form an approximately arc shape. Similarly, the present invention can be implemented when an irregularly shaped image is used as the sub-image. [Explanation of symbols]
[0064] 1 vehicle, 5 image processing system, 10 main imaging section, 11 first sub-imaging section, 12 second sub-imaging section, 13 third sub-imaging section, 14 fourth sub-imaging section, 20 image processing device, 21 main image acquisition section, 22 sub-image acquisition section, 23 main image processing section, 24 sub-image processing section, 25 synthesis section, 26 compression encoding section, 27 file generation section, 28 recording section.
Claims
1. a first acquisition unit that acquires main image data including an image area having a curved shape from a main imaging unit installed at a predetermined position; a second acquisition unit that acquires sub-image data from a sub-imaging unit that is installed at a different position; a synthesis unit that synthesizes and arranges video data generated based on the sub-video data in a vacant area other than the video area of each frame of the main video data; a generating unit for generating one video file based on the synthesized video data; a processing unit that enlarges or reduces the image area having the curved portion based on whether the sub-image data is stored or not. Image processing device.
2. the video data to be synthesized and arranged by the synthesis unit is video data having a shape that fits into the free space generated by the processing unit based on the sub-video data; The video processing device according to claim 1 .
3. acquiring main image data including an image area having a curved shape from a main imaging unit installed at a predetermined position; acquiring sub-image data from a sub-imaging unit installed at a different position; a step of synthesizing and arranging video data generated based on the sub-video data in a free area other than the video area of each frame of the main video data; generating a single video file based on the synthesized video data; A video processing method, the method being executed by a computer operating as a video processing device, comprising the step of enlarging or reducing the video area having the curved shape based on whether or not the sub-video data is stored.
4. acquiring main image data including an image area having a curved shape from a main imaging unit installed at a predetermined position; acquiring sub-image data from a sub-imaging unit installed at a different position; a step of synthesizing and arranging video data generated based on the sub-video data in a free area other than the video area of each frame of the main video data; generating a single video file based on the synthesized video data; A program for causing a computer operating as a video processing device to execute a step of enlarging or reducing the video area having the curved shape based on whether or not the sub-video data is stored.
Citation Information
Patent Citations
Vehicle image processor
JP2009194938A
Vehicle periphery monitoring device
JP2010166196A
Method and device for superimposition on wide-angle photographic image
JP2012085197A
Moving body display system and moving body display program
JP2015080107A
Camera, imaging system, and image processing method
JP2019029978A
