Test image editing method, editing device and image signal generator
By displaying and updating the grayscale value of each subpixel according to row and column radial, the problem of complex and time-consuming generation of color gradient images in the prior art is solved, and an image editing method with simple user operation and high experience is realized.
Patent Information
- Application Number
- CN202111567188.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2041-12-20
AI Technical Summary
The prior art is complex and time-consuming to generate color gradient images, and cannot effectively edit image samples with pixel color types exceeding the preset number, and the user experience is not high.
All pixels of the image block are displayed in rows and rows. Each pixel is displayed in sub-pixels. The grayscale value of each sub-pixel is received and updated, and finally a test image is generated based on all pixel grayscale values of the image block.
It simplifies user operations and improves user experience, allowing users to customize the color of editing image samples, adapt to the production occasions of multiple test images, and has strong applicability.
Smart Images

Figure CN114494527B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of display device detection, and in particular to a test image editing method, editing device and image signal generator. Background Art
[0002] After the display module is completed and before packaging, it is tested using a pattern generator (PG). This involves lighting the display module and sending a special image to observe whether there are any display problems. Different display manufacturers may produce different display modules to be tested; therefore, the display manufacturer needs to provide image samples corresponding to each display module to be tested. Testers need to edit the corresponding test images based on these image samples and send them to the PG device via the host computer for testing.
[0003] The existing test image editing method has the following disadvantages: it is impossible to edit image samples with more than a preset number of pixel color types, and the image sample needs to be divided into multiple sub-image samples for editing. Therefore, not only is the user operation complicated and the user experience is not high in the editing scenario of image samples with too many color types; but also the user operation of generating color gradient images using the existing editing method is also complicated and time-consuming, and the user experience is not high.
[0004] Currently, there is an urgent need for a test image editing method that is simple for users to operate and has a high user experience. Summary of the Invention
[0005] The purpose of the embodiments of the present invention is to provide a test image editing method, editing device and image signal generator, so as to solve the problem in the prior art that generating color gradient images is complicated and time-consuming.
[0006] In order to achieve the above object, the present invention provides a first aspect of a test image editing method, the editing method comprising:
[0007] Preliminary display step: display all pixels of the image block in rows and columns, and display each pixel in sub-pixel units;
[0008] Updating the display step: receiving the grayscale value input for each sub-pixel and updating the display sub-pixel accordingly;
[0009] Generating step: generating a test image according to the grayscale values of all pixels of at least one image block.
[0010] In an embodiment of the present invention, the preliminary display step further includes:
[0011] Receive the number of row pixels and column pixels of the input image block;
[0012] All pixels are displayed in rows and columns according to the number of row pixels and the number of column pixels, and each pixel is displayed in units of sub-pixels.
[0013] In an embodiment of the present invention, the updating and displaying step further includes:
[0014] Receive the user's selection operation on each pixel;
[0015] In response to the selection operation, an editing interface for all sub-pixels of the current pixel is displayed;
[0016] Receive the grayscale value of the sub-pixel input by the user on the editing interface;
[0017] Updates the display sub-pixels according to the input grayscale value.
[0018] In an embodiment of the present invention, the preliminary display step further includes:
[0019] Receive input sub-pixel order;
[0020] Each pixel is displayed in sub-pixel units and according to sub-pixel order.
[0021] In an embodiment of the present invention, the preliminary display step further includes:
[0022] Receive the position information of each input image block on the background grid;
[0023] Display image blocks on a background grid based on their position information.
[0024] In an embodiment of the present invention, the location information of the background grid includes:
[0025] The starting column number, starting row number, height number of rows, and width number of columns of the image block in the background grid.
[0026] In an embodiment of the present invention, the preliminary display step further includes:
[0027] In response to a first operation of dragging the image block and releasing it to a target position, the image block is positioned on a grid line closest to the target position.
[0028] In an embodiment of the present invention, the generating step includes:
[0029] receiving a second operation of applying a full-screen application to at least one image block;
[0030] In response to the second operation, the at least one image block is caused to generate the entire test image.
[0031] In an embodiment of the present invention, the editing method further includes:
[0032] The saving step receives a saving instruction, and saves the test image in a custom location or a preset location in response to the saving instruction.
[0033] A second aspect of the present invention provides a test image editing device, the editing device comprising:
[0034] A preliminary display module, configured to display all pixels of the image block in rows and columns, with each pixel displayed in sub-pixel units;
[0035] An updating display module, configured to receive a grayscale value input for each sub-pixel and update the display sub-pixel accordingly;
[0036] The generating module is configured to generate a test image according to the grayscale values of all pixels of at least one image block.
[0037] A third aspect of the present invention provides an image signal generator, comprising:
[0038] a memory configured to store instructions; and
[0039] The processor is configured to call instructions from the memory and implement the above-mentioned test image editing method when executing the instructions.
[0040] A fourth aspect of the present invention provides a machine-readable storage medium having stored thereon instructions for causing a machine to execute the above-mentioned test image editing method.
[0041] Through the above technical solution, all pixels of the image block are displayed in a row and column arrangement, and each pixel is displayed in sub-pixel units; then the grayscale value input by each sub-pixel is received, and the displayed sub-pixel is updated accordingly, and finally a test image is generated according to the grayscale values of all pixels of at least one image block. In the test image editing method of the present invention, the image block can be an image sample, and the user can customize the required color of the repeating unit of the image sample, thereby making the user operation simple and the user experience 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 multiple image blocks can be edited in batches to form an image sample, that is, an image sample is completed by making multiple image blocks; the image block can also be part of a customized special test image, and a special test image is formed by making multiple different image blocks and splicing them together. Therefore, the test image editing method provided by the present invention is suitable for occasions of making multiple test images, and thus has strong applicability.
[0042] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following detailed description, they are used to explain the embodiments of the present invention, but do not constitute a limitation of the embodiments of the present invention. In the accompanying drawings:
[0044] Figure 1 The following is a schematic flow chart of a method for editing a test image according to an embodiment of the present invention;
[0045] Figure 2 A schematic diagram schematically illustrates tool options of an image editor according to an embodiment of the present invention;
[0046] Figure 3 A schematic diagram schematically illustrates a preliminary display of an image editor according to an embodiment of the present invention;
[0047] Figure 4 A schematic diagram schematically shows a preliminary display of an image editor according to another embodiment of the present invention;
[0048] Figure 5 A schematic diagram schematically shows a preliminary display of an image editor according to yet another embodiment of the present invention;
[0049] Figure 6 A schematic diagram schematically illustrates a color editing interface of an image editor according to an embodiment of the present invention;
[0050] Figure 7 The following schematically shows a structural diagram of a test image editing device according to an embodiment of the present invention;
[0051] Figure 8 The figure schematically shows a structural block diagram of an image signal generator according to an embodiment of the present invention. DETAILED DESCRIPTION
[0052] To make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present invention and are not used to limit the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0053] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indications will also change accordingly.
[0054] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features specified as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that ordinary technicians in this field can implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0055] Figure 1 The flowchart of the method for editing a test image according to an embodiment of the present invention is shown schematically. Figure 1 As shown, an embodiment of the present invention provides a test image editing method, which may include the following steps:
[0056] Initial display step 102: displaying all pixels of the repeating unit of the image block in a row-column arrangement, with each pixel displayed in sub-pixel units;
[0057] In step 104 of updating the display, the grayscale value inputted for each sub-pixel in the repeating unit is received, and the displayed sub-pixel is updated accordingly. Specifically, if the color depth of the image is 8, the grayscale value inputted for each sub-pixel ranges from 0 to 255.
[0058] Generating step 106: generating a test image according to the grayscale values of all pixels of at least one image block.
[0059] The repeating unit refers to a repeated pixel block in an image block. By receiving the grayscale value of each sub-pixel in the repeated pixel block, the grayscale value of all pixels in the image block can be obtained, thereby determining the specific image of the image block. Of course, it will be understood that the repeating unit is preferably a minimum repeating unit, as using the minimum repeating unit can minimize user operations.
[0060] In an embodiment of the present invention, after the display module is completed and before it is packaged, a PG device is required to test the display module. The display modules to be tested produced by different display manufacturers may be different; therefore, the display manufacturer is required to provide image samples corresponding to each display module to be tested, and the tester needs to edit the corresponding test picture based on the image sample, and send the test picture to the PG device through the host computer for testing. In order to adapt to the scene with too many colors in the examples provided by the manufacturer, the embodiment of the present invention can display all pixels of the image block in a row and column arrangement, and each pixel is displayed in sub-pixels. Furthermore, the grayscale value input for each sub-pixel is received, and the displayed sub-pixel is updated accordingly, and finally a test image is generated according to the grayscale values of all the pixels of the image block.
[0061] In an embodiment of the present invention, an image block can be an image sample, and an image sample is used to generate a whole image with the repeating unit of the image sample as a repeating unit. In actual applications, if the minimum repeating unit of the image sample of the display module to be tested is too large, this image block can be defined as a part of the minimum repeating unit of the image sample, and multiple image blocks can be edited in batches to form an image sample, that is, an image sample is completed by making multiple image blocks and splicing them together; of course, in actual applications, an image block can also be part of a customized special test image, and a special test image is formed by making multiple different image blocks and splicing them together. Therefore, the test image editing method provided by the present invention is suitable for occasions where a variety of test images are produced, and therefore has strong applicability.
[0062] Figure 2 Schematic diagram of tool options of an image editor according to an embodiment of the present invention is shown. Figure 2 As shown, the processor controls the image editor to display tool options. The user can select the "Pixel Image" option in the tool options on the image editor interface, and click and drag in the drawing area to a certain size to form an image block, where the size of the image block is an integer multiple of the minimum grid of the background unit.
[0063] Figure 3 Schematically shows a schematic diagram of the initial display of an image editor according to an embodiment of the present invention. Figure 3 As shown, in response to the user's operation, the interface of the image editor automatically changes to Figure 3 Specifically, the processor displays all pixels of the repeating unit of the image block in a row and column arrangement, and each pixel is displayed in sub-pixel units. For example, Figure 3 In the image block, 3 sub-pixels are used as one pixel, the number of column pixels in the repetition unit is 3, and the number of row pixels is 2.
[0064] In one example, a user may input the number of row pixels and column pixels of a repeating unit of an image block in an interface of an image editor. The processor may receive the input number of row pixels and column pixels of a repeating unit of an image block; and display all pixels of the repeating unit in a row and column arrangement according to the number of row pixels and column pixels, with each pixel displayed in sub-pixel units. Figure 3 As shown, the processor obtains that the number of column pixels of the repeating unit of the image block is 3 and the number of row pixels is 2, then all pixels of the repeating unit are displayed according to the number of column pixels being 3 and the number of row pixels being 2, and each pixel has 3 sub-pixels, that is, the repeating unit is displayed as an array of 2 rows and 9 sub-pixels. Figure 4 Schematically shows a schematic diagram of the initial display of an image editor according to another embodiment of the present invention. Figure 4 As shown, the processor obtains that the number of column pixels of the repeating unit of the image block is 4 and the number of row pixels is 3, then all pixels of the repeating unit of the image block are displayed according to the number of column pixels being 4 and the number of row pixels being 3, and each pixel has 3 sub-pixels, that is, the repeating unit is displayed as an array of 3 rows of 12 sub-pixels.
[0065] In another example, the user may select a color order option in the image editor interface, and the processor receives the sub-pixel order input by the user and displays each pixel in sub-pixel units according to the sub-pixel order, wherein the sub-pixel order is the order of the color components. For example, Figure 3 The order of the sub-pixels in the display area of the repeating unit is BGR. Correspondingly, the order of the sub-pixels of each pixel displayed in the display area of the repeating unit is also BGR. For example, Figure 5 If the sub-pixel order entered in the test is RBG, the sub-pixel order of each pixel displayed in the display area of the repeating unit will also become RBG. This allows users to generate a test image that matches the sub-pixel order of the display module under test, better meeting their needs.
[0066] In another example, a user may input position information and parameter information of each image block in a background grid in an image editor interface. The processor may receive the input position information and parameter information of each image block in the background grid and display the image block in the background grid based on the position information and parameter information. The background grid position information includes: the starting column number and 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.
[0067] Figure 5 Schematically shows a schematic diagram of the initial display of an image editor according to another embodiment of the present invention. Figure 5As shown, the user enters information such as the starting column number 2, the starting row number 4, the number of rows occupied by the height 1, and the number of columns occupied by the width of the image block in the background grid in the interface of the image editor. After receiving the above information, the processor edits the image block and responds, and displays the image block at the corresponding position of the background grid. The embodiment of the present invention can use this function to produce multiple different image blocks. For example, image blocks in the left half of the screen, image blocks in the right half of the screen; image blocks in the first preset background grid, image blocks in the second preset background grid...; or in special scenarios (the display module to be tested is controlled by multiple identical control units to control the display), then, the band width of each image block needs to be set to correspond to the pixel width and pixel height that the minimum control unit can control to display, and so on.
[0068] In another example, the processor can respond to a first action of dragging and releasing an image block to a target location by positioning the image block on the grid line closest to the target location. Specifically, a user can drag and release an image block to a target location, but this first action may not necessarily position the image block on the grid line. Therefore, the processor can attract the image block and fix it on the grid line closest to the release location, thereby achieving rapid positioning.
[0069] Figure 6 Schematic diagram of the color editing interface of the image editor according to an embodiment of the present invention is shown. Figure 6 As shown, the user can operate the mouse to each pixel position. When the mouse is detected covering a pixel position, the three sub-pixels belonging to the same pixel are simultaneously locked. When a mouse click is received, the color of the corresponding sub-pixel is edited. The user can determine the grayscale value corresponding to each sub-pixel by clicking the corresponding color or entering the corresponding parameters. The processor receives the grayscale value input for each sub-pixel and updates the displayed sub-pixel accordingly.
[0070] After the user has finished editing all image blocks, they can click the Save button to save the generated test image to a custom location. Upon receiving the Save instruction, the processor determines that the test image editing is complete and generates a test image based on the grayscale values of all pixels in at least one image block. The user then adds the generated test image file to a test image library, allowing them to edit a playlist of images within the test image file based on the library.
[0071] In an embodiment of the present invention, the preliminary display step 102 may further include:
[0072] Receive the number of row pixels and the number of column pixels of the repeating unit as input;
[0073] According to the number of row pixels and the number of column pixels, all pixels of the repeating unit are displayed in a row and column arrangement, and each pixel is displayed in units of sub-pixels.
[0074] Specifically, the user can input the number of row pixels and column pixels of the repeating unit of the image block in the interface of the image editor. The processor can receive the input number of row pixels and column pixels of the repeating unit; according to the number of row pixels and column pixels, display all pixels of the repeating unit in a row and column arrangement, and each pixel is displayed in sub-pixel units. Figure 3 As shown, the processor obtains that the number of column pixels of the repeating unit of the image block is 3 and the number of row pixels is 2, then all pixels of the repeating unit are displayed according to the number of column pixels 3 and the number of row pixels 2, and each pixel has 3 sub-pixels. Figure 4 As shown, the processor obtains that the number of column pixels of the repeating unit of the image block is 4 and the number of row pixels is 3, then all pixels of the repeating unit are displayed according to the number of column pixels being 4 and the number of row pixels being 3, and each pixel has 3 sub-pixels.
[0075] In an embodiment of the present invention, the updating display step 104 may further include:
[0076] receiving a user's selection operation on each pixel of the repeating unit;
[0077] In response to the selection operation, an editing interface for all sub-pixels of the current pixel is displayed;
[0078] Receive the grayscale value of the sub-pixel input by the user on the editing interface;
[0079] Updates the display sub-pixels according to the input grayscale value.
[0080] Specifically, if Figure 6 As shown, the user can operate the mouse to each pixel position. When the mouse is detected covering a pixel position, the three sub-pixels belonging to the same pixel are simultaneously locked. When a mouse click is received, the color of the corresponding sub-pixel is edited. The user can determine the grayscale value corresponding to each sub-pixel by clicking the corresponding color or entering the corresponding parameters. The processor receives the grayscale value input for each sub-pixel and updates the displayed sub-pixel accordingly.
[0081] In an embodiment of the present invention, the preliminary display step 102 may further include:
[0082] Receive input sub-pixel order;
[0083] Each pixel is displayed in sub-pixel units and according to sub-pixel order.
[0084] Specifically, the user can select the color order option in the image editor interface, and the processor receives the sub-pixel order input by the user and displays each pixel in sub-pixel units and according to the sub-pixel order, wherein the sub-pixel order is the order of the color components. For example, Figure 3 The order of sub-pixels in the image is BGR. This makes operation easier and more intuitive for users, and better meets their needs.
[0085] In an embodiment of the present invention, the preliminary display step 102 may further include:
[0086] Receive input position information of each image block in the background grid and parameter information of the image block;
[0087] The image blocks are displayed on the background grid according to the position information and parameter information.
[0088] Specifically, the user may input the position information of each image block in the background grid in the interface of the image editor, and the processor may receive the input position information of each image block in the background grid and display the image block in the background grid according to the position information.
[0089] In an 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.
[0090] The starting column number and the starting row number indicate the row and column where the pixel area of the upper right corner 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 starting column number, the starting row number, the number of rows occupied by the height and the number of columns occupied by the width. Figure 5 As shown, the user enters information such as the starting column number 2, the starting row number 4, the number of rows occupied by the height 1, and the number of columns occupied by the width of the image block in the background grid in the interface of the image editor.
[0091] In an embodiment of the present invention, the preliminary display step 102 may further include:
[0092] In response to a first operation of dragging the image block and releasing it to a target position, the image block is positioned on a grid line closest to the target position.
[0093] Specifically, the processor may respond to a first operation of dragging and releasing the image block to a target location by positioning the image block on the grid line closest to the target location. Specifically, a user may drag and release the image block to a target location, but this first operation may not necessarily position the image block on the grid line. Therefore, the processor may adsorb the image block and fix it on the grid line closest to the release location.
[0094] In an embodiment of the present invention, the generating step 106 may include:
[0095] receiving a second operation of applying a full-screen application to at least one image block;
[0096] In response to the second operation, the at least one image block is caused to generate the entire test image.
[0097] Specifically, the user can select an image block and right-click to implement a second operation for full-screen application. Upon receiving the second operation, the processor responds to the second operation by causing at least one image block to cover the entire background image to generate the entire test image. This reduces the number of repeated settings and improves image editing efficiency.
[0098] In an embodiment of the present invention, the editing method may further include:
[0099] The saving step receives a saving instruction, and saves the test image in a custom location or a preset location in response to the saving instruction.
[0100] Specifically, after the user has finished editing all image blocks, they can click the Save button to save the generated test image to a custom location. Upon receiving the Save instruction, the processor determines that the test image editing is complete and generates a test image based on the grayscale values of all pixels in at least one image block. The user then adds the generated test image file to a test image library, and can edit a playlist of images in the test image file based on this library.
[0101] Figure 7 The structure diagram of the apparatus for editing a test image according to an embodiment of the present invention is schematically shown. Figure 7 As shown, an embodiment of the present invention provides a test image editing device, which may include:
[0102] A preliminary display module 702 is configured to display all pixels of the repeating unit of the image block in a row and column arrangement, with each pixel being displayed in sub-pixel units;
[0103] An updating display module 704 is configured to receive a grayscale value input for each sub-pixel of the repeating unit and update the display sub-pixel accordingly;
[0104] The generating module 706 is configured to generate a test image according to the grayscale values of all pixels of at least one image block.
[0105] like Figure 3 As shown, in response to the user's operation, the interface of the image editor automatically changes to Figure 3 Specifically, the processor displays all pixels of the repeating unit of the image block in a row and column arrangement, and each pixel is displayed in sub-pixel units. For example, Figure 3 In the example, three sub-pixels constitute one pixel, the number of column pixels in the repeating unit is 3, and the number of row pixels is 2.
[0106] In one example, the preliminary display module 702 of the editing device for the test image is further used to receive the input number of row pixels and column pixels of the repeating unit; based on the number of row pixels and column pixels, all pixels of the repeating unit are displayed in a row and column arrangement, and each pixel is displayed in a sub-pixel unit. Specifically, the user can input the number of row pixels and column pixels of the repeating unit of the image block in the interface of the image editor. The processor can receive the input number of row pixels and column pixels of the repeating unit of the image block; based on the number of row pixels and column pixels, all pixels of the repeating unit are displayed in a row and column arrangement, and each pixel is displayed in a sub-pixel unit. Figure 3 As shown, the processor obtains that the number of column pixels and row pixels of the repeating unit of the image block is 3 and 2, then all pixels of the repeating unit of the image block are displayed according to the number of column pixels and row pixels, and each pixel has 3 sub-pixels. Figure 4 As shown, the processor obtains that the number of column pixels of the repeating unit of the image block is 4 and the number of row pixels is 3, then all pixels of the repeating unit of the image block are displayed according to the number of column pixels being 4 and the number of row pixels being 3, and each pixel has 3 sub-pixels.
[0107] In another example, the update display module 704 is further configured to receive a user selection operation for each pixel of a repeating unit; in response to the selection operation, display an editing interface for all sub-pixels of the current pixel; receive a grayscale value input by the user for the sub-pixel on the editing interface; and update and display the sub-pixel according to the input grayscale value. Specifically, Figure 6 As shown, the user can operate the mouse to each pixel position. When the mouse is detected covering a pixel position, the three sub-pixels belonging to the same pixel are simultaneously locked. When a mouse click is received, the color of the corresponding sub-pixel is edited. The user can determine the grayscale value corresponding to each sub-pixel by clicking the corresponding color or entering the corresponding parameters. The processor receives the grayscale value input for each sub-pixel and updates the displayed sub-pixel accordingly.
[0108] In another example, the preliminary display module 702 is further configured to receive an input sub-pixel sequence; each pixel is displayed in units of sub-pixels and according to the sub-pixel sequence. Specifically, the user can select a color sequence option in the image editor interface, and the processor receives the sub-pixel sequence input by the user and displays each pixel in units of sub-pixels and according to the sub-pixel sequence, wherein the sub-pixel sequence is the order of the color components. For example, Figure 3 The order of sub-pixels in is BGR.
[0109] In 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 display the image block in the background grid based on the position information and parameter information. Specifically, the user can input the position information of each image block in the background grid and the parameter information of the image block in the image editor interface. The processor can receive the input position information and parameter information of each image block in the background grid; and display the image block in the background grid based on the position information and parameter information.
[0110] like Figure 5 As shown, the user enters information about the image block in the image editor interface, such as the starting column number 2, the starting row number 4, the height of the image block, the number of rows occupied by 1, and the width of the image block, in the background grid. After receiving this information, the processor edits the image block and responds by displaying the image block at the corresponding position in the background grid.
[0111] In yet another example, the preliminary display module 702 is further configured to, in response to a first operation of dragging and releasing an image block to a target location, position the image block on the grid line closest to the target location. Specifically, the processor may, in response to the first operation of dragging and releasing an image block to a target location, position the image block on the grid line closest to the target location. More specifically, a user may drag and release an image block to a target location, but this first operation may not necessarily position the image block on a grid line. Therefore, the processor may adsorb the image block and fix it on the grid line closest to the release location.
[0112] In another example, generation module 706 is further configured to receive a second operation to apply at least one image block to full screen; in response to the second operation, the at least one image block generates the entire test image. Specifically, the user can select at least one image block and right-click to implement the second operation of applying the image block to full screen. After receiving the second operation, the processor, in response to the second operation, causes the at least one image block to cover the entire background image to generate the entire test image. This reduces the number of repeated settings and improves image editing efficiency.
[0113] The test image editing device also includes a saving module for receiving a save instruction and, in response to the save instruction, saving the test image in a custom location or a preset location. Specifically, after the user has completed editing all image blocks, the generated test image can be saved to a custom location by clicking a save button. Upon receiving the save instruction, the processor determines that the test image has been edited and can generate a test image based on the grayscale values of all pixels in at least one image block. The user adds the generated test image file to a test image library and can edit a playlist of images in the test image file based on the test image library.
[0114] The above technical solution displays all pixels of an image block in rows and columns, with each pixel displayed as a sub-pixel. Grayscale values input by each sub-pixel are then received and the displayed sub-pixels are updated accordingly. Finally, a test image is generated based on the grayscale values of all pixels in at least one image block. The test image editing method of the present invention offers simple operation and a high user experience.
[0115] Figure 8 Schematically shows a structural block diagram of an image signal generator according to an embodiment of the present invention. Figure 8 As shown, an embodiment of the present invention provides an image signal generator, which may include:
[0116] Memory 810 configured to store instructions; and
[0117] The processor 820 is configured to call instructions from the memory 810 and implement the above-mentioned test image editing method when executing the instructions.
[0118] In this embodiment of the present invention, the processor 820 may be configured to:
[0119] Preliminary display step: displaying all pixels of the repeating unit of the image block in a row and column arrangement, and displaying each pixel in sub-pixel units;
[0120] Updating the display step: receiving the grayscale value input for each sub-pixel of the repeating unit and updating the display sub-pixel accordingly;
[0121] Generating step: generating a test image according to the grayscale values of all pixels of at least one image block.
[0122] Furthermore, the processor 820 may be further configured to:
[0123] The preliminary display step also includes:
[0124] Receive the number of row pixels and the number of column pixels of the repeating unit as input;
[0125] All pixels of the repeating unit are displayed in rows and columns according to the number of row pixels and the number of column pixels, and each pixel is displayed in units of sub-pixels.
[0126] Furthermore, the processor 820 may be further configured to:
[0127] The update display step also includes:
[0128] receiving a user's selection operation on each pixel of the repeating unit;
[0129] In response to the selection operation, an editing interface for all sub-pixels of the current pixel is displayed;
[0130] Receive the grayscale value of the sub-pixel input by the user on the editing interface;
[0131] Updates the display sub-pixels according to the input grayscale value.
[0132] Furthermore, the processor 820 may be further configured to:
[0133] The preliminary display step also includes:
[0134] Receive input sub-pixel order;
[0135] Each pixel is displayed in sub-pixel units and according to sub-pixel order.
[0136] Furthermore, the processor 820 may be further configured to:
[0137] The preliminary display step also includes:
[0138] Receive input position information of each image block in the background grid and parameter information of the image block;
[0139] The image blocks are displayed on the background grid according to the position information and parameter information.
[0140] In an embodiment of the present invention, the position information of the background grid includes: 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.
[0141] Furthermore, the processor 820 may be further configured to:
[0142] The preliminary display step further includes: in response to a first operation of dragging the image block and releasing it to a target position, positioning the image block on a grid line closest to the target position.
[0143] Furthermore, the processor 820 may be further configured to:
[0144] The generating step includes: receiving a second operation of performing full-screen application on at least one image block; and in response to the second operation, causing the at least one image block to generate a whole test image.
[0145] Furthermore, the processor 820 may be further configured to:
[0146] The saving step receives a saving instruction, and saves the test image in a custom location or a preset location in response to the saving instruction.
[0147] An embodiment of the present invention further provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute the above-mentioned test image editing method.
[0148] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0149] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0150] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0152] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0153] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0154] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules 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 disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0155] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0156] The above are merely embodiments of the present invention and are not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of the claims of the present invention.
Claims
1. A test image editing method, characterized in that: The editing method is applied to the editing device of the test image, and the editing method includes: Preliminary display step: displaying all pixels of the repeating unit of the image block in a row and column arrangement, and displaying each pixel in sub-pixel units; Updating and displaying step: receiving a grayscale value inputted for each of the sub-pixels in the repeating unit, and updating and displaying the sub-pixels accordingly; Generation step: Generate the test image according to the grayscale values of all pixels of at least one image block, and send the test image to the PG device through the host computer for testing, wherein the image block is an image sample; or, the image block is part of the repeating unit of the image sample, and multiple image blocks are edited in batches to form an image sample; or, the image block is part of the customized test image, and the test image is formed by making multiple different image blocks and splicing them together.
2. The editing method according to claim 1, characterized in that The preliminary display step further includes: receiving the number of row pixels and the number of column pixels of the repeating unit as input; 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-pixel.
3. The editing method according to claim 1, characterized in that The updating and displaying step further includes: receiving a user's selection operation on each pixel of the repeating unit; Displaying an editing interface for all sub-pixels of the current pixel in response to the selection operation; receiving a grayscale value for the sub-pixel input by a user on the editing interface; The sub-pixel is updated and displayed according to the input grayscale value.
4. The editing method according to claim 2, wherein: The preliminary display step further includes: Receive input sub-pixel order; Each of the pixels is displayed in units of sub-pixels and according to the sub-pixel sequence.
5. The editing method according to claim 1, wherein: The preliminary display step further includes: receiving input position information of each of the image blocks in the background grid and parameter information of the image blocks; The image block is displayed on the background grid according to the position information and the parameter information.
6. The editing method according to claim 5, characterized in that: The position information of the background grid includes: 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.
7. The editing method according to claim 1, characterized in that: The preliminary display step further includes: In response to a first operation of dragging the image block and releasing it to a target position, the image block is positioned on 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 performing a full-screen application on at least one of the image blocks; In response to the second operation, at least one of the image blocks is caused to generate the entire test image.
9. The editing method according to claim 1, characterized in that: The editing method further comprises: The saving step includes receiving a saving instruction and saving the test image in a custom location or a preset location in response to the saving instruction.
10. A test image editing device, characterized in that: The editing device comprises: A preliminary display module, configured to display all pixels of the repeating unit of the image block in a row-column arrangement, with each pixel being displayed in sub-pixel units; an updating display module, configured to receive a grayscale value input for each of the sub-pixels in the repeating unit, and update and display the sub-pixel accordingly; A generation module is used to generate the test image based on the grayscale values of all pixels of at least one image block, so as to send the test image to the PG device through the host computer for testing, wherein the image block is an image sample; or the image block is part of the repeating unit of the image sample, and multiple image blocks are edited in batches to form an image sample; or the image block is part of the customized test image, and the test image is formed by making multiple different image blocks and splicing them together.
11. An image signal generator, characterized in that: The image signal generator comprises: a memory configured to store instructions; and A processor is configured to call the instructions from the memory and implement the test image editing method according to any one of claims 1 to 9 when executing the instructions.
12. A machine-readable storage medium, characterized in that The machine-readable storage medium stores instructions, which are used to enable a machine to execute the test image editing method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method for measuring quality of dynamic image of liquid crystal display
CN102682684A
Image processing method and device and storage medium
CN110853568A