Image signal processing apparatus

Abstract: An image signal processing apparatus to realize signal processing system and apparatus constitution, where an image signal inputted using a photoelectric conversion element such as a CCD or a contact type image sensor is obtained in circuit constitution of small scale with high picture quality. In order to solve the problems, data width of a signal referred to in a shading corrector, an MTF corrector and an error diffusion circuit is made b + f + j ≦ 8 per one pixel. Or error component commonly possessed by plural pixels (N pixels) in the error diffusion circuit is made b + f + j' ≦ 8 , data width per one pixel being made j' = j/N . Image signal processing is realized in this constitution, thereby data width of a signal referred to in respective signal processings is reduced, and an image signal satisfying accuracy of signal processing sufficiently and having high picture quality can be obtained. For example, when a circuit is constituted by LSI, the memory section can be easily mounted on the same LSI. A memory required in the image signal processing can be made 8 bits per one pixel and a cheap memory constitution can be utilized.

Description: BACKGROUND OF THE INVENTION The present invention relates to an image signal processing apparatus according to the preamble of claim 1. The present invention can be used as an image signal processing apparatus such as a scanner for inputting image signals. In the prior art, image signal processing is carried out such that an image signal inputted using a photoelectric conversion element, for example, a CCD (charge coupled device) or a contact type image sensor, is converted into a signal pertaining to storage, transmission or the like. An example of this signal processing is shown as follows where main various function parts in the prior art relating to the image signal processing are made the main object. (1) Regarding shading correction, a problem exists in the prior art that an image signal inputted using a photoelectric conversion element such as a CCD (charge coupled device) or a contact type image sensor includes distortion components such as unevenness of illumination or characteristic dispersion of each photoelectric conversion element. Consequently, shading correction is carried out in order that this distortion is corrected and a uniform image signal is reproduced. (2) Also regarding MTF correction, in order that MTF characteristic possessed by an optical system or a sensor is corrected and further edge characteristic (undulled characteristic of edge shape of wave form) is improved, MTF correction processing is carried out. (3) Further regarding the pseudo-half-tone section, in order that a half-tone image obtained in a printer of black-and-white recording is reproduced, a signal processing method called error diffusion is carried out. In addition to those as above described, in usual apparatuses, γ-processing for carrying out level conversion of an input signal, binarization for outputting a document image signal, signal processing for separating a half-tone image area of a photograph or the like and a black-and-white binary image area of a document image or the like, and other various processings have been proposed. For example, in the prior art, respective means for realizing signal processing and memories are constituted individually. In such constitution, however, there are problems that since a plurality of memory interfaces are required in the apparatus as a whole and the circuit scale is increased and the apparatus is operated only by independent function in each memory, mutual function between memories cannot occur, and further an unused portion is produced in the memory and the apparatus constitution becomes disadvantageous. That is, an apparatus in the prior art, as shown in Fig. 1, is constituted by a signal processing section I comprising a sensor 1, an A/D converter 2, a shading corrector 3, a γ-corrector 4, an MTF corrector 5, a binarization circuit 6, an error diffusion circuit 7, a signal output circuit 8 and its output 9, and structures entirely separated from the signal processing section I (so-called "external structures") where a first memory section II, a second memory section III, a third memory section IV and the like (comprising a memory 10, a memory 11, a memory 12 and the like) are separated from each other. Respective memory sections are constituted by memories 10 - 12, each comprising N bit/pixel, in this case assuming that N = 8, 8 bit/pixel, and such case is effective since standard memories can be utilized. In the constitution shown in Fig. 1, however, since three structures each comprising 8 bits are installed separately from the signal processing section I and independently of each other, the memory interfaces are required individually as above described, and further problems of increase of the number of parts, increase of trouble in the treatment due to complication of wiring connecting respective parts, decrease of reliability and life due to complexity of each circuit and the large number of parts, large scale of the apparatus, and increase of the price and degradation of the reliability cannot be avoided. JP-A-4 047 760 discloses a picture processing unit comprising binarizing means, error diffusion means and Modulation Transfer Function (MTF) correction means, whereby a single memory is used, which is shared by different image processing means. However, that memory is accessed separately by each image processing means selected. SUMMARY OF THE INVENTION An object of the present invention is to provide an image signal processing apparatus to realize signal processing system and apparatus constitution, where, for example, parts comprising a sensor 1 - a signal output circuit 8 and a line memory are constituted as one body as shown in Fig. 2 and Fig. 3, so as to obtain an image signal inputted using a photoelectric conversion element such as a CCD or a contact type image sensor in circuit constitution of small scale with high picture quality. In order to solve the above-mentioned problems, an apparatus as defined in claim 1 is provided. When image signal processing is realized in the above-mentioned constitution, the data width of a signal referred to in respective signal processings is reduced, and an image signal satisfying accuracy of signal processing sufficiently and having high picture quality can be obtained. For example, when a circuit is constituted by LSI, the memory section can be easily mounted on the same LSI. The apparatus has effect that a memory required in the image signal processing can be made 8 bits per one pixel and a cheap memory constitution can be utilized. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a constitution diagram showing the whole constitution of an apparatus in the prior art comprising a signal processing section and a plurality of memory sections being independent of the signal processing section respectively; Fig. 2 and Fig. 3 are constitution diagrams showing different embodiments of the invention respectively; Fig. 4 is a constitution diagram of shading correction means being one element of the invention; Fig. 5 is an explanation diagram of reference wave form for shading correction of the invention; Fig. 6 is an explanation diagram of γ-conversion of the invention; Fig. 7 is a constitution diagram of MTF correction means of the invention; Fig. 8 is a constitution diagram of error diffusion means of the invention; Fig. 9 is an explanation diagram of error diffusion treatment of the invention; and Fig. 10 is an explanation diagram of data input/output of a line memory of the invention. DESCRIPTION OF THE PREFERRED EMBODIMENTS Considering the above-mentioned problems in the prior art, the present invention provides an apparatus as shown in Fig. 2, where a signal processing section V has a shading corrector 3, an MTF corrector 5 and an error diffusion circuit 7, and memory parts, formed as a whole in 8 bits for example and constituted by memories 101, 102 and 103, are provided integrally with the shading corrector 3, the MTF corrector 5 and the error diffusion circuit 7 respectively and installed quite closely to positions in which the shading corrector 3, the MTF corrector 5 and the error diffusion circuit 7 are fixed. In the prior art, since the image signal processing section and the memory parts are constituted separately, disadvantage occurs as above described. On the contrary, in the apparatus of the present invention, for example, one memory is provided for one pixel and 8 bits. Consequently, in comparison with the prior art, the apparatus of the present invention has constitution in small size and increased function and therefore it is quite effective constitution. In addition, the apparatus of the present invention has effect of reduction of the number of parts, improvement of reliability and reduction of price, and further it has feature that the number of parts can be decreased. Further in an apparatus of the present invention as shown in Fig. 3, a data distributor 104 is provided between a block of a shading corrector 3, an MTF corrector 5 and an error diffusion circuit 7 among a signal processing section comprising parts 1 - 8 for example and memory parts 10', formed as a whole in 8 bits for example and constituted by memories 101', 102' and 103' integrally. This circuit has effects as follows. (1) According to distributing function in the data distributor 104, memory distribution in the signal processing section comprising parts 1 - 8 for example can be varied dynamically. (2) The dynamic distribution can vary the output image in response to changing of binarization/half tone (error diffusion). This is because signal components used for respective signal processings (binarization, error diffusion) slightly vary. Further the apparatus has effective feature that a CPU interface is provided and the memory content can be accessed by soft processing of the CPU. In addition, regarding the present invention, also following treatment is effective so as to solve the problems in the prior art. That is, the present invention is in an image signal processing apparatus to realize signal processing system and apparatus constitution where an image signal inputted using a photoelectric conversion element such as a CCD or a contact type image sensor is obtained in circuit constitution of small scale with high picture quality. In order to solve the above-mentioned problems, data width of a signal referred to in shading correction means, MTF correction means and error diffusion means is made b + f + j ≤ 8 per one pixel respectively. The error component commonly possessed by plural pixels (N pixels) in the error diffusion circuit is made b + f + j' ≤ 8 , data width per one pixel being made j' = j/N. Image signal processing is realized in the above-mentioned constitution, whereby the data width of a signal referred to in respective signal processings is reduced, and an image signal satisfying accuracy of signal processing sufficiently and having high picture quality can be obtained. For example, when a circuit is constituted by LSI, the memory section can be easily mounted on the same LSI. The apparatus has effect that a memory required in the image signal processing can be made 8 bits per one pixel and a cheap memory constitution can be utilized. Further in the present invention, in order to solve the above-mentioned problems, in shading correction means 3 for estimating an output signal (c bit/pixel) by correction of an image signal (a bit/pixel) using a white reference signal (b bit/pixel), respective data width is set in that a = c, a > b, and in the white reference signal (b bit/pixel), using means for compression and expansion of the signal and means for storing the compressed white reference signal (d bit/pixel), each data width is set in that b > d, and in the MTF correction means 5 for correcting a noticed image signal (e bit/pixel) using adjacent plural pixel signals (f bit/pixel) and estimating an output signal (g bit/pixel), respective data width is set in that e ≥ f, and in error diffusion means 7 for estimating a binary output signal (k bit/pixel) based on predetermined operation procedure, using a noticed pixel signal (i bit/pixel) and an error component (j bit/pixel) before and after the binarization 6, respective data width is set in that i > j, k = 1, and the memory of 8 bits per one pixel is distributed for the error diffusion means, and it follows that d + f + j = 8. Or the error component commonly possessed by plural pixels (N pixels) is set, and data width per one pixel is made j' = j/N, thereby it follows that d + f + j' = 8. Using the above-mentioned means, in the shading correction means 3, if it is previously apparent that the signal amplitude range of the reference signal including the shading distortion is narrower than the signal amplitude range of the image signal as the object of correction, respective data width is set in that a = c, a > b thereby accuracy in the operation can be satisfied. In the white reference signal (b bit/pixel), using means for compression and expansion of the signal and means for storing the compressed white reference signal (d bit/pixel), respective data width is set in that b > d, thereby the memory capacity can be reduced. Signal conversion by γ-conversion is carried out to the input signal of the MTF correction means. In the γ-conversion, there is a signal area in which plural steps of an input signal are converted into an output signal of one step, or a signal area in which one step of an input signal is converted into an output signal of plural steps. Consequently, in most of signal areas, data width is set in that e > f, thereby accuracy in the operation can be satisfied. In the error diffusion means, the error component of adjacent plural pixels (N pixels) is calculated by signal processing such as equalization and is utilized commonly in the N pixels. Since the signal variation is suppressed by equalization in such manner, respective data width can be set in that i > j, k = l. The image signal processing is realized in the above-mentioned constitution, whereby the data width of a signal referred to in respective signal processings is reduced, and also an image signal satisfying the signal accuracy sufficiently and having high picture quality can be obtained in respective signal processings. Since the image signal processing is realized in the above-mentioned constitution, memories used in respective signal processings are combined and timing of data input/output of the memories are made common, and data inputted and outputted at one time are divided and utilized in respective signal processings, whereby the constitution of the apparatus for realizing the image signal processing can be simplified and the image signal of high picture quality can be obtained. Signals regarding error component referred to in the error diffusion treatment are commonly possessed and referred to in two pixels, in the case of N (pixel) being made 2, whereby the required memory capacity can be reduced. The memory capacity required in the image signal processing is reduced, whereby the memory section can be easily assembled in the circuit realizing the image signal processing. For example, when the circuit is constituted by LSI, the memory section can be easily mounted on the same LSI. Also the above-mentioned action is obtained, whereby the memory capacity required in all image signal processings can be made 8 bits per one pixel. Since constitution of the standard memory being widely used carries out signal input/output in unit of 8 bits, effect is in that standard hence cheap memory can be utilized. Further, an embodiment of the present invention will be shown. Shading correction means 3 inputs a signal from a photoelectric conversion element such as a CCD or a contact type image sensor, and while a signal is inputted or outputted with a memory storing a reference signal for shading correction, the shading correction means 3 outputs the signal after finishing the shading correction. MTF correction means 5 inputs the signal after the shading correction, and while a signal is inputted or outputted with a memory storing an adjacent image signal, the MTF correction means 5 carries out filter treatment based on previously set coefficient and outputs the signal. Error diffusion means 7 inputs the signal after finishing the shading correction and the signal treatment such as the MTF correction when a pseudo-tone image is selected, and while a signal is inputted or outputted with a memory storing an error component to be distributed to an adjacent pixel, the error diffusion means 7 executes the error diffusion treatment and outputs the signal. Further, there are γ-treatment 4 means 4 for converting the density characteristic of an image signal, and a binarization circuit 6 for deciding whether a black-and-white binary image should be black or white. The present invention does not depend on details of the concrete signal treatment procedures of the shading correction 3, the MTF correction 5, the γ-treatment 4, the binarization 6 and the like, but signal treatment based on this principle will do. In order to execute the shading correction 3, the MTF correction 5 and the error diffusion 7, the signal storage means corresponding to at least one line is necessary for respective signal treatments. When the sensor output signal 1 is subjected to A/D conversion and the inputted image signal is made 6 bit/pixel, an example will be described where data width to be used for respective signal processings is limited to accuracy necessary for the operation, whereby the constitution of the signal delay means is made a memory corresponding to one line of 8 bits per one pixel. In the shading correction means 3, as shown in Fig. 4, means for compression and expansion of the white reference signal are provided, and the white reference signal is stored in form of one pixel and one bit (d = 1). Necessary condition for executing the shading correction exactly is in that signal degradation due to compression and expansion of the white reference signal. In this case, as shown in Fig. 5, if distortion of the white reference signal is within 50% of the amplitude range with respect to white, data width b of the reproduced white reference signal may be narrower than the inputted image signal (a = 6) (a > b). For example, if the former is 6 bits, the latter may be 5 bits, and as a result of the shading correction, the correction signal of 6 bit width (c = 6) can be obtained. In the MTF correction means, the filter treatment is executed on the image signal after the γ-conversion referring to the image signal of the former line. In this case, as shown in Fig. 6, in the γ-conversion treatment, considering setting of the conversion curve, the output signal can be expressed by the data width f which is less than the data width e of the input signal (e > f). For example, if the former is 6 bits, the latter may be 5 bits, whereby the reference signal may be made to be data of a width less than 5 bits. As shown in Fig. 7, a memory corresponding to one line is provided , and treatment using the coefficient matrix of 2 x 3 or 2 x 5 is executed referring to data of width of 5 bits of the former line. In the error diffusion treatment, since the error components before and after the binarization in plural picture elements are subjected to the weighted addition and fed back in sequence, unless the data width j of respective error components is made the same as the data width i of the image signal of the object picture element (made i > j), the density of the image on the whole situation is held. Also in the error diffusion means, error components of the adjacent N picture elements are averaged and memories corresponding to the N picture elements store the error components, thereby the memory capacity required in the picture element unit can be reduced. Consequently, as shown in Fig. 8, after the error components are averaged by the adjacent two picture elements (N = 2) and made to be data of 4-bit width (j = 4), the data is stored in the memory in 2 bits per one pixel (j' = j/N). Reference of the error components stored in the memory is executed as shown in Fig. 9. Thus signals referred to in the signal treatments of shading correction, MTF correction and error diffusion are made 8 bits per one pixel. As shown in Fig. 10, means for distributing data are used in each signal processing means, thereby a memory to carry out data input/output of 8 bits by access at one time can be used. In general, memory constitution in unit of 8-bits is widely used. Consequently, versatile and cheap memories with many sorts can be utilized, and simplification of the apparatus and the low price can be realized. The image processing circuit and the memory circuit can be easily assembled to the LSI. When the line memory is constituted as an external circuit of the image processing means, a memory to carry out the data input/output in unit of 8 bits is constituted in response to the number of picture elements per one line, and the memory capacity can be set. For example, when an original document of B4 size is read by 8 picture elements per 1mm, since one line is constituted by 2048 picture elements, utilization of a memory of 2048 bytes is sufficient. Not only respective signal processing means but also data input/output means from a control apparatus (CPU or the like) to execute signal processing based on a program are prepared, thereby the memory can bring further effect. For example, in order to set the white reference signal for the shading correction, the image signal reading the object in the white reference is inputted without performing the signal processing of the shading correction, the MTF correction and the error diffusion, and the signal procedure based on the predetermined software is executed using the CPU, and then the calculated reference signal is written in the memory, thereby the shading correction can be executed using the white reference signal calculated by arbitrary algorithm. Using the image signal stored in the line memory, decision of the signal property using the image signal in the domain constituted by plural picture elements can be carried out. As the domain decision means therefor, the signal treatment procedure fixedly set previously can be naturally used, and also the inputted image signal can be adaptively set using statistical means or learning means represented by a neurocomputer. For example, procedure to carry out decision of signal property using a neurocomputer is shown as follows. (1) A circuit is set using learning process of back propagation or the like (capable of being realized by software). (2) An image signal in a minute domain constituted by plural picture elements is inputted to the circuit, and while the decision result is outputted, the picture plane is scanned in sequence. (3) Using the decision result of the minute domain, a domain in a wider picture plane is divided and image signal processing suitable for respective domains is executed. In this case, plural image signals to constitute the minute domain must be stored in a line memory or the like, and the line memory used in the above-mentioned signal processing means and its stored signal can be utilized. Therefore, a new memory need not be prepared, and the signal processing for the decision of the signal property within the domain can be realized. This can be utilized for setting of coefficient matrix of the MTF correction, setting of diffusion coefficient of error component in the error diffusion, and further domain separation of binary image and half-tone image. Effects of the present invention are in that data width of signals referred to in respective signal processings is reduced, and an image signal satisfying the accuracy of signal processing sufficiently and having high picture quality can be obtained. For example, when the circuit is constituted by LSI, the above-mentioned memory parts can be easily mounted on the same LSI. A memory required in the image signal processing can be made 8 bits per one pixel, and cheap memory constitution can be utilized. Thus according to the present invention, the circuit constitution considering the whole image processing of read signal can be realized in small scale and the high picture quality can be obtained.

Claims: An image signal processing apparatus comprising: a plurality of image signal processing means (3, 4, 5, 7), each of said image signal processing means (3, 4, 5, 7) having an image signal processing function which is different from the image signal processing function of the other image signal processing means (3, 4, 5, 7); memory means (101, 102, 103; 101', 102', 103') for storing a plurality of data used in processing performed by said plurality of image signal processing means (3, 4, 5, 7), each of the data corresponding to a respective one of said image signal processing means (3, 4, 5, 7); characterized in that it comprises: data input-output control means (104) which can access the plurality of data for reading out the plurality of data from said memory means (101, 102, 103; 101', 102', 103') in a single access in advance of an execution of image signal processing, and which distribute the respective data in the plurality of data read out from said memory means (101, 102, 103; 101', 102', 103') in said single access to corresponding image signal processing means (3, 4, 5, 7), whereby a plurality of image signal processing steps is executed using the plurality of data read out from said memory means (101, 102, 103; 101', 102', 103') in a single memory access. An image signal processing apparatus as claimed in claim 1, wherein said memory means (101, 102, 103; 101', 102', 103') has a predetermined number of bits and the number of bits allocated respectively to each of the data corresponding to said plurality of image signal processing means (3, 4, 5, 7) is changeable. An image signal processing apparatus as claimed in claim 2, whereby the number of bits allocated to each of said image signal processing means (3, 4, 5, 7) is different from each other. An image signal processing apparatus as claimed in claim 1, wherein said plurality of image signal processing means (3, 4, 5, 7), said memory means (101, 102, 103; 101', 102', 103'), and said data input-output control means (104) are formed on one LSI chip. An image signal processing apparatus as claimed in claim 1, wherein said image signal processing means (3, 4, 5, 7) has means for compressing and expanding a white reference signal. An image signal processing apparatus as claimed in claim 1, wherein said plurality of image processing means (3, 4, 5, 7) are directly connected each other. An image signal processing apparatus as claimed in claim 1, wherein said image signal processing (3, 4, 5, 7) means has input means for inputting image signals.

Inventors: INUZUKA TATSUKI, KOJIMA YASUYUKI, NAKAMURA TOSHIAKI, SHINODA SHINICHI, INUZUKA, TATSUKI, KOJIMA, YASUYUKI, NAKAMURA, TOSHIAKI, SHINODA, SHINICHI
Applicants: HITACHI LTD, HITACHI, LTD.
Application year: 1993
Main classification: H04N1
IPC codes: G06T1, H04N1