SIGNAL PROCESSING APPARATUS AND SIGNAL PROCESSING METHOD
20170287125 · 2017-10-05
Inventors
- Wakako Tanaka (Inagi-shi, JP)
- Shinjiro Hori (Yokohama-shi, JP)
- Tetsuya Suwa (Yokohama-shi, JP)
- Tomokazu Ishikawa (Yokohama-shi, JP)
Cpc classification
H04N1/409
ELECTRICITY
International classification
Abstract
A signal processing apparatus includes an acquisition unit that acquires input data and detection target data, a noise strength setting unit that sets a noise strength K used to a predetermined stochastic resonance processing and a stochastic resonance processing unit that performs the predetermined stochastic resonance processing and outputs processed data. The predetermined stochastic resonance processing is a processing based on a formula in which processed data J(x) is represented by I(x), the noise strength K and the threshold value T and the processed data J(x) corresponds to a result in a case where M is infinite in the following formula,
The noise strength setting unit sets the noise strength based on a function of a correlation coefficient between the result of the predetermined stochastic resonance processing and the detection target data and the noise strength K.
Claims
1. A signal processing apparatus, comprising: an acquisition unit configured to acquire input data having a plurality of input signals I(x) corresponding to a plurality of pixel position X respectively, and detection target data having detection target signals as a target to be detected; a noise strength setting unit configured to set, based on the input data and the detection target data, a noise strength K used to subject the input signals I(x) to a predetermined stochastic resonance processing, the noise strength K showing the strength of noise added to the input signals I(x); and a stochastic resonance processing unit configured to use the noise strength K set by the noise strength setting unit and a threshold value T to quantize the input signals to subject the input signals I(x) to the predetermined stochastic resonance processing to output processed data, wherein: the predetermined stochastic resonance processing is a processing based on a formula in which processed data J(x) is represented by I(x), the noise strength K and the threshold value T and the processed data J(x) corresponds to a result in a case where M is infinite in the following formula,
2. The signal processing apparatus according to claim 1, wherein the noise strength setting unit sets the noise strength K in a case where the correlation coefficient becomes a local maximum value in the function as a noise strength K used to perform the predetermined stochastic resonance processing.
3. The signal processing apparatus according to claim 1, wherein the noise strength setting unit sets the noise strength K so that a value shown by the correlation coefficient of the input data and the detection target data in a case where the predetermined stochastic resonance processing is performed is larger than a value shown by the correlation coefficient in a case where the predetermined stochastic resonance processing is not performed.
4. The signal processing apparatus according to claim 1, wherein the noise strength setting unit sets the noise strength K within a range higher than the noise strength in a case where the correlation coefficient becomes a local maximum value and lower than the noise strength in a case where the correlation coefficient becomes convergent at a fixed value.
5. The signal processing apparatus according to claim 1, wherein the noise is white noise having the noise strength K set by the noise strength setting unit as an upper limit.
6. The signal processing apparatus according to claim 1, wherein the noise is normal distribution noise having an upper limit at the noise strength K set by the noise strength setting unit.
7. The signal processing apparatus according to claim 1, further comprising: a threshold value setting unit configured to set the threshold value T for the binary processing used in the predetermined stochastic resonance processing for the input signals I(x), based on the input data and the detection target data.
8. The signal processing apparatus according to claim 1, wherein the detection target data is prepared as a plurality of pieces of detection target data having different phases with respect to the pixel position; the acquisition unit acquires the plurality of pieces of the detection target data; the noise strength setting unit sets the noise strength K for each of the plurality of pieces of the detection target data; and the stochastic resonance processing unit uses the respective noise strengths set by the noise strength setting unit to subject the input signals I(x) to the predetermined stochastic resonance processing; and the signal processing apparatus further comprises a selection unit configured to compare a plurality of results of the predetermined stochastic resonance processing executed by the stochastic resonance processing unit to select one result.
9. The signal processing apparatus according to claim 1, wherein the predetermined stochastic resonance processing is performed by using the following formula to calculate the processed data J(x) obtained from the input data I(x).
10. The signal processing apparatus according to claim 1, further comprising a display control unit configured to display the result of the stochastic resonance processing executed by the stochastic resonance processing unit on a display apparatus.
11. The signal processing apparatus according to claim 1, further comprising a reading unit configured to read an image; wherein the input data is image data of the reading result of the reading unit.
12. The signal processing apparatus according to claim 11, further comprising a printing unit configured to print an image; wherein the reading unit reads the image printed by the printing unit.
13. A signal processing method, comprising: an acquisition step of acquiring input data having a plurality of input signals I(x) corresponding to a plurality of pixel position X respectively, and detection target data having detection target signals as a target to be detected; a noise strength setting step of setting, based on the input data and the detection target data, a noise strength K used to subject the input signals I(x) to a predetermined stochastic resonance processing, the noise strength K showing the strength of noise added to the input signals I(x); and a stochastic resonance processing step of using the noise strength K set by the noise strength setting step and a threshold value T to quantize the input signals to subject the input signals I(x) to the predetermined stochastic resonance processing to output processed data, wherein the predetermined stochastic resonance processing is a processing based on a formula in which processed data J(x) is represented by I(x), the noise strength K and the threshold value T and the processed data J(x) corresponds to a result in a case where M is infinite in the following formula,
14. The signal processing method according to claim 13, wherein the noise strength setting step sets the noise strength K in a case where correlation coefficient becomes a local maximum value in the function as a noise strength K used to perform the predetermined stochastic resonance processing.
15. The signal processing method according to claim 13, wherein the noise strength setting step sets the noise strength K so that a value shown by the correlation coefficient of the input data and the detection target data wherein a case where the predetermined stochastic resonance processing is performed is larger than a value shown by the correlation coefficient in a case where the predetermined stochastic resonance processing is not performed.
16. The signal processing method according to claim 13, wherein the noise strength setting step sets the noise strength K within a range higher than the noise strength in a case where the correlation coefficient becomes a local maximum value and lower than the noise strength in a case where the correlation coefficient becomes convergent at fixed value.
17. The signal processing method according to claim 13, wherein the noise is white noise having the noise strength K set by the noise strength setting step as an upper limit.
18. The signal processing method according to claim 13, wherein the noise is normal distribution noise having an upper limit at the noise strength K set by the noise strength setting step.
19. The signal processing method according to claim 13, further comprising: a threshold value setting step of setting the threshold value T for the binary processing used in the predetermined stochastic resonance processing for the input signals I(x), based on the input data and the detection target data.
20. The signal processing method according to claim 13, wherein the detection target data is prepared as a plurality of pieces of detection target data having different phases with respect to the pixel position; the acquisition step acquires the plurality of pieces of the detection target data; the noise strength setting step sets the noise strength K for each of the plurality of pieces of the detection target data; and the stochastic resonance processing step uses the respective noise strengths set by the noise strength setting step to subject the input signals I(x) to the predetermined stochastic resonance processing; and the signal processing method further comprises a selection step of comparing a plurality of results of the predetermined stochastic resonance processing executed by the stochastic resonance processing step to select one result.
21. The signal processing method according to claim 13, wherein the predetermined stochastic resonance processing is performed by using the following formula to calculate the processed data J(x) obtained from the input data I(x).
22. The signal processing method according to claim 13, further comprising a display control step of displaying the result of the stochastic resonance processing executed by the stochastic resonance processing step on a display apparatus.
23. The signal processing method according to claim 13, further comprising: a reading step of reading an image; wherein the input data is image data of the reading result of the reading step.
24. The signal processing method according to claim 23, further comprising a printing step of printing an image; wherein the reading step reads the image printed by the printing step.
25. A non-transitory computer-readable storage medium which stores a program for allowing a signal method to be executed by a computer, the signal processing method comprising: an acquisition step of acquiring input data having a plurality of input signals I(x) corresponding to a plurality of pixel position X respectively, and detection target data having detection target signals as a target to be detected; a noise strength setting step of setting, based on the input data and the detection target data, a noise strength K used to subject the input signals I(x) to a predetermined stochastic resonance processing, the noise strength K showing the strength of noise added to the input signals I(x); and a stochastic resonance processing step of using the noise strength K set by the noise strength setting step and a threshold value T to quantize the input signals to subject the input signals I(x) to the predetermined stochastic resonance processing to output processed data, wherein the predetermined stochastic resonance processing is a processing based on a formula in which processed data J(x) is represented by I(x), the noise strength K and the threshold value T and the processed data J(x) corresponds to a result in a case where M is infinite in the following formula,
26. A signal processing apparatus, comprising: an acquisition unit configured to acquire input data having a plurality of input signals corresponding to a plurality of pixel position X respectively, and detection target data having detection target signals as a target to be detected; a noise strength setting unit configured to set, based on the input data and the detection target data, a noise strength used to subject the input signals to a predetermined stochastic resonance processing, the noise strength showing the strength of noise added to the input signals; and a stochastic resonance processing unit configured to use the noise strength set by the noise strength setting unit and a threshold value to quantize the input signals to subject the input signals to the predetermined stochastic resonance processing to output processed data, wherein the predetermined stochastic resonance processing is a processing for outputting, in a method of adding noises to the input signal to perform binarization processing steps in a parallel manner to synthesize the results, a value corresponding to a value obtained when the parallel number is infinite, and the noise strength setting unit sets the noise strength based on a function of a correlation coefficient showing a correlation between the result of a case where each of the plurality of input signals are subjected to the predetermined stochastic resonance processing and the detection target data and the noise strength.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
[0051]
[0052]
DESCRIPTION OF THE EMBODIMENTS
[0053]
[0054]
[0055]
[0056]
[0057]
First Embodiment
[0058]
[0059] On the other hand, in the complex machine 6, a CPU 311 executes various kinds of processing while using a RAM 312 as a work area based on a program stored in a ROM 313. The complex machine 6 includes an image processing accelerator 309 for performing high-speed image processing, a scanner controller 307 for controlling the reading unit 2, and a head controller 314 for controlling the printing unit 5.
[0060] The image processing accelerator 309 is hardware that can execute image processing at a higher speed than the CPU 311. The image processing accelerator 309 is activated by allowing the CPU 311 to write parameters and data required for the image processing to the predetermined address of the RAM 312. After reading the above parameters and data, the image processing accelerator 309 subjects the data to predetermined image processing. However, the image processing accelerator 309 is not an indispensable element. Thus, similar processing can be executed by the CPU 311.
[0061] The head controller 314 supplies printing data to a printing head 100 provided in the printing unit 5 and controls the printing operation of the printing head 100. The head controller 314 is activated by allowing the CPU 311 to write printing data that can be printed by the printing head 100 and control parameters to a predetermined address of the RAM 312 and executes the ejecting operation based on the printing data.
[0062] The scanner controller 307 outputs, while controlling the individual reading elements arranged in the reading unit 2, RGB brightness data obtained therefrom to the CPU 311. The CPU 311 transfers the resultant RGB brightness data via the data transfer I/F 310 to the image processing apparatus 1. The data transfer I/F 304 of the image processing apparatus 1 and the data transfer I/F 310 of the complex machine 6 can be connected by a USB, IEEE1394, or LAN for example.
[0063]
[0064] In order to perform printing processing or reading processing, the sheet P is conveyed at a predetermined speed in accordance with the rotation of a conveying roller 105 in the Y direction of the drawing. During this conveyance, the printing processing by the printing head 100 or the reading processing by the reading head 107 is performed. The sheet P at a position at which the printing processing by the printing head 100 or the reading processing by the reading head 107 is performed is supported from the lower side by a platen 106 consisting of a flat plate to thereby maintain the distance from the printing head 100 or the reading head 107 and the smoothness.
[0065]
[0066] On the other hand, the reading head 107 includes a plurality of reading sensors 109 arranged at a predetermined pitch in the X direction. Although not shown, the individual reading sensors 109 consists of a plurality of reading elements that may be the minimum unit of a reading pixel and are arranged in the X direction. The image on the sheet P conveyed at a fixed speed in the Y direction can be imaged by the reading elements of the individual reading sensor 109 at a predetermined frequency to thereby read the entire image printed on the sheet P at an arrangement pitch of the reading elements.
[0067] The following section will specifically describe the singular portion detection algorithm in this embodiment. The singular portion detection algorithm of this embodiment is an algorithm to image an already-printed image to use a stochastic resonance processing to accurately detect, in the resultant image data, a singular portion such as a white stripe or a black stripe appearing at a specific position such as an overlap region. This embodiment is not limited to an inkjet printing apparatus as the complex machine 6. However, the following description will be made based on an assumption that an image printed by the printing head 100 of the complex machine 6 is read by the reading head 107 of the same complex machine. First, the following section will describe the stochastic resonance processing used in this embodiment.
[0068] Reference is made again to
i(x,m)=I(x)+N(x,m)×K (Formula 1)
[0069] By comparing the signal value i(x,m) after the noise addition with a predetermined threshold value T, nonlinear processing (binary processing) is performed to thereby obtain a binary signal j(x,m). Specifically, the following is established.
i(x,m)≧T.fwdarw.j(x,m)=1
i(x,m)<T.fwdarw.j(x,m)=0 (Formula 2)
[0070] Thereafter, M binary signals j(x,m) are synthesized and subjected to average processing. The resultant value is set as the signal value J after the stochastic resonance. That is, the following is established.
[0071] According to Non-patent Document 1, the higher value M is preferred. An increase of the value M allows the signal value J(x) to be closer to a value showing the probability at which the input signal value I(x) of each pixel exceeds the binary threshold value T in the nonlinear processing. In other words, deriving a formula for calculating the probability at which the input signal value I(x) exceeds the binary threshold value T allows, without requiring many noise addition processing operations or nonlinear processing operations as shown in
[0072]
[0073] According to the Formula 1 and Formula 2, the probability at which the result after the binarization of the individual pixel is j(x,m)=1 is equal to the probability at which:
I(x)+N(x,m)×K≧T is established.
[0074] Assuming that K(strength) has a positive value, then the above formula can be expressed as:
N(x,m)≧{T−I(x)}/K (Formula 4)
[0075] Assuming that the right side is A, then the following formula can be established.
N(x,m)≧A (Formula 5)
[0076] The probability at which the result of the individual pixel after the binarization j(x,m) is j(x,m)=1 (i.e., the signal value J(x) after the stochastic resonance processing) is a probability that the Formula 5 is satisfied. In the respective diagrams of
[0077] In the case where the histogram for the generation of the random number N has a normal distribution as shown in
[0078] In a case where the histogram for the noise N has the normal distribution of ±3σ=1 as shown in
[0079] In a case where the histogram for the generation of the random number N is as shown in
[0080] In a case where the constant A is returned to the original formula {T−I(x)}/K, the Formula 8 is represented as shown below.
[0081]
[0082] Next, the following section will describe a method of setting a threshold value for the stochastic resonance processing in order to set an appropriate noise strength K (i.e., an upper limit value) and the threshold value T. This embodiment has a purpose of detecting the existence of a white stripe, if any, in the overlap region D in the inkjet printing apparatus described with reference to
[0083]
[0084]
[0085]
[0086] Here, a correlation coefficient C is defined that shows the correlation with respect to the detection target data in the entire image. In this embodiment, the correlation coefficient C is a detection performance evaluation value showing the correlation level between the detection target data shown in
[0087] In the formula, L denotes the number of pixels and L=210 is established in this example. t(x) shows a detection target signal shown in
[0088]
[0089] In
[0090]
[0091] Next, in Step S1202, the CPU 301 acquires the detection target data t(x) shown in
[0092] In Step S1203, the CPU 301 determines the threshold value T. The threshold value T is such a value that is set to a value higher than the maximum signal value SigMax at which the reading data shown in
[0093] In Step S1204, the CPU 301 sets an optimal noise strength K. Specifically, the correlation coefficient C shown in the formula 9 is differentiated by the noise strength K. The noise strength K at which the derivative value is 0 is set as an optimal noise strength. The reason is that
[0094]
[0095]
[0096] On the other hand, the correlation coefficient C(K) is convergent to have a fixed value in a case where the value K is equal to or higher than a certain value. The value K in a case where the correlation coefficient C(K) is convergent shows a case, referring to the Formula 7 or Formula 8, in which T<I(x)+K is satisfied for all pixels x, i.e., a case in which all pixels apply to the first or third condition in the Formula 7 or Formula 8 and even the minimum value of the input signal I(x) exceeds the threshold value T. The value K as described above can be expressed as T-SigMin using the minimum signal value SigMin of I(x) among all pixels. In this embodiment, the value K as described above is set to a lower-limit derivative value b=T-SigMin. In the case of this example, T=80, SigMax=60, and SigMin=0 are established. Thus, a=20 and b=80 are established. It is known that the function C(K) has only one local maximum value within the range of a≦K≦b.
[0097] Next, in Step S1303, the CPU 301 differentiates the correlation coefficient C(K) calculated in Step S1301 by the noise strength K within the range of a≦K≦b.
[0098] Returning to the flowchart of
[0099]
[0100] In Step S1206, the CPU 301 performs determination processing based on the result of performing the stochastic resonance processing under preferred conditions in Step S1205. Specifically, in a case where the number of pixels whose value is equal to or higher than a predetermined value is equal to or higher than a predetermined value in the image, the CPU 301 may determine the inspected image is defective. Alternatively, a pixel whose value is equal to or higher than a predetermined pixel value also may be displayed on the display apparatus connected via the display I/F 306 as shown in
[0101] The detection result thus obtained may be stored as information unique to the printing apparatus so that the result can be used for the subsequent printing control. For example, a position at which a white stripe is generated can be stored in the ROM 313 of the complex machine 6 and the number of times of ejection by a printing element positioned near the white stripe can be increased during the actual printing operation, thereby allowing the white stripe within the image to be less conspicuous.
[0102] According to this embodiment described above, the existence or nonexistence of the singular portion such as a white stripe appearing at the specific position can be accurately determined. For example, even when an image not including a white stripe is subjected to processing in a series of steps in the flowchart shown in
[0103] By the way, in the above description, the noise strength K at which C(K) has a local maximum value is set as the noise strength K for the stochastic resonance processing executed in Step S1205. However, the noise strength K at which C(K) has a local maximum value is not always required to improve the detection accuracy. Specifically, by obtaining the correlation coefficient C having a value higher than that of the correlation coefficient C of the reading data I(x) itself to the detection target data t(x), the detection accuracy can be improved as compared with a case where no stochastic resonance processing is performed. Specifically, in the case of the reading data shown in
[0104] Comparing
[0105]
[0106] In the inspection system however, even in a case where the above range is used, the noise strength K is preferably set to a value that is higher than a value satisfying C′(K)=0 (a value satisfying K=40 in the case of this example). The reason is that, in the case of an inspection system, “no detection” showing the failure to extract a pixel having a possibility of a singular portion is a serious disadvantage and thus it is important that the status of “excessive detection” to extract an excessive amount of normal pixels as a singular portion is maintained. Thus, “no detection” can be actively avoided by setting the noise strength K within the 40≦K≦b rather than within the range of c≦K≦40 so as to increase the probability at which each pixel has a binarization result of 1.
[0107] Although the above section has described a white stripe as an example, as has been described earlier, this embodiment also can detect a singular portion having another feature. In such a case, detection target data t(x) may be prepared in advance for each type of a singular portion to be extracted (e.g., white stripe, density unevenness). Additionally, the flowchart shown in
[0108] According to this embodiment as described above, the stochastic resonance processing can be performed, without requiring many nonlinear circuits, with an effective noise strength set for the detection target data. Thus, a target singular portion can be detected accurately and effectively.
Second Embodiment
[0109] In the first embodiment, a case was described in which, in a case where a position at which a singular portion such as a white stripe appears is clear, whether or not a singular portion occurs at such a position is accurately detected. However, in an actual inspection step, another case is assumed where a position at which a singular portion occurs cannot be securely known. For example, with reference to
[0110]
[0111]
[0112] Next, in Step S1402, the CPU 301 acquires one of the pieces of detection target data t(x) shown in
[0113] The processing operations of Steps S1403 to Step S1405 are similar to those of Steps S1203 to Step S1205 in
[0114] In Step S1406, the CPU 301 determines whether or not the stochastic resonance processing is executed for all of the detection target data shown in
[0115] In Step S1408, the CPU 301 compares the results J(x) after the stochastic resonance processing obtained through the respective processing in Step S1405 and selects the one having the highest evaluation value C. Then, the processing proceeds to Step S1409 and the CPU 301 performs a determination processing based on the result after the stochastic resonance processing selected in Step S1408. Specifically, as in the first embodiment, a pixel having a value equal to or higher than a predetermined pixel value is obtained may be popped up so that the pixel can be observed by an inspector or, in a case where the number of pixels having values equal to or higher than the predetermined pixel values is equal to or higher than a predetermined number, the CPU 301 may determine that the inspection target image is defective. Then, this processing is completed.
[0116] According to this embodiment described above, even in a case where a slight dislocation is caused between a position at which an actual singular portion is generated and the reading position, the specific singular portion can be accurately and effectively detected as in the first embodiment. In
[0117] In the above embodiment, an example was described regarding an image processing apparatus for performing stochastic resonance processing on brightness data for the respective pixels read by the reading head 107. However, the signal extraction processing apparatus of the present invention is not limited to such an embodiment. For example, even in the case of an input signal for which the current value I(x) changes depending on time such as the vibration of an object or a change of sound, a to-be-extracted detection target signal is buried in noise. Even in such a case, if the detection target data t(x) to the time axis x can be prepared in advance, the detection target signal can be extracted from the input data I(x) accurately and effectively as in the above embodiment.
[0118] Furthermore, although the above description has been made via an example of a system obtained by connecting the complex machine 6 to the image processing apparatus 1 as shown in
OTHER EMBODIMENTS
[0119] Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
[0120] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
[0121] This application claims the benefit of Japanese Patent Application No. 2016-070798, filed Mar. 31, 2016, which is hereby incorporated by reference wherein in its entirety.