Correction method and image forming apparatus

By correcting the black mark position information in the image forming device, the problem of positioning failure caused by the pasting position error of the white stripe area is solved, the position of the black mark and white stripe area is accurately determined, and the success rate of scanning correction is improved.

CN118748698APending Publication Date: 2024-10-08BEIJING PANTUM INFORMATION TECHNOLOGY CO LTD
View PDF -1 Cites 0 Cited by

Patent Information

Application Number
CN202411017520.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

In the image forming device, the pasting position error of the white stripe area leads to a large error between the pre-stored black mark position information and the actual position information. As a result, the specific boundary point of the black mark may not be within the preset area during scanning correction, and the position of the white stripe area cannot be determined. .

Method used

By obtaining the currently stored black mark position information, the position information of the area to be scanned is determined, and the correction value is calculated based on the scanned data to correct the black mark position information so that it is always located within the area to be scanned, thereby improving the accuracy of positioning the white bar area. .

Benefits of technology

It effectively reduces the failure of positioning the white bar area in the scanning correction scene, improves the success rate of determining the position information of the black mark and white bar area, and ensures the accuracy of the scanning correction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748698A_ABST
    Figure CN118748698A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a correction method and an image forming device. The method comprises the following steps: firstly, acquiring first position information of a currently stored black mark; and determining second position information of the to-be-scanned area according to the first position information of the black mark. And then, scanning the to-be-scanned area according to the second position information, and determining a correction value required for correcting the first position information according to the obtained scanning data. And finally, correcting the currently stored first position information by using the obtained correction value to obtain the corrected first position information. According to the technical scheme, the black mark can be always located in the to-be-scanned area, and therefore the situation that positioning of a white strip area in a scanning correction scene fails is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image forming technology, and in particular to a correction method and an image forming device. Background Art

[0002] Nowadays, many image forming devices have image scanning functions. In the image scanning scenario, scanning correction is required. The implementation principle is to control the optical sensor to scan the white bar area attached to the image forming device, and use the scan data of the white bar area to perform scanning correction. Before scanning the white bar area, it is necessary to locate its position first. For this purpose, a black positioning mark is set at a specific position in the white bar area, called a "black mark", and the position information of the black mark is pre-stored in the image forming device. The image forming device can determine the preset area according to the pre-stored black mark position information using preset rules, so that the specific boundary point of the black mark is located in the preset area, and then control the scanning of the preset area. Then, the position information of the specific boundary point of the black mark can be determined using the scan data of the preset area, and the position of the white bar area can be inferred from this.

[0003] However, when the pasting position error of the white stripe area is too large, the black mark position information pre-stored in the image forming device will also have a large error with the actual position information. When the error value makes the specific boundary point in the black mark close to the boundary position of the preset area, due to the existence of scanning error, the scanning data of the preset area will probabilistically not contain the specific boundary point of the black mark, and the black mark position cannot be determined at this time. Therefore, it is necessary to correct the black mark position information pre-stored in the image forming device. Summary of the invention

[0004] In view of this, the present application provides a correction method and an image forming device for correcting black mark position information stored in the image forming device to reduce the situation where the white bar area positioning fails in the scanning correction scene.

[0005] In a first aspect, an embodiment of the present application provides a correction method, which is applied to an image forming device, wherein a first reference area is provided on a target component in the image forming device, the first reference area is white, and the first reference area is used to scan and correct the image forming device, and a second reference area is included in a preset position in the first reference area, the second reference area is black, and the second reference area is used to determine the position of the first reference area; the method comprises: obtaining first position information currently stored, the first position information being used to describe the relative position of the second reference area on the target component; determining second position information based on the first position information, the second position information being used to describe the relative position of an area to be scanned on the target component; scanning the area to be scanned based on the second position information; determining a correction value required to correct the first position information based on the obtained scanning data; and correcting the first position information currently stored using the correction value to obtain the corrected first position information.

[0006] In this implementation, the first reference area may be a white bar area, the second reference area may be a black mark area, the black mark may be located at a specific position of the white bar area, and the relative position relationship between the black mark and the white bar area may be pre-stored in the image forming device.

[0007] In a possible implementation manner, determining the second position information according to the first position information includes: determining the second position information based on the first position information according to a target position relationship between the second reference area and the area to be scanned.

[0008] In a possible implementation, according to the target position relationship between the second reference area and the area to be scanned, determining the second position information based on the first position information includes: determining the position information component of the second position information in the vertical direction according to the target position relationship between the second reference area and the area to be scanned in the vertical direction; and determining the position information component of the second position information in the horizontal direction according to the pre-stored value n.

[0009] In a possible implementation, determining the position information component of the second position information in the vertical direction according to the target position relationship between the second reference area and the area to be scanned in the vertical direction includes: according to the formula Determine the position information component of the second position information in the vertical direction; wherein, y is used to characterize the position information component of the second position information in the vertical direction, x is used to characterize the position information component of the first position information in the vertical direction, and z is the distance between the second reference area and the first reference area in the vertical direction.

[0010] In one possible implementation, the correction value required to correct the first position information is determined based on the obtained scanning data, including: determining the third position information of the first boundary point of the second reference area in the area to be scanned based on the obtained scanning data; and determining the correction value required to correct the first position information based on the third position information.

[0011] In one possible implementation, determining a correction value required to correct the first position information based on the third position information includes: determining a first correction value required to correct the first position information based on a distance between the third position information and a first boundary of the area to be scanned; wherein the first boundary is a horizontal boundary, and the first correction value is a correction value for a position information component of the first position information in a vertical direction; or, wherein the first boundary is a vertical boundary, and the first correction value is a correction value for a position information component of the first position information in a horizontal direction.

[0012] In one possible implementation, determining a first correction value required to correct the first position information based on the distance between the third position information and the first boundary of the area to be scanned includes: calculating the difference between the actual distance from the third position information to the first boundary and the target distance; and determining the first correction value required to correct the first position information based on the difference between the actual distance and the target distance.

[0013] In a possible implementation, when the first boundary is a horizontal boundary and the first correction value is a correction value of a position information component of the first position information in a vertical direction, the target distance is any value within a preset interval, and the preset interval includes The z is the distance between the second reference area and the first reference area in the vertical direction, and / or the preset interval includes The h is the vertical height of the area to be scanned.

[0014] In a possible implementation, the method further includes: storing the corrected first position information; or, after determining that the number of corrections to the first position information reaches a threshold number, calculating and storing an average value of each corrected first position information.

[0015] In a second aspect, an embodiment of the present application provides an image forming device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the image forming device is triggered to execute any one of the methods described in the first aspect.

[0016] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein 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 method described in the first aspect.

[0017] By adopting the above technical solution, in the scenario where the position of the white bar is located before performing the scanning correction operation, the correction value of the theoretical position of the black mark can be obtained according to the scanning data of the area to be scanned, and the pre-stored theoretical position information of the black mark can be corrected. By adopting the above technical solution, the black mark can always be located in the area to be scanned, thereby reducing the situation where the white bar area positioning fails in the scanning correction scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] 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.

[0019] Figure 1 A schematic diagram of the structure of an image forming device provided in an embodiment of the present application;

[0020] Figure 2 A schematic diagram of the positional relationship between a to-be-scanned area and a black mark provided in an embodiment of the present application;

[0021] Figure 3 A schematic diagram of a flow chart of a calibration method provided in an embodiment of the present application;

[0022] Figure 4 A schematic diagram of another positional relationship between an area to be scanned and a black mark provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram of another calibration method provided in an embodiment of the present application;

[0024] Figure 6 A schematic diagram of another calibration method provided in an embodiment of the present application;

[0025] Figure 7 A schematic diagram of the structure of another image forming device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] 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.

[0027] 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.

[0028] 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.

[0029] 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 there can be three relationships. 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.

[0030] The embodiment of the present application can provide an image forming device, which has an image scanning function. When performing image scanning, the optical sensor is controlled to emit a scanning light beam to the image to be scanned, and then the reflected light beam is received by the optical sensor, and a scanned image is formed according to the electrical signal converted from the reflected light beam. In the above-mentioned image scanning scenario, in order to improve the imaging effect of the scanned image in terms of color and brightness, it is necessary to perform scanning correction before the scanning starts.

[0031] In the related art, the implementation principle of scanning correction is to control the optical sensor to scan a white strip area built into the image forming device when the scanning beam is turned on and when the scanning beam is not turned on, and to obtain corresponding scanning correction data based on the data obtained from the two scans through a related algorithm.

[0032] Figure 1 A schematic diagram of the structure of an image forming device provided in an embodiment of the present application is shown in FIG. Figure 1As shown, the target component 20 of the image forming device may be provided with a scanning panel 21, a white bar area 22 and a target sensor 24. The scanning panel 21 is a user-visible component and can be used to place the original in scenes such as scanning or copying. The target sensor 24 is an optical sensor for performing a scanning function, for example, a contact image sensor (CIS). The position of the target sensor 24 is movable, and the initial position may be located in front of the white bar area 22, for example, and the initial position refers to the scanning starting position of the target sensor 24 during any scanning process. The white bar area 22 may be located in front of the scanning panel 21 and is a user-invisible component. The white bar area 22 may be pasted on the target component 20, and the specific pasting position is specified by the manufacturer and is a fixed value. However, due to process errors, the pasting position of the white bar area in different image forming devices is different, and the actual pasting position may not be completely consistent with the position specified by the manufacturer (hereinafter referred to as the "theoretical position").

[0033] Since the actual position of the white stripe area in the image forming device may not be completely consistent with the theoretical position, the actual position of the white stripe area must be determined before scanning the white stripe area. Figure 1 A black positioning mark 23 is set in the white stripe area, which is called a "black mark". For image forming devices of the same model or brand, the relative position of the black mark 23 in the white stripe area 22 is fixed. The relative position of the black mark 23 in the white stripe area 22 can be pre-stored in the image forming device, such as Figure 1 As shown, the relative position of the black mark 23 in the white stripe area 22 can be represented by, for example, the distance Z between the upper boundary of the black mark 23 and the upper boundary of the white stripe area 22, and the distance W between the left boundary of the black mark 23 and the left boundary of the white stripe area 23. Then, the image forming device can first locate the actual position of the black mark 23, and then, according to the relative position relationship between the black mark 23 and the white stripe area 22, the actual position of the white stripe area 22 can be calculated.

[0034] The following is a description of a method for locating the actual position of a black mark in the related art.

[0035] In the embodiment of the present application, the image forming device may also pre-store the position information of the black mark 23. It should be understood that the pre-stored position information of the black mark 23 here refers to the position of the black mark 23 when the white stripe 22 is in the theoretical position. Figure 1 As shown, the position information of the black mark 23 can be represented by, for example, the vertical distance x between the black mark 23 and the initial position of the target sensor, and the distance m from the right edge of the black mark to the effective edge on the left side of the target sensor. The effective edge refers to the edge of the area that can be scanned by the target sensor.

[0036] Based on the above-mentioned pre-stored position information of the black mark 23, the image forming device can determine a to-be-scanned area according to a preset algorithm rule. The to-be-scanned area can be a square area with a preset side length, and the side length of the to-be-scanned area can be greater than the short side length of the black mark. In the embodiment of the present application, the preset algorithm rule can be: according to the formula Determine the position of the upper boundary of the area to be scanned, and, according to a preset value n, determine the position of the left boundary of the area to be scanned. Wherein, y can be used to represent the distance between the upper boundary of the area to be scanned and the initial position of the target sensor, and n can be used to represent the distance between the left boundary of the area to be scanned and the left effective boundary of the target sensor.

[0037] Figure 2 A schematic diagram of the position relationship between the area to be scanned and the black mark determined based on the above algorithm rules is given. Figure 2 As shown in Figure 2A, when there is no error in the pasting position of the white stripe area, the specific boundary point of the black mark is located in the area to be scanned. For example, the specific boundary point can be the boundary point in the upper right corner. At this time, by scanning the area to be scanned, the scan data obtained can be used to determine the actual position of the specific boundary point of the black mark in the area to be scanned. Furthermore, the actual position information of the black mark can be calculated based on the distance y between the upper boundary of the area to be scanned and the initial position of the target sensor, and the distance n between the left boundary of the area to be scanned and the left effective boundary of the target sensor (which is consistent with the theoretical position at this time). At this point, the actual position information of the black mark is located.

[0038] like Figure 2 As shown in Figure 2B, when there is an error in the pasting position of the white strip area and the error is less than a specific threshold, the specific boundary point of the black mark is also located in the area to be scanned. At this time, by scanning the area to be scanned, the scan data obtained can be used to determine the actual position of the specific boundary point of the black mark in the area to be scanned. Furthermore, the actual position information of the black mark can be calculated based on the distance y between the upper boundary of the area to be scanned and the initial position of the target sensor, and the distance n between the left boundary of the area to be scanned and the left effective boundary of the target sensor (which is inconsistent with the theoretical position at this time). At this point, the actual position information of the black mark is located.

[0039] However, if Figure 2As shown in 2C, when the error of the pasting position of the white strip area is greater than a specific threshold, the specific boundary point of the black mark may be located exactly at the boundary of the area to be scanned. At this time, since the target sensor has an error in the scanning step length when scanning, the scan data of the area to be scanned may probabilistically not contain the data of the specific boundary point of the black mark. At this time, it is impossible to determine the actual position of the specific boundary point of the black mark in the area to be scanned based on the scan data of the area to be scanned, and thus it is impossible to determine the actual position of the black mark.

[0040] In view of the above-mentioned problems, an embodiment of the present application is proposed. The embodiment of the present application can be used to correct the position information of the black mark pre-stored in the image forming device when there is an error in the pasting position of the white stripe area, thereby changing the position of the determined area to be scanned, so that the specific boundary point of the black mark can always be located in the area to be scanned, thereby improving the probability of successfully determining the actual position information of the black mark, thereby improving the probability of successfully determining the actual position information of the white stripe area, to assist in scanning correction.

[0041] The embodiments of the present application may provide an image forming device for executing the correction method provided by the present application. By way of example, the device forms of the image forming device provided by the embodiments of the present application include but are not limited to: a scanner, an inkjet printer, a laser printer, a light emitting diode (LED) printer, a copier or a multifunction machine, and a multifunction peripheral (MFP) that performs the above functions in a single device, etc.

[0042] The following is a detailed description of the calibration method provided in the embodiments of the present application.

[0043] See also Figure 3 , is a flow chart of a correction method provided in an embodiment of the present application. Figure 3 As shown, the method includes:

[0044] S101, obtaining first position information of a currently stored black mark.

[0045] In the embodiment of the present application, the first position information of the black mark can be used to represent the relative position information of the black mark on the target component 20. The first position information can include a position information component in the vertical direction and a position information component in the horizontal direction. As an example, the position information component in the vertical direction can be represented by the vertical distance from the black mark to the initial position of the target sensor 24, that is, Figure 1 The position information component in the horizontal direction can be represented by the distance between the right edge of the black mark and the left effective edge of the target sensor 24, that is, Figure 1 The m in.

[0046] The initial value of the first position information is a value set according to the manufacturer's mechanical standard, that is, the initial value of the first position information stored in the image forming device is a theoretical value determined by the manufacturer based on the mechanical standard, which may not be consistent with the actual value. The embodiment of the present application is used to correct the value of the first position information to make it closer to the actual value.

[0047] S102: Determine second position information of the area to be scanned according to the first position information.

[0048] In the embodiment of the present application, the second position information can be used to represent the relative position information of the area to be scanned on the target component 20. Similar to the first position information, the second position information can include a position information component in the vertical direction and a position information component in the horizontal direction. As an example, the position information component in the vertical direction can be represented by the vertical distance from the area to be scanned to the initial position of the target sensor 24, that is, Figure 2 The position information component in the horizontal direction can be represented by the distance between the left boundary of the area to be scanned and the left effective boundary of the target sensor 24, that is, Figure 2 The n in .

[0049] On the basis of the first position information, the second position information of the area to be scanned may be determined according to the positional relationship between the area to be scanned and the black mark.

[0050] As an example, the image forming device may store the vertical distance and horizontal distance between the area to be scanned and the black mark. Then, after the first position information of the black mark is determined, the second position information of the area to be scanned may be determined based on the pre-stored vertical distance and horizontal distance between the area to be scanned and the black mark.

[0051] As another example, the image forming device may store a preset algorithm rule, which may be used to determine the vertical distance from the area to be scanned to the initial position of the target sensor 24 based on the position information of the black mark. Exemplarily, the preset algorithm may be expressed by the following formula:

[0052]

[0053] In the above formula, y is the vertical distance from the area to be scanned to the initial position of the target sensor 24, x is the vertical distance from the black mark to the initial position of the target sensor 24, and z is the distance between the black mark and the white bar area in the vertical direction. The value of z is known. After obtaining the vertical distance x from the black mark to the initial position of the target sensor 24, the vertical distance from the area to be scanned to the initial position of the target sensor 24 can be determined.

[0054] Further, the distance between the left boundary of the to-be-scanned area and the left effective boundary of the target sensor 24 may be determined according to a preset value n.

[0055] S103: Scan the area to be scanned according to the second position information.

[0056] After the position information of the area to be scanned is determined, the area to be scanned can be scanned based on the position information. When performing scanning, the motor can drive the target sensor to move as follows: Figure 1 The initial position shown is moved row by row to the position of the area to be scanned, and then the area to be scanned is scanned and the scan data is output.

[0057] S104: Determine whether the first boundary point of the black mark is within the area to be scanned based on the obtained scanning data. If yes, execute step S105; otherwise, execute step S103.

[0058] When there is no error in the pasting position of the white stripe area, or the error is less than a specific threshold, the actual position of the black mark is slightly different from the pre-stored theoretical position, then the area to be scanned determined based on the above steps of the embodiment of the present application will contain the first boundary point of the black mark, and the first boundary point can be any boundary point in the black mark. For the convenience of calculation, in the embodiment of the present application, it can be the boundary point at the upper right corner of the black mark. At this time, step S105 can be continued.

[0059] In the case where the pasting error of the white strip is large, the actual position of the black mark is greatly different from the pre-stored theoretical position. Then, the first boundary point of the black mark may be located at the boundary position of the area to be scanned determined in the above steps of the embodiment of the present application. At this time, there is a step error when the motor drives the target sensor to move and scans the area to be scanned, that is, the position of the area to be scanned each time is not completely consistent, and there will be a deviation of several pixels. Therefore, in some scenarios, the scanning data corresponding to the area to be scanned may include the first boundary point of the black mark, while in other scenarios, the scanning data corresponding to the area to be scanned may not include the first boundary point of the black mark.

[0060] When the scanning data corresponding to the area to be scanned contains the first boundary point of the black mark, step S105 can be continued. When the scanning data corresponding to the area to be scanned does not contain the first boundary point of the black mark, the stored position information of the black mark cannot be corrected by the method provided in the embodiment of the present application. In this case, the above step S103 can be repeated to scan the area to be scanned again.

[0061] Furthermore, when the number of times the area to be scanned is re-scanned reaches the set number threshold and the first boundary point of the black mark is still not detected in the corresponding scanning data of the area to be scanned, it means that the pasting error of the white bar is too large and the actual position of the black mark is too different from the pre-stored theoretical position. At this time, the area to be scanned determined based on the theoretical position information of the black mark will never contain the first boundary point of the black mark. Then, the stored black mark position information cannot be corrected by the method provided in the embodiment of the present application, and the actual position of the white bar cannot be located based on the actual position of the black mark. At this time, an abnormal prompt information can be issued, and the abnormal prompt information can be used to indicate that the position of the white bar is abnormal.

[0062] S105: Determine a correction value required to correct the first position information according to the obtained scanning data.

[0063] First, the third position information of the first boundary point of the black mark in the area to be scanned can be determined based on the obtained scanning data. The third position information can include a position information component in the vertical direction and a position information component in the horizontal direction. The position information component in the vertical direction can be represented by the distance from the first boundary point to the horizontal boundary of the area to be scanned. For example, the horizontal boundary of the area to be scanned can be the upper boundary. The position information component in the horizontal direction can be represented by the distance from the first boundary point to the vertical boundary of the area to be scanned. For example, the vertical boundary of the area to be scanned can be the left boundary. Figure 4 As shown, the distance from the first boundary point to the horizontal boundary of the area to be scanned may be up, and the distance from the first boundary point to the vertical boundary of the area to be scanned may be left1.

[0064] In a specific implementation scenario, for the above distance up or distance left1, its pixel length can be determined based on the obtained scan data, and then its length in millimeters can be obtained based on the conversion relationship between pixel length and millimeters. The conversion relationship between pixel length and millimeters is: millimeters = pixels * (25.4 / PPI). PPI is the resolution of the obtained scan data.

[0065] Then, the correction value required for correcting the first position information of the black mark may be determined according to the third position information of the first boundary point of the black mark in the area to be scanned.

[0066] Specifically, the correction value required for correcting the first position information of the black mark may include the correction value required for the position information component in the vertical direction and the correction value required for the position information component in the horizontal direction. The correction value required for the component of the first position information in the vertical direction may be determined based on the difference between the distance up from the first boundary point to the horizontal boundary of the area to be scanned and the target distance up0. Exemplarily, E1=up-up0. Wherein, E1 is the correction value required for the component of the first position information in the vertical direction. The correction value required for the component of the first position information in the horizontal direction may be determined based on the difference between the distance left1 from the first boundary point to the vertical boundary of the area to be scanned and the target distance left0. Exemplarily, E2=left1-left0. Wherein, E2 is the correction value required for the component of the first position information in the horizontal direction.

[0067] S106: Correct the currently stored first position information using the correction value to obtain corrected first position information.

[0068] In an embodiment of the present application, the correction value E1 required for the component of the first position information in the vertical direction can be used to correct the component x of the first position information in the vertical direction, and the correction value E2 required for the component of the first position information in the horizontal direction can be used to correct the component m of the first position information in the vertical direction.

[0069] In a possible implementation, the value of the target distance up0 may be The value of the target distance l eft0 can be left0 = nm. Through this implementation, the corrected first position information x' can be made close to the actual position information of the black mark. Then, in the subsequent scene of locating the black mark based on the corrected first position information x', the determined area to be scanned can contain the first boundary point of the black mark, and the distance between the first boundary point of the black mark and the upper boundary of the area to be scanned can be The distance from the vertical boundary of the area to be scanned is nm.

[0070] In another possible way, the value of the above target distance up0 can be The value of the target distance l eft0 can be Wherein, h is the side length of the area to be scanned. In this implementation, the corrected first position information x' does not match the actual position information of the black mark. However, in the subsequent scene of positioning the black mark based on the corrected first position information x', the first boundary point of the black mark can be located at the center of the area to be scanned, that is, the distance between the first boundary point of the black mark and the upper boundary and the left boundary of the area to be scanned is This further reduces the possibility that the first boundary point of the black mark exceeds the area to be scanned due to scanning errors.

[0071] Alternatively, in another implementation, the value of the target distance up0 may be any value within a preset range, and the preset range may include is within the preset range.

[0072] In the above technical solution, in the scenario where the position of the white bar is located before performing the scanning correction operation, the correction value of the theoretical position of the black mark can be obtained according to the scanning data of the area to be scanned, and the pre-stored theoretical position information of the black mark can be corrected. Through the above technical solution, the black mark can always be located in the area to be scanned, thereby increasing the possibility of successfully locating the position of the white bar before scanning correction.

[0073] In another embodiment of the present application, Figure 5 As shown, after the above step S106, the following steps may also be included:

[0074] S201. Store the corrected first position information.

[0075] In the embodiment of the present application, the image forming device can perform the correction method provided in the embodiment of the present application after detecting that the conditions for triggering the scanning correction are met and before locating the position of the white bar, and after obtaining the corrected first position information based on the correction method provided in the embodiment of the present application, store the corrected first position information. The storage of the corrected first position information can specifically be to replace the original first position information with the corrected first position information. Furthermore, the image forming device can determine the position of the black mark based on the corrected first position information, and calculate the position of the white bar based on the position of the black mark, and then perform the scanning correction operation based on the position of the white bar.

[0076] In other words, in an embodiment of the present application, the correction method provided in the embodiment of the present application can be executed before each scanning correction operation is performed to obtain the corrected first position information, and then the corrected first position information is stored to replace the first position information stored when the correction method provided in the embodiment of the present application was executed the last time, and this cycle is repeated.

[0077] Further, in another implementation, after executing the correction method provided in the embodiment of the present application, if the image forming device determines that in the scene where the location of the white bar area is determined for K consecutive times, the specific boundary points of the black mark contained in the area to be scanned are determined, then in the scene where the location of the white bar area is located later, the image forming device can directly use the position information of the black mark obtained by the latest correction without executing the correction method provided in the embodiment of the present application. The value of K can be flexibly selected, for example, the value of K can be 6.

[0078] In another embodiment of the present application, Figure 6As shown, after the above step S106, the following steps may also be included:

[0079] S301, determining whether the number of corrections to the first position information of the currently stored black mark reaches a threshold number, if yes, executing step S302; otherwise, executing step S103.

[0080] S302: Calculate and store the average value of each corrected first position information.

[0081] In an embodiment of the present application, the image forming device may execute the correction method provided in the embodiment of the present application multiple times before leaving the factory, so as to perform multiple corrections on the pre-stored first position information of the black mark, and obtain multiple corrected first position information. Exemplarily, 10 corrections may be performed. Furthermore, the average of the obtained multiple corrected first position information may be calculated to obtain the average value and store it. Then, when the image forming device leaves the factory, during the process of the user using the image forming device, the image forming device will not need to execute the correction method provided in the embodiment of the present application, but can directly determine the position information of the black mark and calculate the position information of the white bar based on the above-mentioned stored average value before performing the scanning correction operation.

[0082] In the above implementation, by executing the correction method provided in the embodiment of the present application before the device leaves the factory, the user's waiting time can be reduced in the actual use scenario of the image forming device and the user experience can be improved. In addition, by repeatedly executing the correction method provided in the embodiment of the present application to obtain the average of multiple corrected first position information, the interference of mechanical errors on the correction results can be reduced and the accuracy of the correction results can be improved.

[0083] Corresponding to the above embodiments, the present application also provides an image forming device. Figure 7 The schematic diagram of the structure of an image forming device provided in an embodiment of the present invention is as follows. The image forming device 400 may include: a processor 401, a memory 402, and a communication unit 403. These components communicate via one or more buses. It can be understood by those skilled in the art that the structure of the image forming device shown in the figure does not constitute a limitation on the embodiment of the present invention. It may 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.

[0084] The communication unit 403 is used to establish a communication channel so that the image forming apparatus can communicate with other devices, receive user data sent by other devices or send user data to other devices.

[0085] The processor 401 is the control center of the image forming device. It uses various interfaces and lines to connect various parts of the entire image forming device. It runs or executes software programs, instructions, and / or modules stored in the memory 402, and calls data stored in the memory to perform various functions of the image forming 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 401 can only include a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0086] The memory 402 is used to store the execution instructions of the processor 401. The memory 402 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.

[0087] When the execution instructions in the memory 402 are executed by the processor 401 , the image forming apparatus 400 is enabled to execute part or all of the steps in the various embodiments of the present application.

[0088] 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 correction 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.

[0089] 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 correction method provided by the present invention.

[0090] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.

[0091] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0092] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0093] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0094] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0095] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0096] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0097] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

[0098] 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 calibration method, It is characterized in that Applied to an image forming device, a first reference area is set on a target component in the image forming device, the first reference area is white, the first reference area is used to scan and calibrate the image forming device, a second reference area is included in a preset position in the first reference area, the second reference area is black, and the second reference area is used to determine the position of the first reference area; the method includes: Acquire currently stored first position information, where the first position information is used to describe the relative position of the second reference area on the target component; Determine second position information according to the first position information, where the second position information is used to describe the relative position of the area to be scanned on the target component; Scanning the area to be scanned according to the second position information; Determining a correction value required to correct the first position information according to the obtained scanning data; The first position information currently stored is corrected using the correction value to obtain the corrected first position information.

2. The method according to claim 1, It is characterized in that Determining second location information according to the first location information includes: According to the target position relationship between the second reference area and the area to be scanned, the second position information is determined based on the first position information.

3. The method according to claim 2, It is characterized in that Determining second position information based on the first position information according to the target position relationship between the second reference area and the area to be scanned includes: The position information component of the second position information in the vertical direction is determined according to the target position relationship between the second reference area and the area to be scanned in the vertical direction; and the position information component of the second position information in the horizontal direction is determined according to the pre-stored value n.

4. The method according to claim 1, It is characterized in that Determining a correction value required to correct the first position information according to the obtained scanning data includes: Determine, according to the obtained scanning data, third position information of a first boundary point of the second reference area in the area to be scanned; A correction value required to correct the first position information is determined according to the third position information.

5. The method according to claim 4, It is characterized in that Determining, according to the third position information, a correction value required to correct the first position information, comprising: determining a first correction value required to correct the first position information according to a distance between the third position information and a first boundary of the area to be scanned; Wherein, the first boundary is a horizontal boundary, and the first correction value is a correction value for the position information component of the first position information in the vertical direction; or, the first boundary is a vertical boundary, and the first correction value is a correction value for the position information component of the first position information in the horizontal direction.

6. The method according to claim 5, It is characterized in that Determining a first correction value required to correct the first position information according to a distance between the third position information and a first boundary of the area to be scanned includes: Calculating a difference between an actual distance from the third position information to the first boundary and a target distance; A first correction value required to correct the first position information is determined according to a difference between the actual distance and the target distance.

7. The method according to claim 6, It is characterized in that In the case where the first boundary is a horizontal boundary and the first correction value is a correction value of a position information component of the first position information in a vertical direction, the target distance is any value within a preset interval, and the preset interval includes The z is the distance between the second reference area and the first reference area in the vertical direction, and / or the preset interval includes The h is the vertical height of the area to be scanned.

8. The method according to claim 1, It is characterized in that The method further comprises: storing the corrected first position information; or, After determining that the number of corrections to the first position information reaches a number threshold, an average value of each corrected first position information is calculated and stored.

9. An image forming device, It is characterized in that The device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device executes the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, It is 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 8.