WO2022088766A1 - Image processing method, medium, device, and image processing system - Google Patents

Image processing method, medium, device, and image processing system Download PDF

Info

Publication number
WO2022088766A1
WO2022088766A1 PCT/CN2021/106506 CN2021106506W WO2022088766A1 WO 2022088766 A1 WO2022088766 A1 WO 2022088766A1 CN 2021106506 W CN2021106506 W CN 2021106506W WO 2022088766 A1 WO2022088766 A1 WO 2022088766A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
image
angle
panoramic image
information
Prior art date
Application number
PCT/CN2021/106506
Other languages
French (fr)
Chinese (zh)
Inventor
侯金龙
Original Assignee
上海博泰悦臻网络技术服务有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海博泰悦臻网络技术服务有限公司 filed Critical 上海博泰悦臻网络技术服务有限公司
Publication of WO2022088766A1 publication Critical patent/WO2022088766A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R1/00Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R1/00Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
    • B60R1/20Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
    • B60R1/22Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles for viewing an area outside the vehicle, e.g. the exterior of the vehicle
    • B60R1/23Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles for viewing an area outside the vehicle, e.g. the exterior of the vehicle with a predetermined field of view
    • B60R1/27Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles for viewing an area outside the vehicle, e.g. the exterior of the vehicle with a predetermined field of view providing all-round vision, e.g. using omnidirectional cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2624Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects for obtaining an image which is composed of whole input images, e.g. splitscreen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2300/00Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
    • B60R2300/30Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of image processing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2300/00Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
    • B60R2300/80Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement
    • B60R2300/8073Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement for vehicle security, e.g. parked vehicle surveillance, burglar detection

Definitions

  • the invention belongs to the technical field of image processing, and relates to an image processing method, medium, equipment and image processing system.
  • the panoramic images generated in the prior art are mostly realized by splicing and synthesizing 4 to 8 cameras, and the When the panoramic image is displayed, there will be problems such as lack of three-dimensional image, smear, superimposition, deformation, and display dead angle. Further, the car owner has a poor experience when viewing the displayed panoramic image or obtaining relevant information from the panoramic image.
  • one object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the panoramic image around the vehicle can be highly processed in combination with the current driving information of the vehicle. Partial image display of quality picture.
  • Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the display angle of the collected panoramic image can be automatically adjusted according to the traveling direction of the vehicle.
  • Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the display angle of the collected panoramic image can be automatically adjusted according to the position of the target object outside the vehicle.
  • Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that a complete and clear image at any angle in a panoramic image can be manually adjusted and viewed according to user requirements.
  • Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that when a panoramic image is partially displayed, the lack of three-dimensionality, smear, ghosting, and deformation of the image is avoided. , There are problems such as display dead corners.
  • Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the panoramic images collected by the vehicle can be shared on different terminals in real time for viewing by different target groups.
  • Another object of the present invention is to provide an image processing method, a medium, an electronic device and an image processing system, which have the advantage of being able to identify the congestion situation and prompt the owner to move the car in a parking situation.
  • Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the identity and intention of persons approaching the vehicle can be identified and the vehicle owner is prompted.
  • Another object of the present invention is to provide an image processing system, the advantage of which is that, through the communication between the panoramic image device and the electronic device, the panoramic image generated by the panoramic image device is sent to the electronic device for image processing, so that in the subsequent The electronic device can automatically adjust the display angle of the panoramic image according to the traveling direction of the vehicle/position of the target object in the parking space, wherein the installation position of the panoramic image device of the present invention on the vehicle is optimized, so that the probability of the panoramic image device being collided is the lowest in the whole vehicle , and the integrated panoramic lens greatly reduces the difficulty of installation and post-maintenance.
  • one aspect of the present invention provides an image processing method, the method includes the following steps: acquiring a panoramic image around the vehicle and current driving information of the vehicle; angle information; obtain image display requirements that match the current driving information of the vehicle; the image display requirements include a display angle; based on the angle information consistent with the display angle, extract the panoramic image portion corresponding to the angle information , so that the panoramic image portion is presented in the in-vehicle display device in combination with the change of the image display requirements.
  • the current driving information of the vehicle includes at least current steering wheel angle information, travel speed information and gear information of the vehicle. Therefore, the corresponding partial panoramic image can be displayed in combination with the current steering wheel angle information, driving speed information and gear information of the vehicle.
  • the image display requirement further includes at least a refresh direction and a refresh frequency;
  • the vehicle determines the current steering wheel angle information and gear information of the vehicle through preset sensors and/or navigation positioning data. and driving speed information;
  • the acquiring the image display requirement matching the current driving information of the vehicle includes the following steps: calculating the display angle of the panoramic image based on the sensor and/or the navigation and positioning data;
  • the bit information detects the advancing and retreating state of the vehicle, and then determines the refresh direction of the panoramic image based on the advancing and retreating state; and determines the refresh frequency of the panoramic image based on the traveling speed information. Therefore, the image display requirement can be determined through the information provided by the vehicle data collected by the sensor and/or the navigation and positioning data, so that the displayed partial panoramic image changes with the state of the vehicle.
  • the extracting the panoramic image portion corresponding to the angle information based on the angle information consistent with the display angle includes the following steps: establishing an angle coordinate system based on the angle information to The angular coordinate system is superimposed on the panoramic image; the display angle is positioned in the angular coordinate system; and the picture to be displayed at the position where the display angle is positioned is extracted. Therefore, the deflection angle of the vehicle can be associated with the angle information of the panoramic image through the angle coordinate system, so as to locate the content to be displayed in the panoramic image through the determined display angle.
  • the method further includes the step of: presenting the panoramic image via an electronic device.
  • the electronic device for image processing can be associated with the server to provide multi-channel display of different electronic devices for the generated panoramic image, and to share the image with others; in addition, the generated panoramic image can also be backed up storage and system management.
  • the method further includes: when the vehicle is in a parked state, performing image recognition on the panoramic image to recognize the passing situation outside the vehicle; and performing voice recognition on the panoramic image , to recognize the voice content of the person outside the vehicle; based on the meeting situation and the voice content, determine whether the car needs to be moved; and in response to determining that the car needs to be moved, send a car-moving warning to the owner of the vehicle.
  • the “sentry” mode can be turned on through the recognition of the panoramic image to intelligently identify the traffic jam, so as to issue a car-moving warning to the car owner, so that the car owner can move the vehicle at the first time, and the road can be viewed more quickly. Clear the situation.
  • the method further includes the following steps: when the vehicle is in a parked state, performing image recognition on the panoramic image through machine learning to identify the identity features of persons outside the vehicle; identity feature, infer the intention of the person outside the vehicle to approach the vehicle; and in response to determining the intention of the person outside the vehicle to approach the vehicle, send prompt information to the owner of the vehicle for indicating the person outside the vehicle The intent of the person to approach the vehicle and/or the recommended response.
  • the vehicle when the vehicle is in a parked state, people around the vehicle can be intelligently identified through the recognition of panoramic images, the intention of people outside the vehicle to approach the vehicle can be predicted, and a prompt message can be sent to the vehicle owner, so that the vehicle owner can take timely measures for various abnormal situations. Countermeasures can also make the owner try to avoid abnormal parking.
  • another aspect of the present invention provides a non-transitory computer-readable storage medium having stored thereon machine-executable instructions that, when executed, cause a machine to execute the steps of the method.
  • an electronic device comprising: a memory configured to store one or more computer programs; and a processor coupled to the memory and configured to execute the The one or more computer programs cause the electronic device to perform the method.
  • a final aspect of the present invention provides an image processing system
  • the image processing system includes: a panoramic imaging device and the electronic device; the panoramic imaging device is connected to the electronic device; The panoramic image device is used to generate a panoramic image and send it to the electronic device; the electronic device is used to obtain the panoramic image around the vehicle and the current driving information of the vehicle; angle information; obtain image display requirements that match the current driving information of the vehicle; the image display requirements include a display angle; based on the angle information consistent with the display angle, extract the panoramic image portion corresponding to the angle information , so that the panoramic image portion is presented in the in-vehicle display device in combination with the change of the image display requirements.
  • FIG. 1 is a schematic flowchart of an image processing method of the present invention in an embodiment
  • FIG. 2 is a schematic diagram of driving information in an embodiment of the image processing method of the present invention.
  • FIG. 3 is a flowchart showing an image display requirement acquisition process in an embodiment of the image processing method of the present invention
  • FIG. 4A is a schematic diagram showing the calculation of a display angle in an embodiment of the image processing method of the present invention.
  • FIG. 4B is a schematic diagram showing the calculation of the display angle in another embodiment of the image processing method of the present invention.
  • FIG. 5 is a schematic diagram illustrating panoramic image extraction in an embodiment of the image processing method of the present invention.
  • FIG. 6A shows a flow chart of establishing an angular coordinate system in an embodiment of the image processing method of the present invention
  • 6B is a schematic diagram showing the establishment of an angular coordinate system in an embodiment of the image processing method of the present invention.
  • FIG. 7 is a flowchart showing a panoramic image display in an embodiment of the image processing method of the present invention.
  • FIG. 8 is a schematic diagram showing the monitoring of persons outside the vehicle in an embodiment of the image processing method of the present invention.
  • FIG. 9 is a schematic diagram showing a traffic jam detection in an embodiment of the image processing method of the present invention.
  • FIG. 10 is a schematic diagram of abnormal parking in an embodiment of the image processing method of the present invention.
  • FIG. 11 is a schematic diagram showing monitoring of children and carried items in an embodiment of the image processing method of the present invention.
  • FIG. 12 is a schematic diagram showing the structural connection of the electronic device of the present invention in an embodiment
  • FIG. 13 is a schematic structural diagram of an image processing system of the present invention in an embodiment
  • FIG. 14 is a schematic diagram illustrating an application of the image processing system of the present invention in an embodiment.
  • the image processing method of the present invention can display images from various angles of the vehicle by providing panoramic images, and process the collected panoramic images, thereby bringing more safety assurance and more convenient information to the life of the vehicle owner.
  • FIG. 1 is a schematic flow chart of the image processing method of the present invention in one embodiment. As shown in Figure 1, the image processing method specifically includes the following steps:
  • S11 Acquire a panoramic image around the vehicle and current driving information of the vehicle; the panoramic image includes angle information corresponding to its presentation content.
  • the panoramic image is acquired through a 720° panoramic lens.
  • the 720° panoramic lens can be produced by integrating two front and rear wide-angle fisheye lenses.
  • the obtained image is a full-angle image of 720° up, down, left, and right.
  • the fixation scheme of the panoramic lens is preferably installed on the top of the vehicle, and the picture quality can be improved.
  • the panoramic lens is installed at the top of the vehicle, the collision probability is the lowest in the whole vehicle; in addition, the difficulty of installation and post-maintenance is greatly reduced by having only one panoramic lens.
  • FIG. 2 is a schematic diagram of driving information in an embodiment of the image processing method of the present invention.
  • the current driving information of the vehicle includes at least current steering wheel angle information, travel speed information and gear information of the vehicle.
  • S12 Acquire an image display requirement matching the current driving information of the vehicle; the image display requirement includes a display angle.
  • the image display requirement further includes at least a refresh direction and a refresh frequency; the vehicle determines the current steering wheel angle information, gear information and driving speed of the vehicle through preset sensors and/or navigation positioning data. information.
  • the steering wheel angle information is detected by a steering wheel angle sensor of the vehicle
  • the gear information is detected by a transmission gear sensor of the vehicle
  • the odometer sensor or wheel speed sensor of the vehicle is used to detect all the information.
  • the display angle, refresh direction, and refresh frequency of the panoramic image are determined correspondingly through the detected information.
  • the small rotational displacement of the vehicle is determined by the high-precision navigation positioning data, so that the rotational direction of the vehicle is estimated from the side, and then the display angle is determined according to the rotational direction, Combined with the gear information and driving speed information measured by the vehicle sensors, the image display requirements of the panoramic image are comprehensively determined. For example, if the user turns the vehicle to the left at an intersection, at this time, the steering wheel is turned to the left for many times, and the tangent direction of each point on the entire trajectory of the vehicle's U-turn is taken as the turning direction of the vehicle. Further, the centerline of the road can be selected.
  • the angle of the tangential direction of each point is determined from this, and the steering angle of the vehicle is then known.
  • the three parameters of the steering wheel angle information, gear information and driving speed information are inferred from the navigation and positioning data, and then the image display requirements are determined according to the three parameters, wherein the estimated value of the navigation and positioning data is determined.
  • the method can be that the vehicle communicates with the navigation and positioning device, and transmits the steering wheel angle information, gear information and driving speed information to the navigation and positioning device to obtain, specifically, the collected steering wheel angle information, gear information and driving speed through the vehicle sensor.
  • the information is transmitted to the navigation and positioning device through Bluetooth, wifi and other communication methods (for example, when the execution device of the image processing method is a mobile phone, the mobile phone receives the steering wheel angle information, gear information and driving speed information collected by the vehicle sensor to determine the display angle of the panoramic image) ; It can also be the navigation positioning data to determine the vehicle's deflection direction, forward and backward, or travel speed and other information according to the change of the vehicle's position on the map. For example, the vehicle is compared to a point in the navigation map. The position on the map is constantly changing. When the point is shifted to the left relative to the current direction, it is determined that the vehicle is turning left. When the point moves backward relative to the current position, it is determined that the vehicle is moving backward. To a certain extent, it can reflect the speed of the vehicle.
  • FIG. 3 is a flow chart of acquiring an image display requirement in an embodiment of the image processing method of the present invention.
  • S12 includes:
  • S121 Calculate the display angle of the panoramic image based on the sensor and/or the navigation and positioning data. For example, when the vehicle is driving forward, the front screen is displayed, and when the vehicle turns right, the screen can be automatically rotated with the rotation of the steering wheel.
  • FIG. 4A is a schematic diagram showing the calculation of the display angle in an embodiment of the image processing method of the present invention.
  • the gear information includes D gear and R gear
  • the steering wheel angle information is detected by a steering wheel angle sensor of the vehicle
  • the steering wheel angle information includes a left turn angle and a right turn angle.
  • the calculation of the display angle is illustrated by the following four cases.
  • the steering wheel angle information is the D gear and the left turn angle
  • the right turn angle is used as the display angle. For example, if the gear is D-forward and the steering wheel angle is 20 degrees to the right, the corresponding coordinate image is the direction of the display angle of 20 degrees.
  • the second preset angle is added to the left turn angle as the display angle.
  • the second preset angle is 180°.
  • the gear is R-reverse
  • the steering wheel angle is 40 degrees to the left
  • FIG. 4B is a schematic diagram of calculating a display angle in another embodiment of the image processing method of the present invention.
  • the display angle of the panoramic image is calculated through the navigation and positioning data, so as to realize the tracking and shooting of the driving image.
  • the panoramic image can be used to record the surrounding images, especially the target objects or objects that the owner is interested in. Predict objects that may be of interest to car owners.
  • the POI (Point of Information, information point or point of interest) location can be identified through the panoramic image, and the driver can be prompted by voice according to the surrounding POI location data, "Your right front is the Dongfeng Pearl TV Tower, whether you need to track and shoot", or The driver can use voice control or click the screen position to circle the surrounding POI content for tracking shooting.
  • the POI is identified in the obtained panoramic image based on the GPS coordinates, outline, and obvious marks of the POI location, so as to track and shoot the POI location image.
  • the POI point is the Oriental Pearl TV Tower
  • the angle between the POI point and the vehicle is calculated according to the latitude and longitude: the positioning information of the vehicle is determined through the navigation and positioning data to obtain the vehicle coordinates.
  • , so ⁇ a arctan(
  • the POI image is displayed in real time by calculating the angle every second, and the POI point image is displayed on the vehicle.
  • the clip between the Oriental Pearl TV Tower and the vehicle is determined by the navigation and positioning data.
  • the angle gradually changes from 30 degrees to 75 degrees, and accordingly, the display angle of the panoramic image also changes from 30 degrees to 75 degrees.
  • the POI can be intelligently identified according to the owner's preferences and the instructions issued, and the display angle of the POI in the panoramic image can be determined, and then the corresponding panoramic image part can be continuously tracked and displayed; and the POI coordinates in the map can be intelligently predicted through contour recognition or map.
  • the vehicle passes through landmarks (targets or events) in the area, such as landmark buildings that the owner may be interested in, so as to realize automatic tracking shooting and display of panoramic images and provide audio guide functions.
  • S122 Detect the forward/backward state of the vehicle based on the gear information, and then determine the refresh direction of the panoramic image based on the forward/backward state.
  • FIG. 5 is a schematic diagram of panoramic image extraction in an embodiment of the image processing method of the present invention.
  • S13 includes:
  • FIG. 6A is a flow chart of establishing an angular coordinate system in an embodiment of the image processing method of the present invention.
  • S131 includes:
  • the panoramic image is a 2:1 ratio image
  • the image is folded into a spherical image through a deformed graphics processing algorithm.
  • the u(x, y) motion vector of each pixel point then, the rectangular image is meshed, and the new position of each mesh vertex is recorded according to -u(x, y); finally , the new position of the mesh vertex is used as the control ver
  • the horizontal line is used as the center line, and the center horizontal image is determined.
  • FIG. 6B is a schematic diagram of establishing an angular coordinate system in an embodiment of the image processing method of the present invention.
  • Fig. 6B presents a real view of the center horizontal image, and the vehicle is located at the center of the circular angular coordinate system, so that all scenes around the circumference can be viewed.
  • the gear is D-forward and the steering wheel angle is 90 degrees to the left.
  • the orientation of the vehicle is positioned to the 270° direction in FIG. 6B , so the 270° direction is used as the display angle.
  • a tall building can be photographed directly in front of the vehicle as the part of the presented panoramic image corresponding to the display angle, that is, the picture to be displayed at the current moment.
  • FIG. 7 is a flow chart of displaying a panoramic image in an embodiment of the image processing method of the present invention.
  • the image processing method further includes S14.
  • S14 includes:
  • S142 Display a plurality of the pictures to be displayed in chronological order, so as to perform corresponding display of different parts of the panoramic image according to the real-time changes of the image display requirements.
  • the image processing method further includes:
  • the panoramic image is sent to an electronic device for displaying the panoramic image, so as to present the panoramic image.
  • the panoramic image is sent to a server, so as to send the panoramic image to an electronic device for displaying the panoramic image via the server, so as to present the panoramic image.
  • the panoramic images uploaded on the cloud can be used by family members and friends to view the panoramic videos around driving.
  • family members can see all the scenery on the road at home.
  • the viewing method of the panoramic image may be through a car, a mobile phone, an IOT (The Internet of Things) device, a HUD (Head Up Display, head-up display) device, a holographic image device, or other devices with display. function of the device is displayed.
  • the panoramic image can be viewed anytime, anywhere, not only when driving under safe conditions, such as in traffic jams or when driving normally, to view the images in the blind spot of the driving, but also through the in-vehicle display device when parking, or when relatives and friends are in the car. It can be viewed at home or other venues through mobile phones or IoT devices, or when a traffic accident occurs, it can be retrieved and viewed through the work equipment of the traffic department.
  • the panoramic image described in the present invention performs monitoring in the "sentry" mode during the parking period of the vehicle owner, and judges the possible abnormality or sudden situation of the vehicle by recognizing the shooting content of the panoramic image.
  • the panoramic image records abnormal vehicle movement, collision, scratches and other information throughout the entire process, providing evidence for later traceability.
  • FIG. 8 is a schematic diagram of monitoring of persons outside the vehicle in an embodiment of the image processing method of the present invention.
  • a 720-degree panoramic lens captures a person outside the vehicle approaching the vehicle, and then performs image recognition on the panoramic image to analyze the approaching intention of the person outside the vehicle.
  • FIG. 9 is a schematic diagram of traffic jam detection in an embodiment of the image processing method of the present invention.
  • the panoramic image records the surrounding road conditions of the vehicle.
  • the image information in the panoramic image shows that the distance between car B and car C and the owner's vehicle is relatively small.
  • the lateral distance between the rear of the owner's vehicle and the fronts of cars B and C is small, and there is a possibility of collision when continuing to drive, and it is determined that the meeting is poor.
  • the rear of the vehicle in the panoramic image and the front of car B Perform contour extraction with the front of car C, calculate the lateral distance D1 between the rear of the vehicle and the front of car B, calculate the lateral distance D2 between the rear of the vehicle and the front of car C, and calculate D1 and D2 according to the shooting ratio of the panoramic image.
  • the conversation information makes a judgment on whether the car owner needs to move the car.
  • the keywords "distance” and "moving car” in the speech are extracted, and then the natural language processing method is used to analyze the
  • the extracted keywords are semantically recognized to determine that the car owner needs to move the car. Specifically include the following steps:
  • (A2) Perform voice recognition on the panoramic image to recognize the voice content of people outside the vehicle.
  • the person outside the vehicle is the person outside the vehicle who advertises, the traffic police who post the ticket, or the security guard of a nearby building.
  • FIG. 10 is a schematic diagram of abnormal parking in an embodiment of the image processing method of the present invention.
  • the panoramic image obtained by the 720-degree panoramic lens it is recognized that there is a person outside the vehicle in work clothes approaching the vehicle. Further identify the work clothes as security clothes, volunteer clothes, traffic police clothes or company shop clothes, and identify the carry-on items of people outside the car.
  • the person outside the vehicle is a building security guard, holding a flashlight, passing by at night to check for abnormally parked vehicles in the parking space of the building. Specifically include the following steps:
  • (B1-2) Input the static picture into a pre-trained person identification model to perform image recognition, and the factors of the image recognition include the clothing of the person and the identification items carried by the person.
  • FIG. 11 is a schematic diagram of monitoring children and carried items in an embodiment of the image processing method of the present invention. As shown in Figure 11, it is recognized through the panoramic image that the car owner carries a document when entering the car and is accompanied by children, and only the car owner leaves when leaving the car.
  • the protection scope of the image processing method of the present invention is not limited to the execution order of the steps listed in this embodiment, and all the solutions implemented by adding and subtracting steps and replacing steps in the prior art based on the principles of the present invention are included in the present invention. within the scope of protection.
  • This embodiment provides a non-transitory computer-readable storage medium on which machine-executable instructions are stored, the machine-executable instructions, when executed, cause a machine to execute the image processing method.
  • the image processing method includes: acquiring a panoramic image around the vehicle and current driving information of the vehicle; the panoramic image includes angle information corresponding to its presentation content; acquiring an image display requirement matching the current driving information of the vehicle; the The image display requirement includes a display angle; based on the angle information consistent with the display angle, extract the panoramic image part corresponding to the angle information, so as to present the image display device in the in-vehicle display device in combination with the change of the image display requirement Panoramic image section.
  • the aforementioned computer program may be stored in a computer-readable storage medium.
  • the program executes the steps including the above method embodiments; and the aforementioned computer readable storage medium includes: ROM, RAM, magnetic disk or optical disk and other computer storage media that can store program codes.
  • FIG. 12 is a schematic diagram of the structure and connection of the electronic device of the present invention in an embodiment.
  • the electronic device 1 of the present invention includes: a processor 11 and a memory 12; the memory 12 is configured to store one or more computer programs; the processor 11 is coupled to the memory 12 and It is configured to execute the one or more computer programs to cause the electronic device 1 to perform the image processing methods shown in FIGS. 1-5 , 6A and 7 .
  • the electronic device includes, but is not limited to, a tablet computer, a smart phone, a Personal Digital Assistant (PDA for short), a car terminal or a smart glasses, a smart watch or other wearable devices that can obtain panoramic images through a network connection.
  • PDA Personal Digital Assistant
  • the above-mentioned processor 11 can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (Digital Signal Processing, referred to as DSP) ), Application Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
  • the processor 11 is used to execute the computer program of the image processing method shown in FIG. 1-FIG. 5, FIG. 6A, and FIG.
  • the image processing method includes: acquiring panoramic images around the vehicle and current driving information of the vehicle;
  • the panoramic image includes angle information corresponding to its presentation content; obtains image display requirements that match the current driving information of the vehicle; the image display requirements include a display angle; based on the angle information consistent with the display angle, extracting
  • the panoramic image portion corresponding to the angle information is used to present the panoramic image portion in the in-vehicle display device in combination with the change of the image display requirements.
  • the above-mentioned memory 12 may include random access memory (Random Access Memory, RAM for short), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the memory 12 is used to store the computer program of the image processing method shown in FIG. 1-FIG. 5, FIG. 6A, and FIG. 7.
  • the image processing method includes: acquiring panoramic images around the vehicle and current driving information of the vehicle;
  • the panoramic image includes angle information corresponding to its presentation content; obtains an image display requirement that matches the current driving information of the vehicle; the image display requirement includes a display angle; based on the angle information consistent with the display angle, extracting and
  • the panoramic image portion corresponding to the angle information is used to present the panoramic image portion in the in-vehicle display device in combination with changes in the image display requirements.
  • the electronic device is a car machine, which consists of a microprocessor (MCU), a memory (ROM, RAM), an input/output interface (I/O), an analog-to-digital converter (A/D), and a plasticizer. , driver and other large-scale integrated circuits.
  • MCU microprocessor
  • ROM read-only memory
  • RAM random access memory
  • I/O input/output interface
  • A/D analog-to-digital converter
  • plasticizer e.g., driver and other large-scale integrated circuits.
  • the microprocessor (MCU) is used for executing the computer program of the image processing method
  • the memory (ROM, RAM) is used for storing the computer program of the image processing method.
  • the image processing method includes: acquiring a panoramic image around the vehicle and current driving information of the vehicle; the panoramic image includes angle information corresponding to its presentation content; acquiring an image display requirement matching the current driving information of the vehicle; the The image display requirement includes a display angle; based on the angle information consistent with the display angle, extract the panoramic image part corresponding to the angle information, so as to present the image display device in the in-vehicle display device in combination with the change of the image display requirement Panoramic image section.
  • FIG. 13 is a schematic structural diagram of an image processing system according to an embodiment of the present invention.
  • the image processing system of the present invention includes: an electronic device 1 and a panoramic imaging device 2 ; the panoramic imaging device 2 is connected to the electronic device 1 .
  • the panoramic image device 2 is used to generate a panoramic image and send it to the electronic device 1 .
  • the electronic device 1 is used to obtain a panoramic image around the vehicle and current driving information of the vehicle; the panoramic image includes angle information corresponding to its presentation content; obtains image display requirements that match the current driving information of the vehicle; the The image display requirement includes a display angle; based on the angle information consistent with the display angle, extract the panoramic image part corresponding to the angle information, so as to present the image display device in the in-vehicle display device in combination with the change of the image display requirement Panoramic image section.
  • FIG. 14 is a schematic diagram of an application of the image processing system of the present invention in an embodiment.
  • the panoramic imaging device is a panoramic camera
  • the electronic device is a vehicle end.
  • the panoramic camera can be installed on the top of the vehicle before the vehicle leaves the factory, or the panoramic camera can be added in the later modification process.
  • the panoramic camera is installed in the middle of the roof of the vehicle, and is connected to the Tbox controller of the vehicle through a USB data cable, so as to transmit the obtained panoramic image to the vehicle for image processing.
  • the panoramic image is uniformly calculated, processed, and output to the central control screen through the on-board controller (ie, the Tbox controller) at the vehicle end.
  • the on-board controller ie, the Tbox controller
  • the obtained panoramic images can be stored in a storage device (for example: U disk) associated with the data transmission of the Tbox controller, for the owner or the relatives and friends of the owner who has the authority and the personnel who need to view it in the follow-up. View the driving panorama video recording video.
  • the Tbox controller can also upload the imaged panoramic images to the cloud server for storage in the cloud through the 4G-SIM card, so that the uploaded panoramic images can be stored and backed up, systematically managed, and distributed to the electronic devices to be displayed according to the viewing requirements. corresponding panoramic image.
  • the image processing system of the present invention can implement the image processing method of the present invention, but the implementation devices of the image processing method of the present invention include but are not limited to the structures of the image processing system listed in this embodiment.
  • the structural deformation and replacement of the prior art made by the principle of the invention are all included in the protection scope of the present invention.
  • the image processing method, medium, device and image processing system of the present invention obtain a panoramic image through a panoramic lens, which can be dynamically imaged at 720° on a display device, and can display images from various angles of driving.
  • the image that can be automatically converted to the image while driving with the vehicle can be realized.
  • a cloud account can be used to log in to the application interface associated with the panoramic lens, so that users with permissions can view the surrounding of the vehicle from anywhere.

Abstract

Provided are an image processing method, a medium, a device, and an image processing system. The image processing method comprises: acquiring a panoramic image around a vehicle and current travel information of the vehicle, wherein the panoramic image includes angle information corresponding to presentation content of the panoramic image; acquiring an image display requirement that matches the current travel information of the vehicle, wherein the image display requirement comprises a display angle; and on the basis of the angle information that is consistent with the display angle, extracting a panoramic image portion corresponding to the angle information, so as to present, in an in-vehicle display device and in combination with a change in the image display requirement, the panoramic image portion. By means of providing a panoramic image, an image of each angle of a vehicle can be displayed, and the collected panoramic image is processed, such that a better safety guarantee is brought about for the life of a vehicle owner, and more convenient and fast information is provided.

Description

图像处理方法、介质、设备及图像处理系统Image processing method, medium, device and image processing system 技术领域technical field
本发明属于图像处理的技术领域,涉及一种图像处理方法、介质、设备及图像处理系统。The invention belongs to the technical field of image processing, and relates to an image processing method, medium, equipment and image processing system.
背景技术Background technique
随着影像技术的发展,获取车辆周围的全景影像为用户带来较多便利,尤其是在驾驶过程中通过360度环视为用户带来更好的全景视觉体验。With the development of imaging technology, obtaining panoramic images around the vehicle brings more convenience to users, especially when driving through a 360-degree circle, which is regarded as a better panoramic visual experience for users.
然而,利用现有技术中生成的全景影像作图像处理及分析时,存在以下缺陷:现有的车载360环视系统所生成的全景影像大多是由4至8个摄像头拼接合成起来实现的,在进行全景影像显示时会存在图像缺乏立体感、拖影、叠影、变形、存在显示死角等问题,进一步地,车主在查看显示的全景影像或根据全景影像获取相关信息时,体验较差。However, when using the panoramic images generated in the prior art for image processing and analysis, there are the following defects: the panoramic images generated by the existing vehicle-mounted 360 surround view system are mostly realized by splicing and synthesizing 4 to 8 cameras, and the When the panoramic image is displayed, there will be problems such as lack of three-dimensional image, smear, superimposition, deformation, and display dead angle. Further, the car owner has a poor experience when viewing the displayed panoramic image or obtaining relevant information from the panoramic image.
发明内容SUMMARY OF THE INVENTION
鉴于以上所述现有技术的缺点,本发明的一个目的在于提供一种图像处理方法、介质、电子设备及图像处理系统,其优势在于,结合车辆当前的驾驶信息对车辆周围的全景影像进行高质量画面的局部影像显示。In view of the above-mentioned shortcomings of the prior art, one object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the panoramic image around the vehicle can be highly processed in combination with the current driving information of the vehicle. Partial image display of quality picture.
本发明的另一目的在于提供一种图像处理方法、介质、电子设备及图像处理系统,其优势在于,可以根据车辆行进方向自动调整所采集的全景影像显示角度。Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the display angle of the collected panoramic image can be automatically adjusted according to the traveling direction of the vehicle.
本发明的另一目的在于提供一种图像处理方法、介质、电子设备及图像处理系统,其优势在于,可以根据车外目标物体的位置自动调整所采集的全景影像显示角度。Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the display angle of the collected panoramic image can be automatically adjusted according to the position of the target object outside the vehicle.
本发明的另一目的在于提供一种图像处理方法、介质、电子设备及图像处理系统,其优势在于,可以根据用户需求手动调整查看全景影像中任意角度、完整清晰的影像。Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that a complete and clear image at any angle in a panoramic image can be manually adjusted and viewed according to user requirements.
本发明的另一目的在于提供一种图像处理方法、介质、电子设备及图像处理系统,其优势在于,在针对全景影像进行局部显示时,避免了图像缺乏立体感、拖影、叠影、变形、存在显示死角等问题。Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that when a panoramic image is partially displayed, the lack of three-dimensionality, smear, ghosting, and deformation of the image is avoided. , There are problems such as display dead corners.
本发明的另一目的在于提供一种图像处理方法、介质、电子设备及图像处理系统,其优势在于,能够将车辆采集的全景影像在不同终端上实时共享,以供不同的目标群体查看。Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the panoramic images collected by the vehicle can be shared on different terminals in real time for viewing by different target groups.
本发明的另一目的在于提供一种图像处理方法、介质、电子设备及图像处理系统,其优势在于,能够在驻车情况下识别拥堵情况而提示车主进行挪车。Another object of the present invention is to provide an image processing method, a medium, an electronic device and an image processing system, which have the advantage of being able to identify the congestion situation and prompt the owner to move the car in a parking situation.
本发明的另一目的在于提供一种图像处理方法、介质、电子设备及图像处理系统,其优势在于,能够识别靠近车辆人员的身份和意图而提示车主。Another object of the present invention is to provide an image processing method, medium, electronic device and image processing system, the advantages of which are that the identity and intention of persons approaching the vehicle can be identified and the vehicle owner is prompted.
本发明的另一目的在于提供一种图像处理系统,其优势在于,通过全景影像设备与电子设备之间的通信,将全景影像设备生成的全景影像发送至电子设备进行图像处理,以使在后续电子设备可根据车辆行进方向/车位目标物体的位置自动调整全景影像的显示角度,其中,本发明的全景影像设备在车辆上的安装位置进行了优化,使得全景影像设备被碰撞几率为全车最低,而且通过一体式全景镜头极大的减少了安装难度与后期维护难度。Another object of the present invention is to provide an image processing system, the advantage of which is that, through the communication between the panoramic image device and the electronic device, the panoramic image generated by the panoramic image device is sent to the electronic device for image processing, so that in the subsequent The electronic device can automatically adjust the display angle of the panoramic image according to the traveling direction of the vehicle/position of the target object in the parking space, wherein the installation position of the panoramic image device of the present invention on the vehicle is optimized, so that the probability of the panoramic image device being collided is the lowest in the whole vehicle , and the integrated panoramic lens greatly reduces the difficulty of installation and post-maintenance.
为实现上述目的及其他相关目的,本发明一方面提供一种图像处理方法,所述方法包括以下步骤:获取车辆周围的全景影像以及车辆当前的驾驶信息;所述全景影像包含与其呈现内容对应的角度信息;获取与所述车辆当前的驾驶信息匹配的影像显示需求;所述影像显示需求中包括显示角度;基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。In order to achieve the above object and other related objects, one aspect of the present invention provides an image processing method, the method includes the following steps: acquiring a panoramic image around the vehicle and current driving information of the vehicle; angle information; obtain image display requirements that match the current driving information of the vehicle; the image display requirements include a display angle; based on the angle information consistent with the display angle, extract the panoramic image portion corresponding to the angle information , so that the panoramic image portion is presented in the in-vehicle display device in combination with the change of the image display requirements.
于本发明的一实施例中,所述车辆当前的驾驶信息至少包括车辆当前的方向盘角度信息、行驶速度信息和挡位信息。由此,可以结合车辆当前的方向盘角度信息、行驶速度信息和挡位信息,显示对应的局部全景影像。In an embodiment of the present invention, the current driving information of the vehicle includes at least current steering wheel angle information, travel speed information and gear information of the vehicle. Therefore, the corresponding partial panoramic image can be displayed in combination with the current steering wheel angle information, driving speed information and gear information of the vehicle.
于本发明的一实施例中,所述影像显示需求至少还包括刷新方向和刷新频率;所述车辆通过预设的传感器和/或导航定位数据确定所述车辆当前的方向盘角度信息、挡位信息和行驶速度信息;所述获取与所述车辆当前的驾驶信息匹配的影像显示需求包括以下步骤:基于所述传感器和/或所述导航定位数据计算所述全景影像的显示角度;基于所述挡位信息检测所述车辆的进退状态,进而基于所述进退状态确定所述全景影像的刷新方向;以及基于所述行驶速度信息确定所述全景影像的刷新频率。由此,可以通过传感器采集的车辆数据和/或导航定位数据提供的信息确定影像显示需求,以使显示的局部全景影像随车辆的状态变化而变化。In an embodiment of the present invention, the image display requirement further includes at least a refresh direction and a refresh frequency; the vehicle determines the current steering wheel angle information and gear information of the vehicle through preset sensors and/or navigation positioning data. and driving speed information; the acquiring the image display requirement matching the current driving information of the vehicle includes the following steps: calculating the display angle of the panoramic image based on the sensor and/or the navigation and positioning data; The bit information detects the advancing and retreating state of the vehicle, and then determines the refresh direction of the panoramic image based on the advancing and retreating state; and determines the refresh frequency of the panoramic image based on the traveling speed information. Therefore, the image display requirement can be determined through the information provided by the vehicle data collected by the sensor and/or the navigation and positioning data, so that the displayed partial panoramic image changes with the state of the vehicle.
于本发明的一实施例中,所述基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分包括以下步骤:基于所述角度信息建立一角度坐标系,以将所述角度坐标系叠加于所述全景影像中;将所述显示角度在所述角度坐标系中进行定位;以及提取所述显示角度于定位处的待显示图片。由此,可以通过角度坐标系将车辆的偏转角度与全景影像的角度信息进行关联,以通过确定的显示角度定位全景影像中待显示的内容。In an embodiment of the present invention, the extracting the panoramic image portion corresponding to the angle information based on the angle information consistent with the display angle includes the following steps: establishing an angle coordinate system based on the angle information to The angular coordinate system is superimposed on the panoramic image; the display angle is positioned in the angular coordinate system; and the picture to be displayed at the position where the display angle is positioned is extracted. Therefore, the deflection angle of the vehicle can be associated with the angle information of the panoramic image through the angle coordinate system, so as to locate the content to be displayed in the panoramic image through the determined display angle.
于本发明的一实施例中,所述方法还包括以下步骤:经由电子设备呈现所述全景影像。由此,可以将图像处理的电子设备与服务器进行关联,以针对生成的全景影像提供不同电子设备的多渠道显示,以及与他人之间进行影像分享;此外,还可以对生成的全景影像进行备份存储以及系统管理。In an embodiment of the present invention, the method further includes the step of: presenting the panoramic image via an electronic device. In this way, the electronic device for image processing can be associated with the server to provide multi-channel display of different electronic devices for the generated panoramic image, and to share the image with others; in addition, the generated panoramic image can also be backed up storage and system management.
于本发明的一实施例中,所述方法还包括:在所述车辆处于停车状态时,对所述全景影像进行图像识别,以识别车外的会车情况;对所述全景影像进行语音识别,以识别车外人员的语音内容;基于所述会车情况和所述语音内容,确定是否需要挪车;以及响应于确定需要挪车,向所述车辆的车主发送挪车警示。由此,可以在车辆处于停车状态时,通过全景影像的识别开启“哨兵”模式,智能地识别堵车情况,以向车主发出挪车警示,使得车主在第一时间挪动车辆,更快的对道路状况进行疏通。In an embodiment of the present invention, the method further includes: when the vehicle is in a parked state, performing image recognition on the panoramic image to recognize the passing situation outside the vehicle; and performing voice recognition on the panoramic image , to recognize the voice content of the person outside the vehicle; based on the meeting situation and the voice content, determine whether the car needs to be moved; and in response to determining that the car needs to be moved, send a car-moving warning to the owner of the vehicle. In this way, when the vehicle is in a parked state, the “sentry” mode can be turned on through the recognition of the panoramic image to intelligently identify the traffic jam, so as to issue a car-moving warning to the car owner, so that the car owner can move the vehicle at the first time, and the road can be viewed more quickly. Clear the situation.
于本发明的一实施例中,所述方法还包括以下步骤:在所述车辆处于停车状态时,通过机器学习对所述全景影像进行图像识别,以识别车外人员的身份特征;基于所述身份特征,推测所述车外人员靠近所述车辆的意图;以及响应于确定所述车外人员靠近所述车辆的意图,向所述车辆的车主发送提示信息,以用于指示所述车外人员靠近所述车辆的意图和/或推荐应对措施。由此,可以在车辆处于停车状态时,通过全景影像的识别对车辆周围的人员进行智能识别,预测车外人员接近车辆的意图,并向车主发送提示消息,使车主针 对各种异常情况及时采取应对措施,还可以使车主尽量避免异常停车。In an embodiment of the present invention, the method further includes the following steps: when the vehicle is in a parked state, performing image recognition on the panoramic image through machine learning to identify the identity features of persons outside the vehicle; identity feature, infer the intention of the person outside the vehicle to approach the vehicle; and in response to determining the intention of the person outside the vehicle to approach the vehicle, send prompt information to the owner of the vehicle for indicating the person outside the vehicle The intent of the person to approach the vehicle and/or the recommended response. In this way, when the vehicle is in a parked state, people around the vehicle can be intelligently identified through the recognition of panoramic images, the intention of people outside the vehicle to approach the vehicle can be predicted, and a prompt message can be sent to the vehicle owner, so that the vehicle owner can take timely measures for various abnormal situations. Countermeasures can also make the owner try to avoid abnormal parking.
为实现上述目的及其他相关目的,本发明另一方面提供一种非瞬态计算机可读存储介质,其上存储有机器可执行指令,所述机器可执行指令在被执行时使机器执行所述方法的步骤。To achieve the above objects and other related objects, another aspect of the present invention provides a non-transitory computer-readable storage medium having stored thereon machine-executable instructions that, when executed, cause a machine to execute the steps of the method.
为实现上述目的及其他相关目的,本发明又一方面提供一种电子设备,包括:存储器,被配置为存储一个或多个计算机程序;以及处理器,耦合至所述存储器并且被配置为执行所述一个或多个计算机程序使所述电子设备执行所述的方法。To achieve the above objects and other related objects, another aspect of the present invention provides an electronic device, comprising: a memory configured to store one or more computer programs; and a processor coupled to the memory and configured to execute the The one or more computer programs cause the electronic device to perform the method.
为实现上述目的及其他相关目的,本发明最后一方面提供一种图像处理系统,所述图像处理系统包括:全景影像设备和所述的电子设备;所述全景影像设备与所述电子设备连接;所述全景影像设备用于生成全景影像,并将其发送至所述电子设备;所述电子设备用于获取车辆周围的全景影像以及车辆当前的驾驶信息;所述全景影像包含与其呈现内容对应的角度信息;获取与所述车辆当前的驾驶信息匹配的影像显示需求;所述影像显示需求中包括显示角度;基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。In order to achieve the above object and other related objects, a final aspect of the present invention provides an image processing system, the image processing system includes: a panoramic imaging device and the electronic device; the panoramic imaging device is connected to the electronic device; The panoramic image device is used to generate a panoramic image and send it to the electronic device; the electronic device is used to obtain the panoramic image around the vehicle and the current driving information of the vehicle; angle information; obtain image display requirements that match the current driving information of the vehicle; the image display requirements include a display angle; based on the angle information consistent with the display angle, extract the panoramic image portion corresponding to the angle information , so that the panoramic image portion is presented in the in-vehicle display device in combination with the change of the image display requirements.
附图说明Description of drawings
图1显示为本发明的图像处理方法于一实施例中的原理流程图;FIG. 1 is a schematic flowchart of an image processing method of the present invention in an embodiment;
图2显示为本发明的图像处理方法于一实施例中的驾驶信息示意图;FIG. 2 is a schematic diagram of driving information in an embodiment of the image processing method of the present invention;
图3显示为本发明的图像处理方法于一实施例中的影像显示需求获取流程图;FIG. 3 is a flowchart showing an image display requirement acquisition process in an embodiment of the image processing method of the present invention;
图4A显示为本发明的图像处理方法于一实施例中的显示角度计算示意图;FIG. 4A is a schematic diagram showing the calculation of a display angle in an embodiment of the image processing method of the present invention;
图4B显示为本发明的图像处理方法于另一实施例中的显示角度计算示意图;FIG. 4B is a schematic diagram showing the calculation of the display angle in another embodiment of the image processing method of the present invention;
图5显示为本发明的图像处理方法于一实施例中的全景影像提取示意图;5 is a schematic diagram illustrating panoramic image extraction in an embodiment of the image processing method of the present invention;
图6A显示为本发明的图像处理方法于一实施例中的角度坐标系建立流程图;FIG. 6A shows a flow chart of establishing an angular coordinate system in an embodiment of the image processing method of the present invention;
图6B显示为本发明的图像处理方法于一实施例中的角度坐标系建立示意图;6B is a schematic diagram showing the establishment of an angular coordinate system in an embodiment of the image processing method of the present invention;
图7显示为本发明的图像处理方法于一实施例中的全景影像显示流程图;7 is a flowchart showing a panoramic image display in an embodiment of the image processing method of the present invention;
图8显示为本发明的图像处理方法于一实施例中的车外人员监测示意图;FIG. 8 is a schematic diagram showing the monitoring of persons outside the vehicle in an embodiment of the image processing method of the present invention;
图9显示为本发明的图像处理方法于一实施例中的堵车检测示意图;9 is a schematic diagram showing a traffic jam detection in an embodiment of the image processing method of the present invention;
图10显示为本发明的图像处理方法于一实施例中的异常停车示意图;FIG. 10 is a schematic diagram of abnormal parking in an embodiment of the image processing method of the present invention;
图11显示为本发明的图像处理方法于一实施例中的儿童及携带物品监测示意图;11 is a schematic diagram showing monitoring of children and carried items in an embodiment of the image processing method of the present invention;
图12显示为本发明的电子设备于一实施例中的结构连接示意图;FIG. 12 is a schematic diagram showing the structural connection of the electronic device of the present invention in an embodiment;
图13显示为本发明的图像处理系统于一实施例中的结构原理图;FIG. 13 is a schematic structural diagram of an image processing system of the present invention in an embodiment;
图14显示为本发明的图像处理系统于一实施例中的应用示意图。FIG. 14 is a schematic diagram illustrating an application of the image processing system of the present invention in an embodiment.
元件标号说明Component label description
1                      电子设备1 Electronic equipment
11                     处理器11 Processor
12                     存储器12 Memory
2                      全景影像设备2 Panoramic imaging equipment
S11~S14               步骤Steps S11~S14
S121~S123             步骤Steps S121~S123
S131~S133             步骤Steps S131~S133
S131A~S131C           步骤S131A~S131C Steps
S141~S142             步骤Steps S141~S142
具体实施方式Detailed ways
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。The embodiments of the present invention are described below through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other under the condition of no conflict.
需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图示中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。It should be noted that the diagrams provided in the following embodiments are only used to illustrate the basic concept of the present invention in a schematic way, so the diagrams only show the components related to the present invention rather than the number, shape and For dimension drawing, the type, quantity and proportion of each component can be changed at will in actual implementation, and the component layout may also be more complicated.
本发明所述的图像处理方法通过提供全景影像可以展示车辆各角度图像,并对采集的全景影像进行处理,为车主的生活带来更多安全保障以及提供更多便捷信息。The image processing method of the present invention can display images from various angles of the vehicle by providing panoramic images, and process the collected panoramic images, thereby bringing more safety assurance and more convenient information to the life of the vehicle owner.
以下将结合图1至图14详细阐述本实施例的一种图像处理方法、介质、设备及图像处理系统的原理及实施方式,使本领域技术人员不需要创造性劳动即可理解本实施例的图像处理方法、介质、设备及图像处理系统。The principle and implementation of an image processing method, medium, device and image processing system of this embodiment will be described in detail below with reference to FIGS. 1 to 14 , so that those skilled in the art can understand the image of this embodiment without creative work. Processing method, medium, device and image processing system.
请参阅图1,显示为本发明的图像处理方法于一实施例中的原理流程图。如图1所示,所述图像处理方法具体包括以下几个步骤:Please refer to FIG. 1 , which is a schematic flow chart of the image processing method of the present invention in one embodiment. As shown in Figure 1, the image processing method specifically includes the following steps:
S11,获取车辆周围的全景影像以及车辆当前的驾驶信息;所述全景影像包含与其呈现内容对应的角度信息。S11: Acquire a panoramic image around the vehicle and current driving information of the vehicle; the panoramic image includes angle information corresponding to its presentation content.
具体地,全景影像通过720°全景镜头获取。720°全景镜头可以是前后两个大广角的鱼眼镜头一体生产而成,所获取的图像为上下左右共720°全角度的图像,全景镜头的固定方案优选为安装在车辆顶端,画面质量可达到4K水平,由此并不存在缺乏立体感和叠影的问题。由于全景镜头安装在车辆顶端,因此碰撞几率为全车最低;另外通过只有一个全景镜头极大的减少了安装难度与后期维护难度。Specifically, the panoramic image is acquired through a 720° panoramic lens. The 720° panoramic lens can be produced by integrating two front and rear wide-angle fisheye lenses. The obtained image is a full-angle image of 720° up, down, left, and right. The fixation scheme of the panoramic lens is preferably installed on the top of the vehicle, and the picture quality can be improved. At the 4K level, there is no problem of lack of three-dimensionality and ghosting. Since the panoramic lens is installed at the top of the vehicle, the collision probability is the lowest in the whole vehicle; in addition, the difficulty of installation and post-maintenance is greatly reduced by having only one panoramic lens.
请参阅图2,显示为本发明的图像处理方法于一实施例中的驾驶信息示意图。如图2所示,所述车辆当前的驾驶信息至少包括车辆当前的方向盘角度信息、行驶速度信息和挡 位信息。Please refer to FIG. 2 , which is a schematic diagram of driving information in an embodiment of the image processing method of the present invention. As shown in Figure 2, the current driving information of the vehicle includes at least current steering wheel angle information, travel speed information and gear information of the vehicle.
S12,获取与所述车辆当前的驾驶信息匹配的影像显示需求;所述影像显示需求中包括显示角度。S12: Acquire an image display requirement matching the current driving information of the vehicle; the image display requirement includes a display angle.
于一实施例中,所述影像显示需求至少还包括刷新方向和刷新频率;所述车辆通过预设的传感器和/或导航定位数据确定所述车辆当前的方向盘角度信息、挡位信息和行驶速度信息。于本实施例的一实施方式中,通过车辆的方向盘转角传感器检测所述方向盘角度信息,通过车辆的变速箱挡位传感器检测所述挡位信息,通过车辆的里程表传感器或轮速传感器检测所述行驶速度信息,通过检测的上述信息对应确定全景影像的显示角度、刷新方向以及刷新频率。于本实施例的另一实施方式中,当方向盘转动多圈时,通过高精度的导航定位数据确定车辆的微小转动位移,从而侧面推测出车辆的转动方向,进而根据该转动方向确定显示角度,并结合车辆传感器测量的挡位信息及行驶速度信息全面的确定全景影像的影像显示需求。例如,用户在一路口进行车辆左转掉头操作,此时,方向盘向左转动多圈,将车辆掉头的整个轨迹上每一点的切线方向作为车辆的转动方向,进一步地,可选取道路中心线作为基准线,由此确定每一点切线方向的角度,进而得知车辆的转向角度。于本实施例的又一实施方式中,通过导航定位数据推测所述方向盘角度信息、挡位信息和行驶速度信息三个参数,进而根据三个参数确定影像显示需求,其中,导航定位数据推测的方式可以是车辆与导航定位设备进行通信,将方向盘角度信息、挡位信息和行驶速度信息传输至导航定位设备而获取,具体地,通过车辆传感器将采集的方向盘角度信息、挡位信息和行驶速度信息通过蓝牙、wifi等通信方式传送至导航定位设备(例如图像处理方法的执行设备为手机时,手机接收车辆传感器将采集的方向盘角度信息、挡位信息和行驶速度信息确定全景影像的显示角度);也可以是导航定位数据根据车辆在地图上的位置变化确定车辆的偏转方向、前进与后退或行进速度等信息,例如,将车辆比作导航地图中的一个点,车辆行驶过程中,该点在地图上的位置不断变化,当该点相对于当前方向向左偏移,则判定车辆左转,当该点相对于当前位置向后移动,则判定车辆后退,该点移动的快慢则在一定程度上可以反映车辆的行驶速度。In an embodiment, the image display requirement further includes at least a refresh direction and a refresh frequency; the vehicle determines the current steering wheel angle information, gear information and driving speed of the vehicle through preset sensors and/or navigation positioning data. information. In an implementation of this embodiment, the steering wheel angle information is detected by a steering wheel angle sensor of the vehicle, the gear information is detected by a transmission gear sensor of the vehicle, and the odometer sensor or wheel speed sensor of the vehicle is used to detect all the information. For the driving speed information, the display angle, refresh direction, and refresh frequency of the panoramic image are determined correspondingly through the detected information. In another implementation of this embodiment, when the steering wheel rotates for many times, the small rotational displacement of the vehicle is determined by the high-precision navigation positioning data, so that the rotational direction of the vehicle is estimated from the side, and then the display angle is determined according to the rotational direction, Combined with the gear information and driving speed information measured by the vehicle sensors, the image display requirements of the panoramic image are comprehensively determined. For example, if the user turns the vehicle to the left at an intersection, at this time, the steering wheel is turned to the left for many times, and the tangent direction of each point on the entire trajectory of the vehicle's U-turn is taken as the turning direction of the vehicle. Further, the centerline of the road can be selected. As a reference line, the angle of the tangential direction of each point is determined from this, and the steering angle of the vehicle is then known. In another implementation of this embodiment, the three parameters of the steering wheel angle information, gear information and driving speed information are inferred from the navigation and positioning data, and then the image display requirements are determined according to the three parameters, wherein the estimated value of the navigation and positioning data is determined. The method can be that the vehicle communicates with the navigation and positioning device, and transmits the steering wheel angle information, gear information and driving speed information to the navigation and positioning device to obtain, specifically, the collected steering wheel angle information, gear information and driving speed through the vehicle sensor. The information is transmitted to the navigation and positioning device through Bluetooth, wifi and other communication methods (for example, when the execution device of the image processing method is a mobile phone, the mobile phone receives the steering wheel angle information, gear information and driving speed information collected by the vehicle sensor to determine the display angle of the panoramic image) ; It can also be the navigation positioning data to determine the vehicle's deflection direction, forward and backward, or travel speed and other information according to the change of the vehicle's position on the map. For example, the vehicle is compared to a point in the navigation map. The position on the map is constantly changing. When the point is shifted to the left relative to the current direction, it is determined that the vehicle is turning left. When the point moves backward relative to the current position, it is determined that the vehicle is moving backward. To a certain extent, it can reflect the speed of the vehicle.
请参阅图3,显示为本发明的图像处理方法于一实施例中的影像显示需求获取流程图。如图3所示,S12包括:Please refer to FIG. 3 , which is a flow chart of acquiring an image display requirement in an embodiment of the image processing method of the present invention. As shown in Figure 3, S12 includes:
S121,基于所述传感器和/或所述导航定位数据计算所述全景影像的显示角度。例如,车辆向前行驶时,展示正前方画面,此时车辆右转,可以自动将画面随方向盘的转动而转动画面。S121: Calculate the display angle of the panoramic image based on the sensor and/or the navigation and positioning data. For example, when the vehicle is driving forward, the front screen is displayed, and when the vehicle turns right, the screen can be automatically rotated with the rotation of the steering wheel.
请参阅图4A,显示为本发明的图像处理方法于一实施例中的显示角度计算示意图。如图4A所示,所述挡位信息包括D挡和R挡,通过车辆的方向盘转角传感器检测所述方向盘角度信息,所述方向盘角度信息包括左转角度和右转角度。显示角度的计算通过以下四种情况举例说明。Please refer to FIG. 4A , which is a schematic diagram showing the calculation of the display angle in an embodiment of the image processing method of the present invention. As shown in FIG. 4A , the gear information includes D gear and R gear, the steering wheel angle information is detected by a steering wheel angle sensor of the vehicle, and the steering wheel angle information includes a left turn angle and a right turn angle. The calculation of the display angle is illustrated by the following four cases.
响应于确定所述方向盘角度信息为所述D挡与所述左转角度,将第一预设角度减去所述左转角度作为所述显示角度。其中,所述第一预设角度为360°。例如,档位为D-前进档、方向盘角度为左转30度,则对应的坐标图像为360°-30°=330°的显示角度所在方向。In response to determining that the steering wheel angle information is the D gear and the left turn angle, subtract the left turn angle from the first preset angle as the display angle. Wherein, the first preset angle is 360°. For example, if the gear is D-forward and the steering wheel angle is 30 degrees to the left, the corresponding coordinate image is the direction of the display angle of 360°-30°=330°.
响应于确定所述方向盘角度信息为所述D挡与所述右转角度,将所述右转角度作为所 述显示角度。例如,档位为D-前进档、方向盘角度为右转20度,则对应的坐标图像为20°的显示角度所在方向。In response to determining that the steering wheel angle information is the D gear and the right turn angle, the right turn angle is used as the display angle. For example, if the gear is D-forward and the steering wheel angle is 20 degrees to the right, the corresponding coordinate image is the direction of the display angle of 20 degrees.
响应于确定所述方向盘角度信息为所述R挡与所述左转角度,将第二预设角度加上所述左转角度作为所述显示角度。其中,所述第二预设角度为180°。例如,档位为R-倒退档,方向盘角度为左转40度,则对应的坐标图像为180°+40°=220°的显示角度所在方向。In response to determining that the steering wheel angle information is the R gear and the left turn angle, the second preset angle is added to the left turn angle as the display angle. Wherein, the second preset angle is 180°. For example, if the gear is R-reverse, and the steering wheel angle is 40 degrees to the left, the corresponding coordinate image is the direction of the display angle of 180°+40°=220°.
响应于确定所述方向盘角度信息为所述R挡与所述右转角度,将第二预设角度减去所述右转角度作为所述显示角度。例如,档位为R-倒退档,方向盘角度为右转10度,则对应的坐标图像为180°-10°=170°的显示角度所在方向。In response to determining that the steering wheel angle information is the R gear and the right turn angle, the second preset angle is subtracted from the right turn angle as the display angle. For example, if the gear is R-reverse, and the steering wheel angle is 10 degrees to the right, the corresponding coordinate image is the direction of the display angle of 180°-10°=170°.
请参阅图4B,显示为本发明的图像处理方法于另一实施例中的显示角度计算示意图。如图4B所示,呈现了通过导航定位数据计算所述全景影像的显示角度,以实现行车影像跟踪拍摄,可以在行车过程中通过全景影像全程记录周围影像,尤其是车主感兴趣的目标物或预测车主可能感兴趣的目标物。Please refer to FIG. 4B , which is a schematic diagram of calculating a display angle in another embodiment of the image processing method of the present invention. As shown in FIG. 4B , the display angle of the panoramic image is calculated through the navigation and positioning data, so as to realize the tracking and shooting of the driving image. During the driving process, the panoramic image can be used to record the surrounding images, especially the target objects or objects that the owner is interested in. Predict objects that may be of interest to car owners.
具体地,通过全景影像识别POI(Point of Information,信息点或兴趣点)地点,可根据周围POI地点数据通过语音提示驾驶者“您的右前方为东风明珠电视塔,是否需要跟踪拍摄”,或由驾驶者自行语音控制或点击屏幕位置圈选周围POI内容,来进行跟踪拍摄。输出拍摄指令后,基于POI地点的GPS坐标、外形轮廓、明显标识在获取的全景影像中对POI进行识别,从而跟踪拍摄POI地点影像。Specifically, the POI (Point of Information, information point or point of interest) location can be identified through the panoramic image, and the driver can be prompted by voice according to the surrounding POI location data, "Your right front is the Dongfeng Pearl TV Tower, whether you need to track and shoot", or The driver can use voice control or click the screen position to circle the surrounding POI content for tracking shooting. After the shooting instruction is output, the POI is identified in the obtained panoramic image based on the GPS coordinates, outline, and obvious marks of the POI location, so as to track and shoot the POI location image.
于实际应用中,如图4B中的(a)图所示,POI点为东方明珠电视塔,POI点与车辆按照经纬度计算夹角:通过导航定位数据确定车辆的定位信息,以获取车辆坐标,于导航地图中确定车辆坐标和POI地点的坐标,通过角度计算可计算出夹角度数。例如,设车辆坐标为(0,0),POI点位置为(x,y),则tan∠a=|x|÷|y|,因而可以求出∠a=arctan(|x|÷|y|)。根据夹角可展示相应角度的全景影像。In practical applications, as shown in (a) in Figure 4B, the POI point is the Oriental Pearl TV Tower, and the angle between the POI point and the vehicle is calculated according to the latitude and longitude: the positioning information of the vehicle is determined through the navigation and positioning data to obtain the vehicle coordinates. The vehicle coordinates and the coordinates of the POI location are determined in the navigation map, and the number of included angles can be calculated through angle calculation. For example, if the vehicle coordinates are (0, 0) and the POI point position is (x, y), then tan∠a=|x|÷|y|, so ∠a=arctan(|x|÷|y |). According to the included angle, the panoramic image of the corresponding angle can be displayed.
进一步地,如图4B中的(b)图所示,通过每秒计算一次角度,来实时展示POI图像,实现随车展示POI点影像,例如,通过导航定位数据确定东方明珠电视塔与车辆的夹角逐渐由30度变为75度,则相应的,全景影像的显示角度也由30度变为75度。Further, as shown in (b) in FIG. 4B , the POI image is displayed in real time by calculating the angle every second, and the POI point image is displayed on the vehicle. For example, the clip between the Oriental Pearl TV Tower and the vehicle is determined by the navigation and positioning data. The angle gradually changes from 30 degrees to 75 degrees, and accordingly, the display angle of the panoramic image also changes from 30 degrees to 75 degrees.
更进一步的,在针对东方明珠电视塔进行跟踪拍摄与全景影像显示的同时,向用户提供东方明珠电视塔相关信息的语音解说,起到“智能导游”的作用。Further, while tracking shooting and panoramic image display for the Oriental Pearl TV Tower, it provides users with voice commentary of the information related to the Oriental Pearl TV Tower, playing the role of a "smart tour guide".
由此,可以实现根据车主的喜好及发出的指令智能地识别POI,并确定全景影像中POI的显示角度,进而持续跟踪、显示相应的全景影像部分;并且通过轮廓识别或地图中POI坐标智能预测车辆经过区域中的标志性事物(目标物或事件),例如车主可能感兴趣的标志性建筑物,进而实现全景影像的自动跟踪拍摄与显示以及提供语音导游功能。In this way, the POI can be intelligently identified according to the owner's preferences and the instructions issued, and the display angle of the POI in the panoramic image can be determined, and then the corresponding panoramic image part can be continuously tracked and displayed; and the POI coordinates in the map can be intelligently predicted through contour recognition or map. The vehicle passes through landmarks (targets or events) in the area, such as landmark buildings that the owner may be interested in, so as to realize automatic tracking shooting and display of panoramic images and provide audio guide functions.
S122,基于所述挡位信息检测所述车辆的进退状态,进而基于所述进退状态确定所述全景影像的刷新方向。S122: Detect the forward/backward state of the vehicle based on the gear information, and then determine the refresh direction of the panoramic image based on the forward/backward state.
S123,基于所述行驶速度信息确定所述全景影像的刷新频率。S123: Determine the refresh frequency of the panoramic image based on the traveling speed information.
S13,基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。S13 , based on the angle information consistent with the display angle, extract the panoramic image part corresponding to the angle information, so as to present the panoramic image part in the in-vehicle display device in combination with the change of the image display requirement.
请参阅图5,显示为本发明的图像处理方法于一实施例中的全景影像提取示意图。如 图5所示,S13包括:Please refer to FIG. 5 , which is a schematic diagram of panoramic image extraction in an embodiment of the image processing method of the present invention. As shown in Figure 5, S13 includes:
S131,基于所述角度信息建立一角度坐标系,以将所述角度坐标系叠加于所述全景影像中。S131 , establishing an angle coordinate system based on the angle information, so as to superimpose the angle coordinate system on the panoramic image.
请参阅图6A,显示为本发明的图像处理方法于一实施例中的角度坐标系建立流程图。如图6A所示,S131包括:Please refer to FIG. 6A , which is a flow chart of establishing an angular coordinate system in an embodiment of the image processing method of the present invention. As shown in Figure 6A, S131 includes:
S131A,将所述全景影像转换为球型图像。具体地,全景影像是将2:1比例的图像,通过畸形图形处理算法将图像折成球型图像。具体地,畸形图形处理算法的实现步骤包括:首先,将全景影像放大为矩形图像,以进行局部変形,例如,输入全景影像的一个源像素点l(x,y)经过Seam Carving算法放大后,位置移动到l’(x,y),由此,可以计算得到其运动场(光流场)u(x,y)=l’(x,y)-l(x,y),以便计算出全景图像变为矩形图像后,每个像素点的u(x,y)运动向量;然后,对矩形图像进行网格划分,根据-u(x,y)记录每个网格顶点的新位置;最后,将网格顶点的新位置作为控制顶点,利用相似变换的变形方法,对全景图像进行全局变形,以得到球型图像。S131A, converting the panoramic image into a spherical image. Specifically, the panoramic image is a 2:1 ratio image, and the image is folded into a spherical image through a deformed graphics processing algorithm. Specifically, the implementation steps of the deformed image processing algorithm include: first, enlarging the panoramic image into a rectangular image to perform local transformation, for example, after a source pixel point l(x, y) of the input panoramic image is enlarged by the Seam Carving algorithm, The position is moved to l'(x, y), thus, its motion field (optical flow field) u(x, y)=l'(x, y)-l(x, y) can be calculated to calculate the panorama After the image becomes a rectangular image, the u(x, y) motion vector of each pixel point; then, the rectangular image is meshed, and the new position of each mesh vertex is recorded according to -u(x, y); finally , the new position of the mesh vertex is used as the control vertex, and the panorama image is globally deformed by the deformation method of similarity transformation to obtain a spherical image.
S131B,在所述球型图像中以水平线为中心标线,确定中心水平图像。S131B, in the spherical image, the horizontal line is used as the center line, and the center horizontal image is determined.
S131C,对所述中心水平图像建立所述角度坐标系。S131C, establishing the angle coordinate system for the center horizontal image.
S132,将所述显示角度在所述角度坐标系中进行定位。S132. Position the display angle in the angle coordinate system.
S133,提取所述显示角度于定位处的待显示图片。S133, extracting the picture to be displayed with the display angle at the location.
请参阅图6B,显示为本发明的图像处理方法于一实施例中的角度坐标系建立示意图。如图6B所示,图6B呈现了中心水平图像的实景图,车辆位于圆形的角度坐标系中心,由此,可以环视一周的所有景象。例如,车辆在行驶过程中在档位为D-前进档、方向盘角度为左转90度,此时,车辆的朝向为定位至图6B中的270°方向,由此,270°方向作为显示角度,车辆正前方可拍摄到高楼作为与显示角度对应的呈现出的全景影像部分,即当前时刻的待显示图片。Please refer to FIG. 6B , which is a schematic diagram of establishing an angular coordinate system in an embodiment of the image processing method of the present invention. As shown in Fig. 6B, Fig. 6B presents a real view of the center horizontal image, and the vehicle is located at the center of the circular angular coordinate system, so that all scenes around the circumference can be viewed. For example, when the vehicle is driving, the gear is D-forward and the steering wheel angle is 90 degrees to the left. At this time, the orientation of the vehicle is positioned to the 270° direction in FIG. 6B , so the 270° direction is used as the display angle. , a tall building can be photographed directly in front of the vehicle as the part of the presented panoramic image corresponding to the display angle, that is, the picture to be displayed at the current moment.
请参阅图7,显示为本发明的图像处理方法于一实施例中的全景影像显示流程图。如图7所示,所述图像处理方法还包括S14,于一实施例中,S14包括:Please refer to FIG. 7 , which is a flow chart of displaying a panoramic image in an embodiment of the image processing method of the present invention. As shown in FIG. 7 , the image processing method further includes S14. In one embodiment, S14 includes:
S141,结合所述影像显示需求的变化,连续确定不同时刻的所述待显示图片。S141 , continuously determining the pictures to be displayed at different times in combination with changes in the image display requirements.
S142,将多张所述待显示图片按照时间先后顺序进行显示,以此根据所述影像显示需求的实时变化进行全景影像不同部分的相应显示。S142: Display a plurality of the pictures to be displayed in chronological order, so as to perform corresponding display of different parts of the panoramic image according to the real-time changes of the image display requirements.
于一实施例中,所述图像处理方法还包括:In one embodiment, the image processing method further includes:
S15,经由电子设备呈现所述全景影像。S15. Present the panoramic image via an electronic device.
于一实施例中,将所述全景影像发送至用于全景影像显示的电子设备,以便于呈现所述全景影像。In one embodiment, the panoramic image is sent to an electronic device for displaying the panoramic image, so as to present the panoramic image.
于另一实施例中,将所述全景影像发送至服务器,以经由所述服务器将所述全景影像发送至用于显示全景影像的电子设备,以便于呈现所述全景影像。In another embodiment, the panoramic image is sent to a server, so as to send the panoramic image to an electronic device for displaying the panoramic image via the server, so as to present the panoramic image.
具体地,云端上传的全景图像可供家人、朋友查看行车周围全景视频,作为线上旅行的内容支持,家人在家可以看到行驶路上的全部风光。于实际应用中,所述全景影像的查看方式可以是通过车机、手机、IOT(The Internet of Things,物联网)设备、HUD(Head Up Display,抬头显示)设备、全息影像设备或其他具备显示功能的设备进行显示。所述全景 影像的查看可以随时随地,既可以是安全情况下驾车时,如堵车或正常驾驶时查看驾驶盲区的图像,也可以是停车时通过车内显示设备进行查看,还可以是亲朋好友在家中或其他场地通过手机或物联网设备进行查看,也可以是发生交通事故时,通过交通部门的工作设备调取后进行查看。Specifically, the panoramic images uploaded on the cloud can be used by family members and friends to view the panoramic videos around driving. As the content support for online travel, family members can see all the scenery on the road at home. In practical applications, the viewing method of the panoramic image may be through a car, a mobile phone, an IOT (The Internet of Things) device, a HUD (Head Up Display, head-up display) device, a holographic image device, or other devices with display. function of the device is displayed. The panoramic image can be viewed anytime, anywhere, not only when driving under safe conditions, such as in traffic jams or when driving normally, to view the images in the blind spot of the driving, but also through the in-vehicle display device when parking, or when relatives and friends are in the car. It can be viewed at home or other venues through mobile phones or IoT devices, or when a traffic accident occurs, it can be retrieved and viewed through the work equipment of the traffic department.
本发明中所述的全景影像在车主停车期间,执行“哨兵”模式进行监测,通过对全景影像拍摄内容的识别,判断车辆可能发生的异常或突发情况。The panoramic image described in the present invention performs monitoring in the "sentry" mode during the parking period of the vehicle owner, and judges the possible abnormality or sudden situation of the vehicle by recognizing the shooting content of the panoramic image.
于实际应用场景中,全景影像全程记录车辆异常移动、碰撞、剐蹭等信息,为后期追溯提供佐证。In practical application scenarios, the panoramic image records abnormal vehicle movement, collision, scratches and other information throughout the entire process, providing evidence for later traceability.
于实际应用场景中,车主在临时停车(去买药或购买急需物品)时,通过全景影像的记录与识别,对靠近车辆的车外人员进行识别。于实际情况中,车外人员可以是车主临时停车堵塞道路,急需联系车主挪车,可以是发广告的车外人员、贴罚单的交警或附近大楼保安人员,还可以是停车时即将进入该车辆的人员与走出该车辆的人员。请参阅图8,显示为本发明的图像处理方法于一实施例中的车外人员监测示意图。如图8所示,通过720度全景镜头拍摄到车辆周边有车外人员正在靠近该车辆,进而对全景影像进行图像识别,以分析该车外人员的靠近意图。In practical application scenarios, when the car owner temporarily stops (going to buy medicine or buy urgently needed items), the recording and identification of panoramic images can be used to identify people outside the car approaching the vehicle. In the actual situation, the person outside the car can be the owner of the car who temporarily stops to block the road and urgently needs to contact the owner to move the car. It can be the person outside the car who advertises, the traffic police with the ticket, or the security personnel of the nearby building, or the person who is about to enter the vehicle when parking. and those who got out of the vehicle. Please refer to FIG. 8 , which is a schematic diagram of monitoring of persons outside the vehicle in an embodiment of the image processing method of the present invention. As shown in Figure 8, a 720-degree panoramic lens captures a person outside the vehicle approaching the vehicle, and then performs image recognition on the panoramic image to analyze the approaching intention of the person outside the vehicle.
一方面,车外人员为车主临时停车堵塞道路,急需联系车主挪车的人员。请参阅图9,显示为本发明的图像处理方法于一实施例中的堵车检测示意图。如图9所示,车主临时停车并离开车辆期间,全景影像全程记录车辆周边路况,通过全景影像中图像信息呈现出B车与C车与车主车辆的车距较小,通过全景影像中监测出车主车辆的车尾与B车和C车的车头横向间距较小,且继续行驶有碰撞的可能,判定为会车情况较差,具体地,对全景影像中车辆的车尾、B车的车头和C车的车头进行轮廓提取,计算车辆的车尾与B车的车头的横向间距D1,计算车辆的车尾与C车的车头的横向间距D2,根据全景影像的拍摄比例,将D1与D2转换为实际的横向间距d1、d2,当存在一间距d1或d2小于10cm时,则判定为会车情况较差;通过全景影像中音频信息提供的车外人员(C车中走出的驾驶员)谈话信息对车主是否需要挪车作出判断。例如,车外人员在讲“现在的距离无法通过,需联系车主挪车呀”,通过语音内容识别,提取语音中的关键词“距离”、“挪车”等,进而利用自然语言处理方法对提取的关键词进行语义识别,以判定车主需要挪车。具体包括以下步骤:On the one hand, the people outside the car stopped temporarily for the car owner to block the road, and urgently needed to contact the car owner to move the car. Please refer to FIG. 9 , which is a schematic diagram of traffic jam detection in an embodiment of the image processing method of the present invention. As shown in Figure 9, when the car owner temporarily parked and left the vehicle, the panoramic image records the surrounding road conditions of the vehicle. The image information in the panoramic image shows that the distance between car B and car C and the owner's vehicle is relatively small. The lateral distance between the rear of the owner's vehicle and the fronts of cars B and C is small, and there is a possibility of collision when continuing to drive, and it is determined that the meeting is poor. Specifically, the rear of the vehicle in the panoramic image and the front of car B Perform contour extraction with the front of car C, calculate the lateral distance D1 between the rear of the vehicle and the front of car B, calculate the lateral distance D2 between the rear of the vehicle and the front of car C, and calculate D1 and D2 according to the shooting ratio of the panoramic image. Converted to the actual horizontal distances d1 and d2, when there is a distance d1 or d2 less than 10cm, it is judged that the car meeting is poor; the people outside the car (the driver who walked out of the C car) provided by the audio information in the panoramic image. The conversation information makes a judgment on whether the car owner needs to move the car. For example, when a person outside the car is saying "the current distance cannot be passed, you need to contact the car owner to move the car". Through speech content recognition, the keywords "distance" and "moving car" in the speech are extracted, and then the natural language processing method is used to analyze the The extracted keywords are semantically recognized to determine that the car owner needs to move the car. Specifically include the following steps:
(A1)在所述车辆处于临时停车状态时,对所述全景影像进行图像识别,以识别车外的会车情况,具体包括以下步骤:(A1) When the vehicle is in a temporary parking state, image recognition is performed on the panoramic image to identify the meeting outside the vehicle, which specifically includes the following steps:
(A1-1)对所述全景影像中的他人车辆进行识别,根据所述全景影像与实景的呈现比例测算所述他人车辆与所述车辆之间的车距。(A1-1) Identifying the other person's vehicle in the panoramic image, and calculating the distance between the other person's vehicle and the vehicle according to the rendering ratio of the panoramic image and the real scene.
(A1-2)将所述车距与预设车距阈值进行比较,以评估所述他人车辆正常通过的可能性。(A1-2) Compare the vehicle distance with a preset vehicle distance threshold to evaluate the possibility that the other person's vehicle will pass normally.
(A1-3)响应于确定所述车距小于所述预设车距阈值,判定车外的会车情况为拥堵。(A1-3) In response to determining that the vehicle distance is smaller than the preset vehicle distance threshold, it is determined that the meeting situation outside the vehicle is congestion.
(A2)对所述全景影像进行语音识别,以识别车外人员的语音内容。(A2) Perform voice recognition on the panoramic image to recognize the voice content of people outside the vehicle.
(A3)根据所述会车情况和所述语音内容,确定是否需要挪车。(A3) Determine whether it is necessary to move the car according to the meeting situation and the voice content.
(A4)响应于确定需要挪车,向所述车辆的车主发送挪车警示。(A4) In response to determining that a manoeuvring is required, a manoeuvring alert is sent to the owner of the vehicle.
另一方面,车外人员为发广告的车外人员、贴罚单的交警或附近大楼保安人员请参阅 图10,显示为本发明的图像处理方法于一实施例中的异常停车示意图。如图10所示,通过720度全景镜头获取的全景影像中识别到有一身着工作服的车外人员正在靠近车辆。进一步识别工作服为保安服装、志愿者服装、交通警服或公司店铺服装,并识别车外人员随身携带物品。例如,图10中车外人员为大楼保安人员,手持手电筒,在晚上路过检查大楼车位上的异常停放车辆。具体包括以下步骤:On the other hand, the person outside the vehicle is the person outside the vehicle who advertises, the traffic police who post the ticket, or the security guard of a nearby building. Please refer to FIG. 10 , which is a schematic diagram of abnormal parking in an embodiment of the image processing method of the present invention. As shown in Figure 10, in the panoramic image obtained by the 720-degree panoramic lens, it is recognized that there is a person outside the vehicle in work clothes approaching the vehicle. Further identify the work clothes as security clothes, volunteer clothes, traffic police clothes or company shop clothes, and identify the carry-on items of people outside the car. For example, in Figure 10, the person outside the vehicle is a building security guard, holding a flashlight, passing by at night to check for abnormally parked vehicles in the parking space of the building. Specifically include the following steps:
(B1)在所述车辆处于临时停车状态时,通过机器学习对所述全景影像进行图像识别,以识别车外人员的身份特征。具体包括以下步骤:(B1) When the vehicle is in a temporarily parked state, image recognition is performed on the panoramic image through machine learning, so as to identify the identity features of persons outside the vehicle. Specifically include the following steps:
(B1-1)对所述全景影像进行静态图片提取。(B1-1) Perform still image extraction on the panoramic image.
(B1-2)将所述静态图片输入预先训练的人员身份识别模型中进行图像识别,所述图像识别的因素包括人员着装及人员随身携带的标识物品。(B1-2) Input the static picture into a pre-trained person identification model to perform image recognition, and the factors of the image recognition include the clothing of the person and the identification items carried by the person.
(B2)根据所述身份特征,推测所述车外人员靠近所述车辆的意图。(B2) According to the identity feature, infer the intention of the person outside the vehicle to approach the vehicle.
(B3)响应于确定所述车外人员靠近所述车辆的意图,向所述车辆的车主发送提示信息,以用于指示所述车外人员靠近所述车辆的意图和/或推荐应对措施。(B3) In response to determining the intention of the person outside the vehicle to approach the vehicle, sending prompt information to the owner of the vehicle for indicating the intention of the person outside the vehicle to approach the vehicle and/or recommending countermeasures.
另一方面,车外人员为停车时即将进入该车辆的人员与走出该车辆的人员。请参阅图11,显示为本发明的图像处理方法于一实施例中的儿童及携带物品监测示意图。如图11所示,通过全景影像识别出车主进车时携带一份文件并且有儿童陪同,离开车辆时仅有车主自己离开。结合车辆点火数据与熄火数据的时刻,提取对应时刻下全景影像中车主进车时的图像与离车时的图像,并进行图像对比,由此,判断车主离车时忘记携带文件或者将儿童遗忘至车内,以此向车主发出提醒,以使车主针对提醒信息进行灵活处理,作出判断,是否确实遗忘物品或儿童还是短时间离开,即刻返回,于该实施例中,通过全景影像的智能监测与图像识别,向用户发出遗忘提醒,由此,大大降低了车主因遗忘物品必须返回车辆中再次取出导致重要事务的耽搁这一可能性,或降低了车主将儿童遗忘至车内导致危险发生的可能性。On the other hand, persons outside the vehicle are persons who are about to enter the vehicle and persons who get out of the vehicle when the vehicle is parked. Please refer to FIG. 11 , which is a schematic diagram of monitoring children and carried items in an embodiment of the image processing method of the present invention. As shown in Figure 11, it is recognized through the panoramic image that the car owner carries a document when entering the car and is accompanied by children, and only the car owner leaves when leaving the car. Combined with the time of vehicle ignition data and flameout data, extract the image when the car owner enters the car and the image when the car leaves the car in the panoramic image at the corresponding time, and compare the images, so as to judge whether the car owner forgot to bring documents or children when he left the car to the car, so as to send a reminder to the car owner, so that the car owner can flexibly process the reminder information and make a judgment as to whether it is true that the item or the child has left in a short time, and return immediately. In this embodiment, the intelligent monitoring of the panoramic image is adopted. With image recognition, a forgetting reminder is sent to the user, thereby greatly reducing the possibility that the owner of the vehicle must return the forgotten items to the vehicle and take it out again, causing delays in important matters, or reducing the risk of danger caused by the owner forgetting children in the car. possibility.
本发明所述的图像处理方法的保护范围不限于本实施例列举的步骤执行顺序,凡是根据本发明的原理所做的现有技术的步骤增减、步骤替换所实现的方案都包括在本发明的保护范围内。The protection scope of the image processing method of the present invention is not limited to the execution order of the steps listed in this embodiment, and all the solutions implemented by adding and subtracting steps and replacing steps in the prior art based on the principles of the present invention are included in the present invention. within the scope of protection.
本实施例提供一种非瞬态计算机可读存储介质,其上存储有机器可执行指令,所述机器可执行指令在被执行时使机器执行所述图像处理方法。所述图像处理方法包括:获取车辆周围的全景影像以及车辆当前的驾驶信息;所述全景影像包含与其呈现内容对应的角度信息;获取与所述车辆当前的驾驶信息匹配的影像显示需求;所述影像显示需求中包括显示角度;基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。This embodiment provides a non-transitory computer-readable storage medium on which machine-executable instructions are stored, the machine-executable instructions, when executed, cause a machine to execute the image processing method. The image processing method includes: acquiring a panoramic image around the vehicle and current driving information of the vehicle; the panoramic image includes angle information corresponding to its presentation content; acquiring an image display requirement matching the current driving information of the vehicle; the The image display requirement includes a display angle; based on the angle information consistent with the display angle, extract the panoramic image part corresponding to the angle information, so as to present the image display device in the in-vehicle display device in combination with the change of the image display requirement Panoramic image section.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过计算机程序相关的硬件来完成。前述的计算机程序可以存储于一计算机可读存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的计算机可读存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的计算机存储介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by hardware related to computer programs. The aforementioned computer program may be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above method embodiments; and the aforementioned computer readable storage medium includes: ROM, RAM, magnetic disk or optical disk and other computer storage media that can store program codes.
请参阅图12,显示为本发明的电子设备于一实施例中的结构连接示意图。如图12所示,本发明所述的电子设备1包括:处理器11和存储器12;所述存储器12被配置为存储 一个或多个计算机程序;所述处理器11耦合至所述存储器12并且被配置为执行所述一个或多个计算机程序使所述电子设备1执行如图1-图5、图6A、图7所示的图像处理方法。所述电子设备包括但不限于可以通过网络连接获取全景影像的平板电脑、智能手机、个人数字助理(Personal Digital Assistant,简称PDA)、车机端或是智能眼镜、智能手表或其他可穿戴设备。Please refer to FIG. 12 , which is a schematic diagram of the structure and connection of the electronic device of the present invention in an embodiment. As shown in FIG. 12, the electronic device 1 of the present invention includes: a processor 11 and a memory 12; the memory 12 is configured to store one or more computer programs; the processor 11 is coupled to the memory 12 and It is configured to execute the one or more computer programs to cause the electronic device 1 to perform the image processing methods shown in FIGS. 1-5 , 6A and 7 . The electronic device includes, but is not limited to, a tablet computer, a smart phone, a Personal Digital Assistant (PDA for short), a car terminal or a smart glasses, a smart watch or other wearable devices that can obtain panoramic images through a network connection.
上述的处理器11可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Alication Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field Programmable GateArray,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。所述处理器11用于执行如图1-图5、图6A、图7所示的图像处理方法的计算机程序,所述图像处理方法包括:获取车辆周围的全景影像以及车辆当前的驾驶信息;所述全景影像包含与其呈现内容对应的角度信息;获取与所述车辆当前的驾驶信息匹配的影像显示需求;所述影像显示需求中包括显示角度;基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。The above-mentioned processor 11 can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (Digital Signal Processing, referred to as DSP) ), Application Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. The processor 11 is used to execute the computer program of the image processing method shown in FIG. 1-FIG. 5, FIG. 6A, and FIG. 7, and the image processing method includes: acquiring panoramic images around the vehicle and current driving information of the vehicle; The panoramic image includes angle information corresponding to its presentation content; obtains image display requirements that match the current driving information of the vehicle; the image display requirements include a display angle; based on the angle information consistent with the display angle, extracting The panoramic image portion corresponding to the angle information is used to present the panoramic image portion in the in-vehicle display device in combination with the change of the image display requirements.
上述的存储器12可能包含随机存取存储器(Random Access Memory,简称RAM),也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。所述存储器12用于存储如图1-图5、图6A、图7所示的图像处理方法的计算机程序,所述图像处理方法包括:获取车辆周围的全景影像以及车辆当前的驾驶信息;所述全景影像包含与其呈现内容对应的角度信息;获取与所述车辆当前的驾驶信息匹配的影像显示需求;所述影像显示需求中包括显示角度;基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。The above-mentioned memory 12 may include random access memory (Random Access Memory, RAM for short), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 12 is used to store the computer program of the image processing method shown in FIG. 1-FIG. 5, FIG. 6A, and FIG. 7. The image processing method includes: acquiring panoramic images around the vehicle and current driving information of the vehicle; The panoramic image includes angle information corresponding to its presentation content; obtains an image display requirement that matches the current driving information of the vehicle; the image display requirement includes a display angle; based on the angle information consistent with the display angle, extracting and The panoramic image portion corresponding to the angle information is used to present the panoramic image portion in the in-vehicle display device in combination with changes in the image display requirements.
于一实施例中,所述电子设备为车机,由微处理器(MCU)、存储器(ROM、RAM)、输入/输出接口(I/O)、模数转换器(A/D)以及整形、驱动等大规模集成电路组成。其中,微处理器(MCU)用于执行所述图像处理方法的计算机程序,存储器(ROM、RAM)用于存储所述图像处理方法的计算机程序。所述图像处理方法包括:获取车辆周围的全景影像以及车辆当前的驾驶信息;所述全景影像包含与其呈现内容对应的角度信息;获取与所述车辆当前的驾驶信息匹配的影像显示需求;所述影像显示需求中包括显示角度;基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。In one embodiment, the electronic device is a car machine, which consists of a microprocessor (MCU), a memory (ROM, RAM), an input/output interface (I/O), an analog-to-digital converter (A/D), and a plasticizer. , driver and other large-scale integrated circuits. Wherein, the microprocessor (MCU) is used for executing the computer program of the image processing method, and the memory (ROM, RAM) is used for storing the computer program of the image processing method. The image processing method includes: acquiring a panoramic image around the vehicle and current driving information of the vehicle; the panoramic image includes angle information corresponding to its presentation content; acquiring an image display requirement matching the current driving information of the vehicle; the The image display requirement includes a display angle; based on the angle information consistent with the display angle, extract the panoramic image part corresponding to the angle information, so as to present the image display device in the in-vehicle display device in combination with the change of the image display requirement Panoramic image section.
请参阅图13,显示为本发明的图像处理系统于一实施例中的结构原理图。如图13所示,本发明所述的图像处理系统包括:电子设备1和全景影像设备2;所述全景影像设备2与所述电子设备1连接。Please refer to FIG. 13 , which is a schematic structural diagram of an image processing system according to an embodiment of the present invention. As shown in FIG. 13 , the image processing system of the present invention includes: an electronic device 1 and a panoramic imaging device 2 ; the panoramic imaging device 2 is connected to the electronic device 1 .
所述全景影像设备2用于生成全景影像,并将其发送至所述电子设备1。The panoramic image device 2 is used to generate a panoramic image and send it to the electronic device 1 .
所述电子设备1用于获取车辆周围的全景影像以及车辆当前的驾驶信息;所述全景影像包含与其呈现内容对应的角度信息;获取与所述车辆当前的驾驶信息匹配的影像显示需求;所述影像显示需求中包括显示角度;基于与所述显示角度一致的角度信息,提取与所 述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。The electronic device 1 is used to obtain a panoramic image around the vehicle and current driving information of the vehicle; the panoramic image includes angle information corresponding to its presentation content; obtains image display requirements that match the current driving information of the vehicle; the The image display requirement includes a display angle; based on the angle information consistent with the display angle, extract the panoramic image part corresponding to the angle information, so as to present the image display device in the in-vehicle display device in combination with the change of the image display requirement Panoramic image section.
请参阅图14,显示为本发明的图像处理系统于一实施例中的应用示意图。如图14所示,于实际应用中,所述全景影像设备为全景相机,所述电子设备为车机端。全景相机可在车辆出厂前,前装在车辆顶部完成安装,也可在后期改装的过程中增加全景相机。优选的,全景相机安装在车辆顶中间,通过USB数据线连接至车辆的Tbox控制器,以实现将获取的全景影像传输至车辆中进行图像处理。具体地,通过车机端的车载控制器(即Tbox控制器)对全景影像进行统一计算、处理、图像输出至中控屏幕上。进一步地,已经获取的全景影像,可保存在与Tbox控制器有数据传输关联的存储设备中(例:U盘),以供车主或拥有权限的车主的亲朋好友以及有查看需求的人员在后续查看行车全景影像记录视频。Tbox控制器也可通过4G-SIM卡将已经成像的全景影像,上传至云端服务器进行云端保存,以便对上传的全景影像进行存储备份、系统化管理以及按照查看需求向待显示的电子设备下发相应的全景影像。Please refer to FIG. 14 , which is a schematic diagram of an application of the image processing system of the present invention in an embodiment. As shown in FIG. 14 , in practical applications, the panoramic imaging device is a panoramic camera, and the electronic device is a vehicle end. The panoramic camera can be installed on the top of the vehicle before the vehicle leaves the factory, or the panoramic camera can be added in the later modification process. Preferably, the panoramic camera is installed in the middle of the roof of the vehicle, and is connected to the Tbox controller of the vehicle through a USB data cable, so as to transmit the obtained panoramic image to the vehicle for image processing. Specifically, the panoramic image is uniformly calculated, processed, and output to the central control screen through the on-board controller (ie, the Tbox controller) at the vehicle end. Further, the obtained panoramic images can be stored in a storage device (for example: U disk) associated with the data transmission of the Tbox controller, for the owner or the relatives and friends of the owner who has the authority and the personnel who need to view it in the follow-up. View the driving panorama video recording video. The Tbox controller can also upload the imaged panoramic images to the cloud server for storage in the cloud through the 4G-SIM card, so that the uploaded panoramic images can be stored and backed up, systematically managed, and distributed to the electronic devices to be displayed according to the viewing requirements. corresponding panoramic image.
本发明所述的图像处理系统可以实现本发明所述的图像处理方法,但本发明所述的图像处理方法的实现设备包括但不限于本实施例列举的图像处理系统的结构,凡是根据本发明的原理所做的现有技术的结构变形和替换,都包括在本发明的保护范围内。The image processing system of the present invention can implement the image processing method of the present invention, but the implementation devices of the image processing method of the present invention include but are not limited to the structures of the image processing system listed in this embodiment. The structural deformation and replacement of the prior art made by the principle of the invention are all included in the protection scope of the present invention.
综上所述,本发明所述图像处理方法、介质、设备及图像处理系统通过全景镜头获取的全景影像可动态地720°成像到显示设备上,可展示行车各角度图像。通过结合车辆的方向盘转角数据,可实现随车行驶自动转换成像的画面。通过在驾车或停车时提供全车720°全景图像记录,可以针对监测的全景图像中的异常情况向车主反馈提示信息,也可以在事故、违章、车辆剐蹭情况发生时提供画面证据。通过云端账户可以登录到全景镜头关联的应用程序界面,以便拥有权限的用户在任何地方均可查看车辆周围情况。本发明有效克服了现有技术中的种种缺点而具高度产业利用价值。To sum up, the image processing method, medium, device and image processing system of the present invention obtain a panoramic image through a panoramic lens, which can be dynamically imaged at 720° on a display device, and can display images from various angles of driving. By combining the steering wheel angle data of the vehicle, the image that can be automatically converted to the image while driving with the vehicle can be realized. By providing a 720° panoramic image record of the whole vehicle when driving or parking, it can feed back prompt information to the owner of the abnormal situation in the monitored panoramic image, and can also provide picture evidence in the event of an accident, violation of regulations, or vehicle scratching. A cloud account can be used to log in to the application interface associated with the panoramic lens, so that users with permissions can view the surrounding of the vehicle from anywhere. The invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。The above-mentioned embodiments merely illustrate the principles and effects of the present invention, but are not intended to limit the present invention. Anyone skilled in the art can modify or change the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical idea disclosed in the present invention should still be covered by the claims of the present invention.

Claims (15)

  1. 一种图像处理方法,其特征在于,所述方法包括以下步骤:An image processing method, characterized in that the method comprises the following steps:
    获取车辆周围的全景影像以及车辆当前的驾驶信息,所述全景影像包含与其呈现内容对应的角度信息;Obtain a panoramic image around the vehicle and current driving information of the vehicle, where the panoramic image includes angle information corresponding to its presentation content;
    获取与所述车辆当前的驾驶信息匹配的影像显示需求,所述影像显示需求中包括显示角度;以及acquiring an image display requirement matching the current driving information of the vehicle, where the image display requirement includes a display angle; and
    基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。Based on the angle information consistent with the display angle, the panoramic image part corresponding to the angle information is extracted, so that the panoramic image part is presented in the in-vehicle display device in combination with the change of the image display requirements.
  2. 根据权利要求1所述的方法,其中,所述车辆当前的驾驶信息至少包括车辆当前的方向盘角度信息、行驶速度信息和挡位信息。The method according to claim 1, wherein the current driving information of the vehicle includes at least current steering wheel angle information, travel speed information and gear information of the vehicle.
  3. 根据权利要求2所述的方法,其中,所述影像显示需求至少还包括刷新方向和刷新频率;所述车辆通过预设的传感器和/或导航定位数据确定所述车辆当前的方向盘角度信息、挡位信息和行驶速度信息;所述获取与所述车辆当前的驾驶信息匹配的影像显示需求包括以下步骤:The method according to claim 2, wherein the image display requirement further includes at least a refresh direction and a refresh frequency; the vehicle determines the current steering wheel angle information, gear speed, etc. of the vehicle through preset sensors and/or navigation positioning data. position information and driving speed information; the acquisition of the image display requirements matching the current driving information of the vehicle includes the following steps:
    基于所述传感器和/或所述导航定位数据计算所述全景影像的显示角度;Calculate the display angle of the panoramic image based on the sensor and/or the navigation and positioning data;
    基于所述挡位信息检测所述车辆的进退状态,进而基于所述进退状态确定所述全景影像的刷新方向;以及Detecting the forward and backward state of the vehicle based on the gear information, and then determining the refresh direction of the panoramic image based on the forward and backward state; and
    基于所述行驶速度信息确定所述全景影像的刷新频率。The refresh rate of the panoramic image is determined based on the travel speed information.
  4. 根据权利要求3所述的方法,其中,所述挡位信息包括D挡和R挡,所述方向盘角度信息包括左转角度和右转角度;基于所述方向盘角度信息计算所述全景影像的显示角度至少包括以下步骤之一:The method according to claim 3, wherein the gear information includes D gear and R gear, the steering wheel angle information includes a left turn angle and a right turn angle; and the display of the panoramic image is calculated based on the steering wheel angle information Angle includes at least one of the following steps:
    响应于确定所述方向盘角度信息为所述D挡与所述左转角度,将第一预设角度减去所述左转角度作为所述显示角度;In response to determining that the steering wheel angle information is the D gear and the left turn angle, subtract the left turn angle from the first preset angle as the display angle;
    响应于确定所述方向盘角度信息为所述D挡与所述右转角度,将所述右转角度作为所述显示角度;In response to determining that the steering wheel angle information is the D gear and the right turn angle, using the right turn angle as the display angle;
    响应于确定所述方向盘角度信息为所述R挡与所述左转角度,将第二预设角度加上所述左转角度作为所述显示角度;以及In response to determining that the steering wheel angle information is the R gear and the left turn angle, adding the second preset angle to the left turn angle as the display angle; and
    响应于确定所述方向盘角度信息为所述R挡与所述右转角度,将第二预设角度减去所述右转角度作为所述显示角度。In response to determining that the steering wheel angle information is the R gear and the right turn angle, the second preset angle is subtracted from the right turn angle as the display angle.
  5. 根据权利要求1所述的方法,其中,所述基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分包括以下步骤:The method according to claim 1, wherein, based on the angle information consistent with the display angle, extracting the panoramic image part corresponding to the angle information comprises the following steps:
    基于所述角度信息建立一角度坐标系,以将所述角度坐标系叠加于所述全景影像中;establishing an angle coordinate system based on the angle information, so as to superimpose the angle coordinate system in the panoramic image;
    将所述显示角度在所述角度坐标系中进行定位;以及positioning the display angle in the angular coordinate system; and
    提取所述显示角度于定位处的待显示图片。Extract the picture to be displayed with the display angle at the location.
  6. 根据权利要求5所述的方法,其中,所述基于所述角度信息建立一角度坐标系包括以下步骤:The method according to claim 5, wherein the establishing an angle coordinate system based on the angle information comprises the following steps:
    将所述全景影像转换为球型图像;converting the panoramic image into a spherical image;
    在所述球型图像中以水平线为中心标线,确定中心水平图像;以及Using the horizontal line as the center mark in the spherical image, determining a center horizontal image; and
    对所述中心水平图像建立所述角度坐标系。The angular coordinate system is established for the center horizontal image.
  7. 根据权利要求1所述的方法,其中,所述方法还包括以下步骤:The method of claim 1, wherein the method further comprises the steps of:
    基于所述影像显示需求的变化,连续确定不同时刻的所述待显示图片;以及Based on changes in the image display requirements, continuously determining the pictures to be displayed at different times; and
    将多张所述待显示图片按照时间先后顺序进行显示,以此基于所述影像显示需求的实时变化进行全景影像不同部分的相应显示。A plurality of the pictures to be displayed are displayed in chronological order, so as to perform corresponding display of different parts of the panoramic image based on the real-time changes of the image display requirements.
  8. 根据权利要求1所述的方法,其中,所述方法还包括以下步骤:经由电子设备呈现所述全景影像。The method of claim 1, wherein the method further comprises the step of: presenting the panoramic image via an electronic device.
  9. 根据权利要求1-8任一项所述的方法,其中,所述方法还包括以下步骤:The method according to any one of claims 1-8, wherein the method further comprises the steps of:
    在所述车辆处于停车状态时,对所述全景影像进行图像识别,以识别车外的会车情况;When the vehicle is in a parked state, image recognition is performed on the panoramic image to recognize the passing situation outside the vehicle;
    对所述全景影像进行语音识别,以识别车外人员的语音内容;Perform voice recognition on the panoramic image to recognize the voice content of people outside the vehicle;
    基于所述会车情况和所述语音内容,确定是否需要挪车;以及Based on the meeting situation and the voice content, determining whether the car needs to be moved; and
    响应于确定需要挪车,向所述车辆的车主发送挪车警示。In response to determining that a manoeuvring is required, a manoeuvring alert is sent to the owner of the vehicle.
  10. 根据权利要求9所述的方法,其中,所述对所述全景影像进行图像识别,以识别车外的会车情况包括以下步骤:The method according to claim 9, wherein the performing image recognition on the panoramic image to recognize the passing situation outside the vehicle comprises the following steps:
    对所述全景影像中的他人车辆进行识别,基于所述全景影像与实景的呈现比例测算所述他人车辆与所述车辆之间的车距;Identifying the other person's vehicle in the panoramic image, and calculating the distance between the other person's vehicle and the vehicle based on the rendering ratio of the panoramic image and the real scene;
    将所述车距与预设车距阈值进行比较,以评估所述他人车辆正常通过的可能性;以及comparing the vehicle distance to a preset distance threshold to assess the likelihood that the other person's vehicle will pass normally; and
    响应于确定所述车距小于所述预设车距阈值,判定车外的会车情况为拥堵。In response to determining that the vehicle distance is less than the preset vehicle distance threshold, it is determined that the meeting situation outside the vehicle is congestion.
  11. 根据权利要求1-8任一项所述的方法,其中,所述方法还包括以下步骤:The method according to any one of claims 1-8, wherein the method further comprises the steps of:
    在所述车辆处于停车状态时,通过机器学习对所述全景影像进行图像识别,以识别车外人员的身份特征;When the vehicle is in a parked state, image recognition is performed on the panoramic image through machine learning to identify the identity features of persons outside the vehicle;
    基于所述身份特征,推测所述车外人员靠近所述车辆的意图;以及Based on the identity feature, infer the intention of the person outside the vehicle to approach the vehicle; and
    响应于确定所述车外人员靠近所述车辆的意图,向所述车辆的车主发送提示信息,以用于指示所述车外人员靠近所述车辆的意图和/或推荐应对措施。In response to determining the intention of the person outside the vehicle to approach the vehicle, prompt information is sent to the owner of the vehicle for indicating the intention of the person outside the vehicle to approach the vehicle and/or recommending countermeasures.
  12. 根据权利要求11所述的方法,其中,所述通过机器学习对所述全景影像进行图像识别,以识别车外人员的身份特征包括以下步骤:The method according to claim 11, wherein the performing image recognition on the panoramic image through machine learning to identify the identity features of persons outside the vehicle comprises the following steps:
    对所述全景影像进行静态图片提取;以及performing still picture extraction on the panoramic image; and
    将所述静态图片输入预先训练的人员身份识别模型中进行图像识别,所述图像识别的因素包括人员着装及人员随身携带的标识物品。The static picture is input into a pre-trained person identification model for image recognition, and the factors of the image recognition include the clothing of the person and the identification items carried by the person.
  13. 一种非瞬态计算机可读存储介质,其上存储有机器可执行指令,所述机器可执行指令在被执行时使机器执行根据权利要求1-12中任一项所述的方法的步骤。A non-transitory computer-readable storage medium having stored thereon machine-executable instructions that, when executed, cause a machine to perform the steps of the method of any of claims 1-12.
  14. 一种电子设备,包括:存储器,被配置为存储一个或多个计算机程序;以及处理器,耦合至所述存储器并且被配置为执行所述一个或多个计算机程序使所述电子设备执行根据权利要求1-12中任一项所述的方法。An electronic device comprising: a memory configured to store one or more computer programs; and a processor coupled to the memory and configured to execute the one or more computer programs to cause the electronic device to perform a claim The method of any one of claims 1-12.
  15. 一种图像处理系统,其特征在于,所述图像处理系统包括:全景影像设备和如权利要求14所述的电子设备;所述全景影像设备与所述电子设备连接;An image processing system, characterized in that the image processing system comprises: a panoramic imaging device and the electronic device according to claim 14; the panoramic imaging device is connected to the electronic device;
    所述全景影像设备用于生成全景影像,并将其发送至所述电子设备;The panoramic image device is used to generate a panoramic image and send it to the electronic device;
    所述电子设备用于获取车辆周围的全景影像以及车辆当前的驾驶信息;所述全景影像包含与其呈现内容对应的角度信息;获取与所述车辆当前的驾驶信息匹配的影像显示需求;所述影像显示需求中包括显示角度;基于与所述显示角度一致的角度信息,提取与所述角度信息对应的全景影像部分,以便在车内显示设备中结合所述影像显示需求的变化而呈现所述全景影像部分。The electronic device is used to obtain a panoramic image around the vehicle and current driving information of the vehicle; the panoramic image includes angle information corresponding to its presentation content; obtains image display requirements matching the current driving information of the vehicle; the image The display requirement includes a display angle; based on the angle information consistent with the display angle, extracting the panoramic image part corresponding to the angle information, so as to present the panoramic image in the in-vehicle display device in combination with the change of the image display requirement video part.
PCT/CN2021/106506 2020-10-29 2021-07-15 Image processing method, medium, device, and image processing system WO2022088766A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011186836.7A CN114425991B (en) 2020-10-29 2020-10-29 Image processing method, medium, device and image processing system
CN202011186836.7 2020-10-29

Publications (1)

Publication Number Publication Date
WO2022088766A1 true WO2022088766A1 (en) 2022-05-05

Family

ID=81309778

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106506 WO2022088766A1 (en) 2020-10-29 2021-07-15 Image processing method, medium, device, and image processing system

Country Status (2)

Country Link
CN (1) CN114425991B (en)
WO (1) WO2022088766A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117278697A (en) * 2023-11-21 2023-12-22 中汽传媒(天津)有限公司 System and method for collecting panoramic video of automobile collision

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150353010A1 (en) * 2014-06-10 2015-12-10 Lg Electronics Inc. Around view provision apparatus and vehicle including the same
CN107347091A (en) * 2017-06-30 2017-11-14 深圳市众谷智能科技有限公司 One kind moves car notifier processes method and moves car instruction device
CN108382305A (en) * 2018-02-11 2018-08-10 北京车和家信息技术有限公司 A kind of image display method, device and vehicle
CN108583435A (en) * 2018-04-25 2018-09-28 北京新能源汽车股份有限公司 Display control method, device based on vehicle and vehicle
CN110300215A (en) * 2018-03-23 2019-10-01 上海擎感智能科技有限公司 It moves vehicle method, move vehicle system, storage medium and electronic equipment
CN110341597A (en) * 2018-04-02 2019-10-18 杭州海康威视数字技术股份有限公司 A kind of vehicle-mounted panoramic video display system, method and Vehicle Controller
CN110798658A (en) * 2018-08-03 2020-02-14 上海博泰悦臻网络技术服务有限公司 Remote vehicle moving control method, mobile terminal and vehicle
CN111688698A (en) * 2020-06-19 2020-09-22 山东交通学院 Vehicle moving method and system of intelligent vehicle

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101376210B1 (en) * 2012-08-06 2014-03-21 현대모비스 주식회사 Around View Monitor System and Monitoring Method
KR101704201B1 (en) * 2015-05-20 2017-02-15 주식회사 와이즈오토모티브 Panorama view variable system and method for controlling the same
CN105809701B (en) * 2016-03-25 2019-03-08 成都易瞳科技有限公司 Panoramic video posture scaling method
CN110992687B (en) * 2019-11-25 2021-06-15 珠海格力电器股份有限公司 Vehicle moving reminding method applied to parking lot and storage medium
CN111757057B (en) * 2020-06-17 2022-06-17 广州市泰睿科技有限公司 Panoramic all-around display method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150353010A1 (en) * 2014-06-10 2015-12-10 Lg Electronics Inc. Around view provision apparatus and vehicle including the same
CN107347091A (en) * 2017-06-30 2017-11-14 深圳市众谷智能科技有限公司 One kind moves car notifier processes method and moves car instruction device
CN108382305A (en) * 2018-02-11 2018-08-10 北京车和家信息技术有限公司 A kind of image display method, device and vehicle
CN110300215A (en) * 2018-03-23 2019-10-01 上海擎感智能科技有限公司 It moves vehicle method, move vehicle system, storage medium and electronic equipment
CN110341597A (en) * 2018-04-02 2019-10-18 杭州海康威视数字技术股份有限公司 A kind of vehicle-mounted panoramic video display system, method and Vehicle Controller
CN108583435A (en) * 2018-04-25 2018-09-28 北京新能源汽车股份有限公司 Display control method, device based on vehicle and vehicle
CN110798658A (en) * 2018-08-03 2020-02-14 上海博泰悦臻网络技术服务有限公司 Remote vehicle moving control method, mobile terminal and vehicle
CN111688698A (en) * 2020-06-19 2020-09-22 山东交通学院 Vehicle moving method and system of intelligent vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117278697A (en) * 2023-11-21 2023-12-22 中汽传媒(天津)有限公司 System and method for collecting panoramic video of automobile collision
CN117278697B (en) * 2023-11-21 2024-03-15 中汽传媒(天津)有限公司 System and method for collecting panoramic video of automobile collision

Also Published As

Publication number Publication date
CN114425991A (en) 2022-05-03
CN114425991B (en) 2023-12-29

Similar Documents

Publication Publication Date Title
US11967109B2 (en) Vehicle localization using cameras
TWI633524B (en) Traffic monitoring system
CA3045432C (en) Method and system for adjusting a virtual camera's orientation when a vehicle is making a turn
JP6169544B2 (en) Driving support control device
García et al. Driver monitoring based on low-cost 3-D sensors
US20200126418A1 (en) Method and system for vehicle location
CN109664889B (en) Vehicle control method, device and system and storage medium
JP2022169621A (en) Reproduction device, reproduction method, program for the same, recording apparatus, and control method of recording apparatus
US20240037935A1 (en) Artificial intelligence based real time vehicle parking verification
WO2016138942A1 (en) A vehicle assistance system
WO2022088766A1 (en) Image processing method, medium, device, and image processing system
JP2017129973A (en) Driving support apparatus and driving support method
CN114298908A (en) Obstacle display method and device, electronic equipment and storage medium
CN113570751A (en) Vehicle event data recorder system of panorama clitellum camera
KR20210147410A (en) Method and apparatus for providing information using vehicle's camera
JP5557036B2 (en) Exit determination device, exit determination program, and exit determination method
JP2009159241A (en) Parking-time stop assisting system
JP7021899B2 (en) Image generator and image generation method
Li et al. Rear-end collision prevention using mobile devices
JP2014154125A (en) Travel support system, travel support method and computer program
TWI719330B (en) Electronic device and driving safety reminding method
CN117755206A (en) Vehicle vision adjusting method, device, computer equipment and storage medium
CN117168461A (en) Automobile navigation method, computer device and storage medium in parking lot environment
CN117835052A (en) Image data acquisition method, terminal equipment and storage medium
Peláez Coronado et al. Driver monitoring based on low-cost 3-D sensors

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21884502

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21884502

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 04/10/2023)