Ship dynamic visualization display method and system

Through the dynamic visual display method of ships, an equal-scale model is established using navigation scene images and operating parameters, and compared with images collected by drones, which solves the problem of insufficient dynamic ship display in the existing technology and enables designers to monitor ship operations. Intuitive understanding of the situation and model stability and security.

CN118734526APending Publication Date: 2024-10-01NINGBO UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311008620.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-11
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing ship display methods mainly display data when the ship is not operating, which cannot allow designers to intuitively feel the situation of the ship when it is operating, and lacks dynamic display means.

Method used

Using the ship dynamic visual display method, by acquiring navigation scene images and ship operating parameters, a scaled-down model of the ship is established, and its movement is controlled in the environmental scene model, a data chart is generated, and real-time comparison is performed based on the images collected by the drone. Yes, enhance the fidelity and stability of the model.

Benefits of technology

It allows designers to intuitively understand the actual situation of the ship during operation, improves the fidelity and stability of the model, and ensures the safety of the drone and the accuracy of modeling by detecting external obstructions and analysis of flying objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734526A_ABST
    Figure CN118734526A_ABST
Patent Text Reader

Abstract

The invention relates to a ship dynamic visualization display method and system, and relates to the field of ship visualization technology, and the method comprises the steps: obtaining a ship needing to be displayed, a navigation scene image, and ship operation parameters; displaying the ship according to requirements to establish a ship equal-ratio model which is reduced in an equal-ratio manner; establishing an environment scene model according to the route scene image; and importing the ship equal-proportion model into the environment scene model, controlling the ship equal-proportion model to move in the environment scene model according to the ship operation parameters, generating a data chart according to the ship operation parameters in the moving process of the ship equal-proportion model, and displaying the data chart at a preset fixed position. The method has the effect that designers can intuitively feel the operation condition of the ship.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of ship visualization technology, and in particular to a method and system for dynamic visualization display of a ship. Background Art

[0002] With the continuous development of science and technology, global trade has become the main means of trade at present, and what follows is the continuous reform and upgrading of ship technology.

[0003] Among the related technologies, the information platform currently constructed by ship companies is mainly used for displaying ship models and explaining various parameters, so that the corresponding designers can know the advantages and disadvantages of the ship and facilitate subsequent design.

[0004] Regarding the above-mentioned related technologies, the inventor believes that the contents currently displayed are all data when the ship is not running, which cannot enable designers to intuitively feel the situation when the ship is running, and there is still room for improvement. Summary of the invention

[0005] In order to enable designers to intuitively experience the conditions of a ship during operation, the present application provides a method and system for visualizing the dynamics of a ship.

[0006] In the first aspect, the present application provides a method for visualizing the dynamic display of a ship, which adopts the following technical solution: A ship dynamic visualization display method, comprising: Obtain required display of ships, navigation scene images and ship operation parameters; Display the ship to build a scaled-down ship model according to the requirements; Establishing an environmental scene model based on the route scene images; The ship proportional model is imported into the environmental scene model, and the ship proportional model is controlled to move in the environmental scene model according to the ship operating parameters. During the movement of the ship proportional model, a data chart is generated according to the ship operating parameters and displayed at a preset fixed position.

[0007] By adopting the above technical solution, during the display of the ship, three-dimensional modeling can be performed according to the actual situation of the ship, and the corresponding value can be added to the scene to increase the realism, and the same type of movement can be performed according to the movement of the actual ship, so that the designer can intuitively know the actual operation of the ship.

[0008] Optionally, the steps of displaying the ship according to the requirement to establish a scaled-down ship model include: According to the preset ship matching relationship, the original ship model corresponding to the required display ship and the required detection path are determined; Control the inspection drone preset on the required display ship to move along the required inspection path and obtain the drone position and actual image of the ship in real time; Determine the drone position based on the preset image matching relationship and display the proposed ship image corresponding to the required ship; Compare the actual image of the ship with the proposed image of the ship to determine the image similarity; Determine whether the image similarity is greater than a preset required value; If the image similarity is greater than the required value, no action is taken; If the image similarity is not greater than the required value, the actual image of the ship is defined as the change mark image; After the drone moves, three-dimensional modeling is performed on the original ship model based on all the change mark images to determine the ship's proportional model.

[0009] By adopting the above technical solution, in the process of establishing the three-dimensional model of the ship, the detection drone can be controlled to fly and move to collect images, so that the ship model can be proportionally modeled according to the actual situation of the ship, so as to further increase the realism of the ship.

[0010] Optionally, after the change mark image is defined, the step of establishing the ship proportional model further includes: The pixel points in the change mark image that are inconsistent with the corresponding proposed ship image are defined as change points; The common interval is defined with the change point as the center and the preset adjacent pixel distance as the radius; The change points in the same common interval are summarized into a change set whose initial value is empty, and the change points in the change set are counted to determine the number of changes; Calculate the change percentage based on the change quantity and the preset fixed quantity; Determine whether the change percentage values ​​in the change set determined in the change mark image are all less than a preset allowable percentage value; If the change percentage values ​​in the change set determined in the change mark image are all less than the allowed percentage value, the determined change mark image is maintained; If the change ratio values ​​in the change set determined in the change mark image are not all less than the allowed ratio value, the change set whose change ratio value is greater than the allowed ratio value is defined as an abnormal set, and an abnormal area is delineated in the change mark image according to the abnormal set, and the determination area in the ship is determined according to the position of the drone and the abnormal area; Delimiting a determination position interval on the detection moving path according to the position of the UAV and the determination area, and defining the actual image of the ship acquired in the determination position interval as an associated image associated with the current change mark image; Delimiting a detection area according to the determination area in the associated image, and determining whether the detection area is an abnormal area; If the detected area is an abnormal area, the currently determined change mark image is maintained; If the detected area is not an abnormal area, the currently determined change mark image is discarded.

[0011] By adopting the above technical solution, the situation of image inconsistency is analyzed to determine whether it is caused by an external flying object blocking the camera of the detection drone, so that the ship modeling is more stable.

[0012] Optionally, the method further includes a step of detecting the movement of the drone after the change mark image is discarded, the step comprising: According to the abnormal area, the acquisition pixel distance of each change point is obtained; The occlusion interval distance is determined by averaging all collected pixel distances, and the location of the occlusion object is determined based on the obstacle interval distance, the drone position, and the abnormal area; Establishing a unit interval with a preset unit duration and a fixed interval with a preset fixed duration on a preset time axis, and making the rear end point of the unit interval and the front end point of the fixed interval coincide with the current time point; Determine in the unit interval whether there is an obstruction position that is not at the rear end point of the unit interval; If there is no obstruction position that is not at the end point of the unit interval, the detection drone is controlled to continue moving along the required detection path; If there is an obstruction position that is not at the rear end point of the unit interval, the time point at which the obstruction position exists is defined as the starting point, the obstruction position obtained at the starting point is defined as the initial position, and the obstruction position obtained at the rear end point of the unit interval is defined as the ending position; Calculate the interval duration based on each starting point and the rear end point of the unit interval, and establish the obstruction flight path based on the end position, the initial position and the interval duration; At each time point in a fixed interval, the object distance between the detection drone and the obstruction is determined according to the obstruction flight path and the required detection path; Determine whether there is a situation where the distance between objects is less than the preset safety distance; If there is no object whose distance is less than the safe distance, the detection drone is controlled to continue moving along the required detection path; If there is a situation where the distance between objects is less than the safe distance, the inspection drone is controlled to stop moving within the preset waiting time, and then continues to move along the required inspection path after the waiting time.

[0013] By adopting the above technical solution, it is possible to determine whether the external obstruction will collide with the inspection drone based on its flight movement, thereby controlling the corresponding movement of the inspection drone to reduce the possibility of collision during flight and improve the safety of the inspection drone.

[0014] Optionally, if there is a situation where the distance between the objects is less than the safe distance, the step of detecting the movement of the drone also includes: The preset original speed is corrected and updated according to the preset correction speed to determine the flight speed of the detection drone; Update the distance between the objects according to the flight speed and determine again whether the distance between the objects is less than the safe distance; If there is no object whose distance is less than the safe distance, the detection drone is controlled to move at the flight speed and the real-time distance between the detection drone and the obstruction is calculated in real time when the detection drone flies at the original speed. When the real-time distance is greater than the safe distance, the detection drone is controlled to return to the original speed for flight; If there is a situation where the distance between the objects is less than the safe distance, the preset initial value of zero is controlled to be increased by one, and the correction speed is controlled to repeatedly correct and update the flight speed to determine a new flight speed to judge the distance between the objects again, until the number of corrections is greater than the preset allowable number or the detection drone moves at the flight speed; When the number of corrections is greater than the allowed number, the inspection drone is controlled to stop moving within the waiting time, and continues to move along the required inspection path after the waiting time.

[0015] By adopting the above technical solution, the flight speed of the detection drone can be corrected so that the detection drone can operate while reducing the possibility of collision.

[0016] Optionally, the step of determining the ship proportional model according to all the change marked images further includes: In any change mark image, a change point that is not in the abnormal set is defined as a decision point, and the actual position is determined based on the decision point, the drone position and the change mark image; The remaining change-marked images containing the determined actual positions are defined as similar images, and the detection points are determined based on the similar images, the corresponding drone positions, and the determined actual positions; Determine whether all detection points are change points; If all the detection points are not change points, the detection points will be cancelled on the change mark image; If all the detection points are change points, it is determined whether there will be conflicts in the modeling of the actual position; If it is determined that the modeling of the actual position will not cause a conflict, the current detection point on the change mark image is maintained; If it is determined that the modeling of the actual position will cause a conflict, then according to the conflict situation, the change-marked images that will not cause a conflict are summarized into the same preset image set, and the number of images is determined according to the change-marked images in the image set; The number of images with the largest value is determined according to a preset sorting rule, and the current change point is modeled according to the change mark images in the image set corresponding to the number of images.

[0017] By adopting the above technical solution, the points where conflicts may occur in modeling can be determined and analyzed, so that the ship model can be modeled more stably.

[0018] Optionally, when there are at least two maximum numbers of images, the step of determining the proportional model of the ship further comprises: In the change mark image of the image set with the largest number of images, a similar area is defined with the detection point as the center and the preset similarity distance as the radius, and the remaining pixels in the similar area that are not detection points are defined as similar points; Get the detected background color value of the detected point and the similar background color value of the similar point; Calculate the deviation background color value based on the detected background color value and the similar background color value; Determine the pixel distance value according to the similarity points and the detection points, and determine the influence coefficient corresponding to the pixel distance value according to the preset coefficient matching relationship; Calculate the similarity deviation based on the deviation background color value and the corresponding influence coefficient; Calculate the mean value of all similar deviations in the same image set to determine the mean deviation; The mean deviation with the smallest value is determined according to the sorting rule, and the current change point is modeled according to the change mark image in the image set corresponding to the mean deviation.

[0019] By adopting the above technical solution, the image that meets the current modeling requirements of the point is determined by changing the situation of the pixels around the point, so that the ship modeling is more stable.

[0020] In the second aspect, the present application provides a ship dynamic visualization display system, which adopts the following technical solution: A ship dynamic visualization display system, comprising: An acquisition module is used to obtain the required display of ships, navigation scene images and ship operation parameters; A processing module, connected to the acquisition module, for storing and processing information; The processing module displays the ship according to the requirements to establish a proportional model of the ship; The processing module establishes an environmental scene model according to the route scene image; The processing module imports the ship proportional model into the environmental scene model, and controls the ship proportional model to move in the environmental scene model according to the ship operating parameters, and generates a data chart according to the ship operating parameters during the movement of the ship proportional model and displays it at a preset fixed position.

[0021] By adopting the above technical solution, during the display of the ship, the processing module can perform three-dimensional modeling according to the actual situation of the ship, and add the corresponding value to the scene to increase the realism, and perform the same type of movement according to the movement of the actual ship, so that the designer can intuitively know the actual operation of the ship.

[0022] In summary, the present application includes at least one of the following beneficial technical effects: During the display of the ship, the model can be controlled to move accordingly according to the actual situation of the ship, so that the designer can directly observe the situation of the ship when it is sailing, which is convenient for the subsequent design of the ship; Based on the similarity comparison, it is determined whether there is an external flying object blocking the camera of the detection drone, so that the establishment of the ship model is closer to the actual ship situation; When there are flying objects outside, it can be determined whether they will collide with the inspection drone based on their movement, making the flight of the inspection drone safer and more stable. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flow chart of the method for visualizing the dynamic display of ships.

[0024] Figure 2 It is a flow chart of the method for establishing a ship proportional model.

[0025] Figure 3 It is a flow chart of the method for analyzing abnormal occlusion of an image.

[0026] Figure 4 It is a flow chart of the flight safety analysis method for detecting UAVs.

[0027] Figure 5 It is a flow chart of the flight speed correction method.

[0028] Figure 6 It is a flow chart of the ship model building process analysis method.

[0029] Figure 7 is a flow chart of the ship image screening method.

[0030] Figure 8 It is a module flow chart of the ship dynamic visualization display method. Implementation

[0031] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-8 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0032] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0033] The embodiment of the present application discloses a method for dynamic visualization display of a ship. Before the ship sails, a detection drone is controlled to fly to collect images of the ship, so as to obtain a ship model that is proportionally reduced from the actual ship. The ship model is then imported into a corresponding environmental model for display. During the display of the ship model, the ship model can be moved accordingly according to the actual sailing conditions of the ship, so that designers can more intuitively understand the sailing conditions of the ship, which is convenient for subsequent ship design.

[0034] Reference Figure 1 ,The method flow of the ship dynamic visualization display method includes the following steps: Step S100: Obtain the required display ship, navigation scene image and ship operation parameters.

[0035] The ship to be displayed is a ship in real life that needs to be displayed on the web page for designers or the public to watch. The navigation scene image is an image of the front and both sides of the ship's navigation direction captured by the camera installed on the ship during the navigation process. The ship operation parameters are various parameters during the ship's navigation process, which include static parameters and dynamic parameters, among which the static parameters include ship length, ship width, etc., and the dynamic parameters include angular velocity, heading angle, position, draft depth, etc. A two-way data transmission channel between the sensor installed on the ship and the server can be established through Websocket technology to realize real-time data transmission.

[0036] Step S101: Display the ship according to the demand to establish a proportional model of the ship.

[0037] The ship proportional model is an electronic model obtained by three-dimensional modeling of the ship according to the needs. The modeling operation can be completed through software such as UG and SolidWorks. The specific modeling method is described below and will not be repeated here.

[0038] Step S102: Establishing an environmental scene model according to the route scene image.

[0039] The environmental scene model is a virtual scene model established using route scene images. The scene includes features such as the sky, ocean, and reef islands. It is first simulated and established through the mapping method, and the environment can be rendered using WebGLRenderer to increase realism.

[0040] Step S103: Import the ship proportional model into the environmental scene model, and control the ship proportional model to move in the environmental scene model according to the ship operating parameters, and generate a data chart according to the ship operating parameters during the movement of the ship proportional model and display it at a preset fixed position.

[0041] The ship proportional model is imported into the environmental scene model to realize the display of the ship model. At this time, the ship proportional model is controlled to perform the same action according to the actual situation of the ship operation process to realize the intuitive display of the ship operation situation. The ship model can be viewed from different angles by adding cameras of different angles in the environment. At the same time, the corresponding parameters are generated into data charts for display at fixed positions so that designers can know the actual data situation of the ship operation, which is convenient for subsequent corresponding design operations. The data charts produced may include the roll, pitch and heave status of the ship. The fixed position is the position set in advance by the staff for the display of the data chart. When the fixed position of the environmental model has features that are not the ocean or the sky, the fixed position can be replaced with other positions where only the ocean or the sky exists, so that the designers can further observe the actual navigation situation of the ship.

[0042] Reference Figure 2 The steps of displaying a ship according to the requirements to establish a scaled-down ship model include: Step S200: determining the original ship model corresponding to the required display ship and the required detection path according to the preset ship matching relationship.

[0043] The original model of the ship is the three-dimensional model recorded in the database when the ship was designed, that is, the three-dimensional model of the ship when it is loaded with any containers and the like. The required detection path is the path that the drone moves when using the drone to take images of the ship. Different required display ships have inconsistent lengths and widths, and the corresponding paths are also inconsistent. The ship matching relationship between the three is input and stored in advance by the staff.

[0044] Step S201: Control the inspection drone preset on the required display ship to move along the required inspection path and obtain the drone position and the actual image of the ship in real time.

[0045] The inspection drone is a drone device installed at the set position of the demand display ship, which can fly and move and collect images below. The device used to take pictures on the inspection drone is similar to the arrangement of two human eyes. Each individual device can obtain the corresponding image, and the images obtained by the two devices can be combined to obtain an image with a larger viewing angle range; the drone position is the position of the drone on the demand detection path, which can be determined by the flight status of the inspection drone. The actual image of the ship is the image of the demand display ship taken by the inspection drone when it is at the drone position.

[0046] Step S202: Determine the position of the drone and the proposed ship image corresponding to the ship to be displayed according to a preset image matching relationship.

[0047] The proposed image of the ship is the image that can be obtained when the detection drone acquires the image of the ship that has just been produced according to the design drawings when it is at the drone position. There are different images corresponding to different drone positions and different ships. The image matching relationship between the three is entered and stored in advance by the staff.

[0048] Step S203: performing a comparison based on the actual image of the ship and the proposed image of the ship to determine the image similarity.

[0049] Image similarity is the degree of similarity between two images, which can be determined by comparing each pixel.

[0050] Step S204: determining whether the image similarity is greater than a preset required value.

[0051] The required value is the minimum image similarity set by the staff to determine that the position of the image on the ship has not changed compared to the original model of the ship. The purpose of the judgment is to find out whether there is a significant change in the position of the ship corresponding to the image, that is, whether there is any operation such as loading containers at that position.

[0052] Step S2041: If the image similarity is greater than the required value, no action is taken.

[0053] When the image similarity is greater than the required value, it means that there is no significant change in the position and no additional operation is required.

[0054] Step S2042: If the image similarity is not greater than the required value, the actual image of the ship is defined as a change mark image.

[0055] When the image similarity is not greater than the required value, it means that the position in the image has changed significantly. At this time, the actual image of the ship is defined as a change mark image to distinguish between different actual images of ships, which is convenient for subsequent modeling operations.

[0056] Step S205: After the drone moves, three-dimensional modeling is performed on the original ship model according to all the change mark images to determine the proportional model of the ship.

[0057] All the change mark images are used to perform three-dimensional modeling on the original ship model, so that the established ship proportional model is a proportional scale model of the actual ship, thereby achieving a better display effect.

[0058] Reference Figure 3 After the change mark image is defined, the steps of establishing the ship proportional model also include: Step S300: defining pixel points in the change mark image that are inconsistent with the corresponding proposed ship image as change points.

[0059] Define change points to distinguish different pixels, which facilitates further analysis of the image.

[0060] Step S301: defining a common interval with the change point as the center and the preset adjacent pixel distance as the radius.

[0061] The distance between adjacent pixels is the maximum distance between change points that are determined to be closer to the change points, which is set by the staff. Generally, it is a unit pixel distance value. Common areas are defined to distinguish different pixel points for subsequent analysis.

[0062] Step S302: group the change points in the same common interval into a change set whose initial value is empty, and count the change points in the change set to determine the number of changes.

[0063] The change points around the change points are determined by induction of the change set. The induction method is as follows: for example, there are change points A, B, and C, where A is adjacent to B, B is adjacent to C, but A is not adjacent to C. A, B, and C can still be included in the same change set; the number of changes is the total number of change points in the change set, which can be determined by counting the change points one by one.

[0064] Step S303: Calculate the change ratio according to the change quantity and the preset fixed quantity.

[0065] The fixed number is the total number of all pixels in an image, and the change ratio is the ratio of the change points in a single change set to all pixels in the image, which is determined by dividing the change number by the fixed number.

[0066] Step S304: determining whether the change percentage values ​​in the change set determined in the change mark image are all smaller than a preset allowable percentage value.

[0067] The allowed percentage value is the minimum change percentage value set by the staff to determine that the current image is normal. The purpose of the judgment is to know whether the current image is normal, that is, whether there are external flying objects (such as seagulls) blocking the shooting port of the detection drone.

[0068] Step S3041: If the change percentage values ​​in the change set determined in the change mark image are all smaller than the allowed percentage value, the determined change mark image is maintained.

[0069] When the change percentage values ​​in the change set determined in the change mark image are all less than the allowed percentage value, it means that the acquired image is normal and no additional operation is required.

[0070] Step S3042: If the change proportion values ​​in the change set determined in the change mark image are not all less than the allowed proportion values, the change set whose change proportion values ​​are greater than the allowed proportion values ​​is defined as an abnormal set, and an abnormal area is delineated in the change mark image based on the abnormal set, and the judgment area in the ship is determined based on the position of the drone and the abnormal area.

[0071] When the change ratio values ​​in the change set determined in the change mark image are not all less than the allowed ratio value, it means that there is a situation where the feature change of at least one area is large. At this time, there may be an external flying object blocking it, which requires further analysis; define an abnormal set to distinguish different change sets. The abnormal area is the area enclosed by the change points where the abnormal set is located in the change mark image. The judgment area is the actual area in the ship corresponding to the abnormal area, which can be determined by the current position of the drone and the position of the abnormal area in the image.

[0072] Step S305: Delimiting a determination position interval on the detection moving path according to the position of the drone and the determination area, and defining the actual image of the ship acquired in the determination position interval as an associated image associated with the current change mark image.

[0073] The determination position interval is the position interval where the detection drone is located when the detection drone can fully acquire the image of the determination area. It can be determined by the position of the determination area and the position of the drone. Associated images are defined to distinguish different actual images of ships for subsequent analysis.

[0074] Step S306: defining a detection area in the associated image according to the determination area, and determining whether the detection area is an abnormal area.

[0075] The detection area is an image area in the associated image that corresponds to the determination area. The purpose of the determination is to find out whether a significant change has indeed occurred in the determination area.

[0076] Step S3061: If the detected area is an abnormal area, the currently determined change mark image is maintained.

[0077] When the detection area is an abnormal area, it means that there is indeed a large change in the characteristics of the corresponding determination area on the ship, such as a large container is placed. At this time, the corresponding change mark image can be maintained to facilitate the subsequent model establishment.

[0078] Step S3062: If the detected area is not an abnormal area, the currently determined change mark image is discarded.

[0079] When the detection area is not an abnormal area, it means that the previously acquired change mark image is affected by external flying objects, and the captured image has an image of the external flying object. At this time, the image is discarded to make the subsequent modeling more accurate and stable.

[0080] Reference Figure 4 , and also includes a step of detecting the movement of the drone after the change mark image is discarded, which step includes: Step S400: obtaining the acquisition pixel distance of each change point according to the abnormal area.

[0081] The collected pixel distance is the distance between the detection drone and the actual position of the change point when acquiring the image of the change point position on the image. This method is a conventional technical means for those skilled in the art and will not be described in detail.

[0082] Step S401: Calculate the mean of all collected pixel distances to determine the occlusion interval distance, and determine the location of the occlusion object based on the obstacle interval distance, the drone position, and the abnormal area.

[0083] The occlusion interval distance is the straight-line distance between the occlusion that blocks the image of the detection drone's camera in the abnormal area and the detection drone, and is obtained by averaging all the collected pixel distances; the occlusion position is the spatial position of the occlusion in the coordinate system of the drone's position. The orientation of the occlusion relative to the detection drone can be determined through the abnormal area and the drone's position, and then the occlusion position can be determined based on the obstacle interval distance.

[0084] Step S402: establishing a unit interval with a preset unit duration and a fixed interval with a preset fixed duration on a preset time axis, and making the rear end point of the unit interval and the front end point of the fixed interval coincide with the current time point.

[0085] The time axis is a coordinate axis formed by the combination of various time points. The direction of the time axis is set toward the future time point. The unit duration and fixed duration are fixed durations set by the staff. The specific values ​​are set by the staff according to actual conditions. Establishing unit intervals and fixed intervals can obtain the movement data of the detection drone and obstructions, which is convenient for further judgment later.

[0086] Step S403: Determine whether there is an obstruction position in the unit interval that is not at the rear end point of the unit interval.

[0087] The purpose of the judgment is to know whether a corresponding blocking object position is detected before the current position, so as to know whether the movement of the blocking object can be analyzed.

[0088] Step S4031: If there is no obstruction position that is not at the rear end point of the unit interval, the detection drone is controlled to continue moving along the required detection path.

[0089] When there is no occluder position that is not at the end point after the unit interval, it means that the occluder is detected for the first time. At this time, the moving path of the occluder cannot be analyzed, and the detection drone can be controlled to move normally.

[0090] Step S4032: If there is an obstruction position that is not at the rear end point of the unit interval, the time point when the obstruction position exists is defined as the starting point, the obstruction position obtained at the starting point is defined as the initial position, and the obstruction position obtained at the rear end point of the unit interval is defined as the ending position.

[0091] When there is an obstruction position that is not at the end point of the unit interval, it means that the obstruction has been detected before, and the movement of the obstruction can be analyzed at this time; define the starting point, initial position and end position to distinguish different time points and obstruction positions for subsequent analysis.

[0092] Step S404: Calculate the interval duration based on each starting point and the rear end point of the unit interval, and establish the obstruction flight path based on the end position, the initial position and the interval duration.

[0093] The interval duration is the time distance value between the starting point and the rear end point of the unit interval. The flight path of the obstacle is a straight line path from the initial position to the end position. The moving speed of the obstacle can be determined by the interval duration and the distance between the two positions, thereby determining the time point corresponding to each position on the flight path of the obstacle after the end position.

[0094] Step S405: At each time point in the fixed interval, determine the object distance between the detection drone and the obstruction according to the obstruction flight path and the required detection path.

[0095] The object separation distance is the theoretical distance between the detection drone and the obstruction in a fixed interval, which can be calculated and determined by the drone position of the detection drone and the obstruction position of the obstruction at each time point.

[0096] Step S406: Determine whether there is a situation where the distance between the objects is less than the preset safety distance.

[0097] The safety distance is the minimum object distance set by the staff to determine that the inspection drone has only a very small probability of colliding with an obstruction. The purpose of the judgment is to find out whether the inspection drone will collide if it continues to fly along the required inspection path, that is, to determine whether the inspection drone can fly safely.

[0098] Step S4061: If there is no situation where the distance between objects is less than the safe distance, the detection drone is controlled to continue moving along the required detection path.

[0099] When there is no situation where the distance between objects is less than the safe distance, it means that it is safer for the inspection drone to move on the required inspection path, and it can continue to move.

[0100] Step S4062: If there is a situation where the distance between the objects is less than the safety distance, the detection drone is controlled to stop moving within a preset waiting time, and continues to move along the required detection path after the waiting time.

[0101] When there are objects that are closer than the safe distance, it means that there is a possibility that the inspection drone will collide with the obstruction. At this time, the inspection drone is controlled to stop and wait for a period of time so that the external obstruction can fly over first, and then the inspection drone is controlled to move to ensure its safety; the waiting time is a fixed time set by the staff.

[0102] Reference Figure 5 If there is a situation where the distance between objects is less than the safe distance, the steps of detecting the movement of the drone also include: Step S500: Correct and update the preset original speed according to the preset correction speed to determine the flight speed of the detection drone.

[0103] The corrected speed is the speed set by the staff to reduce the moving speed of the inspection drone. The original speed is the moving speed of the inspection drone during normal flight inspection. The flight speed is the speed of the inspection drone after the correction speed is used to correct the moving speed, which is obtained by subtracting the corrected speed from the original speed.

[0104] Step S501: updating the distance between objects according to the flight speed and determining again whether the distance between objects is less than the safety distance.

[0105] The purpose of the judgment is to determine whether the inspection drone can meet the requirement that it will not collide with other drones after slowing down the speed.

[0106] Step S5011: If there is no object whose distance is less than the safety distance, the detection drone is controlled to move at the flight speed and the real-time distance between the detection drone and the obstruction is calculated in real time when it subsequently flies at the original speed. When the real-time distance is greater than the safety distance, the detection drone is controlled to return to the original speed for flight.

[0107] When there is no situation where the distance between objects is less than the safe distance, it means that after correction, the inspection drone can move and operate more safely. At this time, the inspection drone is controlled to move at the flight speed; the real-time interval distance is the distance value between the drone and the obstruction at each time point when the drone flies at the original speed at the current position. When the real-time interval distance is greater than the safe distance, it means that the inspection drone will not collide when flying at the original speed. At this time, the movement speed of the inspection drone is restored to improve the overall detection efficiency.

[0108] Step S5012: If there is a situation where the distance between objects is less than the safe distance, the control preset initial value of zero is increased by one, and the correction speed is controlled to repeatedly correct and update the flight speed to determine a new flight speed to judge the distance between objects again, until the correction number is greater than the preset allowed number or the drone is detected to move at the flight speed.

[0109] When there are objects that are closer than the safe distance, it means that there is still a high possibility that the inspection drone will collide with the obstruction after the speed correction here. At this time, the number of corrections is increased by one to grade the number of speed corrections. The correction speed is controlled to continue to correct the flight speed so that the flight situation of the inspection drone can be analyzed again. The allowed number of times is the total number of times that can be set by the staff to correct the original number.

[0110] Step S502: When the number of corrections is greater than the allowed number of times, the inspection drone is controlled to stop moving within the waiting time, and continues to move along the required inspection path after the waiting time.

[0111] When the number of corrections is greater than the allowed number, it means that multiple corrections still cannot make the inspection drone meet the requirements, that is, as long as the inspection drone continues to move forward, there is a high probability of collision. At this time, the inspection drone is controlled to wait to ensure its safety.

[0112] Reference Figure 6 The step of determining the ship proportional model according to all the change marked images also includes: Step S600: define a change point that is not in the abnormal set in any change mark image as a decision point, and determine the actual position based on the decision point, the drone position and the change mark image.

[0113] The decision points are defined to distinguish different change points for subsequent analysis. The actual position is determined as the position of the decision point under the actual ship in the image, which can be determined by the position of the drone and the position of the decision point on the change mark image.

[0114] Step S601: define the remaining change-marked images containing the determined actual position as similar images, and determine the detection point based on the similar images, the corresponding drone position and the determined actual position.

[0115] Similar images are defined to distinguish images where the actual position is to be determined, for the convenience of subsequent analysis. The detection point is the pixel point corresponding to the actual position on the similar image.

[0116] Step S602: Determine whether all detection points are change points.

[0117] The purpose of the judgment is to find out whether the actual position of the ship has features different from the original model of the ship and requires three-dimensional modeling operation.

[0118] Step S6021: If all detection points are not change points, the detection points are cancelled on the change mark image.

[0119] When not all detection points are change points, it means that the feature determined by the position is a variable feature, such as the personnel on the deck. At this time, the detection point is cancelled on the change mark image so that the corresponding personnel will not be modeled in subsequent modeling.

[0120] Step S6022: If all the detection points are change points, it is determined whether there will be conflicts in the modeling of the actual position.

[0121] When all the detection points are change points, it means that there are corresponding features at this position that are different from the original model of the ship. At this time, modeling processing needs to be performed based on the detection points; modeling conflict means that a unique solution cannot be obtained when modeling the position using multiple images. The purpose of the judgment at this time is to know whether the features of the position have changed. For example, at the beginning, the personnel on the deck are at this position, and later the container is placed at this position.

[0122] Step S60221: If it is determined that there will be no conflict in the modeling of the actual position, the current detection point on the change mark image is maintained.

[0123] When it is determined that there will be no conflict in the modeling of the actual location, it means that the location can be modeled normally without any additional operation.

[0124] Step S60222: If it is determined that the modeling of the actual position will cause a conflict, then according to the conflict situation, the change-marked images that will not cause a conflict are grouped into the same preset image set, and the number of images is determined according to the change-marked images in the image set.

[0125] When it is determined that a conflict will occur in the modeling of the actual location, it means that the model of the location cannot be modeled through the image with the detection point, and the image situation needs to be screened; the image set is a set with an initial value of empty for image classification, and the number of images is the total number of change-marked images in the determined image set, which can be obtained by counting the change-marked images one by one.

[0126] Step S603: Determine the number of images with the largest value according to a preset sorting rule, and model the current change point according to the change mark images in the image set corresponding to the number of images.

[0127] The sorting rule is a method set by the staff to sort the size of values, such as the bubble method. The sorting rule can be used to determine the number of images with the largest values, that is, the features in the image set have a greater probability. At this time, modeling can be carried out according to the corresponding images. At the same time, since there are more powerful images, the subsequent image modeling is more complete.

[0128] Reference Figure 7 , when there are at least two maximum numbers of images, the step of determining the ship proportional model further comprises: Step S700: In the change mark image of the image set with the largest number of images, a similar area is defined with the detection point as the center and the preset similarity distance as the radius, and the remaining pixels in the similar area that are not detection points are defined as similar points.

[0129] When there are at least two maximum numbers of images, the image collection needs to be screened; the similarity distance is the maximum pixel distance between the pixel point closer to the detection point and the detection point set by the staff. The similarity area can be delineated to collect pixel points around the detection point to define similar points and distinguish different pixel points for subsequent analysis.

[0130] Step S701: Acquire the detected background color value of the detected point and the similar background color value of the similar point.

[0131] The detected background color value is the pixel background color value at the detected point, and the similar background color value is the pixel background color value at the similar point. The pixel background color value can refer to the color value, ranging from 0 to 355, where the white pixel background color value is 0 and the black pixel background color value is 355.

[0132] Step S702: performing calculations based on the detected background color value and the similar background color value to determine the deviation background color value.

[0133] The deviation background color value is the difference in pixel background color value between the similar point and the detection point, and the difference is an absolute value.

[0134] Step S703: determining a pixel distance value according to the similarity points and the detection points, and determining an influence coefficient corresponding to the pixel distance value according to a preset coefficient matching relationship.

[0135] The pixel distance value is the pixel value of the similar point and the detection point on the image, which can be obtained by counting the pixels. The influence coefficient is the correlation coefficient between the similar point and the detection point. When the distance between the two is close, generally the background color of the two will not change significantly. At this time, once the background color changes, it is easy to indicate that the two do not match, so the corresponding influence coefficient should be larger. Different pixel distance values ​​indicate that the distance between the two is different, and the influence coefficient is different at this time. The coefficient matching relationship between the two is entered and stored in advance by the staff.

[0136] Step S704: Calculate according to the deviation background color value and the corresponding influence coefficient to determine the similarity deviation degree.

[0137] The similarity deviation is the degree of matching deviation between the detection point and the similar point. The smaller the value, the closer the two are matched. It is determined by multiplying the deviation background color value by the influence coefficient.

[0138] Step S705: performing mean calculation based on all similarity deviations in the same image set to determine the mean deviation.

[0139] The mean deviation is the average value of the similarity deviations determined for all images in the same image set.

[0140] Step S706: Determine the mean deviation with the smallest value according to the sorting rule, and model the current change point according to the change mark image in the image set corresponding to the mean deviation.

[0141] The mean deviation with the smallest value is determined through the sorting rules to determine some images that best match the surrounding positions, thereby determining the features with higher probability at the position in actual situations to achieve effective stable modeling of the ship.

[0142] Reference Figure 8 Based on the same inventive concept, an embodiment of the present invention provides a ship dynamic visualization display system, including: An acquisition module is used to obtain the required display of ships, navigation scene images and ship operation parameters; A processing module, connected to the acquisition module, for storing and processing information; The processing module displays the ship according to the requirements to establish a proportional model of the ship; The processing module establishes an environmental scene model according to the route scene image; The processing module imports the ship geometric model into the environment scene model, and controls the ship geometric model to move in the environment scene model according to the ship operation parameters, and generates a data chart according to the ship operation parameters during the movement of the ship geometric model and displays it at a preset fixed position; A ship model building module is used to acquire ship images to build a ship model; An abnormal image analysis module analyzes the image to determine whether there is an external flying object blocking it; The flight safety analysis module determines whether the drone can operate safely based on the flight status of external flying objects; The flight speed correction module corrects the flight speed of the detection drone to enable the detection drone to operate while reducing the possibility of collision; The ship modeling analysis module analyzes the positions of ships with modeling conflicts to make the ship model more stable. The ship image screening module is used to screen images suitable for modeling.

[0143] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

Claims

1. A method for visualizing ship dynamics. It is characterized in that include: Obtain required display of ships, navigation scene images and ship operation parameters; Display the ship to build a scaled-down model of the ship according to the requirements; Establishing an environmental scene model based on the route scene images; The ship proportional model is imported into the environmental scene model, and the ship proportional model is controlled to move in the environmental scene model according to the ship operating parameters. During the movement of the ship proportional model, a data chart is generated according to the ship operating parameters and displayed at a preset fixed position.

2. The method for visualizing the dynamic display of a ship according to claim 1, It is characterized in that The steps to build a scaled-down model of a ship based on the requirements for displaying the ship include: According to the preset ship matching relationship, the original ship model corresponding to the required display ship and the required detection path are determined; Control the inspection drone preset on the required display ship to move along the required inspection path and obtain the drone position and actual image of the ship in real time; Determine the drone position based on the preset image matching relationship and display the proposed ship image corresponding to the required ship; Compare the actual image of the ship with the proposed image of the ship to determine the image similarity; Determine whether the image similarity is greater than a preset required value; If the image similarity is greater than the required value, no action is taken; If the image similarity is not greater than the required value, the actual image of the ship is defined as the change mark image; After the drone moves, three-dimensional modeling is performed on the original ship model based on all the change mark images to determine the ship's proportional model.

3. The method for visualizing the dynamic display of a ship according to claim 2, It is characterized in that After the change mark image is defined, the steps of establishing the ship proportional model also include: The pixel points in the change mark image that are inconsistent with the corresponding proposed ship image are defined as change points; The common interval is defined with the change point as the center and the preset adjacent pixel distance as the radius; The change points in the same common interval are summarized into a change set whose initial value is empty, and the change points in the change set are counted to determine the number of changes; Calculate the change percentage based on the change quantity and the preset fixed quantity; Determine whether the change percentage values ​​in the change set determined in the change mark image are all less than a preset allowable percentage value; If the change percentage values ​​in the change set determined in the change mark image are all less than the allowed percentage value, the determined change mark image is maintained; If the change ratio values ​​in the change set determined in the change mark image are not all less than the allowed ratio value, the change set whose change ratio value is greater than the allowed ratio value is defined as an abnormal set, and an abnormal area is delineated in the change mark image according to the abnormal set, and the determination area in the ship is determined according to the position of the drone and the abnormal area; Delimiting a determination position interval on the detection moving path according to the position of the UAV and the determination area, and defining the actual image of the ship acquired in the determination position interval as an associated image associated with the current change mark image; Delimiting a detection area according to the determination area in the associated image, and determining whether the detection area is an abnormal area; If the detected area is an abnormal area, the currently determined change mark image is maintained; If the detected area is not an abnormal area, the currently determined change mark image is discarded.

4. The method for visualizing the dynamic display of a ship according to claim 3, It is characterized in that The step of detecting the movement of the drone after the change mark image is discarded includes: According to the abnormal area, the acquisition pixel distance of each change point is obtained; The occlusion interval distance is determined by averaging all collected pixel distances, and the location of the occlusion object is determined based on the obstacle interval distance, the drone position, and the abnormal area; Establishing a unit interval with a preset unit duration and a fixed interval with a preset fixed duration on a preset time axis, and making the rear end point of the unit interval and the front end point of the fixed interval coincide with the current time point; Determine in the unit interval whether there is an obstruction position that is not at the rear end point of the unit interval; If there is no obstruction position that is not at the end point of the unit interval, the detection drone is controlled to continue moving along the required detection path; If there is an obstruction position that is not at the rear end point of the unit interval, the time point at which the obstruction position exists is defined as the starting point, the obstruction position obtained at the starting point is defined as the initial position, and the obstruction position obtained at the rear end point of the unit interval is defined as the ending position; Calculate the interval duration based on each starting point and the rear end point of the unit interval, and establish the obstruction flight path based on the end position, the initial position and the interval duration; At each time point in a fixed interval, the object distance between the detection drone and the obstruction is determined according to the obstruction flight path and the required detection path; Determine whether there is a situation where the distance between objects is less than the preset safety distance; If there is no object whose distance is less than the safe distance, the detection drone is controlled to continue moving along the required detection path; If there is a situation where the distance between objects is less than the safe distance, the inspection drone is controlled to stop moving within the preset waiting time, and then continues to move along the required inspection path after the waiting time.

5. The method for visualizing the dynamic display of a ship according to claim 4, It is characterized in that If there is a situation where the distance between the objects is less than the safe distance, the steps for detecting the movement of the drone also include: The preset original speed is corrected and updated according to the preset correction speed to determine the flight speed of the detection drone; Update the distance between the objects according to the flight speed and determine again whether the distance between the objects is less than the safe distance; If there is no object whose distance is less than the safe distance, the detection drone is controlled to move at the flight speed and the real-time distance between the detection drone and the obstruction is calculated in real time when the detection drone flies at the original speed. When the real-time distance is greater than the safe distance, the detection drone is controlled to return to the original speed for flight; If there is a situation where the distance between the objects is less than the safe distance, the preset initial value of zero is controlled to be increased by one, and the correction speed is controlled to repeatedly correct and update the flight speed to determine a new flight speed to judge the distance between the objects again, until the number of corrections is greater than the preset allowable number or the detection drone moves at the flight speed; When the number of corrections is greater than the allowed number, the inspection drone is controlled to stop moving within the waiting time, and continues to move along the required inspection path after the waiting time.

6. The method for visualizing the dynamic display of a ship according to claim 3, It is characterized in that The step of determining the ship proportional model according to all the change marked images also includes: In any change mark image, a change point that is not in the abnormal set is defined as a decision point, and the actual position is determined based on the decision point, the drone position and the change mark image; The remaining change-marked images containing the determined actual positions are defined as similar images, and the detection points are determined based on the similar images, the corresponding drone positions, and the determined actual positions; Determine whether all detection points are change points; If all the detection points are not change points, the detection points will be cancelled on the change mark image; If all the detection points are change points, it is determined whether there will be conflicts in the modeling of the actual position; If it is determined that the modeling of the actual position will not cause a conflict, the current detection point on the change mark image is maintained; If it is determined that the modeling of the actual position will cause a conflict, then according to the conflict situation, the change-marked images that will not cause a conflict are summarized into the same preset image set, and the number of images is determined according to the change-marked images in the image set; The number of images with the largest value is determined according to a preset sorting rule, and the current change point is modeled according to the change mark images in the image set corresponding to the number of images.

7. The method for visualizing the dynamic display of a ship according to claim 6, It is characterized in that When there are at least two maximum numbers of images, the step of determining the proportional model of the ship further comprises: In the change mark image of the image set with the largest number of images, a similar area is defined with the detection point as the center and the preset similarity distance as the radius, and the remaining pixel points in the similar area that are not detection points are defined as similar points; Get the detected background color value of the detected point and the similar background color value of the similar point; Calculate the deviation background color value based on the detected background color value and the similar background color value; Determine the pixel distance value according to the similarity points and the detection points, and determine the influence coefficient corresponding to the pixel distance value according to the preset coefficient matching relationship; Calculate the similarity deviation based on the deviation background color value and the corresponding influence coefficient; Calculate the mean value of all similar deviations in the same image set to determine the mean deviation; The mean deviation with the smallest value is determined according to the sorting rule, and the current change point is modeled according to the change mark image in the image set corresponding to the mean deviation.

8. A ship dynamic visualization display system, It is characterized in that include: An acquisition module is used to obtain the required display of ships, navigation scene images and ship operation parameters; A processing module, connected to the acquisition module, for storing and processing information; The processing module displays the ship according to the requirements to establish a proportional model of the ship; The processing module establishes an environmental scene model according to the route scene image; The processing module imports the ship proportional model into the environmental scene model, and controls the ship proportional model to move in the environmental scene model according to the ship operating parameters, and generates a data chart according to the ship operating parameters during the movement of the ship proportional model and displays it at a preset fixed position.