CN117911248A - Image processing method, device, display screen, equipment and storage medium - Google Patents

Image processing method, device, display screen, equipment and storage medium Download PDF

Info

Publication number
CN117911248A
CN117911248A CN202311739481.3A CN202311739481A CN117911248A CN 117911248 A CN117911248 A CN 117911248A CN 202311739481 A CN202311739481 A CN 202311739481A CN 117911248 A CN117911248 A CN 117911248A
Authority
CN
China
Prior art keywords
color depth
frame rate
target
display screen
initial
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.)
Pending
Application number
CN202311739481.3A
Other languages
Chinese (zh)
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.)
Meta Bounds Inc
Original Assignee
Meta Bounds Inc
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 Meta Bounds Inc filed Critical Meta Bounds Inc
Priority to CN202311739481.3A priority Critical patent/CN117911248A/en
Publication of CN117911248A publication Critical patent/CN117911248A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The present application relates to the field of image processing technologies, and in particular, to an image processing method, an image processing device, a display screen, an electronic device, and a computer readable storage medium. The image processing method comprises the following steps: acquiring an initial image frame rate of a display screen for displaying a target image under an initial color depth; when receiving the color depth editing operation on the display screen, determining the target color depth corresponding to the display screen according to the color depth editing operation; determining an image frame rate ratio according to the initial color depth and the target color depth; determining a target image frame rate of target color depth matching according to the image frame rate ratio and the initial image frame rate; the display screen is controlled to display the target image at the target image frame rate at the initial color depth. The image processing method breaks through the hardware technical level of the display screen of the existing electronic equipment, increases the color depth of the display screen by changing the target image frame rate, and improves the fineness of the picture.

Description

Image processing method, device, display screen, equipment and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an image processing method, an image processing device, a display screen, an electronic device, and a computer readable storage medium.
Background
When the existing display screen of the electronic device leaves the factory, related technical index parameters include: resolution, refresh rate, color depth, etc. have been determined. However, in the existing electronic devices, such as MicroLED used in AR glasses, the difficulty of the manufacturing process is high due to the integration of millions of pixels in a very small silicon wafer, and the color depth which can be realized at present is not high, so that a rough feel can be visually presented. Therefore, on the premise of not changing the technical indexes of delivery, how to break through the hardware technical level of the display screen of the existing electronic equipment, and the improvement of the color depth which can be displayed by the existing display screen becomes a problem to be solved urgently.
Disclosure of Invention
The application provides an image processing method, an image processing device, a display screen, electronic equipment and a computer readable storage medium, so that the color depth of the display screen is increased and the fineness of a display picture of the display screen is improved under the condition that the hardware technical index of the display screen is not changed.
In a first aspect, the present application provides an image processing method, the method comprising:
acquiring an initial image frame rate of a display screen for displaying a target image under an initial color depth, and determining a target color depth corresponding to the display screen;
Determining an image frame rate ratio according to the initial color depth and the target color depth;
Determining a target image frame rate of the target color depth match according to the image frame rate ratio and the initial image frame rate;
and controlling the display screen to display the target image at the target image frame rate under the initial color depth.
In a second aspect, the present application also provides an image processing apparatus, the apparatus comprising:
the first frame rate determining module is used for obtaining an initial image frame rate of a display screen for displaying a target image under an initial color depth;
the color depth determining module is used for determining the target color depth corresponding to the display screen;
The frame rate ratio determining module is used for determining an image frame rate ratio according to the initial color depth and the target color depth;
a second frame rate determining module, configured to determine a target image frame rate at which the target color depth matches according to the image frame rate ratio and the initial image frame rate;
And the image display module is used for controlling the display screen to display the target image at the target image frame rate under the initial color depth.
In a third aspect, the present application also provides a display screen, the display screen including a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute the computer program and implement the image processing method as described above when the computer program is executed.
In a fourth aspect, the present application also provides an electronic device, where the electronic device includes a display screen as described above.
In a fifth aspect, the present application also provides a computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to implement an image processing method as described above.
The application discloses an image processing method, an image processing device, a display screen, electronic equipment and a computer readable storage medium, wherein the method comprises the steps of obtaining an initial image frame rate of a target image displayed by the display screen under an initial color depth, and determining the corresponding target color depth of the display screen; determining an image frame rate ratio according to the initial color depth and the target color depth; determining a target image frame rate of the target color depth match according to the image frame rate ratio and the initial image frame rate; and controlling the display screen to display the target image at the target image frame rate under the initial color depth. In the image processing method, the target color depth of the target image can be reasonably set by a user according to actual needs, the image frame rate ratio is obtained through the initial color depth and the target color depth, further, the target image frame rate is determined according to the image frame rate ratio and the initial image frame rate, when the target color depth set by the user is larger than the initial color depth, the target image frame rate obtained by calculation is larger than the initial image frame rate, and the color depth of the display screen is increased when the display screen is controlled to display the target image at the target image frame rate under the initial color depth, so that the hardware technical level of the display screen of the existing electronic equipment is broken through, and the image fineness is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic block diagram of a display screen according to an embodiment of the present application;
FIG. 2 is a schematic block diagram of an electronic device according to an embodiment of the present application;
FIG. 3 is a schematic flow chart of an image processing method provided by an embodiment of the present application;
FIG. 4 is a schematic flow chart of another image processing method provided by an embodiment of the present application;
Fig. 5 is a schematic flowchart of an image processing method of a display screen of an AR glasses device according to an embodiment of the present application;
FIG. 6 is a diagram showing the effect of a target image with a color depth of 1bit reaching a color depth of 4 bits according to an embodiment of the present application;
fig. 7 is a diagram showing the effect of a target image with a color depth of 4 bits reaching a color depth of 8 bits according to an embodiment of the present application.
Fig. 8 is a block diagram schematically illustrating a structure of an image processing apparatus according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
It is to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Embodiments of the present application provide an image processing method, a display screen, an electronic device, and a computer-readable storage medium. The image processing method can be applied to the electronic equipment, particularly to a display screen of the electronic equipment, and the color depth of the display screen is increased by increasing the image frame rate of the target image. The electronic device may include, but is not limited to, augmented reality (Augmented Reality, AR) glasses, virtual Reality (VR) glasses, smart robots, etc.
Referring to fig. 1, fig. 1 is a schematic block diagram of a display 100 according to an embodiment of the present application. In fig. 1, the display 100 includes a processor 1001 and a memory 1002, where the processor 1001 and the memory 1002 are connected by a bus, such as any suitable bus, for example, an integrated circuit (Inter-INTEGRATED CIRCUIT, I2C) bus.
The memory 1002 may include a storage medium and an internal memory, among others. The storage medium may be a volatile storage medium or a nonvolatile storage medium. The storage medium may store an operating system and a computer program. The computer program comprises program instructions which, when executed, cause the processor 1001 to perform any of the image processing methods of the embodiments of the present application.
The processor 1001 is used to provide computing and control capabilities to support the operation of the entire display 100.
The processor 1001 may be a central processing unit (Central Processing Unit, CPU), which may also be a general purpose processor, a digital signal processor (DIGITAL SIGNAL processor, DSP), an Application SPECIFIC INTEGRATED Circuit (ASIC), a field-programmable gate array (field-programmable GATE ARRAY, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or other type of processor. The general purpose processor may be a microprocessor or a general purpose processor, any conventional processor, or the like.
The processor 1001 is configured to execute a computer program stored in the memory 1002, and when executing the computer program, implement the following steps:
Acquiring an initial image frame rate of a display screen for displaying a target image under an initial color depth, and determining a target color depth corresponding to the display screen; determining an image frame rate ratio according to the initial color depth and the target color depth; determining a target image frame rate of target color depth matching according to the image frame rate ratio and the initial image frame rate; the display screen is controlled to display the target image at the target image frame rate at the initial color depth.
In one embodiment, the processor 1001 is configured to, when controlling the display screen to display a target image at a target image frame rate at an initial color depth, implement:
Determining first gray information, wherein the first gray information is gray information of a target image displayed under a target color depth; determining second gray information of the display target image under the initial color depth according to the first gray information; and displaying the target image according to the second gray level information.
In one embodiment, the processor 1001 is configured to, when determining the second gray information of the display target image at the initial color depth based on the first gray information, implement:
Acquiring each first gray value of the first gray information and a first position corresponding to each first gray value; determining a second gray value and a second position of each first gray value under the initial color depth according to each first gray value and a first position corresponding to each first gray value; and determining second gray information according to the second gray value and the second position corresponding to each first gray value.
In one embodiment, the processor 1001 is further configured to, when determining the second gray value and the second position of each of the first gray values at the initial color depth according to each of the first gray values and the first position corresponding to each of the first gray values, implement:
Determining a second position of each first gray value under the initial color depth according to the first position corresponding to each first gray value; carrying out the binary processing on each first gray value to obtain an initial gray value corresponding to each first gray value; determining a target gray value of each initial gray value under the initial color depth according to the target image frame rate; and carrying out the system processing on each target gray value to obtain the second gray value corresponding to each target gray value.
In one embodiment, the processor 1001 is configured to, when determining a target image frame rate for which the target color depth matches based on the image frame rate ratio and the initial image frame rate, implement:
And multiplying the image frame rate ratio by the initial image frame rate to obtain a target image frame rate.
In one embodiment, the processor 1001 is configured to, when determining the target color depth corresponding to the display screen, implement:
Performing a color depth editing operation on the display screen, wherein the color depth editing operation can be at least one of a voice operation and a manual input; and determining the target color depth corresponding to the display screen according to the color depth editing operation.
In one embodiment, the target image comprises at least one frame sub-image, and the processor 1001 is configured to, when controlling the display screen to display the target image at the target image frame rate at the initial color depth, implement:
And determining the display sequence of the at least one frame of sub-image, and controlling the display screen to display the at least one frame of sub-image at the target image frame rate under the initial color depth according to the display sequence.
Referring to fig. 2, fig. 2 is a schematic block diagram of an electronic device 200 according to an embodiment of the application. In fig. 2, the electronic device 200 includes a processor 2001 and a memory 2002, wherein the processor 2001 and the memory 2002 are connected by a bus, such as any suitable bus, for example, an integrated circuit (Inter-INTEGRATED CIRCUIT, I2C) bus.
Memory 2002 may include, among other things, storage media and internal memory. The storage medium may be a volatile storage medium or a nonvolatile storage medium. The storage medium may store an operating system and a computer program. The computer program comprises program instructions which, when executed, cause the processor 2001 to perform any one of the image processing methods according to the embodiments of the present application.
Processor 2001 is used to provide computing and control capabilities to support the operation of the overall electronic device 200.
The processor 2001 may be a central processing unit (Central Processing Unit, CPU), which may also be a general purpose processor, a digital signal processor (DIGITAL SIGNAL processor, DSP), an Application SPECIFIC INTEGRATED Circuit (ASIC), a field-programmable gate array (field-programmable GATE ARRAY, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The general purpose processor may be a microprocessor or a general purpose processor, any conventional processor, or the like.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 3, fig. 3 is a schematic flowchart of an image processing method according to an embodiment of the application. The image processing method can be applied to the display screen and used for improving the color depth of the display screen by increasing the image frame rate of the target image.
As shown in fig. 3, the image processing method specifically includes steps S301 to S305.
S301, acquiring an initial image frame rate of a display screen for displaying a target image under an initial color depth.
Specifically, the electronic device obtains an initial image frame rate of a display screen of the electronic device for displaying a target image under an initial color depth through a technical index parameter interface of the electronic device. In addition, the user can obtain the initial image frame rate of the display screen of the electronic device for displaying the target image at the initial color depth by referring to the factory setting specification of the electronic device.
It should be noted that, the specific manner of obtaining the initial image frame rate of the display screen for displaying the target image at the initial color depth is not limited herein.
The user may open a technical index parameter interface in the electronic device to which the display screen belongs by means of manual operation, voice input or the like, and query a parameter value of an initial image frame rate in the technical index parameter interface, so as to obtain the initial image frame rate at which the display screen of the electronic device can display an image, where the electronic device may be an AR glasses, a VR glasses, an intelligent robot or the like.
The user may open a technical index parameter interface in the electronic device by manual operations, such as manual clicking, manual touch, and the like, where the technical index parameter interface is displayed on the display screen, and the user may query an initial image frame rate of an image that may be displayed on the display screen through the technical index parameter interface displayed on the display screen. In addition, the user can also input through voice, for example, the user sends out a voice instruction: if the image frame rate is to be queried, the electronic equipment automatically pops up the technical index parameter interface on the display screen of the electronic equipment after receiving the voice command of the user, the user can query the initial image frame rate of the image to be 4hz or 8hz or other suitable frame rate values on the technical index parameter interface, and then the initial image frame rate of the display screen for displaying the target image at the initial color depth to be 4hz or 8hz or other suitable frame rate values are obtained.
It should be noted that the initial color depth and the initial image frame rate of the display screen are technical index parameters that have been determined when the electronic device leaves the factory.
S302, determining the target color depth corresponding to the display screen.
For example, the target color depth corresponding to the display screen may be determined by performing a color depth processing operation on the display screen according to the color depth processing operation.
Illustratively, a color depth editing operation is performed on the display screen, wherein the color depth editing operation can be at least one of a voice command and a manual input, and a target color depth corresponding to the display screen is determined according to the color depth editing operation. More specifically, the manual input may be a manual click, a manual touch, or the like.
When the color depth of the display screen is required to be modified, the user receives the color depth editing operation of the display screen, and the user can execute the color depth editing operation in a voice command mode, a manual click mode, a manual touch mode and the like and determine the target color depth of the display screen according to the color depth editing operation.
For example, the initial color depth of the image that can be displayed by the display screen is 1bit, the picture display is rough, in order to improve the color depth of the display screen, the user receives a color depth editing operation that improves the color depth of the image that can be displayed by the display screen from 1bit to other bits, for example, to 4bit, 8bit or other suitable color depth. Taking the example that the color depth of the image is increased from 1bit to 4 bits, according to the color depth editing operation, the target color depth corresponding to the display screen is determined to be 4 bits.
It should be noted that, the modification to the color depth of the display screen may be to increase the color depth of the display screen or decrease the color depth of the display screen, so as to obtain the target color depth, which may be specifically set according to the specific situation, and is not limited herein. The embodiment of the application mainly describes the specific implementation step for improving the color depth of the display screen in the image processing method in detail, and of course, it can be understood that the specific implementation step for improving the color depth of the display screen can be similarly applied to reducing the color depth of the display screen.
S303, determining an image frame rate ratio according to the initial color depth and the target color depth.
Illustratively, the image frame rate ratio is determined by dividing the target color depth of the display screen by the initial color depth.
For example, if the target color depth is 4 bits and the initial color depth is 1bit, the image frame rate ratio is 4 by dividing the target color depth and the initial color depth of the display screen.
S304, determining a target image frame rate of matching the target color depth according to the image frame rate ratio and the initial image frame rate.
Specifically, the target image frame rate may be calculated from both the image frame rate ratio and the initial image frame rate.
Illustratively, the target image frame rate is obtained by multiplying the image frame rate ratio and the initial image frame rate according to the calculated image frame rate ratio and the initial image frame rate. For example, if the image frame rate ratio is 4 and the initial image frame rate is 4hz, the image frame rate ratio and the initial image frame rate are multiplied to obtain the target image frame rate of 16hz.
It should be noted that, the specific values of the image frame rate ratio and the initial image frame rate may be reasonably determined according to specific situations, which is not limited herein.
S305, controlling the display screen to display the target image at the target image frame rate under the initial color depth.
Specifically, when a target image is displayed on a display screen at a target image frame rate at an initial color depth, the target image includes at least one frame of sub-image, each of which is identical except that the second gray level information may be different.
In an embodiment, a display order of the at least one frame sub-image is determined, and the display screen is controlled to display the at least one frame sub-image at the target image frame rate at the initial color depth in accordance with the display order.
For example, if the target image frame rate is 16, the target image includes 16 sub-images, wherein the first gray information of the 16 target images may be different, but the picture contents of the 16 target images are the same except for the first gray information. Then, a display order of 16-frame sub-images needs to be determined, and the display screen is controlled to display the 16-frame sub-images at the target image frame rate under the initial color depth according to the display order.
Specifically, before the target image is displayed at the target image frame rate at the initial color depth, at least one frame of sub-images is ordered, for example, the target image includes 16 frames of sub-images, and the 16 frames of sub-images may be ordered to obtain the display order of the 16 frames of sub-images. In addition, when 16 sub-images are displayed in the display screen in sequence, the display sequence of each sub-image is recorded, the display sequence of the 16 sub-images is determined, and the display screen is controlled to display the target image at the target image frame rate under the initial color depth according to the display sequence.
It will be understood, of course, that the number of frames in which the target image includes sub-images may be appropriately set according to the specific circumstances, and that the 16-frame sub-images are used for exemplary purposes only and are not limited in any way to the number of sub-images.
It should be noted that, at least one sub-image in the target image is sequentially arranged according to the sequence, and the sequence of displaying a certain sub-image is not fixed, when each sub-image in the target image frame rate is displayed for the first time on the display screen, and the higher or lower bit image display effect is achieved, each sub-image can appear in any sequence, but after the second and third times. Otherwise, the display screen cannot completely display the target image with higher or lower bit color depth, and the picture of the target image with the target color depth seen by the user on the display screen of the electronic device can be in the conditions of intermittent or uneven color and the like, so that the watching experience of the user is reduced.
For example, if the initial color depth of the target image is 1bit and the target image frame rate is 16, the display screen displays the target image at the target image frame rate at the initial color depth, and the target image includes 16 sub-images, wherein each sub-image is identical except for the second gray level information. If the 16-frame 1-bit sub-images at the initial color depth are respectively marked as (a, B, C, D, E.,. P.), the display sequence of the 16-frame 1-bit sub-images at the initial color depth is sequentially: (a-1, B-2, C-3, d-4, e-5,..p-16), wherein a-1 represents a first display of sub-image a on the display screen, B-2 represents a second display of sub-image B on the display screen, and C-3, d-4, e-5,..p-16 represents a third, fourth, fifth, and sixteenth display of the corresponding sub-image in that order in the display screen. The display screen is sequentially and rapidly refreshed and displayed according to the display sequence (A-1, B-2, C-3, D-4, E-5, the first-order, P-16) of the 16-frame 1-bit sub-images so as to achieve the display effect of the 4-bit target image. It should be noted that the display sequence of the 16-frame 1-bit sub-images is as follows: (a-1, B-2, c-3, D-4, e-5,., P-16) is not solely fixed, and the display order of the 16-frame 1-bit sub-images may also be (B-1, D-2, c-3, a-4, e-5,., H-16), or (D-1, a-2, c-3, B-4, e-5, f-6,., P-16), or the like. That is, the display order of the 16-frame 1-bit sub-images may be any order, but once the display order of the 16-frame 1-bit sub-images is determined, the 16-frame 1-bit sub-images at the initial color depth are sequentially refreshed in the display screen in the display order after the 16-frame 1-bit sub-images are determined. It will be appreciated that the initial color depth of the target image of 1bit and the target image frame rate of 16 are merely exemplary illustrations of displaying the target image at the target color depth, and that the target image frame rate may be any other suitable value as appropriate.
According to the image processing method provided by the embodiment, the initial image frame rate of the target image displayed by the display screen under the initial color depth is obtained; when receiving the color depth editing operation on the display screen, determining the target color depth corresponding to the display screen according to the color depth editing operation; determining an image frame rate ratio according to the initial color depth and the target color depth; determining a target image frame rate of target color depth matching according to the image frame rate ratio and the initial image frame rate; the display screen is controlled to display the target image at the target image frame rate at the initial color depth. The image processing method determines a target image frame rate by the image frame rate ratio and the initial image frame rate, and displays a target image on a display screen at the target image frame rate. On the premise of not changing the technical index parameters of the electronic equipment, the color depth of the display screen is increased, the hardware technical level of the display screen of the existing electronic equipment is broken through, and the fineness of the picture is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of another image processing method according to an embodiment of the present application. As shown in fig. 4, the image processing method specifically includes steps S401 to S404.
S401, controlling the display screen to display the target image at the target image frame rate under the initial color depth.
Specifically, the number of frames of sub-images in the target image at the target image frame rate is determined according to the target image frame rate, wherein the target image includes at least one frame of sub-images, each frame of sub-image being identical except for the second gray level information.
In an exemplary embodiment, a display order of the at least one frame sub-image is determined, and the display screen is controlled to display the at least one frame sub-image at the target image frame rate at the initial color depth in accordance with the display order.
S402, determining first gray scale information.
Specifically, the first gradation information is gradation information of a display target image at a target color depth.
In some embodiments, the gray information of the target image at the target color depth may be extracted by a programming language in the embedded software, such as c language, c++, etc., to obtain the first gray information, where the target image at the target color depth may be obtained by a User Interface (UI) or other image design tools, and after obtaining the target image at the target color depth, the gray information of the target image at the target color depth may be extracted by the programming language, c language, c++, etc.
For example, if a target image at a target color depth is obtained according to a User Interface design (UI) or other image design tools, where the target color depth is 4 bits, the target image at the target color depth is associated with embedded software, and gray information is extracted according to a programming language, such as c language, c++, and the like, to obtain first gray information, where the first gray information may be represented in the form of an array, specifically [7,2,4,6, a.4 ], where each number in the array represents each first gray value in the target image.
S403, determining second gray scale information of the display target image under the initial color depth according to the first gray scale information.
For example, after determining the first gray information of the target image at the target color depth, the second gray information of the target image at the initial color depth may be obtained according to the first gray information.
In some embodiments, each first gray value of the first gray information and a first position corresponding to each first gray value may be acquired; determining a second gray value and a second position of each first gray value under the initial color depth according to each first gray value and a first position corresponding to each first gray value; and determining second gray information according to the second gray value and the second position corresponding to each first gray value.
For example, if the first gray information of the target image at the target color depth is represented in the form of an array, where each number in the array represents a first gray value, each number represents a first position corresponding to the first gray value, where the length of the array is determined by the number of the first gray values of the target image at the specific target color depth, which may be 200×200, or 640×480, or the like, where if the first gray information of the target image at the target color depth is represented in the form of an array with 640×480 numbers, that is, 307200, where the length of the array is 307200, which represents 640 gray values on the long side and 480 gray values on the short side of the target image, the gray value of the entire target image is 307200.
For example, for each first gray value calibration position in the target image under the target color depth, that is, the first position corresponding to the first gray value, where the first position corresponding to each first gray value may be represented in a coordinate form, for example, a center point of the target image under the target color depth may be taken as an origin, a horizontal direction of the center point may be rightward taken as a positive direction of an x-axis, a vertical direction of the center point may be upward taken as a positive direction of a y-axis, or a lower left corner of the target image under the target color depth may be taken as an origin, a horizontal direction of a lower left corner may be rightward taken as a positive direction of the x-axis, a vertical direction of a lower left corner may be upward taken as a positive direction of the y-axis, and specific origin of coordinates and positive directions of the x-axis and the y-axis may be reasonably set according to circumstances, without limitation.
It should be noted that, the use of an array to represent the first gray information, and each number in the array represents the first gray value and the representation of the first position for each gray value pair in the form of coordinates is merely illustrative for easy understanding, and it should be understood that the first gray information, the first gray value, and the first position may be represented in any other reasonable representation, and are not limited herein.
For example, the first gray information may be extracted according to a programming language in the embedded software, and each first gray value of the first gray information and a first position corresponding to each first gray value may be determined. Assuming that the first gradation information of the target image at the acquired target color depth is [7,2,4,6,..4 ], the lower left corner of the target image is taken as the origin, the horizontal direction of the lower left corner is rightward taken as the positive direction of the x-axis, and the vertical direction of the lower left corner is upward taken as the positive direction of the y-axis, each first gradation value of the first gradation information is 7,2,4,6,..4, respectively, and the first positions corresponding to each first gradation value of the first gradation information are recorded as (1, 1), (1, 2), (1, 3), (1, 4), (100, 150) in order. It should be noted that, in the present application, the same coordinates are used to respectively represent the first position of each first gray value and the second position of each second gray value, which are not described herein.
Illustratively, taking an initial color depth of 1bit and an initial image frame rate of 4hz as an example of the obtained target image in the display screen, the target is the display effect of the target image under the target color depth of 4 bits in the display screen. Then the display effect of the target image at the target color depth of 4 bits can be achieved by calculating the sub-image that requires 16 frames of initial color depth of 1 bit. The gray value of each sub-image of the 16 frames with the initial color depth of 1bit is then further processed.
Specifically, a second gray value and a second position of each first gray value at the initial color depth are determined according to each first gray value and a first position corresponding to each first gray value. For example, if the first gray value in the first gray information of the target image at the target color depth is 7, the first position corresponding to the first gray value is (1, 1), the second gray value of the 7-frame 1-bit sub-image in the 16-frame 1-bit sub-image is 1, the second gray value of the remaining 9-frame 1-bit sub-images is 0, the second position where the second gray value is located corresponds to the first position, the second position is also (1, 1), and the coordinate information of each of the 16-frame 1-bit sub-images is the position where (1, 1) is located. Then, a first gray value 2 in the first gray information is extracted, a first position (1, 2) corresponding to the first gray value 2 is determined, a second gray value and a second position of a target image of 1bit of each frame in the 16-frame 1bit sub-images are determined according to the first gray value 2 and the first position (1, 2), namely, the second gray value of any 2-frame 1bit sub-image in the 16-frame 1bit sub-images is 1, and the second gray value of the rest 14-frame 1bit sub-images is 0. And similarly, sequentially extracting the remaining first gray values and the first positions corresponding to the first gray values in the first gray information, and determining the second gray values and the second positions of the first gray values under the initial color depth according to the first gray values and the first positions corresponding to the first gray values until all the second gray values and the second positions in the second gray information are determined according to all the first gray values and the first positions corresponding to the first gray values in the first gray information.
S404, displaying the target image according to the second gray level information.
For example, after the second gray level information is determined according to the first gray level information, at least one sub-image corresponding to the determined second gray level information is displayed in the display screen at the target image frame rate under the initial color depth.
For example, if the initial color depth of the target image in the display screen is 1bit and the initial image frame rate is 4hz, 16 frames of sub-images with the initial color depth of 1bit are required to achieve the display effect of the target image at the target color depth of 4 bits in the display screen. After determining the second gray information of the sub-image with the initial color depth of 1bit in 16 frames according to the first gray information of the target image with the target color depth of 4 bits, refreshing the sub-image with the initial color depth of 1bit in 16 frames on a display screen in sequence, obtaining the display effect of the target image with the target color depth of 4 bits on the display screen, and referring to fig. 6, a specific display effect diagram of the target image with the target color depth of 1bit reaching the target image with the color depth of 4 bits can be referred to.
It should be noted that fig. 6 shows a schematic display effect diagram of 8-frame sub-images with 1bit color depth, and according to the above image frame rate ratio and the initial image frame rate, the actual 1-bit sub-image should be 16 frames to achieve the display effect of the 4-bit color depth target image.
The above embodiment provides another image processing method, after determining the target image frame rate at which the target color depth matches, determining first gray information, where the first gray information is gray information of the target image displayed at the target color depth; determining second gray information of the display target image under the initial color depth according to the first gray information; and displaying the target image according to the second gray level information. In the image processing method, at least one frame sub-image at a corresponding frame rate is determined according to a target image frame rate. And determining second gray level information of at least one frame of sub-image through the first gray level information, and displaying at least one frame of sub-image on the display screen according to the display sequence on the premise of determining the display sequence of at least one frame of sub-image in the display screen, so that the color depth of the display screen is increased, the display effect of the target image under the target color depth can be achieved, and the visual experience of a user is improved.
Specifically, taking a display screen in an AR glasses device as an example, an image processing method of the display screen of the AR glasses device is specifically analyzed. Referring to fig. 5, fig. 5 is a schematic flowchart of an image processing method of a display screen of an AR glasses device according to an embodiment of the present application. Specifically, the method comprises steps S501 to S505.
S501, acquiring an initial image frame rate of a target image.
By way of example, the user may obtain an initial image frame rate at which the display screen displays the target image at the initial color depth by querying a technical index parameter field in the specification of the display screen of the AR glasses device, and may also obtain the initial color depth of the target image. Assume that the initial image frame rate obtained by the user is 1hz, and the initial color depth of the obtained target image is 4 bits. Of course, any other suitable values for the initial image frame rate and the initial color depth are possible, and are not limited in this regard. In addition, the user can also obtain the initial image frame rate of the display screen of the AR glasses device by clicking, touching or voice calling the AR glasses device and opening a technical index parameter page of the AR glasses device.
S502, determining the target color depth.
For example, the user may obtain the target color depth corresponding to the display screen of the AR glasses device according to the color depth editing operation, and to improve the color depth of the display screen of the AR glasses device, it may be assumed that the color depth of the display screen of the AR glasses device is improved to 8 bits.
It will be understood, of course, that the color depth of the display screen of the AR glasses device may be increased to any other suitable color depth value such as12 bit, 16bit, etc.
S503, determining an image frame rate ratio.
Specifically, the image frame rate ratio may be determined from an initial color depth and a target color depth of a display screen of the AR glasses apparatus.
For example, if the initial color depth of the display screen of the AR glasses apparatus is 4 bits and the target color depth is 8 bits, the image frame rate ratio is 2 by dividing the target color depth and the initial color depth.
S504, determining a target image frame rate.
Specifically, a target image frame rate of the display screen of the AR glasses device is determined from an initial image frame rate to image frame rate ratio of the display screen of the AR glasses device.
Illustratively, the target image frame rate may be obtained by multiplying the initial image frame rate and the image frame rate ratio of the display screen of the AR glasses device. If the initial image frame rate of the display screen of the AR glasses device is 1hz and the image frame rate ratio is 2, the target image frame rate of the display screen of the AR glasses device is 2hz according to the product result of the initial image frame rate and the image frame rate ratio.
S505, displaying the target image on a display screen.
For example, the first gray information of the target image displayed on the display screen of the AR glasses apparatus is determined, where the first gray information is the gray information of the target image displayed at the target color depth, and may be the gray information of the target image displayed at the target color depth of 8 bits. And determining second gray information of the display target image under the initial color depth according to the first gray information, wherein the initial color depth can be 4bit initial color depth, namely determining second gray information of the display target image when the initial color depth is 4bit according to the first gray information of the display target image when the target color depth is 8 bit.
Specifically, an image with a target color depth of 8 bits can be obtained through a UI, the image with the target color depth of 8 bits is associated with embedded software, first gray information of the image with the target color depth of 8 bits is extracted through proper programming languages such as c language, java and the like in the embedded software, and second gray information is determined according to the extracted first gray information.
In some embodiments, each first gray value of the first gray information and a first position corresponding to each first gray value are acquired; determining a second position of each first gray value under the initial color depth according to the first position corresponding to each first gray value; carrying out the binary processing on each first gray value to obtain an initial gray value corresponding to each first gray value; determining a target gray value of each initial gray value under the initial color depth according to the target image frame rate; and carrying out the system processing on each target gray value to obtain the second gray value corresponding to each target gray value. And determining second gray information according to the second gray value and the second position corresponding to each first gray value.
It should be noted that, the above-mentioned method for performing the binary processing on each of the first gray values to obtain an initial gray value and performing the binary processing on each of the target gray values to obtain a second gray value may be any suitable binary processing method such as binary processing, decimal processing, etc., and a suitable binary processing method may be selected according to the specific situation.
For example, if the frame rate of the target image is 2, the target image includes 2 sub-images, and if the first gray value in the first gray information of the image extracted by the embedded software and having the target color depth of 8 bits is 77, the first position corresponding to the first gray value is recorded, and if the first position is (3, 4), the second position of the first gray value at the initial color depth, that is, the second position of the first gray value at the initial color depth is also (3, 4) according to the first position (3, 4) corresponding to the first gray value. Binary processing is carried out on the first gray value 77, so that an initial gray value corresponding to the first gray value 77 is 01001101, bit0 to bit3 and bit4 to bit7 in the initial gray value are respectively extracted, and a target gray value corresponding to the initial gray value 01001101 is 1101 and 0100 respectively. The target gray values corresponding to the first gray value are 1101 and 0100, respectively. Decimal processing is performed on the two target gray values, so that second gray values 13 and 4 corresponding to the two target gray values 1101 and 0100 are obtained respectively. The two second gray values 13 and 4 are respectively used as the second gray values of the corresponding second positions (3, 4) of the sub-image with the initial color depth of 4 bits of 2 frames. And performing the same treatment on other first gray values in the first gray information of the image with the target color depth of 8 bits until the second gray values of the sub-images with the initial color depth of 4 bits of 2 frames are all set according to the first gray values, ending the setting of the second gray values, and determining the second gray information of the sub-images with the initial color depth of 4 bits of 2 frames.
Illustratively, after determining the second gray scale information, determining a display order of at least one frame sub-image at the target image frame rate; controlling the display screen to display images at the target image frame rate under the initial color depth according to the display sequence, for example, after the second gray level information of the sub-images with the initial color depth of 4 bits of 2 frames is determined, determining the sequence of the sub-images with the initial color depth of 4 bits of 2 frames is needed, and assuming that the sub-images with the initial color depth of 4 bits of 2 frames are respectively a sub-image A and a sub-image B, wherein only the second gray level information of the sub-images A and B may be different. The display order of the sub-images with the initial color depth of 4 bits of 2 frames can be A and B; the display sequence of the sub-images with the initial color depth of 4 bits can be set arbitrarily, but when the display sequence is determined, the display sequence cannot be changed when the sub-images are displayed on the display screen of the AR glasses device in a rapid cycle mode, so that the display effect of the 8bit target color depth can be achieved, otherwise, color non-uniformity or intermittent picture display effect of the expected 8bit target color depth cannot be achieved on the display screen of the AR glasses device, and a specific display effect diagram of the target image with the color depth of 4 bits reaching the 8bit color depth can be referred to as fig. 7.
In the image processing method for the display screen of the AR glasses apparatus provided in the above embodiment, the target image frame rate is further obtained according to the image frame rate ratio and the initial image frame rate by determining the initial image frame rate and the initial color depth of the target image displayable by the display screen of the AR glasses apparatus, determining the target color depth displayable by the display screen, determining the image frame rate ratio according to the target color depth and the initial color depth. And finally, determining second gray level information of each sub-image of the target image at the target image frame rate according to the first gray level information. And displaying the sub-image after the determination of the second gray level information in the display screen at the target image frame rate. Under the condition that the factory color depth parameter value of the display screen of the AR glasses device is not changed, the color depth of the display screen of the AR glasses device is greatly increased.
Referring to fig. 8, fig. 8 is an image processing apparatus according to an embodiment of the present application, which is configured to perform the foregoing image processing method. The image processing device can be configured on a display screen.
As shown in fig. 8, the image processing apparatus includes: a first image frame rate determination module 801, a color depth determination module 802, a frame rate ratio determination module 803, a second frame rate determination module 804, an image display module 805.
The first image frame rate determining module 801 is configured to obtain an initial image frame rate at which the display screen displays the target image at the initial color depth.
The color depth determining module 802 is configured to determine a target color depth corresponding to the display screen.
The frame rate ratio determining module 803 is configured to determine an image frame rate ratio according to the initial color depth and the target color depth.
The second frame rate determining module 804 is configured to determine a target image frame rate at which the target color depth matches according to the image frame rate ratio and the initial image frame rate.
The image display module 805 is configured to control the display screen to display the target image at the target image frame rate at the initial color depth.
In some embodiments, the first image frame rate determining module 801 is specifically configured to:
an initial image frame rate at which the display screen displays the target image at an initial color depth is obtained.
In some embodiments, the color depth determination module 802 is specifically configured to:
Performing a color depth editing operation on the display screen, wherein the color depth editing operation can be at least one of a voice operation and a manual input; and determining the target color depth corresponding to the display screen according to the color depth editing operation.
In some embodiments, the frame rate ratio determining module 803 is specifically configured to:
Determining an image frame rate ratio according to the initial color depth and the target color depth;
in some embodiments, the second frame rate determination module 804 is specifically configured to:
determining a target image frame rate of the target color depth match according to the image frame rate ratio and the initial image frame rate; and multiplying the image frame rate ratio by the initial image frame rate to obtain the target image frame rate.
In some embodiments, the image display module 805 is specifically configured to:
Controlling the display screen to display the target image at the target image frame rate at the initial color depth; determining first gray information, wherein the first gray information is gray information of displaying the target image under the target color depth; acquiring each first gray value of the first gray information and a first position corresponding to each first gray value; determining a second gray value and a second position of each first gray value under the initial color depth according to each first gray value and a first position corresponding to each first gray value; and determining the second gray information according to the second gray value and the second position corresponding to each first gray value. And displaying the target image according to the second gray level information.
In some embodiments, the image display module 805 is specifically further configured to:
Determining a second position of each first gray value under the initial color depth according to the first position corresponding to each first gray value; carrying out the binary processing on each first gray value to obtain an initial gray value corresponding to each first gray value; determining a target gray value of each initial gray value under the initial color depth according to the target image frame rate; and carrying out the system processing on each target gray value to obtain the second gray value corresponding to each target gray value.
In some embodiments, the target image includes at least one frame of sub-image, and the image display module 805 is specifically further configured to:
And determining the display sequence of the at least one frame of sub-image, and controlling the display screen to display the at least one frame of sub-image at the target image frame rate under the initial color depth according to the display sequence.
It should be noted that, for convenience and brevity of description, the specific working process of the apparatus and each module described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program comprises program instructions, and a processor executes the program instructions to realize any one of the image processing methods provided by the embodiment of the application. For example, the computer program is loaded by a processor, the following steps may be performed:
Acquiring an initial image frame rate of a display screen for displaying a target image under an initial color depth, and determining a target color depth corresponding to the display screen; determining an image frame rate ratio according to the initial color depth and the target color depth; determining a target image frame rate of target color depth matching according to the image frame rate ratio and the initial image frame rate; the display screen is controlled to display the target image at the target image frame rate at the initial color depth.
The computer readable storage medium may be an internal storage unit of the computer device of the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of a computer device, such as a plug-in hard disk provided on the computer device, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), or the like.
The present application is not limited to the above embodiments, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the present application, and these modifications and substitutions are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (11)

1. An image processing method, comprising:
acquiring an initial image frame rate of a display screen for displaying a target image under an initial color depth, and determining a target color depth corresponding to the display screen;
Determining an image frame rate ratio according to the initial color depth and the target color depth;
Determining a target image frame rate of the target color depth match according to the image frame rate ratio and the initial image frame rate;
and controlling the display screen to display the target image at the target image frame rate under the initial color depth.
2. The image processing method according to claim 1, wherein the controlling the display screen to display a target image at the target image frame rate at the initial color depth includes:
Determining first gray information, wherein the first gray information is gray information of displaying the target image under the target color depth;
determining second gray scale information for displaying the target image at the initial color depth according to the first gray scale information;
And displaying the target image according to the second gray level information.
3. The image processing method according to claim 2, wherein the determining, based on the first gray information, second gray information for displaying the target image at the initial color depth includes:
Acquiring each first gray value of the first gray information and a first position corresponding to each first gray value;
Determining a second gray value and a second position of each first gray value under the initial color depth according to each first gray value and the first position corresponding to each first gray value;
and determining the second gray level information according to the second gray level value and the second position corresponding to each first gray level value.
4. The image processing method according to claim 3, wherein the determining a second gray value and a second position of each of the first gray values at the initial color depth from each of the first gray values and the first positions to which each of the first gray values corresponds further comprises:
Determining a second position of each first gray value under the initial color depth according to the first position corresponding to each first gray value;
carrying out the binary processing on each first gray value to obtain an initial gray value corresponding to each first gray value;
Determining a target gray value of each initial gray value under the initial color depth according to the target image frame rate;
and carrying out the system processing on each target gray value to obtain the second gray value corresponding to each target gray value.
5. The image processing method according to claim 1, wherein the determining the target image frame rate at which the target color depth matches based on the image frame rate ratio and the initial image frame rate includes:
And multiplying the image frame rate ratio by the initial image frame rate to obtain the target image frame rate.
6. The image processing method according to claim 1, wherein the determining the target color depth corresponding to the display screen includes:
performing a color depth editing operation on the display screen, wherein the color depth editing operation can be at least one of a voice operation and a manual input;
and determining the target color depth corresponding to the display screen according to the color depth editing operation.
7. The image processing method of claim 1, wherein the target image comprises at least one frame sub-image, the controlling the display screen to display the target image at the target image frame rate at the initial color depth, the method further comprising:
And determining the display sequence of the at least one frame of sub-image, and controlling the display screen to display the at least one frame of sub-image at the target image frame rate under the initial color depth according to the display sequence.
8. An image processing apparatus, comprising:
the first frame rate determining module is used for obtaining an initial image frame rate of a display screen for displaying a target image under an initial color depth;
the color depth determining module is used for determining the target color depth corresponding to the display screen;
The frame rate ratio determining module is used for determining an image frame rate ratio according to the initial color depth and the target color depth;
a second frame rate determining module, configured to determine a target image frame rate at which the target color depth matches according to the image frame rate ratio and the initial image frame rate;
And the image display module is used for controlling the display screen to display the target image at the target image frame rate under the initial color depth.
9. A display screen, wherein the display screen comprises a memory and a processor;
the memory is used for storing a computer program;
The processor for executing the computer program and for implementing the image processing method according to any one of claims 1 to 7 when the computer program is executed.
10. An electronic device, characterized in that the electronic device comprises the display screen as in claim 9.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the image processing method according to any one of claims 1 to 7.
CN202311739481.3A 2023-12-15 2023-12-15 Image processing method, device, display screen, equipment and storage medium Pending CN117911248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311739481.3A CN117911248A (en) 2023-12-15 2023-12-15 Image processing method, device, display screen, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311739481.3A CN117911248A (en) 2023-12-15 2023-12-15 Image processing method, device, display screen, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117911248A true CN117911248A (en) 2024-04-19

Family

ID=90695380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311739481.3A Pending CN117911248A (en) 2023-12-15 2023-12-15 Image processing method, device, display screen, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117911248A (en)

Similar Documents

Publication Publication Date Title
CN107273007B (en) System and non-transitory computer readable medium for scaling a visualization image
US10978027B2 (en) Electronic display partial image frame update systems and methods
CN108509272B (en) Method and device for copying GPU (graphics processing Unit) video memory texture to system memory and electronic equipment
CN105700766B (en) User interface display system and method
US20160352971A1 (en) Electronic device and image processing method
WO2018000372A1 (en) Picture display method and terminal
CN110689862B (en) Screen brightness adjusting method and mobile terminal
CN112055244B (en) Image acquisition method and device, server and electronic equipment
CN108898549A (en) Image processing method, picture processing unit and terminal device
CN103076954B (en) The method of adjustment display effect and device
CN109118447A (en) A kind of image processing method, picture processing unit and terminal device
EP2843626B1 (en) Image rendering method using layers
CN113126862A (en) Screen capture method and device, electronic equipment and readable storage medium
CN111787240B (en) Video generation method, apparatus and computer readable storage medium
CN114527980A (en) Display rendering method and device, electronic equipment and readable storage medium
CN106535002B (en) Desktop starter template layout updating method and device
US11183146B1 (en) Curvature interpolation for lookup table
CN117911248A (en) Image processing method, device, display screen, equipment and storage medium
JP5563545B2 (en) Information processing apparatus and method
US9495729B2 (en) Display method and electronic device
CN112114919A (en) Screen rotation display optimization method and device
US11069326B2 (en) Processing method for character stroke and related device
US20190108814A1 (en) Method for improving system performance, device for improving system performance, and display apparatus
CN108769520B (en) Electronic device, image processing method, and computer-readable storage medium
CN112073686B (en) Image display method and device and electronic equipment

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