Color correction method, device, image forming apparatus, and storage medium
Patent Information
- Application Number
- CN202311550286.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-20
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2043-11-20
AI Technical Summary
[0004]本申请提供一种色彩校正方法、装置、图像形成设备及存储介质,以帮助解决通过目前方式对图像形成设备进行色彩校正,存在的色彩校正的处理时间较长的问题
[0033]The color correction method, apparatus, image forming device, and storage medium provided in this application are applied to an image forming device. They acquire a target color-corrected image in response to a trigger condition for color correction. Based on the target color-corrected image, a first transit time is obtained. The first transit time is the duration obtained based on the length of the target region in the target color-corrected image and the rotation speed of the transfer belt in the image forming device. The target region is a region determined based on the actual length of a reference image in the target color-corrected image. Based on the first transit time, image data is acquired from the image to be corrected on the transfer belt using an image acquisition sensor to obtain target image data. The image to be corrected is the image of the target region transferred onto the transfer belt and includes a reference image. Color correction is performed on the image forming device based on the target image data. Because this application acquires the image corresponding to the target area in the image to be corrected on the transfer belt through the image acquisition sensor according to the first path duration, wherein the first path duration is the time for the target area in the target color correction image to pass through the image acquisition sensor, and the target area is the area determined according to the actual length of the reference image in the target color correction image, that is, the image data is acquired according to the actual length of the reference image in the target color correction image, it is not necessary to acquire the image data for the entire length of the target color correction image. Therefore, it can help reduce the processing time of color correction, improve the accuracy and execution efficiency of color correction, and thus help reduce the lifespan of the image forming equipment.
Smart Images

Figure CN117499557B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image forming technology, and in particular to a color correction method, apparatus, image forming device and storage medium. Background Technology
[0002] With the development of imaging technology, image forming equipment, as a type of computer peripheral, is being used more and more widely. An image forming device is a device that forms an image on an imaging medium based on imaging principles; an image forming device such as a printer is an example. To ensure the quality of the formed image, color correction is required for the image forming equipment.
[0003] Currently, when performing color correction on image forming equipment, data is typically acquired from a preset color correction image within the image forming equipment based on the length of the imaging medium (such as paper) supported by the equipment, and then color correction is performed based on the acquired target data. However, this method of color correction for image forming equipment suffers from a long processing time. Summary of the Invention
[0004] This application provides a color correction method, apparatus, image forming device, and storage medium to help solve the problem of long processing time for color correction when performing color correction on an image forming device using current methods.
[0005] In a first aspect, this application provides a color correction method applied to an image forming apparatus, the color correction method comprising:
[0006] In response to the color correction trigger condition being met, acquire the target color-corrected image;
[0007] The first path duration is obtained based on the target color-corrected image; the first path duration is the duration obtained based on the length of the target region in the target color-corrected image and the rotation speed of the transfer belt of the image forming device; the target region is the region determined based on the actual length of the reference image in the target color-corrected image.
[0008] Based on the first transit time, the image data of the image to be corrected on the transfer belt is acquired by the image acquisition sensor to obtain the target image data; the image to be corrected is the image of the target area transferred onto the transfer belt, and includes a reference image.
[0009] Color correction is performed on the image forming device based on the target image data.
[0010] Optionally, in response to the color correction trigger condition being met, acquiring a target color-corrected image includes: determining a target correction mode from a plurality of candidate correction modes according to the trigger condition, wherein each candidate correction mode is associated with a color-corrected image; and acquiring the target color-corrected image according to the target correction mode.
[0011] Optionally, before acquiring image data of the image to be corrected on the transfer belt using the image acquisition sensor according to the first transit time, the color correction method further includes: obtaining a second transit time based on the target color correction image; the second transit time is the duration obtained based on the distance from the initial position of the foremost edge of the target area on the transfer belt to the image acquisition sensor and the rotation speed of the transfer belt.
[0012] Once the second transit time is reached, confirm that portrait data collection has begun.
[0013] Optionally, the length of the target area is equal to the actual length of the reference image.
[0014] Optionally, the color correction method further includes: associating and storing the selected correction mode with the corresponding color correction image.
[0015] Optionally, the selectable correction modes include at least the long correction mode, the first short correction mode, the second short correction mode, and the black and white correction mode.
[0016] Optionally, the first transit time is obtained by dividing the length of the target area by the rotation speed of the transfer belt, and using this value as the first transit time.
[0017] Secondly, this application provides a color correction device for use in an image forming apparatus, the color correction device comprising:
[0018] The first acquisition module is used to acquire the target color-corrected image in response to the color correction trigger condition being met;
[0019] The second acquisition module is used to obtain a first transit time based on the target color-corrected image; the first transit time is the time obtained based on the length of the target area in the target color-corrected image and the rotation speed of the transfer belt of the image forming device; the target area is the area determined based on the actual length of the reference image in the target color-corrected image;
[0020] The processing module is used to acquire image data of the image to be corrected on the transfer belt through the image acquisition sensor according to the first transit time, and obtain the target image data; the image to be corrected is the image of the target area transferred to the transfer belt, and includes a reference image;
[0021] The correction module is used to perform color correction on the image forming device based on the target image data.
[0022] Optionally, the first acquisition module is specifically used to: determine a target correction mode from multiple candidate correction modes according to a triggering condition, wherein each candidate correction mode is associated with a color correction image; and acquire a target color correction image according to the target correction mode.
[0023] Optionally, the processing module is also used to: before obtaining the target image data by acquiring image data of the image to be corrected on the transfer belt through the image acquisition sensor according to the first transit time, and correcting the image according to the target color, obtain the second transit time; the second transit time is the time obtained based on the distance from the initial position of the foremost edge of the target area on the transfer belt to the image acquisition sensor and the rotation speed of the transfer belt; when the second transit time is reached, confirm that image data acquisition has started.
[0024] Optionally, the length of the target area is equal to the actual length of the reference image.
[0025] Optionally, the color correction device also includes a storage module for: associating and storing the selected correction mode with the corresponding color correction image.
[0026] Optionally, the selectable correction modes include at least the long correction mode, the first short correction mode, the second short correction mode, and the black and white correction mode.
[0027] Optionally, the second acquisition module is specifically used to: obtain the first transit time based on the following method: the value obtained by dividing the length of the target area by the rotation speed of the transfer belt, as the first transit time.
[0028] Thirdly, this application provides an image forming apparatus, including: a processor, and a memory communicatively connected to the processor;
[0029] The memory stores the instructions that the computer executes;
[0030] The processor executes computer execution instructions stored in memory to implement the color correction method as described in the first aspect of this application.
[0031] Fourthly, this application provides a computer-readable storage medium storing computer program instructions, which, when executed, implement the color correction method as described in the first aspect of this application.
[0032] Fifthly, this application provides a computer program product, including a computer program that, when executed, implements the color correction method as described in the first aspect of this application.
[0033] The color correction method, apparatus, image forming device, and storage medium provided in this application are applied to an image forming device. They acquire a target color-corrected image in response to a trigger condition for color correction. Based on the target color-corrected image, a first transit time is obtained. The first transit time is the duration obtained based on the length of the target region in the target color-corrected image and the rotation speed of the transfer belt in the image forming device. The target region is a region determined based on the actual length of a reference image in the target color-corrected image. Based on the first transit time, image data is acquired from the image to be corrected on the transfer belt using an image acquisition sensor to obtain target image data. The image to be corrected is the image of the target region transferred onto the transfer belt and includes a reference image. Color correction is performed on the image forming device based on the target image data. Because this application acquires the image corresponding to the target area in the image to be corrected on the transfer belt through the image acquisition sensor according to the first path duration, wherein the first path duration is the time for the target area in the target color correction image to pass through the image acquisition sensor, and the target area is the area determined according to the actual length of the reference image in the target color correction image, that is, the image data is acquired according to the actual length of the reference image in the target color correction image, it is not necessary to acquire the image data for the entire length of the target color correction image. Therefore, it can help reduce the processing time of color correction, improve the accuracy and execution efficiency of color correction, and thus help reduce the lifespan of the image forming equipment. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is a schematic diagram illustrating an application scenario provided in one embodiment of this application;
[0036] Figure 2 A flowchart of a color correction method provided in an embodiment of this application;
[0037] Figure 3 A schematic diagram showing different regions contained in a target color correction image provided in an embodiment of this application;
[0038] Figure 4 A flowchart of a color correction method provided in another embodiment of this application;
[0039] Figure 5 A schematic diagram illustrating color correction according to an embodiment of this application;
[0040] Figure 6 This is a schematic diagram of the structure of a color correction device provided in an embodiment of this application;
[0041] Figure 7 This is a schematic diagram of the structure of an image forming apparatus provided in an embodiment of this application. Detailed Implementation
[0042] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0043] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.
[0044] Currently, when performing color correction on image forming equipment, data is typically acquired from a preset color correction image within the equipment based on the length of the imaging medium (such as paper) it supports, and then color correction is performed based on the acquired target data. However, this method of color correction, which relies on data acquisition based on paper length, suffers from a long processing time, especially when the paper length is much greater than the length of the reference image in the color correction image. Furthermore, data acquisition based on paper length may result in the acquisition of useless or abnormal data, leading to inaccurate color correction. Additionally, the potentially lengthy data acquisition process based on paper length can increase mechanical wear on the image forming equipment, reducing its lifespan.
[0045] To address the aforementioned issues, this application provides a color correction method, apparatus, image forming device, and storage medium. The method determines the target region based on the actual length of a reference image in the target color correction image. Image data is acquired from the target region based on the duration of its passage through the image acquisition sensor of the image forming device. Color correction is then performed on the image forming device based on the obtained target image data. This eliminates the need to acquire image data based on the entire length of the target color correction image, thus reducing processing time, improving accuracy and efficiency, and consequently helping to reduce the lifespan of the image forming device.
[0046] The following section provides examples illustrating the application scenarios of the solution provided in this application.
[0047] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. For example... Figure 1 As shown, in this application scenario, taking a laser printer as an example, the user replaces the toner cartridge of the laser printer. The laser printer determines that the trigger condition for color correction has been met, acquires the target color-corrected image, collects image data based on the actual length of the reference image of the target color-corrected image, and obtains the target image data corresponding to the reference image; based on the target image data, the image forming device performs color correction.
[0048] It should be noted that, Figure 1 This is merely a schematic diagram illustrating one application scenario provided by an embodiment of this application. This embodiment does not necessarily represent... Figure 1 The included equipment is not limited, nor is it restricted. Figure 1 The positional relationships between the devices are defined.
[0049] The technical solution of this application will now be described in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0050] Figure 2 A flowchart illustrating a color correction method provided in an embodiment of this application, applied to an image forming apparatus. Figure 2 As shown, the method in this application embodiment includes:
[0051] S201. In response to the color correction trigger condition being met, acquire the target color-corrected image.
[0052] In this embodiment, the triggering conditions for color correction include, for example, the number of pages already processed by the image forming device exceeding a page number threshold, replacement of the consumable cartridge of the image forming device, switching the color mode of the image forming device, an ambient temperature difference exceeding a temperature difference threshold, or an ambient humidity difference exceeding a humidity difference threshold. When the triggering conditions for color correction are met, the image forming device automatically performs color correction. The target color correction image is an image built into the image forming device for color correction. The size of the target color correction image is the same as the size of the paper used by the image forming device, and the target color correction image includes a reference image. After acquiring the target color correction image, the image forming device forms the corresponding image on the transfer belt.
[0053] For example, the image forming device is a laser printer. When the number of pages printed by the laser printer exceeds a page number threshold (i.e., the color correction trigger condition is met), the laser printer acquires a target color-corrected image in response to the color correction trigger condition being met.
[0054] S202. Based on the target color-corrected image, obtain the first path duration; the first path duration is the duration obtained based on the length of the target area in the target color-corrected image and the rotation speed of the transfer belt of the image forming device; the target area is the area determined based on the actual length of the reference image in the target color-corrected image.
[0055] In this step, the first transit time can be obtained based on the length of the target region in the target color-corrected image and the rotation speed of the transfer belt of the image forming device. The target region is transferred onto the transfer belt and captured by the image acquisition sensor of the image forming device; the duration for which the image acquisition sensor captures the target region is the first transit time. Further, the target color-corrected image and the first transit time can be pre-associated and stored in the image forming device, so that during color correction, the first transit time associated with the target color-corrected image is obtained based on the target color-corrected image; or, during the color correction process, after acquiring the target color-corrected image, the first transit time is obtained based on the length of the target region in the target color-corrected image and the rotation speed of the transfer belt of the image forming device. The target region is determined based on the actual length of the reference image in the target color-corrected image. This application does not limit the method of obtaining the first transit time.
[0056] Optionally, the length of the target area is equal to the actual length of the reference image.
[0057] For example, Figure 3 This is a schematic diagram of different regions contained in a target color correction image provided in an embodiment of this application, such as... Figure 3As shown, the target color correction image includes a target region (length, for example, denoted by H2) and a non-image region (length, for example, denoted by H3); where the length H2 of the target region is equal to the actual length of the reference image, and the non-image region is the region in the target color correction image that is adjacent to the target region but does not contain the reference image.
[0058] Further, optionally, the first transit time is obtained by dividing the length of the target area by the rotation speed of the transfer belt, and using this value as the first transit time.
[0059] For example, the first transit time can be obtained using the following formula:
[0060] Formula 1: T2 = H2 / V
[0061] Where T2 represents the first transit time; H2 represents the length of the target area; and V represents the rotation speed of the transfer belt.
[0062] S203. Based on the first transit time, the image data of the image to be corrected on the transfer belt is acquired by the image acquisition sensor to obtain the target image data; the image to be corrected is the image of the target area transferred to the transfer belt, and includes a reference image.
[0063] In this step, after obtaining the first transit time, image data can be acquired from the image to be corrected image on the transfer belt using an image acquisition sensor, based on the first transit time, to obtain the target image data. For example, refer to... Figure 3 It collects image data for the target region of length H2 (i.e., the length of the image to be corrected), without needing to collect image data for the non-image region of length H3.
[0064] S204. Based on the target image data, perform color correction on the image forming device.
[0065] In this step, color correction is performed on the image forming device based on the target image data collected from the target area.
[0066] The color correction method provided in this application embodiment is applied to an image forming apparatus. It acquires a target color-corrected image in response to a color correction trigger condition. Based on the target color-corrected image, a first transit time is obtained. The first transit time is the duration obtained based on the length of the target region in the target color-corrected image and the rotation speed of the transfer belt in the image forming apparatus. The target region is a region determined based on the actual length of a reference image in the target color-corrected image. Based on the first transit time, image data is acquired from the image to be corrected on the transfer belt using an image acquisition sensor to obtain target image data. The image to be corrected is the image of the target region transferred onto the transfer belt and includes a reference image. Color correction is performed on the image forming apparatus based on the target image data. Since this embodiment of the application acquires the image of the target area corresponding to the image to be corrected on the transfer belt through the image acquisition sensor according to the first path duration, wherein the first path duration is the duration of the target area in the target color correction image passing through the image acquisition sensor, and the target area is the area determined according to the actual length of the reference image in the target color correction image, that is, the image data is acquired according to the actual length of the reference image in the target color correction image, and it is not necessary to acquire the image data according to the length of the entire area of the target color correction image. Therefore, it can help reduce the processing time of color correction, improve the accuracy and execution efficiency of color correction, and thus help reduce the lifespan of the image forming equipment.
[0067] Figure 4 A flowchart illustrating a color correction method provided in another embodiment of this application. Based on the above embodiments, this application further describes the color correction method. Figure 4 As shown, the method in this application embodiment may include:
[0068] In the embodiments of this application, Figure 2 Step S201 can further include the following two steps, S401 and S402:
[0069] S401. In response to the triggering condition for achieving color correction, determine the target correction mode from multiple candidate correction modes based on the triggering condition.
[0070] Each candidate correction mode is associated with a color correction image.
[0071] In this step, referring to the example of step S201, the image forming device is, for example, a laser printer. The laser printer pre-stores multiple candidate correction modes and a color correction image associated with each candidate correction mode. When the number of pages printed by the laser printer exceeds a page threshold (i.e., the color correction trigger condition is met), the laser printer, in response to the color correction trigger condition, determines the target correction mode from the multiple candidate correction modes based on the trigger condition. It can be understood that different trigger conditions can cause the image forming device to select the corresponding correction mode.
[0072] Optionally, the selectable correction modes include at least the long correction mode, the first short correction mode, the second short correction mode, and the black and white correction mode.
[0073] For example, taking a laser printer as an image forming device, the selectable correction modes in the laser printer include a long correction mode, a first short correction mode, a second short correction mode, and a black and white correction mode, wherein the long correction mode, the first short correction mode, and the second short correction mode are all correction modes in color mode. Specifically, the long calibration mode includes image acquisition sensor adjustment, maximum density adjustment, laser LED light intensity adjustment, long color alignment adjustment, and long grayscale correction; the first short calibration mode includes image acquisition sensor adjustment, maximum density adjustment, laser LED light intensity adjustment, short color alignment adjustment, and short grayscale correction; the second short calibration mode includes image acquisition sensor detection and short color alignment adjustment. Among these, image acquisition sensor adjustment automatically adjusts the image acquisition sensor to its optimal state and is the basis for the next calibration type; maximum density adjustment is used to calibrate the laser printer parameters to ensure the maximum density value of the color toner; laser LED light intensity adjustment is used to calibrate the laser printer parameters to ensure the laser printer can print fine color lines; long color alignment adjustment is used to calibrate the laser printer parameters to ensure the laser printer can print fine color overlays; long grayscale correction is used for fine image grayscale color correction; short color alignment adjustment is used to calibrate the laser printer parameters to ensure the laser printer can print coarse color overlays; short grayscale correction is used for coarse image grayscale color correction; and image acquisition sensor detection is used to detect the state of the image acquisition sensor itself. The black and white correction mode includes image acquisition sensor adjustment, black-maximum density adjustment, black-laser LED light intensity adjustment, and black-short grayscale correction. Among them, black-maximum density adjustment is used to correct the parameters of the laser printer to ensure the maximum density value of the black toner color; black-laser LED light intensity adjustment is used to correct the parameters of the laser printer to ensure that the laser printer can print fine black lines; and black-short grayscale correction is used for coarse image black grayscale correction.
[0074] Optionally, the selected correction mode and the corresponding color correction image can be associated and stored.
[0075] It's understandable that for each candidate correction mode, a corresponding color correction image can be preset. Each candidate correction mode is associated with a color correction image, and these two are stored together. Comparing coarse correction modes (such as short color alignment adjustment and short grayscale correction) and fine correction modes (such as long color alignment adjustment and long grayscale correction), the reference image in the color correction image associated with the coarse correction mode is relatively shorter, resulting in a shorter color correction processing time. Conversely, the reference image in the color correction image associated with the fine correction mode is relatively longer, leading to a longer processing time, but the correction effect is better than that of the coarse correction mode. This allows for more flexible and accurate acquisition of the target color correction image, improving the precision and efficiency of color correction, reducing the limitations caused by using generic color correction images, and meeting diverse color correction needs.
[0076] S402. Obtain the target color correction image according to the target correction mode.
[0077] In this step, after determining the target correction mode, the target color correction image can be obtained based on the correlation between the correction mode and the color correction image pre-stored in the image forming device.
[0078] S403. Obtain the first path duration based on the target color correction image; the first path duration is the duration obtained based on the length of the target area in the target color correction image and the rotation speed of the transfer belt of the image forming device; the target area is the area determined based on the actual length of the reference image in the target color correction image.
[0079] For a detailed description of this step, please refer to [link / reference]. Figure 2 The relevant description of S202 in the illustrated embodiment. Optionally, the first path duration corresponding to the color correction images associated with different correction modes may be different.
[0080] S404. Obtain the second path duration based on the target color-corrected image; the second path duration is the duration obtained based on the distance from the initial position of the foremost edge of the target area on the transfer belt to the image acquisition sensor and the rotation speed of the transfer belt.
[0081] In this step, the distance from the initial position of the foremost edge of the target area on the transfer belt to the image acquisition sensor is also the distance from the initial position of the image head of the reference image in the target color-corrected image to the image acquisition sensor on the transfer belt. Specifically, the second transit time is determined based on the distance from the foremost edge of the target area on the transfer belt to the image acquisition sensor and the rotation speed of the transfer belt when the target color-corrected image is completely transferred onto the transfer belt. Further, the target color-corrected image and the second transit time can be pre-associated and stored in the image forming device, so that during color correction, the second transit time associated with the target color-corrected image is obtained based on the target color-corrected image; or, during the color correction process, after acquiring the target color-corrected image, the second transit time is obtained based on the distance from the initial position of the foremost edge of the target area on the transfer belt to the image acquisition sensor and the rotation speed of the transfer belt of the image forming device.
[0082] For example, the second transit time can be obtained using the following formula:
[0083] Formula 2: T1 = H1 / V
[0084] Where T1 represents the second transit time; H1 represents the distance from the initial position of the foremost edge of the target area on the transfer belt to the image acquisition sensor.
[0085] Figure 5 This is a schematic diagram illustrating color correction in one embodiment of this application, as shown below. Figure 5 As shown, H1 is the distance from the initial position of the foremost edge of the target region on the transfer belt to the image acquisition sensor in the target color correction image; H2 is the length of the target region determined based on the actual length of the reference image in the target color correction image; and H3 is the length of the non-image region adjacent to the target region in the target color correction image. The second path duration T1 corresponding to H1 can be obtained using Formula 2 above; the first path duration T2 corresponding to H2 can be obtained using Formula 1 above; and the third path duration T3 corresponding to H3 can be obtained using Formula 3 below.
[0086] Formula 3: T3 = H3 / V
[0087] T3 represents the third path duration, which is the duration for the region in the target color correction image that is adjacent to the target region but does not contain the reference image to pass through the image acquisition sensor.
[0088] It is understood that T1 and T2 belong to the color correction processing time, while T3 does not. This embodiment of the application, by eliminating the third path duration T3, only collects image data for the target area determined based on the actual length of the reference image in the target color-corrected image, thus achieving the effect of reducing the color correction processing time.
[0089] S405. When the second transit time is reached, confirm that the portrait data collection has started.
[0090] It can be understood that when the second transit time is reached, the foremost position of the target color-corrected image on the transfer belt reaches the image acquisition sensor, that is, the image head of the reference image in the target color-corrected image reaches the image acquisition sensor at the initial position on the transfer belt, confirming the start of image data acquisition for the image to be corrected on the transfer belt.
[0091] S406. Based on the first transit time, the image data of the image to be corrected on the transfer belt is acquired by the image acquisition sensor to obtain the target image data; the image to be corrected is the image of the target area transferred to the transfer belt, and includes a reference image.
[0092] For a detailed description of this step, please refer to [link / reference]. Figure 2 The relevant description of S203 in the illustrated embodiment will not be repeated here.
[0093] S407. Based on the target image data, perform color correction on the image forming device.
[0094] For a detailed description of this step, please refer to [link / reference]. Figure 2 The relevant description of S204 in the illustrated embodiment will not be repeated here.
[0095] The color correction method provided in this application, in response to the achievement of a color correction trigger condition, determines a target correction mode from multiple candidate correction modes based on the trigger condition, and acquires a target color correction image based on the target correction mode. This allows for more flexible and accurate acquisition of the target color correction image, improving the precision of color correction. Based on the target color correction image, a first transit time is obtained. The first transit time is the duration for the target region to pass through the image acquisition sensor of the image forming device, obtained based on the length of the target region in the target color correction image and the rotation speed of the transfer belt of the image forming device. The target region is determined based on the actual size of the reference image in the target color correction image. The first path length is determined by the first path length; the second path length is obtained based on the target color-corrected image; the second path length is the time it takes for the foremost point of the target area to reach the image acquisition sensor, based on the distance from the initial position of the foremost point of the target area on the transfer belt to the image acquisition sensor, and the rotation speed of the transfer belt; when the second path length is reached, image data acquisition is confirmed to begin; based on the first path length, image data is acquired from the image to be corrected on the transfer belt through the image acquisition sensor to obtain target image data; the image to be corrected is the image of the target area transferred onto the transfer belt, and includes a reference image; based on the target image data, color correction is performed on the image forming device. Since this embodiment confirms the start of image data acquisition when the second transit time is reached, and acquires target image data for color correction from the target area through the image acquisition sensor according to the first transit time, the first transit time is the time it takes for the target area in the target color correction image to pass through the image acquisition sensor. The target area is the area determined according to the actual length of the reference image in the target color correction image. That is, image data acquisition is performed according to the actual length of the reference image in the target color correction image, which eliminates the need to acquire image data for the entire length of the target color correction image. Therefore, the color correction process can be simplified, the color correction processing time can be reduced, and the accuracy and efficiency of color correction can be improved. This can reduce the mechanical wear of the image forming equipment and extend the service life of the image forming equipment.
[0096] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0097] Figure 6 This is a schematic diagram of the structure of a color correction device provided in an embodiment of this application, applied to an image forming apparatus. For example... Figure 6 As shown, the color correction device 600 of this application embodiment includes: a first acquisition module 601, a second acquisition module 602, a processing module 603, and a correction module 604. Wherein:
[0098] The first acquisition module 601 is used to acquire the target color-corrected image in response to the color correction trigger condition being met.
[0099] The second acquisition module 602 is used to obtain a first transit time based on the target color-corrected image; the first transit time is the time obtained based on the length of the target area in the target color-corrected image and the rotation speed of the transfer belt of the image forming device; the target area is the area determined based on the actual length of the reference image in the target color-corrected image.
[0100] The processing module 603 is used to acquire image data of the image to be corrected on the transfer belt through the image acquisition sensor according to the first transit time, and obtain target image data; the image to be corrected is the image of the target area transferred to the transfer belt, and includes a reference image.
[0101] The correction module 604 is used to perform color correction on the image forming device based on the target image data.
[0102] In some embodiments, the first acquisition module 601 may be specifically used to: determine a target correction mode from a plurality of candidate correction modes according to a triggering condition, wherein each candidate correction mode is associated with a color correction image; and acquire a target color correction image according to the target correction mode.
[0103] Optionally, the processing module 603 can also be used to: before obtaining the target image data by acquiring image data of the image to be corrected on the transfer belt through the image acquisition sensor according to the first path duration, obtain the second path duration according to the target color correction image; the second path duration is the duration obtained based on the distance from the initial position of the foremost edge of the target area on the transfer belt to the image acquisition sensor and the rotation speed of the transfer belt; when the second path duration is reached, confirm the start of image data acquisition.
[0104] Optionally, the length of the target area is equal to the actual length of the reference image.
[0105] Optionally, the color correction device 600 may also include a storage module 605 for: associating and storing the selected correction mode with the corresponding color correction image.
[0106] Optionally, the selectable correction modes include at least the long correction mode, the first short correction mode, the second short correction mode, and the black and white correction mode.
[0107] In some embodiments, the second acquisition module 602 may be specifically used to: obtain the first transit time based on the following method: the value obtained by dividing the length of the target area by the rotation speed of the transfer belt, as the first transit time.
[0108] The apparatus of this application can be used to execute the technical solutions of any of the method embodiments shown above. Its implementation principle and technical effect are similar, and will not be repeated here.
[0109] Figure 7 This is a schematic diagram of the structure of an image forming apparatus provided in one embodiment of this application. Figure 7 As shown, the image forming apparatus 700 may include at least one processor 701 and a memory 702.
[0110] The memory 702 is used to store programs. Specifically, the program may include program code, which includes computer-executable instructions.
[0111] The memory 702 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device.
[0112] The processor 701 is used to execute computer execution instructions stored in the memory 702 to implement the color correction method described in the foregoing method embodiments. The processor 701 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0113] Optionally, the image forming apparatus 700 may also include a communication interface 703. In specific implementations, if the communication interface 703, memory 702, and processor 701 are implemented independently, they can be interconnected via a bus to complete communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not imply that there is only one bus or one type of bus.
[0114] Optionally, in a specific implementation, if the communication interface 703, memory 702, and processor 701 are integrated on a single chip, then the communication interface 703, memory 702, and processor 701 can communicate through an internal interface.
[0115] This application also provides a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the above-described color correction method.
[0116] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described color correction method.
[0117] The aforementioned computer-readable storage medium can be implemented from 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 storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0118] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an application-specific integrated circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in a color correction device.
[0119] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A color correction method, characterized in that, The color correction method, applied to an image forming apparatus, includes: In response to the color correction trigger condition being met, acquire the target color-corrected image; Based on the target color-corrected image, a first transit time is obtained; the first transit time is the time obtained based on the length of the target region in the target color-corrected image and the rotation speed of the transfer belt of the image forming device; the target region is the region determined based on the actual length of the reference image in the target color-corrected image; Based on the first transit time, the image data to be corrected on the transfer belt is acquired by the image acquisition sensor to obtain target image data; the image to be corrected is the image of the target area transferred onto the transfer belt, and includes the reference image; Based on the target image data, the image forming device performs color correction.
2. The color correction method according to claim 1, characterized in that, The step of acquiring the target color-corrected image in response to the color correction trigger condition being met includes: Based on the triggering conditions, a target correction mode is determined from a plurality of candidate correction modes, wherein each candidate correction mode is associated with a color correction image; The target color-corrected image is obtained according to the target correction mode.
3. The color correction method according to claim 1, characterized in that, Before obtaining the target image data by acquiring image data of the image to be corrected on the transfer belt through the image acquisition sensor according to the first transit time, the method further includes: The second transit time is obtained based on the target color-corrected image; the second transit time is the time obtained based on the distance from the initial position of the foremost edge of the target area on the transfer belt to the image acquisition sensor and the rotation speed of the transfer belt. Once the second transit time is reached, confirm that portrait data collection has begun.
4. The color correction method according to claim 1, characterized in that, The length of the target area is equal to the actual length of the reference image.
5. The color correction method according to claim 2, characterized in that, Also includes: The candidate correction modes and their corresponding color correction images are associated and stored.
6. The color correction method according to claim 2, characterized in that, The selectable correction modes include at least a long correction mode, a first short correction mode, a second short correction mode, and a black and white correction mode.
7. The color correction method according to any one of claims 1 to 6, characterized in that, The first transit time was obtained based on the following method: The first transit time is obtained by dividing the length of the target area by the rotation speed of the transfer belt.
8. A color correction device, characterized in that, The color correction device, applied in an image forming apparatus, includes: The first acquisition module is used to acquire the target color-corrected image in response to the color correction trigger condition being met; The second acquisition module is used to obtain a first transit time based on the target color-corrected image; the first transit time is the time obtained based on the length of the target region in the target color-corrected image and the rotation speed of the transfer belt of the image forming device; the target region is the region determined based on the actual length of the reference image in the target color-corrected image; The processing module is used to acquire image data of the image to be corrected on the transfer belt through the image acquisition sensor according to the first transit time, and obtain target image data; the image to be corrected is the image of the target area transferred to the transfer belt, and includes the reference image; The correction module is used to perform color correction on the image forming device based on the target image data.
9. An image forming apparatus, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the color correction method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed, implement the color correction method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Image correction method and device, equipment and storage medium
CN116567154A
Unmanned aerial vehicle uncooled infrared image temperature difference correction method based on correction route characteristics
CN116858391A