US9565380B2 - Data processor and data processing method including a decision circuit that compares input pixel data to defective pixel data - Google Patents
Data processor and data processing method including a decision circuit that compares input pixel data to defective pixel data Download PDFInfo
- Publication number
- US9565380B2 US9565380B2 US14/659,795 US201514659795A US9565380B2 US 9565380 B2 US9565380 B2 US 9565380B2 US 201514659795 A US201514659795 A US 201514659795A US 9565380 B2 US9565380 B2 US 9565380B2
- Authority
- US
- United States
- Prior art keywords
- data
- pieces
- input
- read
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active, expires
Links
Images
Classifications
-
- H04N5/367—
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N1/32561—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using a programmed control device, e.g. a microprocessor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N25/00—Circuitry of solid-state image sensors [SSIS]; Control thereof
- H04N25/60—Noise processing, e.g. detecting, correcting, reducing or removing noise
- H04N25/68—Noise processing, e.g. detecting, correcting, reducing or removing noise applied to defects
Definitions
- the present invention relates to data processing.
- Japanese Patent Application Laid-Open No. 2012-114721 describes the technique of processing pixel data.
- An aspect of a data processor includes a memory that stores data, and a first decision circuit that decides whether data to be input matches data in the memory.
- a plurality of pieces of first input data on pixels are input to the first decision circuit in an order based on a first rule.
- the memory has a plurality of first memory areas that respectively store a plurality of pieces of first data that match at least part of the plurality of pieces of first input data.
- the first decision circuit reads the plurality of pieces of first data from the memory in an order based on a second rule identical to the first rule. When addresses of the plurality of first memory areas are viewed in ascending order, the plurality of pieces of first data respectively stored in the plurality of first memory areas are arranged in an order to be read by the first decision circuit.
- the data processor further includes a first read pointer that indicates an address of a first memory area being a read target among the plurality of first memory areas.
- the first decision circuit compares one of the pieces of first data read from the memory on the basis of the first read pointer with one of the pieces of first input data to be input. When the one piece of first data does not match the one piece of first input data, the first decision circuit compares the one piece of first data with another of the pieces of first input data to be input next. When the one piece of first data matches the one piece of first input data, the first decision circuit increments the first read pointer to a succeeding value and compares another of the pieces of first data read next from the memory on the basis of the first read pointer incremented with another of the pieces of first input data to be input next.
- FIG. 1 shows the configuration of a data processor
- FIG. 2 shows the state in which a line is divided into two partial areas
- FIG. 3 shows the configuration of a pixel defect correcting unit
- FIG. 4 shows the configurations of a decision circuit and a memory
- FIG. 5 shows the configuration of an output circuit
- FIG. 6 is a timing chart showing the operation of a write unit
- FIG. 7 is a timing chart showing the operation of the decision circuit
- FIG. 8 shows an example x-coordinate data stored in a buffer
- FIG. 9 shows a partial configuration of a data processor according to a modification
- FIG. 10 shows the state in which a line is divided into three partial areas
- FIG. 11 shows the configuration of a pixel defect correcting unit according to the modification
- FIG. 12 shows the configuration of a decision circuit according to the modification
- FIG. 13 shows the configuration of an output circuit according to the modification
- FIG. 14 is a timing chart showing the operation of a write unit according to the modification.
- FIG. 15 is a timing chart showing the operation of the decision circuit according to the modification.
- FIG. 16 shows the configuration of a decision circuit according to another modification
- FIG. 17 shows the order in which a plurality of buffers serve as write buffers
- FIG. 18 shows the state in which a partial area of a line is divided into an even-numbered group and an odd-numbered group
- FIG. 19 shows the configurations of an even-number and odd-number counter and a decision section for correction line according to the other modification
- FIG. 20 shows a partial configuration of an output circuit according to the other modification
- FIG. 21 shows another partial configuration of the output circuit according to the other modification
- FIG. 22 shows the configuration of an output unit for correction line according to the other modification.
- FIG. 23 is a timing chart showing the operation of a decision circuit according to the other modification.
- FIG. 1 shows the configuration of a data processor 1 according to an embodiment.
- the data processor 1 is, for example, an image processor that processes image data.
- the data processor 1 according to this embodiment performs, for example, pixel defect correction of correcting the pixel data obtained from a defective pixel included in an imaging device such as a CMOS (complementary metal oxide semiconductor) image sensor or a CCD (charge coupled device) sensor.
- CMOS complementary metal oxide semiconductor
- CCD charge coupled device
- the data processor 1 includes a pixel defect correcting unit 2 , a memory 3 , a write unit 4 , a decision circuit 5 , an output circuit 6 , and a buffer selecting unit 7 .
- the components constituting the data processor 1 operate in synchronization with an operation clock signal (not shown).
- the data processor 1 receives a plurality of pieces of pixel data (image data) respectively obtained from a plurality of pixels of the imaging device.
- the pixel defect correcting unit 2 corrects this pixel data and generates and outputs appropriate pixel data.
- the pixel defect correcting unit 2 replaces the pixel data obtained from the defective pixel with pixel data generated using pixel data on at least one pixel that is located near the defective pixel and has no defect, thereby correcting the pixel data on the defective pixel. Contrastingly, when the pixel data input to the data processor 1 is the pixel data obtained from a defect-free pixel, the pixel defect correcting unit 2 does not correct this pixel data and outputs it.
- the pixel data obtained from a defective pixel may be referred to as “defective pixel data.”
- the defective pixel data after the correction may be referred to as “corrected pixel data.”
- the pixel data obtained from a defect-free pixel may be referred to as “normal pixel data.”
- the pixel defect correcting unit 2 can correct defective pixel data by a plurality of types of correction methods.
- the number of pieces of pixel data used in the generation of corrected pixel data, the position of a pixel corresponding to the pixel data, the expression for computing corrected pixel data using the pixel data, or the like differs among the plurality of types of correction methods.
- the pixel defect correcting unit 2 Upon receipt of defective pixel data on a defective pixel, the pixel defect correcting unit 2 corrects the defective pixel data by the correction method corresponding to the defective pixel.
- the information for identifying a type of the correction method to be used in correcting defective pixel data is input from the output circuit 6 to the pixel defect correcting unit 2 , as described below.
- the memory 3 stores pixel defect data (pixel defect information) input from the outside of the data processor 1 .
- the pixel defect data includes address data indicating the position of a defective pixel and correction method identifying data for identifying a correction method to be used in correcting the pixel data on the defective pixel.
- the pixel defect data includes the x-coordinate value of a defective pixel as address data.
- the address data (x-coordinate value) included in the pixel defect data may be referred to as “x-coordinate data.”
- the pixel defect data may be referred to as “defective data.”
- the data processor 1 receives defective data on each defective pixel included in the imaging device.
- Various methods are conceivable as the method of inputting defective data to the data processor 1 .
- the method of inputting defective data to the data processor 1 is not limited to this method.
- the write unit 4 writes the defective data input from the outside of the data processor 1 into the memory 3 .
- the buffer selecting unit 7 determines a target buffer for data writing or determines a target buffer for data reading from a plurality of buffers of the memory 3 described below.
- the decision circuit 5 reads address data (x-coordinate data) included in the defective data from the memory 3 , and performs a predetermined decision process using the address data.
- the output circuit 6 outputs correction method identifying data in the memory 3 to the pixel defect correcting unit 2 , on the basis of the result of the decision process by the decision circuit 5 .
- the correction method identifying data indicating the correction method for the defective pixel data is input to the pixel defect correcting unit 2 depending on the timing at which defective pixel data is input to the pixel defect correcting unit 2 .
- the pixel defect correcting unit 2 can thus correct the input correct defective pixel data by a corresponding correction method.
- pixel data is input to the data processor 1 line by line. Further, each line of the imaging device is divided into a plurality of partial areas, and pieces of pixel data on the plurality of partial areas are input to the data processor 1 in parallel. In this embodiment, each line is divided into two partial areas 11 A and 11 B. FIG. 2 shows the state of division.
- one line 10 is divided into the partial area 11 A including the leading pixel and the partial area 11 B including the final pixel.
- the partial area 11 A and the partial area 11 B partially overlap.
- the leading and final x-coordinate values of the partial area 11 A be xAst and xAend, respectively
- the leading and final x-coordinate values of the partial area 11 B be xBst and xBend, respectively.
- Expressions (1) to (3) below hold, where xAst 0.
- extension portion 110 A the portion of the partial area 11 A, extending from xref to xAend, is referred to as an “extension portion 110 A.”
- extension portion 110 B the portion of the partial area 11 B, extending from xBst to xref, is referred to as an “extension portion 110 B.”
- the partial area 11 A has the extension portion 110 A as described above, and thus, the pixel data on a defective pixel located slightly forward of the reference point in the partial area 11 A can be corrected using the pixel data on the pixel rearward of the reference point (the pixel data on a pixel of the extension portion 110 A). Additionally, the pixel data on a defective pixel located slightly rearward of the reference point in the partial area 11 B can be corrected using the pixel data on a pixel located forward of the reference point (the pixel data on a pixel of the extension portion 110 B).
- L indicating the lengths of the extension portions 110 A and 110 B is determined depending on a distance between a pixel, pixel data on which is to be used, and the defective pixel in the x-axis direction when the pixel defect correcting unit 2 performs pixel defect correction. For example, in the case where the pixel defect correcting unit 2 uses the pixel data on a pixel three pixels away from the defective pixel in the x direction, L is set to three.
- the data processor 1 receives pieces of pixel data on a plurality of pixels constituting the partial area 11 A one by one in ascending order of x-coordinate value, in synchronization with an operation clock signal. Additionally, the data processor 1 receives pieces of pixel data on a plurality of pixels constituting the partial area 11 B one by one in ascending order of x-coordinate value, in synchronization with an operation clock signal. The data processor 1 receives pixel data on one pixel belonging to the partial area 11 A and pixel data on one pixel belonging to the partial area 11 B in parallel.
- the data processor 1 receives pixel data on a pixel in the partial area 11 A and pixel data on a pixel in the partial area 11 B in parallel at a rising edge of an operation clock signal, receives pixel data on a succeeding pixel in the partial area 11 A and pixel data on a succeeding pixel in the partial area 11 B in parallel at a succeeding rising edge of the operation clock signal, and receives pixel data on a further succeeding pixel in the partial area 11 A and pixel data on a further succeeding pixel in the partial area 11 B in parallel at a further succeeding rising edge of the operation clock signal.
- the data processor 1 will receive pixel data on one pixel belonging to the partial area 11 A and pixel data on one pixel belonging to the partial area 11 B in parallel.
- the data processor 1 receives pixel data obtained from the partial area 11 A and pixel data obtained from the partial area 11 B in parallel.
- the pixel defect correcting unit 2 corrects the defective pixel data obtained from the partial area 11 A and corrects the defective pixel data obtained from the partial area 11 B in parallel. This reduces processing time.
- the partial areas 11 A and 11 B are each referred to as a “partial area 11 ” if they do not need to be particularly distinguished from each other.
- FIG. 3 shows the configuration of the pixel defect correcting unit 2 .
- the pixel defect correcting unit 2 includes correction sections 20 A and 20 B, adjustment sections 21 A and 21 B, selection circuits 22 A and 22 B, and deletion sections 23 A and 23 B.
- the correction section 20 A, adjustment section 21 A, selection circuit 22 A, and deletion section 23 A form a circuit that processes the pixel data obtained from the partial area 11 A.
- the correction section 20 B, adjustment section 21 B, selection circuit 22 B, and deletion section 23 B form a circuit that processes the pixel data obtained from the partial area 11 B.
- the correction section 20 A corrects the defective pixel data obtained from the partial area 11 A by the correction method indicated by correction method identifying data 100 A described below, which is output from the output circuit 6 .
- the correction section 20 B corrects the defective pixel data obtained from the partial area 11 B by the correction method indicated by correction method identifying data 100 B described below, which is output from the output circuit 6 .
- the adjustment section 21 A delays the pixel data obtained from the partial area 11 A by a predetermined time period and then outputs the delayed pixel data.
- the adjustment section 21 B delays the pixel data obtained from the partial area 11 B by a predetermined time period and then outputs the delayed pixel data.
- the selection circuit 22 A selects any one of the data output from the adjustment section 21 A and the data output from the correction section 20 A and then outputs the selected one. Specifically, when the defective pixel data obtained from the partial area 11 A is input to the data processor 1 , the selection circuit 22 A outputs this defective pixel data after the correction, which is output from the correction section 20 A. Contrastingly, when the normal pixel data obtained from the partial area 11 A is input to the data processor 1 , the selection circuit 22 A outputs this normal pixel data output from the adjustment section 21 A.
- the selection circuit 22 B outputs this defective pixel data after the correction, which is output from the correction section 20 B. Contrastingly, when the normal pixel data obtained from the partial area 11 B is input to the data processor 1 , the selection circuit 22 B outputs this normal pixel data output from the adjustment section 21 B.
- the deletion section 23 A deletes pieces of pixel data on a plurality of pixels included in the extension portion 110 A among a plurality of pieces of pixel data (also including the defective pixel data after the correction) respectively corresponding to a plurality of pixels constituting the partial area 11 A, which are output from the selection circuit 22 A, and outputs the other plurality of pieces of pixel data.
- the pixel defect correcting unit 2 outputs pieces of pixel data in the first half portion of one line.
- the deletion section 23 B deletes pieces of pixel data on a plurality of pixels included in the extension portion 110 B among a plurality of pieces of pixel data (also including the defective pixel data after the correction) respectively corresponding to a plurality of pixels constituting the partial area 11 B, which are output from the selection circuit 22 B, and outputs the other plurality of pieces of pixel data.
- the pixel defect correcting unit 2 outputs pieces of pixel data in the second half portion of one line.
- the deletion section 23 A When the deletion section 23 A outputs pieces of pixel data in the first half portion of a line, the deletion section 23 B outputs pieces of pixel data in the second half portion of the line. As a result, the data processor 1 outputs pieces of pixel data for one line.
- the pixel defect correcting unit 2 may be devoid of the deletion sections 23 A and 23 B. In this case, pieces of pixel data on a plurality of pixels included in the extension portion 110 A and pieces of pixel data on a plurality of pixels included in the extension portion 110 B are deleted downstream of the pixel defect correcting unit 2 .
- the correction sections 20 A and 20 B are each referred to as a “correction section 20 ” if they do not need to be particularly distinguished from each other.
- FIG. 4 shows the configurations of the memory 3 and the decision circuit 5 .
- the memory 3 includes a plurality of buffers 30 ⁇ and 30 ⁇ .
- the buffers 30 ⁇ and 30 ⁇ each is composed of a plurality of flip-flops.
- the buffers 30 ⁇ and 30 ⁇ may be composed of components other than flip-flops.
- the write unit 4 writes the defective data input to the data processor 1 into each of the buffers 30 ⁇ and 30 ⁇ .
- the decision circuit 5 reads the pieces of defective data in the buffers 30 ⁇ and 30 ⁇ . When the defective data is written into the buffer 30 ⁇ , the defective data is read from the buffer 30 ⁇ . When the defective data is written into the buffer 30 ⁇ , the defective data is read from the buffer 30 ⁇ .
- the buffers 30 ⁇ and 30 ⁇ are each referred to as a “buffer 30 ” if they do not need to be particularly distinguished from each other.
- the N memory areas of the buffer 30 are respectively provided with addresses from 0 to (N ⁇ 1).
- defective data corresponding to one defective pixel is stored in one memory area.
- Pieces of defective data for one line are written into each buffer 30 .
- the address of each memory area of the buffer 30 is referred to as a “buffer address.”
- a mere “memory area” refers to the memory area of the buffer 30 .
- the decision circuit 5 includes a plurality of counters 50 A and 50 B and a plurality of decision units 51 A and 51 B.
- the counter 50 A and the decision unit 51 A form the circuit corresponding to the partial area 11 A
- the counter 50 B and the decision unit 51 B form the circuit corresponding to the partial area 11 B.
- Each of the counters 50 A and 50 B is an up counter. Each of the counters 50 A and 50 B counts up one by one from an initial value in synchronization with an operation clock signal, and then outputs the count value (count data).
- the count value cntA is reset. Then, the counter 50 A again counts up one by one from the leading x-coordinate value xAst to the final x-coordinate value xAend of the partial area 11 A.
- the counter 50 B corresponding to the partial area 11 B counts up one by one from the leading x-coordinate value xBst of the partial area 11 B to the final x-coordinate value xBend of the partial area 11 B.
- the count value cntB is reset. Then, the counter 50 B again counts up one by one from the leading x-coordinate value xBst to the final x-coordinate value xBend of the partial area 11 B.
- the counter 50 A outputs the x-coordinate values of a plurality of pixels constituting the partial area 11 A one by one from the leading one. It can therefore be said that the count value cntA of the counter 50 A indicates the x-coordinate value of the pixel belonging to the partial area 11 A.
- the counter 50 A outputs, depending on the timing at which the pixel data on a pixel belonging to the partial area 11 A is input to the data processor 1 (pixel defect correcting unit 2 ), the x-coordinate value of this pixel.
- the counter 50 B outputs the x-coordinate values of a plurality of pixels constituting the partial area 11 B one by one from the leading one. It can therefore be said that the count value cntB of the counter 50 B indicates the x-coordinate value of the pixel belonging to the partial area 11 B.
- the counter 50 B outputs, depending on the timing at which the pixel data on a pixel belonging to the partial area 11 B is input to the data processor 1 , the x-coordinate value of this pixel.
- the counter 50 B may count a value other than the x-coordinate value xBst when the counter 50 A counts the x-coordinate value xAst.
- the counters 50 A and 50 B are each referred to as a “counter 50 ” if they do not need to be particularly distinguished from each other.
- the decision unit 51 A decides whether the buffer 30 has the x-coordinate data that matches the count value cntA output from the counter 50 A. In other words, the decision unit 51 A decides whether the current count value cntA matches the x-coordinate data on the defective pixel in the buffer 30 .
- the decision unit 51 A outputs a hit signal hitA when the count value cntA matches the x-coordinate data on the defective pixel in the buffer 30 .
- the count value cntA indicates the x-coordinate value of a pixel for the pixel data in the partial area 11 A, which is input to the data processor 1 . It can therefore be said that the decision unit 51 A outputs a hit signal hitA in the case where the pixel data in the partial area 11 A, which is input to the data processor 1 , is defective pixel data.
- the decision unit 51 B decides whether the current count value cntB matches the x-coordinate data on the defective pixel in the buffer 30 .
- the decision unit 51 B outputs a hit signal hitB in the case where the count value cntB matches the x-coordinate data on the defective pixel in the buffer 30 .
- the decision unit 51 B outputs a hit signal hitB in the case where the pixel data in the partial area 11 B, which is input to the data processor 1 , is defective pixel data.
- the decision unit 51 A includes a comparison section 510 A, a read section 511 A, and a selection circuit 512 A.
- the selection circuit 512 A selects any one of the buffers 30 ⁇ and 30 ⁇ on the basis of a read selection signal RS output from the buffer selecting unit 7 .
- the read selection signal RS is a signal indicating which of the buffers 30 ⁇ and 30 ⁇ is currently a read target.
- the selection circuit 512 A selects, from the buffers 30 ⁇ and 30 ⁇ , the buffer 30 indicated by the read selection signal RS, that is, the buffer 30 being a read target (hereinafter, referred to as a “read buffer 30 ”).
- the read selection signal RS indicates, for example, “0” or “1.”
- the read selection signal RS indicating “0” means that the read buffer 30 is the buffer 30 ⁇
- the read selection signal RS indicating “1” means that the read buffer 30 is the buffer 30 ⁇ .
- the read section 511 A includes a read pointer rpA indicating a buffer address.
- the read section 511 A reads, from a memory area having a buffer address indicated by the read pointer rpA, the x-coordinate data included in the defective data stored in this memory area in the read buffer 30 selected by the selection circuit 512 A.
- the comparison section 510 A compares the count value output from the counter 50 A with the x-coordinate data read from the read section 511 A and, when they match, outputs a hit signal hitA.
- the hit signal hitA is, for example, a binary signal that enters High level for only a predetermined time period.
- the hit signal hitA indicates that the current count value cntA matches the x-coordinate data in the read buffer 30 .
- the decision unit 51 B includes a comparison section 510 B, a read section 511 B, and a selection circuit 512 B.
- the selection circuit 512 B selects, from the buffers 30 ⁇ and 30 ⁇ , the buffer 30 indicated by the read selection signal, that is, the read buffer 30 .
- the read section 511 B includes a read pointer rpB indicating a buffer address. The read section 511 B reads, from a memory area having a buffer address indicated by the read pointer rpB, the x-coordinate data included in the defective data stored in this memory area in the read buffer 30 selected by the selection circuit 512 B.
- the comparison section 510 B compares the count value output from the counter 50 B with the x-coordinate data read from the read section 511 B and, when they match, outputs a hit signal hitB.
- the hit signal hitB is, for example, a binary signal that enters High level for only a predetermined time period.
- the hit signal hitB indicates that the current count value cntB matches the x-coordinate data in the read buffer 30 .
- the decision units 51 A and 51 B are each referred to as a “decision section 51 ” if they do not need to be particularly distinguished from each other.
- the operation of the decision circuit 5 will be described below in detail.
- FIG. 5 shows the configuration of the output circuit 6 .
- the output circuit 6 includes a plurality of output units 60 A ⁇ , 60 B ⁇ , 60 A ⁇ , and 60 B ⁇ , and a plurality of selection circuits 62 A and 62 B.
- the output units 60 A ⁇ and 60 B ⁇ correspond to the buffer 30 ⁇
- the output units 60 A ⁇ and 60 B ⁇ correspond to the buffer 30 ⁇ .
- the output units 60 A ⁇ and 60 A ⁇ and the selection circuit 62 A correspond to the partial area 11 A
- the output units 60 B ⁇ and 60 B ⁇ and the selection circuit 62 B correspond to the partial area 11 B.
- the output unit 60 A ⁇ includes a selection circuit 600 A ⁇ and a holding circuit 601 A ⁇ .
- the selection circuit 600 A ⁇ selects, from a plurality of memory areas included in the buffer 30 ⁇ , a memory area having a buffer address indicated by the read pointer rpA in the decision unit 51 A. Then, the selection circuit 600 A ⁇ outputs correction method identifying data included in the defective data stored in the selected memory area (the defective data on the defective pixel of the partial area 11 A).
- the holding circuit 601 A ⁇ holds and outputs the correction method identifying data output from the selection circuit 600 A ⁇ .
- the output unit 60 B ⁇ includes a selection circuit 600 B ⁇ and a holding circuit 601 B ⁇ .
- the selection circuit 600 B ⁇ selects, from a plurality of memory areas included in the buffer 30 ⁇ , a memory area having a buffer address indicated by the read pointer rpB in the decision unit 51 B. Then, the selection circuit 600 B ⁇ outputs the correction method identifying data included in the defective data stored in the selected memory area (the defective data on the defective pixel of the partial area 11 B).
- the holding circuit 601 B ⁇ holds and outputs the correction method identifying data output from the selection circuit 600 B ⁇ .
- the output unit 60 A ⁇ includes a selection circuit 600 A ⁇ and a holding circuit 601 A ⁇ .
- the selection circuit 600 A ⁇ selects, from a plurality of memory areas included in the buffer 30 ⁇ , a memory area having a buffer address indicated by the read pointer rpA. Then, the selection circuit 600 A ⁇ outputs the correction method identifying data included in the defective data stored in the selected memory area.
- the holding circuit 601 A ⁇ holds and outputs the correction method identifying data output from the selection circuit 600 A ⁇ .
- the output unit 60 B ⁇ includes a selection circuit 600 B ⁇ and a holding circuit 601 B ⁇ .
- the selection circuit 600 B ⁇ selects, from a plurality of memory areas included in the buffer 30 ⁇ , a memory area having a buffer address indicated by the read pointer rpB. Then, the selection circuit 600 B ⁇ outputs the correction method identifying data included in the defective data stored in the selected memory area.
- the holding circuit 601 B ⁇ holds and outputs the correction method identifying data output from the selection circuit 600 B ⁇ .
- the output units 60 A ⁇ and 60 A ⁇ are each referred to as an “output unit 60 A” if they do not need to be particularly distinguished from each other.
- the output units 60 B ⁇ and 60 B ⁇ are each referred to as an “output unit 60 B” if they do not need to be particularly distinguished from each other.
- the selection circuit 62 A selects, from the output units 60 A ⁇ and 60 A ⁇ corresponding to the partial area 11 A, the output unit 60 A corresponding to the read buffer 30 indicated by the read selection signal RS, and then outputs correction method identifying data output from the output unit 60 A.
- the selection circuit 62 A outputs the correction method identifying data from the output unit 60 A ⁇ corresponding to the buffer 30 ⁇ when the read selection signal RS indicates “0” or outputs the correction method identifying data from the output unit 60 A ⁇ corresponding to the buffer 30 ⁇ when the read selection signal RS indicates “1.”
- the selection circuit 62 A corresponding to the partial area 11 A outputs the correction method identifying data indicating the method of correcting the defective pixel data obtained from the partial area 11 A.
- the correction method identifying data output from the selection circuit 62 A is referred to as “correction method identifying data 100 A.”
- the selection circuit 62 B selects, from the output units 60 B ⁇ and 60 B ⁇ corresponding to the partial area 11 B, the output unit 60 B corresponding to the read buffer 30 indicated by the read selection signal RS, and then outputs the correction method identifying data output from the output unit 60 B.
- the selection circuit 62 B outputs the correction method identifying data from the output unit 60 B ⁇ corresponding to the buffer 30 ⁇ when the read selection signal RS indicates “0” or outputs the correction method identifying data from the output unit 60 B ⁇ corresponding to the buffer 30 ⁇ when the read selection signal RS indicates “1.”
- the selection circuit 62 B corresponding to the partial area 11 B outputs the correction method identifying data indicating the method of correcting the defective pixel data obtained from the partial area 11 B.
- the correction method identifying data output from the selection circuit 62 B is referred to as “correction method identifying data 100 B.”
- the decision circuit 5 obtains x-coordinate data from the memory area having a buffer address indicated by the read pointer rpA and the output circuit 6 obtains correction method identifying data from the memory area.
- defective data may be obtained from the memory area, and x-coordinate data and correction method identifying data included in the defective data may be used in each of the decision circuit 5 and the output circuit 6 .
- FIG. 6 is a timing chart showing the operation of the write unit 4 .
- FIG. 6 shows the operation of the write unit 4 when the write unit 4 writes defective data into the buffer 30 currently being a write target (hereinafter, referred to as a “write buffer 30 ”) of the buffers 30 ⁇ and 30 ⁇ of the memory 3 .
- defective data is input to the write unit 4 per line.
- the write unit 4 receives pieces of defective data per line, in ascending order of y-coordinate value of the corresponding line. Further, the write unit 4 receives pieces of defective data on a plurality of defective pixels included in a line (a plurality of pieces of defective data corresponding to the line) in ascending order of x-coordinate data in the corresponding line (x-coordinate value of the defective pixel), in synchronization with an operation clock signal.
- a target line when a plurality of pieces of defective data on a line are input to the write unit 4 in ascending order of x-coordinate data included therein, a plurality of pieces of defective data on the line of a y-coordinate value one larger than the y-coordinate value of this line are input to the write unit 4 in ascending order of defective data included therein.
- the line to be described will be referred to as a “target line.”
- FIG. 6 shows the operation of the write unit 4 when the defective data on a target line is written into the write buffer 30 .
- the “input timing” shown in FIG. 6 indicates the timing at which the defective data on a target line is written into the write unit 4 .
- the “write timing” shown in FIG. 6 indicates the timing at which the write unit 4 writes the input defective data into the write buffer 30 .
- a plurality of pieces of defective data on a target line are written into the write buffer 30 in synchronization with an operation clock signal in the order in which they are input to the write unit 4 .
- the defective data to be input K-th (K is an integer equal to or larger than zero) to the write unit 4 is written into the memory area having a buffer address K of the write buffer 30 .
- [K] shown in FIG. 6 represents the defective data to be written into the memory area of the buffer address K of the write buffer 30 .
- the write unit 4 upon receipt of the K-th defective data, the write unit 4 writes the K-th defective data into the memory area having the buffer address K of the write buffer 30 at the timing at which succeeding (K+1)th defective data is input thereto (at a succeeding rising edge of an operation clock signal).
- the write unit 4 includes a write pointer wpA corresponding to the partial area 11 A and a write pointer wpB corresponding to the partial area 11 B.
- the write unit 4 initializes the values of the write pointers wpA and wpB to “0” at the timing at which the first defective data on the target line is input.
- the write unit 4 Upon receipt of defective data on a target line, the write unit 4 compares the x-coordinate data included in the defective data with the leading x-coordinate value xBst (see FIG. 2 ) of the partial area 11 B and, if the x-coordinate data is smaller than the x-coordinate value xBst, increments the value of the write pointer wpB by one at the timing of writing the defective data into the write buffer 30 , that is, the timing at which the succeeding defective data is input. Contrastingly, the write unit 4 keeps the current value of the write pointer wpB if the x-coordinate data is equal to or larger than the x-coordinate value xBst.
- a plurality of pieces of defective data on a target line are input to the write unit 4 in ascending order of x-coordinate data included therein.
- the x-coordinate data of the defective data is equal or larger than the x-coordinate value xBst
- the x-coordinate data of the defective data to be input thereafter is inevitably equal to or larger than the x-coordinate value xBst.
- the x-coordinate data included in the p-th defective data is equal to or larger than the x-coordinate value xBst
- the value of the write pointer wpB is always kept at “p.”
- the value of the write pointer wpA is always kept at “0.”
- the decision circuit 5 obtains the values of the write pointers wpA and wpB at that time as the initial values of the read pointers rpA and rpB, respectively.
- the z-th defective data indicated by [z] is the final defective data on the target line
- the initial values of the read pointers rpA and rpB are “0” and “p,” respectively.
- the write unit 4 After writing each piece of defective data on a line (referred to as a “first line”) into one of the buffers 30 , the write unit 4 writes the defective data on a line following the first line (referred to as a “second line”) into the other buffer 30 . While the write unit 4 is writing the defective data on the second line into the other buffer 30 , the decision circuit 5 reads the defective data on the first line from the one buffer 30 . After writing each piece of defective data on the second line into the other buffer 30 , the write unit 4 writes the defective data on a line following the second line (referred to as a “third line”) into the one buffer 30 . While the write unit 4 is writing the defective data on the third line into one buffer 30 , the decision circuit 5 reads the defective data on the second line from the other buffer 30 . Thereafter, the write unit 4 and the decision circuit 5 operate in a similar manner.
- the defective data on a line which has been written into one buffer 30 , is read from the one buffer 30 while the defective data on a succeeding line is being written into the other buffer 30 .
- Each buffer 30 repeatedly serves as a read target and a write target in an alternate manner.
- the initial value of the read pointer rpA indicates the buffer address of the memory area into which the defective data on the defective pixel having the smallest x-coordinate value among the defective pixels included in the partial area 11 A, that is, the leading defective pixel in the partial area 11 A, is written.
- pieces of defective data on a plurality of defective pixels included in a line are input to write unit 4 in ascending order of x-coordinate data included therein. Further, in the order from the memory area having a smaller buffer address, a plurality of pieces of defective data on a line are written into the write buffer 30 in the order in which they are input to the write unit 4 .
- the initial value of the read pointer rpA is “0,” indicating the buffer address of a memory area into which the defective data on the leading defective pixel of the partial area 11 A is written.
- the initial value of the read pointer rpB indicates the buffer address of the memory area into which the defective data on defective pixel having the smallest x-coordinate value among the defective pixels included in the partial area 11 B, that is, the leading defective pixel in the partial area 11 B, is written.
- the initial value of the read pointer rpB indicates the buffer address of the memory area into which the defective data on defective pixel having the smallest x-coordinate value among the defective pixels included in the partial area 11 B, that is, the leading defective pixel in the partial area 11 B, is written.
- a plurality of pieces of defective data on a line are written into the write buffer 30 in ascending order of x-coordinate data included therein.
- the write unit 4 increments the write pointer wpB by one every time defective data is input until the defective data including the x-coordinate data of the leading x-coordinate value xBst or more in the partial area 11 B is input, that is, until the defective data on the leading defective pixel is input and, after the defective data on the leading defective pixel in the partial area 11 B is input, keeps the value of the write pointer wpB. Consequently, the value of the write pointer wpB at the time when the writing of the defective data for one line into the buffer 30 is complete, that is, the initial value of the read pointer rpB indicates the buffer address of the memory area into which the defective data on the leading defective pixel of the partial area 11 B is written.
- the defective data on the leading defective pixel in the partial area 11 B is the defective data to be input p-th, and is written into the memory area having a buffer address p.
- the initial value “p” of the read pointer rpB indicates the buffer address of a memory area into which the defective data on the leading defective pixel is written in the partial area 11 B.
- FIG. 7 is a timing chart showing the operation of the decision circuit 5 .
- FIG. 7 shows the operation of the decision circuit 5 when the buffer 30 , into which the defective data on a target line has been written as in the example of FIG. 6 described above, serves as a read target and defective data is read from the buffer 30 .
- “read data ( 51 A)” shows the data read from the read buffer 30 by the read section 511 A of the decision unit 51 A.
- read data ( 51 B) shows the data read from the read buffer 30 by the read section 511 B of the decision unit 51 B.
- a horizontal synchronization signal is input per line depending on the timing at which the pixel data on the leading pixel of a line is input to the data processor 1 .
- the horizontal synchronization signal is a binary signal showing Low level for only a predetermined time period.
- pieces of pixel data on a plurality of pixels constituting each line are input to the data processor 1 , following the horizontal synchronization signal.
- the decision circuit 5 reads the defective data from the read buffer 30 in synchronization with an input of pixel data to the data processor 1 (in synchronization with an operation clock signal).
- the count values of the counters 50 A and 50 B are initialized at the rising edge of the horizontal synchronization signal. Specifically, the count value cntA is initialized to “0,” and the count value cntB is initialized to “xBst.”
- the counters 50 A and 50 B After initializing the count values cntA and cntB, the counters 50 A and 50 B count up the count values cntA and cntB by one at every predetermined timing (at every rising edge of an operation signal). In this case, the counter 50 A counts up the count value cntA depending on the timing at which the pixel data on a pixel belonging to the partial area 11 A is input to the data processor 1 . Upon this, depending on the timing at which the pixel data on a pixel belonging to the partial area 11 A is input to the data processor 1 , the counter 50 A outputs the x-coordinate value of the pixel.
- the counter 50 B counts up the count value cntB depending on the timing at which the pixel data on a pixel belonging to the partial area 11 B is input to the data processor 1 . Upon this, depending on the timing at which the pixel data on a pixel belonging to the partial area 11 B is input to the data processor 1 , the counter 50 B outputs the x-coordinate value of the pixel.
- the read section 511 A reads, from a memory area of the read buffer 30 , which has a buffer address (0) indicated by the initial value of the read pointer rpA, the x-coordinate data included in the defective data stored in the memory area. In other words, the read section 511 A reads the x-coordinate value of the leading defective pixel in the partial area 11 A from the memory area.
- rd[K] indicates the x-coordinate data read from the memory area having a buffer address K.
- the comparison section 510 A compares the initial value “0” of the count value cntA of the counter 50 A with the x-coordinate data read by the read section 511 A.
- the comparison section 510 A outputs a hit signal hitA when they match.
- the read section 511 A increments the value of the read pointer rpA by one at a falling edge of the hit signal hitA.
- the read section 511 A reads, from a memory area having a buffer address indicated by the current value of the read pointer rpA, the x-coordinate data included in the defective data stored in the memory area.
- the comparison section 510 A compares the count value cntA with the x-coordinate data read by the read section 511 A.
- the comparison section 510 A outputs a hit signal hitA when they match.
- the read section 511 A increments the value of the read pointer rpA by one at the falling edge of the hit signal hitA.
- the decision unit 51 A operates similarly every time the count value cntA is incremented by one.
- the decision unit 51 B operates similarly to the decision unit 51 A.
- the read section 511 B reads x-coordinate data from a memory area having a buffer address indicated by an initial value (p) of the read pointer rpB.
- the read section 511 B reads an x-coordinate value of the leading defective pixel in the partial area 11 B from the memory area.
- the comparison section 510 B compares the initial value “xBst” of the count value cntB with the x-coordinate data read by the read section 511 B.
- the comparison section 510 B outputs a hit signal hitB when they match.
- the read section 511 B increments the value of the read pointer rpB by one at the falling edge of the hit signal hitB.
- the read section 511 B reads x-coordinate data from a memory area having a buffer address indicated by the current value of the read pointer rpB.
- the comparison section 510 B compares the count value cntB with the x-coordinate data read by the read section 511 B.
- the comparison section 510 A outputs a hit signal hitB when they match.
- the read section 511 B increments the value of the read pointer rpB by one at the falling edge of the hit signal hitB.
- the decision unit 51 B operates similarly every time the count value cntB is incremented by one.
- the output unit 60 A connected with the read buffer 30 outputs correction method identifying data included in the defective data stored in the memory area having the buffer address indicated by the read pointer rpA.
- the output unit 60 A outputs the correction method identifying data stored in the same memory area as that of the x-coordinate data, which has been judged to match the count value cntA, that is, correction method identifying data related to this x-coordinate data.
- the correction method identifying data is input from the selection circuit 62 A to the correction section 20 A as the correction method identifying data 100 A.
- the hit signal hitA is output when the count value cntA matches the x-coordinate data in the memory area having a buffer address indicated by the read pointer rpA, that is, when the count value cntA indicates the x-coordinate value of the defective pixel of the partial area 11 A.
- the count value cntA indicates, depending on the timing at which pixel data is input to the data processor 1 , the x-coordinate value of a pixel corresponding the pixel data.
- the hit signal hitA is output depending on the timing at which the pixel data on the defective pixel of the partial area 11 A is input to the data processor 1 .
- the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA that is, the correction method identifying data indicating the correction method for the pixel data on a defective pixel having an x-coordinate value matching the count value cntA is output.
- the correction method identifying data 100 A indicating the correction method for the pixel data is input to the correction section 20 A.
- the defective pixel data on the partial area 11 A is input to the correction section 20 A, and the correction method identifying data 100 A indicating the correction method for the defective pixel data is input thereto. This allows the correction section 20 A to appropriately correct the defective pixel data on the partial area 11 A to be input, by the corresponding correction method.
- the output unit 60 B connected with the read buffer 30 outputs the correction method identifying data included in the defective data stored in the memory area having a buffer address indicated by the read pointer rpB.
- the correction method identifying data is input from the selection circuit 62 B to the pixel defect correcting unit 2 .
- the output circuit 6 outputs, depending on the timing at which pixel data on the defective pixel of the partial area 11 B is input to the data processor 1 , the correction method identifying data indicating the correction method for the pixel data.
- the defective pixel data on the partial area 11 B is input to the pixel defect correcting unit 2 , and the correction method identifying data indicating the correction method for the defective pixel data is input thereto.
- FIG. 1 In the example of FIG.
- a hit signal hitB is output when the count value cntB shows “x 1 ,” and thus, the pixel data on the defective pixel having an x-coordinate value “x 1 ,” which belongs to the partial area 11 B, is input to the pixel defect correcting unit 2 , and the correction method identifying data 100 B indicating the correction method for the pixel data (the correction method identifying data in the memory area having the buffer address p indicated by the read pointer rpB) is input thereto.
- x-coordinate values (count values) for a plurality of pixels constituting the partial area 11 of a line are input in ascending order from the counter 50 to the decision section 51 that decides whether the data to be input matches the data in the buffer 30 .
- a plurality of pieces of input data (x-coordinate values) on pixels are input to the decision section 51 in the order based on a predetermined rule (in ascending order).
- the buffer 30 stores, among x-coordinate values for a plurality of pixels constituting the partial area 11 , an x-coordinate value (x-coordinate data) of at least one defective pixel included in the plurality of pixels.
- the buffer 30 stores a plurality of pieces of data matching at least part of a plurality of pieces of input data input to the decision section 51 .
- the decision section 51 reads the x-coordinate values from the buffer 30 in ascending order. In other words, the decision section 51 reads data from the buffer 30 in the order based on the same rule as the rule when input data is input.
- the decision section 51 compares the x-coordinate data (x-coordinate value) read from the buffer 30 with the count value (x-coordinate value) to be input from the counter 50 and, if they do not match, compares this x-coordinate data with a count value (x-coordinate value) to be input next from the counter 50 .
- the decision section 51 compares the succeeding x-coordinate data read from the buffer 30 (in the example of FIG. 7 , x-coordinate data in the memory area having a buffer address (k+1) or a buffer address (p+1)) with a count value to be input next from the counter 50 (in the example of FIG. 7 , “x 0 +1” or “x 1 +1”).
- the decision section 51 compares a count value to be input from the counter 50 with all the pieces of x-coordinate data in the buffer 30 , thereby deciding whether the count value matches the x-coordinate data in the buffer 30 .
- the decision section 51 needs to compare a count value with all the pieces of x-coordinate data in the buffer 30 every time the count value is input from the counter 50 (every time the count value of the counter 50 changes), leading to an increased processing time or more complicated circuitry. Such a problem becomes conspicuous particularly in the case where one line has a large number of pixels.
- x-coordinate data is read from the buffer 30 in the order based on the same rule as the rule when data is input in order (in the example above, in ascending order) from the counter 50 to the decision section 51 .
- the decision section 51 is only required to compare a count value from the counter 50 with one piece of x-coordinate data read from the buffer 30 to decide whether the count value matches the x-coordinate data in the buffer 30 , that is, the buffer 30 has the x-coordinate data matching the count value.
- the count value when a count value does not match one piece of x-coordinate data read from the buffer 30 , the count value will not match the x-coordinate data in the buffer 30 , or when a count value matches one piece of x-coordinate data read from the buffer 30 , the count value will match the x-coordinate data in the buffer 30 .
- the buffer 30 has no x-coordinate data matching a count value when the count value does not match one piece of x-coordinate data read from the buffer 30 , or the buffer 30 has x-coordinate data matching a count value when the count value matches one piece of x-coordinate data read from the buffer 30 .
- This allows the decision section 51 to readily decide whether a count value matches x-coordinate data in the buffer 30 without comparing the count value with all the pieces of x-coordinate data in the buffer 30 . This leads to reduced processing time or more simplified circuitry.
- a plurality of pieces of defective data on a line are written into the write buffer 30 in ascending order of x-coordinate data included therein.
- the decision unit 51 A reads the pieces of x-coordinate data on a plurality of defective pixels included in the partial area 11 A, which are stored in the buffer 30 , in ascending order.
- the buffer address of a plurality of memory areas that respectively store pieces of x-coordinate data on a plurality of defective pixels included in the partial area 11 A in the buffer 30 are viewed in ascending order, the pieces of x-coordinate data on the plurality of defective pixels are arranged in the order to be read by the decision unit 51 A.
- FIG. 8 shows an example of pieces of x-coordinate data on a plurality of defective pixels included in the partial area 11 A, which are stored in the buffer 30 .
- pieces of x-coordinate data on a plurality of defective pixels included in the partial area 11 A are respectively stored in a plurality of memory areas 300 M having a buffer address 0 to a buffer address s in the buffer 30 .
- the buffer addresses of the plurality of memory areas 300 M are viewed in ascending order
- the plurality of pieces of x-coordinate data respectively stored in the plurality of memory areas 300 M are arranged in ascending order, that is, in the order to be read by the decision unit 51 A.
- the decision unit 51 A can read the succeeding x-coordinate data from the buffer 30 by merely incrementing the read pointer rpA indicating the buffer address of a memory area being a read target to a succeeding value (in the example above, by merely incrementing by one).
- the read pointer rpA can be accordingly controlled without difficulty.
- the buffer addresses of a plurality of memory areas that respectively store pieces of x-coordinate data on a plurality of defective pixels included in the partial area 11 B in the buffer 30 are viewed in ascending order, the pieces of x-coordinate data on the plurality of defective pixels are arranged in the order to be read by the decision unit 51 B.
- the decision unit 51 B can read the succeeding x-coordinate data from the buffer 30 by merely incrementing the read pointer rpB to a succeeding value.
- the read pointer rpB can be accordingly controlled without difficulty.
- the count value cntA of the counter 50 A and the count value cntB of the counter 50 B are input in parallel to the decision unit 51 A and the decision unit 51 B, respectively, allowing the decision unit 51 A and the decision unit 51 B to operate in parallel. This leads to reduced processing time.
- the output unit 60 A and the output unit 60 B operate in parallel, reducing processing time.
- input data to be input to the decision section 51 is generated by the counter 50 , and thus, the timing at which the output circuit 6 inputs correction method identifying data to the correction section 20 can be adjusted readily by adjusting an initial value of the counter 50 or by adjusting the timing at which the counter 50 starts counting.
- the correction section 20 may require, after a lapse of a few clocks since the input of defective pixel data, correction method identifying data indicating the method for the defective pixel data, depending on the correction method to be used therein.
- the output circuit 6 outputs, at the same timing as the timing at which defective pixel data is input to the correction section 20 , the correction method identifying data indicating the correction method for the defective pixel data, the correction section 20 needs to be provided with a circuit that holds this correction method identifying data for a while.
- the timing at which the correction method identifying data is input from the output circuit 6 to the correction section 20 can be adjusted readily by adjusting the initial value of the counter 50 or by adjusting the timing at which the counter 50 starts counting.
- the circuitry of the correction section 20 can be more simplified than the case in which the correction section 20 is provided with a circuit that holds correction method identifying data for a while.
- the timing at which the correction method identifying data 100 A is input to the correction section 20 A can be delayed by a time period during which the counter 50 A counts two (by two clocks). Resetting the counter 50 A by a signal to be generated after the horizontal synchronization signal not by a horizontal synchronization signal allows the timing at which the correction method identifying data 100 A is input to the correction section 20 A to be delayed.
- each counter 50 may be initialized at the rising edge of a horizontal synchronization signal in the example above, the count value of each counter 50 may be initialized at other timing.
- the count values cntA and cntB of the counters 50 A and 50 B may be initialized at different timings.
- the decision section 51 compares the succeeding x-coordinate data read from the buffer 30 with the succeeding count value from the counter 50 . Referring to the succeeding x-coordinate data read from the buffer 30 allows the counter 50 to identify how many more counts are needed for the count value of the counter 50 to match the succeeding x-coordinate data.
- the succeeding x-coordinate data read from the buffer 30 be “200” when the x-coordinate data read from the buffer 30 and the count value cntA of the counter 50 A are both “100” and they match.
- the count value cntA of the counter 50 A matches “200” being the succeeding x-coordinate data.
- FIG. 9 shows the partial configuration of a data processor 1 according to this modification.
- the data processor 1 according to this modification is obtained by further providing an operation controller 8 that controls the operation of the pixel defect correcting unit 2 to the data processor 1 according to the embodiment shown in FIGS. 1 and 3 .
- the operation controller 8 includes controllers 80 A and 80 B that respectively control the operations of the correction sections 20 A and 20 B.
- the controllers 80 A and 80 B are each referred to as a “controller 80 ” if they do not need to be particularly distinguished from each other.
- the controller 80 A determines, when the decision unit 51 A reads succeeding x-coordinate data from the read buffer 30 in the case where the x-coordinate data read from the read buffer 30 matches the count value cntA of the counter 50 A, whether or not to stop the operation of the correction section 20 A on the basis of that succeeding x-coordinate data.
- the controller 80 A subtracts the current count value cntA from the succeeding x-coordinate data to obtain a difference value therebetween. If the obtained difference value is larger than a threshold, that is, if there is some time until the succeeding x-coordinate data matches the count value cntA, the controller 80 A determines to stop the operation of the correction section 20 A and then stops the operation of the correction section 20 A.
- the controller 80 A determines a restart timing at which the operation of the correction section 20 A is restarted on the basis of the succeeding x-coordinate data. For example, the controller 80 A sets, as the restart timing, the timing few clocks before the timing at which the count value cntA matches the succeeding x-coordinate data. The controller 80 A restarts the operation of the correction section 20 A when the restart timing arrives.
- the controller 80 A does not stop the operation of the correction section 20 A.
- the controller 80 B determines whether or not to stop the operation of the correction section 20 B on the basis of the succeeding x-coordinate data.
- the operation of the correction section 20 is stopped by, for example, stopping a supply of an operation clock signal to the correction section 20 .
- the operation of the correction section 20 may be stopped by the method other than the method of stopping a supply of an operation clock signal to the correction section 20 .
- the controller 80 determines whether or not to stop the operation of correcting the defective pixel data on the partial area 11 by the correction section 20 , which corresponds to the counter 50 , on the basis of the succeeding x-coordinate data. This reduces power consumption without affecting the processing in the correction section 20 .
- each line 10 is divided into two partial areas 11 A and 11 B in the example above as shown in FIG. 2
- each line 10 may be divided into three or more partial areas. In this case, the correction processes for the pieces of defective pixel data on the three or more partial areas are performed in parallel.
- the configuration and operation of a data processor 1 when each line 10 is divided into three partial areas will be described below as an example.
- FIG. 10 shows the state in which each line 10 is divided into three partial areas 11 A, 11 B, and 11 C.
- the partial areas 11 A and 11 B according to this modification differ in size from the partial areas 11 A and 11 B shown in FIG. 2 .
- one line 10 is divided into the partial area 11 A including the leading pixel, a partial area 11 B including a pixel between the leading and final pixels, and the partial area 11 C including the final pixel.
- the partial area 11 A and the partial area 11 B partially overlap.
- the partial area 11 B and the partial area 11 C partially overlap.
- extension portion 110 A The portion from xref 1 to xAend in the partial area 11 A is referred to as an “extension portion 110 A.”
- the portion from xBst to xref 1 in the partial area 11 B is referred to as a “front extension portion 110 B 1 .”
- the portion from xref 2 to xBend in the partial area 11 B is referred to as a “rear extension portion 110 B 2 .”
- extension portion 110 C The portion from xCst to xref 2 in the partial area 11 C.”
- the partial area 11 A includes the extension portion 110 A as described above, and thus, the pixel data on a defective pixel located slightly forward of the first reference point in the partial area 11 A can be corrected using the pixel data on the pixel of the extension portion 110 A.
- the pixel data on a defective pixel located slightly rearward of the first reference point in the partial area 11 B can be corrected using the pixel data on the pixel of the front extension portion 110 B 1 .
- the pixel data on the defective pixel located slightly forward of the second reference point in the partial area 11 B can be corrected using the pixel data on the pixel of the rear extension portion 110 B 2 .
- the pixel data on the defective pixel located slightly rearward of the second reference point in the partial area 11 C can be corrected using the pixel data on the pixel of the extension portion 110 C.
- the data processor 1 receives pieces of pixel data on a plurality of pixels constituting the partial area 11 A in ascending order of x-coordinate value one by one.
- the data processor 1 receives pieces of pixel data on a plurality of pixels constituting the partial area 11 B in ascending order of x-coordinate value one by one.
- the data processor 1 receives pieces of pixel data on a plurality of pixels constituting the partial area 11 C in ascending order of x-coordinate value one by one.
- the data processor 1 receives the pixel data on one pixel belonging to the partial area 11 A, the pixel data on one pixel belonging to the partial area 11 B, and the pixel data on one pixel belonging to the partial area 11 C in parallel.
- the data processor 1 receives the pixel data on a pixel in the partial area 11 A, the pixel data on a pixel in the partial area 11 B, and the pixel data on a pixel in the partial area 11 C in parallel at the rising edge of an operation clock signal, and receives the pixel data on the succeeding pixel in the partial area 11 A, the pixel data on the succeeding pixel in the partial area 11 B, and the pixel data on the succeeding pixel in the partial area 11 C in parallel at the succeeding rising edge of an operation clock signal. Thereafter, the data processor 1 similarly receives the pixel data on one pixel belonging to the partial area 11 A, the pixel data on one pixel belonging to the partial area 11 B, and the pixel data on one pixel belonging to the partial area 11 C in parallel.
- the data processor 1 receives the pixel data obtained from the partial area 11 A, the pixel data obtained from the partial area 11 B, and the pixel data obtained from the partial area 11 C in parallel.
- the pixel defect correcting unit 2 corrects the defective pixel data obtained from the partial area 11 A, corrects the defective pixel data obtained from the partial area 11 B, and corrects the defective pixel data obtained from the partial area 11 C in parallel. This further reduces processing time.
- the partial areas 11 A, 11 B, and 11 C are each referred to as a “partial area 11 ” if they do not need to be particularly distinguished from each other.
- FIG. 11 shows the configuration of a pixel defect correcting unit 2 according to this modification.
- the pixel defect correcting unit 2 according to this modification is obtained by further providing the circuit that processes the pixel data on the partial area 11 C to the pixel defect correcting unit 2 shown in FIG. 3 .
- the pixel defect correcting unit 2 further includes a correction section 20 C, an adjustment section 21 C, a selection circuit 22 C, and a deletion section 23 C.
- the correction section 20 C corrects the defective pixel data obtained from the partial area 11 C by the correction method shown in correction method identifying data 100 C output from the output circuit 6 , which will be described below.
- the adjustment section 21 C delays the pixel data obtained from the partial area 11 C by a predetermined time period and then outputs the delayed pixel data.
- the selection circuit 22 C outputs the defective pixel data after the correction, which is output from the correction section 20 C. Contrastingly, when the normal pixel data obtained from the partial area 11 C is input to the data processor 1 , the selection circuit 22 C outputs the normal pixel data output from the adjustment section 21 C.
- the deletion section 23 C deletes pieces of pixel data on a plurality of pixels included in the extension portion 110 C among a plurality of pieces of pixel data (including the defective pixel data after the correction) respectively corresponding to a plurality of pixels constituting the partial area 11 C, which are output from the selection circuit 22 C, and outputs the other plurality of pieces of pixel data. This allows the deletion section 23 C to output pieces of pixel data rearward of the second reference point xref 2 of one line.
- the deletion section 23 B deletes pieces of pixel data on a plurality of pixels included in the front extension portion 110 B 1 and the rear extension portion 110 B 2 among a plurality of pieces of pixel data (including the defective pixel data after the correction) respectively corresponding to a plurality of pixels constituting the partial area 11 B, which are output from the selection circuit 22 B, and outputs the other plurality of pieces of pixel data, differently from the deletion section 23 B.
- the deletion section 23 A outputs pieces of pixel data forward of the first reference point xref 1 of one line.
- the deletion section 23 A When the deletion section 23 A outputs pieces of pixel data forward of the first reference point xref 1 of a line, the deletion section 23 B outputs pieces of pixel data from the first reference point xref 1 to the second reference point xref 2 of the line, and the deletion section 23 C outputs pieces of pixel data rearward of the second reference point xref 2 of the line. This allows the data processor 1 to output pieces of pixel data for one line.
- the pixel defect correcting unit 2 may be devoid of the deletion sections 23 A, 23 B, and 23 C.
- pieces of pixel data on a plurality of pixels included in the extension portion 110 A, pieces of pixel data on a plurality of pixels included in the front extension portion 110 B 1 , pieces of pixel data on a plurality of pixels included in the rear extension portion 110 B 2 , and pieces of pixel data on a plurality of pixels included in the extension portion 110 C are deleted downstream of the pixel defect correcting unit 2 .
- the correction sections 20 A and 20 B, and 20 C are each referred to as a “correction section 20 ” if they do not need to be particularly distinguished from each other.
- FIG. 12 shows the configuration of a decision circuit 5 according to this modification.
- the decision circuit 5 according to this modification is obtained by further providing a counter 50 C and a decision section 51 C corresponding to the partial area 11 C to the decision circuit 5 shown in FIG. 4 .
- the counter 50 C is an up counter, which counts up from an initial value one by one in synchronization with an operation clock signal and outputs a count value cntC.
- the counter 50 C counts up from the leading x-coordinate value xCst in the partial area 11 C to the final x-coordinate value xCend in the partial area 11 C one by one. Then, after counting up to the final x-coordinate value xCend in the partial area 11 C, the count value cntC is reset. Subsequently, the counter 50 C again counts up from the leading x-coordinate value xCst to the final x-coordinate value xCend in the partial area 11 C one by one.
- the counter 50 C outputs, depending on the timing at which the pixel data on a pixel belonging to the partial area 11 C is input to the data processor 1 , an x-coordinate value of this pixel.
- the counters 50 A, 50 B, and 50 C are each referred to as a “counter 50 ” if they do not need to be particularly distinguished from each other.
- the decision unit 51 A decides whether the current count value cntC matches the x-coordinate data in the buffer 30 . If the count value cntC matches the x-coordinate data in the buffer 30 , the decision section 51 C outputs a hit signal hitC. Since the count value cntC indicates the x-coordinate value of a pixel for the pixel data in the partial area 11 C, which is input to the data processor 1 , it can be said that the decision section 51 C outputs a hit signal hitC if the pixel data in the partial area 11 C input to the data processor 1 is defective pixel data.
- the decision section 51 C has a configuration similar to those of the decision sections 51 B and 51 C described above.
- the decision section 51 C selects a read buffer 30 from the buffers 30 ⁇ and 30 ⁇ on the basis of a read selection signal RS output from the buffer selecting unit 7 .
- the decision section 51 C includes a read pointer rpC that indicates a buffer address.
- the decision section 51 C reads, from a memory area having a buffer address indicated by the read pointer rpC in the selected read buffer 30 , x-coordinate data included in the defective data stored in the memory area. Then, the decision section 51 C compares a count value cntC output from the counter 50 C with the x-coordinate data read from the read buffer 30 and, when they match, outputs a hit signal hitC.
- the hit signal hitC is, for example, a binary signal that enters High level for only a predetermined time period. The hit signal hitC indicates that the current count value cntC matches the x-coordinate data in the read buffer 30 .
- the decision sections 51 A, 51 B, and 51 C are each referred to as a “decision section 51 ” if they do not need to be particularly distinguished from each other.
- FIG. 13 shows the configuration of an output circuit 6 according to this modification.
- the output circuit 6 according to this modification is obtained by further providing output units 60 C ⁇ and 60 C ⁇ and a selection circuit 62 C corresponding to the partial area 11 C to the output circuit 6 shown in FIG. 5 .
- the output units 60 C ⁇ and 60 C ⁇ have a configuration similar to that of, for example, the output unit 60 A ⁇ .
- the output unit 60 C ⁇ selects a memory area having a buffer address indicated by the read pointer rpC in the decision section 51 C from a plurality of memory areas included in the buffer 30 ⁇ . Then, upon receipt of a hit signal hitC, the output unit 60 C ⁇ outputs the correction method identifying data included in the defective data (the defective data on a defective pixel of the partial area 11 C) stored in the selected memory area.
- the output unit 60 C ⁇ selects a memory area having a buffer address indicated by the read pointer rpC from a plurality of memory areas included in the buffer 30 ⁇ .
- the output unit 60 C ⁇ outputs the correction method identifying data included in the defective data stored in the selected memory area.
- the output units 60 C ⁇ and 60 C ⁇ are each referred to as an “output unit 60 C” if they do not need to be particularly distinguished from each other.
- the selection circuit 62 C selects an output unit 60 C corresponding to the read buffer 30 indicated by the read selection signal RS from the output units 60 C ⁇ and 60 C ⁇ corresponding to the partial area 11 C, and then outputs the correction method identifying data output from the selected output unit 60 C.
- the selection circuit 62 C outputs the correction method identifying data from the output unit 60 C ⁇ , which corresponds to the buffer 30 ⁇ , for the read selection signal RS indicating “0,” or outputs the correction method identifying data from the output unit 60 C ⁇ , which corresponds to the buffer 30 ⁇ , for the read selection signal RS indicating “1.”
- the selection circuit 62 C corresponding to the partial area 11 C outputs the correction method identifying data indicating the method of correcting the defective pixel data obtained from the partial area 11 C.
- the correction method identifying data output from the selection circuit 62 C is referred to as “correction method identifying data 100 C.”
- FIG. 14 is a timing chart showing the operation of a write unit 4 according to this modification.
- FIG. 14 shows the operation of the write unit 4 when the defective data on a target line is written into the write buffer 30 .
- FIG. 14 shows only a portion of the operation shown in FIG. 14 , which differs from that of FIG. 6 described above, will be described.
- the write unit 4 includes the write pointers wpA and wpB as well as a write pointer wpC corresponding to the partial area 11 C.
- the write unit 4 initializes the value of the write pointer wpC to “0” at the timing at which the first defective data on a target line is input.
- the write unit 4 Upon receipt of the defective data on the target line, the write unit 4 compares the x-coordinate data included in the defective data with the leading x-coordinate value xCst of the partial area 11 C and, if the x-coordinate data is smaller than the x-coordinate value xCst, increments the value of the write pointer wpC by one at the timing of writing the defective data into the write buffer 30 . Contrastingly, if the x-coordinate data is equal to or larger than the x-coordinate value xCst, the write unit 4 keeps the current value of the write pointer wpC.
- a plurality of pieces of defective data on a target line are input to the write unit 4 in ascending order of x-coordinate data included therein, and thus, when the x-coordinate data of the defective data is equal to or larger than the x-coordinate value xCst, the x-coordinate data of the defective data to be input thereafter will be equal to or larger than the x-coordinate value xCst without fail.
- the x-coordinate data included in q-th defective data is equal to or larger than the x-coordinate value xCst, with the value of the write pointer wpC being kept at “q.”
- the decision circuit 5 sets the value of the write pointer wpC at that time as the initial value of the read pointer rpC. In the example of FIG.
- z-th defective data indicated by [z] is the final defective data on a target line
- the initial value of the read pointer rpC is “q.”
- the initial value of the read pointer rpC indicates a defective pixel having the smallest x-coordinate value among the defective pixels included in the partial area 11 C, that is, indicates the buffer address of the memory area into which the defective data on the leading defective pixel in the partial area 11 C is written.
- FIG. 15 is a timing chart showing the operation of the decision circuit 5 according to this modification.
- FIG. 15 shows the operation of the decision circuit 5 when the buffer 30 , into which the defective data on a target line has been written, serves as a read target as in the example of FIG. 14 described above and the defective data is read from the buffer 30 .
- “read data ( 51 C)” shows data read from the read buffer 30 by the decision section 51 C.
- the counter 50 C When a horizontal synchronization signal is input to the data processor 1 , the counter 50 C initializes the count value cntC to “xCst” at the rising edge of the horizontal synchronization signal. After initializing the count value cntC, the counter 50 C counts up the count value cntC by one at every timing (at every rising edge of an operation clock signal). In this case, the counter 50 C counts up the count value cntC depending on the timing at which the pixel data on a pixel belonging to the partial area 11 C is input to the data processor 1 . This allows the counter 50 C to output, depending on the timing at which pixel data on a pixel belonging to the partial area 11 C is input to the data processor 1 , the x-coordinate value of the pixel.
- the decision section 51 C When the horizontal synchronization signal is input to the data processor 1 , the decision section 51 C reads x-coordinate data from the memory area of the read buffer 30 , which has a buffer address (q) indicated by the initial value of the read pointer rpC. In other words, the decision section 51 C reads an x-coordinate value of the leading defective pixel in the partial area 11 C from the memory area. Then, the decision section 51 C compares an initial value “xCst” of the count value cntA of the counter 50 C with the read x-coordinate data. The decision section 51 C outputs a hit signal hitC when they match. After outputting the hit signal hitC, the decision section 51 C increments a value of the read pointer rpC by one at the falling edge of the hit signal hitC.
- the decision section 51 C reads x-coordinate data from the memory area having the buffer address indicated by the current value of the read pointer rpC. Then, the decision section 51 C compares the count value cntC of the counter 50 C with the x-coordinate data read by the read section 511 A. The decision section 51 C outputs a hit signal hitC when they match. After outputting the hit signal hitC, the decision section 51 C increments the value of the read pointer rpC by one at the falling edge of the hit signal hitC. Thereafter, the decision section 51 C operates similarly every time the count value cntC of the counter 50 C is incremented by one.
- the output unit 60 C connected with the read buffer 30 outputs correction method identifying data included in the defective data stored in the memory area having a buffer address indicated by the read pointer rpC.
- the output unit 60 C outputs the correction method identifying data stored in the same memory area as that of the x-coordinate data decided to match the count value cntC.
- the correction method identifying data is input from the selection circuit 62 C to the correction section 20 C as correction method identifying data 100 C.
- the correction section 20 C receives defective pixel data on the partial area 11 C as well as the correction method identifying data 100 C indicating the correction method for the defective pixel data. This allows the correction section 20 C to appropriately correct the defective pixel data on the partial area 11 C, to be input thereto, by the corresponding correction method.
- the data processor 1 divides one line into three partial areas 11 A to 11 C and corrects the defective pixel data obtained from the partial area 11 A, corrects the defective pixel data obtained from the partial area 11 B, and corrects the defective pixel data obtained from the partial area 11 C in parallel, reducing processing time more than the data processor 1 according to the embodiment.
- a count value of each counter 50 may be initialized at other timing.
- the count values cntA, cntB, and cntC of the counters 50 A, 50 B, and 50 C may be initialized at different timings.
- FIG. 16 shows the partial configuration of a data processor 1 according to this modification.
- FIG. 16 shows a decision circuit 5 and a memory 3 included in the data processor 1 according to this modification. Only a portion of the data processor 1 according to this modification, which differs from the data processor 1 according to the embodiment above, will be mainly described below.
- the memory 3 includes buffers 30 ⁇ and 30 ⁇ as well as a buffer 30 ⁇ .
- defective data is written into the buffer 30 ⁇ by the write unit 4
- the defective data written into the buffer 30 ⁇ is read by the decision circuit 5 .
- the buffer 300 has, for example, N memory areas.
- the N memory areas are respectively provided with buffer addresses from 0 to (N ⁇ 1).
- one memory area stores defective data corresponding to one defective pixel. Defective data for one line is written into the buffer 30 ⁇ .
- the buffers 30 ⁇ , 30 ⁇ , and 30 ⁇ are each referred to as a “buffer 30 ” if they do not need to be particularly distinguished from each other.
- the buffer selecting unit 7 determines, among three buffers 30 , one buffer 30 as a write buffer and the other two buffers 30 as read buffers.
- the buffer selecting unit 7 determines the buffers 30 ⁇ and 30 ⁇ as read buffers when determining the buffer 30 ⁇ as a write buffer, determines the buffers 30 ⁇ and 30 ⁇ as read buffers when determining the buffer 30 ⁇ as a write buffer, or determines the buffers 30 ⁇ and 30 ⁇ as read buffers when determining the buffer 30 ⁇ as a write buffer.
- one read buffer 30 stores the defective data on one line and the other read buffer 30 stores the defective data on the line following the one line.
- FIG. 17 is a table for describing how the defective data on each line of the imaging device is written into each buffer 30 .
- “ ⁇ ,” “ ⁇ ,” and “ ⁇ ” represent the buffer 30 ⁇ , the buffer 30 ⁇ , and the buffer 30 ⁇ , respectively.
- the “line position (correction-target pixel data)” represents a y coordinate value of a line targeted for pixel defect correction, which is input to the data processor 1
- the “line position (defective data)” represents a y coordinate value of the line corresponding to the defective data input to the data processor 1 .
- the defective data on the line having a y coordinate value “0,” that is, the leading line is input to the data processor 1 at a timing two lines prior to the timing at which the pixel data on the leading line is input to the data processor 1 .
- the defective data on the leading line is input to the data processor 1 after the horizontal synchronization signal two lines prior to the horizontal synchronization signal corresponding to this leading line.
- the write unit 4 when the defective data on the line having a y-coordinate value “0” (leading line) is input to the data processor 1 , the write unit 4 writes this defective data into the buffer ⁇ . Next, when the defective data on the line having a y-coordinate value “1” is input to the data processor 1 , the write unit 4 writes this defective data into the buffer ⁇ . Next, when the defective data on the line having a y-coordinate value “2” is input to the data processor 1 , the write unit 4 writes this defective data into the buffer ⁇ . Thereafter, the write unit 4 similarly operates and changes the targets into which defective data is written in the order from the buffer 30 ⁇ to the buffer 30 ⁇ and to the buffer 30 ⁇ on a line basis.
- the pixel data on the line having a y-coordinate value “0” (leading line) is input to the data processor 1 , and the pixel data on the line having a y-coordinate value “0” is a target for pixel defect correction in the pixel defect correcting unit 2 .
- the buffer 30 ⁇ stores the defective data on the line of a y-coordinate value “0,” that is, the line being a target for pixel defect correction (hereinafter, merely referred to as a “correction line” as well).
- the decision circuit 5 reads, from the buffer 30 ⁇ , the defective data on the line having a y-coordinate value “0” being a correction line. Further, the decision circuit 5 reads, from the buffer 30 ⁇ , the defective data on the line having a y-coordinate value “1” being a line following the correction line (hereinafter, merely referred to as “succeeding line” as well).
- the decision circuit 5 reads, from the buffer 30 ⁇ , the defective data on the line having a y-coordinate value “1” being a correction line and reads, from the buffer 30 ⁇ , the defective data on the line having a y-coordinate value “2” being the succeeding line.
- the decision circuit 5 While the write unit 4 is writing the defective data on the line having a y-coordinate value “4” into the buffer 30 ⁇ , the decision circuit 5 reads the defective data on the line having a y-coordinate value “2” being a correction line from the buffer 30 ⁇ and reads, from the buffer 30 ⁇ , the defective data on the line having a y-coordinate value “3” being the succeeding line.
- the defective data on a target line is read from one read buffer 30 of two read buffers 30 , and the defective data on the line following the target line is read from the other read buffer 30 .
- the partial area 11 A is divided into two groups, namely, an even-numbered group 11 Aev composed of a plurality of pixels having even x-coordinate values such as 0 and 2, and an odd-numbered group 11 Aod composed of a plurality of pixels having odd x-coordinate values such as 1 and 3.
- the partial area 11 B is divided into two groups, namely, an even-numbered group 11 Bev composed of a plurality of pixels having even x-coordinate values and an odd-numbered group 11 Bod composed of a plurality of pixels having odd x-coordinate values such as 1 and 3.
- FIG. 18 the partial area 11 A is divided into two groups, namely, an even-numbered group 11 Aev composed of a plurality of pixels having even x-coordinate values such as 0 and 2, and an odd-numbered group 11 Aod composed of a plurality of pixels having odd x-coordinate values such as 1 and 3.
- FIG. 18 the partial area 11 A is divided into two groups, namely, an even-numbered group 11 Ae
- the leading x-coordinate value xBst of the partial area 11 B is an even number in the example of FIG. 18 , it may be an odd number.
- the data processor 1 receives pieces of pixel data on a plurality of pixels constituting the even-numbered group 11 Aev in ascending order of x-coordinate value one by one in synchronization with an operation clock signal, and receives pieces of pixel data on a plurality of pixels constituting the odd-numbered group 11 Aod in ascending order of x-coordinate value one by one in synchronization with an operation clock signal.
- the data processor 1 receives a pair of the pixel data on a pixel having an x-coordinate value in the even-numbered group 11 Aev and the pixel data on a pixel having an x-coordinate value following the above-mentioned x-coordinate value in the odd-numbered group 11 Aod.
- the data processor 1 receives pieces of pixel data on a plurality of pixels constituting the even-numbered group 11 Bev in ascending order of x-coordinate value one by one in synchronization with an operation clock signal, and receives pieces of pixel data on a plurality of pixels constituting the odd-numbered group 11 Bod in ascending order of x-coordinate value one by one in synchronization with an operation clock signal.
- the data processor 1 receives a pair of the pixel data on a pixel having an x-coordinate value in the even-numbered group 11 Bev and the pixel data on a pixel having an x-coordinate value following the above-mentioned x-coordinate value in the odd-numbered group 11 Bod.
- the data processor 1 receives the pixel data on a pixel belonging to the even-numbered group 11 Aev, the pixel data on a pixel belonging to the odd-numbered group 11 Aod, the pixel data on a pixel belonging to the even-numbered group 11 Bev, and the pixel data on a pixel belonging to the odd-numbered group 11 Bod in parallel.
- the data processor 1 receives, in parallel, the pixel data on a pixel of the even-numbered group 11 Aev, the pixel data that pairs with the above-mentioned pixel data and is obtained from the odd-numbered group 11 Aod, the pixel data on a pixel of the even-numbered group 11 Bev, and the pixel data that pairs with the above-mentioned pixel data and is obtained from the odd-numbered group 11 Bod.
- the data processor 1 receives, in parallel, the pixel data on the succeeding pixel of the even-numbered group 11 Aev, the pixel data that pairs with the above-mentioned pixel data and is obtained from the odd-numbered group 11 Aod, the pixel data on the succeeding pixel of the even-numbered group 11 Bev, and the pixel data that pairs with the above-mentioned pixel data and is obtained from the odd-numbered group 11 Bod.
- the pieces of pixel data obtained from the even-numbered group 11 Aev and odd-numbered group 11 Aod of the partial area 11 A and the pieces of pixel data obtained from the even-numbered group 11 Bev and odd-numbered group 11 Bod of the partial area 11 B are input to the data processor 1 in parallel.
- the pixel defect correcting unit 2 corrects the defective pixel data obtained from the even-numbered group 11 Aev, the defective pixel data obtained from the odd-numbered group 11 Aod, the defective pixel data obtained from the even-numbered group 11 Bev, and the defective pixel data obtained from the odd-numbered group 11 Bod in parallel. This further reduces processing time.
- the pixel data on a correction line and the pixel data on a succeeding line are input to the data processor 1 in parallel.
- the data processor 1 receives, in parallel, the pieces of pixel data obtained from the even-numbered group 11 Aev and odd-numbered group 11 Aod of the partial area 11 A of a correction line, the pieces of pixel data obtained from the even-numbered group 11 Bev and odd-numbered group 11 Bod of the partial area 11 B of a correction line, the pieces of pixel data obtained from the even-numbered group 11 Aev and odd-numbered group 11 Aod of the partial area 11 A of the succeeding line, and the pieces of pixel data obtained from the even-numbered group 11 Bev and odd-numbered group 11 Bod of the partial area 11 B of the succeeding line.
- the decision circuit 5 includes even-number and odd-number counters 150 A and 150 B, a decision circuit for correction line 161 , and a decision circuit for succeeding line 162 .
- the decision circuit for correction line 161 includes decision sections for correction line 161 A and 161 B.
- the decision circuit for succeeding line 162 includes decision sections for succeeding line 162 A and 162 B.
- the even-number and odd-number counter 150 A, decision section of correction line 161 A, and decision section for succeeding line 162 A form a circuit that processes the defective data on the partial area 11 A.
- the even-number and odd-number counter 150 B, decision section for correction line 161 B, and decision section for succeeding line 162 B form a circuit that processes the defective data in the partial area 11 B.
- the even-number and odd-number counter 150 A outputs a count value cntAev (even-numbered count value cntAev) indicating an even number and a count value cntAod (odd-numbered count value cntAod) indicating an odd number in parallel.
- the decision section of correction line 161 A reads x-coordinate data in the partial area 11 A of the correction line from the buffer 30 that stores the defective data on the current correction line among the buffers 30 ⁇ , 30 ⁇ , and 30 ⁇ , and then compares the x-coordinate data with an even-numbered count value cntAev and an odd-numbered count value cntAod output from the even-number and odd-number counter 150 A.
- the decision section for succeeding line 162 A reads x-coordinate data in the partial area 11 A of the succeeding line from the buffer 30 that stores the defective data on the succeeding line following the current correction line among the buffers 30 ⁇ , 30 ⁇ , and 30 ⁇ , and then compares the x-coordinate data with an even-numbered count value cntAev and an odd-numbered count value cntAod.
- the even-number and odd-number counter 150 B outputs an even-numbered count value cntBev and an odd-numbered count value cntBod in parallel, similarly to the even-number and odd-number counter 150 A.
- the decision section for correction line 161 B reads x-coordinate data on the partial area 11 B of the correction line from the buffer 30 that stores the defective data in the partial area 11 B of the current correction line among the buffers 30 ⁇ , 30 ⁇ , and 30 ⁇ , and then compares the x-coordinate data with an even-numbered count value cntBev and an odd-numbered count value cntBod output from the even-number and odd-number counter 150 B.
- the decision section for succeeding line 162 B reads x-coordinate data in the partial area 11 B of the succeeding line from the buffer 30 that stores the defective data on the succeeding line following the current correction line among the buffers 30 ⁇ , 30 ⁇ , and 30 ⁇ , and then compares the x-coordinate data with an even-numbered count value cntBev and an odd-numbered count value cntBod.
- FIG. 19 shows the configurations of the even-number and odd-number counter 150 A and the decision section of correction line 161 A.
- the even-number and odd-number counters 150 A and 150 B have the same configuration, and thus, the configuration of the even-number and odd-number counter 150 A will be specifically described as a typical example.
- the decision sections for correction line 161 A and 161 B and the decision sections for succeeding line 162 A and 162 B have the same configuration, and thus, the configuration of the decision section of correction line 161 A will be specifically described as a typical example.
- the even-number and odd-number counter 150 A includes a counter 151 , an even-number generating section 152 , and an odd-number generating section 153 .
- the counter 151 and the even-number generating section 152 form an even-number counter that generates an even-numbered count value cntAev
- the counter 151 and the odd-number generating section 153 form an odd-number counter that generates an odd-numbered count value cntAod.
- the counter 151 is an up counter similar to the counter 50 described above, and counts up from an initial value one by one in synchronization with an operation clock signal and outputs a count value cntA.
- the counter 151 corresponding to the partial area 11 A counts up from “0” one by one.
- the even-number generating section 152 doubles the count value cntA from the counter 151 and then outputs the doubled count value cntA as an even-numbered count value cntAev.
- the even-numbered count values cntAev output from the even-number generating section 152 indicate even values in order from “0”.
- the odd-number generating section 153 adds “1” to the value obtained by doubling the count value cntA from the counter 151 , and outputs the resultant value as an odd-numbered count value cntAod.
- the odd-numbered count values cntAod output from the odd-number generating section 153 indicate odd values in order from “1”.
- the even-number generating section 152 When the even-number generating section 152 outputs an even-numbered count value cntAev “0,” the odd-number generating section 153 outputs an odd-numbered count value cntAod “1.” When the even-number generating section 152 outputs an even-numbered count value cntAev “2,” the odd-number generating section 153 outputs an odd-numbered count value cntAod “3.”
- the even-number and odd-number counter 150 A outputs x-coordinate values of a plurality of pixels constituting the even-numbered group 11 Aev in the partial area 11 A of the correction line or the succeeding line, one by one from the leading one. It can therefore be said that the even-numbered count value cntAev of the counter 150 A indicates an x-coordinate value of a pixel belonging to the even-numbered group 11 Aev in the partial area 11 A of the correction line or the succeeding line.
- the odd-numbered count value cntAod of the counter 150 A indicates an x-coordinate value of a pixel belonging to the odd-numbered group 11 Aod in the partial area 11 A of the correction line or the succeeding line.
- the even-number and odd-number counter 150 A outputs, depending on the timing at which pieces of pixel data on pixels belonging to the even-numbered group 11 Aev in the partial areas 11 A of the correction line and the succeeding line are input to the data processor 1 in parallel, x-coordinate values of these pixels.
- the even-number and odd-number counter 150 A outputs, depending on the timing at which pieces of pixel data on pixels belonging to the odd-numbered group 11 Aod in the partial areas 11 A of the correction line and the succeeding line are input to the data processor 1 in parallel, x-coordinate values of these pixels.
- the decision section of correction line 161 A decides whether the even-numbered count value cntAev output from the even-number and odd-number counter 150 A matches the x-coordinate data in the buffer 30 that stores the defective data on the correction line.
- the decision section of correction line 161 A decides whether the odd-numbered count value cntAod output from the even-number and odd-number counter 150 A matches the x-coordinate data in the buffer 30 that stores the defective data on the correction line.
- the decision section of correction line 161 A When the even-numbered count value cntAev matches the x-coordinate data in the buffer 30 , the decision section of correction line 161 A outputs an even-numbered hit signal hitAev 1 . Contrastingly, when the odd-numbered count value cntAod matches the x-coordinate data in the buffer 30 , the decision section of correction line 161 A outputs an odd-numbered hit signal hitAod 1 .
- the even-numbered count value cntAev indicates an x-coordinate value of a pixel for the pixel data in the even-numbered group 11 Aev of the partial area 11 A of the correction line, which is input to the data processor 1 .
- the decision section of correction line 161 A outputs an even-numbered hit signal hitAev 1 when the pixel data in the even-numbered group 11 Aev of the partial area 11 A of the correction line, which is input to the data processor 1 , is defective pixel data.
- the decision section of correction line 161 A outputs an odd-numbered hit signal hitAod 1 when the pixel data in the odd-numbered group 11 Aod of the partial area 11 A of the correction line, which is input to the data processor 1 , is defective pixel data.
- the decision section of correction line 161 A outputs an even-number and odd-numbered hit signal hitAeo 1 when the even-numbered count value cntAev and odd-numbered count value cntAod that are output from the even-number and odd-number counter 150 A at the same timing respectively match two pieces of x-coordinate data in the buffer 30 that stores the defective data on the correction line.
- the decision section of correction line 161 A outputs an even-number and odd-numbered hit signal hitAeo 1 when the pieces of pixel data in the even-numbered group 11 Aev and odd-numbered group 11 Aod of the partial area 11 A of the correction line, which are input to the data processor 1 at the same timing, are both defective pixel data.
- the decision section of correction line 161 A includes a read section 171 , a selection circuit 172 , an even-number comparing section 173 , a first odd-number comparing section 174 , a second odd-number comparing section 175 , and a signal generating section 176 .
- the selection circuit 172 selects any one of the buffers 30 ⁇ , 30 ⁇ , and 30 ⁇ on the basis of a read selection signal for correction line RS 1 output from the buffer selecting unit 7 .
- the read selection signal for correction line RS 1 is a signal indicating which buffer 30 among the buffers 30 ⁇ , 30 ⁇ , and 30 ⁇ stores the defective data on a correction line.
- the selection circuit 172 selects a buffer 30 indicated by the read selection signal for correction line RS 1 , that is, a buffer 30 that stores defective data on the correction line (hereinafter, referred to as a “read buffer for correction line 30 ”) from the buffers 30 ⁇ , 30 ⁇ , and 30 ⁇ .
- the read selection signal for correction line RS 1 indicates, for example, any one of “0,” “1,” and “2.”
- the read selection signal for correction line RS 1 indicating “0” means that the read buffer for correction line 30 is the buffer 30 ⁇ ; “1” means the buffer 303 , and “2” means the buffer 30 ⁇ .
- the read section 171 includes a read pointer rpA 1 indicating a buffer address.
- the read section 171 reads, from a memory area having a buffer address indicated by the read pointer rpA 1 in the read buffer for correction line 30 selected by the selection circuit 172 , x-coordinate data included in the defective data on a correction line stored in the memory area. Further, the read section 171 reads, from a memory area having a buffer address one larger than the buffer address indicated by the read pointer rpA 1 , x-coordinate data included in the defective data on the correction line stored in the memory area.
- the read pointer rpA 1 may be referred to as a “read pointer for correction line rpA 1 .”
- the even-number comparing section 173 compares the even-numbered count value cntAev output from the even-number and odd-number counter 150 A with the x-coordinate data read from a memory area having a buffer address indicated by the read pointer rpA 1 and, when they match, outputs an even-numbered hit signal hitAev 1 .
- the even-numbered hit signal Aev 1 indicates that the current even-numbered count value cntAev matches the x-coordinate data in the read buffer for correction line 30 .
- the first odd-number comparing section 174 compares the odd-numbered count value cntAod output from the even-number and odd-number counter 150 A with the x-coordinate data read by the read section 171 from the memory area having a buffer address indicated by the read pointer rpA 1 and, when they match, outputs an odd-numbered hit signal hitAod 1 .
- the odd-numbered hit signal Aod 1 indicates that the current odd-numbered count value cntAod matches the x-coordinate data in the read buffer for correction line 30 .
- the second odd-number comparing section 175 compares the odd-numbered count value cntAod output from the even-number and odd-number counter 150 A with the x-coordinate data read by the read section 171 from a memory area having a buffer address one larger than the buffer address indicated by the read pointer rpA 1 and, when they match, outputs an odd-numbered hit signal hit 0 .
- the even-number comparing section 173 outputs an even-numbered hit signal hitAev 1
- the second odd-number comparing section 175 outputs an odd-numbered hit signal hit 0
- the signal generating section 176 outputs an even-number and odd-numbered hit signal hitAeo 1 .
- the even-number and odd-numbered hit signal hitAeo 1 indicates that both of the current even-numbered count value cntAev and odd-numbered count value cntAod match the x-coordinate data in the read buffer for correction line 30 .
- Each of the even-numbered hit signal hitAev 1 , odd-numbered hit signal hitAod 1 , odd-numbered hit signal hit 0 , and even-number and odd-numbered hit signal hitAeo 1 is, for example, a binary signal that enters High level for only a predetermined time period.
- the decision section of correction line 161 A reads pieces of x-coordinate data from a memory area having a buffer address indicated by the read pointer rpA 1 in the buffer 30 that stores defective data on the partial area 11 A of the correction line.
- the decision section of correction line 161 A reads, from the memory area having a buffer address indicated by the read pointer for correction line rpA 1 , x-coordinate data (x-coordinate value) on the defective pixel in the partial area 11 A of the correction line.
- the decision section of correction line 161 A reads x-coordinate data from the memory area having a buffer address one larger than a value indicated by the read pointer rpA 1 in the buffer 30 that stores the defective data on the partial area 11 A of the correction line. Then, when the x-coordinate data read from the memory area having the buffer address indicated by the read pointer rpA 1 matches the even-numbered count value cntAev indicating the x-coordinate value of the even-numbered group 11 Aev in the partial area 11 A of the correction line, the decision section of correction line 161 A outputs an even-numbered hit signal hitAev 1 .
- the decision section of correction line 161 A When the x-coordinate data read from the memory area having the buffer address indicated by the read pointer rpA 1 matches the odd-numbered count value cntAod indicating the x-coordinate value of the odd-numbered group 11 Aod in the partial area 11 A of the correction line, the decision section of correction line 161 A outputs an odd-numbered hit signal hitAod 1 .
- the decision section of correction line 161 A outputs an even-number and odd-numbered hit signal hitAeo 1 .
- the even-number and odd-number counter 150 B corresponding to the partial area 11 B has a configuration similar to that of the even-number and odd-number counter 150 A.
- the even-numbered count value cntBev output from the even-number and odd-number counter 150 B indicates an x-coordinate value of a pixel belonging to the even-numbered group 11 Bev in the partial area 11 B of the correction line or the succeeding line.
- the even-numbered count value cntBev is counted up in twos from the x-coordinate value of the leading pixel of the even-numbered group 11 Bev, allowing the even-number and odd-number counter 150 B to output x-coordinate values of a plurality of pixels constituting the even-numbered group 11 Bev from the beginning one by one.
- the odd-numbered count value cntBod output from the even-number and odd-number counter 150 B indicates an x-coordinate value of a pixel belonging to the odd-numbered group 11 Bod of the partial area 11 B of the correction line or the succeeding line.
- the odd-numbered count value cntBod is counted up in twos from the x-coordinate value of the leading pixel of the odd-numbered group 11 Bod, allowing the even-number and odd-number counter 150 B to output x-coordinate values of a plurality of pixels constituting an odd-numbered group 11 Bod one by one from the leading one.
- the even-number and odd-number counter 150 B outputs, depending on the timing at which pieces of pixel data on the pixels belonging to the even-numbered groups 11 Bev of the partial areas 11 B for the correction line and the succeeding line are input to the data processor 1 in parallel, x-coordinate values of these pixels.
- the even-number and odd-number counter 150 B outputs, depending on the timing at which pieces of pixel data of the pixels belonging to the odd-numbered groups 11 Bod of the partial areas 11 B for the correction line and the succeeding line are input to the data processor in parallel, x-coordinate values of these pixels.
- the decision section for correction line 161 B corresponding to the partial area 11 B has a configuration similar to that of the decision section of correction line 161 A.
- the decision section for correction line 161 B includes a read pointer for correction line rpB 1 corresponding to the partial area 11 B.
- the decision section for correction line 161 B reads x-coordinate data from the memory area having a buffer address indicated by the read pointer rpB 1 in the buffer 30 that stores the defective data on the partial area 11 B of the correction line. Further, the decision section for correction line 161 B reads x-coordinate data from the memory area having a buffer address one larger than the value indicated by the read pointer rpB 1 in the buffer 30 that stores the defective data on the partial area 11 B of the correction line.
- the decision section for correction line 161 B When the x-coordinate data read from the memory area having the buffer address indicated by the read pointer rpB 1 matches the even-numbered count value cntBev indicating an x-coordinate value of the even-numbered group 11 Bev in the partial area 11 B of the correction line, the decision section for correction line 161 B outputs an even-numbered hit signal hitBev 1 .
- the decision section for correction line 161 B outputs an odd-numbered hit signal hitBod 1 .
- the decision section for correction line 161 B outputs an even-number and odd-numbered hit signal hitBeo 1 .
- the decision section for succeeding line 162 A corresponding to the partial area 11 A has a configuration similar to those of the decision sections for correction line 161 A and 161 B.
- the decision section for succeeding line 162 A includes a read pointer for the succeeding line rpA 2 corresponding to the partial area 11 A.
- the decision section for succeeding line 162 A reads x-coordinate data from the memory area having a buffer address indicated by the read pointer rpA 2 in the buffer 30 that stores the defective data on the partial area 11 A of the succeeding line.
- the decision section for succeeding line 162 A reads x-coordinate data from the memory area having a buffer address one larger than the value indicated by the read pointer rpA 2 in the buffer 30 that stores the defective data on the partial area 11 A of the succeeding line. Then, when the x-coordinate data read from the memory area having the buffer address indicated by the read pointer rpA 2 matches the even-numbered count value cntAev indicating the x-coordinate value of the even-numbered group 11 Aev in the partial area 11 A of the succeeding line, the decision section for succeeding line 162 A outputs an even-numbered hit signal hitAev 2 .
- the decision section for succeeding line 162 A When the x-coordinate data read from the memory area having the buffer address indicated by the read pointer rpA 2 matches the odd-numbered count value cntAod indicating the x-coordinate value of the odd-numbered group 11 Aod in the partial area 11 A of the succeeding line, the decision section for succeeding line 162 A outputs an odd-numbered hit signal hitAod 2 .
- the decision section for succeeding line 162 A outputs an even-number and odd-numbered hit signal hitAeo 2 .
- the decision section for succeeding line 162 B corresponding to the partial area 11 B has a configuration similar to those of the decision sections for correction line 161 A and 161 B and the decision section for succeeding line 162 A.
- the decision section for succeeding line 162 B includes a read pointer for the succeeding line rpB 2 corresponding to the partial area 11 B.
- the decision section for succeeding line 162 B reads x-coordinate data from a memory area having a buffer address indicated by the read pointer rpB 2 in the buffer 30 that stores defective data on the partial area 11 B of the succeeding line.
- the decision section for succeeding line 162 B reads x-coordinate data from a memory area having a buffer address one larger than the value indicated by the read pointer rpB 2 in the buffer 30 that stores the defective data on the partial area 11 B of the succeeding line. Then, when the x-coordinate data read from the memory area having the buffer address indicated by the read pointer rpB 2 matches the even-numbered count value cntBev indicating the x-coordinate value of the even-numbered group 11 Bev in the partial area 11 B of the succeeding line, the decision section for succeeding line 162 B outputs an even-numbered hit signal hitBev 2 .
- the decision section for succeeding line 162 B When the x-coordinate data read from the memory area having the buffer address indicated by the read pointer rpB 2 matches the odd-numbered count value cntBod indicating the x-coordinate value of the odd-numbered group 11 Bod in the partial area 11 B of the succeeding line, the decision section for succeeding line 162 B outputs an odd-numbered hit signal hitBod 2 .
- the decision section for succeeding line 162 B outputs an even-number and odd-numbered hit signal hitBeo 2 .
- signals indicating values one larger than the values indicated by the read pointers rpA 1 , rpA 2 , rpB 1 , and rpB 2 are referred to as the succeeding read pointers rpA 1 n , rpA 2 n , rpB 1 n , and rpB 2 n , respectively.
- FIGS. 20 and 21 show the configuration of the output circuit 6 .
- the output circuit 6 includes output units for correction line 261 ⁇ , 261 ⁇ , and 261 ⁇ ( FIG. 20 ), output units of the succeeding line 262 ⁇ , 262 ⁇ , and 262 ⁇ ( FIG. 20 ), selection circuits for correction line 271 Aev, 271 Aod, 271 Bev, and 271 Bod ( FIG. 21 ), and selection circuits for succeeding line 272 Aev, 272 Aod, 272 Bev, and 272 Bod ( FIG. 21 ).
- the output unit for correction line 261 ⁇ and the output unit for succeeding line 262 ⁇ form a circuit that processes correction method identifying data in the buffer 30 ⁇ .
- the output unit for correction line 261 ⁇ and the output unit for succeeding line 262 ⁇ form a circuit that processes corrected description identifying data in the buffer 30 ⁇ .
- the output unit for correction line 261 ⁇ and the output unit for succeeding line 262 ⁇ form a circuit that processes correction method identifying data in the buffer 30 ⁇ .
- FIG. 22 shows the configuration of the output unit for correction line 261 ⁇ .
- the output units for correction line 261 ⁇ , 261 ⁇ , and 261 ⁇ and the output units of the succeeding line 262 ⁇ , 262 ⁇ , and 262 ⁇ have the same configuration, and thus, the configuration of the output unit for correction line 261 ⁇ will be specifically described as a typical example.
- the output unit for correction line 261 ⁇ includes output sections 300 Aev, 300 Aod, 300 Bev, and 300 Bod.
- the output section 300 Aev includes a selection circuit 301 Aev and a holding circuit 302 Aev.
- the selection circuit 301 Aev selects a memory area having a buffer address indicated by the read pointer rpA 1 in the decision section of correction line 161 A from a plurality of memory areas included in the buffer 30 ⁇ .
- the selection circuit 301 Aev outputs correction method identifying data included in the defective data (the defective data on the defective pixel in the partial area 11 A of the correction line) stored in the selected memory area.
- the holding circuit 302 Aev Upon receipt of an even-numbered hit signal hitAev 1 from the decision section of correction line 161 A, the holding circuit 302 Aev holds and outputs the correction method identifying data output from the selection circuit 301 Aev.
- the correction method identifying data output from the holding circuit 302 Aev is referred to as “correction method identifying data cdAev 1 ⁇ .”
- the correction method identifying data cdAev 1 ⁇ is the data indicating the correction method for a defective pixel in the even-numbered group 11 Aev of the partial area 11 A of the correction line.
- the output section 300 Aod includes a selection circuit 301 Aod and a holding circuit 302 Aod.
- the selection circuit 301 Aod Upon receipt of an odd-numbered hit signal hitAod 1 from the decision section of correction line 161 A, the selection circuit 301 Aod selects a memory area having a buffer address indicated by the read pointer rpA 1 in the decision section of correction line 161 A from a plurality of memory areas included in the buffer 30 ⁇ . Then, the selection circuit 301 Aod outputs correction method identifying data included in the defective data stored in the selected memory area.
- the selection circuit 301 Aod selects a memory area having a buffer address indicated by the succeeding read pointer rpA 1 n in the decision section of correction line 161 A, from a plurality of memory areas included in the buffer 30 ⁇ . Then, the selection circuit 301 Aod outputs correction method identifying data included in the defective data stored in the selected memory area.
- the holding circuit 302 Aod Upon receipt of any one of an odd-numbered hit signal hitAod 1 and an even-number and odd-numbered hit signal hitAeo 1 from the decision section of correction line 161 A, the holding circuit 302 Aod holds and outputs correction method identifying data output from the selection circuit 301 Aod.
- the correction method identifying data output from the holding circuit 302 Aod is referred to as “correction method identifying data cdAod 1 ⁇ .”
- the correction method identifying data cdAod 1 ⁇ is the data indicating the correction method for a defective pixel in the odd-numbered group 11 Aod of the partial area 11 A of the correction line.
- the output section 300 Bev includes a selection circuit 301 Bev and a holding circuit 302 Bev.
- the selection circuit 301 Bev selects a memory area having a buffer address indicated by the read pointer rpB 1 in the decision section for correction line 161 B from a plurality of memory areas included in the buffer 30 ⁇ . Then, the selection circuit 301 Bev outputs correction method identifying data included in the defective data (the defective data on a defective pixel in the partial area 11 B of the correction line) stored in the selected memory area.
- the holding circuit 302 Bev Upon receipt of an even-numbered hit signal hitBev 1 from the decision section for correction line 161 B, the holding circuit 302 Bev holds and outputs correction method identifying data output from the selection circuit 301 Bev.
- the correction method identifying data output from the holding circuit 302 Bev is referred to as “correction method identifying data cdBev 1 ⁇ .”
- the correction method identifying data cdBev 1 ⁇ is the data indicating the correction method for a defective pixel in an even-numbered group 11 Bev of the partial area 11 B of the correction line.
- the output section 300 Bod includes a selection circuit 301 Bod and a holding circuit 302 Bod.
- the selection circuit 301 Bod Upon receipt of an odd-numbered hit signal hitBod 1 from the decision section for correction line 161 B, the selection circuit 301 Bod selects a memory area having a buffer address indicated by the read pointer rpB 1 in the decision section for correction line 161 B from a plurality of memory areas included in the buffer 30 ⁇ . Then, the selection circuit 301 Bod outputs correction method identifying data included in the defective data stored in the selected memory area.
- the selection circuit 301 Bod selects a memory area having a buffer address indicated by the succeeding read pointer rpB 1 n in the decision section for correction line 161 B from a plurality of memory areas included in the buffer 30 ⁇ . Then, the selection circuit 301 Bod outputs correction method identifying data included in the defective data stored in the selected memory area.
- the holding circuit 302 Bod holds and outputs correction method identifying data output from the selection circuit 301 Bod.
- the correction method identifying data output from the holding circuit 302 Bod is referred to as “correction method identifying data cdBod 1 ⁇ .”
- the correction method identifying data cdBod 1 ⁇ is the data indicating the correction method for a defective pixel in the odd-numbered group 11 Bod of the partial area 11 B of the correction line.
- the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAev 1 ⁇ .
- the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitAeo 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpA 1 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-numbered hit signal hitBev 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBev 1 ⁇ .
- the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitBeo 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in a memory area having a buffer address indicated by the succeeding read pointer rpB 1 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 1 ⁇ .
- the output units for correction line 261 ⁇ and 261 ⁇ operate similarly to the output unit for correction line 261 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-numbered hit signal hitAev 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAev 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an odd-numbered hit signal hitAod 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitAeo 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in a memory area having a buffer address indicated by the succeeding read pointer rpA 1 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-numbered hit signal hitBev 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in a memory area having a buffer address indicated by the read pointer rpB 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBev 1 ⁇ . Then, upon receipt of an odd-numbered hit signal hitBod 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitBeo 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpB 1 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-numbered hit signal hitAev 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAev 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an odd-numbered hit signal hitAod 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitAeo 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpA 1 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-numbered hit signal hitBev 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBev 1 ⁇ .
- the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 1 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 1 ⁇ .
- the output unit for correction line 261 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitBeo 1 , the output unit for correction line 261 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpB 1 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 1 ⁇ .
- the output units of the succeeding line 262 ⁇ , 262 ⁇ , and 262 ⁇ operate similarly to the output units for correction line 261 ⁇ , 261 ⁇ , and 261 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-numbered hit signal hitAev 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAev 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an odd-numbered hit signal hitAod 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitAeo 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpA 2 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-numbered hit signal hitBev 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBev 2 ⁇ . Then, upon receipt of an odd-numbered hit signal hitBod 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitBeo 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpB 2 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-numbered hit signal hitAev 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAev 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an odd-numbered hit signal hitAod 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitAeo 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpA 2 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-numbered hit signal hitBev 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBev 2 ⁇ .
- the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 2 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 2 ⁇ .
- the output unit for succeeding line 262 P outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpB 2 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-numbered hit signal hitAev 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAev 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an odd-numbered hit signal hitAod 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpA 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitAeo 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpA 2 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdAod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-numbered hit signal hitBev 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBev 2 ⁇ .
- the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the read pointer rpB 2 , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 2 ⁇ .
- the output unit for succeeding line 262 ⁇ Upon receipt of an even-number and odd-numbered hit signal hitBeo 2 , the output unit for succeeding line 262 ⁇ outputs the correction method identifying data in the memory area having a buffer address indicated by the succeeding read pointer rpB 2 n , which is included in the buffer 30 ⁇ , as correction method identifying data cdBod 2 ⁇ .
- the selection circuit for correction line 271 Aev selects and outputs any one of the correction method identifying data cdAev 1 ⁇ , correction method identifying data cdAev 1 ⁇ , and correction method identifying data cdAev 1 ⁇ , on the basis of a read selection signal for correction line RS 1 output from the buffer selecting unit 7 .
- the selection circuit for correction line 271 Aev outputs the correction method identifying data cdAev 1 ⁇ when the read selection signal for correction line RS 1 indicates “0,” that is, when the read buffer for correction line 30 is the buffer 30 ⁇ .
- the selection circuit for correction line 271 Aev outputs the correction method identifying data cdAev 1 ⁇ when the read selection signal for correction line RS 1 indicates “1,” that is, when the read buffer for correction line 30 is the buffer 30 ⁇ .
- the selection circuit for correction line 271 Aev outputs the correction method identifying data cdAev 1 ⁇ when the read selection signal for correction line RS 1 indicates “2,” that is, when the read buffer for correction line 30 is the buffer 30 ⁇ .
- the correction method identifying data cdAev 10 is the data indicating a correction method for a defective pixel in the even-numbered group 11 Aev of the partial area 11 A of the correction line.
- the output circuit 6 outputs the correction method identifying data cdAev 10 indicating the correction method for the defective pixel.
- the selection circuits for correction line 271 Aod, 271 Bev, and 271 Bod operate similarly to the selection circuit for correction line 271 Aev.
- the selection circuit for correction line 271 Aod outputs the correction method identifying data cdAod 1 ⁇ for the read selection signal for correction line RS 1 indicating “0,” outputs the correction method identifying data cdAod 1 ⁇ for the signal indicating “1,” and outputs the correction method identifying data cdAod 1 ⁇ for the signal indicating “2.”
- the correction method identifying data cdAod 10 is the data indicating the correction method for a defective pixel in the odd-numbered group 11 Aod of the partial area 11 A of the correction line.
- the output circuit 6 outputs the correction method identifying data cdAod 10 indicating the method for the defective pixel.
- the selection circuit for correction line 271 Bev outputs the correction method identifying data cdBev 1 ⁇ for the read selection signal for correction line RS 1 indicating “0,” outputs the correction method identifying data cdBev 1 ⁇ for the signal indicating “1,” and outputs the correction method identifying data cdBev 1 ⁇ for the signal indicating “2.”
- the correction method identifying data cdBev 10 is the data indicating the correction method for a defective pixel in the even-numbered group 11 Bev of the partial area 11 B of the correction line.
- the output circuit 6 outputs the correction method identifying data cdBev 10 indicating the method for the defective pixel.
- the selection circuit for correction line 271 Bod outputs the correction method identifying data cdBod 1 ⁇ for the read selection signal for correction line RS 1 indicating “0,” outputs the correction method identifying data cdBod 1 ⁇ for the signal indicating “1,” and outputs the correction method identifying data cdBod 1 ⁇ for the signal indicating “2.”
- the correction method identifying data cdBod 10 is the data indicating the correction method for a defective pixel in the odd-numbered group 11 Bod of the partial area 11 B of the correction line.
- the output circuit 6 outputs the correction method identifying data cdBod 10 indicating the method for the defective pixel.
- the selection circuit for succeeding line 272 Aev selects and outputs any one of the correction method identifying data cdAev 2 ⁇ , the correction method identifying data cdAev 2 ⁇ , and the correction method identifying data cdAev 2 ⁇ , on the basis of the read selection signal for succeeding line RS 2 output from the buffer selecting unit 7 .
- the read selection signal for succeeding line RS 2 is a signal indicating which buffer 30 of the buffers 30 ⁇ , 30 ⁇ , and 30 ⁇ stores the defective data on the succeeding line.
- the read selection signal for succeeding line RS 2 indicating “0” means that the buffer 30 that stores defective data on the succeeding line (hereinafter, also referred to as “read buffer for succeeding line 30 ”) is the buffer 30 ⁇ , the signal indicating “1” means the buffer 30 ⁇ , and the signal indicating “2” means the buffer 30 ⁇ .
- the selection circuit for succeeding line 272 Aev outputs the correction method identifying data cdAev 2 ⁇ for the read selection signal for succeeding line RS 2 indicating “0,” outputs the correction method identifying data cdAev 2 ⁇ for the signal indicating “1,” and outputs the correction method identifying data cdAev 2 ⁇ for the signal indicating “2.”
- the correction method identifying data cdAev 20 is the data indicating the correction method for a defective pixel in the even-numbered group 11 Aev of the partial area 11 A of the succeeding line.
- the output circuit 6 outputs correction method identifying data cdAev 20 indicating the method for the defective pixel.
- the selection circuit for succeeding line 272 Aod outputs the correction method identifying data cdAod 2 ⁇ for the read selection signal for succeeding line RS 2 indicating “0,” outputs the correction method identifying data cdAod 2 ⁇ for the signal indicating “1,” and outputs the correction method identifying data cdAod 2 ⁇ for the signal indicating “2.”
- the output circuit 6 outputs correction method identifying data cdAod 20 indicating the method for the defective pixel.
- the selection circuit for succeeding line 272 Bev outputs the correction method identifying data cdBev 2 ⁇ for the read selection signal for succeeding line RS 2 indicating “0,” outputs the correction method identifying data cdBev 2 ⁇ for the signal indicating “1,” and outputs the correction method identifying data cdBev 2 ⁇ for the signal indicating “2.”
- the correction method identifying data cdBev 20 is the data indicating the correction method for a defective pixel in the even-numbered group 11 Bev of the partial area 11 B of the succeeding line.
- the output circuit 6 outputs the correction method identifying data cdBev 20 indicating the method for the defective pixel.
- the selection circuit for succeeding line 272 Bod outputs the correction method identifying data cdBod 2 ⁇ for the read selection signal for succeeding line RS 2 indicating “0,” outputs the correction method identifying data cdBod 2 ⁇ for the signal indicating “1,” and outputs the correction method identifying data cdBod 2 ⁇ for the signal indicating “2.”
- the output circuit 6 outputs correction method identifying data cdBod 20 indicating the method for the defective pixel.
- the write unit 4 operates as in the embodiment described above (see FIG. 6 ).
- the write unit 4 includes a write pointer wpA corresponding to the partial area 11 A and a write pointer wpB corresponding to the partial area 11 B.
- the write unit 4 initializes the values of the write pointers wpA and wpB to “0” at the timing at which the first defective data on a target line is input thereto.
- the write unit 4 Upon receipt of the defective data on a target line, the write unit 4 compares x-coordinate data included in the defective data and a leading x-coordinate value xBst in the partial area 11 B and, if the x-coordinate data is smaller than the x-coordinate value xBst, increments the value of the write pointer wpB by one at the timing of writing the defective data into the write buffer 30 . Contrastingly, if the x-coordinate data is equal to or larger than the x-coordinate value xBst, the write unit 4 keeps the current value of the write pointer wpB.
- the value of the write pointer wpA at that time is set as the initial value of the read pointer rpA 1 used when the target line is a correction line and is also set as the initial value of the read pointer rpA 2 used when the target line is the succeeding line.
- the value of the write pointer wpB at that time is set as the initial value of the read pointer rpB 1 used when the target line is a correction line and is also set as the initial value of the read pointer rpB 2 used when the target line is the succeeding line.
- the initial values of the read pointers rpA 1 and rpB 1 when the target line is the correction line are “0” and “p,” respectively, and the initial values of the read pointers rpA 2 and rpB 2 when the target line is the succeeding line are “0” and “p,” respectively.
- the initial value (“0”) of the read pointer for correction line rpA 1 indicates a buffer address of a memory area into which the defective data on a defective pixel having the smallest x-coordinate value among pieces of defective pixel included in the partial area 11 A of the correction line, that is, the defective data on a leading defective pixel in the partial area 11 A of the correction line has been written.
- the initial value (“0”) of the read pointer for the succeeding line rpA 2 indicates a buffer address of a memory area into which defective data on the defective pixel having the smallest x-coordinate value among pieces of defective pixel included in the partial area 11 A of the succeeding line has been written.
- the initial value of the read pointer for the correction line rpB 1 indicates a buffer address of the memory area into which defective data on a defective pixel having the smallest x-coordinate value among pieces of defective pixel included in the partial area 11 B of the correction line has been written.
- the initial value of the read pointer for the succeeding line rpB 2 indicates a buffer address of a memory area into which defective data on a defective pixel having the smallest x-coordinate value among pieces of defective pixel included in the partial area 11 B of the succeeding line has been written.
- FIG. 23 is a timing chart showing the operation of the decision circuit 5 according to this modification.
- FIG. 23 shows the operations of the even-number and odd-number counters 150 A and 150 B and the decision circuit for correction line 161 .
- the decision circuit for succeeding line 162 operates similarly to the decision circuit for correction line 161 , and thus, the operation of the decision circuit for correction line 161 will be specifically described below as a typical example.
- FIG. 23 shows the operation of the decision circuit for correction line 161 when the defective data is read from a read buffer for correction line 30 , which is the buffer 30 into which the defective data on a target line has been written as in the example of FIG. 6 described above.
- a read buffer for correction line 30 which is the buffer 30 into which the defective data on a target line has been written as in the example of FIG. 6 described above.
- read data (rpA 1 ) indicates x-coordinate data read by the decision section of correction line 161 A from the memory area having a buffer address indicated by the read pointer rpA 1 in the read buffer for correction line 30
- read data (rpA 1 n ) indicates the x-coordinate data read by the decision section for correction line 161 A from the memory area having a buffer address indicated by the read pointer rpA 1 n in the read buffer for correction line 30
- read data (rpB 1 ) indicates the x-coordinate data read by the decision section for correction line 161 B from the memory area having a buffer address indicated by the read pointer rpB 1 in the read buffer for correction line 30
- read data (rpB 1 n ) indicates the x-coordinate data read by the decision section for correction line 161 B from the memory area having a buffer address indicated by the read pointer rpB 1 in the read buffer for correction line 30
- read data (rpB 1 n ) indicates the x-co
- the counters 151 of the even-number and odd-number counters 150 A and 150 B are initialized at the rising edge of the horizontal synchronization signal.
- the even-numbered count value cntAev is initialized to “0”
- the odd-numbered count value cntAod is initialized to “1”
- the even-numbered count value cntBev is initialized to “xBst”
- the odd-numbered count value cntBod is initialized to “xBst+1.”
- the even-numbered count values cntAev and cntBev and the odd-numbered count values cntAod and cntBod are counted up by two at every predetermined timing (at every riding edge of an operation clock signal).
- the even-numbered count value cntAev is counted up depending on the timing at which pixel data on a pixel belonging to the even-numbered group 11 Aev in the partial area 11 A of the correction line is input to the data processor 1 .
- the even-numbered count value cntAev accordingly indicates, depending on the timing at which the pixel data on a pixel belonging to the even-numbered group 11 Aev of the partial area 11 A of the correction line is input to the data processor 1 , the x-coordinate value of the pixel.
- the odd-numbered count value cntAod indicates, depending on the timing at which the pixel data on a pixel belonging to the odd-numbered group 11 Aod of the partial area 11 A of the correction line is input to the data processor 1 , the x-coordinate value of the pixel.
- the even-numbered count value cntBev indicates, depending on the timing at which the pixel data on a pixel belonging to the even-numbered group 11 Bev of the partial area 11 B of the correction line is input to the data processor 1 , the x-coordinate value of the pixel.
- the odd-numbered count value cntBod indicates, depending on the timing at which the pixel data on a pixel belonging to the odd-numbered group 11 Bod of the partial area 11 B of the correction line is input to the data processor 1 , the x-coordinate value of the pixel.
- the decision section of correction line 161 A When a horizontal synchronization signal is input to the data processor 1 , the decision section of correction line 161 A reads x-coordinate data from the memory area of the read buffer for correction line 30 , which has a buffer address currently indicated by the read pointer rpA 1 . The decision section of correction line 161 A further reads x-coordinate data from the memory area of the read buffer for correction line 30 , which has a buffer address currently indicated by the succeeding read pointer rpA 1 n (a buffer address one larger than the value indicated by the read pointer rpA 1 ).
- the decision section of correction line 161 A compares the x-coordinate data (hereinafter, referred to as “x-coordinate data (rpA 1 )”) read from the memory area having the buffer address indicated by the read pointer rpA 1 with the current value of the even-numbered count value cntAev and the current value of the odd-numbered count value cntAod.
- the decision section of correction line 161 A further compares the x-coordinate data (hereinafter, referred to as “x-coordinate data (rpA 1 n )”) read from the memory area having the buffer address indicated by the succeeding read pointer rpA 1 n with the current value of the odd-numbered count value cntAod.
- the decision section of correction line 161 A When the x-coordinate data (rpA 1 ) matches the even-numbered count value cntAev, the decision section of correction line 161 A outputs an even-numbered hit signal hitAev 1 . When the x-coordinate data (rpA 1 ) matches the odd-numbered count value cntAod, the decision section of correction line 161 A outputs an odd-numbered hit signal hitAod 1 .
- the decision section of correction line 161 A outputs an even-number and odd-numbered hit signal hitAeo 1 .
- the decision section of correction line 161 A increments the value of the read pointer rpA 1 by two at its rising edge. Contrastingly, in outputting no even-number and odd-numbered hit signal hitAeo 1 and outputting an even-numbered hit signal hitAev 1 , the decision section of correction line 161 A increments the value of the read pointer rpA 1 by one at the rising edge of the even-numbered hit signal hitAev 1 .
- the decision section of correction line 161 A increments the value of the read pointer rpA 1 by one at the rising edge of the odd-numbered hit signal hitAod 1 .
- the decision section of correction line 161 A reads x-coordinate data from the memory area of the read buffer for correction line 30 , which has a buffer address currently indicated by the read pointer rpA 1 , and reads x-coordinate data from the memory area of the read buffer for correction line 30 , which has a buffer address currently indicated by the succeeding read pointer rpA 1 n . Thereafter, the decision section of correction line 161 A operates similarly. The decision section of correction line 161 A operates similarly every time the even-numbered count value cntAev and the odd-numbered count value cntAod are incremented by two.
- the x-coordinate data (rpA 1 ) (rd[0]) matches the even-numbered count value cntAev, generating an even-numbered hit signal hitAev 1 .
- the x-coordinate data (rpA 1 ) (rd[1]) matches the odd-numbered count value cntAod, generating an odd-numbered hit signal hitAod 1 .
- the x-coordinate data (rpA 1 ) (rd[2]) matches the even-numbered count value cntAev and the x-coordinate data (rpA 1 n ) (rd[3]) matches the odd-numbered count value cntAod, generating an even-number and odd-numbered hit signal hitAeo 1 .
- the decision section of correction line 161 A compares the x-coordinate data (rpA 1 ) read from the read buffer for correction line 30 with the even-numbered count value cntAev and the odd-numbered count value cntAod input from the even-number and odd-number counter 150 A.
- the decision section of correction line 161 A compares the x-coordinate data with an even-numbered count value cntAev and an odd-numbered count value cntAod to be input next from the even-number and odd-number counter 150 A.
- the decision section of correction line 161 A compares the x-coordinate data (rpA 1 ) read next from the read buffer for correction line 30 with an even-numbered count value cntAev and an odd-numbered count value cntAod to be input next from the even-number and odd-number counter 150 A.
- the decision section for correction line 161 B corresponding to the partial area 11 B operates similarly to the decision section of correction line 161 A.
- the operation of the decision section for correction line 161 B will be described by replacing, in the above description on the operation of the decision section of correction line 161 A, the even-numbered count value cntAev, odd-numbered count value cntAod, read pointer rpA 1 , succeeding read pointer rpA 1 n , even-numbered hit signal hitAev 1 , odd-numbered hit signal hitAod 1 , and even-number and odd-numbered hit signal hitAeo 1 with the even-numbered count value cntBev, odd-numbered count value cntBod, read pointer rpB 1 , succeeding read pointer rpB 1 n , even-numbered hit signal hitBev 1 , odd-numbered hit signal hitBod 1 , and even-number and odd-numbered hit signal hitBeo 1 , respectively.
- the x-coordinate data (rd[p]) read from the memory area of the read pointer rpB 1 matches the even-numbered count value cntBev, generating an even-numbered hit signal hitBev 1 .
- the x-coordinate data (rd[p+1]) read from the memory area of the read pointer rpB 1 matches the odd-numbered count value cntBod, generating an odd-numbered hit signal hitBod 1 .
- the x-coordinate data (rd[p+2]) read from the memory area of the read pointer rpB 1 matches the even-numbered count value cntBev and the x-coordinate data (rd[p+3]) read from the memory area of the succeeding read pointer rpB 1 n matches the odd-numbered count value cntBod, generating an even-number and odd-numbered hit signal hitBeo 1 .
- the decision sections for succeeding line 162 A and 162 B operate similarly to the decision section of correction line 161 A.
- the operation of the decision section for succeeding line 162 A will be described by replacing, in the above description on the operation of the decision section of correction line 161 A, the read buffer for correction line 30 , read pointer rpA 1 , succeeding read pointer rpA 1 n , even-numbered hit signal hitAev 1 , odd-numbered hit signal hitAod 1 , and even-number and odd-numbered hit signal hitAeo 1 with the read buffer for succeeding line 30 , read pointer rpA 2 , succeeding read pointer rpA 2 n , even-numbered hit signal hitAev 2 , odd-numbered hit signal hitAod 2 , and even-number and odd-numbered hit signal hitAeo 2 , respectively.
- the counters 151 of the even-number and odd-number counters 150 A and 150 B are initialized at the rising edge of a horizontal synchronization signal in the example above, the counters 151 may be initialized at other timing. Alternatively, the counters 151 of the even-number and odd-number counters 150 A and 150 B may be initialized at different timings.
- the pixel defect correcting unit 2 receives defective pixel data on an even-numbered group 11 Aev included in the partial area 11 A of the correction line and correction method identifying data cdAev 10 indicating the correction method for the defective pixel data in parallel.
- the pixel defect correcting unit 2 corrects the defective pixel data by a correction method indicated by the correction method identifying data cdAev 10 .
- the pixel defect correcting unit 2 receives defective pixel data on the odd-numbered group 11 Aod included in the partial area 11 A of the correction line and correction method identifying data cdAod 10 indicating the correction method for the defective pixel data in parallel.
- the pixel defect correcting unit 2 corrects the pieces of defective pixel data by the correction method indicated by the correction method identifying data cdAod 10 .
- the pixel defect correcting unit 2 receives defective pixel data on the even-numbered group 11 Bev included in the partial area 11 B of the correction line and correction method identifying data cdBev 10 indicating the correction method for the defective pixel data in parallel.
- the pixel defect correcting unit 2 corrects the defective pixel data by the correction method indicated by the correction method identifying data cdBev 10 .
- the pixel defect correcting unit 2 further receives defective pixel data on the odd-numbered group 11 Bod included in the partial area 11 B of the correction line and correction method identifying data cdBod 10 indicating the correction method for the defective pixel data in parallel.
- the pixel defect correcting unit 2 corrects the defective pixel data by the correction method indicated by the correction method identifying data cdBod 10 .
- the pixel defect correcting unit 2 receives the pixel data on the even-numbered group 11 Aev included in the partial area 11 A of the correction line, the pixel data on the odd-numbered group 11 Aod included in the partial area 11 A of the correction line, the pixel data on the even-numbered group 11 Bev included in the partial area 11 B of the correction line, and the pixel data on the odd-numbered group 11 Bod included in the partial area 11 B of the correction line in parallel.
- the pixel defect correcting unit 2 corrects a pixel defect for the even-numbered group 11 Aev, corrects a pixel defect for the odd-numbered group 11 Aod, corrects a pixel defect for the even-numbered group 11 Bev, and corrects a pixel defect for the odd-numbered group 11 Bod in parallel.
- the pixel defect correcting unit 2 performs pixel defect correction on the correction line, and identifies and stores the pixel data required in pixel defect correction for the succeeding line among pieces of pixel data on the correction line, using the correction method identifying data on the succeeding line. This eliminates the need for the pixel defect correcting unit 2 to store all the pieces of pixel data on a correction line for performing pixel defect correction on the succeeding line, simplifying the configuration of the pixel defect correcting unit 2 .
- the pixel defect correcting unit 2 identifies pixel data on a correction line, which is required in correcting the defective pixel data, on the basis of the x-coordinate value of the pixel corresponding to the defective pixel data and on the basis of the correction method indicated by the correction method identifying data cdAev 20 , and then stores the pixel data input thereto.
- the pixel defect correcting unit 2 identifies pixel data on the correction line, which is required in correcting the defective pixel data, on the basis of the x-coordinate value of the pixel corresponding to the defective pixel data and on the basis of the correction method indicated by the correction method identifying data cdAod 20 , and then stores the pixel data input thereto.
- the pixel defect correcting unit 2 Upon receipt of defective pixel data on the even-numbered group 11 Bev included in the partial area 11 B of the succeeding line and correction method identifying data cdBev 20 indicating the correction method for the defective pixel data, the pixel defect correcting unit 2 identifies pixel data on a correction line, which is required in correcting the defective pixel data, on the basis of the x-coordinate value on a pixel corresponding to the defective pixel data and on the basis of the correction method indicated by the correction method identifying data cdBev 20 , and then stores the pixel data input thereto.
- the pixel defect correcting unit 2 Upon receipt of defective pixel data on the odd-numbered group 11 Bod included in the partial area 11 B of the succeeding line and correction method identifying data cdBod 20 indicating the correction method for the defective pixel data, the pixel defect correcting unit 2 identifies pixel data on a correction line, which is required in correcting the defective pixel data, on the basis of the x-coordinate value of a pixel corresponding to the defective pixel data and on the basis of the correction method indicated by the correction method identifying data cdBod 20 , and then stores the pixel data input thereto.
- the pixel defect correcting unit 2 receives the pixel data on the correction line, the pixel data on the succeeding line, and the correction method identifying data on the succeeding line in parallel, and thus can identify and store the pixel data required in the pixel defect correction for the succeeding line among pieces of pixel data on a correction line. This eliminates the need for the pixel defect correcting unit 2 to store all the pieces of pixel data on the correction line for the pixel defect correction of the succeeding line, simplifying the configuration of the pixel defect correcting unit 2 .
- the even-number and odd-number counter 150 A inputs, to the decision section of correction line 161 A, x-coordinate values for a plurality of pixels constituting the partial area 11 A in ascending order per data group, where the data group is composed of two x-coordinate values.
- the buffer 30 stores, among x-coordinate values for a plurality of pixels constituting the partial area 11 A, an x-coordinate value (x-coordinate data) of at least one defective pixel included in the plurality of pixels. In other words, the buffer 30 stores a plurality of pieces of input data matching at least part of a plurality of pieces of input data input to the decision section of correction line 161 A.
- the decision section of correction line 161 A reads the x-coordinate values from the buffer 30 in ascending order.
- the decision section of correction line 161 A reads pieces of data from the buffer 30 in the order based on the same rule as the rule when input data is input.
- the decision section of correction line 161 A compares the x-coordinate data (x-coordinate value) read from the buffer 30 with the even-numbered count value and odd-numbered count value input from the even-number and odd-number counter 150 A and, when the x-coordinate data does not match each of the even-numbered count value and the odd-numbered count value, compares the x-coordinate data with an even-numbered count value and an odd-numbered count value to be input next from the even-number and odd-number counter 150 A.
- the decision section of correction line 161 A compares the succeeding x-coordinate data read from the buffer 30 with an even-numbered count value and an odd-numbered count value input next from the even-number and odd-number counter 150 A.
- pieces of x-coordinate data are read from the buffer 30 in the order based on the same rule as the rule when the even-number and odd-number counter 150 A inputs data to the decision section of correction line 161 A (in the example above, in ascending order).
- the even-numbered count value and odd-numbered count value from the even-number and odd-number counter 150 A with one piece of x-coordinate data read from the buffer 30 allows the decision as to whether the even-numbered count value and the odd-numbered count value match the x-coordinate data in the buffer 30 .
- pieces of pixel data of a plurality of pixels constituting a line are input to the data processor 1 in ascending order of x-coordinate value in the example above, they may be input in descending order of x-coordinate value.
- count values are output from the counter 50 in descending order
- the decision section 51 reads the pieces of x-coordinate data from the buffer 30 in descending order.
- the even-number and odd-number counters 150 A and 150 B output even-numbered count values and odd-numbered count values in descending order, and the decision sections for correction line 161 A and 161 B and the decision sections for succeeding line 162 A and 162 B read pieces of x-coordinate data from the buffer 30 in descending order.
- pieces of pixel data in the partial areas 11 A and 11 B are both input in ascending order of x-coordinate value in the example above, the pieces of pixel data in one of the partial areas 11 A and 11 B may be input in ascending order of x-coordinate value and the pieces of pixel data in the other of the partial areas 11 A and 11 B may be input in the descending order of x-coordinate value.
- the decision circuit 5 processes x-coordinate values of pixels in the example above, it may process other pixel-related data.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
- Studio Devices (AREA)
Abstract
Description
xAst<xBst (1)
xAend>xBst (2)
xAend<xBend (3)
xAst<xBst (4)
xAend>xBst (5)
xAend<xBend (6)
xBst<xCst (7)
xBend>xCst (8)
xBend<xCend (9)
Claims (8)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014-061618 | 2014-03-25 | ||
| JP2014061618A JP6284799B2 (en) | 2014-03-25 | 2014-03-25 | Data processing apparatus and data processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20150281508A1 US20150281508A1 (en) | 2015-10-01 |
| US9565380B2 true US9565380B2 (en) | 2017-02-07 |
Family
ID=54192145
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/659,795 Active 2035-04-23 US9565380B2 (en) | 2014-03-25 | 2015-03-17 | Data processor and data processing method including a decision circuit that compares input pixel data to defective pixel data |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US9565380B2 (en) |
| JP (1) | JP6284799B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110062182B (en) * | 2019-04-16 | 2021-03-30 | 长春长光辰芯光电技术有限公司 | High frame frequency area array image sensor pixel signal interleaving time-sharing reading method |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20010038416A1 (en) * | 1998-09-30 | 2001-11-08 | Ivo Koren | Method and device for correcting defective pixels of an image sensor |
| US20060159361A1 (en) * | 2005-01-19 | 2006-07-20 | Megachips Lsi Solutions Inc. | Image filter, image filtering method and computer program |
| US20110032393A1 (en) * | 2009-08-07 | 2011-02-10 | Canon Kabushiki Kaisha | Defective pixel data correcting apparatus, image capturing apparatus, and method for correcting defective pixel data |
| US20110242383A1 (en) * | 2010-04-01 | 2011-10-06 | Canon Kabushiki Kaisha | Solid-state image pickup device and method of driving the same |
| JP2012114721A (en) | 2010-11-25 | 2012-06-14 | Canon Inc | Image processing device and method, and program |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2565260B2 (en) * | 1987-10-17 | 1996-12-18 | ソニー株式会社 | Image defect correction device for solid-state imaging device |
| JPH10327355A (en) * | 1997-05-23 | 1998-12-08 | Sony Corp | Defect detection method and apparatus for solid-state imaging device |
| JP5946634B2 (en) * | 2011-12-02 | 2016-07-06 | 富士機械製造株式会社 | Pixel data processing device |
-
2014
- 2014-03-25 JP JP2014061618A patent/JP6284799B2/en active Active
-
2015
- 2015-03-17 US US14/659,795 patent/US9565380B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20010038416A1 (en) * | 1998-09-30 | 2001-11-08 | Ivo Koren | Method and device for correcting defective pixels of an image sensor |
| US20060159361A1 (en) * | 2005-01-19 | 2006-07-20 | Megachips Lsi Solutions Inc. | Image filter, image filtering method and computer program |
| US20110032393A1 (en) * | 2009-08-07 | 2011-02-10 | Canon Kabushiki Kaisha | Defective pixel data correcting apparatus, image capturing apparatus, and method for correcting defective pixel data |
| US20110242383A1 (en) * | 2010-04-01 | 2011-10-06 | Canon Kabushiki Kaisha | Solid-state image pickup device and method of driving the same |
| JP2012114721A (en) | 2010-11-25 | 2012-06-14 | Canon Inc | Image processing device and method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6284799B2 (en) | 2018-02-28 |
| US20150281508A1 (en) | 2015-10-01 |
| JP2015186083A (en) | 2015-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100910670B1 (en) | Image correction method and apparatus for passenger protection system | |
| US8904069B2 (en) | Data processing apparatus and image processing apparatus | |
| US20120216095A1 (en) | Memory device and memory control unit | |
| US11574614B2 (en) | Switching method and switching device for display channel, display driving device and display device | |
| JP2009169257A (en) | Memory control circuit and image forming apparatus | |
| CN117939225B (en) | Frame rate adjusting method and related equipment | |
| US9565380B2 (en) | Data processor and data processing method including a decision circuit that compares input pixel data to defective pixel data | |
| US11201622B2 (en) | Information processing apparatus, control method thereof, and non-transitory computer-readable storage medium | |
| CN112837256B (en) | Circuit system and detection method for Harris corner detection | |
| JP6856481B2 (en) | Frame synchronization device and frequency difference detection method | |
| CN115119532B (en) | Signal processing method and device, display device | |
| CN106415450A (en) | Module, system, and method for producing an image matrix for gesture recognition | |
| US12499798B2 (en) | Data processing device and control method thereof, and display device | |
| US20180270431A1 (en) | Imaging apparatus, correction method for defective pixel, and computer readable storage medium | |
| US10326433B2 (en) | Clock filter and clock processing method | |
| KR20090001177A (en) | Method and apparatus for generating image sensing signal | |
| CN117280410B (en) | Read time sequence control method, device and computer readable storage medium | |
| US9978424B2 (en) | Image processing apparatus | |
| CN104020870B (en) | Touch detection method and device thereof | |
| CN106937157B (en) | Device for automatically synchronizing cross-clock domain video and operation method thereof | |
| US8462167B2 (en) | Memory access control circuit and image processing system | |
| US20250061838A1 (en) | Electronic device and method for controlling frame rate of application | |
| US20240214673A1 (en) | Image system | |
| US8134764B2 (en) | Image processing device with a CSA accumulator for improving image quality and related method | |
| JP5187618B2 (en) | Counter device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: MEGACHIPS CORPORATION, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:KOTANI, MANABU;REEL/FRAME:035179/0195 Effective date: 20150201 |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |