CN116403536A - Method for improving definition of electrophoresis display picture - Google Patents

Method for improving definition of electrophoresis display picture Download PDF

Info

Publication number
CN116403536A
CN116403536A CN202310293849.1A CN202310293849A CN116403536A CN 116403536 A CN116403536 A CN 116403536A CN 202310293849 A CN202310293849 A CN 202310293849A CN 116403536 A CN116403536 A CN 116403536A
Authority
CN
China
Prior art keywords
gray value
value matrix
display picture
matrix
processing
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
CN202310293849.1A
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.)
Jiangxi Xingtai Technology Co Ltd
Original Assignee
Jiangxi Xingtai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangxi Xingtai Technology Co Ltd filed Critical Jiangxi Xingtai Technology Co Ltd
Priority to CN202310293849.1A priority Critical patent/CN116403536A/en
Publication of CN116403536A publication Critical patent/CN116403536A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/3433Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices
    • G09G3/344Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices based on particles moving in a fluid or in a gas, e.g. electrophoretic devices
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0271Adjustment of the gradation levels within the range of the gradation scale, e.g. by redistribution or clipping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a method for improving the definition of an electrophoresis display picture, which comprises the following steps: determining the gray value of each pixel in the display picture, acquiring a gray value matrix A determined by the display picture, and setting a threshold value according to the gray value distribution rule of all pixels in the display picture; formulating a processing sequence for elements in the gray value matrix A; first element a from gray value matrix A 11 Firstly, sequentially processing each element in the gray value matrix A according to a processing sequence to obtain a gray value matrix B; replacing all elements in a first row, a first column, an nth row and an mth column in the gray value matrix B with 0 to form a gray value matrix C, and then carrying out imaging processing on the gray value inverse matrix C and outputting; according to the technical scheme, the pixels with gray values near the threshold value are considered, and the picture definition is improved.

Description

Method for improving definition of electrophoresis display picture
Technical Field
The invention relates to the field of electrophoretic display, in particular to a method for improving the definition of an electrophoretic display picture.
Background
In the process of using electronic paper, the phenomenon of blurring of image display is easy to occur, and in order to improve the display definition, an image is usually processed by adopting a gray level conversion method. The gray scale transformation refers to a method of changing the gray scale value of each pixel in the source image point by point according to a certain transformation relationship according to a certain target condition. Common gray scale transformation methods are a thresholding method, a linear transformation method, and a nonlinear transformation method.
In the electrophoretic display process, a thresholding method is typically used to process the image, so that the image sharpness is improved. This method is typically to set a threshold in the digital image, which is converted to zero for pixels in the digital image having a gray value less than the threshold, and to 255 for pixels having a gray value greater than or equal to the threshold.
However, this method is too rough for the pixels whose gray values are near the threshold, especially for those pixels whose gray values have a small difference from the threshold, and lacks special consideration, and thus easily causes distortion in the image quality.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a method for improving the definition of an electrophoresis display picture.
The invention provides a method for improving the definition of an electrophoresis display picture, which has the following technical scheme that:
a method for improving the definition of an electrophoretic display, comprising the steps of:
step one, determining the gray value of each pixel in a display picture, obtaining a gray value matrix A determined by the display picture, and setting a threshold value according to the gray value distribution rule of all the pixels in the display picture,
Figure BDA0004142522020000021
a ij representing the corresponding gray values of the ith row and the jth column of the display area in the display picture, wherein i is more than or equal to 1 and less than or equal to n, and j is more than or equal to 1 and less than or equal to m;
step two, formulating a processing sequence for elements in the gray value matrix A;
step three, first element a from gray value matrix A 11 Initially, each element in the gray value matrix a is sequentially processed according to the processing sequence, and the processing rule is as follows:
if the element a in the gray value matrix A ij Less than the threshold, the element a is then ij Replacing with 0, and substituting element a in the gray value matrix A i+k j+l The value does not exceed the value a by an increment ij Then processing the next element in the gray value matrix a in the processing order;
if the element a in the gray value matrix A ij Is not smallAt the threshold value, the element is then
a ij Replaced with 255 and the element a in the gray value matrix A is replaced by i+k j+1 The value is reduced in a manner that the reduction does not exceed the value delta, wherein,
Δ=255-a ij
subsequently processing the next element in the gray value matrix a in the processing order;
wherein 1.ltoreq.i.ltoreq.n, 1.ltoreq.j.ltoreq.m, i+k.ltoreq.n, j+l.ltoreq.m, and (k, l) ∈ { (0, 1), (1, 0), (1, 1) }
Replacing all elements in the gray value matrix A according to the processing rule to form a gray value matrix B;
step four, replacing all elements in a first row, a first column, a last row and a last column in the gray value matrix B with 0 to form a gray value matrix C;
and fifthly, imaging the gray value matrix C and outputting the processed gray value matrix C as a display picture.
By adopting the technical scheme, compared with the prior art, the technical scheme provided by the invention has the following beneficial effects: the threshold is set according to the gray value distribution rule of all pixels in the display picture, and each element in the pixel value matrix A is replaced according to the processing rule, so that the pixels with small difference between the gray value and the threshold are well considered while the threshold is scientifically defined, the pixels are not arbitrarily binarized, and the picture display definition is effectively ensured by the processing of replacing the frame elements in the pixel value matrix B with 0.
Preferably, in the first step, the process of setting the threshold according to the gray value distribution rule of all the pixels in the display screen includes the following steps:
step 1.1, acquiring the median of the gray value of the display picture according to the gray value distribution information of the display picture;
step 1.2, setting the median as a threshold value;
the method considers the distribution rule of the pixels of the display picture when determining the threshold value, and scientifically and reasonably distinguishes dark spots and bright spots in the display picture by searching the median of the gray value and setting the median as the threshold value.
Preferably, the processing sequence comprises a first sequence τ 1 Or a second order tau 2 The first order tau 1 The method comprises the following steps:
a 11 →a 12 →…→a 1m →a 21 →…→a 2m →…→a nm
the second order tau 2 The method comprises the following steps:
a 11 →a 21 →…→a n1 →a 12 →…→a n2 →…→a nm
this ensures an orderly operation of the algorithm program and reduces the operational complexity.
Drawings
FIG. 1 is a flow chart of a method for improving the definition of an electrophoretic display screen according to the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
Example 1
The method for improving the definition of the electrophoresis display picture provided by the embodiment of the invention comprises the following steps:
step one, obtaining gray values of a display area in a display picture through digital processing, forming a gray value matrix A corresponding to the display picture, and setting a threshold value according to gray value distribution rules of all pixels in the display picture, wherein,
Figure BDA0004142522020000051
a ij representing the corresponding gray values of the ith row and the jth column of the display area in the display picture, wherein i is more than or equal to 1 and less than or equal to n, and j is more than or equal to 1 and less than or equal to m.
In this embodiment, the step one, namely, the process of setting the threshold according to the gray value distribution rule of all pixels in the display screen, includes the following steps:
step 1.1, obtaining the median of the gray value of the display picture according to the gray value distribution information of the display picture;
and step 1.2, setting the median as a threshold value.
And step two, formulating a processing sequence for the elements in the gray value matrix A.
Processing sequence τ in the present embodiment 1 The method comprises the following steps:
a 11 →a 12 →…→a 1m →a 21 →…→a 2m →…→a nm
step three, first element a from gray value matrix A 11 Initially, in a processing sequence τ 1 Each element in the gray value matrix a is processed in turn in a prescribed order, with the following processing rules:
when element a in gray value matrix A ij When the value is smaller than the threshold value, the element a is added ij Replace with 0 and replace element a in gray value matrix A i+k j+l The value does not exceed the value a by an increment ij After the processing is finished, processing the next element in the gray value matrix A according to the processing sequence;
when element a in gray value matrix A ij When not less than the threshold value, element a is ij Replaced with 255 and the element a in the gray value matrix A i+k j+l The value is reduced in a manner that the reduction does not exceed the value delta, wherein,
Δ=255-a ij
after the processing is finished, processing the next element in the gray value matrix A according to the processing sequence;
wherein i is not less than 1 and not more than n, j is not less than 1 and not more than m, i+k is not less than n, j+l is not less than m,
(k,l)∈{(0,1),(1,0),(1,1)}
replacing all elements in the gray value matrix A according to the processing rule to form a gray value matrix B;
step four, replacing all elements in a first row, a first column, an nth row and an mth column in the gray value matrix B with 0 to form a gray value matrix C;
and fifthly, imaging the gray value matrix C and outputting the processed gray value matrix C as a display picture.
Example two
The processing order in this embodiment adopts the order τ 2 In which the order τ 2 The method comprises the following steps:
a 11 →a 21 →…→a n1 →a 12 →…→a n2 →…→a nm
the remainder is the same as in the first embodiment.
Whether embodiment one or embodiment two, wherein the element a in the gray value matrix a is i+kj+l The number of increases or decreases may be formulated according to energy distribution or delivery rules, provided that the respective requirements are met. For the case where i+k > n or j+l > m, an increase or decrease amount cannot be allocated since there is no corresponding element of the pixel value matrix a.
In general, although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (3)

1. A method for improving the definition of an electrophoresis display picture is characterized by comprising the following steps: the method comprises the following steps:
step one, determining the gray value of each pixel in a display picture, obtaining a gray value matrix A determined by the display picture, and setting a threshold value according to the gray value distribution rule of all the pixels in the display picture,
Figure FDA0004142522010000011
a ij representing the corresponding gray values of the ith row and the jth column of the display area in the display picture, wherein i is more than or equal to 1 and less than or equal to n, and j is more than or equal to 1 and less than or equal to m;
step two, formulating a processing sequence for elements in the gray value matrix A;
step three, first element a from gray value matrix A 11 Initially, each element in the gray value matrix a is sequentially processed according to the processing sequence, and the processing rule is as follows:
if the element a in the gray value matrix A ij Less than the threshold, the element a is then ij Replacing with 0, and substituting element a in the gray value matrix A i+k j+1 The value does not exceed the value a by an increment ij Then processing the next element in the gray value matrix a in the processing order;
if the element a in the gray value matrix A ij Not less than the threshold, then the element a ij Replaced with 255 and the element a in the gray value matrix A is replaced by i+k j+l The value is reduced in a manner that the reduction does not exceed the value delta, wherein,
Δ=255-a ij subsequently processing the next element in the gray value matrix a in the processing order;
wherein i is not less than 1 and not more than n, j is not less than 1 and not more than m, i+k is not less than n, j+l is not less than m,
(k, l) e { (0, 1), (1, 0), (1, 1) } replacing all elements in the gray value matrix a according to the processing rule to form a gray value matrix B;
step four, replacing all elements in a first row, a first column, a last row and a last column in the gray value matrix B with 0 to form a gray value matrix C;
and fifthly, imaging the gray value matrix C and outputting the processed gray value matrix C as a display picture.
2. The method for improving definition of an electrophoretic display according to claim 1, wherein: in the first step, the process of setting the threshold according to the gray value distribution rule of all the pixels in the display screen includes the following steps:
step 1.1, acquiring the median of the gray value of the display picture according to the gray value distribution information of the display picture;
and step 1.2, setting the median as a threshold value.
3. The method for improving definition of an electrophoretic display according to claim 2, wherein: the processing sequence comprises a first sequence tau 1 Or a second order tau 2 The first order tau 1 The method comprises the following steps:
a 11 →a 12 →…→a 1m →a 21 →…→a 2m →…→a nm the second order tau 2 The method comprises the following steps:
a 11 →a 21 →…→a n1 →a 12 →…→a n2 →…→a nm
CN202310293849.1A 2023-03-24 2023-03-24 Method for improving definition of electrophoresis display picture Pending CN116403536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310293849.1A CN116403536A (en) 2023-03-24 2023-03-24 Method for improving definition of electrophoresis display picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310293849.1A CN116403536A (en) 2023-03-24 2023-03-24 Method for improving definition of electrophoresis display picture

Publications (1)

Publication Number Publication Date
CN116403536A true CN116403536A (en) 2023-07-07

Family

ID=87011573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310293849.1A Pending CN116403536A (en) 2023-03-24 2023-03-24 Method for improving definition of electrophoresis display picture

Country Status (1)

Country Link
CN (1) CN116403536A (en)

Similar Documents

Publication Publication Date Title
CN108961186B (en) Old film repairing and reproducing method based on deep learning
US9240033B2 (en) Image super-resolution reconstruction system and method
EP1789922B1 (en) Apparatus and method for processing images
CN112435191B (en) Low-illumination image enhancement method based on fusion of multiple neural network structures
WO2019041842A1 (en) Image processing method and device, storage medium and computer device
CN109214996B (en) Image processing method and device
CN1578382A (en) Signal processing equipment and method, recording medium and program
CN112967207A (en) Image processing method and device, electronic equipment and storage medium
CN114549383A (en) Image enhancement method, device, equipment and medium based on deep learning
CN111047521B (en) Infrared image non-uniformity parameterization correction optimization method based on image entropy
JP2017085570A (en) Image correction method and image correction device
CN111724312A (en) Method and terminal for processing image
US7356195B2 (en) System and method for estimating image sharpness
CN109671081B (en) Bad cluster statistical method and device based on FPGA lookup table
CN110428391B (en) Image fusion method and device for removing ghost artifacts
CN116403536A (en) Method for improving definition of electrophoresis display picture
WO2024031832A1 (en) Display panel, and brightness compensation method, compensation apparatus and compensation device therefor
CN113160103B (en) Image processing method and device, storage medium and terminal
CN113822809A (en) Dim light enhancement method and system
US7272266B2 (en) Method for restoring faded photographs and film
CN114998186A (en) Image processing-based method and system for detecting surface scab defect of copper starting sheet
CN114140348A (en) Contrast enhancement method, device and equipment
US7298928B2 (en) Method for converting image from low resolution into high resolution
CN110148188B (en) Method for estimating low-illumination image illumination distribution based on maximum difference image
CN109886901B (en) Night image enhancement method based on multi-channel decomposition

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