Image position and color channel position adjusting method and device and electronic equipment
By stitching blank pixel images on both sides of the target image and adjusting their width, the problem of imaging position instability caused by mechanical accuracy limitations is solved, and more accurate image position adjustment and color channel calibration is achieved, improving the user experience.
Patent Information
- Application Number
- CN202411349844.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-12-24
AI Technical Summary
In the prior art, due to limitations of mechanical accuracy, the imaging position or color channel position of the target image is adjusted by engine driving, and the ideal correction position cannot be achieved, resulting in poor user experience.
By stitching blank pixel images on both sides of the target image, a standard image is generated, and the laser scanning unit is controlled to expose light on the photosensitive drum according to the standard image, ensuring that the electrostatic latent image of the target image is located at the desired imaging position, and the accuracy of the imaging position is improved.
It improves the actual position accuracy of the target image, reduces the difficulty of technical implementation, and enhances user satisfaction and experience.
Smart Images

Figure CN119179244A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image forming technology, and in particular to a method, device and electronic device for adjusting image position and color channel position. Background Art
[0002] An image forming device is a device that forms an image on an imaging medium through the principle of imaging, such as a printer, a copier, a fax machine, a multifunctional image making and copying device, an electrostatic printing device, and any other similar device. The image forming device usually includes a laser scanning unit, which is used to perform laser scanning on the photosensitive drum, thereby forming an electrostatic latent image corresponding to the image forming operation on the surface of the photosensitive drum. In actual applications, when printing or copying, users often need to adjust the position of the target image on the imaging medium. Usually, since the position of the imaging medium remains unchanged, the imaging position of the target image can be adjusted by changing the position of the electrostatic latent image corresponding to the target image on the photosensitive drum.
[0003] In the prior art, the adjustment of the imaging position of the target image is usually achieved by driving the engine to control the scanning starting point of each row of the laser scanning unit. Specifically, when the imaging position of the target image is required to be biased to the left, the scanning starting point of the laser scanning unit is controlled to move to the left; when the imaging position of the target image is required to be biased to the right, the scanning starting point of the laser scanning unit is controlled to move to the right.
[0004] Similarly, in the prior art, the position of each color channel is usually adjusted directly by the engine driver. Specifically, the engine module calculates the pixels that need to be adjusted through the factory calibration parameters (customized parameters shipped from the factory) and the color calibration parameters customized by the printer, and then the engine module directly changes the scanning starting point of the LSU to directly adjust the position of each color channel image during printing.
[0005] However, due to the limitation of mechanical precision, controlling the scanning starting point of each line of the laser scanning unit through the engine driver will make the actual imaging position of the target image unstable, and thus cause a difference between the actual imaging position of the target image and the expected imaging position; similarly, since the position of each color channel is directly adjusted through the engine driver, the position of the printed image of each color channel may still have a physical position deviation. In summary, directly adjusting the imaging position of the target image through the engine driver, or directly adjusting the position of each color channel through the engine driver, cannot meet the ideal requirements, and ultimately leads to a poor user experience.
[0006] It should be pointed out that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention
[0007] In view of this, the present application provides an image position adjustment method, device, electronic device and storage medium, so as to solve the problem in the prior art that due to the limitation of mechanical precision, the imaging position of the target image is directly adjusted by the engine drive, or the position of each color channel is directly adjusted by the engine drive, and the ideal correction position requirement cannot be achieved, which ultimately leads to a poor user experience.
[0008] In a first aspect, an embodiment of the present application provides an image position adjustment method, wherein the image forming device includes a laser scanning unit, and the laser scanning unit has a fixed scanning start point and a fixed scanning end point on a photosensitive drum, and the method includes:
[0009] Determine a first blank pixel image and a second blank pixel image according to an expected imaging position of a target image, wherein the width of the first blank pixel image is the distance between the starting point of the expected imaging position and the fixed scanning starting point perpendicular to the moving direction of the imaging medium, and the width of the second blank pixel image is the distance between the end point of the expected imaging position and the fixed scanning end point perpendicular to the moving direction of the imaging medium;
[0010] splicing the first blank pixel image on a side of the target image close to the fixed scanning starting point, and splicing the second blank pixel image on a side of the target image close to the fixed scanning end point, to generate a first standard image;
[0011] In a possible implementation manner, the length of the first blank pixel image and the length of the second blank pixel are the same as the length of the target image;
[0012] In a possible implementation, the laser scanning unit is controlled to expose the first standard image on the photosensitive drum, so that the electrostatic latent image corresponding to the target image is located at the desired imaging position of the target image.
[0013] In the embodiment of the present application, first, according to the expected imaging position of the target image, the first blank pixel image and the second blank pixel image are determined; then, the first blank pixel image is spliced on the side of the target image close to the fixed scanning starting point, and the second blank pixel image is spliced on the side of the target image close to the fixed scanning end point, to generate a first standard image; finally, the laser scanning unit is controlled to expose on the photosensitive drum according to the first standard image, so that the electrostatic latent image corresponding to the target image is located at the expected imaging position of the target image. It can be understood that since the laser scanning unit has a fixed scanning starting point and a fixed scanning end point on the photosensitive drum, by splicing the first blank pixel image and the second blank pixel image on both sides of the target image, the actual position of the target image finally determined can be made more accurate, and finally improve user satisfaction.
[0014] In a possible implementation, the step of splicing the first blank pixel image on a side of the target image close to the fixed scanning starting point, and splicing the second blank pixel image on a side of the target image close to the fixed scanning end point, to generate a first standard image, includes:
[0015] The first blank pixel image is spliced on a side of the target image close to the fixed scanning starting point, or the second blank pixel image is spliced on a side of the target image close to the fixed scanning end point to generate a first standard image.
[0016] In the embodiment of the present application, the first blank pixel image is spliced on the side of the target image close to the fixed scanning starting point, or the second blank pixel image is spliced on the side of the target image close to the fixed scanning end point to generate the first standard image. It can be understood that by splicing the first blank pixel image or the second blank pixel image on any side of the target image, while ensuring that the actual position of the target image can be accurately determined, the technical implementation difficulty is reduced, which is conducive to reducing costs and ultimately improving user satisfaction.
[0017] In a possible implementation, determining the first blank pixel image and the second blank pixel image according to the expected imaging position of the target image includes:
[0018] When the expected imaging position of the target image is a position of the imaging medium close to the fixed scanning starting point, the width of the first blank pixel image is smaller than the width of the second blank image;
[0019] When the expected imaging position of the target image is a position of the imaging medium close to a side of the fixed scanning end point, the width of the first blank pixel image is greater than the width of the second blank image.
[0020] In the embodiment of the present application, when the desired imaging position of the target image is the position of the imaging medium close to the fixed scanning starting point, the width of the first blank pixel image is smaller than the width of the second blank image; when the desired imaging position of the target image is the position of the imaging medium close to the fixed scanning end point, the width of the first blank pixel image is larger than the width of the second blank image. It can be understood that by adjusting the widths of the second blank pixel image and the third blank pixel image, the imaging position of the target image can be regulated, which improves the accuracy of adjusting the imaging position of the target image to a certain extent, and ultimately improves user satisfaction.
[0021] In a possible implementation manner, the fixed scanning width is the distance between the fixed scanning start point and the fixed scanning end point.
[0022] In the embodiment of the present application, by limiting the fixed scanning width to be equal to the distance of the imaging medium along the main scanning direction, it can be ensured that no matter how the target image is moved, the imaging position of the final target image can be guaranteed to be located on the imaging medium, ultimately improving user satisfaction.
[0023] In a possible implementation, determining the first blank pixel image and the second blank pixel image according to the expected imaging position of the target image includes:
[0024] According to the desired imaging position of the target image, determining a first distance between the starting point of the desired imaging position and the fixed scanning starting point perpendicular to the imaging medium movement direction, and a second distance between the end point of the desired imaging position and the fixed scanning end point perpendicular to the imaging medium movement direction;
[0025] Pixels of the first blank pixel image and pixels of the second blank pixel image are determined according to the first distance, the second distance, and a correspondence between distance and pixel points.
[0026] In the embodiment of the present application, first, according to the expected imaging position of the target image, the first distance between the starting point of the expected imaging position and the fixed scanning starting point perpendicular to the imaging medium movement direction, and the second distance between the end point of the expected imaging position and the fixed scanning end point perpendicular to the imaging medium movement direction are determined; then, according to the first distance, the second distance and the correspondence between the distance and the pixel point, the pixels of the first blank pixel image and the pixels of the second blank pixel image are determined. It can be understood that through the correspondence between the distance and the number of pixel points, the accuracy of the moving distance of the target image can be more accurately controlled, and ultimately improve user satisfaction.
[0027] In a possible implementation, the method further includes: determining a third blank pixel image according to a desired imaging position of the target image;
[0028] The length of the third blank pixel image is the distance between the starting point of the desired imaging position and the fixed scanning starting point in the moving direction of the imaging medium, and the width of the third blank pixel image is the same as the sum of the width of the target image, the width of the first blank pixel image, and the width of the second blank pixel image;
[0029] The controlling the laser scanning unit to expose the first standard image on the photosensitive drum includes: splicing the third blank pixel image on the upper side of the first standard image to generate a second standard image; and controlling the laser scanning unit to expose the second standard image on the photosensitive drum.
[0030] In the embodiment of the present application, first, the third blank pixel image is determined according to the expected imaging position of the target image; then, the third blank pixel image is spliced on the upper side of the first standard image to generate the second standard image; and the laser scanning unit is controlled to expose on the photosensitive drum according to the second standard image. It can be understood that by controlling the length of the third blank pixel image and splicing the third blank pixel image on the upper side of the first standard image, the position of the target image in the imaging medium along the secondary scanning direction is adjusted, thereby improving user satisfaction.
[0031] In a second aspect, an embodiment of the present application provides a method for adjusting a color channel position, wherein the image forming device includes a plurality of photosensitive drums, and a laser scanning unit has a fixed scanning start point and a fixed scanning end point on the plurality of photosensitive drums, and the method includes:
[0032] Determine a first blank pixel image and a second blank pixel image according to an expected imaging position of a target image, wherein the width of the first blank pixel image is the distance between the starting point of the expected imaging position and the fixed scanning starting point perpendicular to the moving direction of the imaging medium, and the width of the second blank pixel image is the distance between the end point of the expected imaging position and the fixed scanning end point perpendicular to the moving direction of the imaging medium;
[0033] The position of each color channel is calibrated according to the width of the first blank pixel image and the width of the second image, thereby calibrating the color error of each color channel corresponding to the target image on the imaging medium.
[0034] In the embodiment of the present application, first, according to the expected imaging position of the target image, the first blank pixel image and the second blank pixel image are determined; then, according to the width of the first blank pixel image and the width of the second image, the position of each photosensitive drum corresponding to the color channel is calibrated, and then the color registration error of each color channel corresponding to the target image on the imaging medium is calibrated. It can be understood that by adjusting the position of each photosensitive drum corresponding to the color channel through the width of the first blank pixel image and the width of the second image, the target image can be accurately registered, which can make the actual position of the target image finally determined more accurate to a certain extent, and finally improve user satisfaction.
[0035] In a third aspect, an embodiment of the present application provides an image forming device, the image forming device comprising a laser scanning unit, the scanning starting point of the laser scanning unit on the photosensitive drum is fixed, and the device comprises:
[0036] A blank pixel image determination module, used to determine a first blank pixel image and a second blank pixel image according to an expected imaging position of a target image, wherein the width of the first blank pixel image is the distance between the starting point of the expected imaging position and the fixed scanning starting point perpendicular to the moving direction of the imaging medium, and the width of the second blank pixel image is the distance between the end point of the expected imaging position and the fixed scanning end point perpendicular to the moving direction of the imaging medium;
[0037] A standard image generation module is configured to splice the first blank pixel image on the side of the target image close to the fixed scanning starting point, and to splice the second blank pixel image on the side of the target image close to the fixed scanning end point, to generate a first standard image, wherein the length of the second blank pixel image and the length of the third blank pixel are the same as the length of the target image.
[0038] In a fourth aspect, an embodiment of the present application provides an electronic device, including:
[0039] processor;
[0040] Memory;
[0041] And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the electronic device executes the method described in any one of the first aspect and the second aspect.
[0042] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described in the first aspect and the second aspect.
[0043] It can be understood that the image forming device provided in the third aspect, the electronic device provided in the fourth aspect, and the computer-readable storage medium provided in the fifth aspect are all used to execute the method provided in the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0045] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application.
[0046] Figure 2 A working schematic diagram of an existing laser scanning unit provided for related technology.
[0047] Figure 3 A flowchart of an image position adjustment method provided in an embodiment of the present application.
[0048] Figure 4 A schematic diagram of the operation of a laser scanning unit provided in an embodiment of the present application.
[0049] Figure 5 A schematic diagram of standard image stitching provided in an embodiment of the present application.
[0050] Fig. 6A Another schematic diagram of standard image stitching provided in an embodiment of the present application.
[0051] Figure 6B Another schematic diagram of standard image stitching provided in an embodiment of the present application.
[0052] Figure 7 A schematic diagram of the structure of an image forming device provided in an embodiment of the present application.
[0053] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0055] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0056] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0057] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. Image forming equipment (device): including but not limited to printers, copiers, fax machines, scanners, and multi-function machines that integrate printing, copying, faxing, scanning and other functions, whose function is to print images or text on imaging media.
[0058] LSU (Laser Scanning Unit, LSU, laser scanning unit), the image forming device is usually equipped with a laser scanning unit (Laser Scanning Unit, LSU), which can expose the photosensitive drum (image carrier) that has been charged with a uniform charge, so that the charge on the surface of the photosensitive drum disappears relative to the charge in the image area of the original, thereby forming an image in the form of charge on the surface of the photosensitive drum, which is called an "electrostatic latent image".
[0059] Color Correction: Adjusts color mismatches by controlling the offset of where each color channel begins printing.
[0060] For ease of understanding, the following first describes a specific application scenario by way of example. Figure 1 , is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1As shown, the application scenario includes: an image forming device 101. The image forming device 101 includes: a laser scanning unit 102, a photosensitive drum 103 and printing paper 104. Specifically, when the image forming device 101 receives an image forming job, it controls the laser scanning unit 102 to perform laser scanning on the photosensitive drum 103, thereby forming an electrostatic latent image corresponding to the image forming job on the surface of the photosensitive drum 103. After the electrostatic latent image of the photosensitive drum 103 contacts the developing roller, the electrostatic latent image portion of the photosensitive drum 103 will attract the toner of the color corresponding to the developing roller, and finally transfer the toner to the printing paper 104 to complete the image forming job. Figure 1 The image forming device shown also includes other functional structures, such as ink cartridges, intermediate transfer belts, fixing rollers, and charging rollers, etc. For the sake of simplicity, this application does not go into detail here.
[0061] It should be pointed out that Figure 1 The image forming device 101 and the printing paper 103 shown in the figure are only exemplary descriptions and should not be used as a limitation on the protection scope of the present application. For example, the image forming device 101 includes but is not limited to a printer, a copier, a fax machine, a multi-function image making and copying device, an electrostatic printing device, and any other similar device. The printing paper 103 includes but is not limited to photo paper, promotional posters, and any other similar media.
[0062] In actual applications, users often need to adjust the position of a target image on an imaging medium when printing or copying. Usually, since the position of the imaging medium remains unchanged, the imaging position of the target image can be adjusted by changing the position of the electrostatic latent image corresponding to the target image on the photosensitive drum.
[0063] In the prior art, the scanning starting point of each row of the laser scanning unit is controlled by the engine to directly adjust the imaging position of the target image. Specifically, when the imaging position of the target image is required to be biased to the left, the scanning starting point of the laser scanning unit is controlled to move to the left; when the imaging position of the target image is required to be biased to the right, the scanning starting point of the laser scanning unit is controlled to move to the right.
[0064] For easier understanding, see Figure 2 , is a schematic diagram of the operation of an existing laser scanning unit provided in the related art. Figure 2 As shown, the scene includes an imaging medium 201, a photosensitive drum 202, and a scanning starting point 203 of a laser scanning unit. Specifically, when the imaging position of the target image is required to be biased to the left in the imaging medium 201, the scanning starting point 203 of the laser scanning unit is controlled to move to the left; when the imaging position of the target image is required to be biased to the right in the imaging medium 201, the scanning starting point 203 of the laser scanning unit is controlled to move to the right.
[0065] However, due to the limitation of mechanical precision, controlling the scanning starting point of each row of the laser scanning unit through engine drive will make the actual imaging position of the target image unstable, which will lead to a difference between the actual imaging position of the target image and the expected imaging position, ultimately resulting in a poor user experience.
[0066] It should be pointed out that Figure 2 The scanning starting point 203 of the laser scanning unit shown in FIG. 1 is used to indicate the scanning starting point of the laser scanning unit on the photosensitive drum, that is, the scanning starting point 203 is a point at a fixed position of the photosensitive drum.
[0067] In view of this problem, in an embodiment of the present application, first, according to the desired imaging position of the target image, a first blank pixel image and a second blank pixel image are determined; then, the first blank pixel image is spliced on the side of the target image close to the fixed scanning starting point, and the second blank pixel image is spliced on the side of the target image close to the fixed scanning end point, to generate a first standard image; finally, the laser scanning unit is controlled to expose on the photosensitive drum according to the first standard image, so that the electrostatic latent image corresponding to the target image is located at the desired imaging position of the target image. It can be understood that since the laser scanning unit has a fixed scanning starting point and a fixed scanning end point on the photosensitive drum, by splicing the first blank pixel image and the second blank pixel image on both sides of the target image, the actual position of the target image finally determined can be made more accurate, and ultimately improve user satisfaction. Specifically, a detailed description is given below in conjunction with the accompanying drawings and specific embodiments.
[0068] See also Figure 3 , is a flow chart of an image position adjustment method provided in an embodiment of the present application. The method can be applied to Figure 1 In the application scenario shown, Figure 3 As shown, it mainly includes the following steps.
[0069] Step S301: determining a first blank pixel image and a second blank pixel according to a desired imaging position of a target image.
[0070] In actual use, the laser scanning unit on the image forming device has a fixed scanning start point and a fixed scanning end point on the photosensitive drum. It can be understood that the laser scanning unit starts laser scanning from the same position of the photosensitive drum each time and ends laser scanning at another position of the photosensitive drum. For ease of understanding, see Figure 4 , is a schematic diagram of a laser scanning unit provided in an embodiment of the present application. As shown in the figure, a photosensitive drum 401, a fixed scanning starting point 402 of the laser scanning unit and a fixed scanning end point 403 of the laser scanning unit are shown.
[0071] In a specific application, when the laser scanning unit is scanning, the scanning starting point of each row is the fixed scanning starting point 402, and the scanning end point is the fixed scanning end point 403. Of course, in a possible implementation, when the laser scanning unit is scanning the first row, the laser scanning unit scans from the fixed scanning starting point to the fixed scanning end point; when the laser scanning unit is scanning the second row, the laser scanning unit scans from the fixed scanning end point to the fixed scanning starting point; and so on. At this time, the distance between the fixed scanning starting point and the fixed scanning end point is the fixed scanning width. This application does not impose specific restrictions on this.
[0072] It should be pointed out that Figure 4 The fixed scanning starting point 402 of the laser scanning unit and the fixed scanning end point 403 of the laser scanning unit shown in the figure are used to indicate the scanning starting point and scanning end point of the laser scanning unit on the photosensitive drum, that is, the scanning starting point 402 is a point at a fixed position of the photosensitive drum 401; the scanning end point 403 is another point at a fixed position of the photosensitive drum 401.
[0073] In the embodiment of the present application, the first blank pixel image and the second blank pixel image are determined according to the desired imaging position of the target image. The width of the first blank pixel image is the distance between the starting point of the desired imaging position and the fixed scanning starting point perpendicular to the direction of motion of the imaging medium; the width of the second blank pixel image is the distance between the end point of the desired imaging position and the fixed scanning end point perpendicular to the direction of motion of the imaging medium; the length of the first blank pixel image and the length of the second blank image are the same as the length of the target image.
[0074] It should be pointed out that the "distance" mentioned above is only used to indicate the length between two points, and is a positive number, not a vector containing a direction.
[0075] For easier understanding, see Figure 5 , is a schematic diagram of a standard image stitching provided in an embodiment of the present application. As shown in the figure, a fixed scanning end point 501, a target image 502, a first blank pixel image 503, a fixed scanning start point 504 and a second blank pixel image 505 are shown. When the desired imaging position of the target image is Figure 5 When the position of the target image 502 shown in FIG. 5 is obtained, the distance between the starting point of the desired imaging position and the fixed scanning starting point along the main scanning direction is as follows: Figure 5 The distance L2 in the figure is shown as follows; the distance between the end point of the desired imaging position and the fixed scanning end point along the main scanning direction is shown as Figure 5 Therefore, the width of the second blank pixel image is L2, and the width of the first blank pixel image is L4.
[0076] It should be pointed out that Figure 5The diagonal image in the target image 503 shown in the figure is only used to distinguish it from the blank pixel image and is not limited as the actual image content of the target image.
[0077] In the embodiment of the present application, since the laser scanning unit has a fixed scanning starting point and a fixed scanning end point on the photosensitive drum, by splicing the first blank pixel image and the second blank pixel image on both sides of the target image respectively, the actual position of the target image finally determined is more accurate, thereby ultimately improving user satisfaction.
[0078] In practical applications, the position of the target image can be adjusted by adjusting the width of the first blank pixel image and the width of the second blank pixel image. Specifically, when the desired imaging position of the target image is the position of the imaging medium close to the fixed scanning starting point, the width of the first blank pixel image is smaller than the width of the second blank image; when the desired imaging position of the target image is the position of the imaging medium close to the fixed scanning end point, the width of the first blank pixel image is larger than the width of the second blank image.
[0079] In the embodiment of the present application, by adjusting the width of the second blank pixel image and the first blank pixel image, the imaging position of the target image can be regulated, which improves the accuracy of adjusting the imaging position of the target image to a certain extent.
[0080] It can be understood that when the expected imaging position of the target image is closer to the position on the side of the fixed scanning starting point, the width of the second blank pixel image is smaller and the width of the first blank pixel image is larger; when the expected imaging position of the target image is closer to the position on the side of the fixed scanning end point, the width of the second blank pixel image is larger and the width of the first blank pixel image is smaller.
[0081] In a possible implementation, the fixed scanning width is less than or equal to the width of the imaging medium. The fixed scanning width is the distance between the fixed scanning start point and the fixed scanning end point. It can be understood that the fixed scanning start point corresponds to the starting position on the right side of the imaging medium, and the fixed scanning end point corresponds to the starting position on the left side of the imaging medium. According to user needs, the width of the first blank pixel image and the width of the second blank pixel can be set to adjust the position of the target image on the imaging medium.
[0082] In the embodiment of the present application, by limiting the fixed scanning width to be less than or equal to the width of the imaging medium, it can be ensured that no matter how the target image is moved, the final imaging position of the target image can be guaranteed to be located on the imaging medium, ultimately improving user satisfaction.
[0083] Of course, those skilled in the art may also set the fixed scanning width to be greater than the width of the imaging medium according to actual needs. In this case, the fixed scanning starting point is located to the left of the starting point on the left side of the imaging medium, and the fixed scanning end point corresponds to the position of the starting point on the right side of the imaging medium; or, the fixed scanning starting point corresponds to the position of the starting point on the left side of the imaging medium, and the fixed scanning end point is located to the right of the end point on the right side of the imaging medium; or, the fixed scanning starting point is located to the left of the starting point on the left side of the imaging medium, and the fixed scanning end point is located to the right of the end point on the right side of the imaging medium. This application does not impose specific restrictions on this.
[0084] In one possible implementation, the user can set the number of target pixels within a unit distance according to actual needs, and then determine the pixels of the corresponding first blank pixel image according to the first distance between the starting point of the expected imaging position of the target image and the fixed scanning starting point; or determine the pixels of the corresponding second blank pixel image according to the second distance between the end point of the expected imaging position of the target image and the fixed scanning end point.
[0085] Specifically, in one possible implementation method, first, according to the expected imaging position of the target image, a first distance along the main scanning direction between the starting point of the expected imaging position and the fixed scanning starting point and a second distance between the end point of the expected imaging position and the fixed scanning end point are determined; then, according to the first distance, the second distance, and the correspondence between the distance and the pixel point, the pixels of the first blank pixel image and the pixels of the second blank pixel image are determined.
[0086] It should be noted that the pixels of the first blank pixel image and the pixels of the second blank pixel image described above both represent the width of the blank pixel image. It can be understood that the pixels of the first blank pixel image represent the number of pixels included in the width of the first blank pixel image; similarly, the pixels of the second blank pixel image represent the number of pixels included in the width of the second blank pixel image.
[0087] Exemplarily, the correspondence between distance and pixel points is 600 pixels per inch. When the first distance is determined to be 2 inches according to the expected imaging position of the target image, each row of the determined first blank pixel image includes 1200 blank pixels; similarly, when the second distance is determined to be 0.5 inches according to the expected imaging position of the target image, each row of the determined second blank pixel image includes 300 blank pixels.
[0088] In the embodiment of the present application, through the correspondence between distance and the number of pixels, the accuracy of the moving distance of the target image can be more accurately controlled, thereby ultimately improving user satisfaction.
[0089] Step S302: splicing a first blank pixel image on a side of the target image close to the fixed scanning start point, and splicing a second blank pixel image on a side of the target image close to the fixed scanning end point, to generate a first standard image.
[0090] In the embodiment of the present application, after the first target image is determined, the first blank pixel image is spliced on the side of the target image close to the fixed scanning starting point, and the second blank pixel image is spliced on the side of the target image close to the fixed scanning end point to generate the first standard image. Figure 5 The first blank pixel image 503, the target image 502 and the second blank pixel image 505 constitute a first standard image.
[0091] In practical applications, the laser scanning unit can be set to scan from one side all the time. For example, the laser scanning unit is set to perform laser scanning only from left to right, or the laser scanning unit is set to perform laser scanning only from right to left. At this time, setting blank pixel images on both sides of the target pixel image increases the technical difficulty of the solution. Therefore, when the laser scanning unit is set to perform laser scanning only from left to right, a blank pixel image can be spliced only on the left side of the target image; similarly, when the laser scanning unit is set to perform laser scanning only from right to left, a blank pixel image can be spliced only on the right side of the target image, thereby finally achieving the movement of the target image position.
[0092] Specifically, in a possible implementation, a first blank pixel image is spliced on a side of the target image close to a fixed scanning start point, or a second blank pixel image is spliced on a side of the target image close to a fixed scanning end point to generate a first standard image.
[0093] For ease of understanding, when the first blank pixel image is spliced on the side of the target image close to the fixed scanning starting point, see Fig. 6A , is another standard image stitching schematic diagram provided in the embodiment of the present application. As shown in the figure, the fixed scanning starting point 601, the first blank pixel image 602, the target image 603 and the starting point 604 of the desired imaging position are shown. When the desired imaging position of the target image is Fig. 6A When the position of the target image 603 is shown in FIG6 , the distance between the starting point 604 of the desired imaging position and the fixed scanning starting point 601 perpendicular to the moving direction of the imaging medium is shown as the distance L6 in FIG6 . Therefore, the width of the first blank pixel image is L6.
[0094] It can be understood that at this time, the laser scanning unit scans from a fixed scanning starting point to the right.
[0095] Of course, when splicing the second blank pixel image on the side of the target image close to the fixed scanning end point, see Figure 6B, which is another schematic diagram of standard image stitching provided by an embodiment of the present application. As shown in the figure, the target image 603, the second blank pixel image 605, the fixed scanning end point 606 and the end point 607 of the desired imaging position are shown. When the desired imaging position of the target image is the position of the target image 603 shown in FIG. 6, the distance between the end point 607 of the desired imaging position and the fixed scanning end point 606 perpendicular to the moving direction of the imaging medium is as follows: Figure 6B Therefore, the width of the first blank pixel image is L7.
[0096] It can be understood that at this time, the laser scanning unit scans from a fixed scanning starting point to the right.
[0097] It should be pointed out that Fig. 6A as well as Figure 6B The diagonal image in the target image 603 shown in FIG. 6 is only used to distinguish it from the blank pixel image and is not limited as the actual image content of the target image.
[0098] In an embodiment of the present application, by splicing the first blank pixel image or the second blank pixel image on any side of the target image, while ensuring that the actual position of the target image can be accurately determined, the difficulty of technical implementation is reduced, and the user can be separated from the printing engine. The target image position can be moved only by adjusting the width of the first blank pixel and the second blank pixel, which is conducive to reducing costs and ultimately improving user satisfaction and enhancing user experience.
[0099] In addition, in a possible implementation, the fixed scanning starting point corresponds to the starting point position on the side of the imaging medium, and the width of the first blank pixel image indicates the distance between the target image and the right edge of the imaging medium; or the fixed scanning end point corresponds to the end point position on the left side of the imaging medium, and the width of the second blank pixel image indicates the distance between the target image and the left edge of the imaging medium. According to user needs, different widths of the first blank pixel image or the second blank pixel width can be set to adjust the position of the target image on the imaging medium.
[0100] In a possible implementation, after the first standard image is generated, the laser scanning unit is controlled to expose the first standard image on the photosensitive drum, so that the electrostatic latent image corresponding to the target image is located at a desired imaging position of the target image.
[0101] In the embodiment of the present application, after the first standard image is generated, the laser scanning unit is controlled to expose the first standard image on the photosensitive drum, so that the electrostatic latent image corresponding to the target image is located at the desired imaging position of the target image.
[0102] In the embodiment of the present application, first, according to the expected imaging position of the target image, the first blank pixel image and the second blank pixel image are determined; then, the first blank pixel image is spliced on the side of the target image close to the fixed scanning starting point, and the second blank pixel image is spliced on the side of the target image close to the fixed scanning end point, to generate a first standard image; finally, the laser scanning unit is controlled to expose on the photosensitive drum according to the first standard image, so that the electrostatic latent image corresponding to the target image is located at the expected imaging position of the target image. It can be understood that since the laser scanning unit has a fixed scanning starting point and a fixed scanning end point on the photosensitive drum, by splicing the first blank pixel image and the second blank pixel image on both sides of the target image, the actual position of the target image finally determined can be made more accurate, and finally improve user satisfaction.
[0103] In practical applications, the upper and lower positions of the target image can also be adjusted by splicing a blank pixel image on the upper side of the target image. Specifically, in a possible implementation, a third blank pixel image is determined according to the desired imaging position of the target image; the third blank pixel image is spliced on the upper side of the first standard image to generate a second standard image; and the laser scanning unit is controlled to expose the second standard image on the photosensitive drum.
[0104] It can be understood that the length of the third blank pixel image is the distance between the starting point of the desired imaging position and the fixed scanning starting point, and the width of the third blank pixel image is the same as the fixed scanning width.
[0105] In an embodiment of the present application, by controlling the length of the third blank pixel image and splicing the third blank pixel image on the upper side of the first standard image, the position of the target image in the imaging medium in the direction of movement of the imaging medium is adjusted, thereby improving user satisfaction.
[0106] In practical applications, when the target image needs to be printed in color, there are multiple color channels, such as CMYK four channels, RBG three channels, etc., that is, there are multiple different color channels for printing. In the prior art, in order to ensure that the target image is accurately registered on the imaging medium, the position of each color channel is usually directly adjusted through the engine driver, so that the multiple color channels finally present an aligned printing effect without color channel offset. Specifically, the engine module calculates the pixels that need to be adjusted through the factory correction parameters (factory custom parameters) and the printer's custom color correction parameters, and then the engine module directly changes the scanning starting point of the LSU, and directly adjusts the position of each color channel image during printing.
[0107] However, due to the limitation of mechanical precision, directly adjusting the position of each color channel through the engine driver may still cause physical position deviation of the printed image of each color channel, thereby causing inaccurate color registration of the target image on the imaging medium, resulting in a poor user experience.
[0108] In response to the above problem, in an embodiment of the present application, first, according to the expected imaging position of the target image and the degree of offset of each color channel, the first blank pixel image and the second blank pixel image corresponding to each color channel are determined; then, according to the width of the first blank pixel image and the width of the second image corresponding to each color channel, the position of each color channel is calibrated, and then the chromatic aberration error of each color channel corresponding to the target image on the imaging medium is calibrated.
[0109] In the embodiment of the present application, the position of each photosensitive drum corresponding to the color channel is adjusted by the width of the first blank pixel image and the width of the second image, thereby ensuring that the target image can be accurately registered. To a certain extent, the actual position of the target image finally determined can be made more accurate, and the user can further increase the accuracy of color correction by calibrating the image position on the basis of mechanical color correction, thereby ultimately improving user satisfaction, saving adjustment time, and enhancing user experience.
[0110] Corresponding to the above embodiments, the present application also provides an image forming device.
[0111] See also Figure 7 , is a schematic diagram of the structure of an image forming device provided in an embodiment of the present application. Figure 7 As shown, the image forming device 700 is shown in the figure. The image forming device 700 includes: a blank pixel image determination module 701, a standard image generation module 702 and an exposure control module 703. Specifically, the blank pixel image determination module is used to determine the first blank pixel image and the second blank pixel image according to the expected imaging position of the target image; the standard image generation module is used to splice the first blank pixel image on the side of the target image close to the fixed scanning starting point, and splice the second blank pixel image on the side of the target image close to the fixed scanning end point to generate a first standard image; the exposure control module is used to control the laser scanning unit to expose on the photosensitive drum according to the first standard image, so that the electrostatic latent image corresponding to the target image is located at the expected imaging position of the target image.
[0112] Corresponding to the above embodiments, the present application also provides an electronic device.
[0113] See also Figure 8, is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 800 may include: a processor 801, a memory 802, and a communication unit 803. These components communicate through one or more buses. Those skilled in the art will understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present invention. It can be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0114] The communication unit 803 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0115] The processor 801 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs, instructions, and / or modules stored in the memory 802, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 801 can include only a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0116] The memory 802 is used to store the execution instructions of the processor 801. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0117] When the execution instruction in the memory 802 is executed by the processor 801, the electronic device 800 can execute Figure 1 Some or all of the steps in the illustrated embodiments.
[0118] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the simulation scene generation method provided by the present invention. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0119] In a specific implementation, the present invention further provides a computer program product, wherein the computer program product includes executable instructions, and when the executable instructions are executed on a computer, the computer executes part or all of the steps in each embodiment of the simulation scene generation method provided by the present invention.
[0120] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0121] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0122] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0123] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0124] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A method for adjusting image position, characterized in that: The image forming device includes a laser scanning unit, the laser scanning unit has a fixed scanning start point and a fixed scanning end point on a photosensitive drum, and the method includes: Determine a first blank pixel image and a second blank pixel image according to an expected imaging position of a target image, wherein the width of the first blank pixel image is the distance between the starting point of the expected imaging position and the fixed scanning starting point perpendicular to the moving direction of the imaging medium, and the width of the second blank pixel image is the distance between the end point of the expected imaging position and the fixed scanning end point perpendicular to the moving direction of the imaging medium; The first blank pixel image is spliced on a side of the target image close to the fixed scanning starting point, and the second blank pixel image is spliced on a side of the target image close to the fixed scanning end point to generate a first standard image.
2. The method according to claim 1, characterized in that After the first standard image is generated, the method further comprises: The laser scanning unit is controlled to expose the first standard image on the photosensitive drum, so that the electrostatic latent image corresponding to the target image is located at the desired imaging position of the target image.
3. The method according to claim 1, characterized in that The generating of the first standard image comprises: The length of the first blank pixel image and the length of the second blank pixel image are the same as the length of the target image.
4. The method according to claim 1, characterized in that: The step of splicing the first blank pixel image on a side of the target image close to the fixed scanning starting point, and splicing the second blank pixel image on a side of the target image close to the fixed scanning end point, to generate a first standard image, comprises: The first blank pixel image is spliced on a side of the target image close to the fixed scanning starting point, or the second blank pixel image is spliced on a side of the target image close to the fixed scanning end point to generate a first standard image.
5. The method according to claim 1, characterized in that: The step of determining the first blank pixel image and the second blank pixel image according to the expected imaging position of the target image includes: When the expected imaging position of the target image is a position of the imaging medium close to the fixed scanning starting point, the width of the first blank pixel image is smaller than the width of the second blank image; When the expected imaging position of the target image is a position of the imaging medium close to a side of the fixed scanning end point, the width of the first blank pixel image is greater than the width of the second blank image.
6. The method according to claim 1, characterized in that The fixed scanning width is the distance between the fixed scanning start point and the fixed scanning end point.
7. The method according to claim 1, characterized in that The step of determining the first blank pixel image and the second blank pixel image according to the expected imaging position of the target image includes: According to the desired imaging position of the target image, determining a first distance between the starting point of the desired imaging position and the fixed scanning starting point perpendicular to the imaging medium movement direction, and a second distance between the end point of the desired imaging position and the fixed scanning end point perpendicular to the imaging medium movement direction; Pixels of the first blank pixel image and pixels of the second blank pixel image are determined according to the first distance, the second distance, and a correspondence between distance and pixel points.
8. The method according to claim 1, characterized in that The method further comprises: determining a third blank pixel image according to a desired imaging position of the target image; The length of the third blank pixel image is the distance between the starting point of the desired imaging position and the fixed scanning starting point in the moving direction of the imaging medium, and the width of the third blank pixel image is the same as the sum of the width of the target image, the width of the first blank pixel image, and the width of the second blank pixel image; The controlling the laser scanning unit to expose the first standard image on the photosensitive drum includes: splicing the third blank pixel image on the upper side of the first standard image to generate a second standard image; and controlling the laser scanning unit to expose the second standard image on the photosensitive drum.
9. A method for adjusting the position of a color channel, characterized in that: The image forming device includes a plurality of photosensitive drums, the laser scanning unit has a fixed scanning start point and a fixed scanning end point on the plurality of photosensitive drums, and the method includes: Determine a first blank pixel image and a second blank pixel image according to an expected imaging position of a target image, wherein the width of the first blank pixel image is the distance between the starting point of the expected imaging position and the fixed scanning starting point perpendicular to the moving direction of the imaging medium, and the width of the second blank pixel image is the distance between the end point of the expected imaging position and the fixed scanning end point perpendicular to the moving direction of the imaging medium; The position of each color channel is calibrated according to the width of the first blank pixel image and the width of the second image, thereby calibrating the color error of each color channel corresponding to the target image on the imaging medium.
10. An image forming device, characterized in that: The image forming device comprises a laser scanning unit, the scanning starting point of the laser scanning unit is fixed on the photosensitive drum, and the device comprises: A blank pixel image determination module, used to determine a first blank pixel image and a second blank pixel image according to an expected imaging position of a target image, wherein the width of the first blank pixel image is the distance between the starting point of the expected imaging position and the fixed scanning starting point perpendicular to the moving direction of the imaging medium, and the width of the second blank pixel image is the distance between the end point of the expected imaging position and the fixed scanning end point perpendicular to the moving direction of the imaging medium; A standard image generation module is configured to splice the first blank pixel image on the side of the target image close to the fixed scanning starting point, and to splice the second blank pixel image on the side of the target image close to the fixed scanning end point, to generate a first standard image, wherein the length of the second blank pixel image and the length of the third blank pixel are the same as the length of the target image.
11. An electronic device, characterized in that: include: processor; Memory; And a computer program, wherein the computer program is stored in the memory, and the computer program includes instructions, and when the instructions are executed by the processor, the electronic device executes the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 9.
