Image feature conversion method, electronic device, and storage medium
By meshing and interpolating the area around the vehicle, the problems of image feature conversion delay and monocular camera limitations in the existing technology are solved, achieving efficient image feature conversion and improving the safety of the autonomous driving system, supporting fisheye camera.
Patent Information
- Application Number
- PCT/CN2023/140044
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2023-12-20
- Publication Date
- 2024-08-29
AI Technical Summary
Existing image feature conversion methods have large delays and take a long time in high-speed driving scenarios, and cannot meet frame rate requirements. They only support monocular cameras and do not support fisheye cameras, resulting in delayed obstacle detection and potential safety hazards.
By obtaining the image features of cameras from each viewing angle, the area around the vehicle is meshed, the grid characteristics of the three-dimensional grid are determined, and the feature map in the bird's eye view is calculated based on these characteristics. Interpolation operations are used to improve efficiency and support monocular and fish. eye camera.
It improves the efficiency of image feature conversion, shortens the response time of autonomous driving tasks such as object recognition, improves the safety of the autonomous driving system, and supports multiple vehicle camera types.
Smart Images

Figure CN2023140044_29082024_PF_FP_ABST
Abstract
Description
Image feature conversion method, electronic device and storage medium
[0001] This application claims priority to Chinese patent application CN202310158560.9, filed on February 20, 2023, with the invention name “Image feature conversion method, electronic device and storage medium”. The entire contents of the above Chinese patent application are incorporated into this application by reference. Technical Field
[0002] The present invention relates to the field of autonomous driving technology, and specifically provides an image feature conversion method, electronic equipment, and storage medium. Background Art
[0003] Advanced driver assistance systems are gaining increasing attention, and with advancements in sensor and information technology, the user experience is also improving. Cameras, as a key sensor, are often used for tasks like obstacle detection.
[0004] An existing image feature conversion method extracts features from images captured by multiple cameras, converts them sequentially into a unified top-down feature, and then uses this top-down feature as the basis for tasks such as obstacle detection. However, this conversion method has a large delay and is time-consuming. It cannot meet frame rate requirements in high-speed driving scenarios and cannot detect obstacles in the image in a timely manner, thus posing a safety hazard. In addition, existing conversion solutions only support monocular cameras and not fisheye cameras. Fisheye cameras, as wide-angle cameras, are important for blind spot detection in the vehicle's surroundings.
[0005] Accordingly, the field needs a new image feature conversion solution to solve the above problems.
[0006] Summary of the Invention
[0007] In order to overcome the above-mentioned drawbacks, the present invention is proposed to provide a solution or at least partially solve the above-mentioned technical problems. The present invention provides an image feature conversion method, an electronic device and a storage medium.
[0008] In a first aspect, the present invention provides an image feature conversion method, which includes: obtaining image features of cameras at each viewing angle; gridding the area around the vehicle to obtain a three-dimensional grid; determining the grid features of each of the three-dimensional grids based on the image features; and determining a feature map from a top-down perspective based on the grid features of each of the three-dimensional grids.
[0009] In one embodiment, determining the grid features of each of the three-dimensional grids based on the image features includes: determining the pixel coordinates of each of the three-dimensional grids mapped to a pixel coordinate system; performing an interpolation operation based on the pixel coordinates of each of the three-dimensional grids and the image features of the respective view cameras to obtain the image features of each pixel coordinate; and filling the image features of each pixel coordinate into the corresponding three-dimensional grid to obtain the grid features of the three-dimensional grid.
[0010] In one embodiment, determining the pixel coordinates of each three-dimensional grid mapped to the pixel coordinate system includes: determining the vertex coordinates of each three-dimensional grid in the world coordinate system; calculating the center point coordinates of the three-dimensional grid in the world coordinate system based on the vertex coordinates; obtaining the intrinsic parameter matrix and the extrinsic parameter matrix of each perspective camera; and mapping the center point coordinates of the three-dimensional grid in the world coordinate system to the pixel coordinate system based on the intrinsic parameter matrix and the extrinsic parameter matrix to obtain the pixel coordinates of each three-dimensional grid.
[0011] In one embodiment, the interpolation operation includes any one of a bilinear interpolation operation, a nearest neighbor interpolation operation, and a bicubic interpolation operation.
[0012] In one embodiment, when the interpolation operation is a bilinear interpolation operation, the interpolation operation is performed based on the pixel coordinates of each of the three-dimensional grids and the image features of the respective view cameras to obtain the image features corresponding to each pixel coordinate, including: determining four coordinate points adjacent to each of the pixel coordinates; and determining the image features corresponding to the pixel coordinates based on the image features of each of the coordinate points.
[0013] In one embodiment, the gridding the area around the vehicle to obtain a three-dimensional grid includes: gridding the spatial area around the vehicle according to a preset grid size to obtain a three-dimensional grid.
[0014] In one embodiment, determining the feature map at a top-down perspective based on the grid features of each of the three-dimensional grids includes: accumulating the grid features of the three-dimensional grids in the vertical direction to obtain the spatial features at the top-down perspective; and obtaining the feature map at the top-down perspective based on the spatial features.
[0015] In one embodiment, obtaining the image features of each camera of each viewing angle includes: inputting the images taken by each camera of each viewing angle into a feature extraction network to obtain the image features of each camera of each viewing angle.
[0016] In a second aspect, an electronic device is provided, comprising at least one processor and at least one storage device, wherein the storage device is suitable for storing multiple program codes, and the program codes are suitable for being loaded and run by the processor to execute any of the aforementioned image feature conversion methods.
[0017] In a third aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored in the computer-readable storage medium, wherein the program codes are suitable for being loaded and run by a processor to execute any of the aforementioned image feature conversion methods.
[0018] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:
[0019] The image feature conversion method provided by the present invention obtains image features from cameras with different viewpoints; grids the area surrounding the vehicle to obtain a three-dimensional grid; determines the grid features of each three-dimensional grid based on the image features; and determines a feature map from a bird's-eye view based on the grid features of each three-dimensional grid. This solves the problems of large delays and long processing times associated with existing conversion methods, improves the efficiency of image feature conversion, shortens the response time for autonomous driving tasks such as object recognition, and enhances the safety of autonomous driving systems. Furthermore, this method is not limited to the type of on-board camera; it can be used to convert image features using both monocular and fisheye cameras. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The disclosure of the present invention will be more easily understood with reference to the accompanying drawings. Those skilled in the art will readily appreciate that these drawings are for illustrative purposes only and are not intended to limit the scope of protection of the present invention. Furthermore, similar numbers in the drawings represent similar components, wherein:
[0021] FIG1 is a schematic flow chart of the main steps of an image feature conversion method according to an embodiment of the present invention;
[0022] FIG2 is a schematic diagram of a complete flow chart of an image feature conversion method according to an embodiment;
[0023] FIG3 is a schematic structural diagram of an electronic device in an embodiment. DETAILED DESCRIPTION
[0024] Some embodiments of the present invention are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0025] In the description of the present invention, "module" and "processor" may include hardware, software, or a combination of both. A module may include hardware circuitry, various suitable sensors, communication ports, and memory. It may also include software components, such as program code, or a combination of software and hardware. A processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. A processor has data and / or signal processing capabilities. A processor may be implemented in software, hardware, or a combination of both. Non-transitory computer-readable storage media include any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, and the like. The term "A and / or B" refers to all possible combinations of A and B, such as only A, only B, or both A and B. The terms "at least one of A or B" or "at least one of A and B" have similar meanings to "A and / or B" and may include only A, only B, or both A and B. The singular forms "one" and "the" may also include the plural forms.
[0026] The traditional image feature conversion method currently extracts features from images captured by multiple cameras, sequentially converts them into a unified top-down feature, and then uses this top-down feature as the basis for tasks such as obstacle detection. However, this conversion method has a large delay and is time-consuming. It cannot meet the frame rate requirements in high-speed driving scenarios and cannot detect obstacles in the image in a timely manner, thus posing a safety hazard. In addition, existing conversion solutions only support monocular cameras and not fisheye cameras. Fisheye cameras, as wide-angle cameras, are important for blind spot detection in the vehicle's surroundings.
[0027] To this end, the present application proposes an image feature conversion method, electronic device, and storage medium to obtain image features from cameras of various viewing angles; grid the area around the vehicle to obtain a three-dimensional grid; determine the grid features of each three-dimensional grid based on the image features; and determine a feature map from a bird's-eye view based on the grid features of each three-dimensional grid, which is further used for object recognition. In this way, the problems of large delays and long time consumption of existing conversion methods are solved, the conversion efficiency of image features is improved, the response time of autonomous driving tasks such as object recognition is shortened, and the safety of the autonomous driving system is improved. In addition, the method is not limited to the type of on-board camera. Whether it is a monocular camera or a fisheye camera, the method can be used to achieve image feature conversion.
[0028] Please refer to FIG1 , which is a flowchart illustrating the main steps of an image feature conversion method according to an embodiment of the present invention.
[0029] As shown in FIG1 , the image feature conversion method in the embodiment of the present invention mainly includes the following steps S101 to S104 .
[0030] Step S101: Obtain image features of cameras at various viewing angles.
[0031] The various viewpoint cameras may be cameras installed at various viewpoints of the vehicle, such as a forward-facing camera, a rearward-facing camera, and a side-facing camera.
[0032] In addition, there is no limitation on the type of each viewing angle camera, for example, it can be a monocular camera or a fisheye camera.
[0033] Step S102: Gridding the area around the vehicle to obtain a three-dimensional grid.
[0034] Step S103: determining the grid features of each three-dimensional grid based on the image features.
[0035] Step S104: determining a feature map at a top-down perspective based on the mesh features of each three-dimensional mesh.
[0036] Based on steps S101-S103 above, image features from cameras at each viewing angle are obtained; the area surrounding the vehicle is gridded to obtain a three-dimensional grid; grid features for each three-dimensional grid are determined based on the image features; and a feature map from a bird's-eye view is determined based on the grid features of each three-dimensional grid. This solves the problems of large delays and long processing times associated with existing conversion methods, improves the efficiency of image feature conversion, shortens the response time for autonomous driving tasks such as object recognition, and enhances the safety of the autonomous driving system. Furthermore, this method is not limited to the type of on-board camera; it can be used to convert image features for both monocular and fisheye cameras.
[0037] The above steps S101 to S104 are further explained below.
[0038] It should be noted that the image features of each viewing angle camera involved in the subsequent steps and the spatial features under the top-down perspective are all in the format of a matrix represented by NHWC to ensure the continuity and efficiency of memory access during the feature conversion process, where N represents the number of images, H represents the image height, W represents the image width, and C represents the number of image channels.
[0039] For step S101 , the following embodiment may be used as a preferred embodiment for obtaining image features of cameras at various viewing angles.
[0040] In a specific embodiment, obtaining the image features of each camera of each viewing angle includes: inputting the images taken by each camera of each viewing angle into a feature extraction network to obtain the image features of each camera of each viewing angle.
[0041] Specifically, first obtain at least one image taken by a camera of each viewing angle, input it into a feature extraction network, and then obtain the image features of the camera of each viewing angle.
[0042] In one embodiment, a CNN network, a feature pyramid network, etc. can be used as examples of the feature extraction network, but are not limited thereto.
[0043] The above is a further description of step S101 , and the following further describes step S102 .
[0044] In a specific embodiment, the gridding the area around the vehicle to obtain a three-dimensional grid includes: gridding the spatial area around the vehicle according to a preset grid size to obtain a three-dimensional grid.
[0045] The preset grid size may be a preset length, a preset width, and a preset height.
[0046] Specifically, the spatial area around the vehicle is divided into grids according to a preset grid size. Specifically, the 3D space around the vehicle is divided into front and back, left and right, and up and down to obtain a three-dimensional grid.
[0047] The above is a further description of step S102 , and the following further describes step S103 .
[0048] Specifically, the above step S103 can be implemented through the following steps S1031 to S1033.
[0049] S1031: Determine the pixel coordinates of each of the three-dimensional grids mapped to the pixel coordinate system.
[0050] The pixel coordinate system refers to a rectangular coordinate system with pixels as the unit, with the upper left corner of the image taken by the camera as the origin.
[0051] The pixel coordinates in the pixel coordinate system refer to the center point of the three-dimensional grid mapped to the corresponding pixel coordinates in the pixel coordinate system.
[0052] In a specific embodiment, determining the pixel coordinates of each three-dimensional grid mapped to the pixel coordinate system includes: determining the vertex coordinates of each three-dimensional grid in the world coordinate system; calculating the center point coordinates of the three-dimensional grid in the world coordinate system based on the vertex coordinates; obtaining the intrinsic parameter matrix and the extrinsic parameter matrix of each perspective camera; and mapping the center point coordinates of the three-dimensional grid in the world coordinate system to the pixel coordinate system based on the intrinsic parameter matrix and the extrinsic parameter matrix to obtain the pixel coordinates of each three-dimensional grid.
[0053] In this step, the three-dimensional grid in the world coordinate system is converted to the pixel coordinate system to obtain the pixel coordinates of each three-dimensional grid.
[0054] First, the vertex coordinates of each three-dimensional grid in the world coordinate system can be determined, and based on this, the center point coordinates of each three-dimensional grid in the world coordinate system can be calculated.
[0055] Then obtain the intrinsic parameter matrix and extrinsic parameter matrix of each viewing angle camera.
[0056] For a camera, if the camera type is known, its intrinsic and extrinsic parameter matrices are known. For example, for a monocular camera, both its intrinsic and extrinsic parameter matrices are 4*4 matrices. For a fisheye camera, its intrinsic parameter matrix is a 21-dimensional array, and its extrinsic parameter matrix is a 4*4 matrix.
[0057] In order to make the obtained spatial features simpler, in this step, if the on-board camera includes both a monocular camera and a fisheye camera, the intrinsic parameter matrix of the monocular camera can be converted into 21 data by padding it with zeros, thereby unifying the format of the internal and external parameters of the monocular camera and the fisheye camera to adapt to multiple different types of cameras.
[0058] Finally, the pixel coordinates of the center point of each three-dimensional grid in the pixel coordinate system can be calculated according to pixel coordinates = intrinsic parameter matrix * extrinsic parameter matrix * center point coordinates of the three-dimensional grid in the world coordinate system.
[0059] S1032: Perform an interpolation operation based on the pixel coordinates of each of the three-dimensional grids and the image features of the cameras of each viewing angle to obtain the image features of each pixel coordinate.
[0060] In a specific embodiment, the interpolation operation includes any one of a bilinear interpolation operation, a nearest neighbor interpolation operation, and a bicubic interpolation operation.
[0061] In a specific embodiment, when the interpolation operation is a bilinear interpolation operation, the interpolation operation is performed based on the pixel coordinates of each of the three-dimensional grids and the image features of the respective view cameras to obtain the image features corresponding to each pixel coordinate, including: determining four coordinate points adjacent to each of the pixel coordinates; and determining the image features corresponding to the pixel coordinates based on the image features of each of the coordinate points.
[0062] Specifically, after transforming the center point coordinates of a 3D grid from the world coordinate system to the pixel coordinate system, the pixel coordinates of each 3D grid contain decimals, making it impossible to directly obtain the image features corresponding to these pixel coordinates. In this case, we can first determine the four coordinate points adjacent to each 3D grid pixel coordinate, and then determine the image features corresponding to each 3D grid pixel coordinate based on the image features of these four coordinate points.
[0063] For example, the interpolation operation described above is illustrated using (10.5, 20.5) as the pixel coordinates of the center point of a 3D grid. First, the four coordinate points adjacent to (10.5, 20.5) are determined to be (10, 20), (10, 21), (11, 20), and (11, 21). The feature values of each channel of these four points are then weighted averaged to obtain the image features corresponding to the pixel coordinates. The weight of each coordinate point is related to its distance from the pixel coordinates (10.5, 20.5).
[0064] In a preferred embodiment, a warp-level bilinear interpolation operation can be used as an example of the bilinear interpolation operation. Specifically, the warp-level bilinear interpolation operation is performed in parallel on the corresponding image features according to the pixel coordinates to obtain the interpolated features.
[0065] Therefore, during the feature conversion process, the warp-level bilinear interpolation method is used to target the GPU characteristics and fully utilize the GPU's memory access bandwidth to efficiently implement the feature conversion process.
[0066] S1033: Fill the image feature of each pixel coordinate into the corresponding three-dimensional grid to obtain the grid feature of the three-dimensional grid.
[0067] After determining the image features corresponding to the pixel coordinates of each 3D grid center point based on step S1032, the image features are filled into the corresponding 3D grid, thereby obtaining the grid features of the 3D grid.
[0068] The above is a further description of step S103 , and the following is a further description of step S104 .
[0069] In a specific embodiment, determining the feature map at a top-down perspective based on the grid features of each of the three-dimensional grids includes: accumulating the grid features of the three-dimensional grids in the vertical direction to obtain the spatial features at the top-down perspective; and obtaining the feature map at the top-down perspective based on the spatial features.
[0070] Specifically, by accumulating the grid features of all three-dimensional grids in the vertical direction (up and down direction) of the vehicle, the spatial features under the top-down perspective can be obtained, and all the spatial features under the top-down perspective constitute the feature map under the top-down perspective.
[0071] By dividing the area around the vehicle body into three-dimensional grids and performing feature conversion by real-time coordinate calculation, the amount of memory access is reduced and efficient feature conversion is achieved.
[0072] In one specific embodiment, as shown in Figure 2, a complete step of the image feature conversion method involves first dividing the spatial area around the vehicle into a uniform three-dimensional grid, calculating the real physical coordinates of each grid center point, and reading the intrinsic and extrinsic parameter matrices of each camera view. Based on this, the center point of each grid is mapped to the pixel coordinates in the pixel coordinate system. Based on the acquired image features, a bilinear interpolation method is used to determine the image features corresponding to each pixel coordinate, and these features are filled into the corresponding three-dimensional grid until the image features of all viewpoints are converted. Finally, the grid features of all three-dimensional grids in the vertical direction of the vehicle are accumulated to obtain a feature map from a bird's-eye view. In this way, efficient conversion of image features is achieved.
[0073] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.
[0074] Those skilled in the art will appreciate that all or part of the processes in the method for implementing the above-mentioned embodiment of the present invention may also be accomplished by instructing the relevant hardware through a computer program. The computer program may be stored in a computer-readable storage medium. When the computer program is executed by a processor, it may implement the steps of each of the above-mentioned method embodiments. The computer program includes computer program code, which may be in source code form, object code form, executable file, or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal, and software distribution medium capable of carrying the computer program code. It should be noted that the content contained in the computer-readable storage medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.
[0075] Furthermore, the present invention also provides an electronic device. In an electronic device embodiment according to the present invention, as specifically shown in FIG3 , the electronic device includes at least one processor 31 and at least one storage device 32. The storage device can be configured to store a program for executing the image feature conversion method of the above-mentioned method embodiment, and the processor can be configured to execute the program in the storage device, which includes but is not limited to a program for executing the image feature conversion method of the above-mentioned method embodiment. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method section of the embodiment of the present invention.
[0076] In the embodiment of the present invention, the electronic device may be a control device device formed by various devices. In some possible implementations, the electronic device may include multiple storage devices and multiple processors. The program for executing the image feature conversion method of the above method embodiment can be divided into multiple subroutines, and each subroutine can be loaded and run by the processor to execute different steps of the image feature conversion method of the above method embodiment. Specifically, each subroutine can be stored in different storage devices respectively, and each processor can be configured to execute the programs in one or more storage devices to jointly implement the image feature conversion method of the above method embodiment, that is, each processor executes different steps of the image feature conversion method of the above method embodiment respectively to jointly implement the image feature conversion method of the above method embodiment.
[0077] The aforementioned multiple processors may be processors deployed on the same device. For example, the aforementioned electronic device may be a high-performance device composed of multiple processors, and the aforementioned multiple processors may be processors configured on the high-performance device. Furthermore, the aforementioned multiple processors may also be processors deployed on different devices. For example, the aforementioned electronic device may be a server cluster, and the aforementioned multiple processors may be processors on different servers in the server cluster.
[0078] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the image feature conversion method of the above-mentioned method embodiment, and the program can be loaded and run by the processor to implement the above-mentioned image feature conversion method. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-transitory computer-readable storage medium.
[0079] Furthermore, it should be understood that since the configuration of each module is merely for the purpose of illustrating the functional units of the apparatus of the present invention, the physical devices corresponding to these modules may be the processor itself, or a portion of the software in the processor, a portion of the hardware, or a combination of software and hardware. Therefore, the number of modules in the figure is merely illustrative.
[0080] Those skilled in the art will appreciate that the various modules in the device can be adaptively split or merged. Such splitting or merging of specific modules does not cause the technical solution to deviate from the principles of the present invention. Therefore, the technical solutions after splitting or merging will fall within the scope of protection of the present invention.
[0081] Thus far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it will be readily understood by those skilled in the art that the scope of protection of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art may make equivalent changes or substitutions to the relevant technical features, and the technical solutions after such changes or substitutions will fall within the scope of protection of the present invention.
Claims
1. A method for converting image features, characterized in that: The method comprises: Obtain image features from cameras at each viewing angle; Mesh the area around the vehicle to obtain a three-dimensional mesh; Determining a grid feature of each of the three-dimensional grids based on the image feature; A feature map at a top-down perspective is determined based on the grid features of each of the three-dimensional grids.
2. The image feature conversion method according to claim 1, characterized in that: The determining of the grid feature of each of the three-dimensional grids based on the image feature comprises: Determine the pixel coordinates of each of the three-dimensional grids mapped to a pixel coordinate system; Performing an interpolation operation based on the pixel coordinates of each of the three-dimensional grids and the image features of the cameras of each viewing angle to obtain the image features of each pixel coordinate; The image feature of each pixel coordinate is filled into the corresponding three-dimensional grid to obtain the grid feature of the three-dimensional grid.
3. The image feature conversion method according to claim 2, characterized in that: The determining of the pixel coordinates of each of the three-dimensional grids mapped to the pixel coordinate system comprises: Determine the vertex coordinates of each of the three-dimensional grids in the world coordinate system; Calculate the center point coordinates of the three-dimensional grid in the world coordinate system based on the vertex coordinates; Obtaining the intrinsic parameter matrix and extrinsic parameter matrix of each viewing angle camera; Based on the intrinsic parameter matrix and the extrinsic parameter matrix, the center point coordinates of the three-dimensional grid in the world coordinate system are mapped to the pixel coordinate system to obtain the pixel coordinates of each of the three-dimensional grids.
4. The image feature conversion method according to claim 2, characterized in that: The interpolation operation includes any one of a bilinear interpolation operation, a nearest neighbor interpolation operation, and a bicubic interpolation operation.
5. The image feature conversion method according to claim 4, characterized in that: In the case where the interpolation operation is a bilinear interpolation operation, The interpolation operation is performed based on the pixel coordinates of each of the three-dimensional grids and the image features of each viewing angle camera to obtain the image features corresponding to each pixel coordinate, including: Determine four coordinate points adjacent to each of the pixel coordinates; The image feature corresponding to the pixel coordinate is determined based on the image feature of each coordinate point.
6. The image feature conversion method according to claim 1, characterized in that: The gridding the area around the vehicle to obtain a three-dimensional grid includes: gridding the space area around the vehicle according to a preset grid size to obtain a three-dimensional grid.
7. The image feature conversion method according to claim 1, characterized in that: The determining of a feature map at a top-down perspective based on the grid features of each of the three-dimensional grids includes: Accumulating the grid features of the three-dimensional grid in the vertical direction to obtain the spatial features in the top-down perspective; A feature map under the top-down perspective is obtained based on the spatial features.
8. The image feature conversion method according to claim 1, characterized in that: The obtaining of image features of cameras of each viewing angle comprises: inputting images taken by cameras of each viewing angle into a feature extraction network to obtain image features of cameras of each viewing angle.
9. An electronic device comprising at least one processor and at least one storage device, wherein the storage device is suitable for storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by the processor to execute the image feature conversion method according to any one of claims 1 to 8.
10. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the image feature conversion method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Target detection method and device, electronic equipment and storage medium
CN115116049A
Image feature conversion method, electronic equipment and storage medium
CN116071236A
Inferring locations of 3D objects in a spatial environment
US20190371052A1
Method and device for multi-sensor data-based fusion information generation for 360-degree detection and recognition of surrounding object
WO2021167189A1
