Shading correction device, reading device, image forming device, and method
The shading correction device addresses the challenge of large circuit scale in conventional phase shift correction by using extraction and intersection calculation sections to reduce the circuit size while maintaining accuracy in phase shift correction.
Patent Information
- Application Number
- JP2020108225
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-06-23
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-06-23
AI Technical Summary
Conventional shading correction technologies face challenges in achieving high accuracy phase shift correction, leading to increased circuit scale.
A shading correction device that includes a first and second extraction section, intersection calculation sections, and a phase shift amount calculation section to extract and correct phase shifts in periodic components of shading data, reducing the circuit scale by shifting and smoothing the periodic components.
The solution effectively reduces the circuit scale required for accurate phase shift correction, ensuring precise shading correction even with varying temperature environments.
Smart Images

Figure 0007543719000014 
Figure 0007543719000008 
Figure 0007543719000019
Abstract
Description
[Technical field]
[0001] The present invention relates to a shading correction device, a reading device, an image forming device, and a method. [Background technology]
[0002] Conventionally, in image reading devices, shading correction is performed to correct the variation in light quantity distribution for each main scanning position of the reading optical system and the variation in sensitivity for each pixel of the sensor chip. Specifically, shading correction of input data is performed by comparing the reading result (shading data) during the manufacturing process of a white density reference member with the reading result immediately before reading a document.
[0003] In an image reading device that reads an original by arranging multiple gradient index lenses, such as a CIS (Contact Image Sensor), the output from the image sensor contains a periodic component derived from the lens pitch of the gradient index lenses. Since the temperature environment is different between the manufacturing process and immediately before the original is read, a phase shift occurs between the periodic components obtained during the manufacturing process and immediately before the original is read. Conventionally, this phase shift is corrected by first shifting the periodic components of the shading data obtained during the manufacturing process by multiple different shift amounts, and comparing the generated periodic components of each phase with the read result immediately before the original is read for each block. Then, a correction is made by generating shading data so that the phase difference is reduced (see Patent Document 1). Summary of the Invention [Problem to be solved by the invention]
[0004] However, in conventional shading data correction techniques, there is a problem in that attempting to correct the phase shift with high accuracy results in a large circuit scale.
[0005] The present invention has been made in view of the above, and an object of the present invention is to provide a shading correction device, a reading device, an image forming device, and a method thereof that are capable of reducing the scale of the circuitry. [Means for solving the problem]
[0006] In order to solve the above-mentioned problems and achieve the object, a shading correction device of the present invention has a first extraction unit, a second extraction unit, an intersection calculation unit, a phase shift amount calculation unit, a phase shift unit, a generation unit, and a correction unit, wherein the first extraction unit extracts a periodic component of shading data which is a result of reading a concentration reference member, the second extraction unit extracts a periodic component of a reading result in which the concentration reference member is read at a timing different from that of the shading data, and the intersection calculation unit calculates a periodic component between the first periodic component extracted by the first extraction unit and the second periodic component extracted by the second extraction unit. a phase shift amount calculation unit calculates an intersection point with a reference level for the first periodic component, a phase shift amount calculation unit calculates phase shift amounts for a plurality of positions from a difference between the intersection point calculated for the first periodic component and the intersection point calculated for the second periodic component, a phase shift unit shifts the first periodic component based on the phase shift amounts for the plurality of positions calculated by the phase shift amount calculation unit, a generation unit generates shading data having the periodic component after the phase shift by the phase shift unit and a component in the shading data obtained by smoothing the first periodic component, and a correction unit performs shading correction using the shading data generated by the generation unit. Effect of the Invention
[0007] According to the present invention, it is possible to reduce the scale of a circuit for correcting a phase shift. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a reading device according to the first embodiment. [Diagram 2] FIG. 2 is a diagram showing an example of a circuit block configuration of a reading module. [Diagram 3] FIG. 3 is a diagram illustrating an example of a functional block configuration of a white corrector that corrects a phase shift. [Figure 4]FIG. 4 is a diagram illustrating an example of a functional block configuration of the first periodic component extraction unit. [Diagram 5] FIG. 5 is a diagram illustrating the process of the first periodic component extraction unit. [Figure 6] FIG. 6 is an explanatory diagram of the intersection calculation process performed by the first reference level intersection calculation section and the second reference level intersection calculation section. [Figure 7] FIG. 7 is a diagram showing an example of the main scanning distribution of the detected phase difference and a result obtained when the main scanning distribution is discretized into 32 stages of phase shift amounts. [Figure 8] FIG. 8 is a diagram showing the phase shift of the periodic component. [Figure 9] FIG. 9 is a diagram showing the relationship between a pixel of interest and its surrounding pixels in a cubic correction operation. [Figure 10] FIG. 10 is a diagram showing an example of a correction parameter for the shift amount d when one pixel interval is divided into 32. In FIG. [Figure 11] FIG. 11 is a diagram illustrating an example of a functional block configuration of the correction data generating unit. [Figure 12] FIG. 12 is a diagram illustrating an example of a functional block configuration of a white corrector according to the first modification of the first embodiment. As illustrated in FIG. [Figure 13] FIG. 13 is a diagram for explaining replacement of values of dust positions. [Figure 14] FIG. 14 is a diagram illustrating an example of a phase shift amount determination process according to the second modification of the first embodiment. [Figure 15] FIG. 15 is a diagram showing the main scanning distribution of phase difference. [Figure 16] FIG. 16 is a diagram showing an example of a case where data on the main scanning distribution of phase difference is fitted with a polynomial. [Figure 17] FIG. 17 is a diagram for explaining the interpolation of the phase shift amount. [Figure 18] FIG. 18 is a diagram illustrating an example of a functional block configuration of a white corrector according to the sixth modification of the first embodiment. As illustrated in FIG. [Figure 19] FIG. 19 is an explanatory diagram of the output ratio calculation unit. [Figure 20] FIG. 20 is a diagram illustrating an example of an overall configuration of an MFP according to the second embodiment. As illustrated in FIG. [Figure 21] FIG. 21 is a diagram showing an example of an ADF configured in an MFP. [Figure 22] FIG. 22 is a diagram illustrating an example of the configuration of a control block of the MFP. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a shading correction device, a reading device, an image forming device, and a method will be described in detail with reference to the accompanying drawings.
[0010] In image reading devices, shading correction is performed to correct the variation in light quantity distribution for each main scanning position of the reading optical system and the variation in sensitivity for each pixel of the sensor chip. Specifically, the reading result (shading data) of a white board, which is a density reference member having a predetermined white color, is set as "SD", the input data is set as "Din", and the following formula A is calculated to obtain "Dout", which is the result of applying shading correction to the input data.
[0011] Dout = Din / SD (A)
[0012] Here, when shading data used for shading correction is generated, if there is dirt on the white board, the value of the shading data at the dirty part will be a value that makes it difficult to perform accurate shading correction. This means that, for example, along the main scanning direction (the direction in which pixels are arranged) of a reading optical system such as a line-shaped image sensor, the pixel data of the pixels corresponding to the part where the dirt on the white board is attached will not be accurately shading corrected. For this reason, a problem occurs in that streak-like noise corresponding to the part where the dirt was attached on the white board appears on a single image generated by scanning the reading optical system in the sub-scanning direction orthogonal to the main scanning direction.
[0013] Specifically, when black stains are attached to a whiteboard, the black stains absorb the reading light and cause diffuse reflection, so that the light incident on the pixels corresponding to the areas where the black stains are attached is less than that on other areas, and a drop occurs in the value of the generated shading data. When shading data with this drop is used for shading correction, the value of the denominator in the above-mentioned formula A becomes smaller, so the shading correction result becomes a large value, and white streaks occur (insufficient shading correction). Similarly, when white stains are attached to a whiteboard, the white stains increase the amount of reflection of the reading light. Therefore, the light incident on the pixels corresponding to the areas where the white stains are attached is more than that on other areas, and the value of the generated shading data becomes a large value. When this large shading data is used for shading correction, the value of the denominator in the above-mentioned formula A becomes larger, so the shading correction result becomes a small value, and black streaks occur (excessive shading correction).
[0014] In the following, a preferred embodiment will be described in which the read result (shading data) obtained by reading a white board during the manufacturing process is corrected by the read result obtained by reading a white board immediately before reading a document.
[0015] (First embodiment) In the first embodiment, in order to make it easier to understand how the shading correction device is used, an example in which the shading correction device is applied to a reading device is shown. The reading device is equipped with an optical lens and an image sensor, and performs image processing or the like on a signal (read signal or read image) read by the image sensor from a reading target.
[0016] FIG. 1 is a diagram showing an example of the configuration of a reading device according to a first embodiment. As an example of the reading device, an example of the configuration of a reading module of a CIS (Contact Image Sensor) that reads in a life-size mode is shown. FIG. 1(a) is an exploded perspective view of the reading module. FIG. 1(b) is an enlarged view of the reading module. Also, FIG. 1(c) shows an example of a signal output level in the main scanning direction from the reading module.
[0017] The reading module shown in FIG. 1 includes a light guide 1, a light source unit 2, an image sensor 3, and a rod lens array 4 consisting of multiple rod lenses 4a that are gradient index lenses. The light source unit 2 is an LED (Light Emitting Diode), a fluorescent lamp, a cold cathode fluorescent lamp, or the like. The light guide 1 and the light source unit 2 constitute an irradiation unit that irradiates light in the main scanning direction of the document and on a white board that is a density reference member. The image sensor 3 is provided in an integrated circuit such as an ASIC (Application Specific Integrated Circuit), and reads the main scanning direction of the document and the white board using multiple pixels (photoelectric conversion elements) 3a of the image sensor 3. As an example of the white board, a fixed white board (hereinafter referred to as a "fixed white board") that does not have a moving mechanism for changing the reading position is used.
[0018] The illumination unit irradiates light emitted from the light source unit 2 through the light guide 1 onto the main scanning direction of the document or onto a fixed white board. The light reflected from the main scanning direction of the document or from the fixed white board is read by each pixel 3a on the image sensor 3 through each rod lens 4a of the rod lens array 4. Light output from the corresponding rod lens 4a enters the image sensor 3, and as shown in FIG. 1(c), the output is high near the center of the rod lens 4a and decreases at the end of the rod lens 4a. Therefore, the output of each pixel 3a of the image sensor 3 includes a component that periodically varies with the lens pitch of the rod lens 4a. Next, the configuration of a circuit block provided in an integrated circuit or the like will be described.
[0019] FIG. 2 is a diagram showing an example of a circuit block configuration of a reading module. As shown in FIG. 2, the reading module 5 has a plurality of pixels 3a arranged in the main scanning direction, a plurality of amplifier circuits 202 connected to each pixel 3a, and a plurality of A / D conversion units 203 connected to each amplifier circuit 202. The output signal (read signal or read image) of the A / D conversion unit 203 is input to a black correction unit 204 and a white correction unit 205, where shading correction is performed. After the shading correction is performed, an image processing unit 206 performs inter-line correction processing and the like, and the image is temporarily stored in a frame memory 207. Thereafter, the image is output to the outside as image data via an output control circuit 208 and an I / F circuit 209. Each unit operates based on a timing signal from the controller 11. The black correction unit 204 removes a black level offset component included in the output signal of the A / D conversion unit 203.
[0020] The white correction unit 205 performs white correction processing on the output signal after the black level offset component has been removed by the black correction unit 204. The white correction processing mainly removes adverse effects on the image data caused by unevenness in the light source unit 2 and non-uniform sensitivity of each pixel 3a.
[0021] The white correction unit 205 will be described in more detail. In the white correction process, first, shading data (also called first white reference data or white data) which is the result of reading a clean stationary white board in advance in the manufacturing process is stored in a memory. Then, the stationary white board attached to the reading device is read immediately before reading the document, and the reading result (also called second white reference data or white data) is compared with the first white reference data to perform white correction. Note that the timing of reading the stationary white board is an example, and is not limited to the manufacturing process and immediately before reading the document. The first white reference data does not have to be read during the manufacturing process as long as it is read from a clean stationary white board. In addition, the second white reference data may be read at a timing other than immediately before reading the document, as long as it is a result of reading at a timing different from the first white reference data.
[0022] However, regardless of the timing, the timing of reading the first white reference data and the timing of reading the second white reference data are different from each other in the ambient temperature due to the temperature environment in the place where the product is used and the continuous scanning in which many documents are continuously read. The thermal expansion coefficients of the rod lens 4a and the integrated circuit in which the image sensor 3 is provided are different, and the different thermal expansion coefficients cause a phase shift in the light incident on each pixel 3a of the image sensor 3, and the correspondence between the first white reference data and the second white reference data cannot be established as it is. Therefore, in the reading device according to this embodiment, the phase shift of the first white reference data, which is shading data, is corrected so that the phase matches that of the temperature environment immediately before the document is read.
[0023] Fig. 3 is a diagram showing an example of a functional block configuration of the white correction unit 205 that corrects the phase shift. The white correction unit 205 shown in Fig. 3 includes a first storage unit 301, a second storage unit 302, a first periodic component extraction unit 303, a second periodic component extraction unit 304, a first reference level intersection calculation unit 305, a second reference level intersection calculation unit 306, a phase difference calculation unit 307, a phase shift unit 308, a correction data generation unit 309, and a shading correction unit 310.
[0024] Here, the first periodic component extraction unit 303 corresponds to a "first extraction unit". The second periodic component extraction unit 304 corresponds to a "second extraction unit". The first reference level intersection calculation unit 305 and the second reference level intersection calculation unit 306 correspond to an "intersection calculation unit". The phase difference calculation unit 307 corresponds to a "phase shift amount calculation unit". The phase shift unit 308 corresponds to a "phase shift unit". The correction data generation unit 309 corresponds to a "generation unit". The shading correction unit 310 corresponds to a "correction unit".
[0025] The first storage unit 301 stores the first white reference data, and the second storage unit 302 stores the second white reference data.
[0026] The first periodic component extraction unit 303 extracts and outputs a periodic component (first periodic component) originating from the arrangement of the rod lenses 4a from the first white reference data stored in the first storage unit 301. The second periodic component extraction unit 304 extracts and outputs a periodic component (second periodic component) originating from the arrangement of the rod lenses 4a from the second white reference data stored in the second storage unit 302.
[0027] The first reference level intersection calculation section 305 calculates an intersection (first intersection) between the first periodic component and a predetermined reference level. The second reference level intersection calculation section 306 calculates an intersection (second intersection) between the second periodic component and a predetermined reference level.
[0028] The phase difference calculation section 307 calculates the phase difference between the first and second periodic components from the difference between the first and second intersections.
[0029] The phase shift unit 308 shifts the periodic component of the first white reference data in accordance with the calculated phase difference.
[0030] The correction data generation unit 309 generates correction data (shading data) in which the phase of the first white reference data is corrected by combining the periodic component after the phase shift and data obtained after removing the periodic component from the first white reference data.
[0031] The shading correction unit 310 performs shading correction using the correction data generated by the correction data generation unit 309 .
[0032] Specifically, the configurations of the first periodic component extraction unit 303, the second periodic component extraction unit 304, the first reference level intersection calculation unit 305, the second reference level intersection calculation unit 306, the phase difference calculation unit 307, the phase shift unit 308, the correction data generation unit 309, and the shading correction unit 310 will be described using an example.
[0033] Fig. 4 is a diagram showing an example of a functional block configuration of the first periodic component extraction unit 303. Fig. 5 is a diagram showing a schematic view of the processing of the first periodic component extraction unit 303. As shown in Fig. 4, the first periodic component extraction unit 303 is composed of a smoothing unit 331 and a subtraction unit 332. The smoothing unit 331 and the subtraction unit 332 shown in Fig. 4 will be described in detail with reference to Fig. 5.
[0034] As shown in Fig. 5(a), the first white reference data has waveform data in which a periodic component originating from the rod lens arrangement and a component (a component that changes gradually) determined by the characteristics of the optical system of the reading device are combined in the main scanning direction in which the pixels 3a are arranged. In the first periodic component extraction unit 303, the smoothing unit 331 smoothes the periodic component originating from the rod lens arrangement of the first white reference data and outputs the smoothed data. For example, the smoothing unit 331 smoothes the periodic component using a moving average, and outputs data from which the periodic component has been removed, as shown in Fig. 5(b). The subtraction unit 332 calculates the difference between the first white reference data and the smoothed data, and outputs the periodic component as shown in Fig. 5(c).
[0035] The configuration for extracting the periodic component is not limited to this. Also, if the gentle fluctuation of the component is in a uniform state, extraction may be performed so that the extracted periodic component has an offset component.
[0036] The second periodic component extraction section 304 has a similar configuration to the first periodic component extraction section 303. Therefore, a description of the second periodic component extraction section 304 will be omitted to avoid duplication. The first periodic component output from the first periodic component extraction section 303 is input to a first reference level crossing point calculation section 305, and the second periodic component output from the second periodic component extraction section 304 is input to a second reference level crossing point calculation section 306.
[0037] The first reference level intersection calculation unit 305 calculates an intersection (first intersection) where the output level of the first periodic component intersects with a predetermined output level that is a reference level. The second reference level intersection calculation unit 306 calculates an intersection (second intersection) between the second periodic component and the predetermined reference level.
[0038] Fig. 6 is an explanatory diagram of the intersection calculation process by the first reference level intersection calculation unit 305 and the second reference level intersection calculation unit 306. Fig. 6(a) shows the phase shift at a certain position in the main scanning direction between the first periodic component and the second periodic component. Fig. 6(b) shows an explanatory diagram for approximation calculation of the phase shift.
[0039] As shown in FIG. 6(a), both the first and second periodic components can be represented by a sine wave waveform in the main scanning direction. The first reference level intersection calculation unit 305 and the second reference level intersection calculation unit 306 approximate the pixels including the intersection of this sine wave waveform and a predetermined output level with a straight line as shown in FIG. 6(b), and calculate the intersection of the approximated straight line and the reference level. In this example, the line where the output level, i.e., the light amount level, is 0 is set as the reference level. Therefore, focusing on two pixels (n pixel and n+1 pixel) at the position where the positive and negative of the output level are inverted, the sine wave waveform between these pixels is approximated by a straight line. Then, the intersection of the approximated straight line and the reference level (the straight line where the light amount level is 0) is calculated.
[0040] Specifically, in the first periodic component, when the brightness level of pixel n is Y1n and the brightness level of pixel n+1 is Y1n+1, pixel X1 where the light level becomes 0 is obtained by the following equation (1).
[0041] X1=(n×Y1n+1 - (n+1)×Y1n) / (Y1n+1 - Y1n) (1)
[0042] Similarly, in the second periodic component, when the brightness level at pixel n is Y2n and the brightness level at pixel n+1 is Y2n+1, pixel X2 where the light level becomes 0 is obtained by the following equation (2).
[0043] X2=(n×Y2n+1 - (n+1)×Y2n) / (Y2n+1 - Y2n) (2)
[0044] Next, the phase difference calculation unit 307 calculates the phase difference between the first and second periodic components from the difference between the first and second intersections. Specifically, the phase difference calculation unit 307 applies the first and second periodic components obtained from equations (1) and (2) to the following equation (3) to obtain the phase difference ΔX.
[0045] ΔX = X1 - X2 (3)
[0046] In addition, the phase difference calculation unit 307 discretizes the calculated phase difference ΔX by fitting it to a multi-step predetermined phase shift amount. For example, when a 32-step phase shift amount is used, the phase difference is discretized to "-15 / 32 pixels, -14 / 32 pixels, . . . , 15 / 32 pixels, 16 / 32 pixels."
[0047] 7 is a diagram showing the main scanning distribution of the detected phase difference and the result when the main scanning distribution is discretized by 32 stages of phase shift amount. The phase shift unit 308 shifts the first periodic component using the result of discretization by the phase difference calculation unit 307.
[0048] 8 is a diagram showing the phase shift of the periodic component. A phase difference d is calculated by a phase calculation unit 307, and the periodic component of the first white reference data is shifted to the left by d by a phase shift unit 308. Cubic correction is used for calculating a phase shift of less than one pixel.
[0049] 9 is a diagram showing the relationship between a pixel of interest and its surrounding pixels in a cubic correction calculation. In the cubic correction calculation, the n-th pixel in the main scanning direction is set as the pixel of interest, and the value (pixel data) of the pixel at the position where the pixel of interest is shifted by a shift amount d is calculated using data of the four pixels before and after the pixel of interest.
[0050] The phase shift unit 308 selects and performs one of two types of calculations: a calculation to delay the pixel of interest to the left in the main scanning direction, or a calculation to advance it to the right. The correction parameter value differs depending on the shift amount d. Here, as an example, the value is set to 32 divisions of one pixel interval.
[0051] FIG. 10 shows an example of correction parameter values for the shift amount d when one pixel interval is divided into 32.
[0052] The value of the nth pixel shifted leftward by a shift amount d is calculated by the following formula, where X'(n) is the value of the nth pixel.
[0053] X´(n)=W1×X(n-1)+W2×X(n)+W3×X(n+1)+W4×X(n+2) ···(4)
[0054] Furthermore, the value of the position obtained by shifting the nth pixel to the right by the shift amount d is calculated by the following formula, where X'(n) is the value of the nth pixel.
[0055] X´(n)=W1×X(n-2)+W2×X(n-1)+W3×X(n)+W4×X(n+1) ···(5)
[0056] In this manner, the phase shift section 308 shifts the phase of the first periodic component.
[0057] The correction data generation unit 309 adds the smoothed component of the first white reference data to the output data from the phase shift unit 308 (the periodic component obtained by phase-shifting the first white reference data) to obtain corrected white data (corresponding to the shading data after correction).
[0058] Fig. 11 is a diagram showing an example of a functional block configuration of the correction data generation unit 309. As shown in Fig. 11, the correction data generation unit 309 is composed of a moving average processing unit 341 and an adder unit 342. The moving average processing unit 341 smoothes the periodic component of the first white reference data by using a moving average. The adder unit 342 adds the smoothed data output by the moving average processing unit 341 and the output data from the phase shift unit 308, and outputs the added data that is corrected white data. Note that the configuration for generating the corrected white data is not limited to this and may be designed as appropriate.
[0059] The shading correction unit 310 performs shading correction on the input image data using the corrected white data obtained from the correction data generation unit 309 as shading data.
[0060] As described above, in this embodiment, the phase shift of the periodic component is detected from the data of the fixed white board (second white reference data) read immediately before reading the document, and the phase shift is corrected. Therefore, even if a phase shift occurs in the periodic component due to the difference in the ambient temperature when the first white reference data and the second white reference data are read, it is possible to perform white correction with high accuracy. In addition, the phase difference is calculated from the intersection point between the periodic component and the reference level, and a shift is performed by a predetermined shift amount within one pixel, so that the circuit scale can be reduced by suppressing an increase in the circuit scale.
[0061] Furthermore, when the first periodic component extraction unit 303 is configured with a smoothing unit 331 and a subtraction unit 332 as shown in FIG. 4 so as to subtract smoothed data, it is possible to calculate the intersections of periodic components with the reference brightness level set to 0 regardless of the characteristics of the device.
[0062] The latter functions including the black correction unit 204 among the circuit blocks described in this embodiment may be realized by hardware, or some or all of them may be realized by software. For example, the latter functions are realized by a central processing unit (CPU) executing a corresponding program stored in a hard disk drive, a read only memory (ROM), a random access memory (RAM), or the like.
[0063] Furthermore, the corresponding programs may be provided by being recorded in a computer-readable recording medium such as a CD-ROM or a flexible disk (FD) in an installable or executable format file. Alternatively, the corresponding programs may be provided by being recorded in a computer-readable recording medium such as a CD-R, a DVD (Digital Versatile Disk), a Blu-ray Disc (registered trademark), or a semiconductor memory. Alternatively, the corresponding programs may be provided by being installed via a network such as the Internet. Alternatively, the corresponding programs may be provided by being pre-installed in a ROM or the like within the device.
[0064] In addition, although the embodiment has been described with reference to an example of a reading device, a shading correction device having a function of performing shading correction may be provided as a single unit and used in combination with a reading device or other device. For example, some or all of the first storage unit 301, second storage unit 302, first periodic component extraction unit 303, second periodic component extraction unit 304, first reference level intersection calculation unit 305, second reference level intersection calculation unit 306, phase difference calculation unit 307, phase shift unit 308, correction data generation unit 309, and shading correction unit 310 shown in Fig. 3 may be provided as a shading correction device and installed in a reading device or an image forming device.
[0065] (First modification of the first embodiment) As a first modification of the first embodiment, a case in which values of dust positions are replaced will be described. Fig. 12 is a diagram showing an example of a functional block configuration of a white correction unit according to Modification 1 of the first embodiment. Fig. 13 is a diagram for explaining replacement of values of dust positions. A white correction unit 401 shown in Fig. 12 further includes a dust detection unit 411 and a phase shift amount determination unit 412 in addition to the configuration of the white correction unit 205 according to the first embodiment (see Fig. 3).
[0066] The dust detection unit 411 judges whether or not there is an abnormality in the data based on whether or not the ratio between the first white reference data in the first memory unit 301 and the second white reference data in the second memory unit 302 is within a predetermined threshold, and outputs the main scanning position where the data is abnormal as the position of dust (FIG. 13(c)).
[0067] The phase shift amount determination unit 412 determines the phase shift amounts of the first white reference data and the second white reference data at the main scanning position in question from the phase shift amount at the position where the dust is present, and outputs the determined amount to the phase shift unit 308 .
[0068] The phase shift unit 308 corrects the phase at the position where dust is present, and outputs the corrected phase to the correction data generation unit 309 .
[0069] As shown in Figures 13(a) and 13(b), correction is performed on only a portion of the second white reference data in which dust is detected by combining the smoothed component of the first white reference data with the phase-shifted periodic component.
[0070] In the first modification, instead of correcting the phase shift over the entire main scanning area, only the areas where the second white reference data has an abnormality are replaced with the first white reference data, thereby improving the robustness of the correction.
[0071] (Modification 2 of the first embodiment) As a second modification of the first embodiment, an example for improving detection accuracy is shown. The main scanning distribution of the phase difference calculated by the phase difference calculation unit 307 contains a lot of noise due to local fluctuations at the sensor boundary and fine dust on the fixed white board. Therefore, if it is discretized to a predetermined phase shift amount as it is, there is a possibility that the error will become large. Therefore, it is considered to perform boundary processing. In the second modification, an example of boundary processing in which averaging is performed for each block is shown as an example of boundary processing. Specifically, in the second modification, the phase shift amount determination unit 412 first divides the main scanning component of the phase difference into blocks of a predetermined number of pixels and averages them to smooth out noise. Then, the phase shift amount determination unit 412 discretizes based on the value after averaging.
[0072] Fig. 14 is a diagram showing an example of a phase shift amount determination process according to the second modified example of the first embodiment. Fig. 14(a) shows a main scanning distribution of the detected phase difference. Fig. 14(b) shows a distribution obtained when the phase shift amount determination unit 412 divides and averages the main scanning distribution of the phase difference into blocks of 64 pixels. Fig. 14(c) shows a result obtained when the phase shift amount determination unit 412 discretizes the distribution based on the averaged value.
[0073] (Third modification of the first embodiment) Another example of boundary processing is shown as Modification 3 of the first embodiment. The phase difference is distributed in a curved line in the main scanning direction, but due to the nature of the reading module having multiple sensors mounted on a board, local fluctuations occur in the periodic component at the sensor boundaries, and the phase difference of the periodic component may also change locally at each sensor boundary. In Modification 3, the effect of local changes is avoided by excluding only the pixel area in the main scanning direction where local changes occur from the processing target.
[0074] FIG. 15 is a diagram showing the main scanning distribution of phase difference. In FIG. 15, the boundaries shown by dotted lines correspond to the boundaries of the sensor, and there is a possibility that local changes in the phase difference may occur. In the example shown in FIG. 15, the sensor boundaries exist every 432 pixels. The pixel regions in the main scanning direction where this local change occurs can be specified by the characteristics of the reading module. Therefore, before the phase difference calculation unit 307 performs the discretization process, only the pixel regions in the main scanning direction where the local change occurs are excluded from the processing. This makes it possible to avoid the influence of local changes and further improve accuracy.
[0075] (Fourth Modification of the First Embodiment) Another example of boundary processing is shown as the fourth modification of the first embodiment. The unprocessed phase difference data contains a lot of noise due to local fluctuations at the sensor boundary and minute dust particles on the fixed white board. Therefore, the main scanning distribution data of the phase difference is fitted with a polynomial, and discretization processing is performed from the equation.
[0076] Fig. 16 is a diagram showing an example of polynomial fitting to main scanning distribution data of phase difference. In Fig. 16, the solid line shows a cubic function curve that has been subjected to least squares approximation. By performing polynomial fitting in this way, it is possible to avoid the effects of local changes due to noise.
[0077] (Fifth Modification of the First Embodiment) As a fifth modification of the first embodiment, an example for improving the accuracy of dust detection will be shown. A phase shift amount determination unit 412 (see FIG. 12) extracts the phase shift amount of a block determined by the dust detection unit 411 (see FIG. 12) to contain dust from the output of the phase difference calculation unit 307 and outputs it. Here, if the output result of the phase difference calculation unit 307 for that block contains the influence of dust, there is a possibility that a value deviating from the actual phase shift amount will be output. In the fifth modification, the phase shift amount of the block containing dust is interpolated from the phase shift amounts before and after the corresponding portion.
[0078] Fig. 17 is a diagram for explaining the interpolation of the phase shift amount. As shown in Fig. 17(a), it is assumed that the amount of deviation is calculated and blocks in which abnormal pixels exist are determined to be blocks 2, 3, and 5. In this case, the amounts of deviation of blocks 2, 3, and 5 are considered to be affected by dust, so they are interpolated from the pixels before and after them. Specifically, as shown in Fig. 17(b), the amount of deviation of blocks 2 and 3 is linearly interpolated from the results of blocks 1 and 4, and the amount of deviation of block 5 is linearly interpolated from the results of blocks 4 and 5.
[0079] (Sixth Modification of the First Embodiment) The first and second white reference data may have differences in the amplitude of the periodic components and the overall light level due to the difference in the acquisition environment temperature and changes in the light source characteristics, which may cause errors in the correction. Variation 6 shows an example of how to correct this error.
[0080] Fig. 18 is a diagram illustrating an example of a functional block configuration of a white corrector according to Modification 6 of the first embodiment. A white corrector 501 illustrated in Fig. 18 further includes an output ratio calculation unit 511 in addition to the configuration of the white corrector 401 according to Modification 1 of the first embodiment (see Fig. 12).
[0081] FIG. 19 is an explanatory diagram of the output ratio calculation unit 511. If there is a difference in light intensity level between the first white reference data and the second white reference data due to the difference in the acquisition environment temperature or the change in the light source characteristics, an error may occur in the correction. To correct this error, the ratio between the first white reference data and the second white reference data is considered. If the first white reference data contains dust, the value of the part containing the dust will be smaller than the surrounding area when the ratio is calculated, as shown in FIG. 19(c). To remove noise components, the moving average is multiplied, and then the corresponding part is linearly interpolated. This interpolated value is multiplied by the above-mentioned corrected white data as the correction ratio. This makes it possible to correct even if there is a difference in light intensity level between the first white reference data and the second white reference data.
[0082] (Second embodiment) An example of the configuration of an image forming apparatus will be described as the second embodiment. Here, the configuration of an MFP will be described as an example of an image forming apparatus including an image reading unit and an image forming unit.
[0083] Fig. 20 is a diagram showing an example of the overall configuration of an MFP according to a second embodiment. Fig. 21 is a diagram showing an example of an automatic document feeder (ADF) configured in the MFP. Figs. 20 and 21 show the MFP with an external protective cover removed so that the internal configuration can be seen. Fig. 22 is a diagram showing an example of the configuration of a control block of the MFP.
[0084] 20 includes an image reading unit 10, a paper feed unit 20, and an image forming unit 30. The paper feed unit 20 includes paper feed cassettes 21 and 22 that store recording paper of different sizes. The paper feed unit 20 also includes a paper feed mechanism 23 that includes various rollers that transport the recording paper stored in the paper feed cassettes 21 and 22 to an image forming position in the image forming unit 30.
[0085] The image forming section 30 includes an exposure device 31, a photoconductor drum 32, a developing device 33, a transfer belt 34, and a fixing device 35. The image forming section 30 exposes the photoconductor drum 32 with the exposure device 31 based on image data of the document read by the image reading section 10 to form a latent image on the photoconductor drum 32. The image forming section 30 also develops the image by supplying different color toners to the photoconductor drum 32 with the developing device 33. The image forming section 30 then transfers the image developed on the photoconductor drum 32 to a recording paper supplied from the paper feed section 20 with the transfer belt 34, and then melts the toner of the toner image transferred to the recording paper with the fixing device 35 to fix the color image to the recording paper.
[0086] The image reading unit 10 includes an ADF. The ADF automatically transports a set document to be read and reads the document image at a predetermined position. The ADF shown in FIG. 21 includes a document set unit A, a separation feed unit B, a registration unit C, a turn unit D, a first reading and conveying unit E, a second reading and conveying unit F, a paper discharge unit G, and a stack unit H. The document set unit A sets a stack of documents to be read. The separation feed unit B separates and feeds each document from the set stack of documents. The registration unit C has a function of first abutting and aligning the fed document and a function of pulling out and conveying the aligned document. The turn unit D turns the document to be conveyed and conveys the document surface toward the reading side (downward). The first reading and conveying unit E reads the front image of the document from below the contact glass. The second reading and conveying unit F reads the back image of the document after reading. The document discharge section G discharges the document after both sides have been read to the outside of the apparatus. The stack section H holds the document after reading has been completed.
[0087] The document stack 130 to be read is set with the document surface facing up on a document table 132 including a movable document table 131. Furthermore, the width direction of the document stack 130 is positioned in a direction perpendicular to the conveying direction by a side guide (not shown). The setting of the document is detected by a set filler 133 and a document set sensor 100, and is transmitted to the main body control unit 122 by the I / F 114.
[0088] Furthermore, an original length detection sensor 134 or 135 (a reflective sensor or an actuator type sensor capable of detecting even a single original) provided on the original table surface determines the approximate length of the original in the transport direction.
[0089] The movable original table 131 is configured to be operable (movable up and down) in directions a and b indicated by the arrows in Fig. 21 by the bottom plate lifting motor 112. When the set filler 133 and the original set sensor 100 detect the setting of an original, the bottom plate lifting motor 112 rotates forward to lift the movable original table 131 so that the top surface of the original stack 130 comes into contact with the pickup roller 148. The pickup roller 148 moves in directions c and d indicated by the arrows in Fig. 21 by a cam mechanism using the pickup motor 108 as a drive source. When the movable original table 131 rises, the pickup roller 148 is pushed in the direction c by the top surface of the original on the movable original table 131, and the upper limit can be detected by the paper feed proper position sensor 102.
[0090] When the print key is pressed on the operation unit 121 and a document feed signal is sent from the main body control unit 122 to the controller 11 via the I / F 114, the pickup roller 148 is rotated by the forward rotation of the feed motor 109 and picks up several documents (ideally one document) on the document table 132. The rotation direction is the direction in which the topmost document is transported to the document feed port.
[0091] The paper feed belt 136 is driven in the paper feed direction by the forward rotation of the paper feed motor 109. The reverse roller 137 is driven to rotate in the opposite direction to the paper feed direction by the forward rotation of the paper feed motor 109, and is configured to separate the topmost document from the documents below it and feed only the topmost document. More specifically, the reverse roller 137 contacts the paper feed belt 136 with a predetermined pressure. When the reverse roller 137 is in direct contact with the paper feed belt 136 or in contact with the paper feed belt 136 via one document, the reverse roller 137 rotates counterclockwise following the rotation of the paper feed belt 136. In addition, the reverse roller 137 is set so that when two or more documents enter between the paper feed belt 136 and the reverse roller 137, the accompanying rotation force is lower than the torque of the torque limiter. In this case, the reverse roller 137 rotates in the clockwise direction, which is the original driving direction, and acts to push back the excess documents. This makes it possible to prevent double feeding of documents.
[0092] The document separated into one sheet by the action of the feed belt 136 and the reverse roller 137 is further fed by the feed belt 136, and the leading edge is detected by the abutment sensor 105, and the document advances further and abuts against the pull-out roller 138, which is stopped. The document is then conveyed a distance determined by a predetermined amount from the detection by the abutment sensor 105, and is pressed against the pull-out roller 138 with a predetermined amount of flexure. In this state, the feed motor 109 is stopped, and the drive of the feed belt 136 is stopped. At this time, the pickup motor 108 is rotated to move the pickup roller 148 away from the top surface of the document, and the document is fed only by the conveying force of the feed belt 136. As a result, the leading edge of the document enters the nip between the upper and lower roller pairs of the pull-out roller 138, and the leading edge is aligned (skew correction).
[0093] Pull-out roller 138 has a skew correction function. Pull-out roller 138 is a roller for transporting the separated and skew-corrected original to intermediate roller 139, and is driven by the reverse rotation of feed motor 109. At this time (when feed motor 109 is rotating in the reverse direction), pull-out roller 138 and intermediate roller 139 are driven, but pickup roller 148 and feed belt 136 are not driven.
[0094] A plurality of document width sensors 104 are arranged in the depth direction and detect the size of the document in the width direction perpendicular to the transport direction of the document transported by the pull-out rollers 138. The length of the document in the transport direction is detected by using motor pulses generated by abutment sensor 105 reading the leading and trailing ends of the document.
[0095] When the document is transported from the registration section C to the turn section D by driving the pull-out roller 138 and the intermediate roller 139, the transport speed in the registration section C is set to be faster than the transport speed in the first reading transport section E. This shortens the processing time for sending the document to the reading section. When the leading edge of the document is detected by the reading entrance sensor 103, the document transport speed starts to be decelerated to be the same as the reading transport speed before the leading edge of the document enters the nip between the upper and lower roller pairs of the reading entrance roller 140. At the same time, the reading motor 110 is driven in the forward direction to drive the reading entrance roller 140, the reading exit roller 141, and the CIS exit roller 142. When the leading edge of the document is detected by the registration sensor 107, the document is decelerated over a predetermined transport distance, temporarily stopped just before the reading position 143, and a registration stop signal is sent to the main body control section 122 via the I / F 114.
[0096] Subsequently, when a reading start signal is received from the main body control unit 122, the document that has been registered and stopped is conveyed at an increased speed so as to rise to a predetermined conveying speed before the leading edge of the document reaches the reading position 143. At the timing when the leading edge of the document, detected by the pulse count of the reading motor 110, reaches the reading unit, a gate signal indicating the effective image area in the sub-scanning direction of the first surface is transmitted to the main body control unit 122 until the trailing edge of the document leaves the first reading unit.
[0097] In the case of single-sided document reading, the document that has passed through the first reading and conveying section E is conveyed to the paper discharge section G via the second reading section 113. At this time, when the leading edge of the document is detected by the paper discharge sensor 106, the paper discharge motor 111 is driven to rotate forward, and the paper discharge roller 144 rotates counterclockwise. Also, the paper discharge motor pulse count from the detection of the leading edge of the document by the paper discharge sensor 106 causes the paper discharge motor drive speed to be decelerated just before the trailing edge of the document leaves the nip between the upper and lower roller pairs of the paper discharge roller 144. This prevents the document discharged onto the paper discharge tray 145 from accidentally flying out of the paper discharge tray 145.
[0098] In the case of double-sided document reading, a gate signal indicating an effective image area in the sub-scanning direction is sent from the controller 11 to the second reading unit 113 until the rear end of the document leaves the second reading unit 113, at the timing when the leading edge of the document reaches the second reading unit 113 by pulse counting of the reading motor 110 after the leading edge of the document is detected by the discharge sensor 106. The second reading roller 146 prevents the document from floating in the second reading unit 113. A white board (density reference member) for acquiring shading data is fixed at a position facing the second reading unit 113.
[0099] The storage unit 101 stores a program for performing shading correction.
[0100] The second reading unit 113 has a CIS configuration because there is no installation space. In the second embodiment, the second reading unit 113 has a reading module configuration shown in Figures 1 to 3. Note that the configuration of the reading module and the white correction configuration will not be described to avoid duplication.
[0101] Although the embodiment and the modified examples of the present invention have been described above, the embodiment and the modified examples are presented as examples and are not intended to limit the scope of the invention. These novel embodiments and modified examples can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. These embodiments and modified examples are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0102] 1 Light guide 2 Light source section 3. Image Sensor 3a Pixel (photoelectric conversion element) 4 Rod Lens Array 4a Rod lens 5 Reader module 11 Controller 202 Amplifier circuit 203 A / D conversion section 204 Black Correction Section 205 White correction section 206 Image Processing Unit 207 Frame Memory 208 Output control circuit 209 I / F circuit 301 First memory unit 302 Second memory unit 303 First periodic component extraction unit 304 Second Periodic Component Extraction Unit 305 First reference level intersection calculation unit 306 Second reference level intersection calculation unit 307 Phase difference calculation section 308 Phase shift section 309 Correction Data Generation Unit 310 Shading correction section [Prior art documents] [Patent documents]
[0103]
Patent Document 1
Claims
1. a first extraction unit that extracts a periodic component of shading data that is a result of reading a density reference member; a second extraction unit that extracts a periodic component from a reading result obtained by reading the density reference member at a timing different from that of the shading data; an intersection point calculation unit that calculates an intersection point between a first periodic component that is a periodic component extracted by the first extraction unit and a second periodic component that is a periodic component extracted by the second extraction unit and a reference level; a phase shift amount calculation unit that calculates phase shift amounts at a plurality of positions from a difference between an intersection point calculated for the first periodic component and an intersection point calculated for the second periodic component; a phase shift unit that shifts the first periodic component based on the phase shift amounts at the multiple positions calculated by the phase shift amount calculation unit; a generation unit that generates shading data having a periodic component after the phase shift by the phase shift unit and a component obtained by smoothing the first periodic component in the shading data; a correction unit that performs shading correction using the shading data generated by the generation unit; A shading correction device having the following features.
2. the phase shift amount calculation unit calculates the phase shift amounts at the multiple positions using parameter values for determining multiple phase shift amounts; 2. The shading correction device according to claim 1.
3. The first extraction unit and the second extraction unit a smoothing unit that smoothes the first periodic component of the shading data that is a result of reading the density reference member; a subtraction unit that subtracts the data smoothed by the smoothing unit from the shading data, The output after the subtraction from the subtraction unit is output as the first periodic component.
3. The shading correction device according to claim 1, wherein the shading correction device is a shading correction device having a shading correction function.
4. a detection unit that detects an abnormality location based on the first periodic component extracted by the first extraction unit and the second periodic component extracted by the second extraction unit, the generation unit generates shading data using a periodic component obtained by replacing the first periodic component of a pixel corresponding to an abnormality detected by the detection unit with the periodic component after the phase shift by the phase shift unit.
4. The shading correction device according to claim 1, wherein the shading correction device is a shading correction device having a shading correction function.
5. the phase shift amount calculation unit performs boundary processing on pixel boundaries in the first periodic component to calculate phase shift amounts at a plurality of positions; 5. The shading correction device according to claim 1, wherein the shading correction device is a shading correction device having a shading correction function.
6. a determination unit that determines a phase shift amount of a block in which the detection unit detects that dust exists, The phase shift amount calculation unit interpolates the phase shift amounts of the blocks determined by the determination unit.
5. The shading correction device according to claim 4.
7. The method further includes an output ratio calculation unit that calculates an output ratio between the shading data, which is a reading result of the density reference member, and a reading result obtained by reading the density reference member at a timing different from that of the shading data, The generation unit generates shading data based on the output ratio.
5. The shading correction device according to claim 4.
8. The intersection calculation unit calculates an intersection between a first periodic component extracted by the first extraction unit and a second periodic component extracted by the second extraction unit, and a straight line approximated by values of two pixels at a position where the positive and negative signs of the periodic components are inverted.
8. The shading correction device according to claim 1, wherein the shading correction device comprises: a first shading correction unit;
9. A reading device having a plurality of pixels, the reading device performing shading correction on a read signal input from the plurality of pixels using shading data, a first extraction unit for extracting a periodic component of the shading data obtained by reading a density reference member; a second extraction unit that extracts a periodic component from a reading result obtained by reading the density reference member at a timing different from that of the shading data; an intersection point calculation unit that calculates an intersection point between a first periodic component that is a periodic component extracted by the first extraction unit and a second periodic component that is a periodic component extracted by the second extraction unit and a reference level; a phase shift amount calculation unit that calculates phase shift amounts at a plurality of positions from a difference between an intersection point calculated for the first periodic component and an intersection point calculated for the second periodic component; a phase shift unit that shifts the first periodic component based on the phase shift amounts at the multiple positions calculated by the phase shift amount calculation unit; a generation unit that generates shading data having a periodic component after the phase shift by the phase shift unit and a component obtained by smoothing the first periodic component in the shading data; a correction unit that performs shading correction using the shading data generated by the generation unit; A reading device comprising:
10. A reading unit that reads an image from a reading object; a processing unit that performs shading correction on the read image read by the reading unit; an image forming unit that forms an image after shading correction on a medium; having The processing unit includes: a first extraction unit that extracts a periodic component of shading data that is a result of reading a density reference member; a second extraction unit that extracts a periodic component from a reading result obtained by reading the density reference member at a timing different from that of the shading data; an intersection point calculation unit that calculates an intersection point between a first periodic component that is a periodic component extracted by the first extraction unit and a second periodic component that is a periodic component extracted by the second extraction unit and a reference level; a phase shift amount calculation unit that calculates phase shift amounts at a plurality of positions from a difference between an intersection point calculated for the first periodic component and an intersection point calculated for the second periodic component; a phase shift unit that shifts the first periodic component based on the phase shift amounts at the multiple positions calculated by the phase shift amount calculation unit; a generation unit that generates shading data having a periodic component after the phase shift by the phase shift unit and a component obtained by smoothing the first periodic component in the shading data; a correction unit that performs shading correction using the shading data generated by the generation unit; An image forming apparatus comprising:
11. A method for performing shading correction using a shading correction device, comprising: the shading correction device has a storage means for storing the reading result of the density reference member, A first extraction step of extracting a periodic component of shading data obtained by reading the density reference member; a second extraction step of extracting a periodic component from a reading result obtained by reading the density reference member at a timing different from that of the shading data; an intersection point calculation step of calculating an intersection point between a first periodic component, which is the periodic component extracted in the first extraction step, and a reference level, and a second periodic component, which is the periodic component extracted in the second extraction step; a phase shift amount calculation step of calculating phase shift amounts at a plurality of positions from differences between intersection points calculated for the first periodic component and intersection points calculated for the second periodic component; a phase shift step of shifting the first periodic component based on the phase shift amounts at the multiple positions calculated in the phase shift amount calculation step; a generating step of generating shading data having a periodic component after the phase shift in the phase shifting step and a component obtained by smoothing the first periodic component in the shading data; a correction step of performing shading correction using the shading data generated in the generation step; The method includes:
Citation Information
Patent Citations
Electroconductive polymer and its production
JP1988054436A
Image reading apparatus, image forming apparatus, and control method and control program of image reading apparatus
JP2014175919A
Shading compensation device, and image processing apparatus
JP2016039416A
Image reader and image forming apparatus
JP2018006890A
Cited By
Image reading device and its control method
JP2026173322A
