CN114494527A - Test image editing method, editing device and image signal generator - Google Patents

Test image editing method, editing device and image signal generator Download PDF

Info

Publication number
CN114494527A
CN114494527A CN202111567188.4A CN202111567188A CN114494527A CN 114494527 A CN114494527 A CN 114494527A CN 202111567188 A CN202111567188 A CN 202111567188A CN 114494527 A CN114494527 A CN 114494527A
Authority
CN
China
Prior art keywords
pixels
pixel
image
sub
image block
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
CN202111567188.4A
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.)
Beijing Mgga Technology Co ltd
Original Assignee
Beijing Mgga 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 Beijing Mgga Technology Co ltd filed Critical Beijing Mgga Technology Co ltd
Priority to CN202111567188.4A priority Critical patent/CN114494527A/en
Publication of CN114494527A publication Critical patent/CN114494527A/en
Priority to PCT/CN2022/134171 priority patent/WO2023116339A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses an editing method and an editing device for a test image and an image signal generator. The editing method comprises the following steps: a preliminary display step: displaying all pixels of the repeating unit of the image block in a row-column arrangement manner, wherein each pixel is displayed by taking a sub-pixel as a unit; updating and displaying: receiving a gray-scale value input to each sub-pixel of the repeating unit, and correspondingly updating the display sub-pixels; a generation step: and generating a test image according to the respective gray-scale values of all pixels of at least one image block. The method for editing the test picture has high user experience, is suitable for occasions for manufacturing various test pictures, and has strong adaptability.

Description

Test image editing method, editing device and image signal generator
Technical Field
The invention relates to the technical field of display equipment detection, in particular to an editing method and an editing device for a test image and an image signal generator.
Background
After the display module is completed and before the display module is packaged, an image signal Generator (PG for short) is needed to detect the display module, and the display module is mainly lighted and a special picture is sent to observe whether a problem occurs in the display. The display modules to be tested produced by different display screen manufacturers may be different; therefore, a display screen manufacturer is required to correspondingly provide image samples corresponding to each type of display module to be tested, and testers need to edit corresponding test pictures according to the image samples and send the test pictures to the PG equipment through the upper computer for testing.
The existing editing mode of the test picture has the following defects: the image samples with the pixel color types exceeding the preset number cannot be edited, and the image samples need to be divided into a plurality of sub-image samples for editing, so that the user operation is complex and the experience is low in the editing scene of the image samples with excessive color types; and the color gradient image is generated by adopting the existing editing mode, so that the user operation is also complicated, time-consuming and low in experience degree.
At present, a method for editing a test picture with simple user operation and high experience is urgently needed.
Disclosure of Invention
An object of an embodiment of the present invention is to provide an editing method, an editing apparatus, and an image signal generator for testing an image, so as to solve the problem that generating a color gradient image in the prior art is complicated and time-consuming.
In order to achieve the above object, a first aspect of the present invention provides an editing method of a test image, the editing method including:
a preliminary display step: displaying all pixels of the image block in a row-column arrangement mode, wherein each pixel is displayed by taking a sub-pixel as a unit;
updating and displaying: receiving a gray-scale value input to each sub-pixel, and correspondingly updating the display sub-pixels;
a generation step: and generating a test image according to the respective gray-scale values of all pixels of at least one image block.
In the embodiment of the present invention, the preliminary display step further includes:
receiving the row pixel number and the column pixel number of an input image block;
all pixels are displayed in row and column arrangement according to the number of row pixels and the number of column pixels, and each pixel is displayed in units of sub-pixels.
In this embodiment of the present invention, the updating and displaying step further includes:
receiving a selection operation of each pixel by a user;
responding to the editing interface of all sub-pixels of the current pixel displayed by the selection operation;
receiving a gray-scale value input by a user on a sub-pixel on an editing interface;
and updating the display sub-pixels according to the input gray-scale values.
In the embodiment of the present invention, the preliminary display step further includes:
receiving an input sequence of sub-pixels;
each pixel is displayed in units of sub-pixels and according to a sub-pixel order.
In the embodiment of the present invention, the preliminary display step further includes:
receiving input position information of each image block in a background grid;
and displaying the image blocks on the background grid according to the position information.
In the embodiment of the present invention, the position information of the background mesh includes:
the starting column number, the starting row number, the row number occupied by height and the column number occupied by width of the image block in the background grid.
In the embodiment of the present invention, the preliminary display step further includes:
and responding to the first operation of dragging and releasing the image block to the target position, and positioning the image block to the grid line closest to the target position.
In the embodiment of the present invention, the generating step includes:
receiving a second operation of full-screen application on at least one image block;
in response to the second operation, the at least one image block is caused to generate the entire test image.
In the embodiment of the present invention, the editing method further includes:
and a storage step, namely receiving a storage instruction, and responding to the storage instruction to store the test image in a user-defined position or a preset position.
A second aspect of the present invention provides an editing apparatus for a test image, the editing apparatus comprising:
the preliminary display module is used for displaying all pixels of the image block in a row-column arrangement mode, and each pixel is displayed by taking a sub-pixel as a unit;
the updating display module is used for receiving the gray-scale value input to each sub-pixel and correspondingly updating the display sub-pixels;
and the generating module is used for generating a test image according to the respective gray-scale values of all pixels of at least one image block.
A third aspect of the present invention provides an image signal generator comprising:
a memory configured to store instructions; and
a processor configured to call the instructions from the memory and to implement the above-described editing method of the test image when executing the instructions.
A fourth aspect of the invention provides a machine-readable storage medium having stored thereon instructions for causing a machine to perform a method of editing a test image according to the above.
By the technical scheme, all pixels of the image block are displayed in a row-column arrangement mode, and each pixel is displayed by taking a sub-pixel as a unit; and receiving the gray-scale value input by each sub-pixel, correspondingly updating the display sub-pixels, and finally generating a test image according to the respective gray-scale values of all pixels of at least one image block. In the editing method of the test picture, the image blocks can be image samples, and the user can perform custom editing on the required colors of the repeating units of the image samples, so that the user operation is simple and the experience degree is high; in addition, if the minimum repeating unit of the image sample is too large, the image block can be defined as a part of the image sample, and a plurality of image blocks are edited to form the image sample in a plurality of times, that is, one image sample is completed by making a plurality of image blocks; the image block can also be a part of a customized special test image, and the special test image is formed by manufacturing a plurality of different image blocks and splicing, so that the method for editing the test image provided by the invention is suitable for occasions for manufacturing various test images, and has strong applicability.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 schematically shows a flow diagram of a method of editing a test image according to an embodiment of the invention;
FIG. 2 schematically illustrates a schematic diagram of tool options of an image editor, in accordance with an embodiment of the invention;
FIG. 3 schematically illustrates a schematic diagram of a preliminary display of an image editor, in accordance with an embodiment of the invention;
FIG. 4 schematically shows a schematic view of a preliminary display of an image editor according to another embodiment of the invention;
FIG. 5 schematically shows a schematic view of a preliminary display of an image editor according to a further embodiment of the invention;
FIG. 6 schematically shows a schematic diagram of a color editing interface of an image editor, in accordance with an embodiment of the invention;
fig. 7 is a schematic structural diagram showing an editing apparatus for a test image according to an embodiment of the present invention;
fig. 8 schematically shows a block diagram of the structure of an image signal generator according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions of the embodiments of the present invention will be described below with reference to the drawings of the embodiments of the present invention, and it should be understood that the specific embodiments described herein are only used for illustrating and explaining the embodiments of the present invention, and are not used for limiting the embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Fig. 1 schematically shows a flowchart of a method for editing a test image according to an embodiment of the present invention. As shown in fig. 1, an embodiment of the present invention provides an editing method for a test image, where the editing method may include the following steps:
a preliminary display step 102 of displaying all pixels of the repeating unit of the image block in a row-column arrangement manner, wherein each pixel is displayed by taking a sub-pixel as a unit;
an updating display step 104, receiving the gray-scale value input to each sub-pixel in the repeating unit, and correspondingly updating the display sub-pixels; specifically, if the color depth of the image is 8, the range of the gray-scale value input by each sub-pixel is 0 to 255.
And a generating step 106, generating a test image according to the respective gray-scale values of all pixels of at least one image block.
The repeating unit is a repeating pixel block in the image block, and the gray-scale values of all pixels in the image block can be obtained by receiving the gray-scale value of each sub-pixel of the repeating pixel block, so that a specific image of the image block can be determined. Of course, it is understood that the repeating unit is preferably a minimal repeating unit, and the user's operation can be minimized by using the minimal repeating unit.
In the embodiment of the invention, after the display module is finished and before the display module is packaged, the PG equipment is required to be adopted to detect the display module. The display modules to be tested produced by different display screen manufacturers may be different; therefore, a display screen manufacturer is required to correspondingly provide image samples corresponding to each type of display module to be tested, and testers need to edit corresponding test pictures according to the image samples and send the test pictures to the PG equipment through the upper computer for testing. To accommodate the scenario of excessive color in the example provided by the manufacturer, embodiments of the present invention may display all pixels of an image block in a row-column arrangement, with each pixel displayed in sub-pixel units. And further, receiving the gray-scale value input to each sub-pixel, correspondingly updating the display sub-pixels, and finally generating a test image according to the respective gray-scale values of all pixels of the image block.
In the embodiment of the present invention, the image block may be an image sample, and the image sample is to generate an entire image generated with the repeating unit of the image sample as the repeating unit. In practical application, if the minimum repeating unit of the image sample of the display module to be tested is too large, the image block can be defined as a part of the minimum repeating unit of the image sample, and a plurality of image blocks are edited to form the image sample in a plurality of times, namely, one image sample is completed by making and splicing a plurality of image blocks; in practical application, the image block can be a part of a customized special test image, and the special test image is formed by making a plurality of different image blocks and splicing, so that the editing method of the test image provided by the invention is suitable for occasions of making a plurality of test images, and has strong applicability.
FIG. 2 schematically shows a schematic diagram of tool options of an image editor according to an embodiment of the invention. As shown in fig. 2, the processor controls the image editor to display tool options. The user can select a 'pixel image' option from tool options on an interface of an image editor, click and drag the "pixel image" option in a drawing area to a certain size to form an image block, wherein the size of the image block is an integral multiple of the minimum grid of the background unit.
Fig. 3 schematically shows a schematic view of a preliminary display of an image editor according to an embodiment of the invention. As shown in fig. 3, the interface of the image editor is automatically changed to the interface shown in fig. 3 in response to the user's operation. Specifically, the processor displays all pixels of the repeating unit of the image block in a row-column arrangement, and each pixel is displayed in units of sub-pixels. For example, in fig. 3, 3 sub-pixels are used as one pixel, the number of column pixels in the repeating unit of the image block is 3, and the number of row pixels is 2.
In one example, a user may input the number of row pixels and the number of column pixels of a repeating unit of an image block at an interface of an image editor. The processor may receive an input number of row pixels and a number of column pixels of a repeating unit of an image block; all pixels of the repeating unit are displayed in a row and column arrangement according to the number of row pixels and the number of column pixels, and each pixel is displayed in a sub-pixel unit. As shown in fig. 3, if the number of column pixels and the number of row pixels of the repeating unit of the image block obtained by the processor are 3 and 2, all pixels of the repeating unit are displayed according to the number of column pixels and the number of row pixels being 3 and the number of row pixels being 2, that is, the repeating unit is displayed as an array of 2 rows and 9 sub-pixels. Fig. 4 schematically shows a schematic view of a preliminary display of an image editor according to another embodiment of the invention. As shown in fig. 4, if the number of column pixels of the repeating unit of the image block obtained by the processor is 4 and the number of row pixels is 3, all the pixels of the repeating unit of the image block are displayed according to the number of column pixels of 4 and the number of row pixels of 3, and each pixel has 3 sub-pixels, that is, the repeating unit is displayed as an array of 3 rows and 12 sub-pixels.
In another example, the user may select an option of color order at the interface of the image editor, and the processor receives the order of sub-pixels input by the user, and displays each pixel in sub-pixel units and according to the sub-pixel order, where the order of sub-pixels is the order of color components. For example, the sequence of the sub-pixels in fig. 3 is BGR, and accordingly, the sequence of the sub-pixels displaying each pixel in the display area of the repeating unit is BGR; as another example, the input sequence of sub-pixels is RBG as shown in fig. 5, and accordingly, the sequence of sub-pixels displaying each pixel in the display area of the repeating unit also becomes RBG. Therefore, a user can generate a suitable test image according to the sequence of the sub-pixels of the display module to be tested, and the requirements of the user can be met.
In yet another example, the user may input the position information of each image block in the background grid and the parameter information of the image block at the interface of the image editor. The processor can receive the input position information and parameter information of each image block in the background grid; and displaying the image block on the background grid according to the position information and the parameter information. The position information of the background mesh includes: the starting column number and the starting row number of the image block in the background grid; the parameter information includes: the height of the image block occupies the number of rows in the background grid and the width occupies the number of columns in the background grid.
Fig. 5 schematically shows a schematic view of a preliminary display of an image editor according to a further embodiment of the invention. As shown in fig. 5, the user inputs information of the image block on the starting column number 2, the starting row number 4, the number of rows occupied by height 1, and the number of columns occupied by width 3 of the background grid on the interface of the image editor. And after receiving the information, the processor edits and responds to the image block, and displays the image block at the corresponding position of the background grid. Embodiments of the invention can take advantage of this functionality to make multiple different image blocks. For example, an image block of a left half screen, an image block of a right half screen; an image block of the first preset background grid, an image block of the second preset background grid … …; or in a special scene (the display module to be tested controls the display through a plurality of same control units), the requirements for setting the lower band of each image block correspond to the pixel width and the pixel height which can be controlled by the minimum control unit to be displayed, and the like.
In yet another example, the processor may position the image block on a grid line closest to the target location in response to the first operation of dragging and dropping the image block to the target location. Specifically, the user may drag and drop the image block to the target position, but this first operation is not necessarily able to position the image block on the grid line. Therefore, the processor can adsorb and fix the image block on the grid line closest to the release position, so that quick positioning can be realized.
Fig. 6 schematically shows a schematic view of a color editing interface of an image editor according to an embodiment of the invention. As shown in fig. 6, the user can operate the mouse to each pixel position, and in case that the mouse is recognized to cover a certain pixel position, 3 sub-pixels belonging to the same pixel are locked at the same time. And editing the color of the corresponding sub-pixel under the condition of receiving mouse click operation. The user may determine the gray level value corresponding to each sub-pixel by clicking the corresponding color or inputting the corresponding parameter. The processor receives the gray-scale value input to each sub-pixel and correspondingly updates the display sub-pixels.
After the user finishes editing all the image blocks, the generated test image can be stored to the user-defined position by clicking the storage button. The processor determines that the test image is edited under the condition that the storage instruction is received, and can generate the test image according to the respective gray-scale values of all pixels of at least one image block. The user adds the generated test image file to a test picture library, and can edit a picture play list in the test image file based on the test picture library.
In this embodiment of the present invention, the preliminary displaying step 102 may further include:
receiving the input row pixel number and the input column pixel number of the repeating unit;
all pixels of the repeating unit are displayed in a row and column arrangement according to the number of row pixels and the number of column pixels, and each pixel is displayed in a unit of sub-pixel.
Specifically, the user may input the number of row pixels and the number of column pixels of the repeating unit of the image block at the interface of the image editor. The processor may receive an input of a number of row pixels and a number of column pixels of the repeating unit; all pixels of the repeating unit are displayed in a row and column arrangement according to the number of row pixels and the number of column pixels, and each pixel is displayed in a unit of sub-pixel. As shown in fig. 3, if the number of column pixels and the number of row pixels of the repeating unit of the image block obtained by the processor are 3 and 2, all the pixels of the repeating unit are displayed according to the number of column pixels and the number of row pixels being 3, and the number of sub-pixels of each pixel is 3. As shown in fig. 4, if the number of column pixels and the number of row pixels of the repeating unit of the image block obtained by the processor are 4 and 3, all the pixels of the repeating unit are displayed according to the number of column pixels and the number of row pixels being 4 and 3, and the number of sub-pixels of each pixel is 3.
In this embodiment of the present invention, the updating and displaying step 104 may further include:
receiving a selection operation of a user on each pixel of the repeating unit;
responding to the editing interface of all sub-pixels of the current pixel displayed by the selection operation;
receiving a gray-scale value input by a user on a sub-pixel on an editing interface;
and updating the display sub-pixels according to the input gray-scale values.
Specifically, as shown in fig. 6, the user may operate the mouse to each pixel position, and in the case that the mouse is recognized to cover a certain pixel position, 3 sub-pixels belonging to the same pixel are locked at the same time. And editing the color of the corresponding sub-pixel under the condition of receiving mouse click operation. The user may determine the gray level value corresponding to each sub-pixel by clicking the corresponding color or inputting the corresponding parameter. The processor receives the gray-scale value input to each sub-pixel and correspondingly updates the display sub-pixels.
In this embodiment of the present invention, the preliminary displaying step 102 may further include:
receiving an input sequence of sub-pixels;
each pixel is displayed in units of sub-pixels and according to a sub-pixel order.
Specifically, the user may select an option of a color sequence on an interface of the image editor, and the processor receives a sequence of sub-pixels input by the user, and displays each pixel in sub-pixel units according to a sub-pixel sequence, wherein the sequence of sub-pixels is a sequence of color components. For example, the order of the sub-pixels in fig. 3 is BGR. Therefore, the operation of the user is easy to compare and more intuitive, and the requirements of the user can be met.
In this embodiment of the present invention, the preliminary displaying step 102 may further include:
receiving input position information of each image block in a background grid and parameter information of the image block;
and displaying the image block on the background grid according to the position information and the parameter information.
Specifically, the user may input the position information of each image block on the background grid at the interface of the image editor. The processor can receive the input position information of each image block in the background grid; and displaying the image blocks on the background grid according to the position information.
In the embodiment of the present invention, the position information of the background grid may include: the starting column number and the starting row number of the image block in the background grid; the parameter information includes the number of rows occupied by the height of the image block in the background grid and the number of columns occupied by the width of the image block in the background grid.
The starting column number and starting row number represent the row and column where the top right pixel area of the image block is located in the background grid. The number of rows occupied by the height and the number of columns occupied by the width correspond to the number of grids in the width direction and the number of grids in the height direction of the image block. The specific position of the image block in the background grid can be determined by the number of the starting columns, the number of the starting rows, the number of the rows occupied by the height and the number of the columns occupied by the width. As shown in fig. 5, the user inputs information of the image block on the starting column number 2, the starting row number 4, the number of rows occupied by height 1, and the number of columns occupied by width 3 of the background grid on the interface of the image editor.
In this embodiment of the present invention, the preliminary displaying step 102 may further include:
and responding to the first operation of dragging and releasing the image block to the target position, and positioning the image block to the grid line closest to the target position.
Specifically, the processor may position the image block on the grid line closest to the target position in response to a first operation of dragging and releasing the image block to the target position. Specifically, the user may drag and drop the image block to the target position, but this first operation is not necessarily able to position the image block on the grid line. Therefore, the processor may adsorb and fix the image block on the grid line closest to the release position.
In an embodiment of the present invention, the generating step 106 may include:
receiving a second operation of full-screen application on at least one image block;
in response to the second operation, the at least one image block is caused to generate the entire test image.
Specifically, the user may select an image block and right-click to implement the second operation of the full screen application. And after receiving the second operation, the processor enables the at least one image block to cover the whole background image in response to the second operation so as to generate the whole test image. Therefore, the repeated setting times are reduced, and the image editing efficiency is improved.
In the embodiment of the present invention, the editing method may further include:
and a storage step, namely receiving a storage instruction, and responding to the storage instruction to store the test image in a user-defined position or a preset position.
Specifically, after the user finishes editing all the image blocks, the generated test image can be saved to the user-defined position by clicking the save button. The processor determines that the test image is edited under the condition that the storage instruction is received, and can generate the test image according to the respective gray-scale values of all pixels of at least one image block. The user adds the generated test image file to a test picture library, and can edit a picture play list in the test image file based on the test picture library.
Fig. 7 schematically shows a structural diagram of an editing apparatus for testing an image according to an embodiment of the present invention. As shown in fig. 7, an embodiment of the present invention provides an editing apparatus for a test image, which may include:
a preliminary display module 702, configured to display all pixels of a repeating unit of an image block in a row-column arrangement manner, where each pixel is displayed in units of sub-pixels;
an update display module 704, configured to receive a gray-scale value input to each subpixel of the repeating unit, and update the display subpixel correspondingly;
a generating module 706, configured to generate a test image according to respective gray-scale values of all pixels of at least one image block.
As shown in fig. 3, the interface of the image editor is automatically changed to the interface shown in fig. 3 in response to the user's operation. Specifically, the processor displays all pixels of the repeating unit of the image block in a row-column arrangement, and each pixel is displayed in units of sub-pixels. For example, in fig. 3, 3 sub-pixels are used as one pixel, the number of column pixels of the repeating unit is 3, and the number of row pixels is 2.
In one example, the preliminary display module 702 of the editing apparatus for testing images is further configured to receive an input number of row pixels and a number of column pixels of the repeating unit; all pixels of the repeating unit are displayed in a row and column arrangement according to the number of row pixels and the number of column pixels, and each pixel is displayed in a sub-pixel unit. Specifically, the user may input the number of row pixels and the number of column pixels of the repeating unit of the image block at the interface of the image editor. The processor may receive an input number of row pixels and a number of column pixels of a repeating unit of an image block; all pixels of the repeating unit are displayed in a row and column arrangement according to the number of row pixels and the number of column pixels, and each pixel is displayed in a sub-pixel unit. As shown in fig. 3, if the number of column pixels and the number of row pixels of the repeating unit of the image block obtained by the processor are 3 and 2, all the pixels of the repeating unit of the image block are displayed according to the number of column pixels and the number of row pixels being 3, and the number of sub-pixels of each pixel is 3. As shown in fig. 4, if the number of column pixels and the number of row pixels of the repeating unit of the image block obtained by the processor are 4 and 3, all the pixels of the repeating unit of the image block are displayed according to the number of column pixels and the number of row pixels being 4 and 3, and the number of sub-pixels of each pixel is 3.
In another example, the update display module 704 is further configured to receive a user selection operation for each pixel of the repeating unit; responding to the editing interface of all sub-pixels of the current pixel displayed by the selection operation; receiving a gray-scale value input by a user on the sub-pixel on the editing interface; and updating and displaying the sub-pixels according to the input gray-scale value. Specifically, as shown in fig. 6, the user may operate the mouse to each pixel position, and in the case that the mouse is recognized to cover a certain pixel position, 3 sub-pixels belonging to the same pixel are locked at the same time. And editing the color of the corresponding sub-pixel under the condition of receiving mouse click operation. The user may determine the gray level value corresponding to each sub-pixel by clicking the corresponding color or inputting the corresponding parameter. The processor receives the gray-scale value input to each sub-pixel and correspondingly updates the display sub-pixels.
In yet another example, the preliminary display module 702 is further configured to receive an input sequence of sub-pixels; each of the pixels is displayed in units of sub-pixels and according to the sub-pixel order. Specifically, the user may select an option of a color sequence on an interface of the image editor, and the processor receives a sequence of sub-pixels input by the user, and displays each pixel in sub-pixel units according to a sub-pixel sequence, wherein the sequence of sub-pixels is a sequence of color components. For example, the order of the sub-pixels in fig. 3 is BGR.
In yet another example, the preliminary display module 702 is further configured to receive input position information of each image block in the background grid and parameter information of the image block; and displaying the image block on a background grid according to the position information and the parameter information. Specifically, the user may input the position information of each image block in the background grid and the parameter information of the image block at the interface of the image editor. The processor can receive the input position information and parameter information of each image block in the background grid; and displaying the image block on the background grid according to the position information and the parameter information.
As shown in fig. 5, the user inputs information of the image block on the starting column number 2, the starting row number 4, the number of rows occupied by height 1, and the number of columns occupied by width 3 of the background grid on the interface of the image editor. And after receiving the information, the processor edits and responds to the image block, and displays the image block at the corresponding position of the background grid.
In yet another example, the preliminary display module 702 is further configured to position the image block on a grid line closest to the target position in response to the first operation of dragging and releasing the image block to the target position. Specifically, the processor may position the image block on the grid line closest to the target position in response to a first operation of dragging and releasing the image block to the target position. More specifically, the user may drag and drop the image block to the target position, but this first operation is not necessarily able to position the image block on the grid line. Therefore, the processor may adsorb and fix the image block on the grid line closest to the release position.
In yet another example, the generating module 706 is further configured to receive a second operation of full-screen application on at least one image block; in response to the second operation, the at least one image block is caused to generate the entire test image. Specifically, the user may select at least one image block, and right-click implements the second operation of the full screen application. And after receiving the second operation, the processor enables the at least one image block to cover the whole background image in response to the second operation so as to generate the whole test image. Therefore, the repeated setting times are reduced, and the image editing efficiency is improved.
The apparatus for editing a test image further includes: and the storage module is used for receiving the storage instruction and responding to the storage instruction to store the test image in a user-defined position or a preset position. Specifically, after the user finishes editing all the image blocks, the generated test image can be saved to the user-defined position by clicking the save button. The processor determines that the test image is edited under the condition that the storage instruction is received, and can generate the test image according to the respective gray-scale values of all pixels of at least one image block. The user adds the generated test image file to a test picture library, and can edit a picture play list in the test image file based on the test picture library.
According to the technical scheme, all pixels of the image block are displayed in a row-column arrangement mode, and each pixel is displayed by taking a sub-pixel as a unit; and receiving the gray-scale value input by each sub-pixel, correspondingly updating the display sub-pixels, and finally generating a test image according to the respective gray-scale values of all pixels of at least one image block. The editing method of the test picture enables the user to operate simply and has high experience degree.
Fig. 8 schematically shows a block diagram of the image signal generator according to an embodiment of the present invention. As shown in fig. 8, an embodiment of the present invention provides an image signal generator, which may include:
a memory 810 configured to store instructions; and
a processor 820 configured to call instructions from the memory 810 and when executing the instructions to enable the editing method of the test image described above.
In an embodiment of the invention, the processor 820 may be configured to:
a preliminary display step: displaying all pixels of a repeating unit of an image block in a row-column arrangement manner, wherein each pixel is displayed by taking a sub-pixel as a unit;
updating and displaying: receiving a gray-scale value input to each sub-pixel of the repeating unit, and correspondingly updating the display sub-pixels;
a generation step: and generating a test image according to the respective gray-scale values of all pixels of at least one image block.
Further, the processor 820 may be further configured to:
the preliminary display step further comprises:
receiving the input row pixel number and the input column pixel number of the repeating unit;
all pixels of the repeating unit are displayed in a row and column arrangement according to the number of row pixels and the number of column pixels, and each pixel is displayed in a sub-pixel unit.
Further, the processor 820 may be further configured to:
the step of updating the display further comprises the following steps:
receiving a selection operation of each pixel of the repeating unit by a user;
responding to the editing interface of all sub-pixels of the current pixel displayed by the selection operation;
receiving a gray-scale value input by a user on a sub-pixel on an editing interface;
and updating the display sub-pixels according to the input gray-scale values.
Further, the processor 820 may also be configured to:
the preliminary display step further comprises:
receiving an input sequence of sub-pixels;
each pixel is displayed in units of sub-pixels and according to a sub-pixel order.
Further, the processor 820 may be further configured to:
the preliminary display step further comprises:
receiving input position information of each image block in a background grid and parameter information of the image block;
and displaying the image block on the background grid according to the position information and the parameter information.
In the embodiment of the present invention, the position information of the background mesh includes: the starting column number and the starting row number of the image block in the background grid; the parameter information includes: and the height of the image block accounts for the number of rows in the background grid and the width of the image block accounts for the number of columns in the background grid.
Further, the processor 820 may be further configured to:
the preliminary display step further comprises: and responding to the first operation of dragging and releasing the image block to the target position, and positioning the image block to the grid line closest to the target position.
Further, the processor 820 may be further configured to:
a generating step, comprising: receiving a second operation of full-screen application on at least one image block; in response to the second operation, the at least one image block is caused to generate the entire test image.
Further, the processor 820 may be further configured to:
and a storage step, namely receiving a storage instruction, and responding to the storage instruction to store the test image in a user-defined position or a preset position.
Embodiments of the present invention also provide a machine-readable storage medium, on which instructions are stored, and the instructions are used for causing a machine to execute the editing method according to the test image.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present invention, and are not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (12)

1. A method of editing a test image, the method comprising:
a preliminary display step: displaying all pixels of a repeating unit of an image block in a row-column arrangement manner, wherein each pixel is displayed by taking a sub-pixel as a unit;
updating and displaying: receiving a gray-scale value input to each sub-pixel in the repeating unit, and correspondingly updating and displaying the sub-pixels;
a generation step: and generating the test image according to the respective gray-scale values of all pixels of at least one image block.
2. The editing method according to claim 1, wherein the preliminary display step further comprises:
receiving the input row pixel number and column pixel number of the repeating unit;
all pixels of the repeating unit are displayed in a row and column arrangement according to the number of row pixels and the number of column pixels, and each pixel is displayed in units of the sub-pixels.
3. The editing method according to claim 1, wherein the updating display step further comprises:
receiving a selection operation of each pixel of the repeating unit by a user;
responding to the selection operation to display an editing interface of all sub-pixels of the current pixel;
receiving a gray-scale value input by a user on the sub-pixel on the editing interface;
and updating and displaying the sub-pixels according to the input gray-scale value.
4. The editing method according to claim 2, wherein the preliminary display step further comprises:
receiving an input sequence of sub-pixels;
each of the pixels is displayed in units of sub-pixels and according to the sub-pixel order.
5. The editing method according to claim 1, wherein the preliminary display step further comprises:
receiving input position information of each image block in a background grid and parameter information of the image block;
and displaying the image block on the background grid according to the position information and the parameter information.
6. The editing method according to claim 5, wherein the position information of the background mesh includes: the starting column number and the starting row number of the image block in the background grid;
the parameter information includes: and the height of the image block accounts for the number of rows in the background grid and the width of the image block accounts for the number of columns in the background grid.
7. The editing method according to claim 1, wherein the preliminary display step further comprises:
responding to a first operation of dragging and releasing the image block to a target position, and positioning the image block to a grid line closest to the target position.
8. The editing method according to claim 1, wherein the generating step comprises:
receiving a second operation of full-screen application on at least one image block;
in response to the second operation, causing at least one of the image blocks to generate the entire test image.
9. The editing method of claim 1, further comprising:
and a storage step, namely receiving a storage instruction, and responding to the storage instruction to store the test image in a user-defined position or a preset position.
10. An editing apparatus for a test image, comprising:
the preliminary display module is used for displaying all pixels of the repeating unit of the image block in a row-column arrangement mode, and each pixel is displayed by taking a sub-pixel as a unit;
the updating display module is used for receiving the gray-scale value input to each sub-pixel in the repeating unit and correspondingly updating and displaying the sub-pixels;
and the generating module is used for generating the test image according to the respective gray-scale values of all the pixels of at least one image block.
11. An image signal generator, characterized in that the image signal generator comprises:
a memory configured to store instructions; and
a processor configured to invoke the instructions from the memory and to enable an editing method of a test image according to any one of claims 1 to 9 when executing the instructions.
12. A machine-readable storage medium having stored thereon instructions for causing a machine to perform a method of editing a test image according to any one of claims 1 to 9.
CN202111567188.4A 2021-12-20 2021-12-20 Test image editing method, editing device and image signal generator Pending CN114494527A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111567188.4A CN114494527A (en) 2021-12-20 2021-12-20 Test image editing method, editing device and image signal generator
PCT/CN2022/134171 WO2023116339A1 (en) 2021-12-20 2022-11-24 Test image editing method and device, and pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111567188.4A CN114494527A (en) 2021-12-20 2021-12-20 Test image editing method, editing device and image signal generator

Publications (1)

Publication Number Publication Date
CN114494527A true CN114494527A (en) 2022-05-13

Family

ID=81493157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111567188.4A Pending CN114494527A (en) 2021-12-20 2021-12-20 Test image editing method, editing device and image signal generator

Country Status (2)

Country Link
CN (1) CN114494527A (en)
WO (1) WO2023116339A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023116339A1 (en) * 2021-12-20 2023-06-29 北京镁伽科技有限公司 Test image editing method and device, and pattern generator

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000118044A (en) * 1998-10-13 2000-04-25 Canon Inc Imaging system and method
CN102682684B (en) * 2012-05-29 2014-10-29 东南大学 Method for measuring quality of dynamic image of liquid crystal display
CN106657985B (en) * 2016-12-06 2018-11-27 广州视源电子科技股份有限公司 The method and system of flying-spot video generator custom images
CN114494527A (en) * 2021-12-20 2022-05-13 北京镁伽科技有限公司 Test image editing method, editing device and image signal generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023116339A1 (en) * 2021-12-20 2023-06-29 北京镁伽科技有限公司 Test image editing method and device, and pattern generator

Also Published As

Publication number Publication date
WO2023116339A1 (en) 2023-06-29

Similar Documents

Publication Publication Date Title
CN106648511A (en) Self-adaptive display method and device of display resolutions
WO2020001234A1 (en) Folder icon display method, system, readable storage medium and terminal
US20100188413A1 (en) Placement of cells in bins to provide non-overlapping visualization of data points of a scatter plot
US20140177978A1 (en) Apparatus for simultaneously storing area selected in image and apparatus for creating an image file by automatically recording image information
CN106598846B (en) Application interface method of testing and device
US9298348B2 (en) Mobile device and method for providing widgets
CN114494120A (en) Algorithm editing method and device for detection equipment and detection equipment
JP2015525404A (en) Image processing method, apparatus, program, and storage medium
JP2007517542A (en) A system that displays images with many attributes
CN114494527A (en) Test image editing method, editing device and image signal generator
CN114418861B (en) Camera image splicing processing method and system
JP2020025176A (en) Display control device, display control device control method, and program
JP4358761B2 (en) Image processing program, image processing apparatus, and recording medium
EP4350628A1 (en) Camera calibration method and apparatus, computer device, storage medium, and program product
CN112256146A (en) Method, device, equipment and storage medium for testing whiteboard handwriting
CN114244968B (en) Image conversion method, image conversion device and image signal generator
CN114003160B (en) Data visual display method, device, computer equipment and storage medium
CN107783982B (en) Data processing method and data processing device
CN111091598B (en) Multi-light spot synchronous measurement and analysis method and device
US11797719B2 (en) Dynamic preview generation in a product lifecycle management environment
CN114117161A (en) Display method and device
CN112862453A (en) Process information display method, apparatus, computer device and storage medium
WO2021173347A1 (en) User interface for modifying pictures
EP0448496A2 (en) Dynamic selective correlation of graphic entities
CN106462600A (en) Method and device for displaying photo

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