CN112172671B - Method and device for displaying rear view image of commercial vehicle, computer equipment and storage medium - Google Patents

Method and device for displaying rear view image of commercial vehicle, computer equipment and storage medium Download PDF

Info

Publication number
CN112172671B
CN112172671B CN202011119751.7A CN202011119751A CN112172671B CN 112172671 B CN112172671 B CN 112172671B CN 202011119751 A CN202011119751 A CN 202011119751A CN 112172671 B CN112172671 B CN 112172671B
Authority
CN
China
Prior art keywords
picture
image
display
commercial vehicle
area picture
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202011119751.7A
Other languages
Chinese (zh)
Other versions
CN112172671A (en
Inventor
刘柏林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ULTRONIX PRODUCTS Ltd
Original Assignee
ULTRONIX PRODUCTS Ltd
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 ULTRONIX PRODUCTS Ltd filed Critical ULTRONIX PRODUCTS Ltd
Priority to CN202011119751.7A priority Critical patent/CN112172671B/en
Publication of CN112172671A publication Critical patent/CN112172671A/en
Application granted granted Critical
Publication of CN112172671B publication Critical patent/CN112172671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • B60R2300/00Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
    • B60R2300/10Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of camera system used
    • B60R2300/105Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of camera system used using multiple cameras
    • 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/802Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement for monitoring and displaying vehicle exterior blind spot views

Abstract

The embodiment of the application discloses a method and a device for displaying rear view images of a commercial vehicle, computer equipment and a storage medium; the method comprises the following steps: acquiring an image acquired by a rearview mirror camera to obtain a first image; generating an integral area picture and a key area picture based on the first image, wherein the integral area picture corresponds to the commercial vehicle side rear long-range view picture, and the key area picture corresponds to the commercial vehicle side rear short-range view picture; respectively displaying the whole area picture and the key area picture in a first display area and a second display area of a display; the camera acquires the image to avoid producing the visual field blind area when the driver drives the vehicle, and meanwhile, the situation at the rear of the vehicle side can be clearly and comprehensively observed by generating the long-range view picture and the close-range view picture at the rear of the vehicle side, so that the driving safety of the vehicle is improved, and the potential safety hazard is avoided.

Description

Method and device for displaying rear view image of commercial vehicle, computer equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of vehicles, in particular to a method and a device for displaying a rear view image of a commercial vehicle, computer equipment and a storage medium.
Background
The rear view of the automobile is directly related to the driving safety of the automobile, and is an important index for detecting the safety of the automobile. In the prior art, a rear view mirror is generally provided in a vehicle, and a physical rear view mirror is generally adopted to reflect and display the conditions around the vehicle, so that a driver can observe the view behind the vehicle through the rear view mirror. However, since the blind area exists between the field angle of the driver's eyes and the field angle of the rearview mirror, the driver cannot clearly and comprehensively observe the situation behind the vehicle, and the driver cannot clearly observe whether a vehicle is in the blind area during the steering process of the vehicle, so that the potential safety hazard exists during the steering process of the vehicle.
Disclosure of Invention
The embodiment of the application provides a method and a device for displaying rear view images of a commercial vehicle, computer equipment and a storage medium, and aims to solve the problem that potential safety hazards are caused due to the fact that a view blind area exists in the driving process of the vehicle and the situation of the rear side of the vehicle cannot be clearly observed in the prior art.
In a first aspect, an embodiment of the present application provides a method for displaying a rear view image of a commercial vehicle, including:
acquiring an image acquired by a rearview mirror camera to obtain a first image, wherein the rearview mirror camera faces the rear of the commercial vehicle;
generating an integral area picture and a key area picture based on the first image, wherein the integral area picture corresponds to the commercial vehicle side rear long-range view picture, and the key area picture corresponds to the commercial vehicle side rear short-range view picture;
and respectively displaying the whole area picture and the key area picture in a first display area and a second display area of a display, wherein the display is arranged in the commercial vehicle.
Further, the generating an overall area screen and a key area screen based on the first image includes:
acquiring a steering angle of the commercial vehicle;
and generating a key area picture from the first image based on a rule between a preset steering angle and a screenshot range.
Further, the displaying the whole area screen and the key area screen in the first display area and the second display area of the display respectively further includes:
receiving a moving instruction, and moving the whole area picture and the key area picture in the area displayed on the display; the move instruction includes: the translation motion in the up-down direction and the left-right direction; the moving range of each translation motion is more than the moving setting pixel.
Further, the acquiring of the image collected by the rear-view camera obtains a first image, specifically:
the method comprises the steps of obtaining an image collected by a rearview mirror camera, and carrying out mirror image processing on the image to obtain a first image.
Further, the generating a key area screen from the first image based on a rule between a preset steering angle and a screenshot range includes:
obtaining an initial key area picture from the first image screenshot based on a rule between a preset turning angle and a screenshot range;
and carrying out mirror image processing on the initial key area picture to obtain a key area picture.
Further, the rule between the steering angle and the screenshot range specifically includes:
and when the commercial vehicle turns for 1 degree, the screenshot range moves and sets pixels according to the turning direction.
Further, the displaying the whole area screen and the key area screen in front of the first display area and the second display area of the display, respectively, further includes:
and adapting the whole area picture and the key area picture to the resolution of the display screen for resolution adjustment.
In a second aspect, an embodiment of the present application provides a rear view image display device for a commercial vehicle, including:
the image acquisition module is used for acquiring an image acquired by a rearview mirror camera to obtain a first image, and the rearview mirror camera faces the rear of the commercial vehicle;
the image generation module is used for generating an overall area picture and a key area picture based on the first image, the overall area picture corresponds to the commercial vehicle side rear long-range view picture, and the key area picture corresponds to the commercial vehicle side rear short-range view picture;
and the display setting module is used for respectively displaying the whole area picture and the key area picture in a first display area and a second display area of a display, and the display is arranged in the commercial vehicle.
Further, the image generation module comprises a steering angle acquisition unit and a picture generation unit, wherein the steering angle acquisition unit is used for acquiring the steering angle of the commercial vehicle; the picture generation unit is further used for generating a key area picture from the first image based on a rule between a preset steering angle and a screenshot range.
The system further comprises an instruction control module, wherein the instruction control module is used for receiving a moving instruction and moving the whole area picture and the key area picture in the area displayed on the display; the move instruction includes: the translation motion in the up-down direction and the left-right direction; the moving range of each translation motion is more than the moving setting pixel.
Further, the image acquisition module is further configured to acquire an image acquired by a rearview mirror camera, and perform mirror image processing on the image to obtain a first image.
Further, the picture generation unit is further configured to obtain an initial key area picture from the first image screenshot based on a rule between a preset turning angle and a screenshot range; and carrying out mirror image processing on the initial key area picture to obtain a key area picture.
Further, the picture generation unit is also used for setting pixels in a moving mode according to the turning direction when the commercial vehicle turns for 1 degree.
The display device further comprises a resolution adjusting module, wherein the resolution adjusting module is used for adjusting the resolution of the whole area picture and the key area picture to the resolution of the display screen.
In a third aspect, embodiments of the present application provide a computer device comprising a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for displaying the rear view image of the commercial vehicle according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for displaying rear view images of commercial vehicles according to the first aspect.
According to the embodiment of the application, the camera is arranged on the rearview mirror, the image collected by the camera is obtained, the long-shot picture and the close-shot picture behind the vehicle side are generated for the collected image, and the long-shot picture and the close-shot picture are displayed on the display; the camera acquires images to avoid visual field blind areas generated when a driver drives the vehicle, and meanwhile, the situation at the rear of the vehicle side can be clearly and comprehensively observed through the combined display of the long-range view picture and the close-range view picture at the rear of the vehicle side, so that the driving safety of the vehicle is improved, and the potential safety hazard is avoided.
Drawings
FIG. 1 is a flowchart of a method for displaying a rear view image of a commercial vehicle according to an embodiment of the present disclosure;
FIG. 2 shows a camera arranged on a rearview mirror of a vehicle head and a camera acquisition range corresponding to the camera;
FIG. 3 is a camera capture range corresponding to a 5 degree camera turned by the head;
FIG. 4 is a camera capture range corresponding to a 25 degree camera turned by the locomotive;
FIG. 5 is a flowchart of another method for displaying a rear view image of a commercial vehicle according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a two-dimensional coordinate system of a first image;
FIG. 7 is a schematic diagram of a 5 degree turn of the locomotive with the first image as a two-dimensional coordinate system;
FIG. 8 is a flowchart of another method for displaying a rear view image of a commercial vehicle according to an embodiment of the present disclosure;
FIG. 9 is a schematic structural diagram of a rear view image display device of a commercial vehicle according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the matters relating to the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
According to the method for displaying the rear view image of the commercial vehicle, the design that one camera is respectively arranged on the left rear view mirror and the right rear view mirror of the vehicle is adopted, the picture of a key area in the image collected by the capturing cameras is displayed on the display, when the head of the vehicle turns, namely, the angle of the head of the vehicle changes, the angle of the cameras changes, the area of the captured picture moves towards the same direction as the turning direction of the head of the vehicle, the view range on the display screen can correspondingly move along with the turning of the vehicle when the vehicle turns, and the potential safety hazard caused by the view blind area generated when the vehicle turns is avoided. In order to observe the view field when the vehicle turns, most of the existing methods are that the view field behind the vehicle is reflected and displayed only through the rearview mirror, and the mode has no way of better observing the view field blind area because the reflection range of the rearview mirror is effective and the view field range is smaller; in addition, simply set up the camera in rear-view mirror or other positions of vehicle, though can strengthen the field of vision scope, still there is certain field of vision blind area when the vehicle turns to, causes the potential safety hazard. Therefore, the method for displaying the rear view image of the commercial vehicle is provided, so that the problem that a view blind area is generated in the steering process of the vehicle is solved, and the driving safety of the vehicle is improved.
The method for displaying the rear view image of the commercial vehicle provided in the embodiment can be implemented by a rear view image display device of the commercial vehicle, which can be implemented in a software and/or hardware manner and integrated into a rear view image display device of the commercial vehicle. The rear view image display device of the commercial vehicle can be a computer or the like.
Fig. 1 is a flowchart of a method for displaying a rear view image of a commercial vehicle according to an embodiment of the present disclosure. Referring to fig. 1, the title entering method specifically includes:
and 110, acquiring an image acquired by a rearview mirror camera to obtain a first image, wherein the rearview mirror camera faces the rear of the commercial vehicle.
Specifically, the rearview mirror is provided with a camera, wherein the rearview mirror camera faces the rear of the commercial vehicle, and the direction of the image collected by the camera is the same as the direction of the reflection visual field of the rearview mirror. Wherein, the relative position of the camera and the rearview mirror is not limited. The visual field image information collected based on the camera is image information of the rear and the side of the vehicle in the angle of the camera. Taking fig. 2 as an example, the vehicle head 111 is provided with a camera and a camera capture range corresponding to the camera. It is understood that the acquisition mode of the image to be displayed is not limited in the embodiment.
Further, the images acquired by the rearview mirror cameras in the embodiment include the image acquired by the left rearview mirror camera and the image acquired by the right camera as the first image.
And 120, generating an integral area picture and a key area picture based on the first image, wherein the integral area picture corresponds to the commercial vehicle side rear long-range view picture, and the key area picture corresponds to the commercial vehicle side rear short-range view picture.
Illustratively, an overall area picture and a key area picture are acquired from a first image acquired by a camera, and optionally, the overall area picture is an image picture within the whole visual field range shot by the camera. The key area picture can be selected according to a user instruction, and optionally, the user can send out a selection instruction through keying, touch control or a related application program; the key area picture can also be automatically intercepted by the commercial vehicle rear view image display device.
The whole area picture corresponds to a commercial vehicle side rear long-range view picture, and the key area picture corresponds to a commercial vehicle side rear short-range view picture. It can be understood that, by performing a far-view picture and a near-view picture at the rear of the vehicle on the first image, the image content of the key area can be observed more clearly and comprehensively, wherein a macro-image at the rear of the vehicle can be observed through the far-view picture, and the whole visual field range of the rear camera at the rear of the vehicle can be obtained, wherein the clearer characteristic of the image can be obtained through the near-view picture, and optionally, a part of the area in the first image selected by the user can be obtained more clearly; optionally, a partial region in the first image may be self-intercepted by the commercial vehicle rear view image display device.
And step 130, respectively displaying the whole area picture and the key area picture in a first display area and a second display area of a display, wherein the display is arranged in the commercial vehicle.
Specifically, the whole area picture and the key area picture are respectively displayed in a first display area and a second display area of the display, and the whole area picture and the key area picture need to be preprocessed respectively, so that the whole area picture and the key area picture are adapted to a screen of the display and can be displayed on the screen of the display. Further, the preprocessing of the entire area screen and the key area screen may be processing of performing size, angle, specification, and the like on the image.
Illustratively, the whole area screen and the key area screen are displayed on the display screen. Optionally, the display screen may be a monitor with a horizontal screen, and the whole area picture and the key area picture are respectively displayed in the first display area and the second display area, that is, the whole area picture and the key area picture are respectively displayed in the left display area and the right display area. Optionally, the display screen may also be a display with a vertical screen, and the whole area picture and the key area picture are respectively displayed in the first display area and the second display area, that is, the whole area picture and the key area picture are respectively displayed in the upper display area and the lower display area. The display adopted in the embodiment is a horizontal screen display, and the whole area picture and the key area picture are processed to adapt to the horizontal screen display so as to be displayed in a left display area and a right display area of a horizontal screen of the display.
In an exemplary embodiment, the display is arranged in the interior of the commercial vehicle, and further, the display is arranged in the area above the driver's seat of the commercial vehicle. Optionally, the whole area screen and the key area screen may be sent to the display through a USB device for displaying, or the display may obtain the whole area screen and the key area screen on the network server or other devices through the communication device for displaying.
The above steps are not performed in the exact order in which they are described, which should be understood as an overall solution.
On the basis of the above embodiments, fig. 5 is a flowchart of another method for displaying a rear view image of a commercial vehicle according to an embodiment of the present application. The method for displaying the rear view image of the commercial vehicle is an embodiment of the method for displaying the rear view image of the commercial vehicle. Referring to fig. 5, the method for displaying a rear view image of a commercial vehicle includes:
and step 210, obtaining an image collected by a rearview mirror camera, and carrying out mirror image processing on the image to obtain a first image.
Specifically, an image acquired by a rearview mirror camera is acquired, wherein the view field of the image acquired by the rearview mirror camera is shot and acquired based on the vehicle head, and it can be understood that in order to keep the view field direction of the image displayed on a display screen consistent with the view field range of a driver in a vehicle, the image needs to be subjected to mirror image processing; the first image is obtained after mirror image processing is carried out on the image collected by the rearview mirror camera.
And step 220, obtaining the steering angle of the commercial vehicle.
For example, the steering angle of the commercial vehicle can be acquired by the commercial vehicle rear view image display device; optionally, the steering angle obtained for the commercial vehicle is an integer. The manner of obtaining the steering angle of the commercial vehicle is not limited.
And step 230, generating a key area picture from the first image based on a rule between a preset steering angle and a screenshot range.
Illustratively, the key area screen generated from the first image is based on a rule between a preset steering angle and a screenshot range, wherein the screenshot range of the key area screen in the first image depends on the steering angle of the head. And when the turning angle of the head of the vehicle is obtained, the intercepting area of the key area picture in the first image moves towards the same direction as the turning direction of the head of the vehicle according to a rule between a preset turning angle and a screenshot range.
It can be understood that the steering angle of the vehicle head is obtained, the intercepted area of the key area picture moves along with the rotating angle of the vehicle head, and the comprehensiveness and flexibility of the visual field are ensured by combining the whole area picture. The key area picture and the whole area picture are displayed on the display screen, the visual field range of the key area picture is changed, the visual field condition behind the vehicle can be judged according to the combination and the comparison of the key area picture and the whole area picture, and the driving safety is enhanced.
Specifically, taking fig. 3 and fig. 4 as an example, the vehicle turns, the head 111 turns, the angle between the head 111 and the body 112 changes, and the acquisition range of the rearview mirror camera correspondingly moves, that is, the image content of the first image changes. Optionally, taking a right rearview mirror camera as an example, fig. 3 shows that the vehicle head 111 turns for 5 degrees, and the camera shooting collection range corresponding to the rearview mirror camera; fig. 4 shows a camera shooting collection range corresponding to a rearview mirror camera when the vehicle head 111 turns 25 degrees. It can be understood that as the turning angle of the vehicle head 111 increases, the field of view of the acquisition range corresponding to the camera gradually gets away from the turning direction of the vehicle head 111, that is, the field of view corresponding to the camera gradually gets closer to the vehicle body 112.
Therefore, according to the turning of the vehicle head, the view range acquired by the camera moves towards the direction gradually far away from the turning of the vehicle head, and it can be understood that if the key area picture is kept unchanged in the first image, namely the intercepted area of the view range acquired by the camera, the image content far away from the turning direction of the vehicle head in the view range acquired by the camera is not intercepted, and a view blind area is easily formed. Optionally, according to turning of the vehicle head, the intercepting region of the key region picture moves towards the same direction as the turning of the vehicle head, namely the key region picture intercepts the image content far away from the turning direction of the vehicle head in the visual field range acquired by the camera, so that the formation of a visual field blind area and the potential safety hazard are avoided. It can be understood that the cut-out area of the key area picture moves along with the turning of the vehicle head, and the visual field activity is ensured. The image after the key area picture preprocessing is displayed on the display screen, the visual field range of the key area picture is changed, the visual field condition behind the vehicle can be judged according to the key area picture, and the driving safety is enhanced.
On the basis of the above embodiments, fig. 8 is a flowchart of another method for displaying a rear view image of a commercial vehicle according to an embodiment of the present application. The method for displaying the rear view image of the commercial vehicle is an embodiment of the method for displaying the rear view image of the commercial vehicle. Referring to fig. 8, the method for displaying a rear view image of a commercial vehicle includes:
step 2301, obtaining an initial key area picture from the first image screenshot based on a rule between a preset steering angle and a screenshot range.
Specifically, a key area picture generated from the first image is based on a rule between a preset steering angle and a screenshot range, wherein the screenshot range of the key area picture in the first image depends on the steering angle of the head. And when the turning angle of the head of the vehicle is obtained, the intercepting area of the key area picture in the first image moves towards the same direction as the turning direction of the head of the vehicle according to a rule between a preset turning angle and a screenshot range.
It can be understood that the steering angle of the vehicle head is obtained, the intercepted area of the key area picture moves along with the rotating angle of the vehicle head, and the comprehensiveness and flexibility of the visual field are ensured by combining the whole area picture. The key area picture and the whole area picture are displayed on the display screen, the visual field range of the key area picture is changed, the visual field condition behind the vehicle can be judged according to the combination and the comparison of the key area picture and the whole area picture, and the driving safety is enhanced.
And 2302, mirroring the initial key area picture to obtain a key area picture.
The field of view of the first image acquired by the rearview mirror camera is shot and acquired based on the vehicle head, and the field of view of the initial key area picture intercepted from the first image is the same as that of the first image.
For example, the field of view of the initial whole area screen captured from the first image is the same as that of the first image, and it can be understood that in order to make the field of view direction of the initial whole area screen displayed on the display screen coincide with the field of view range of the driver in the vehicle, the initial whole area screen needs to be subjected to a mirror image processing to obtain the whole area screen.
And 2303, moving the screenshot range to set pixels according to the steering direction when the commercial vehicle turns for 1 degree.
Illustratively, a two-dimensional coordinate system is generated based on the first image. The specific example of the generation rule of the two-dimensional coordinate system is not limited. Wherein, the central point of the first image is used as the origin of the two-dimensional coordinate system.
Illustratively, taking fig. 6 as an example, a picture of two different areas is captured in the first image, wherein the field of view of the camera, i.e. the first image 121, is the origin of the two-dimensional coordinate system. The resolution of the first image 121 is 1920 × 1080, and it can be determined that the two-dimensional coordinate system pixels of four points of the first image 121 are: (-960,540), (-960, -540), (960,540), (960, -540). The resolution of the key area frame 122 is 540x960, and the two-dimensional coordinate system pixels of the four points of the key area frame 122 are respectively: (-270,540), (-270, -360), (270,480), (270, -360). The resolution of the whole area picture 123 is 1080x960, and the two-dimensional coordinate system pixel points of the four points of the whole area picture 123 are respectively: (-270,360), (-270, -480), (810,360), (810, -480). It can be understood that the coordinates of the first image, the key area screen, and the whole area screen in fig. 8 correspond to the vehicle head 111 and the vehicle body 112 in fig. 2 being on the same line, i.e., the vehicle head 111 is not turning.
Illustratively, the positive direction of the X axis of the two-dimensional coordinate system is set to be the direction in which the visual field of the camera is far away when the locomotive turns. Optionally, the corresponding camera capture range (field of view range) of the right rearview mirror camera moves in the opposite direction to the turning direction of the vehicle head 111, so that the key area picture moves in the same direction as the turning direction of the vehicle head in the capturing direction of the first image, i.e., the camera capture range. Optionally, the vehicle head turns by 1 degree, the camera turns by 1 degree, and the key area picture moves by 5 pixels in the same direction as the turning direction of the vehicle head in the capture area of the first image.
Taking fig. 3 as an example, when the vehicle head 111 turns 5 degrees to the right, the key area screen 122 moves 25 pixels in the cut area of the first image 121 toward the same direction as the vehicle head turns, as shown in fig. 7, wherein the two-dimensional coordinate systems of the first image 121 and the whole area screen 123 do not change, and the key area screen 122 moves 25 pixels to the right, so that four points obtained after the key area screen 122 moves are: (-245,540), (-245, -360), (295,480), (295, -360).
Taking fig. 4 as an example, when the vehicle head 111 turns to the right by 25 degrees, the key area picture moves by 125 pixels in the same direction as the vehicle head turning in the capture area of the first image, wherein the two-dimensional coordinate systems of the first image and the whole area picture do not change, and the key area picture moves by 25 pixels to the right, so that four points after the key area picture moves are respectively: (-145,540), (-145, -360), (395,480), (395, -360).
When the vehicle head 111 turns 45 degrees to the right, the key area picture moves 225 pixels in the same direction as the vehicle head turning direction in the intercepted area of the first image, wherein the two-dimensional coordinate system of the first image and the whole area picture does not change, the key area picture moves 225 pixels to the right, and thus four points obtained after the key area picture moves are respectively: (-45,540), (-45, -360), (495,480), (495, -360).
When the vehicle head 111 turns 75 degrees to the right, the key area picture moves 375 pixels in the same direction as the vehicle head turns in the intercepted area of the first image, wherein the two-dimensional coordinate system of the first image and the whole area picture does not change, and the key area picture moves 375 pixels to the right, so that four points obtained after the key area picture moves are respectively: (105,540), (105, -360), (645,480), (645, -360).
On the basis of the above embodiment, the method for displaying the rear view image of the commercial vehicle may be further embodied as follows: respectively displaying the whole area picture and the key area picture in a first display area and a second display area of a display, and then further comprising: receiving a moving instruction, and moving the whole area picture and the key area picture in the area displayed on the display; the move instruction includes: the translation motion in the up-down direction and the left-right direction; the moving range of each translation motion is more than the moving setting pixel.
The moving instruction is used for indicating the composition of the control key area picture and the whole area picture moving in the area of the first image respectively. Specifically, the movement instruction may be issued by the user through key, touch, or associated application; the movement instruction can also be sent by the commercial vehicle rear view image display device. When the display receives the key area picture and the whole area picture, whether the visual field ranges of the key area picture and the whole area picture are clear, whether the visual field ranges are in a normal range or whether the visual field ranges are required is determined, and if the visual field ranges of the key area picture and the whole area picture are required to be adjusted, a user can send a moving instruction through keying, touch control or related application programs or can send a moving instruction through self adjustment of the device. Optionally, the movement instruction includes a translation motion in an up-down direction and a left-right direction. The moving range of each translation motion is more than a set moving pixel, and optionally, the moving range of each translation motion is more than 5 pixels. And carrying out translation motion on the key area picture or the whole area picture according to the moving instruction to realize upward translation, downward translation, leftward translation and rightward translation, wherein the translation range is more than 5 pixels.
Illustratively, the whole area picture and the key area picture are moved in the area of the first image, wherein the picture image displayed on the display screen can be adjusted firstly because the personal appearance characteristics, such as height, eyesight and personal habits, of each commercial vehicle driver are different, so that the whole area picture and the key area picture can be acquired, and subsequent safe driving is facilitated.
On the basis of the above embodiment, the method for displaying the rear view image of the commercial vehicle may be further embodied as follows: respectively displaying the whole area picture and the key area picture in front of a first display area and a second display area of a display, and further comprising: and adapting the whole area picture and the key area picture to the resolution of the display screen for resolution adjustment.
Illustratively, the key area screen and the whole area screen are displayed on the display screen. Optionally, the display screen may be a display with a horizontal screen or a vertical screen. The display adopted in the embodiment is a horizontal screen display, and the key area picture and the whole area picture are processed to adapt to the horizontal screen display so as to be displayed on the horizontal screen of the display.
For example, the key area screen and the whole area screen may be sent to the display through a USB device for display, or the display may obtain the key area screen and the whole area screen on a network server or other devices through the communication device for display.
Illustratively, after the key area picture and the whole area picture are captured and obtained, resolution adjustment needs to be performed on the key area picture and the whole area picture respectively, so that the key area picture and the whole area picture are adapted to a screen of a display and can be displayed on the screen of the display. Determining whether the image resolution of the key area picture or the whole area picture is higher than a set resolution, if so, determining that the image needs to be stretched, and if not, reducing the image; the set resolution may be set according to an actual situation, and when the image resolution exceeds the set resolution, it indicates that there is distortion in the key area picture or the whole area picture displayed on the display, and the resolution of the key area picture or the whole area picture needs to be adjusted to adapt to the screen of the display.
Illustratively, the processed key area picture and the whole area picture need to be displayed on the display at the same time, and in order to achieve the display effect, optionally, the key area picture and the whole area picture are subjected to splicing processing. Optionally, the key area picture and the whole area picture are spliced, and the key area picture and the whole area picture can be spliced up and down or spliced left and right. In this embodiment, the key area picture and the whole area picture are vertically spliced. Before the key area picture and the whole area picture are spliced, the edges of the spliced images of the key area picture and the whole area picture are stretched into consistent pixels through stretching processing.
Illustratively, the spliced key area picture and the whole area picture need to be displayed on the display at the same time. In this embodiment, a horizontal screen display is adopted. Optionally, it is determined whether the stitched image can be adapted to the display screen of the landscape screen, if so, the image does not need to be rotated, and if not, the image needs to be rotated. Optionally, the spliced image may be rotated by 90 degrees clockwise, or may be rotated by 90 degrees counterclockwise, so as to be displayed on the display screen.
On the basis of the above embodiments, fig. 9 is a schematic structural diagram of a rear view image display device of a commercial vehicle according to an embodiment of the present application. Referring to fig. 9, the image processing apparatus provided in this embodiment specifically includes: an image acquisition module 301, an image generation module 302, and a display setting module 303.
The image acquisition module 301 is configured to acquire an image acquired by a rearview mirror camera to obtain a first image, where the rearview mirror camera faces the rear of the commercial vehicle; the image generation module 302 is configured to generate an overall area picture and a key area picture based on the first image, where the overall area picture corresponds to the commercial vehicle side rear distant view picture, and the key area picture corresponds to the commercial vehicle side rear near view picture; the display setting module 303 is configured to display the whole area picture and the key area picture in a first display area and a second display area of a display, respectively, where the display is disposed in the commercial vehicle.
Further, the image generating module 302 includes a steering angle obtaining unit and a picture generating unit, where the steering angle obtaining unit is configured to obtain a steering angle of the commercial vehicle; the picture generation unit is further used for generating a key area picture from the first image based on a rule between a preset steering angle and a screenshot range.
The system further comprises an instruction control module, wherein the instruction control module is used for receiving a moving instruction and moving the whole area picture and the key area picture in the area displayed on the display; the move instruction includes: the translation motion in the up-down direction and the left-right direction; the moving range of each translation motion is more than the moving setting pixel.
Further, the image obtaining module 301 is further configured to obtain an image collected by a camera of the rearview mirror, and perform mirror processing on the image to obtain a first image.
Further, the picture generation unit is further configured to obtain an initial key area picture from the first image screenshot based on a rule between a preset turning angle and a screenshot range; and carrying out mirror image processing on the initial key area picture to obtain a key area picture.
Further, the picture generation unit is also used for setting pixels in a moving mode according to the turning direction when the commercial vehicle turns for 1 degree.
Further, the display device further comprises a resolution adjusting module, wherein the resolution adjusting module is used for adjusting the resolution of the whole area picture and the key area picture to the resolution of the display screen.
The camera is arranged on the rearview mirror, the image collected by the camera is obtained, and a long-range view picture and a short-range view picture at the rear of the vehicle side are generated for the collected image and are displayed on the display; the camera acquires images to avoid visual field blind areas generated when a driver drives the vehicle, and meanwhile, the situation at the rear of the vehicle side can be clearly and comprehensively observed through the combined display of the long-range view picture and the close-range view picture at the rear of the vehicle side, so that the driving safety of the vehicle is improved, and the potential safety hazard is avoided.
The device for displaying the rear view image of the commercial vehicle provided by the embodiment of the application can be used for executing the method for displaying the rear view image of the commercial vehicle provided by the embodiment, and has corresponding functions and beneficial effects.
The embodiment of the application also provides computer equipment which can be integrated with the commercial vehicle rear view image display device provided by the embodiment of the application. Fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application. Referring to fig. 10, the computer apparatus includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 for storing one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 41 may implement the method for displaying the rear view image of the commercial vehicle according to the embodiment. Wherein the input device 43, the output device 44, the memory 42 and the processor 41 may be connected by a bus or other means, for example, in fig. 4.
The processor 40 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 41, that is, the method for displaying the rear view image of the commercial vehicle is realized.
The computer equipment can be used for executing the method for displaying the rear view image of the commercial vehicle provided by the embodiment, and has corresponding functions and beneficial effects.
The embodiment of the application also provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used for executing a method for displaying the rear view image of the commercial vehicle when being executed by a computer processor, the method for displaying the rear view image of the commercial vehicle comprises the steps of obtaining an image collected by a rearview mirror camera to obtain a first image, and the rearview mirror camera faces the rear of the commercial vehicle; generating an integral area picture and a key area picture based on the first image, wherein the integral area picture corresponds to the commercial vehicle side rear long-range view picture, and the key area picture corresponds to the commercial vehicle side rear short-range view picture; and respectively displaying the whole area picture and the key area picture in a first display area and a second display area of a display, wherein the display is arranged in the commercial vehicle.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDRRAM, SRAM, EDORAM, lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage media" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application and containing the computer-executable instructions is not limited to the method for displaying the rear view image of the commercial vehicle described above, and may also perform related operations in the method for displaying the rear view image of the commercial vehicle provided in any embodiments of the present application.
The device for displaying the rear view image of the commercial vehicle, the storage medium and the computer device provided in the above embodiments may be implemented by the method for displaying the rear view image of the commercial vehicle provided in any embodiment of the present application.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (6)

1. A method for displaying a rear view image of a commercial vehicle is characterized by comprising the following steps:
acquiring an image acquired by a rearview mirror camera, and carrying out mirror image processing on the image to obtain a first image, wherein the rearview mirror camera faces the rear of the commercial vehicle;
generating an integral area picture and a key area picture based on the first image, wherein the method comprises the steps of obtaining a steering angle of the commercial vehicle, obtaining an initial key area picture from the screenshot of the first image based on a rule between a preset steering angle and a screenshot range, carrying out mirror image processing on the initial key area picture to generate the key area picture, wherein the integral area picture corresponds to a side rear long-view picture of the commercial vehicle, the key area picture corresponds to a side rear short-view picture of the commercial vehicle, and the rule between the steering angle and the screenshot range specifically comprises the following steps: when the commercial vehicle turns for 1 degree, the screenshot range moves and sets pixels according to the turning direction;
and respectively displaying the whole area picture and the key area picture in a first display area and a second display area of a display, wherein the display is arranged in the commercial vehicle.
2. The method of claim 1, wherein the displaying the whole area screen and the key area screen in the first display area and the second display area of the display respectively further comprises:
receiving a moving instruction, and moving the whole area picture and the key area picture in the area displayed on the display; the move instruction includes: the translation motion in the up-down direction and the left-right direction; the moving range of each translation motion is more than the set moving pixel.
3. The method of displaying a rear view image of a commercial vehicle according to claim 1, wherein the step of displaying the whole area screen and the key area screen in front of the first display area and the second display area of the display, respectively, further comprises:
and adapting the whole area picture and the key area picture to the resolution of the display screen for resolution adjustment.
4. A rear view image display device for a commercial vehicle, comprising:
the image acquisition module is used for acquiring an image acquired by the rearview mirror camera and carrying out mirror image processing on the image to obtain a first image, and the rearview mirror camera faces the rear of the commercial vehicle;
the image generation module is used for generating an integral area picture and a key area picture based on the first image, wherein the integral area picture and the key area picture comprise a steering angle of the commercial vehicle, an initial key area picture is obtained through screenshot of the first image based on a rule between a preset steering angle and a screenshot range, the initial key area picture is subjected to mirror image processing to generate the key area picture, the integral area picture corresponds to a far-view picture at the rear side of the commercial vehicle, the key area picture corresponds to a near-view picture at the rear side of the commercial vehicle, and the rule between the steering angle and the screenshot range specifically comprises the following steps: when the commercial vehicle turns for 1 degree, the screenshot range moves to set pixels according to the turning direction;
and the display setting module is used for respectively displaying the whole area picture and the key area picture in a first display area and a second display area of a display, and the display is arranged in the commercial vehicle.
5. A computer device, comprising: a memory and one or more processors;
the memory to store one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of displaying a rear view image of a commercial vehicle as claimed in any one of claims 1-3.
6. A storage medium containing computer-executable instructions for performing a method according to any one of claims 1 to 3 for displaying a rear view image of a commercial vehicle when the computer-executable instructions are executed by a computer processor.
CN202011119751.7A 2020-10-19 2020-10-19 Method and device for displaying rear view image of commercial vehicle, computer equipment and storage medium Active CN112172671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011119751.7A CN112172671B (en) 2020-10-19 2020-10-19 Method and device for displaying rear view image of commercial vehicle, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011119751.7A CN112172671B (en) 2020-10-19 2020-10-19 Method and device for displaying rear view image of commercial vehicle, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112172671A CN112172671A (en) 2021-01-05
CN112172671B true CN112172671B (en) 2022-10-04

Family

ID=73949754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011119751.7A Active CN112172671B (en) 2020-10-19 2020-10-19 Method and device for displaying rear view image of commercial vehicle, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112172671B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113119865B (en) * 2021-04-15 2023-03-24 常州斯伯银车辆科技有限公司 Monitoring method and device for electronic rearview mirror, vehicle-mounted equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107848465B (en) * 2015-05-06 2021-06-01 麦格纳镜片美国有限公司 Vehicle vision system with blind zone display and warning system
DE102016007522B4 (en) * 2016-06-20 2022-07-07 Mekra Lang Gmbh & Co. Kg Mirror replacement system for a vehicle
JP7067225B2 (en) * 2018-04-16 2022-05-16 株式会社Jvcケンウッド Vehicle display control device, vehicle display system, vehicle display control method, and program
KR102078984B1 (en) * 2018-07-20 2020-02-19 현대모비스 주식회사 Apparatus and method for displaying rear image of vehicle
CN109455141A (en) * 2018-12-29 2019-03-12 上海梅克朗汽车镜有限公司 The electronics rearview mirror system automatically adjusted with angle of turn
CN110120110B (en) * 2019-04-09 2021-11-23 深圳市麦谷科技有限公司 Reversing image processing method and device, computer equipment and storage medium
CN110626269A (en) * 2019-10-16 2019-12-31 湖北工业大学 Intelligent imaging driving assistance system and method based on intention identification fuzzy control

Also Published As

Publication number Publication date
CN112172671A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US20190349571A1 (en) Distortion correction for vehicle surround view camera projections
CN103770706B (en) Dynamic reversing mirror indicating characteristic
CN107660337B (en) System and method for generating a combined view from a fisheye camera
JP5966341B2 (en) Image processing apparatus, image processing method, program for image processing apparatus, and image display apparatus
JP5439890B2 (en) Image processing method, image processing apparatus, and program
WO2009116327A1 (en) Image processing device and method, driving support system, and vehicle
US11170521B1 (en) Position estimation based on eye gaze
US10013761B2 (en) Automatic orientation estimation of camera system relative to vehicle
US20160257252A1 (en) Projection of images on side window of vehicle
US20240087491A1 (en) Projection Method and Apparatus, Vehicle, and AR-HUD
JP2020537216A (en) Image processing method and equipment
CN103517060A (en) Method and device for display control of terminal device
CN111277796A (en) Image processing method, vehicle-mounted vision auxiliary system and storage device
CN112172671B (en) Method and device for displaying rear view image of commercial vehicle, computer equipment and storage medium
JP6890288B2 (en) Image processing equipment, image display system and image processing method
US20240051475A1 (en) Display adjustment method and apparatus
CN112396705A (en) Mitigation of small field of view display using transitional visual content
CN111435269A (en) Display adjusting method, system, medium and terminal of vehicle head-up display device
CN112172670B (en) Image recognition-based rear view image display method and device
CN113438465A (en) Display adjusting method, device, equipment and medium
JP2018176783A (en) Display control device, display system and display control program
EP3098777B1 (en) Drawing apparatus, drawing method, and drawing program
CN111669543A (en) Vehicle imaging system and method for parking solutions
CN112172669B (en) Multi-data-source back view image display method and device, electronic equipment and storage medium
US11288873B1 (en) Blur prediction for head mounted devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant