JP2011030005A - Image processing device and image forming device - Google Patents

Image processing device and image forming device Download PDF

Info

Publication number
JP2011030005A
JP2011030005A JP2009174461A JP2009174461A JP2011030005A JP 2011030005 A JP2011030005 A JP 2011030005A JP 2009174461 A JP2009174461 A JP 2009174461A JP 2009174461 A JP2009174461 A JP 2009174461A JP 2011030005 A JP2011030005 A JP 2011030005A
Authority
JP
Japan
Prior art keywords
filter
pixel data
image processing
filter coefficient
product
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.)
Pending
Application number
JP2009174461A
Other languages
Japanese (ja)
Inventor
Yukio Shibata
行雄 柴田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2009174461A priority Critical patent/JP2011030005A/en
Publication of JP2011030005A publication Critical patent/JP2011030005A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing device having a small circuit size of a filter circuit, and also to provide an image forming device. <P>SOLUTION: A filter circuit 1 generates filter-processed pixel data on the basis of the calculation product of the predetermined number of attention pixel data and the identical number of filter coefficients by shifting the predetermined number of attention pixel data of the pixel data arranged in one line by one pixel. The filter circuit 1 is equipped with: a multiplier 21 for multiplying the pixel data by one of the two filter coefficients having an identical value out of a plurality of filter coefficients having the value symmetrical centering around a center of a filter coefficient array; and delay circuits 24, 25 for delaying the value of multiplication result by the multiplier until the use of the calculation product of the other out of these two filter coefficients and the pixel data. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像処理装置および画像形成装置に関するものである。   The present invention relates to an image processing apparatus and an image forming apparatus.

近年、コピー機やプリンタなどの画像形成装置において、高品位な印刷が求められるようになっている。このため、ガウシアンフィルタ、ラプラシアンフィルタなどの様々なフィルタ回路を使用して、画像の鮮鋭化、平滑化、エッジ検出などが行われる(例えば特許文献1参照)。   In recent years, high-quality printing has been demanded in image forming apparatuses such as copiers and printers. For this reason, image sharpening, smoothing, edge detection, and the like are performed using various filter circuits such as a Gaussian filter and a Laplacian filter (see, for example, Patent Document 1).

特許第3950871号公報Japanese Patent No. 3950871

上述のようなフィルタ回路では、フィルタ係数と画像データとの乗算を多く行うため、フィルタ回路の回路規模が大きくなり、コストが高くなってしまう。   In the filter circuit as described above, the multiplication of the filter coefficient and the image data is often performed, so that the circuit scale of the filter circuit is increased and the cost is increased.

本発明は、上記の問題に鑑みてなされたものであり、フィルタ回路の回路規模が小さい画像処理装置および画像形成装置を得ることを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus and an image forming apparatus having a filter circuit with a small circuit scale.

上記の課題を解決するために、本発明では以下のようにした。   In order to solve the above problems, the present invention is configured as follows.

本発明に係る画像処理装置は、1ライン内に配列された画素データにおける所定の数の注目画素データを所定の数より少ない画素数ずつずらしながら、所定の数の注目画素データと同一数のフィルタ係数との積に基づきフィルタ処理後の画素データを生成する画像処理装置である。そして、本発明に係る画像処理装置は、フィルタ係数配列の中央を中心にしてフィルタ係数の絶対値が対称となっている複数のフィルタ係数のうち、同一の絶対値を有する2つのフィルタ係数のうちの一方を画素データに乗算する乗算器と、それらの2つのフィルタ係数のうちの他方とその画像データとの積を使用するときまで、乗算器による乗算結果の値を遅延させる遅延回路とを備える。   The image processing apparatus according to the present invention has the same number of filters as a predetermined number of target pixel data while shifting a predetermined number of target pixel data in pixel data arranged in one line by a number of pixels smaller than the predetermined number. An image processing apparatus that generates pixel data after filter processing based on a product with a coefficient. The image processing apparatus according to the present invention includes a plurality of filter coefficients having the same absolute value among a plurality of filter coefficients in which the absolute values of the filter coefficients are symmetrical about the center of the filter coefficient array. And a delay circuit for delaying the value of the multiplication result by the multiplier until the product of the other of the two filter coefficients and the image data is used. .

これにより、乗算器の数が少なくなるため、フィルタ回路の回路規模を小さくすることができる。特に、フィルタ係数および画素データのビット数が多いほど乗算器の回路規模が大きくなるため、フィルタ係数および画素データのビット数が多いほど、この効果が顕著になる。   Thereby, since the number of multipliers is reduced, the circuit scale of the filter circuit can be reduced. In particular, since the circuit scale of the multiplier increases as the number of filter coefficients and the number of pixel data bits increases, this effect becomes more prominent as the number of filter coefficient and pixel data bits increases.

また、本発明に係る画像処理装置は、上記の画像処理装置に加え、次のようにしてもよい。この場合、複数のフィルタ係数は、フィルタ係数配列の中央を中心にしてフィルタ係数の値が対称となっている。そして、画像処理装置は、乗算器による乗算結果に、遅延回路により遅延したフィルタ係数と画像データとの積を加算してフィルタ処理後の画素データを生成する加算器をさらに備える。   In addition to the image processing apparatus described above, the image processing apparatus according to the present invention may be configured as follows. In this case, the filter coefficients of the plurality of filter coefficients are symmetrical about the center of the filter coefficient array. The image processing apparatus further includes an adder that adds the product of the filter coefficient delayed by the delay circuit and the image data to the multiplication result of the multiplier to generate pixel data after filtering.

これにより、平滑化処理を行うフィルタ回路の回路規模を小さくすることができる。   As a result, the circuit scale of the filter circuit that performs the smoothing process can be reduced.

また、本発明に係る画像処理装置は、上記の画像処理装置に加え、次のようにしてもよい。この場合、複数のフィルタ係数は、フィルタ係数配列の中央を中心にしてフィルタ係数の絶対値が対称となっており、かつ、対称となる2つのフィルタ係数の一方が正であり他方が負である。そして、画像処理装置は、乗算器による乗算結果に、遅延回路により遅延したフィルタ係数と画像データとの積の正負を反転させた値を加算してフィルタ処理後の画素データを生成する加算器をさらに備える。   In addition to the image processing apparatus described above, the image processing apparatus according to the present invention may be configured as follows. In this case, in the plurality of filter coefficients, the absolute values of the filter coefficients are symmetric about the center of the filter coefficient array, and one of the two symmetric filters is positive and the other is negative. . The image processing apparatus adds an adder that generates pixel data after filtering by adding a value obtained by inverting the sign of the product of the filter coefficient delayed by the delay circuit and the image data to the multiplication result of the multiplier. Further prepare.

これにより、エッジ検出処理を行うフィルタ回路の回路規模を小さくすることができる。   As a result, the circuit scale of the filter circuit that performs edge detection processing can be reduced.

また、本発明に係る画像処理装置は、上記の画像処理装置のいずれかに加え、次のようにしてもよい。この場合、画像処理装置は、直列に接続され1ラインの画素データを保持する複数のラインバッファと、複数のラインバッファのそれぞれから出力される画素データとフィルタ係数との積を出力する複数のラインフィルタ回路とをさらに備える。そして、ラインバッファの数は、注目画素データの数より1だけ少ない数であり、複数のラインフィルタ回路は、上述の乗算器および上述の遅延回路と同一の乗算器および遅延回路をそれぞれ有する。   The image processing apparatus according to the present invention may be as follows in addition to any of the image processing apparatuses described above. In this case, the image processing apparatus includes a plurality of line buffers connected in series to hold one line of pixel data, and a plurality of lines that output a product of the pixel data output from each of the plurality of line buffers and a filter coefficient. And a filter circuit. The number of line buffers is one less than the number of target pixel data, and the plurality of line filter circuits have the same multiplier and delay circuit as the above-described multiplier and the above-described delay circuit, respectively.

これにより、複数ライン分の画素データを使用してフィルタリングを行う場合、乗算器の数がより少なくなるため、フィルタ回路の回路規模をより小さくすることができる。   As a result, when filtering is performed using pixel data for a plurality of lines, the number of multipliers is reduced, so that the circuit scale of the filter circuit can be further reduced.

また、本発明に係る画像処理装置は、上記の画像処理装置のいずれかに加え、次のようにしてもよい。この場合、上述のフィルタ係数は、ガウシアンフィルタまたはラプラシアンフィルタのフィルタ係数とされる。   The image processing apparatus according to the present invention may be as follows in addition to any of the image processing apparatuses described above. In this case, the above filter coefficient is a filter coefficient of a Gaussian filter or a Laplacian filter.

本発明に係る画像形成装置は、上記の画像処理装置のいずれかを備え、その画像処理装置により生成されたフィルタ処理後の画素データに基づいて画像を形成する。   An image forming apparatus according to the present invention includes any of the image processing apparatuses described above, and forms an image based on pixel data after filtering generated by the image processing apparatus.

本発明によれば、フィルタ回路の回路規模が小さい画像処理装置および画像形成装置を得ることができる。   According to the present invention, it is possible to obtain an image processing apparatus and an image forming apparatus in which the circuit scale of the filter circuit is small.

図1は、本発明の実施の形態1に係る画像処理装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to Embodiment 1 of the present invention. 図2は、図1におけるフィルタ回路1の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the filter circuit 1 in FIG. 図3は、図1に示す画像処理装置によるフィルタ係数と画素データとの積の例を示す図である。FIG. 3 is a diagram illustrating an example of a product of a filter coefficient and pixel data by the image processing apparatus illustrated in FIG.

以下、図に基づいて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

実施の形態1. Embodiment 1 FIG.

図1は、本発明の実施の形態1に係る画像処理装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to Embodiment 1 of the present invention.

図1において、フィルタ回路1は、3ラインのうちの各ライン内に配列された画素データにおける3つの注目画素データを1画素ずつずらしながら、その3つの注目画素データと同一数のフィルタ係数との積に基づきフィルタ処理後の画素データを生成する回路である。なお、図1における画像データは、1ラインごとの画素データを含む。   In FIG. 1, the filter circuit 1 shifts three pixel-of-interest data in the pixel data arranged in each of the three lines one pixel at a time, and outputs the same number of filter coefficients as the three pixel-of-interest data. This is a circuit for generating pixel data after filtering based on the product. Note that the image data in FIG. 1 includes pixel data for each line.

この実施の形態1におけるフィルタ回路1は、3ライン分の画素データを使用して、3行3列の、合計9個のフィルタ係数A11〜A33のフィルタ処理を行う。フィルタ処理後の画素データX(i,j)は、次式で示される。   The filter circuit 1 according to the first embodiment performs a filtering process on a total of nine filter coefficients A11 to A33 in three rows and three columns using pixel data for three lines. The pixel data X (i, j) after the filter processing is expressed by the following equation.

X(i,j)=A11×d(i+1,j−1)+A12×d(i,j−1)+A13×d(i−1,j−1)+A21×d(i+1,j)+A22×d(i,j)+A23×d(i−1,j)+A31×d(i+1,j+1)+A32×d(i,j+1)+A33×d(i−1,j+1)   X (i, j) = A11 * d (i + 1, j-1) + A12 * d (i, j-1) + A13 * d (i-1, j-1) + A21 * d (i + 1, j) + A22 * d (I, j) + A23 * d (i-1, j) + A31 * d (i + 1, j + 1) + A32 * d (i, j + 1) + A33 * d (i-1, j + 1)

フィルタ係数A11〜A33としては、例えば、ガウシアンフィルタまたはラプラスフィルタのフィルタ係数が使用される。   As the filter coefficients A11 to A33, for example, filter coefficients of a Gaussian filter or a Laplace filter are used.

平滑化処理の場合、各行のフィルタ係数配列の中央を中心にして値が対称とされる。つまり、フィルタ係数A11,A13の値は同一とされ、フィルタ係数A21,A23の値は同一とされ、フィルタ係数A31,A33の値は同一とされる。   In the case of the smoothing process, the values are symmetric about the center of the filter coefficient array of each row. That is, the values of the filter coefficients A11 and A13 are the same, the values of the filter coefficients A21 and A23 are the same, and the values of the filter coefficients A31 and A33 are the same.

また、ラインバッファ2−1,2−2は、直列に接続され1ラインの画素データを保持する記憶回路である。この実施の形態1では、3ライン分の画素データが使用されるため、2つのラインバッファ2−1,2−2が設けられている。   The line buffers 2-1 and 2-2 are storage circuits that are connected in series and hold one line of pixel data. In the first embodiment, since pixel data for three lines is used, two line buffers 2-1 and 2-2 are provided.

図2は、図1におけるフィルタ回路1の構成を示すブロック図である。   FIG. 2 is a block diagram showing the configuration of the filter circuit 1 in FIG.

図2に示すように、フィルタ回路1は、画素データのラインごとにラインフィルタ回路11−1〜11−3を有し、さらにラインフィルタ回路11−1〜11−3の出力値の和を演算する加算器12を有する。   As shown in FIG. 2, the filter circuit 1 has line filter circuits 11-1 to 11-3 for each line of pixel data, and further calculates the sum of output values of the line filter circuits 11-1 to 11-3. The adder 12 has

ラインフィルタ回路11−1は、外部から供給される画素データとフィルタ係数A31,A32,A33との積を出力する回路である。ラインフィルタ回路11−2は、ラインバッファ2−1から出力される画素データとフィルタ係数A21,A22,A23との積を出力する回路である。ラインフィルタ回路11−3は、ラインバッファ2−2から出力される画素データとフィルタ係数A31,A32,A33との積を出力する回路である。   The line filter circuit 11-1 is a circuit that outputs a product of pixel data supplied from the outside and filter coefficients A31, A32, and A33. The line filter circuit 11-2 is a circuit that outputs the product of the pixel data output from the line buffer 2-1 and the filter coefficients A21, A22, A23. The line filter circuit 11-3 is a circuit that outputs the product of the pixel data output from the line buffer 2-2 and the filter coefficients A31, A32, A33.

ラインフィルタ回路11−1では、乗算器21は、画素データとフィルタ係数A31との積を演算する。遅延回路22は、画素データを、次の画素データが供給される時点まで遅延させる。乗算器23は、遅延回路22から供給される1つ前の画素データとフィルタ係数A32との積を演算する。遅延回路24は、画素データとフィルタ係数A31との積を、次の画素データが供給される時点まで遅延させる。遅延回路25は、その画素データとフィルタ係数A31との積を、次の画素データが供給される時点からさらにその次の画素データが供給される時点まで遅延させる。つまり、遅延回路24,25は、2画素分、画素データとフィルタ係数A31との積を遅延させる。なお、遅延回路22,24,25は例えばDフリップフロップで実現される。   In the line filter circuit 11-1, the multiplier 21 calculates the product of the pixel data and the filter coefficient A31. The delay circuit 22 delays the pixel data until the next pixel data is supplied. The multiplier 23 calculates the product of the previous pixel data supplied from the delay circuit 22 and the filter coefficient A32. The delay circuit 24 delays the product of the pixel data and the filter coefficient A31 until the next pixel data is supplied. The delay circuit 25 delays the product of the pixel data and the filter coefficient A31 from the time when the next pixel data is supplied to the time when the next pixel data is supplied. That is, the delay circuits 24 and 25 delay the product of the pixel data and the filter coefficient A31 by two pixels. The delay circuits 22, 24, and 25 are realized by D flip-flops, for example.

このように、乗算器21は、フィルタ係数配列の中央を中心にして値が対称となっている複数のフィルタ係数A31、A32,A33のうち、同一値を有する2つのフィルタ係数A31,A33のうちの一方(フィルタ係数A31)を画素データに乗算する乗算器であり、遅延回路24,25は、それらの2つのフィルタ係数A31,A33のうちの他方(フィルタ係数A33)とその画像データとの積を使用するときまで、乗算器21による乗算結果の値(画素データとフィルタ係数A31との積)を遅延させる遅延回路である。   As described above, the multiplier 21 has the same value among the two filter coefficients A31, A33 having the same value among the plurality of filter coefficients A31, A32, A33 whose values are symmetrical around the center of the filter coefficient array. 1 (filter coefficient A31) is multiplied by the pixel data, and the delay circuits 24 and 25 are the product of the other of the two filter coefficients A31 and A33 (filter coefficient A33) and the image data. This is a delay circuit that delays the value of the multiplication result by the multiplier 21 (the product of the pixel data and the filter coefficient A31) until it is used.

なお、ラインフィルタ回路11−2,11−3は、ラインフィルタ回路11−1と同一の回路構成を有する。   The line filter circuits 11-2 and 11-3 have the same circuit configuration as the line filter circuit 11-1.

次に、上記装置の動作について説明する。   Next, the operation of the above apparatus will be described.

画像データとして、所定の周期で(例えばクロック信号の1クロックごとに)、画素データがフィルタ回路1のラインフィルタ回路11−1およびラインバッファ2−1に供給され、また、ラインバッファ2−1から、同一列の画素データがフィルタ回路1のラインフィルタ回路11−2およびラインバッファ2−2に供給され、また、ラインバッファ2−2から、同一列の画素データがフィルタ回路1のラインフィルタ回路11−3に供給される。   As image data, pixel data is supplied to the line filter circuit 11-1 and the line buffer 2-1 of the filter circuit 1 at a predetermined period (for example, every clock signal), and from the line buffer 2-1. The pixel data of the same column is supplied to the line filter circuit 11-2 and the line buffer 2-2 of the filter circuit 1, and the pixel data of the same column is supplied from the line buffer 2-2 to the line filter circuit 11 of the filter circuit 1. -3.

ラインフィルタ回路11−1では、ある時点において、乗算器21から、画素データd(i+1,j+1)とフィルタ係数A31との積が出力され、乗算器23から、画素データd(i,j+1)とフィルタ係数A32との積が出力され、遅延回路25から、画素データd(i−1,j+1)とフィルタ係数A31との積が出力される。   In the line filter circuit 11-1, the product of the pixel data d (i + 1, j + 1) and the filter coefficient A 31 is output from the multiplier 21 at a certain time, and the pixel data d (i, j + 1) is output from the multiplier 23. The product of the filter coefficient A32 is output, and the product of the pixel data d (i-1, j + 1) and the filter coefficient A31 is output from the delay circuit 25.

なお、フィルタ係数A31の値とフィルタ係数A33の値との値は同一であるので、画素データd(i−1,j+1)とフィルタ係数A31との積の値は、画素データd(i−1,j+1)とフィルタ係数A33との積の値と同一である。   Since the value of the filter coefficient A31 and the value of the filter coefficient A33 are the same, the value of the product of the pixel data d (i−1, j + 1) and the filter coefficient A31 is the pixel data d (i−1). , J + 1) and the filter coefficient A33.

また、同一の時点において、ラインフィルタ回路11−2から、画素データd(i+1,j)とフィルタ係数A21との積、画素データd(i,j)とフィルタ係数A22との積、および、画素データd(i−1,j)とフィルタ係数A21との積が出力される。   At the same time, from the line filter circuit 11-2, the product of the pixel data d (i + 1, j) and the filter coefficient A21, the product of the pixel data d (i, j) and the filter coefficient A22, and the pixel The product of the data d (i-1, j) and the filter coefficient A21 is output.

また、同一の時点において、ラインフィルタ回路11−3から、画素データd(i+1,j−1)とフィルタ係数A11との積、画素データd(i,j−1)とフィルタ係数A12との積、および、画素データd(i−1,j−1)とフィルタ係数A11との積が出力される。   At the same time, the product of the pixel data d (i + 1, j-1) and the filter coefficient A11 and the product of the pixel data d (i, j-1) and the filter coefficient A12 are output from the line filter circuit 11-3. , And the product of the pixel data d (i−1, j−1) and the filter coefficient A11 is output.

そして、加算器12は、ラインフィルタ回路11−1,11−2,11−3からの、合計9個のこれらの積の和を演算し、フィルタ処理後の画素データX(i,j)として出力する。   Then, the adder 12 calculates the sum of a total of nine products from the line filter circuits 11-1, 11-2, and 11-3 to obtain pixel data X (i, j) after the filter processing. Output.

ここで、より詳細にラインフィルタ回路11−1の動作を説明する。図3は、図1に示す画像処理装置によるフィルタ係数と画素データとの積の例を示す図である。   Here, the operation of the line filter circuit 11-1 will be described in more detail. FIG. 3 is a diagram illustrating an example of a product of a filter coefficient and pixel data by the image processing apparatus illustrated in FIG.

図3(A)は、ラインフィルタ回路11−1に供給される画素データd1〜d8を示す。画素データd1〜d8は、d1,d2,・・・,d8の順番でラインフィルタ回路11−1に供給される。   FIG. 3A shows pixel data d1 to d8 supplied to the line filter circuit 11-1. Pixel data d1 to d8 are supplied to the line filter circuit 11-1 in the order of d1, d2,..., D8.

図3(B)は、フィルタ処理後の画素データX(i,j)を求める際に必要となるフィルタ係数と画素データとの積を示し、図3(C)は、次の次のフィルタ処理後の画素データX(i+2,j)を求める際に必要となるフィルタ係数と画素データとの積を示している。   FIG. 3B shows a product of the filter coefficient and the pixel data necessary for obtaining the pixel data X (i, j) after the filter processing, and FIG. 3C shows the next next filter processing. This shows the product of the filter coefficient and the pixel data necessary for obtaining the subsequent pixel data X (i + 2, j).

図3(B)に示す時点では、画素データd5とフィルタ係数A31との積が使用される。図3(C)に示す時点では、画素データd5とフィルタ係数A33との積が使用される。   At the time shown in FIG. 3B, the product of the pixel data d5 and the filter coefficient A31 is used. At the time shown in FIG. 3C, the product of the pixel data d5 and the filter coefficient A33 is used.

このため、ラインフィルタ回路11−1では、遅延回路24,25により、画素データd5とフィルタ係数A31との積が2画素分遅延し、フィルタ処理後の画素データX(i,j)の演算、およびフィルタ処理後の画素データX(i−2,j)の演算に、2度使用される。このため、画素データd5とフィルタ係数A33との積を演算する乗算器が不要となる。   For this reason, in the line filter circuit 11-1, the delay circuits 24 and 25 delay the product of the pixel data d5 and the filter coefficient A31 by two pixels, and calculate the pixel data X (i, j) after the filter processing. And it is used twice for the calculation of the pixel data X (i−2, j) after the filter processing. This eliminates the need for a multiplier that calculates the product of the pixel data d5 and the filter coefficient A33.

以上のように、上記実施の形態1によれば、フィルタ回路1は、1ライン内に配列された画素データにおける3つの注目画素データを1画素ずつずらしながら、3つの注目画素データと同一数のフィルタ係数との積に基づきフィルタ処理後の画素データを生成する。そして、フィルタ回路1は、フィルタ係数配列{Ai1,Ai2,Ai3}(i=1,2,3)の中央を中心にして値が対称となっている複数のフィルタ係数Ai1,Ai2,Ai3のうち、同一値を有する2つのフィルタ係数Ai1,Ai3のうちの一方を画素データに乗算する乗算器21と、それらの2つのフィルタ係数のうちの他方とその画像データとの積を使用するときまで、乗算器21による乗算結果の値を遅延させる遅延回路24,25とを備える。   As described above, according to the first embodiment, the filter circuit 1 shifts the three pixel-of-interest data in the pixel data arranged in one line by one pixel, and the same number as the three pixel-of-interest data. Pixel data after filtering is generated based on the product with the filter coefficient. The filter circuit 1 includes a plurality of filter coefficients Ai1, Ai2, and Ai3 whose values are symmetric about the center of the filter coefficient array {Ai1, Ai2, Ai3} (i = 1, 2, 3). Until the time when the multiplier 21 that multiplies the pixel data by one of the two filter coefficients Ai1 and Ai3 having the same value and the product of the other of the two filter coefficients and the image data is used. Delay circuits 24 and 25 for delaying the value of the multiplication result by the multiplier 21 are provided.

これにより、乗算器の数が少なくなるため、フィルタ回路の回路規模を小さくすることができる。特に、実施の形態1によれば、平滑化処理を行うフィルタ回路の回路規模を小さくすることができる。   Thereby, since the number of multipliers is reduced, the circuit scale of the filter circuit can be reduced. In particular, according to the first embodiment, the circuit scale of the filter circuit that performs the smoothing process can be reduced.

実施の形態2. Embodiment 2. FIG.

実施の形態1では、平滑化処理のために、各行のフィルタ係数配列の中央を中心にしてフィルタ係数の値が対称とされるが、実施の形態2では、エッジ検出処理のために、各行のフィルタ係数配列の中央を中心にしてフィルタ係数の絶対値が対称とされ、かつ、対称となる2つのフィルタ係数の一方が正であり他方が負である。例えば、3行3列のフィルタ係数A11〜A33の場合、Ai1=−Ai3となる(i=1,2,3)。   In the first embodiment, for smoothing processing, the filter coefficient values are symmetric about the center of the filter coefficient array of each row. In the second embodiment, for each edge detection processing, The absolute value of the filter coefficient is symmetric around the center of the filter coefficient array, and one of the two symmetric filter coefficients is positive and the other is negative. For example, in the case of 3 × 3 filter coefficients A11 to A33, Ai1 = −Ai3 (i = 1, 2, 3).

実施の形態2では、ラインフィルタ回路11−1,11−2,11−3において、遅延回路25と加算器12との間に、遅延回路25の出力値の正負を反転させる回路が追加される。   In the second embodiment, in the line filter circuits 11-1, 11-2, and 11-3, a circuit that inverts the sign of the output value of the delay circuit 25 is added between the delay circuit 25 and the adder 12. .

実施の形態2における画像処理装置のその他の構成および動作については実施の形態1と同様であるので、その説明を省略する。   Since other configurations and operations of the image processing apparatus according to the second embodiment are the same as those of the first embodiment, description thereof is omitted.

以上のように、上記実施の形態2によれば、実施の形態1と同様に、乗算器の数が少なくなるため、フィルタ回路の回路規模を小さくすることができる。特に、実施の形態2によれば、エッジ検出処理を行うフィルタ回路の回路規模を小さくすることができる。   As described above, according to the second embodiment, as in the first embodiment, since the number of multipliers is reduced, the circuit scale of the filter circuit can be reduced. In particular, according to the second embodiment, the circuit scale of the filter circuit that performs the edge detection process can be reduced.

なお、上述の各実施の形態は、本発明の好適な例であるが、本発明は、これらに限定されるものではなく、本発明の要旨を逸脱しない範囲において、種々の変形、変更が可能である。   Each embodiment described above is a preferred example of the present invention, but the present invention is not limited to these, and various modifications and changes can be made without departing from the scope of the present invention. It is.

例えば、上記各実施の形態では、3行3列のフィルタ係数が使用されているが、他の数のフィルタ係数(例えば、N行N列のフィルタ係数、N>3)を使用してもよい。その場合、フィルタ係数の数に応じて、ラインバッファおよびラインフィルタ回路の数、ラインフィルタ回路の回路構成を変更すればよい。例えば、実施の形態1において、フィルタ係数が5行5列である場合には(つまり、25個のフィルタ係数A11〜A55を使用する場合)、ラインバッファの数は4になり、ラインフィルタ回路の数は5になり、フィルタ係数Ai1の値とフィルタ係数Ai5の値とが同一となり、フィルタ係数Ai2の値とフィルタ係数Ai4の値とが同一となる(i=1・・・,,5)ため、画素データとフィルタ係数Ai1の値との積を4画素分遅延させて画素データとフィルタ係数Ai5の値との積として使用し、画素データとフィルタ係数Ai2の値との積を2画素分遅延させて画素データとフィルタ係数Ai4の値との積として使用することで、画素データとフィルタ係数Ai5の値との積を演算する乗算器および画素データとフィルタ係数Ai4の値との積を演算する乗算器を省略することができる。   For example, in each of the above embodiments, filter coefficients of 3 rows and 3 columns are used, but other numbers of filter coefficients (for example, filter coefficients of N rows and N columns, N> 3) may be used. . In that case, the number of line buffers and line filter circuits and the circuit configuration of the line filter circuit may be changed in accordance with the number of filter coefficients. For example, in the first embodiment, when the filter coefficient is 5 rows and 5 columns (that is, when 25 filter coefficients A11 to A55 are used), the number of line buffers is 4, and the line filter circuit The number is 5, the value of the filter coefficient Ai1 and the value of the filter coefficient Ai5 are the same, and the value of the filter coefficient Ai2 and the value of the filter coefficient Ai4 are the same (i = 1..., 5). The product of the pixel data and the filter coefficient Ai1 is delayed by 4 pixels and used as the product of the pixel data and the filter coefficient Ai5, and the product of the pixel data and the filter coefficient Ai2 is delayed by 2 pixels. And a multiplier that calculates the product of the pixel data and the value of the filter coefficient Ai5 by using the pixel data and the value of the filter coefficient Ai4, and the pixel data and the filter coefficient A. The product of the value of 4 may be omitted multiplier for computing.

なお、上記各実施の形態に係る画像処理装置は、プリンタ、コピー機、複合機などの画像形成装置に内蔵可能である。その場合には、画像形成装置は、上記実施の形態に係る画像処理装置により生成されたフィルタ処理後の画素データを使用して、画像の形成(印刷など)を行う。   The image processing apparatus according to each of the above embodiments can be incorporated in an image forming apparatus such as a printer, a copier, or a multifunction peripheral. In that case, the image forming apparatus forms an image (printing or the like) using the pixel data after the filter processing generated by the image processing apparatus according to the above embodiment.

本発明は、例えば、プリンタ、コピー機、複合機などの画像形成装置に適用可能である。   The present invention can be applied to an image forming apparatus such as a printer, a copier, and a multifunction peripheral.

2−1,2−2 ラインバッファ
11−1〜11−3 ラインフィルタ回路
12 加算器
21 乗算器
24,25 遅延回路
2-1, 2-2 Line buffer 11-1 to 11-3 Line filter circuit 12 Adder 21 Multiplier 24, 25 Delay circuit

Claims (6)

1ライン内に配列された画素データにおける所定の数の注目画素データを前記所定の数より少ない画素数ずつずらしながら、前記所定の数の注目画素データと同一数のフィルタ係数との積に基づきフィルタ処理後の画素データを生成する画像処理装置において、
フィルタ係数配列の中央を中心にしてフィルタ係数の絶対値が対称となっている複数のフィルタ係数のうち、同一の絶対値を有する2つのフィルタ係数のうちの一方を画素データに乗算する乗算器と、
前記2つのフィルタ係数のうちの他方とその画像データとの積を使用するときまで、前記乗算器による乗算結果の値を遅延させる遅延回路と、
を備えることを特徴とする画像処理装置。
A filter based on the product of the predetermined number of target pixel data and the same number of filter coefficients while shifting a predetermined number of target pixel data in the pixel data arranged in one line by a smaller number of pixels than the predetermined number. In an image processing apparatus that generates pixel data after processing,
A multiplier that multiplies pixel data by one of two filter coefficients having the same absolute value among a plurality of filter coefficients whose absolute values are symmetrical about the center of the filter coefficient array; ,
A delay circuit for delaying the value of the multiplication result by the multiplier until the product of the other of the two filter coefficients and the image data is used;
An image processing apparatus comprising:
前記乗算器による乗算結果に、前記遅延回路により遅延した前記フィルタ係数と前記画像データとの積を加算してフィルタ処理後の画素データを生成する加算器をさらに備え、
前記複数のフィルタ係数は、フィルタ係数配列の中央を中心にしてフィルタ係数の値が対称となっていること、
を特徴とする請求項1記載の画像処理装置。
An adder for adding the product of the filter coefficient delayed by the delay circuit and the image data to the multiplication result by the multiplier to generate pixel data after filtering;
The plurality of filter coefficients have symmetrical filter coefficient values around the center of the filter coefficient array;
The image processing apparatus according to claim 1.
前記乗算器による乗算結果に、前記遅延回路により遅延した前記フィルタ係数と前記画像データとの積の正負を反転させた値を加算してフィルタ処理後の画素データを生成する加算器をさらに備え、
前記複数のフィルタ係数は、フィルタ係数配列の中央を中心にしてフィルタ係数の絶対値が対称となっており、かつ、対称となる2つのフィルタ係数の一方が正であり他方が負であること、
を特徴とする請求項1記載の画像処理装置。
An adder that generates pixel data after filtering by adding a value obtained by inverting the sign of the product of the filter coefficient delayed by the delay circuit and the image data to the multiplication result by the multiplier;
The plurality of filter coefficients are such that the absolute values of the filter coefficients are symmetric with respect to the center of the filter coefficient array, and one of the two symmetric filters is positive and the other is negative.
The image processing apparatus according to claim 1.
直列に接続され1ラインの画素データを保持する複数のラインバッファと、
前記複数のラインバッファのそれぞれから出力される画素データと前記フィルタ係数との積を出力する複数のラインフィルタ回路とをさらに備え、
前記ラインバッファの数は、前記注目画素データの数より1だけ少ない数であり、
前記複数のラインフィルタ回路は、前記乗算器および前記遅延回路と同一の乗算器および遅延回路をそれぞれ有すること、
を特徴とする請求項1から請求項3のいずれか1項記載の画像処理装置。
A plurality of line buffers connected in series to hold one line of pixel data;
A plurality of line filter circuits for outputting a product of pixel data output from each of the plurality of line buffers and the filter coefficient;
The number of the line buffers is one less than the number of the target pixel data,
The plurality of line filter circuits each include a multiplier and a delay circuit identical to the multiplier and the delay circuit;
The image processing apparatus according to claim 1, wherein:
前記フィルタ係数は、ガウシアンフィルタまたはラプラシアンフィルタのフィルタ係数であることを特徴とする請求項1から請求項4のいずれか1項記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the filter coefficient is a filter coefficient of a Gaussian filter or a Laplacian filter. 請求項1から請求項5のいずれか1項記載の画像処理装置を備え、
前記画像処理装置により生成されたフィルタ処理後の画素データに基づいて画像を形成すること、
を特徴とする画像形成装置。
An image processing apparatus according to any one of claims 1 to 5, comprising:
Forming an image based on the filtered pixel data generated by the image processing device;
An image forming apparatus.
JP2009174461A 2009-07-27 2009-07-27 Image processing device and image forming device Pending JP2011030005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009174461A JP2011030005A (en) 2009-07-27 2009-07-27 Image processing device and image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009174461A JP2011030005A (en) 2009-07-27 2009-07-27 Image processing device and image forming device

Publications (1)

Publication Number Publication Date
JP2011030005A true JP2011030005A (en) 2011-02-10

Family

ID=43638194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009174461A Pending JP2011030005A (en) 2009-07-27 2009-07-27 Image processing device and image forming device

Country Status (1)

Country Link
JP (1) JP2011030005A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6324468A (en) * 1986-07-17 1988-02-01 Fuji Xerox Co Ltd Filter circuit
JPH05135169A (en) * 1991-11-13 1993-06-01 Kawasaki Steel Corp Two-dimensional spatial filter circuit
JP2004199222A (en) * 2002-12-17 2004-07-15 Nec Corp Symmetrical image filtering processor, program and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6324468A (en) * 1986-07-17 1988-02-01 Fuji Xerox Co Ltd Filter circuit
JPH05135169A (en) * 1991-11-13 1993-06-01 Kawasaki Steel Corp Two-dimensional spatial filter circuit
JP2004199222A (en) * 2002-12-17 2004-07-15 Nec Corp Symmetrical image filtering processor, program and method

Similar Documents

Publication Publication Date Title
US8504601B2 (en) FIR filter with reduced element count
EP2026323A3 (en) Image processing circuit, display device, and printing device
JP4102198B2 (en) 2D pyramid filter architecture
JP2011030005A (en) Image processing device and image forming device
AU2014380166B2 (en) A method for electronic zoom with sub-pixel offset
JP4323808B2 (en) Two-dimensional pyramid filter architecture
JP2016033754A (en) Image processing device, image processing method and program
JP5575048B2 (en) Image processing apparatus and image forming apparatus
KR100550242B1 (en) Multiplierless pyramid filter
KR20030085583A (en) Pyramid Filter
JP2006201914A (en) Unit, method, and computer program for image filtering
JP2006254175A (en) Contour correction circuit of color shift video signal, and method therefor
JP2004530206A (en) Two-dimensional pyramid filter architecture
US20110087716A1 (en) Multi-rate filter bank
EP1380107B1 (en) Two-dimensional pyramid filter architecture
US20050213851A1 (en) Scaling device and method for scaling a digital picture
Subathradevi et al. Modified architecture for distributed arithmetic with optimized delay using parallel processing
JP2010206301A (en) Image processing apparatus and imaging apparatus
Zhang et al. An efficient VLSI architecture for discrete wavelet transform based on the Daubechies architecture
US20180268524A1 (en) Image processing apparatus and method of controlling the same
JP2012089947A (en) Image reduction system
JP2009071755A (en) Image processing circuit, and image processor
KR20050003026A (en) Digital filter by using accumulator and method thereof
McAulay Correlating a template with video using an optical correlator
JP2004193769A (en) Contour enhancement circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110926

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120719

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120724

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121114