Distance recognition system and control method thereof, ship

The system enhances distance recognition on water surfaces by using a dual imaging unit configuration to accurately measure and notify of water surface height changes, addressing the challenge of wave similarity.

JP7554105B2Active Publication Date: 2024-09-19YAMAHA MOTOR CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020200425
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-02
Publication Date
2024-09-19
Estimated Expiration
2040-12-02

AI Technical Summary

Technical Problem

The accuracy of distance recognition on water surfaces using stereo cameras is low due to the similarity of waves, making it difficult to extract matching rectangles in the left-right direction, which affects the precision of distance measurement.

Method used

A distance recognition system with a first imaging unit on the ship's hull and a second imaging unit positioned higher than the first, capturing images that are processed to measure water surface height changes and issue notifications when the height exceeds a threshold, utilizing a stereo matching process to enhance accuracy.

Benefits of technology

The system accurately recognizes distances on water surfaces by improving the matching process, allowing for precise measurement and timely notifications of water surface height changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007554105000006
    Figure 0007554105000006
  • Figure 0007554105000001
    Figure 0007554105000001
  • Figure 0007554105000007
    Figure 0007554105000007
Patent Text Reader

Abstract

To more correctly recognize a distance to an arbitrary position in an imaging area.SOLUTION: A distance recognition system is provided including a stereo camera 41. In the stereo camera 41, a second camera 41b and a first camera 41a are arranged on a hull 13 such that a water surface 46 is included in an imaging range. The second camera 41b is arranged at a higher position than the first camera 41a. By performing matching processing between a first image 51 and a second image 52 acquired from the cameras 41a and 41b, respectively, distance information on an arbitrary position in the first image 51 is acquired.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a distance recognition system, a control method thereof, and a ship. [Background technology]

[0002] Conventionally, in the field of automobiles, a technology for detecting the distance to a detection target using a stereo camera is known, as disclosed in Patent Document 1. In Patent Document 1, the distance to the detection target is detected using stereo matching between two images captured by two imaging units arranged side by side.

[0003] On the other hand, in the field of ships, it is important to grasp the water surface condition such as wave height for operation. For example, it is conceivable to use the stereo camera disclosed in Patent Document 1 to detect the relative distance from the camera to each wave. Normally, in stereo matching, the distance is recognized by triangulation. In this case, for example, a rectangle that matches a rectangle cut out from a first image is extracted from a search range in a second image. Since the two imaging units are arranged horizontally, the search direction is the left-right direction. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] WO2016 / 063545 publication Summary of the Invention [Problem to be solved by the invention]

[0005] However, for example, waves on the water surface have fewer individual characteristics than floating objects and other foreign objects, and many of the waves are similar to each other. In particular, waves at the same distance do not differ significantly in shape or size. Therefore, when searching in the left-right direction, rectangles at the same distance are compared, making it difficult to extract matching rectangles. This results in a low accuracy in recognizing the distance to an arbitrary position in the imaging range.

[0006] An object of the present invention is to more accurately recognize the distance to an arbitrary position in an imaging range. [Means for solving the problem]

[0007] A distance recognition system according to one aspect of the present invention includes a first imaging unit arranged on a hull so that the water surface is included in its imaging range, a second imaging unit arranged on the hull at a position higher than the first imaging unit so that the water surface is included in its imaging range, an image acquisition unit that acquires a first image captured by one of the first imaging unit or the second imaging unit and a second image captured by the other of the first imaging unit or the second imaging unit, and a processing unit that acquires distance information relating to an arbitrary position in the first image by matching processing between the first image and the second image. The processing unit then measures the water surface height at a certain distance from the hull based on the distance information, and if the measured water surface height has changed beyond a threshold value since a predetermined time ago, issues a notification to that effect.

[0008] According to this configuration, the distance recognition system has a first imaging unit arranged on the hull so that the water surface is included in its imaging range, and a second imaging unit arranged on the hull at a position higher than the first imaging unit so that the water surface is included in its imaging range. A first image taken by one of the first imaging unit or the second imaging unit and a second image taken by the other of the first imaging unit or the second imaging unit are acquired, and distance information relating to an arbitrary position in the first image is acquired by a matching process between the first image and the second image. Based on the distance information, the water surface height at a certain distance from the hull is measured, and if the measured water surface height changes beyond a threshold value from a predetermined time ago, a notification to that effect is issued. Effect of the Invention

[0009] According to the present invention, the distance to any position in the imaging range can be recognized more accurately. [Brief description of the drawings]

[0010] [Figure 1] 1 is a schematic side view of a ship to which a distance recognition system is applied; [Diagram 2] FIG. 2 is a block diagram of a ship steering system. [Diagram 3] FIG. 2 is a schematic diagram showing the arrangement and imaging direction of a stereo camera. [Figure 4] 1 is a conceptual diagram of a first image and a second image. [Diagram 5] 13 is a flowchart showing a matching process. [Figure 6] FIG. 1 is a schematic diagram illustrating the principle of triangulation. [Figure 7] FIG. 13 is a schematic diagram showing a modified example of the matching process. [Figure 8] FIG. 13 is a schematic diagram showing a modified example of the stereo camera. [Figure 9] FIG. 13 is a schematic diagram showing a modified example of the stereo camera. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0012] 1 is a schematic side view of a boat to which a distance recognition system according to an embodiment of the present invention is applied. The boat 11 includes a hull 13 and outboard motors 15 mounted on the hull 13 as boat propulsion devices. The number of outboard motors 15 provided on the hull 13 is not limited. Inside a cabin 29 of the hull 13, a central unit 10, a subunit 40, a steering wheel 18, and a throttle lever 12 are provided near a pilot's seat 28.

[0013] In the following description, the front-rear, left-right, top-bottom directions refer to the front-rear, left-right, top-bottom directions of the hull 13 as shown in Fig. 1. The left-right direction is based on the case where the hull 13 is viewed from the rear. The vertical direction is a direction perpendicular to the front-rear and left-right directions. The vertical direction is defined as a direction perpendicular to the upper surface of the deck 45 of the hull 13.

[0014] The outboard motor 15 is attached to the hull 13 via a mounting unit 14. The outboard motor 15 has an engine 16, which is an internal combustion engine. The outboard motor 15 obtains thrust for moving the hull 13 by a propeller rotated by the driving force of the engine 16. The mounting unit 14 includes a swivel bracket, a clamp bracket, a steering shaft, and a tilt shaft (none of which are shown). The mounting unit 14 further includes a power trim and tilt mechanism (PTT mechanism) 27 (see FIG. 2). The PTT mechanism 27 rotates the outboard motor 15 around the tilt shaft. This allows the inclination angle (trim angle, tilt angle) of the outboard motor 15 with respect to the hull 13 to be changed, allowing trim adjustment and tilting the outboard motor 15 up / down. The outboard motor 15 is also rotatable around the steering shaft with respect to the swivel bracket. The outboard motor 15 rotates left and right when the steering wheel 18 is operated, thereby steering the boat 11.

[0015] A stereo camera 41 is installed at the upper front part of the cabin 29. The stereo camera 41 is attached to the cabin 29 directly or via a support part. The stereo camera 41 is disposed in a position forward of and higher than the helm seat 28. The stereo camera 41 includes a first camera 41a (first imaging part) and a second camera 41b (second imaging part) that form a pair of imaging parts. The imaging directions of the first camera 41a and the second camera 41b are both set to be substantially forward.

[0016] A straight line passing through the upper end 13a of the bow of the hull 13 and the upper end 18a (steering upper end) of the steering wheel 18 is defined as an imaginary straight line L1. In terms of the up-down direction, both of the cameras 41a and 41b are positioned in a region above the imaginary straight line L1 when viewed from the side (left or right) of the hull 13. Both of the cameras 41a and 41b are located forward of and above the upper rear end 29a of the cabin 29. In terms of the fore-aft direction, both of the cameras 41a and 41b are positioned forward of a position that is 1 / 3 of the total length of the hull 13 forward from the rear end of the hull 13.

[0017] 2 is a block diagram of a ship maneuvering system. The ship maneuvering system includes a distance recognition system 100. The distance recognition system 100 includes a recognition processing unit 20, a stereo camera 41, a display unit 9, and a setting operation unit 19. The entire ship maneuvering system may be referred to as the distance recognition system 100.

[0018] The vessel 11 mainly includes, as components related to maneuvering, a controller 30, a group of sensors 17, a receiving unit 39, a display unit 9, a setting operation unit 19, a steering actuator 24, a PTT mechanism 27, and an opening adjustment unit 26.

[0019] The controller 30, the sensor group 17, the opening adjustment section 26, the receiving section 39, the display section 9, and the setting operation section 19 are included in the central unit 10 or are arranged in the vicinity of the central unit 10. The display section 9 and the setting operation section 19 may be included in the sub-unit 40. Alternatively, the display section 9 and the setting operation section 19 may be provided separately in the central unit 10 and the sub-unit 40. The sensor group 17 includes a throttle sensor, a throttle opening sensor, a steering angle sensor, a hull speed sensor, a hull acceleration sensor, an attitude sensor, and an engine speed sensor (none of which are shown). The throttle opening sensor and the engine speed sensor are provided in the outboard motor 15. The steering actuator 24 and the PTT mechanism 27 are provided corresponding to the outboard motor 15.

[0020] The controller 30 includes a first communication unit 43, a first CPU 31, a first ROM 32, a first RAM 33, and a timer (not shown). The first ROM 32 stores a control program. The first CPU 31 realizes various control processes by expanding the control program stored in the first ROM 32 into the first RAM 33 and executing it. The first RAM 33 provides a work area when the first CPU 31 executes the control program. The first communication unit 43 communicates with the recognition processing unit 20 by wire or wirelessly.

[0021] The detection results from the sensor group 17 are supplied to the controller 30. The throttle lever 12 (Fig. 1) is a throttle operator that manually adjusts the throttle opening. The throttle sensor in the sensor group 17 detects the operating position of the throttle lever 12. The throttle opening sensor detects the opening of a throttle valve (not shown). The opening adjustment unit 26 adjusts the opening of the throttle valve. In normal control other than automatic steering, the first CPU 31 controls the opening adjustment unit 26 based on the operating position of the throttle lever 12. The steering angle sensor detects the rotation angle when the steering wheel 18 is rotated. The hull speed sensor and hull acceleration sensor respectively detect the sailing speed and acceleration of the ship 11 (hull 13).

[0022] The attitude sensor includes, for example, a gyro sensor and a magnetic direction sensor. Based on the signal output from the attitude sensor, the controller 30 calculates the roll angle, pitch angle, and yaw angle. The receiver 39 includes a receiver for GNSS (Global Navigation Satellite Systems) such as GPS, and has a function of receiving GPS signals and various other signals as position information. The signal received by the receiver 39 is supplied to the first CPU 31. The engine speed sensor detects the number of revolutions per unit time of the engine 16. The display unit 9 displays various information. The setting operation unit 19 includes an operator for performing operations related to maneuvering, a PTT operation switch, as well as a setting operator for performing various settings and an input operator for inputting various instructions (none of which are shown).

[0023] The steering actuator 24 rotates the outboard motor 15 left and right relative to the hull 13. This changes the direction in which a propulsive force acts on the hull 13. The PTT mechanism 27 rotates the outboard motor 15 about a tilt axis to tilt it relative to the clamp bracket. The PTT mechanism 27 is activated, for example, by operating a PTT operation switch. This makes it possible to change the tilt angle of the outboard motor 15 relative to the hull 13. The controller 30 may control the engine 16 via an outboard motor ECU (not shown) provided in the outboard motor 15.

[0024] The recognition processing unit 20 is included in the subunit 40. The recognition processing unit 20 includes a second communication unit 44, a second CPU 21, a second ROM 22, a second RAM 23, and a timer (not shown). The recognition processing unit 20 and the controller 30 are communicatively connected via the second communication unit 44 and the first communication unit 43. Any type of communication protocol may be used between them, but for example, the CAN (Control Area Network) protocol is used. The first CPU 31 communicates with the second CPU 21 to exchange information. The second ROM 22 stores a control program. The second CPU 21 realizes various control processes by expanding the control program stored in the second ROM 22 into the second RAM 23 and executing it. The second RAM 23 provides a work area when the second CPU 21 executes the control program. The display unit 9 and the setting operation unit 19 are connected to the recognition processing unit 20 as well as the controller 30.

[0025] FIG. 3 is a schematic diagram showing the arrangement and imaging direction of the stereo camera 41. The second camera 41b is arranged at a higher position than the first camera 41a. The angle of view and imaging direction of each camera are set so that the imaging range of the first camera 41a and the imaging range of the second camera 41b both include the water surface 46 during gliding. Moreover, the first camera 41a and the second camera 41b are arranged so that their imaging ranges substantially overlap each other. The images captured by the cameras 41a and 41b are supplied to the second CPU 21. The images captured by the cameras 41a and 41b are referred to as the first image and the second image, respectively.

[0026] The optical axis Xa of the imaging lens of the first camera 41a and the optical axis Xb of the imaging lens of the second camera 41b are approximately parallel to each other. The optical axis Xa and the plane 45a parallel to the deck 45 form an acute angle θa in the imaging direction (subject direction) and downward. Similarly, the optical axis Xb and the plane 45a parallel to the deck 45 form an acute angle θb in the imaging direction (subject direction) and downward. When the deck 45 is in a horizontal state, the optical axes Xa and Xb penetrate the water surface 46. Therefore, even if the attitude of the hull 13 changes, the water surface 46 is likely to be included in the imaging range. In consideration of the change in attitude of the hull 13, it is desirable to set the acute angles θa and θb to values ​​greater than 0 degrees and less than 20 degrees. As an example, when the height of the stereo camera 41 from the water surface 46 is set to about 1.7 m, in order to recognize waves 20 m ahead, it is desirable to set the acute angles θa and θb to 15 to 20 degrees.

[0027] The acute angles θa and θb may be greater than 20 degrees. For example, there may be cases where the stereo camera 41 is installed at a high position and the waves near the hull 13 are viewed from a high position looking down. Therefore, the acute angles θa and θb are usually set to values ​​greater than 0 degrees and less than 60 degrees, preferably greater than 0 degrees and less than 40 degrees, and more preferably greater than 0 degrees and less than 20 degrees.

[0028] Also, the position of the first camera 41a and the position of the second camera 41b in the direction of the optical axis Xa are approximately the same. That is, the positions of the imaging surfaces of the cameras 41a and 41b in the direction of the optical axis Xa are approximately the same. Furthermore, the position of the first camera 41a and the position of the second camera 41b are approximately the same in a direction (the left-right direction of the hull 13 in the configuration example shown in FIG. 3, i.e., the depth direction of the paper in FIG. 3) perpendicular to the direction of the optical axis Xa and the direction perpendicular to the deck 45 (the up-down direction of the hull 13). That is, when viewed from the front, the cameras 41b and 41a are lined up one above the other. These are useful for reducing the load of calculating distance information, which will be described later.

[0029] The second CPU 21 mainly works with the second CPU 21, the second ROM 22, the second RAM 23, the second communication unit 44, a timer (not shown), and the like to function as an image acquisition unit. The second CPU 21 as an image acquisition unit acquires a first image captured by the first camera 41a, and acquires a second image captured by the second camera 41b. The second CPU 21 mainly works with the second CPU 21, the second ROM 22, the second RAM 23, the second communication unit 44, a timer (not shown), and the like to function as a processing unit. The second CPU 21 as a processing unit acquires distance information (relative distance from the stereo camera 41) regarding an arbitrary position in the first image by a matching process between the first image and the second image, as will be described in detail later.

[0030] 4(a) and (b) are conceptual diagrams of a first image and a second image, respectively. The first image 51 and the second image 52 shown in FIG. 4(a) and (b) correspond to image frames acquired at the same timing.

[0031] The following describes an overview of matching processing for acquiring distance information for an arbitrary position in the first image 51. For this matching processing, a known stereo matching processing method using a Sum of Absolute Difference (SAD) function as disclosed in WO2016 / 063545 can be adopted.

[0032] In this matching process, the second CPU21 sets a reference area 53 in the first image 51. The reference area 53 is, for example, a rectangular pixel block of a predetermined number by a predetermined number of pixels. Next, the second CPU21 executes a distance information acquisition process. In the distance information acquisition process, distance information of a predetermined position (e.g., a center position) of the current reference area 53 is acquired. The second CPU21 sets the next reference area 53 at a position shifted by a predetermined pixel unit from the current reference area 53, and executes the distance information acquisition process for the next reference area 53. In this way, the distance information acquisition process is executed for each of the multiple reference areas 53 that are sequentially determined, whereby the distance of an arbitrary position in the imaging range is grasped.

[0033] The matching process including the distance information acquisition process will be described with reference to Figs. 4, 5 and 6. Fig. 5 is a flowchart showing the matching process. This process is realized by the second CPU 21 expanding a program stored in the second ROM 22 into the second RAM 23 and executing it. This process is started in response to an instruction from the boat operator. Alternatively, this process may be started when the boat maneuvering system is started.

[0034] In step S101, the second CPU 21 as an image acquisition unit acquires a first image 51 and a second image 52 captured by the first camera 41a and the second camera 41b, respectively. In step S102, the second CPU 21 sets a reference area 53 in the first image 51 as described above (see FIG. 4(a)). In steps S103 to S106, the second CPU 21 as a processing unit executes a distance information acquisition process.

[0035] In step S103, the second CPU 21 sets a search area 54 in the second image 52 based on the position and size of the reference area 53 (see FIG. 4(b)). At this time, the width of the search area 54 is the same as that of the reference area 53, and the longitudinal direction of the search area 54 corresponds to the arrangement direction of the first camera 41a and the second camera 41b. In this embodiment, since the first camera 41a and the second camera 41b are arranged substantially vertically, the search area 54 is substantially vertical on the pixel coordinates including the rectangular area corresponding to the reference area 53 in the second image 52. Strictly speaking, the longitudinal direction of the search area 54 is set to the direction of the epipolar line.

[0036] Next, in step S104, the second CPU 21 scans the search area 54 of the second image 52 in the longitudinal direction, and extracts an area in the search area 54 that matches the reference area 53 (referred to as a matching area 55) (see FIG. 4(b)). As a result, the matching area 55 is identified in the second image 52 as a pixel block in which the same object as that captured in the reference area 53 is captured.

[0037] Next, in step S105, the second CPU 21 obtains the disparity between corresponding feature points between the reference area 53 and the matching area 55. In step S106, the second CPU 21 uses the obtained disparity to obtain the distance between the feature points as distance information related to the current reference area 53, based on the known principle of triangulation.

[0038] FIG. 6 is a schematic diagram for explaining the principle of triangulation. The distance between the optical axes of the cameras 41a and 41b (the distance between the optical axis Xa and the optical axis Xb) is defined as the base length L. The focal length of each of the imaging lenses of the cameras 41a and 41b is defined as F. The amount of deviation of the corresponding point of the second image 52 relative to the first image 51 is defined as the parallax D on the imaging surface. The focal lengths of the cameras 41a and 41b, the number of pixels of the imaging element, and the size of one pixel are assumed to be equal to each other. Also, the positions of the imaging surfaces of the cameras 41a and 41b in the direction of the optical axis Xa are assumed to be approximately the same. The distance Z from the lens center of the cameras 41a and 41b to the object is derived by Equation 1 according to the principle of triangulation. Z = L × F / D (1)

[0039] Thereafter, the second CPU21 generates a distance image having distance data from the parallax D. The second CPU21 obtains distance information of the center position of the current reference area 53 from the distance image.

[0040] In step S107, the second CPU 21 determines whether or not the distance information acquisition process has been completed for the entire area in the first image 51. If the result of the determination is that the distance information acquisition process has not been completed for the entire area in the first image 51, the second CPU 21 returns to step S102. If the distance information acquisition process has been completed for the entire area in the first image 51, the second CPU 21 executes other processes in step S108 and then ends the process shown in FIG.

[0041] The "other processing" here refers to, for example, various processing operations corresponding to the settings and operations in the setting operation unit 19. Furthermore, if there is an instruction to end the boat maneuvering system, a process to end this flowchart is executed. Furthermore, the "other processing" may include a process to transmit the distance information acquired in step S106 to the controller 30.

[0042] Here, in a stereo camera generally used in the field of automobiles, two imaging units are arranged side by side, so the search area is in the left-right direction. If the two cameras 41a and 41b were arranged side by side in the left-right direction in this embodiment as well, and the search area 54 was set in the left-right direction, the extraction accuracy of the match area 55 would be low. This is because it is not easy to distinguish between similar waves that are at the same distance from each other. However, in this embodiment, the cameras 41a and 41b are arranged in a substantially vertical relationship, and the search area 54 is set in a substantially vertical direction, so the extraction accuracy of the match area 55 is high. This is because waves have different sizes depending on the distance, so it is relatively easy to distinguish between waves that are at different distances from each other.

[0043] Incidentally, the recognition processing unit 20 as a recognition unit may recognize the water surface state based on the acquired distance information. For example, the recognition processing unit 20 determines the presence of waves from the distance of any position in the image, and recognizes the water surface state from the heights of multiple waves that are determined to exist. In this case, the recognition processing unit 20 may determine the degree of waves based on the maximum height among the multiple waves, or based on the average height.

[0044] For example, in other processing of step S108, the second CPU 21 may integrate the acquired distance information and shape information of the object to grasp and output the shape of each wave. Furthermore, the second CPU 21 may measure the water surface height at a certain distance from the hull 13 based on the distance information, and if the water surface height has changed beyond a threshold value since a predetermined time (e.g., several seconds), issue a notification to that effect. Such an operation is realized, for example, by the following processing.

[0045] First, the second CPU21 obtains a distance image and then estimates the reference level of the water surface by the least squares method. Here, the "reference level" is the water surface height in the entire range included in the image (the water surface position when it is assumed that there are no waves and it is flat). Next, the second CPU21 corrects the distance image using the reference level. Next, the second CPU21 cuts out a part of the water surface at a certain distance (e.g., 5 m) from the distance image, and calculates the average and median of the water surface height of the area corresponding to the cut-out distance image. Then, the second CPU21, judging from the past water surface height log, causes the display unit 9 to display the above-mentioned notification if the water surface height suddenly rises above the threshold.

[0046] It should be noted that the first CPU 31 of the controller 30 may function as a recognition unit to recognize the water surface state based on the distance information received from the distance recognition system 100.

[0047] The acquired distance information may be displayed on the display unit 9 so that the operator can visually confirm the information. The second CPU 21 can selectively set a distance information acquisition processing mode in which the distance information acquisition processing is executed in response to an instruction from the operator, and a normal mode in which the distance information acquisition processing is not executed. The second CPU 21 controls the display as follows according to the mode.

[0048] As an example, in the normal mode, the first image 51 is displayed on the display unit 9. In addition, in the distance information acquisition process, the first image 51 is displayed on the display unit 9, and when notifying that the water surface height has exceeded the threshold, a message or mark is displayed superimposed on the first image 51. In either mode, the display unit 9 may be split into two screens to display the first image 51 and the second image 52 in parallel. Alternatively, a monitor separate from the display unit 9 may be provided, and the first image 51 may be displayed on one of the display unit 9 and the monitor, and the second image 52 may be displayed on the other. The above notification may be displayed on a separate screen, rather than superimposed. In addition, a windshield or the like may be used as a monitor separate from the display unit 9.

[0049] According to this embodiment, in stereo camera 41, second camera 41b is disposed at a higher position than first camera 41a. By a matching process between first image 51 and second image 52, distance information regarding an arbitrary position in first image 51 is acquired. This makes it possible to recognize the distance to an arbitrary position in the imaging range more accurately.

[0050] In addition, the positions of the cameras 41a, 41b in the direction of the optical axis Xa and in the left-right direction of the hull 13 are approximately the same, which reduces the load of calculating distance information. Moreover, the optical axes Xa and Xb are approximately parallel to each other, so the accuracy of the acquired distance information is high.

[0051] In addition, since the imaging direction of the cameras 41a, 41b is substantially forward, the distance in the main traveling direction can be accurately recognized. Furthermore, the stereo camera 41 is disposed in an area above the imaginary straight line L1 passing through the upper end of the bow 13a of the hull 13 and the upper end of the steering wheel when viewed from the side of the hull 13, and the optical axis Xa and the surface 45a form an acute angle θa below in the imaging direction, making it easy to recognize the water surface state.

[0052] The stereo camera 41 may be installed at the front of the hull 13 (for example, at position 41-1 shown in FIG. 1). In this case, the stereo camera 41 may be attached, for example, directly to a bow rail (not shown) or via a support. Alternatively, when it is desired to obtain the distance to the side of the hull 13, the stereo camera 41 may be disposed on the side of the hull 13.

[0053] Various modified examples will be described with reference to FIGS.

[0054] Fig. 7 is a schematic diagram showing a modified example of the matching process. In the explanation using Figs. 4(a) and (b), the reference areas 53 set sequentially have the same shape and size. However, this is not limited to this, and the size of the reference area 53 may be made different depending on the area in the first image 51, and the shape and size of the search area 54 set in the second image 52 may be made different depending on the size of the reference area 53 (first method).

[0055] For example, when the cameras 41b and 41a are arranged in a substantially vertical relationship as shown in FIG. 3, the size of the reference area 53 may be reduced as the image area corresponds to a farther area relative to the stereo camera 41, as shown in FIG. 7. The upper range in the first image 51 corresponds to an area farther away from the stereo camera 41. The image area of ​​the first image 51 is classified into, for example, three areas, which are an upper range, a middle range, and a lower range from the top. The second CPU 21 sets the reference area 53A in the upper range. The second CPU 21 also sets the reference area 53A in the same upper range but different ranges in the left-right direction. Similarly, the second CPU 21 sets the reference area 53B in the middle range and sets the reference area 53C in the lower range. The reference areas 53A, 53B, and 53C are similar rectangles, but the sizes are 53A<53B<53C, and the reference area 53A is the smallest. In other words, the second CPU21 makes the size of the reference area 53 set in a first range in the first image 51 smaller than the size of the reference area 53 set in a second range lower than the first range in the first image 51.

[0056] Furthermore, when the second CPU 21 sets the search area 54 in the second image 52, the upper range, the middle range, and the lower range are set to the same width as the reference areas 53A, 53B, and 53C, respectively. The longitudinal direction of the search area 54 is the vertical direction in the second image 52. The reason for setting the size relationship of the reference areas in this manner is that the farther the area from the stereo camera 41 is, the wider the distance distribution included in the same image area becomes. In other words, by reducing the size of the reference area 53A corresponding to the distant area, the distance distribution included in the reference area 53A is prevented from becoming wider. This improves the accuracy of the acquired distance information, and makes it possible to more accurately recognize the distance at any position in the imaging range.

[0057] The process of reducing the size of the reference region 53 in the upward direction in the first image 51 is not limited to the case where the cameras 41b and 41a are arranged in a substantially vertical relationship as shown in Fig. 3. In other words, the process described above is applicable to any configuration in which the second camera 41b is arranged at a higher position than the first camera 41a.

[0058] As a second method, the same effect can be obtained by changing the image size in the matching process without changing the shapes and sizes of reference area 53 and search area 54. That is, the image size corresponding to reference area 53 may be made different depending on the area in first image 51, and the shape and size of search area 54 set in second image 52 may be made different depending on the image size corresponding to reference area 53.

[0059] For example, the size of the reference area 53 is the same in the upper range, the middle range, and the lower range of the first image 51. Also, the width of the search area 54 in the second image 52 is uniform and the same as the reference area 53. Meanwhile, the image sizes in the upper range, the middle range, and the lower range of the first image 51 are changed so that the upper range>the middle range>the lower range. That is, the image size is enlarged as the reference area 53 corresponds to the farther area. At the same time, the image sizes in the upper range, the middle range, and the lower range of the search area 54 in the second image 52 are changed to match the image sizes in the upper range, the middle range, and the lower range of the first image 51. In this way, the image size corresponding to the reference area 53 is enlarged as the area becomes farther, thereby preventing the distance distribution included in the reference area 53 from becoming wider. This improves the accuracy of the acquired distance information, and the distance of any position in the imaging range can be recognized more accurately.

[0060] The above first and second methods may be used in combination.

[0061] 8 and 9 are schematic diagrams showing modified examples of the stereo camera 41. The relative arrangement of the cameras 41a and 41b and the angles of the optical axes Xa and Xb can be changed within a range in which matching processing is possible.

[0062] In the example shown in Fig. 3, the positions of the cameras 41a and 41b in the direction of the optical axis Xa are approximately the same. In the example shown in Fig. 8, the second camera 41b is located in the direction of the optical axis Xa toward the subject (forward) by D1 relative to the first camera 41a. When adopting a configuration in which the cameras 41a and 41b are offset in the direction of the optical axis Xa in this manner, it is desirable to apply triangulation after correcting the size of at least one of the images 51 and 52 so that the sizes of the first image 51 and the second image 52 are the same.

[0063] Also, as shown in FIG. 9, a configuration may be adopted in which the optical axes Xa and Xb are not parallel to each other but intersect. In this case, in triangulation, distance information may be approximately calculated using a calculation formula that assumes that the optical axes Xa and Xb are parallel. However, doing so results in low accuracy. For this reason, it is preferable to use a known calculation method such as that disclosed in "https: / / www.jstage.jst.go.jp / article / prociiae / 2014 / 0 / 2014_68 / _pdf" (Proposal of a triangulation method compatible with 3D cameras with intersecting optical axes).

[0064] Although the first and second images are acquired from the cameras 41a and 41b, the first and second images may be acquired from the cameras 41b and 41a, respectively. In other words, the first image 51 may be acquired by one of the cameras 41b and 41a, and the second image 52 may be acquired by the other of the cameras 41b and 41a.

[0065] In addition, the vessel to which the present invention is applicable is not limited to vessels equipped with outboard motors, but may also be vessels equipped with other types of marine propulsion engines, such as inboard / outboard motors (stern drives, inboard motors, outboard drives), inboard motors, water jet drives, etc.

[0066] In the present embodiment, the term "approximately" does not mean to exclude completeness. For example, "approximately overlapping," "approximately parallel," "approximately forward," and "approximately matching" are intended to include complete overlapping, parallel, forward, and matching, respectively.

[0067] The present invention has been described above in detail based on preferred embodiments thereof, but the present invention is not limited to these specific embodiments, and various forms that do not deviate from the gist of the present invention are also included in the present invention. [Explanation of symbols]

[0068] 13 Ship body, 21 Second CPU, 41 Stereo camera, 41a First camera, 41b Second camera, 51 First image, 52 Second image

Claims

1. a first imaging unit disposed on the hull so that the water surface is included in an imaging range; a second imaging unit disposed at a position higher than the first imaging unit on the hull so that the water surface is included in an imaging range; and an image acquisition unit that acquires a first image captured by one of the first imaging unit or the second imaging unit and a second image captured by the other of the first imaging unit or the second imaging unit; a processing unit that acquires distance information relating to an arbitrary position in the first image by a matching process between the first image and the second image, The processing unit measures the water surface height at a certain distance from the hull based on the distance information, and if the measured water surface height changes by more than a threshold value from a predetermined time ago, issues a notification to that effect.

2. The distance recognition system according to claim 1 , wherein a position of the first imaging unit and a position of the second imaging unit in the optical axis direction of the first imaging unit substantially coincide with each other.

3. 3. The distance recognition system according to claim 1, wherein a position of the first imaging unit and a position of the second imaging unit in a direction perpendicular to an optical axis direction of the first imaging unit and a vertical direction of the hull are substantially the same.

4. The distance recognition system according to claim 1 , wherein an imaging direction of at least one of the first imaging unit and the second imaging unit is substantially forward.

5. 5. The distance recognition system according to claim 1, wherein the first imaging unit and the second imaging unit are both positioned in an area above a virtual straight line passing through an upper end of the bow of the hull and an upper end of a steering wheel when viewed from the side of the hull.

6. The distance recognition system according to claim 1 , wherein an optical axis of the first imaging unit and an optical axis of the second imaging unit are substantially parallel to each other.

7. 7. The distance recognition system according to claim 1, wherein an optical axis of at least one of the first imaging unit or the second imaging unit and a plane parallel to the deck of the hull form an acute angle in the imaging direction and downward.

8. The distance recognition system according to claim 1 , wherein the matching process is a stereo matching process.

9. the processing unit determines a plurality of reference regions from the first image and performs a distance information acquisition process for each of the plurality of reference regions; In the distance information acquisition process, the processing unit a search area is set in the second image in a direction corresponding to an arrangement direction of the first imaging unit and the second imaging unit based on a position and a size of the reference area; Extracting an area that matches the reference area from the search area; determining a disparity between corresponding feature points between the matching region and the reference region; The distance recognition system according to claim 1 , wherein the parallax is used to acquire the distance to the feature point as the distance information by triangulation.

10. 10. The distance recognition system of claim 9, wherein, when determining the reference area from the first image, the processing unit sets a size of the reference area set in a first range in the first image to be smaller than a size of the reference area set in a second range in the first image that is lower than the first range.

11. 10. The distance recognition system of claim 9, wherein the processing unit makes an image size corresponding to the reference area set in a first range in the first image larger than an image size corresponding to the reference area set in a second range lower than the first range in the first image, and changes an image size corresponding to the search area to match the reference area.

12. The distance recognition system according to claim 1 , further comprising a recognition unit that recognizes a water surface state based on the distance information acquired by the processing unit.

13. A method for controlling a distance recognition system having a first imaging unit disposed on a hull so that a water surface is included in an imaging range, and a second imaging unit disposed on the hull at a position higher than the first imaging unit so that the water surface is included in an imaging range, acquiring a first image captured by one of the first imaging unit or the second imaging unit and a second image captured by the other of the first imaging unit or the second imaging unit; obtaining distance information for an arbitrary position in the first image by a matching process between the first image and the second image; A control method for a distance recognition system, which measures the water surface height at a certain distance from the hull based on the distance information, and if the measured water surface height changes by more than a threshold value from a predetermined time ago, issues a notification to that effect.

14. A vessel comprising a distance recognition system according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Method for measuring wave peak

    JP1997325027A

  • Stereoscopic camera apparatus

    JP2005009883A

  • Distance measuring device

    JP2008070120A

  • Stereo image processing apparatus and stereo image processing method

    JP2014089498A

  • Measurement device and measurement method

    JP2016217944A