Methods, equipment, vehicles and storage media for displaying car models
By acquiring images of the vehicle's external environment and extracting target colors to draw on the 3D car model, the problem of fixed and monotonous colors in 3D car models is solved, achieving adaptive color changes and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-17
- Publication Date
- 2026-04-03
AI Technical Summary
In existing technologies, the colors of 3D car models inside vehicles are fixed and monotonous, and they cannot be automatically adjusted according to changes in the external environment.
By acquiring images of the external environment of the vehicle, extracting the target color and drawing it on the 3D vehicle model, the target 3D vehicle model is generated and displayed on the in-vehicle screen, achieving adaptive color changes.
The diversity of colors in the 3D car model has been enhanced, enabling it to dynamically adjust to changes in the external environment and improve the user experience.
Smart Images

Figure CN120156310B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a method, device, vehicle, and storage medium for displaying vehicle models. Background Technology
[0002] Currently, the 3D car model displayed on the in-vehicle screen can only change its appearance according to a specified color. That is, a color palette is preset on the vehicle's system, and the user manually selects the color of the 3D car model from the preset color palette, resulting in relatively fixed and boring colors for the 3D car model. Summary of the Invention
[0003] This application provides a method, device, vehicle, and storage medium for displaying car models, thereby enhancing the color diversity of the three-dimensional car models displayed on the in-vehicle screen.
[0004] According to a first aspect of the embodiments of this application, a method for displaying a car model is provided, including:
[0005] Acquire images of the external environment of the target vehicle;
[0006] Extract the target color from the vehicle exterior environment image;
[0007] The target color in the external environment image is drawn onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle.
[0008] The target 3D car model is displayed on the in-vehicle screen of the target vehicle.
[0009] Optionally, extracting the target color from the vehicle exterior environment image includes:
[0010] Obtain the color of each pixel in the image of the vehicle's external environment, and determine the number of pixels corresponding to each color;
[0011] The target color in the vehicle exterior environment image is determined from the color with the most pixels.
[0012] Optionally, determining the target color in the vehicle exterior environment image from the color with the most pixels includes:
[0013] If the color with the most pixels includes one color, then the color with the most pixels is determined as the target color in the vehicle exterior environment image;
[0014] When the color with the most pixels includes at least two colors, determine the shortest distance between the pixel corresponding to each of the colors with the most pixels and the center pixel of the vehicle exterior environment image; wherein, one color corresponds to one shortest distance; and determine the color with the smallest shortest distance as the target color in the vehicle exterior environment image.
[0015] Optionally, acquiring the external environment image of the target vehicle includes:
[0016] Obtain the original external environment image of the target vehicle;
[0017] The pattern of the target object is removed from the original exterior environment image to obtain the exterior environment image of the target vehicle; wherein, the target object includes a movable object.
[0018] Optionally, removing the pattern of the target object from the original vehicle exterior environment image to obtain the vehicle exterior environment image of the target vehicle includes:
[0019] Based on the original image of the vehicle's external environment, generate image processing prompts;
[0020] The image processing prompts are input into the large image processing model to obtain an image of the external environment of the target vehicle.
[0021] The image processing prompt is used to instruct the image processing model to remove the pattern of the target object from the original vehicle exterior environment image to obtain the vehicle exterior environment image of the target vehicle.
[0022] Optionally, the step of drawing the target color from the external environment image onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle includes:
[0023] When the target vehicle is parked, the target color from the external environment image is drawn onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle.
[0024] Optionally, after displaying the target 3D vehicle model on the in-vehicle screen of the target vehicle, the method further includes:
[0025] Obtain the user's save operation for the target 3D car model;
[0026] The target 3D car model is stored based on the save operation.
[0027] According to a second aspect of the embodiments of this application, an electronic device is provided, including a memory and a processor;
[0028] The memory is connected to the processor and is used to store programs;
[0029] The processor is used to implement the vehicle model display method as described in the first aspect by running the program in the memory.
[0030] According to a third aspect of the embodiments of this application, a vehicle is provided, including electronic equipment as described in the second aspect.
[0031] According to a fourth aspect of the embodiments of this application, a storage medium is provided, on which a computer program is stored, and when the computer program is run by a processor, it implements the vehicle model display method as described in the first aspect.
[0032] In this application, an image of the external environment of the target vehicle is obtained, a target color is extracted from the image, and the target color is drawn onto a 3D model of the target vehicle to generate a target 3D model. When the external environment of the target vehicle changes, the image of the external environment also changes, the target color in the image also changes, and consequently the color of the target 3D model also changes. That is, the color of the target 3D model can change accordingly with the change of the external environment of the target vehicle. The target 3D model is then displayed on the in-vehicle screen of the target vehicle. The color of the target 3D model displayed on the in-vehicle screen can change accordingly with the change of the external environment of the target vehicle. Compared with the user manually selecting the color of the 3D model, this can improve the diversity of colors of the 3D model displayed on the in-vehicle screen. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0034] Figure 1 This is a flowchart illustrating a method for displaying a car model provided in an embodiment of this application;
[0035] Figure 2 This is a flowchart illustrating step 101 provided in an embodiment of this application;
[0036] Figure 3 This is a flowchart illustrating step 202 provided in an embodiment of this application;
[0037] Figure 4 This is a flowchart illustrating step 102 provided in an embodiment of this application;
[0038] Figure 5 This is a schematic diagram of the structure of a car model display device provided in the embodiments of this application;
[0039] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0040] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0041] Exemplary Implementation Environment
[0042] The vehicle model display method according to embodiments of this application can be executed by an electronic device. The electronic device can be the cockpit domain controller of the target vehicle, or other electronic devices, such as processing devices connected to the vehicle's in-vehicle equipment. The Smart Cockpit Domain Controller (CDC) is one of the core components of a smart cockpit, responsible for integrating and managing various devices and functions within the cockpit. It is an in-vehicle control unit integrating multiple advanced technologies. It integrates electronic control units that control the functions of multiple subsystems in the vehicle cockpit, such as audio, air conditioning, lighting, navigation, and in-vehicle network. The cockpit domain controller integrates the control and management of these different domains in one device, enabling better collaboration between the various subsystems of the cockpit and providing a better driving and riding experience. This application uses the execution of the vehicle model display method by the cockpit domain controller of the target vehicle as an example for explanation, but it does not limit this approach. This method can be implemented by a processor calling computer-readable program instructions stored in memory.
[0043] Exemplary methods
[0044] Please see Figure 1 In one exemplary embodiment, a method for displaying a car model is provided. For example... Figure 1 As shown, the process of displaying the car model mainly includes:
[0045] Step 101: Obtain an image of the external environment of the target vehicle.
[0046] In some embodiments, step 101 includes: acquiring an image of the external environment of the target vehicle when a preset switch is in the on state.
[0047] The preset switches may include a "3D car model color adaptive change" switch.
[0048] For example, a "3D car model color adaptive change" switch can be set on the in-vehicle equipment of the target vehicle. The "3D car model color adaptive change" switch is on by default. When the "3D car model color adaptive change" switch is on, the car model display method provided in steps 101-104 is executed. If the user of the target vehicle does not like the "3D car model color adaptive change" function, they can turn off the "3D car model color adaptive change" switch through a soft switch on the in-vehicle screen or by voice.
[0049] This allows users to choose whether to execute the car model display method in this application, thereby improving user experience and satisfaction.
[0050] In some embodiments, step 101 may include: acquiring images of the external environment of the target vehicle sent by the target vehicle's camera.
[0051] The target vehicle's camera captures images of the vehicle's external environment and sends these images to the target vehicle's cockpit domain controller for processing.
[0052] In an exemplary embodiment, the camera of the target vehicle can be a camera positioned in a preset direction. This camera captures images of the external environment in the preset direction and sends these images to the vehicle's cockpit domain controller for processing. For example, the camera can be a front-facing camera, capturing images of the external environment in the front direction and sending them to the cockpit domain controller. Of course, the preset direction can also be other directions, such as rear, left, or right, and this application does not limit this.
[0053] In some embodiments, such as Figure 2 As shown, step 101 includes:
[0054] Step 201: Obtain the original external environment image of the target vehicle.
[0055] In some embodiments, step 201 may include: acquiring raw images of the external environment of the target vehicle sent by the target vehicle's camera.
[0056] The target vehicle's camera captures raw images of the vehicle's external environment and sends these images to the target vehicle's cockpit domain controller for processing.
[0057] In an exemplary embodiment, the camera of the target vehicle can be a camera positioned in a preset direction of the target vehicle. This camera captures an original image of the external environment in the preset direction and sends it to the target vehicle's cockpit domain controller for processing. For example, the camera can be a front-facing camera, capturing an original image of the external environment in the front direction and sending it to the target vehicle's cockpit domain controller for processing. Of course, the preset direction can also be other directions, such as rear, left, or right, and this application does not limit this.
[0058] Step 202: Remove the pattern of the target object from the original vehicle exterior environment image to obtain the vehicle exterior environment image of the target vehicle.
[0059] The target object includes objects that can be moved.
[0060] In an exemplary embodiment, the target object may include people, animals, motor vehicles and non-motor vehicles, etc. People, animals, motor vehicles and non-motor vehicles, etc., are all movable and belong to objects other than the natural environment and buildings.
[0061] The original exterior environment image of the target vehicle may contain patterns of moving objects, making the original exterior environment image look cluttered and affecting its visual integrity and aesthetics. Each time the same location is passed, the presence of moving objects may result in different original exterior environment images each time, making them quite cluttered. Removing the patterns of target objects from the original exterior environment image yields the exterior environment image of the target vehicle. The exterior environment image of the target vehicle retains the patterns of fixed, immovable objects such as the natural environment and buildings, which can improve the uniformity and aesthetics of the exterior environment image.
[0062] In some embodiments, after removing the pattern of the target object from the original vehicle exterior environment image, the image obtained after removing the pattern of the target object can be directly determined as the vehicle exterior environment image of the target vehicle; alternatively, the empty parts in the image obtained after removing the pattern of the target object can be filled, and the color used for filling can be the color near the empty part, trying to be consistent with the surrounding environment, and the filled image can be determined as the vehicle exterior environment image of the target vehicle, thereby improving the overall aesthetics of the vehicle exterior environment image of the target vehicle.
[0063] In some embodiments, such as Figure 3 As shown, step 202 includes:
[0064] Step 301: Generate image processing prompts based on the original external environment image of the vehicle.
[0065] Step 302: Input the image processing prompts into the large image processing model to obtain the external environment image of the target vehicle.
[0066] Among them, the image processing prompts are used to instruct the large image processing model to remove the pattern of the target object from the original vehicle exterior environment image to obtain the vehicle exterior environment image.
[0067] By fully utilizing the image processing capabilities of large-scale image processing models, the efficiency and accuracy of removing patterns of target objects from original vehicle exterior environment images can be improved.
[0068] Step 102: Extract the target color from the image of the vehicle's external environment.
[0069] In some embodiments, such as Figure 4 As shown, step 102 includes:
[0070] Step 401: Obtain the color of each pixel in the external environment image and determine the number of pixels corresponding to each color.
[0071] In the exemplary embodiment, color can refer to RGB color values. The RGB color mode is an industry-standard color system that uses variations in the red (R), green (G), and blue (B) color channels and their superposition to obtain a wide variety of colors. RGB represents the colors of the red, green, and blue channels. This standard covers almost all colors perceptible to human vision and is one of the most widely used color systems. Color can also be determined by other color modes. This application uses RGB color values as an example for explanation, but it does not limit the scope of the application.
[0072] For example, the external environment image is divided into pixels to obtain each pixel in the external environment image. The RGB color values of each pixel in the external environment image are extracted, recorded, and counted to determine the number of pixels corresponding to each RGB color value.
[0073] Step 402: Determine the target color in the vehicle exterior environment image from the color with the most pixels.
[0074] The target color in the external environment image is determined from the color with the most pixels. This target color is then drawn onto the 3D model of the target vehicle, generating the target 3D model. The color with the most pixels is the most frequently occurring color in the external environment image and is the dominant color in the external environment. The color of the target 3D model can change accordingly as the dominant color in the external environment changes, thus improving the color matching between the target 3D model and the external environment.
[0075] In some embodiments, besides the implementations of steps 401 to 402, step 102 may also be implemented in other ways, including but not limited to the following:
[0076] Method 1
[0077] Obtain the color of the center pixel in the image of the vehicle's external environment, and determine the color of the center pixel as the target color in the image of the vehicle's external environment.
[0078] The color of the center pixel in the vehicle exterior environment image is also a color that is easily noticed in the vehicle exterior environment image. By determining the color of the center pixel as the target color in the vehicle exterior environment image, and drawing the target color in the vehicle exterior environment image onto the 3D model of the target vehicle, the target 3D model of the target vehicle can be generated, which can also make the color of the target 3D model of the target vehicle match the vehicle exterior environment.
[0079] Method 2
[0080] The color of each pixel in the image of the vehicle's external environment is obtained, the average color of each pixel is calculated, and the average color of each pixel is determined as the target color in the image of the vehicle's external environment.
[0081] The average color of each pixel in the external environment image can represent the overall color situation of the external environment image. The average color of each pixel is determined as the target color in the external environment image. The target color in the external environment image is drawn on the 3D model of the target vehicle to generate the target 3D model of the target vehicle. This also makes the color of the target 3D model of the target vehicle match the external environment.
[0082] In some embodiments, step 402 can be implemented in multiple ways, including but not limited to the following:
[0083] Method 1
[0084] If the color with the most pixels is one color, then the color with the most pixels is determined as the target color in the vehicle exterior environment image.
[0085] For example, if the image of the car's exterior environment is a grassy area, the color with the most pixels is only one color, namely grass green. Grass green is then identified as the target color in the image of the car's exterior environment.
[0086] When the color with the most pixels includes only one color, the color with the most pixels is directly determined as the target color in the vehicle exterior environment image. The target color in the vehicle exterior environment image is the dominant color in the vehicle exterior environment image. The color of the target 3D model of the target vehicle can change accordingly with the change of the dominant color in the vehicle exterior environment in which the target vehicle is located. The color of the target 3D model of the target vehicle can match the vehicle exterior environment better, thus improving the matching degree between the color of the target 3D model of the target vehicle and the vehicle exterior environment.
[0087] Method 2
[0088] When the color with the most pixels includes at least two colors, determine the shortest distance between the pixel corresponding to each color with the most pixels and the center pixel of the external environment image; wherein, one color corresponds to one shortest distance; the color with the smallest shortest distance is determined as the target color in the external environment image.
[0089] In an exemplary embodiment, the center pixel of the vehicle exterior environment image refers to the pixel located at the center of the vehicle exterior environment image.
[0090] In an exemplary embodiment, determining the shortest distance between the pixels corresponding to each color with the largest number of pixels and the center pixel of the external environment image may include: performing the following operations for any color with the largest number of pixels: determining the distance between each pixel corresponding to the color with the largest number of pixels and the center pixel of the external environment image; and determining the minimum value of each distance as the shortest distance corresponding to the color with the largest number of pixels.
[0091] For example, the colors with the most pixels include color A and color B. Color A has 100 pixels, and color B also has 100 pixels. The distances between the 100 pixels corresponding to color A and the center pixel of the external environment image are determined, and the minimum of these 100 distances is determined as the shortest distance for color A. Similarly, the distances between the 100 pixels corresponding to color B and the center pixel of the external environment image are determined, and the minimum of these 100 distances is determined as the shortest distance for color B. The shortest distance for color A is 10 pixels, and the shortest distance for color B is 50 pixels. Since the shortest distance for color A is the smallest, color A is determined as the target color in the external environment image.
[0092] When the color with the most pixels includes at least two colors, the shortest distance between the pixels corresponding to each color with the most pixels and the center pixel of the vehicle exterior environment image is determined. Each color corresponds to a shortest distance. The color with the smallest shortest distance is determined as the target color in the vehicle exterior environment image. The color with the smallest shortest distance is closer to the center pixel of the vehicle exterior environment image. When the number of pixels is equal, the color that is closer to the center pixel of the vehicle exterior environment image is more likely to be noticed. The target color in the vehicle exterior environment image is the dominant color in the vehicle exterior environment image. The color of the target 3D model of the target vehicle can change accordingly with the change of the dominant color in the vehicle exterior environment in which the target vehicle is located. The color of the target 3D model of the target vehicle can match the vehicle exterior environment better, thus improving the matching degree between the color of the target 3D model of the target vehicle and the vehicle exterior environment.
[0093] Step 103: Draw the target color from the external environment image onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle.
[0094] In some embodiments, step 103 may include: filling the paint appearance of the 3D model of the target vehicle with the target color from the exterior environment image to generate the target 3D model of the target vehicle. Of course, step 103 may also be implemented in other ways, and this application does not limit it.
[0095] In some embodiments, step 103 includes: when the target vehicle is in a parked state, drawing the target color from the external environment image onto the three-dimensional model of the target vehicle to generate the target three-dimensional model of the target vehicle.
[0096] For example, the target vehicle being in a parked state could mean that the target vehicle is in P gear.
[0097] Currently, cockpit domain controllers include cockpit SoCs (System on Chip). The computing power of the GPU (Graphics Processing Unit) of the cockpit SoC may not be sufficient. When driving, it is necessary to display the dynamic image of the restored world of ADAS (Advanced Driving Assistance System). When the target vehicle is parked, it is not necessary to display the dynamic image of the restored world of ADAS. Instead, the target color in the external environment image is drawn onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle, which can reduce computing power consumption.
[0098] In the future, with the improvement of GPU computing power in cockpit SoCs, it may be possible to draw the target color in the external environment image onto the 3D model of the target vehicle even when the target vehicle is in motion, thereby generating the target 3D model of the target vehicle and eliminating the restriction that the target vehicle is in a parked state.
[0099] Step 104: Display the target 3D car model on the in-vehicle screen of the target vehicle.
[0100] In an exemplary embodiment, the in-vehicle screens include, but are not limited to, the instrument panel screen, the central control screen, and the passenger-side screen.
[0101] In some embodiments, step 104 may include: the cockpit domain controller of the target vehicle sending the target 3D vehicle model to the in-vehicle screen of the target vehicle for display.
[0102] In some embodiments, the target 3D vehicle model on the in-vehicle screen of the target vehicle can rotate 360 degrees and display the target color in the actual external environment image corresponding to the target vehicle.
[0103] In some embodiments, after step 104, the vehicle model display method further includes: obtaining a user's save operation on the target 3D vehicle model; and storing the target 3D vehicle model based on the save operation.
[0104] If a user likes the color effect of the current target 3D car model, they can save the target 3D car model. When the "3D car model color adaptive change" switch is off, the user can choose to display the saved target 3D car model, improving the user experience and satisfaction.
[0105] In summary, this application acquires an image of the external environment of the target vehicle, extracts the target color from the image, and renders the target color onto a 3D model of the target vehicle to generate the target 3D model. When the external environment of the target vehicle changes, the image of the external environment also changes, the target color in the image also changes, and consequently, the color of the target 3D model also changes. That is, the color of the target 3D model can change accordingly with the changes in the external environment of the target vehicle. The target 3D model is then displayed on the in-vehicle screen of the target vehicle. The color of the target 3D model displayed on the in-vehicle screen can change accordingly with the changes in the external environment of the target vehicle. Compared to the user manually selecting the color of the 3D model, this improves the diversity of colors of the 3D model displayed on the in-vehicle screen.
[0106] Exemplary device
[0107] Accordingly, embodiments of this application also provide a car model display device, such as... Figure 5 As shown, the car model display device includes:
[0108] The acquisition unit 501 is used to acquire images of the external environment of the target vehicle;
[0109] Extraction unit 502 is used to extract the target color in the vehicle exterior environment image;
[0110] The generation unit 503 is used to draw the target color in the external environment image onto the three-dimensional model of the target vehicle to generate the target three-dimensional model of the target vehicle.
[0111] Display unit 504 is used to display the target 3D vehicle model on the in-vehicle screen of the target vehicle.
[0112] Optionally, the extraction unit 502 includes:
[0113] The first acquisition subunit is used to acquire the color of each pixel in the image of the vehicle's external environment and determine the number of pixels corresponding to each color.
[0114] The processing subunit is used to determine the target color in the vehicle exterior environment image from the color with the most pixels.
[0115] Optionally, the processing sub-unit is specifically used for:
[0116] If the color with the most pixels includes one color, then the color with the most pixels is determined as the target color in the vehicle exterior environment image;
[0117] When the color with the most pixels includes at least two colors, determine the shortest distance between the pixel corresponding to each of the colors with the most pixels and the center pixel of the vehicle exterior environment image; wherein, one color corresponds to one shortest distance; and determine the color with the smallest shortest distance as the target color in the vehicle exterior environment image.
[0118] Optionally, the acquisition unit 501 includes:
[0119] The second acquisition subunit is used to acquire the original external environment image of the target vehicle;
[0120] The removal subunit is used to remove the pattern of the target object from the original vehicle exterior environment image to obtain the vehicle exterior environment image of the target vehicle; wherein the target object includes a movable object.
[0121] Optionally, sub-units are removed, specifically for:
[0122] Based on the original image of the vehicle's external environment, generate image processing prompts;
[0123] The image processing prompts are input into the large image processing model to obtain an image of the external environment of the target vehicle.
[0124] The image processing prompt is used to instruct the image processing model to remove the pattern of the target object from the original vehicle exterior environment image to obtain the vehicle exterior environment image of the target vehicle.
[0125] Optionally, the generating unit 503 is specifically used for:
[0126] When the target vehicle is parked, the target color from the external environment image is drawn onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle.
[0127] Optionally, the car model display device also includes:
[0128] An operation acquisition unit is used to acquire the user's save operation on the target 3D car model;
[0129] A storage unit is used to store the target 3D car model based on the save operation.
[0130] The car model display device provided in this embodiment belongs to the same concept as the car model display method provided in the above embodiments of this application. It can execute the car model display method provided in any of the above embodiments of this application and has the corresponding functional modules and beneficial effects for executing the car model display method. Technical details not described in detail in this embodiment can be found in the specific processing content of the car model display method provided in the above embodiments of this application, and will not be repeated here.
[0131] The functions implemented by the acquisition unit 501, extraction unit 502, generation unit 503 and display unit 504 can be implemented by the same or different processors, and this application embodiment does not limit them.
[0132] It should be understood that the units in the above device can be implemented by a processor calling software. For example, the device includes a processor connected to a memory containing instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of each unit in the device. The processor can be a general-purpose processor, such as a CPU or microprocessor, and the memory can be internal or external to the device. Alternatively, the units in the device can be implemented as hardware circuits. By designing the hardware circuits, some or all of the unit functions can be implemented. The hardware circuits can be understood as one or more processors. For example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are implemented by designing the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented using a PLD, such as an FPGA, which can include a large number of logic gates. The connection relationships between the logic gates are configured through configuration files to implement the functions of some or all of the above units. All units in the above device can be implemented entirely by a processor calling software, entirely by hardware circuits, or partially by a processor calling software with the remaining parts implemented by hardware circuits.
[0133] In this application embodiment, a processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a CPU, microprocessor, GPU, or DSP. In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. These logical relationships are fixed or reconfigurable. For example, the processor may be a hardware circuit implemented as an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the processor loading instructions to implement the functions of some or all of the above units. Furthermore, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, or DPU.
[0134] As can be seen, each unit in the above device can be one or more processors (or processing circuits) configured to implement the above methods, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0135] Furthermore, the units in the above devices can be integrated in whole or in part, or they can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a System-on-Chip (SoC). The SoC may include at least one processor for implementing any of the above methods or implementing the functions of the units in the device. The at least one processor may be of different types, such as CPU and FPGA, CPU and artificial intelligence processor, CPU and GPU, etc.
[0136] Exemplary electronic devices
[0137] One embodiment of this application discloses an electronic device, see [link to relevant documentation] Figure 6 As shown, the device includes:
[0138] Memory 200 and processor 210;
[0139] The memory 200 is connected to the processor 210 and is used to store programs;
[0140] The processor 210 is used to implement the car model display method disclosed in any of the above embodiments by running the program stored in the memory 200.
[0141] Specifically, the aforementioned electronic device may also include: a bus, a communication interface 220, an input device 230, and an output device 240.
[0142] The processor 210, memory 200, communication interface 220, input device 230, and output device 240 are interconnected via a bus. Among them:
[0143] A bus can include a pathway for transmitting information between various components of a computer system.
[0144] The processor 210 can be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present invention. It can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0145] Processor 210 may include a main processor, as well as a baseband chip, modem, etc.
[0146] The memory 200 stores a program that executes the technical solution of this invention, and may also store an operating system and other key business functions. Specifically, the program may include program code, which includes computer operation instructions. More specifically, the memory 200 may include read-only memory (ROM), other types of static storage devices capable of storing static information and instructions, random access memory (RAM), other types of dynamic storage devices capable of storing information and instructions, disk storage, flash memory, etc.
[0147] Input device 230 may include a device for receiving user input data and information, such as a keyboard, mouse, camera, scanner, light pen, voice input device, touch screen, pedometer, or gravity sensor.
[0148] Output device 240 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0149] The communication interface 220 may include a device that uses any transceiver to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0150] The processor 210 executes the program stored in the memory 200 and calls other devices, and can be used to implement each step of any of the car model display methods provided in the above embodiments of this application.
[0151] In some embodiments, the electronic device may be the cockpit domain controller of the target vehicle or other electronic devices, such as processing devices external to the vehicle's onboard equipment.
[0152] Exemplary vehicle
[0153] One embodiment of this application provides a vehicle that includes the electronic equipment provided in the above embodiments of this application.
[0154] For technical details not described in detail in this embodiment, please refer to the specific processing content of the electronic device provided in the above embodiments of this application, which will not be repeated here.
[0155] Exemplary computer program products and storage media
[0156] In addition to the methods and devices described above, embodiments of this application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the steps in the car model display methods according to various embodiments of this application as described in any of the above embodiments of this specification.
[0157] The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of this application. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0158] Furthermore, embodiments of this application may also be storage media storing a computer program, which is executed by a processor through steps in the car model display method according to various embodiments of this application described above. Specifically, the following steps can be implemented:
[0159] Step 101: Obtain an image of the external environment of the target vehicle.
[0160] Step 102: Extract the target color from the image of the vehicle's external environment.
[0161] Step 103: Draw the target color from the external environment image onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle.
[0162] Step 104: Display the target 3D car model on the in-vehicle screen of the target vehicle.
[0163] For the foregoing method embodiments, in order to simplify the description, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0164] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For apparatus embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0165] The steps in the methods of the various embodiments of this application can be adjusted, merged, or deleted in order according to actual needs, and the technical features described in each embodiment can be replaced or combined.
[0166] The modules and sub-modules in the apparatus and terminal in the various embodiments of this application can be merged, divided, and deleted according to actual needs.
[0167] It should be understood that the disclosed terminals, devices, and methods can be implemented in other ways, given the several embodiments provided in this application. For example, the terminal embodiments described above are merely illustrative. For instance, the division of modules or sub-modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple sub-modules or modules may be combined or integrated into another module, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.
[0168] The modules or submodules described as separate components may or may not be physically separate. The components that constitute a module or submodule may or may not be physical modules or submodules; that is, they may be located in one place or distributed across multiple network modules or submodules. Some or all of the modules or submodules can be selected to achieve the purpose of this embodiment's solution, depending on actual needs.
[0169] Furthermore, the functional modules or sub-modules in the various embodiments of this application can be integrated into one processing module, or each module or sub-module can exist physically separately, or two or more modules or sub-modules can be integrated into one module. The integrated modules or sub-modules described above can be implemented in hardware or in the form of software functional modules or sub-modules.
[0170] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0171] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software unit executed by a processor, or a combination of both. The software unit can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0172] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0173] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for displaying a car model, characterized in that, include: Acquire images of the external environment of the target vehicle; Obtain the color of each pixel in the image of the vehicle's external environment, and determine the number of pixels corresponding to each color; If the color with the most pixels includes one color, then the color with the most pixels is determined as the target color in the vehicle exterior environment image; When the color with the most pixels includes at least two colors, determine the shortest distance between the pixels corresponding to each of the colors with the most pixels and the center pixel of the vehicle exterior environment image; wherein, one color corresponds to one shortest distance; and determine the color with the smallest shortest distance as the target color in the vehicle exterior environment image; The target color in the external environment image is drawn onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle. The target 3D car model is displayed on the in-vehicle screen of the target vehicle.
2. The car model display method according to claim 1, characterized in that, The acquisition of images of the external environment of the target vehicle includes: Obtain the original external environment image of the target vehicle; The pattern of the target object is removed from the original exterior environment image to obtain the exterior environment image of the target vehicle; wherein, the target object includes a movable object.
3. The car model display method according to claim 2, characterized in that, The step of removing the pattern of the target object from the original vehicle exterior environment image to obtain the vehicle exterior environment image of the target vehicle includes: Based on the original image of the vehicle's external environment, generate image processing prompts; The image processing prompts are input into the large image processing model to obtain an image of the external environment of the target vehicle. The image processing prompt is used to instruct the image processing model to remove the pattern of the target object from the original vehicle exterior environment image to obtain the vehicle exterior environment image of the target vehicle.
4. The car model display method according to claim 1, characterized in that, The step of drawing the target color from the external environment image onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle includes: When the target vehicle is parked, the target color from the external environment image is drawn onto the 3D model of the target vehicle to generate the target 3D model of the target vehicle.
5. The car model display method according to claim 1, characterized in that, After displaying the target 3D vehicle model on the in-vehicle screen of the target vehicle, the method further includes: Obtain the user's save operation for the target 3D car model; The target 3D car model is stored based on the save operation.
6. An electronic device, characterized in that, Including memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the vehicle model display method as described in any one of claims 1 to 5 by running the program in the memory.
7. A vehicle, characterized in that, Including the electronic device as described in claim 6.
8. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the vehicle model display method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
System for removing traveling object on road image
JP2003296709A
Device and method for displaying observed color of automobile
JP2005149027A
Method And Apparatus for Real-time Image Based Lighting of 3D Surround View
KR1020240034905A