JP4127675B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4127675B2
JP4127675B2 JP2003410181A JP2003410181A JP4127675B2 JP 4127675 B2 JP4127675 B2 JP 4127675B2 JP 2003410181 A JP2003410181 A JP 2003410181A JP 2003410181 A JP2003410181 A JP 2003410181A JP 4127675 B2 JP4127675 B2 JP 4127675B2
Authority
JP
Japan
Prior art keywords
image data
pixel
double
image
density
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.)
Expired - Fee Related
Application number
JP2003410181A
Other languages
Japanese (ja)
Other versions
JP2005175673A (en
Inventor
政和 大下
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003410181A priority Critical patent/JP4127675B2/en
Publication of JP2005175673A publication Critical patent/JP2005175673A/en
Application granted granted Critical
Publication of JP4127675B2 publication Critical patent/JP4127675B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、ビットマップ状に展開された2値画像データを処理する手段を有する画像処理装置(例えば、レーザプリンタ、デジタル複写機、普通紙ファックス装置等のデジタル画像形成装置、或いは画像表示装置)に関し、特に2値から多値への画像データの変換過程で画質を向上させる処理(例えば、輪郭線のジャギー補正)を行う画像処理装置に関する。   The present invention provides an image processing apparatus (for example, a digital image forming apparatus such as a laser printer, a digital copying machine, a plain paper fax machine, or an image display apparatus) having means for processing binary image data expanded in a bitmap form. In particular, the present invention relates to an image processing apparatus that performs processing (for example, contour line jaggy correction) to improve image quality in the process of converting image data from binary to multilevel.

従来からデジタル画像処理においては、画像イメージデータを量子化して、メモリ上のビデオメモリ領域に2値データでビットマップ状(ドットマトリクス状)に展開し、それをビデオデータとして出力機器としての画像形成部の印刷エンジン、或いはディスプレイへ送り、可視像化に用いる。この場合、ドットマトリクスの直交する方向に対して傾斜した直線や滑らかな曲線が階段状に形成されるジャギーが生じ、画質を低下させることが知られている。
こうしたジャギーによる画質の低下に対し、下記特許文献1に例示する画像データ処理装置が一つの解決策を提案している。特許文献1の装置は、ジャギーを補正して画質の向上を図るために、予めメモリに記憶させておくことが必要なデータを極力低減し、又画像データのうちの補正が必要な画素の判別と補正が必要な画素に対する補正データの決定をマイクロプロセッサ等による簡単な判定及び演算によって極めて短時間で行えるようにすることをねらいとするもので、このために以下に示す手段を要素としている。
即ち、ビットマップ状に展開された画像データの対象とする画素を中心として所定領域の各画素のデータを抽出するためのウインドウと、該ウインドウを通して抽出される画像データによって、該画像データの黒画素領域の白画素領域との境界部分の線分形状を認識して、上記対象とする画素に対して認識した線分形状の特徴を表す複数ビットのコード情報(対象画素が黒画素或いは白画素のいずれか、線分の傾斜方向、傾きの度合い、対象画素の水平或いは垂直方向に連続する線分の端部の画素からの位置の各コード)を生成するパターン認識手段と、少なくともそのコード情報の一部を利用して補正が必要な画素か否かを判別する判別手段と、該手段によって補正が必要と判別された画素に対して、上記パターン認識手段によって生成されたコード情報をアドレスとして予め記憶されている補正データを読み出して出力する補正データメモリを備えている。
特許文献1の装置によれば、ビットマップ状に展開された画像データの黒画素領域の白画素領域との境界部分(文字等の輪郭線)の線分形状を認識して、所要の各画素に対して複数ビットのコード情報に置き換え、少なくともそのコード情報の一部を利用して補正が必要な画素か否かを判別し、補正が必要な画素に対しては上記コード情報に応じた補正を行う。このようにするので、予め補正が必要な全ての特徴パターンをテンプレートとして作成して記憶させておく必要が無くなり、補正が必要な画素の判別と補正が必要な画素に対する補正データの決定を上記コード情報によって簡単に短時間で行うことが可能になる。
さらに、上記特許文献1をベースにした提案として、特許文献2を示すことができる。特許文献2の装置では、入力画像データの解像度に対応して、異なる画像補正データを用いることによってスムージング処理を実施するものである。画像補正データを求める手法は、基本的に特許文献1と同様にパターン認識によって各画素に対して複数ビットのコード情報を得、コード情報に基づいて画像補正データを格納したパターンメモリから読み出すという方法によっており、解像度への対応も解像度を示すコード情報を生成し、これをパターンメモリからの読み出しを行うためのアドレスデータに付加した形で用いている。
特開平5-207282号公報 特開平9-107475号公報
Conventionally, in digital image processing, image image data is quantized and developed into a bit map (dot matrix) as binary data in a video memory area on a memory, and this is used as video data to form an image as an output device. Sent to the print engine or display of the printer and used for visualization. In this case, it is known that a jaggy in which a straight line or a smooth curve inclined with respect to a direction orthogonal to the dot matrix is formed in a staircase shape is generated, and the image quality is deteriorated.
The image data processing apparatus illustrated in the following Patent Document 1 proposes one solution to the deterioration in image quality due to such jaggies. In order to improve jaggies and improve image quality, the device of Patent Document 1 reduces data that needs to be stored in advance in memory as much as possible, and discriminates pixels that need correction from image data. The correction data for the pixels that need to be corrected can be determined in a very short time by simple determination and calculation by a microprocessor or the like. For this purpose, the following means are used as elements.
That is, a window for extracting data of each pixel in a predetermined area centering on a pixel targeted for image data expanded in a bitmap shape, and black pixels of the image data by the image data extracted through the window Recognize the shape of the line segment at the boundary between the white pixel area and the multi-bit code information indicating the characteristics of the recognized line segment shape for the target pixel (whether the target pixel is a black pixel or a white pixel) Any one of the direction of the line segment, the degree of inclination, the code of the position from the end pixel of the line segment that continues in the horizontal or vertical direction of the target pixel), and at least the code information A discriminating unit that discriminates whether or not a pixel needs to be corrected by using a part thereof, and a pixel generated by the pattern recognition unit for a pixel that is determined to be corrected by the unit. It was provided with a correction data memory for reading and outputting the corrected data previously stored code information as an address.
According to the apparatus disclosed in Patent Document 1, a line segment shape of a boundary portion (a contour line of a character or the like) between a black pixel region and a white pixel region of image data expanded in a bitmap shape is recognized, and each required pixel Is replaced with a plurality of bits of code information, and at least a part of the code information is used to determine whether or not the pixel needs to be corrected. I do. In this way, it is not necessary to create and store in advance all the feature patterns that need correction as templates, and it is possible to determine the correction data for the pixels that need correction and the pixels that need correction. Information can be easily and quickly performed.
Furthermore, Patent Document 2 can be shown as a proposal based on Patent Document 1. In the apparatus of Patent Document 2, smoothing processing is performed by using different image correction data corresponding to the resolution of input image data. The method for obtaining the image correction data is basically a method of obtaining a plurality of bits of code information for each pixel by pattern recognition as in Patent Document 1, and reading out from the pattern memory storing the image correction data based on the code information. In order to deal with the resolution, code information indicating the resolution is generated and used by adding it to the address data for reading from the pattern memory.
Japanese Patent Laid-Open No. 5-207282 JP-A-9-107475

ビットマップ状に展開された画像データに対して2値から多値へデータを変換する過程で輪郭線のジャギーを補正して画質を向上させる処理を行う従来技術においては、上記特許文献1のように、予めメモリに記憶させておくことが必要なデータを低減させ、且つ、処理時間の短縮を可能にする方法によっており、更に、上記特許文献2では、上記方法を入力画像データの解像度に対応して適用することを可能にしている。
しかしながら、ジャギーの補正に必要な補正画像データは、基本的にパターンメモリに格納しておく方法によっているので、上記特許文献2に示される装置における解像度の変換を伴う場合への対応では、低解像度のデータほど高解像度のデータに変換する過程において用いる画像補正データが多くなるので、補正データを格納するためのメモリ容量が増大するとともに、処理の負担も大きくなり、コストアップの要因になるという問題が生じることを避けることができない。
本発明は、上記した従来技術の問題点に鑑み、これを解決するためになされたもので、その解決課題は、ビットマップ状に展開された2値画像データの多値画像データへの変換を解像度変更が可能な態様で行うために用いた従来技術により得られたと同等の画質向上効果をメモリ容量の増大をもたらすことなく、処理の負担も大きくならないようにし、低コストな装置構成にて対応可能とすることにある。
In the prior art for performing processing for improving image quality by correcting jaggies of contour lines in the process of converting data from binary to multi-valued image data developed in a bitmap form, as in Patent Document 1 above In addition, it is possible to reduce the data that needs to be stored in the memory in advance and to reduce the processing time. Further, in Patent Document 2, the method corresponds to the resolution of the input image data. And make it possible to apply.
However, since the corrected image data necessary for the jaggy correction is basically stored in the pattern memory, a low resolution is required in the case of resolution conversion in the apparatus shown in Patent Document 2 above. This data increases the amount of image correction data used in the process of converting to higher resolution data, which increases the memory capacity for storing the correction data and increases the processing load, leading to a cost increase. Can not be avoided.
The present invention has been made in order to solve this problem in view of the above-described problems of the prior art. The solution is to convert binary image data developed in a bitmap form into multi-value image data. The image quality improvement effect equivalent to that obtained by the conventional technology used for changing the resolution can be achieved without increasing the memory capacity and without increasing the processing burden, and with a low-cost device configuration. It is to make it possible.

請求項1の発明は、所定の入力解像度でビットマップ状に展開される2値画像データを出力解像度に対応する倍密度の画像データに変換する画像処理装置であって、前記2値画像データの注目画素を中心とする所定領域の画像データにおける黒画素領域の境界部分の線分形状を認識し、該認識結果をもとに注目画素が斜線もしくは円弧を構成する画素として補正が必要な画素か否かを判別するとともに、補正が必要な画素と判別した画素に係る線分形状の該認識結果をパターンコード情報として生成するパターン認識手段と、出力解像度と同じ解像度である倍密度を変更しない画像データを前記パターン認識手段によって判別し、補正が必要であるとする判別結果が得られた画素に係るパターンコード情報をアドレスとして、予めメモリに多値画像として記憶しておいた補正画像データを読み出すことにより、中間調の画像データを含む出力データを生成する単密モード用画像データ生成手段と、出力解像度よりも低い解像度である倍密度を変更する画像データを前記パターン認識手段によって判別し、補正が必要であるとする判別結果が得られた画素に係るパターンコード情報と倍密度に対応する倍密コードとを入力として、指定された倍密度に応じた画素構成よりなる補正画像データを演算することにより、中間調の画像データを含まない全白画素と全黒画素によってのみ構成される出力データを生成する倍密モード用画像データ生成手段を備えたことを特徴とする。
請求項2の発明は、請求項1に記載された画像処理装置において、前記倍密モード用画像データ生成手段は、出力データを変倍する変倍演算手段を備え、かつ指定された倍密度が素数の乗算値であるときに、該素数中の最大素数の倍密度と前記パターン認識手段から得るパターンコード情報とを入力として、最大素数の倍密度に応じた画素構成の画像データを得、得られた画像データに対し前記変倍演算手段によって、指定された倍密度の補正画像データを生成することを特徴とする。
請求項3の発明は、請求項1又は2に記載された画像処理装置において、前記倍密モード用画像データ生成手段は、指定された倍密度に応じた画素構成の画素データ値を多値で生成することを特徴とする。
The invention according to claim 1 is an image processing apparatus for converting binary image data developed in a bitmap form at a predetermined input resolution into double-density image data corresponding to an output resolution, wherein the binary image data Recognize the line segment shape of the boundary of the black pixel area in the image data of the predetermined area centered on the target pixel, and whether the target pixel needs to be corrected as a pixel forming a diagonal line or arc based on the recognition result Pattern recognition means for generating the recognition result of the line segment shape relating to the pixel determined to be a pixel that needs to be corrected as pattern code information, and an image that does not change the double density that is the same resolution as the output resolution The data is discriminated by the pattern recognition means, and the pattern code information relating to the pixel for which the discrimination result indicating that correction is necessary is obtained as an address in advance in the memory. By reading the corrected image data that has been stored as an image, to change the single dense-mode image data generating means for generating output data including the image data of the halftone, a double density is lower resolution than the output resolution The image data is discriminated by the pattern recognition means, and the pattern code information relating to the pixel from which the discrimination result indicating that correction is necessary and the double-dense code corresponding to the double density are input, and the specified double density is obtained. Image data generating means for double-dense mode that generates output data composed only of all white pixels and all black pixels not including halftone image data by calculating corrected image data having a corresponding pixel configuration It is characterized by that.
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the image data generating unit for the double-dense mode includes a scaling unit for scaling the output data, and the specified double density is When the prime value is a multiplication value, the double prime density of the prime number and the pattern code information obtained from the pattern recognition means are input to obtain image data having a pixel configuration corresponding to the double prime density. According to the present invention, corrected image data having a specified double density is generated by the scaling unit for the obtained image data.
According to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect, the image data generating means for the double-dense mode is a multivalued pixel data value having a pixel configuration corresponding to a specified double density. It is characterized by generating.

求項1の発明によると、所定の入力解像度でビットマップ展開される2値画像データを出力解像度に対応する倍密度の画像データに変換する際に、倍密度の変更を伴うか、否かにかかわらず、ジャギー補正用のデータを提供するパターン認識手段を共用し、更に、このパターン認識結果を倍密度の変更を伴う場合及び伴わない場合、それぞれにおいて最適化した処理手段で補正画像データの生成に用いるようにしたことにより、処理手段の回路規模を低減し、かつ画質の向上を図ることができる。
求項2の発明によると、例えば6倍密の場合には、2倍密時もしくは3倍密時の画素構成での対応が可能であるが、倍密度の大きい3倍密のデータを基本に変倍処理出力を行なうようにしたので、その後の変倍処理に必要な変倍数が倍密度の小さい場合に比べ、小さい変倍数での対応が可能となることで、より安価な回路構成により画質の向上を図ることができる。
求項3の発明によると、倍密度の変更を伴う場合に、倍密度に応じた画素構成の画素データ値を多値で生成するようにしたので、入力画像の白黒反転や黒画素のみ濃度を変換する等の処理により、画像の特性によっては必要な画質の調整、変更を行うことが可能になる。
According to the present invention Motomeko 1, when converting the image data of double density corresponding to the output resolution binary image data bitmapped in a predetermined input resolution, or due to changes of double density, whether Regardless of whether the pattern recognition means for providing data for jaggy correction is shared, and further, when this pattern recognition result is accompanied by a change in double density and not accompanied by a change in double density, the processing means optimized in each case by as it adapted to use in generating, reducing the circuit scale of the processing means, and Ru can be improved in image quality.
Basic According to the present invention Motomeko 2, for example in the case of 6 double density is susceptible corresponding pixel configuration when double density during or 3 times density, data of large 3 times density of double density in because to perform the scaling process output, compared to the case variant required multiple subsequent scaling processing small double density, it made possible to cope with a small odd multiples, less expensive circuit configuration it is possible to improve the good Ri image quality.
According to the present invention Motomeko 3, when involving a change of double density, since the pixel data value of a pixel structure in accordance with the double density to generate multi-valued, only black and white reversal or black pixels of the input image density Depending on the characteristics of the image, it is possible to adjust or change the required image quality.

本発明を添付する図面とともに示す以下の実施形態に基づき説明する。なお、本実施形態では、本発明に係わる画像処理装置をデジタル複写機として実施した例を示す。
図1は、本実施形態に係るデジタル複写機の構成を示す概略図である。また、図2は、図1の印刷制御部18をより詳しく示すブロック図である。
図1に示すデジタル複写機1は、1ビーム方式で感光体への光書き込みを行う装置であり、大別すると、原稿(図示せず)を読み取る画像読み取り部2と、画像読み取り部2により読み取られた画像データに対して各種の処理を行う信号処理部3と、信号処理部3により処理された画像データに基づいて画像を公知の電子写真方式で印刷用紙(図示せず)上に印刷する画像印刷部4よりなる。
画像読み取り部2では、コンタクトガラス5上に載置された原稿が主走査方向に細長い光源6により照明され、その反射光が第1ミラー7、第2ミラー9、第3ミラー10により順次反射され、次いで結像光学系12によりCCD(Charge Coupled Device)センサ13の受光面に結像されて光電変換される。この場合、光源6と第1ミラー7が第1走査ユニット8を構成し、第2ミラー9と第3ミラー10が第2走査ユニット11を構成して、第1走査ユニット8と第2走査ユニット11が2対1の速度比で移動することにより原稿が副主走査方向に走査される。
信号処理部3では、CCDセンサ13により光電変換されたアナログ画像信号がアンプ14により増幅され、次いでA/D変換器(ADC)15によりデジタル画像信号に変換される。次いでデジタル画像信号が画像処理部16により明度補正処理や、変倍処理や編集処理等の画像処理を施され、次いでこの画像処理部16により画像処理されたラスタ画像データが印刷制御部18によりスムージング処理されると共に、1ビーム(1ライン)用の画像データに変換される。LD変調部19は1ライン分の画像データに基づいて、LDユニット20における1つの半導体レーザのビームを変調する。なお、印刷制御部18とLD変調部19の間に、画像範囲の制限を行う回路や、パターン合成などを行う回路が設けられることもある。
The present invention will be described based on the following embodiments shown with the accompanying drawings. In this embodiment, an example in which the image processing apparatus according to the present invention is implemented as a digital copying machine is shown.
FIG. 1 is a schematic diagram showing a configuration of a digital copying machine according to the present embodiment. FIG. 2 is a block diagram showing the print control unit 18 of FIG. 1 in more detail.
A digital copying machine 1 shown in FIG. 1 is an apparatus that performs optical writing on a photoconductor using a one-beam method. Broadly speaking, an image reading unit 2 that reads a document (not shown) and a reading unit that reads the original (not shown). A signal processing unit 3 that performs various processes on the received image data, and an image is printed on a printing sheet (not shown) by a known electrophotographic method based on the image data processed by the signal processing unit 3 An image printing unit 4 is provided.
In the image reading unit 2, the document placed on the contact glass 5 is illuminated by a light source 6 that is elongated in the main scanning direction, and the reflected light is sequentially reflected by the first mirror 7, the second mirror 9, and the third mirror 10. Then, an image is formed on a light receiving surface of a CCD (Charge Coupled Device) sensor 13 by the imaging optical system 12 and subjected to photoelectric conversion. In this case, the light source 6 and the first mirror 7 constitute the first scanning unit 8, and the second mirror 9 and the third mirror 10 constitute the second scanning unit 11, and the first scanning unit 8 and the second scanning unit. 11 moves at a speed ratio of 2 to 1, whereby the document is scanned in the sub-main scanning direction.
In the signal processing unit 3, the analog image signal photoelectrically converted by the CCD sensor 13 is amplified by an amplifier 14 and then converted into a digital image signal by an A / D converter (ADC) 15. Next, the digital image signal is subjected to image processing such as lightness correction processing, scaling processing, and editing processing by the image processing unit 16, and then the raster image data subjected to image processing by the image processing unit 16 is smoothed by the print control unit 18. It is processed and converted into image data for one beam (one line). The LD modulator 19 modulates the beam of one semiconductor laser in the LD unit 20 based on the image data for one line. Note that a circuit that limits the image range or a circuit that performs pattern synthesis may be provided between the print control unit 18 and the LD modulation unit 19.

画像印刷部4では、LDユニット20から出射された1つのビームがシリンダレンズ22により収束され、次いでポリゴンミラー23により等角速度偏向された1つのビームは、fθレンズ24により等速度偏向に補正されて感光体ドラム26上に 照射されて1ライン分の潜像が形成されると共に、光検知器27により検知される。光検知器27は主走査方向の有効書き込み領域の前に配置され、ビームを受光して同期検知パルス信号XDETPを印刷制御部18にフィードバックする。なお、ここでは、1本のレーザビームを発生する半導体レーザを用いた場合について説明しているが、ビーム数は1本に限定されず、複数ビームの半導体レーザアレイを用いてもよい。
また、印刷制御部18では、画像読み取り部2から入力する画像データの入力速度と、画像印刷部4に対して画像データを出力する出力速度の調停も合わせて行う。
即ち、画像読み取り部2では、コンタクトガラス5上の原稿を第1、第2走査ユニット8、11により副走査方向に走査してCCDセンサ13により読み取るので、CCDセンサ13は副走査方向に連続する複数の主走査ラインのドットマトリクスよりなる画像データを1ラインずつ信号制御部3に出力する。このときCCDセンサ13が1ライン分の画像データをライン同期信号LSYNCによりアドレスをリセットされた後、画素クロック毎に主走査方向に1画素ずつ出力するので、信号処理部3(印刷制御部18)に対しては第1、第2走査ユニット8、11の走査速度やCCDセンサ13の読み取り周期などに基づく所定のライン周期で1ラインずつ出力される。
他方、画像印刷部4では、ポリゴンミラー23により走査されたレーザビームが感光体ドラム26の直前に入射すると、光検知器27が同期検知パルス信号XDETPを出力し、印刷制御部18がこの同期検知パルス信号XDETPに基づいて画像読み取り部2から入力する画像データの印刷タイミングを制御する。このように、印刷制御部18は入出力における異なるライン周期に対応し、調停動作を行う。
In the image printing unit 4, one beam emitted from the LD unit 20 is converged by the cylinder lens 22, and then one beam deflected at a constant angular velocity by the polygon mirror 23 is corrected to a uniform velocity deflection by the fθ lens 24. A latent image for one line is formed on the photosensitive drum 26 and is detected by the light detector 27. The photodetector 27 is disposed in front of the effective writing area in the main scanning direction, receives the beam, and feeds back the synchronization detection pulse signal XDETP to the print controller 18. Although a case where a semiconductor laser that generates one laser beam is used is described here, the number of beams is not limited to one, and a semiconductor laser array having a plurality of beams may be used.
The print control unit 18 also adjusts the input speed of the image data input from the image reading unit 2 and the output speed of outputting the image data to the image printing unit 4.
That is, in the image reading unit 2, the original on the contact glass 5 is scanned in the sub-scanning direction by the first and second scanning units 8 and 11, and read by the CCD sensor 13, so that the CCD sensor 13 is continuous in the sub-scanning direction. Image data composed of a dot matrix of a plurality of main scanning lines is output to the signal control unit 3 line by line. At this time, after the CCD sensor 13 resets the address of the image data for one line by the line synchronization signal LSYNC, it outputs one pixel at a time in the main scanning direction for each pixel clock, so that the signal processing unit 3 (printing control unit 18). Is output line by line at a predetermined line period based on the scanning speed of the first and second scanning units 8 and 11, the reading period of the CCD sensor 13, and the like.
On the other hand, in the image printing unit 4, when the laser beam scanned by the polygon mirror 23 enters just before the photosensitive drum 26, the light detector 27 outputs the synchronization detection pulse signal XDETP, and the print control unit 18 detects this synchronization detection. Based on the pulse signal XDETP, the printing timing of the image data input from the image reading unit 2 is controlled. As described above, the print control unit 18 performs an arbitration operation corresponding to different line cycles in input / output.

また、印刷制御部18では、光書き込みのために出力する画像データにスムージング(ジャギーの補正)処理を行う。スムージング処理においては、パターン認識を行い、その処理結果を用いるので、このパターン認識処理に必要なマトリクスとして、注目画素の前後の4ラインずつを含む計9ラインのマトリクスを用意する。
このマトリクスは、図2に示すように、先ず、画像処理部16からのドットマトリクス状の9ライン分の画像データが、第1の画素クロックに同期して1画素毎に順次第1の一時記憶手段31に記憶される。なお、この補正処理は、前段からの画像データが1クロック当たり複数のデータを複数の信号線を介して入力するパラレルデータの場合にも適用することが可能であり、このためにはパラレルデータに対してパラレル→シリアル変換して、9ライン分の画像データを第1の一時記憶手段31に記憶する。
第1の一時記憶手段31に記憶された9ライン分の画像データは、1ライン分の画像データが入力する間に、第2の画素クロックに同期して9ライン分同時に読み出される。
ここで、第2の画素クロックが第1の一時記憶手段31から9ラインについて各ライン毎に、1画素単位で画像データを読み出し動作をする場合について、図3乃至図7を参照して示す以下の実施例によって説明する。
Further, the print control unit 18 performs a smoothing (jaggy correction) process on the image data output for optical writing. In the smoothing process, pattern recognition is performed and the processing result is used. Therefore, a matrix of 9 lines including 4 lines before and after the target pixel is prepared as a matrix necessary for the pattern recognition process.
As shown in FIG. 2, the matrix first stores nine lines of image data in the form of a dot matrix from the image processing unit 16 in a first temporary storage sequentially for each pixel in synchronization with the first pixel clock. It is stored in the means 31. This correction processing can also be applied to the case where the image data from the previous stage is parallel data in which a plurality of data per clock is input via a plurality of signal lines. On the other hand, parallel-to-serial conversion is performed, and image data for nine lines is stored in the first temporary storage unit 31.
The image data for nine lines stored in the first temporary storage means 31 is read simultaneously for nine lines in synchronization with the second pixel clock while the image data for one line is input.
Here, the case where the second pixel clock performs image data reading operation in units of one pixel for each of the nine lines from the first temporary storage means 31 will be described below with reference to FIGS. Examples will be described.

この実施例では、画像印刷部4においてレーザビームによる感光体26への光書込の行われる解像度が1200dpiである場合を例に、画像処理部16から印刷制御部18への入力2値画像データが1200dpiと等しい解像度である場合と、1200dpiよりも低い解像度であり、2倍以上の整数倍の解像度に変換する必要がある場合をそれぞれ例示する。
図3は、第1の一時記憶手段31からの第2の画素クロックによる1画素単位での画像データの読み出し動作を第2の画素クロック毎に実施する場合のタイミングチャートであり、図4は、第2の画素クロックの2クロック毎に実施する場合のタイミングチャート、図5は、第2の画素クロックの3クロック毎に実施する場合のタイミングチャート、図6は、第2の画素クロックの4クロック毎に実施する場合のタイミングチャート、図7は、第2の画素クロックの6クロック毎に実施する場合のタイミングチャートである。
図3の入力画像データの解像度が1200dpiの例では、上述のように第1の一時記憶手段31から第2の画素クロック(1200dpiに対応)により、1画素単位での画像データの読み出し動作を第2の画素クロック毎に実施し、書込を行う第2の画素クロックの設定周波数のクロック周期にて順次1画素単位の画像データを出力する。従って、印刷制御部18出力時は、画像データの画素数の変更は無く、1200dpiの解像度のままでの出力となる。
図4の入力画像データの解像度が600dpiの例では、図3と同様に第1の一時記憶手段31から第2の画素クロックにより、1画素単位での画像データの読み出し動作を第2の画素クロックの2周期毎に実施し、書込を行う場合の第2の画素クロックの設定周波数の2倍のクロック周期にて順次1画素単位の画像データを出力する。従って、印刷制御部18出力時は、入力時の600dpiに対し、画像データの画素数は2倍となり、1200dpiの解像度へ変更された出力となる。
図5の入力画像データの解像度が400dpiの例では、図3と同様に第1の一時記憶手段31から第2の画素クロックにより、1画素単位での画像データの読み出し動作を第2の画素クロックの3周期毎に実施し、書込を行う場合の第2の画素クロックの設定周波数の3倍のクロック周期にて順次1画素単位の画像データを出力する。従って、印刷印刷制御部18出力時は、入力時の400dpiに対し、画像データの画素数は3倍となり、1200dpiの解像度へ変更された出力となる。
図6の入力画像データの解像度が300dpiの例では、図3と同様に第1の一時記憶手段31から第2の画素クロックにより、1画素単位での画像データの読み出し動作を第2の画素クロックの4周期毎に実施し、書込を行う場合の第2の画素クロックの設定周波数の4倍のクロック周期にて順次1画素単位の画像データを出力する。従って、印刷制御部18出力時は、入力時の300dpiに対し、画像データの画素数は4倍となり、1200dpiの解像度へ変更された出力となる。
図7の入力画像データの解像度が200dpiの例では、図3と同様に第1の一時記憶手段31から第2の画素クロックにより、1画素単位での画像データの読み出し動作を第2の画素クロックの6周期毎に実施し、書込を行う場合の第2の画素クロックの設定周波数の6倍のクロック周期にて順次1画素単位の画像データを出力する。従って、印刷
印刷制御部18出力時は、入力時の200dpiに対し、画像データの画素数は6倍となり、1200dpiの解像度へ変更された出力となる。
また、図3〜7のタイミングチャートによる画像データの読み出し動作を第2の画素クロックに対して実施することにより、第1の一時記憶手段31から読み出された9ライン分の画像データは、詳細な構成を後述するウインドウ40(図9参照)を用いる画像処理手段32に9ラインが同時に出力される。
In this embodiment, binary image data input from the image processing unit 16 to the print control unit 18 is taken as an example in the case where the resolution at which optical writing to the photosensitive member 26 by the laser beam is performed in the image printing unit 4 is 1200 dpi. Is a resolution equal to 1200 dpi, and a case where the resolution is lower than 1200 dpi and needs to be converted to a resolution of an integer multiple of 2 or more.
FIG. 3 is a timing chart in the case where the image data reading operation in units of one pixel by the second pixel clock from the first temporary storage unit 31 is performed for each second pixel clock. FIG. 5 is a timing chart when the second pixel clock is performed every two clocks. FIG. 5 is a timing chart when the second pixel clock is performed every three clocks. FIG. 6 is a timing chart when the second pixel clock is four clocks. FIG. 7 is a timing chart in the case of performing every 6 clocks of the second pixel clock.
In the example in which the resolution of the input image data in FIG. 3 is 1200 dpi, the reading operation of the image data in units of one pixel is performed from the first temporary storage unit 31 by the second pixel clock (corresponding to 1200 dpi) as described above. This is performed every two pixel clocks, and image data in units of one pixel is sequentially output at a clock cycle of a setting frequency of a second pixel clock for writing. Accordingly, when the print control unit 18 outputs, the number of pixels of the image data is not changed, and the output is performed with the resolution of 1200 dpi.
In the example in which the resolution of the input image data in FIG. 4 is 600 dpi, the readout operation of the image data in units of one pixel is performed from the first temporary storage means 31 by the second pixel clock as in the case of FIG. The image data is sequentially output in units of one pixel at a clock cycle that is twice the set frequency of the second pixel clock when writing is performed. Therefore, at the time of printing control unit 18 output, the number of pixels of the image data is doubled to 600 dpi at the time of input, and the output is changed to a resolution of 1200 dpi.
In the example in which the resolution of the input image data in FIG. 5 is 400 dpi, the image data reading operation in units of one pixel is performed from the first temporary storage unit 31 by the second pixel clock as in FIG. The image data is sequentially output in units of one pixel at a clock cycle three times the set frequency of the second pixel clock when writing is performed. Therefore, at the time of printing / printing control unit 18 output, the number of pixels of the image data is tripled with respect to 400 dpi at the time of input, and the output is changed to a resolution of 1200 dpi.
In the example in which the resolution of the input image data in FIG. 6 is 300 dpi, the read operation of the image data in units of one pixel is performed from the first temporary storage unit 31 by the second pixel clock as in the case of FIG. The image data is sequentially output in units of one pixel at a clock cycle four times the set frequency of the second pixel clock when writing is performed. Accordingly, at the time of printing control unit 18 output, the number of pixels of the image data is four times that of 300 dpi at the time of input, and the output is changed to a resolution of 1200 dpi.
In the example in which the resolution of the input image data in FIG. 7 is 200 dpi, the reading operation of the image data in units of one pixel is performed from the first temporary storage unit 31 by the second pixel clock as in FIG. The image data is sequentially output in units of one pixel at a clock cycle that is six times the set frequency of the second pixel clock when writing is performed. Therefore, when printing and printing control unit 18 outputs, the number of pixels of the image data is 6 times that of 200 dpi at the time of input, and the output is changed to a resolution of 1200 dpi.
Further, the image data for nine lines read from the first temporary storage means 31 is detailed by performing the image data read operation according to the timing charts of FIGS. 3 to 7 on the second pixel clock. Nine lines are simultaneously output to the image processing means 32 using a window 40 (see FIG. 9), which will be described later.

画像処理手段32では、画像のエッジ部の斜め線や円弧のギザギザを軽減するために、主走査13画素・副走査9ラインのデータによりマトリクスを生成して、注目画素と周辺画素の各値に基づいて、パターン認識処理により注目画素の特徴を抽出し、注目画素の特徴を表す値を決定する。
また、画像処理手段32では抽出した特徴値に基づくスムージング処理(ジャギーの補正)を第2の画素クロック毎に行うことにより、全ての入力画素に対して、1画素当たり複数ビットの多値データへの変換を行う。
図8は、図2における画像処理手段32の概略構成を示すブロック図である。また、図9は画像処理手段32の要素であるウインドウ40の構成を示す図である。
図8に示すように、画像処理手段32の基本構成は、ウインドウ40、パターン認識部41、メモリブロック42、ビデオデータ出力部43及びこれらを同期制御するタイミング制御部44よりなる。
タイミング制御部44は、画像データにおける1ページ分の副走査方向の書き込み期間を規定するFGATE信号、主走査1ライン分の書き込み期間を規定するLGATE信号、各ラインの書き込み開始及び終了タイミングを示すLSYNC信号、1ドット毎の読み出し及び書き込み周期を取る画像クロックWCLK及びRESET信号を入力し、画像処理手段32のウインドウ40、パターン認識部41、メモリブロック42に対してその動作の同期を取るために必要なクロック信号等を発生する。
なお、メモリブロック42の補正データは、画像形成装置システム内のMPUあるいはCPUによりROM等の記憶手段から選択的にロードされたり、ホストコンピュータからダウンロードすることも可能であり、こうすることにより画像データの被補正パターンに対する補正データを容易に変更することが可能となる。この補正データには、後述するパターンメモリ421に格納するデータ、或いは倍密モード用画素パターン生成部422への設定データが含まれる。
The image processing means 32 generates a matrix from the data of the main scanning 13 pixels and the sub-scanning 9 lines in order to reduce the oblique lines and the arcs of the edge of the image, and sets the values of the target pixel and the peripheral pixels. Based on this, the feature of the target pixel is extracted by pattern recognition processing, and a value representing the feature of the target pixel is determined.
In addition, the image processing means 32 performs smoothing processing (jaggy correction) based on the extracted feature value for each second pixel clock, thereby converting multi-valued data of a plurality of bits per pixel for all input pixels. Perform the conversion.
FIG. 8 is a block diagram showing a schematic configuration of the image processing means 32 in FIG. FIG. 9 is a diagram showing the configuration of the window 40 that is an element of the image processing means 32.
As shown in FIG. 8, the basic configuration of the image processing means 32 includes a window 40, a pattern recognition unit 41, a memory block 42, a video data output unit 43, and a timing control unit 44 that controls these synchronously.
The timing control unit 44 includes an FGATE signal that defines a writing period for one page in the image data in the sub-scanning direction, an LGATE signal that defines a writing period for one main scanning line, and an LSYNC that indicates the writing start and end timing of each line. Necessary for synchronizing the operation of the window 40, the pattern recognition unit 41, and the memory block 42 of the image processing means 32 by inputting the image clock WCLK and the RESET signal that take the signal reading and writing cycle for each dot. A simple clock signal or the like.
The correction data in the memory block 42 can be selectively loaded from a storage means such as a ROM by an MPU or CPU in the image forming apparatus system, or can be downloaded from a host computer. It is possible to easily change the correction data for the pattern to be corrected. This correction data includes data stored in a pattern memory 421, which will be described later, or setting data for the double-dense mode pixel pattern generation unit 422.

画像処理手段32が処理に用いるウインドウ40は、図2の第1の一時記憶手段31から出力される9ライン分の画像データに対して、各々主走査方向に13画素分のシフトレジスタ40a〜40iがシリアルに接続されており、図9に示すようにパターン検出用のマトリクスを構成する。
図9に示すウインドウ40において、シフトレジスタ40eの左端より7画素目の画素位置(同図中に(1)を付し、示している)がターゲットとなる注目画素の格納位置となる。
画像処理手段32では、ウインドウ40を構成するシフトレジスタ40a〜40i内を画像データが順次1画素ずつシフトされることによって、注目画素が画像処理手段32に対して順次変化し、その注目画素を中心とするウインドウ40の画像データを連続的に切り出すことが可能となる。
図9に示すウインドウ40のシフトレジスタ40a〜40iによるシフト動作を、図3〜図7の例で、説明を加えると、図3の場合は、第1の一時記憶手段31から第2の画素クロックにより、1画素単位での画像データの読み出し動作が、第2の画素クロック毎に実施され、画像処理手段32のウインドウ40を構成するシフトレジスタ40a〜40i内における画像データも、第2の画素クロック毎に順次1画素ずつシフトされることによって、注目画素が画像処理手段32に対して順次変化する。
また、図4の場合は、図3と同様に第1の一時記憶手段31から第2の画素クロックにより、1画素単位での画像データの読み出し動作が実施されるが、読み出しの周期は、第2の画素クロックの2周期毎に実施され、画像処理手段32のウインドウ40を構成するシフトレジスタ40a〜40i内における画像データも、第2の画素クロックの2周期毎に順次1画素ずつシフトされることによって、注目画素が画像処理手段32に対して順次変化する。さらに、図5,図6,図7についても、それぞれ第2の画素クロックの3,4,6周期毎に順次1画素ずつシフトされることによって、注目画素が画像処理手段32に対して変化する。
The window 40 used for processing by the image processing means 32 is a shift register 40a to 40i corresponding to 13 pixels in the main scanning direction with respect to 9 lines of image data output from the first temporary storage means 31 of FIG. Are connected serially, and form a pattern detection matrix as shown in FIG.
In the window 40 shown in FIG. 9, the pixel position of the seventh pixel from the left end of the shift register 40e (shown with (1) in the figure) is the storage position of the target pixel of interest.
In the image processing means 32, the image data is sequentially shifted one pixel at a time in the shift registers 40a to 40i constituting the window 40, so that the target pixel is sequentially changed with respect to the image processing means 32, and the target pixel is centered. The image data of the window 40 can be continuously cut out.
The shift operation by the shift registers 40a to 40i of the window 40 shown in FIG. 9 will be described with reference to the example of FIGS. 3 to 7. In the case of FIG. 3, the second pixel clock is supplied from the first temporary storage means 31. Thus, the image data reading operation in units of one pixel is performed for each second pixel clock, and the image data in the shift registers 40a to 40i constituting the window 40 of the image processing means 32 is also the second pixel clock. The pixel of interest is sequentially changed with respect to the image processing means 32 by sequentially shifting one pixel at a time.
In the case of FIG. 4, the image data is read out in units of one pixel from the first temporary storage unit 31 by the second pixel clock, as in FIG. 3. The image data in the shift registers 40a to 40i constituting the window 40 of the image processing means 32 is also shifted by one pixel every two cycles of the second pixel clock. As a result, the target pixel sequentially changes with respect to the image processing means 32. 5, 6, and 7, the pixel of interest changes with respect to the image processing unit 32 by sequentially shifting one pixel at a time of the third, fourth, and sixth periods of the second pixel clock. .

図10は、上述の画像処理手段32に対し配置されるウインドウ40を構成するシフトレジスタ40a〜40i内を画像データが順次1画素ずつシフトする様子を具体例で示したものである。
図10の(A)は、図2の画像処理部16から入力される画像データに対する第2の画素クロックのある任意の立ち上がりエッジ時(図中(C)のタイムチャートにT1として示す時点)におけるウインドウ40内の画像データを示す。なお中央の枠で囲まれた画素を注目画素として示す。
また、図10の(B)は、前記第2の画素クロックのある任意の立ち上がりエッジの次にくる第2の画素クロックの立ち上がりエッジ時(図中(C)のタイムチャートにT2として示す時点)におけるウインドウ40内の画像データを示す。
図10に示すシフト動作、即ち、第2の画素クロック毎にウインドウ40を構成するシフトレジスタ40a〜40i内の画像データを順次1画素ずつシフトさせることによって、画像処理手段32は各ラインの先頭より全ての画素を注目画素としてドット情報を抽出することを可能にする。
図10の説明は、図3に示したタイミングチャートに示す動作の場合の説明であるが、図4では次の動作となる。すなわち、図4の場合は、画像処理手段32のウインドウ40を構成するシフトレジスタ40a〜40i内における画像データが、第2の画素クロックの2周期毎に順次1画素ずつシフトされることになり、画像処理手段32は各ラインの先頭より全ての画素を注目画素としてドット情報を抽出することになるが、ドット情報の抽出(変化)は、第2の画素クロックの2周期毎となる。言い換えると、この場合のドット情報は、第2の画素クロックの2周期単位に継続することになる。
さらに、図5,図6,図7についても、それぞれ第2の画素クロックの3,4,6周期毎に順次1画素ずつシフトされることによって、注目画素が画像処理手段32に対して変化するので、ドット情報は、第2の画素クロックの上記それぞれの周期単位に継続することになる。
FIG. 10 shows a specific example in which the image data is sequentially shifted one pixel at a time in the shift registers 40a to 40i constituting the window 40 arranged for the image processing means 32 described above.
(A) in FIG. 10 is at an arbitrary rising edge of the second pixel clock for the image data input from the image processing unit 16 in FIG. 2 (at the time indicated as T1 in the time chart of (C) in the figure). The image data in the window 40 is shown. A pixel surrounded by a central frame is shown as a target pixel.
FIG. 10B shows a rising edge of the second pixel clock next to an arbitrary rising edge of the second pixel clock (time point indicated as T2 in the time chart of FIG. 10C). The image data in the window 40 in FIG.
The shift operation shown in FIG. 10, that is, the image processing means 32 starts from the head of each line by shifting the image data in the shift registers 40a to 40i constituting the window 40 one pixel at a time every second pixel clock. It is possible to extract dot information with all pixels as the target pixel.
The description of FIG. 10 is the case of the operation shown in the timing chart shown in FIG. 3, but the following operation is performed in FIG. That is, in the case of FIG. 4, the image data in the shift registers 40a to 40i constituting the window 40 of the image processing means 32 is sequentially shifted by one pixel every two cycles of the second pixel clock. The image processing means 32 extracts the dot information from all the pixels from the head of each line as the target pixel, but the extraction (change) of the dot information is every two cycles of the second pixel clock. In other words, the dot information in this case continues for every two cycles of the second pixel clock.
5, 6, and 7, the pixel of interest changes with respect to the image processing unit 32 by sequentially shifting one pixel at a time of the third, fourth, and sixth periods of the second pixel clock. Therefore, the dot information continues for each period unit of the second pixel clock.

次に、ウインドウ40に対するパターン認識部41による処理について説明する。
図11は、パターン認識部41の内部構成及びウインドウ40との関係を示すブロック図である。なお、図11に示すパターン認識部41は、特開平5-207282号公報により公知となった画像データ処理装置におけるパターン認識部を適用するものである。従って、ここでは概略説明に留め、詳しくは上記公報を参照することとする。
図11に示すパターン認識部41は、ウインドウ40の注目画素に対して抽出したドット情報を元に、ターゲットとなっている注目画素及びその周囲の情報、特に画像データの黒画素と白画素の境界の線分形状の特徴を認識し、その認識結果を定められたフォーマットのコード情報にして出力するブロックである。また、パターン認識部41から出力されるコード情報は、メモリブロック42のリードアドレスとして用い、画像処理(スムージング)を行うための補正データをメモリから読み出すため、また倍密モード用画素パターン生成部422(後述)の処理に用いられる。
図11は、パターン認識部41の内部構成及びウインドウ40との関係を示すブロック図である。サンプル窓であるウインドウ40は、注目画素を含む中央の3×3ビットのコア領域(Core)40Cと、その上領域(Lower)40Dと、左領域(Left)40L及び右領域(Right)40Rに区分される。
パターン認識部41は、コア領域認識部411、周辺領域認識部412、マルチプレクサ413,414、傾き(Gradient)計算部415、位置(Position)計算部416、判別部417及びゲート418によって構成されており、周辺領域認識部412は更に、上領域認識部412U,右領域認識部412R,下領域認識部412D及び左領域認識部412Lによって構成されている。
また、パターン認識部41は、次に示す信号を認識結果として後段のメモリブロック42等に出力する。コア領域認識部411からは、H/V:水平に近い線分か垂直に近い線分かを示す信号、B/W:注目画素が黒か白かを示す信号、U/L:注目画素が白の時、その画素位置は線分に対して上側(右側)なのか下側(左側)なのかを示す信号を出力する。判別部417からは、DIR[1:0]:線分の傾き方向を示す2ビットのコード化された信号、NO-MATCH:認識した線分において補正すべきパターンが無かったことを示す信号を出力する。傾き計算部415からは、G[3:0]:認識した線分の傾きの度合い(GRADIENT)を表わす4ビットのコード情報を出力する。位置計算部416からは、ゲート418を介してP[3:0]:注目ドットの位置(POSITION)を表わす4ビットのコード情報で、水平に近い線分の場合は連続ドット内の左端から注目ドットまでのドット数、垂直に近い線分の場合には連続ドツト内の下端から注目ドットまでのドット数を出力する。
なお、パターン認識部41の内部構成及びウインドウ40との関係に関しては、図示しないが、3×3ビットのコア領域(Core)40Cを5×5のコア領域のみの構成として対応するなどの方式を採用することができる。
Next, processing by the pattern recognition unit 41 for the window 40 will be described.
FIG. 11 is a block diagram showing the internal configuration of the pattern recognition unit 41 and the relationship with the window 40. Note that the pattern recognition unit 41 shown in FIG. 11 applies the pattern recognition unit in the image data processing apparatus known from Japanese Patent Laid-Open No. 5-207282. Accordingly, only a brief description is given here, and the above publication is referred to for details.
The pattern recognition unit 41 shown in FIG. 11 uses the dot information extracted for the target pixel of the window 40 as a target target pixel and its surrounding information, particularly the boundary between the black pixel and the white pixel of the image data. This is a block that recognizes the feature of the line segment shape and outputs the recognition result as code information in a predetermined format. The code information output from the pattern recognition unit 41 is used as a read address of the memory block 42 to read correction data for performing image processing (smoothing) from the memory, and for the pixel pattern generation unit 422 for the double density mode. It is used for the processing (described later).
FIG. 11 is a block diagram showing the internal configuration of the pattern recognition unit 41 and the relationship with the window 40. The window 40 which is a sample window includes a central 3 × 3-bit core region (Core) 40C including a target pixel, an upper region (Lower) 40D, a left region (Left) 40L, and a right region (Right) 40R. It is divided.
The pattern recognition unit 41 includes a core region recognition unit 411, a peripheral region recognition unit 412, multiplexers 413 and 414, a gradient calculation unit 415, a position calculation unit 416, a determination unit 417, and a gate 418. The peripheral region recognition unit 412 is further configured by an upper region recognition unit 412U, a right region recognition unit 412R, a lower region recognition unit 412D, and a left region recognition unit 412L.
The pattern recognition unit 41 outputs the following signals as recognition results to the subsequent memory block 42 and the like. From the core area recognition unit 411, H / V: a signal indicating whether the line segment is close to horizontal or vertical, B / W: a signal indicating whether the pixel of interest is black or white, U / L: a pixel of interest When white, a signal indicating whether the pixel position is on the upper side (right side) or lower side (left side) with respect to the line segment is output. From the discriminating unit 417, DIR [1: 0]: a 2-bit coded signal indicating the inclination direction of the line segment, NO-MATCH: a signal indicating that there is no pattern to be corrected in the recognized line segment. Output. The inclination calculation unit 415 outputs G [3: 0]: 4-bit code information indicating the degree of inclination (GRADIENT) of the recognized line segment. From the position calculation unit 416, P [3: 0]: 4-bit code information representing the position (POSITION) of the noticed dot via the gate 418. In the case of a line segment close to the horizontal, notice from the left end in the continuous dot. For the number of dots up to a dot or a line segment close to vertical, the number of dots from the lower end in the continuous dot to the target dot is output.
Although not shown, the internal configuration of the pattern recognition unit 41 and the relationship with the window 40 are not shown in the figure, but a 3 × 3 bit core region (Core) 40C is handled as a configuration of only a 5 × 5 core region. Can be adopted.

次に、メモリブロック42に関する構成及びその動作について説明する。
図12は、パターンメモリ421により構成するメモリブロック42を示し、(A)は解像度が変更されない入力に、又(B)は解像度の変更を伴う入力に対応するブロック構成を示す。
図12(A)に示すメモリブロック42はパターンメモリ421のみで構成され、(A)はパターン認識部41から出力されるコード情報(13ビット)をアドレスとして、予め記憶された補正画像データ(4ビットの多値データ)を読み出し、レーザ駆動用の画像データとして出力され、補正されたドットパターンによる印刷を可能にする。但し、解像度の変更を伴う動作に対応しない。
図12(B)に示すメモリブロック42はパターンメモリ421のみで解像度の変更に対応可能な構成をとる先行例を示し、パターン認識部41から出力されるコード情報(13ビット)に主走査・副走査倍密コードを加え、これらのコード情報をアドレスとして、予め記憶された補正画像データ(4ビットの多値データ)を読み出す方式である。図12(B)に示す例は、本実施形態では採用しない方式であるが、後述する本実施形態と対比するために記述するものである。
図12(A)に示す構成は基本的に従来方式によっており(特開平5-207282号公報、参照)、図11に示した判別部417により斜線もしくは円弧を構成する画素として補正が不必要な画素と判別された水平線分黒画素の1画素ラインもしくは2画素以上の垂直方向に幅を持つラインの上端黒画素或いは下端黒画素(即ち、ビットマップ状に展開された画像データのうち、黒画素領域と白画素領域との境界であるが、ジャギーを伴う斜線線分を構成する画素ではない黒画素)に対する線分形状の特徴を表す複数ビットのコード情報の一部のビットを固有の値に置き換える。また、画像処理手段32のメモリブロック42に予め記憶されるスムージング用の補正データは、画像処理(スムージング)を画像データに施す以前に、メモリブロック42にパターン認識部41からのコード情報に対応したデータが設定されている必要がある。なお、上記補正データ設定I/Fとしては、CPUによる本画像形成装置システム内に配置されている内蔵メモリに記憶されているデータの書き込みによる対応などが可能である。
Next, the configuration and operation related to the memory block 42 will be described.
FIG. 12 shows a memory block 42 constituted by a pattern memory 421. (A) shows an input whose resolution is not changed, and (B) shows a block configuration corresponding to an input accompanied by a change in resolution.
The memory block 42 shown in FIG. 12A includes only the pattern memory 421. FIG. 12A shows the corrected image data (4) stored in advance using the code information (13 bits) output from the pattern recognition unit 41 as an address. Bit multi-value data) is read out and output as image data for laser driving, enabling printing with a corrected dot pattern. However, it does not correspond to an operation involving a change in resolution.
A memory block 42 shown in FIG. 12B shows a preceding example in which only the pattern memory 421 is configured to be able to cope with a change in resolution. The code information (13 bits) output from the pattern recognition unit 41 includes main scanning / sub-scanning. In this method, a scanning double-density code is added, and the correction image data (4-bit multi-value data) stored in advance is read using these code information as addresses. The example shown in FIG. 12B is a method that is not adopted in the present embodiment, but is described for comparison with the present embodiment described later.
The configuration shown in FIG. 12A is basically based on the conventional method (see Japanese Patent Laid-Open No. 5-207282), and correction is not necessary as a pixel constituting a diagonal line or an arc by the determination unit 417 shown in FIG. The top black pixel or the bottom black pixel (that is, the black pixel of the image data developed in the form of a bitmap) of one pixel line or two or more pixels having a width in the vertical direction of the horizontal line segment black pixel determined to be a pixel (A black pixel that is a boundary between a region and a white pixel region but is not a pixel forming a hatched line segment with jaggies)). replace. The smoothing correction data stored in advance in the memory block 42 of the image processing means 32 corresponds to the code information from the pattern recognition unit 41 in the memory block 42 before image processing (smoothing) is performed on the image data. Data must be set. Note that the correction data setting I / F can be handled by writing data stored in a built-in memory arranged in the image forming apparatus system by the CPU.

本実施形態においては、図12(A)の構成に加え、倍密モード用画素パターン生成部422とセレクタ423を追加した構成により、解像度の変更に対応して倍密モードの動作を可能にする。
図13は、倍密モード用画素パターン生成部422によって倍密モードの動作を可能とする本実施形態のメモリブロック42のブロック構成を示す。
図13のメモリブロック42によると、図12(A)にて説明した動作モード(以下”単密モード”と称す)では、パターン認識部41から出力されるコード情報(13ビット)をアドレスとして、予め記憶された補正データ(4ビット)を読み出して、レーザ駆動用の画像データを出力し、これが補正されたドットパターンとなる。他方、図4〜図7にて説明した動作モード(以下”倍密モード”と称す;図4は2倍密、図5は3倍密、図6は4倍密、図7は6倍密の例)では、パターン認識部41から出力されるコード情報(13ビット)に加え、図示する主走査・副走査倍密コードを入力とし、設定された条件に従う演算処理を行う前記倍密モード用画素パターン生成部422によって補正データ(4ビット)を生成して、レーザ駆動用の画像データを出力し、これが補正されたドットパターンとなる。
ここに、上記主走査・副走査倍密コードとは、倍密モード時に主走査方向及び副走査方向に何回目の画素の変倍を行ったかを示すコードであり、図4の主走査2倍密モードでは、同図中の主走査倍密コードに図示するように、0→1→0→1→0・・・の2つのコード状態の繰り返し、図5の主走査3倍密モードでは、同図中の主走査倍密コードに図示するように、0→1→2→0→1→2→0・・・の3つのコード状態の繰り返し、図6の主走査4倍密モードでは、同図中の主走査倍密コードに図示するように、0→1→2→3→0→1→2→3→0・・・の4つのコード状態の繰り返し、図7の主走査6倍密モードでは、同図中の主走査倍密コードに図示するように、0→1→2→3→4→5→0→1→2→3→4→5→0・・・の6つのコード状態の繰り返しとなる。なお、副走査方向に関しては、図示しないが、図4と同様の倍密モードにおいて、副走査倍密コードが何回目のライン単位での変倍を行ったかを示すコード情報に対応する。更に、単密モードか倍密モードの動作モードかにより出力の選択を行うために画像パス選択信号を発生させ、この制御信号によって、図13におけるセレクタ423の設定を切り換えることにより、補正データ出力をパターンメモリ421からか、倍密モード用画素パターン生成部422からかの選択をする。
In the present embodiment, in addition to the configuration of FIG. 12A, the configuration in which the pixel pattern generation unit 422 for double-dense mode and the selector 423 are added enables the operation in the double-dense mode corresponding to the change in resolution. .
FIG. 13 shows a block configuration of the memory block 42 of the present embodiment in which the operation of the double density mode is enabled by the pixel pattern generation unit 422 for the double density mode.
According to the memory block 42 in FIG. 13, in the operation mode described in FIG. 12A (hereinafter referred to as “single density mode”), code information (13 bits) output from the pattern recognition unit 41 is used as an address. The correction data (4 bits) stored in advance is read out, and image data for laser driving is output, which becomes a corrected dot pattern. On the other hand, the operation mode described in FIGS. 4 to 7 (hereinafter referred to as “double density mode”); FIG. 4 is double density, FIG. 5 is triple density, FIG. 6 is quadruple density, and FIG. In the above example), in addition to the code information (13 bits) output from the pattern recognition unit 41, the main scanning / sub-scanning double-dense code shown in the figure is input, and the calculation processing for the double-dense mode is performed according to the set conditions. The pixel pattern generation unit 422 generates correction data (4 bits), and outputs image data for laser driving, which becomes a corrected dot pattern.
Here, the main scanning / sub-scanning double-dense code is a code indicating how many times the pixels have been changed in the main scanning direction and the sub-scanning direction in the double-dense mode. In the fine mode, as shown in the main scanning double-dense code in the figure, two code states of 0 → 1 → 0 → 1 → 0... Are repeated. As shown in the main scanning double-density code in the figure, the three code states of 0 → 1 → 2 → 0 → 1 → 2 → 0... As shown in the main scanning double-density code in the figure, the four code states of 0 → 1 → 2 → 3 → 0 → 1 → 2 → 3 → 0... In the dense mode, as shown in the main scanning double-dense code in the figure, there are six 0 → 1 → 2 → 3 → 4 → 5 → 0 → 1 → 2 → 3 → 4 → 5 → 0. The repetition of the code state. Although not shown, the sub-scanning direction corresponds to code information indicating how many times the sub-scanning double-dense code has been changed in line units in the double-dense mode similar to FIG. Further, an image path selection signal is generated in order to select an output depending on whether the operation mode is a single density mode or a double density mode, and the setting of the selector 423 in FIG. It is selected from the pattern memory 421 or the double-dense mode pixel pattern generation unit 422.

図13の実施形態に示したメモリブロック42により生成される補正データは、第2の画素クロック毎にレーザ発光時間を第2の画素クロック幅に対して複数に分割した情報(この場合は2値PWM信号出力)もしくは多値情報として出力される。
第2の画素クロック毎に1画素分ずつ出力される補正データ出力は、最終的には、図8に図示するビデオデータ出力部43に入力され、1画素分の画像データフォーマットに変換された出力として前述したようにLD変調部19に出力され、LD変調部19のLDのON/OFF及びパワー制御により感光体ドラム26上に画像データを書き込む。
ウインドウ40のサイズが同一の場合、注目画素と周辺画素の各値に基づいて注目画素の特徴を抽出した結果であるパターンコード情報の数は同一となるが、ウインドウ40によってパターン認識される入力画像データが如何なる解像度の画像データであり、如何なる解像度の出力画像データとして最終的にプリント用紙上に可視像としてプリントされるかによって、画質の差異を低減することが可能である。
例えば、解像度1200dpiの2値画像データがウインドウ40に入力され、同一の解像度1200dpiの多値画像データとしてスムージング処理され、出力される場合(単密モード)には、画像データの2値⇒多値変換の効果により、ジャギーの低減効果による画質の向上が図れる。この場合のスムージング処理(2値⇒多値変換処理)には、上記ウインドウ40による注目画素と周辺画素の各値に基づいて注目画素の特徴を抽出した結果であるパターンコード情報のみにより、画像データの変換が行われ、この変換は、図12(A)にて示すパターンメモリ421を利用して実施される。この場合の、図12(A)のパターンメモリ421のメモリ容量は、図12(A)に図示する13ビットの上記パターンコード情報をアドレスとして、各4ビットの情報が格納可能である仕様となる為、32kビット(アドレス=8kビット・データ:4ビット)の容量が必要となる。
図14は、単密モードにおける2値⇒多値変換(スムージング処理)の過程を具体例で説明する図である。同図に示すように、入力時は“0”もしくは“1”のデータのみで構成される1200dpiの2値画像データが、ウインドウ40によるパターン認識により、各画素がコード情報(この例では、[a,b,1,2,0]で表される)に変換され、出力時には1200dpiの中間調を含む多値画像データ(この例では、[E,2,0]で表される)として出力される。なお、この例は単密モードの場合であるため、図14中のコード情報に付記された主走査・副走査倍密コードは全て“0”と記載しているが、説明の便宜上付記したものであり、スムージング処理には不要な情報である。
The correction data generated by the memory block 42 shown in the embodiment of FIG. 13 includes information obtained by dividing the laser emission time into a plurality of second pixel clock widths for each second pixel clock (in this case, binary). PWM signal output) or output as multi-value information.
The correction data output that is output by one pixel every second pixel clock is finally input to the video data output unit 43 shown in FIG. 8 and converted into an image data format for one pixel. As described above, the data is output to the LD modulation unit 19, and the image data is written on the photosensitive drum 26 by ON / OFF of the LD of the LD modulation unit 19 and power control.
When the size of the window 40 is the same, the number of pattern code information that is the result of extracting the features of the pixel of interest based on the values of the pixel of interest and the surrounding pixels is the same, but the input image that is pattern-recognized by the window 40 It is possible to reduce the difference in image quality depending on what resolution the image data is and what resolution output image data is finally printed as a visible image on a print sheet.
For example, when binary image data with a resolution of 1200 dpi is input to the window 40 and is smoothed and output as multi-value image data with the same resolution of 1200 dpi (single density mode), the binary of the image data⇒multi-value The conversion effect can improve the image quality due to the jaggy reduction effect. In this case, the smoothing process (binary ⇒ multi-value conversion process) is performed by using only the pattern code information that is the result of extracting the features of the pixel of interest based on the values of the pixel of interest and surrounding pixels in the window 40, and image data. This conversion is performed using the pattern memory 421 shown in FIG. In this case, the memory capacity of the pattern memory 421 in FIG. 12A is a specification that can store information of 4 bits each using the 13-bit pattern code information shown in FIG. 12A as an address. Therefore, a capacity of 32k bits (address = 8k bits / data: 4 bits) is required.
FIG. 14 is a diagram for explaining the process of binary-to-multilevel conversion (smoothing process) in the single density mode with a specific example. As shown in the figure, at the time of input, 1200 dpi binary image data composed of only “0” or “1” data is converted into code information (in this example, [ a), and is output as multi-value image data (in this example, represented by [E, 2,0]) including a halftone of 1200 dpi at the time of output. Is done. Since this example is for the single density mode, the main scanning / sub-scanning double density codes added to the code information in FIG. 14 are all described as “0”, but are added for convenience of explanation. This information is unnecessary for the smoothing process.

他方、倍密モードの2値⇒多値変換については、例えば、解像度400dpiの2値画像データがウインドウ40に入力され、解像度1200dpiの多値画像データとしてスムージング処理され、出力される場合(3倍密モード)にも、画像データの2値⇒多値変換の効果により、上記単密モードにおけるパターンメモリを利用する方式による2値⇒多値変換と同様の低減効果による画質の向上が図れる。但し、3倍密モードの場合にはスムージング処理には、上記ウインドウ40による注目画素と周辺画素の各値に基づいて注目画素の特徴を抽出した結果であるパターンコード情報以外に、解像度を400dpi⇒1200dpiへ変換する過程において生成される主走査・副走査倍密コードが加えられ、画像データの変換を行うことになる。
この3倍密の処理を単密モードと同様のパターンメモリを利用する方式によって行う場合、つまり図12(B)にて示すパターンメモリ421を利用する方式で行う場合を仮定すると、パターンメモリ421のメモリ容量は、図12(B)に図示するようにパターン認識結果のコード情報13ビットと主走査・副走査倍密コードNビットをアドレスとして、各4ビットの情報が格納可能である仕様となる為、主走査・副走査倍密コードが3倍密対応時には、N=4ビットとして、512kビット(アドレス=128kビット・データ:4ビット)の容量が必要となり、単密モード時に対し、16倍のメモリ容量が必要となり、この方式では画質の向上に大きなコストUPを伴うことになる。
On the other hand, for binary-to-multilevel conversion in the double-dense mode, for example, binary image data with a resolution of 400 dpi is input to the window 40, smoothed as multivalued image data with a resolution of 1200 dpi, and output (three times). In the dense mode, the image quality can be improved by the same reduction effect as in the binary-to-multi-value conversion method using the pattern memory in the single-density mode due to the effect of the binary-to-multi-value conversion of the image data. However, in the case of the triple density mode, in the smoothing process, in addition to the pattern code information that is the result of extracting the features of the pixel of interest based on the values of the pixel of interest and the surrounding pixels in the window 40, the resolution is set to 400 dpi. The main scanning / sub-scanning dense code generated in the process of converting to 1200 dpi is added, and the image data is converted.
Assuming that this triple density processing is performed by a method using a pattern memory similar to that in the single density mode, that is, a method using the pattern memory 421 shown in FIG. As shown in FIG. 12B, the memory capacity is a specification that can store information of 4 bits each using 13 bits of code information of the pattern recognition result and N bits of main scanning / sub-scanning dense code as addresses. Therefore, when the main scanning / sub-scanning dense code supports 3 times dense, N = 4 bits and 512 kbit capacity (address = 128 kbits / data: 4 bits) is required, which is 16 times that in the single density mode. This method requires a large cost for improving the image quality.

そこで、本実施形態では、倍密モードの2値⇒多値変換にパターンメモリを利用せずに、図13に示した倍密モード用画素パターン生成部422による処理を行う方式により実施する。
この方式では、高解像度の画像データに比べ、ジャギーが視認容易であり、スムージング処理の効果がより期待される低解像度の画像データに対して、低ビット数の多値画像データへの変換でも、即ちスムージング処理に関連する各種コード情報の低減対応を行っても、画質向上を図ることができるので、そこをねらいとするものであり、図12(B)の方式によるようなメモリ容量の増大によるコストUPと画質への効果を鑑みて、より安価な回路構成により画質向上の実現を図るものである。
まず、上記で例示した3倍密モードに対するスムージング処理(2値⇒多値変換処理)には、上記ウインドウ40による注目画素と周辺画素の各値に基づいて注目画素の特徴を抽出した結果であるパターンコード情報(13ビット)以外に、解像度を400dpi⇒1200dpiへ変換する過程において生成される主走査・副走査倍密コード(Nビット)が変換処理の入力として加えられる。変換処理の入力としては同じコード情報を用いるが、本実施形態では、図12(B)に示すパターンメモリ421を用いてデータを読み出す方式ではなく、図13の倍密モード用画素パターン生成部422によって多値画像データを生成する。
Therefore, in the present embodiment, the processing by the double-dense mode pixel pattern generation unit 422 shown in FIG. 13 is performed without using a pattern memory for binary-to-multilevel conversion in the double-dense mode.
In this method, jaggies are easier to visually recognize than high-resolution image data, and even when converting low-resolution image data, which is expected to have a smoothing effect, into low-bit number multi-value image data, In other words, the image quality can be improved even if various code information related to the smoothing process is reduced, and the aim is to increase the memory capacity as in the method of FIG. In view of the increase in cost and the effect on image quality, improvement in image quality is achieved with a cheaper circuit configuration.
First, the smoothing process (binary → multi-value conversion process) for the triple density mode exemplified above is a result of extracting the features of the pixel of interest based on the values of the pixel of interest and the surrounding pixels by the window 40. In addition to the pattern code information (13 bits), a main scanning / sub-scanning dense code (N bits) generated in the process of converting the resolution from 400 dpi to 1200 dpi is added as an input of the conversion process. Although the same code information is used as the input of the conversion process, in the present embodiment, the pixel pattern generation unit 422 for the double-dense mode is not a method of reading data using the pattern memory 421 shown in FIG. To generate multi-valued image data.

倍密モード用画素パターン生成部422は、メモリによって構成せず、入力時の画像データ1画素に相当する出力画素の配列を1つの画素配列として出力する組み合わせ回路にて構成する。組み合わせ回路は、設定によりロジックが変更できる論理・演算回路を要素とするハード回路であり、上記コード情報の入力及び設定に従って論理・演算を行うことにより画素配列(多値画像データ)の出力を行う。
倍密モード用画素パターン生成部422によって、入力時の解像度が600dpiの画像データは、出力時には、主走査2倍・副走査2倍の画素数変倍が行なわれ、解像度1200dpi4画素にて画素を構成し、入力時の解像度が400dpiの画像データは、出力時には、主走査3倍・副走査3倍の画素数変倍が行なわれ、解像度1200dpi9画素にて画素の構成し、入力時の解像度が300dpiの画像データは、出力時には、主走査4倍・副走査4倍の画素数変倍が行なわれ、解像度1200dpi16画素にて画素を構成し、入力時の解像度が200dpiの画像データは、出力時には、主走査6倍・副走査6倍の画素数変倍が行なわれ、解像度1200dpi36画素にて画素の構成を行う。
図15乃至図18は、それぞれ2倍、3倍、4倍、6倍の各倍密モードにおける2値⇒多値変換(スムージング処理)の生成過程を具体例で説明する図である。図15乃至図18の各図において、(A)は入力2値画像における画素配列を示し、(B)は各画素に対するパターン認識結果を示すとともに各画素の主走査・副走査倍密コードを付記し、(C)は解像度が変換された出力多値画像における画素配列を示し、(D)はパターン認識結果のコード情報に対応する画素配列を示している。倍密モード用画素パターン生成部422は、上記(B)を条件に(C)のデータを生成する。
The double-dense mode pixel pattern generation unit 422 is not configured by a memory, but is configured by a combinational circuit that outputs an array of output pixels corresponding to one pixel of image data at the time of input as one pixel array. The combinational circuit is a hardware circuit including a logic / arithmetic circuit whose logic can be changed by setting, and outputs a pixel array (multi-valued image data) by performing logic / calculation according to the input and setting of the code information. .
The image data with a resolution of 600 dpi at the time of input is output by the double-dense mode pixel pattern generation unit 422 at the time of output, and the number of pixels is changed by 2 times of the main scanning and 2 times of the sub-scanning. In the case of image data with a resolution of 400 dpi at the time of input, the number of pixels is changed by 3 times main scanning and 3 times of sub-scanning at the time of output, and the pixels are configured with a resolution of 1200 dpi 9 pixels. When 300 dpi image data is output, the number of pixels is changed by 4 times the main scanning and 4 times the sub scanning, and the pixels are configured with a resolution of 1200 dpi 16 pixels. The image data with the input resolution of 200 dpi is output. The number of pixels is changed by 6 times the main scanning and 6 times the sub-scanning, and the pixel is configured with a resolution of 1200 dpi 36 pixels.
FIG. 15 to FIG. 18 are diagrams illustrating specific examples of the generation process of binary-to-multilevel conversion (smoothing process) in the respective double-density modes of 2 times, 3 times, 4 times, and 6 times, respectively. In each of FIGS. 15 to 18, (A) shows the pixel arrangement in the input binary image, (B) shows the pattern recognition result for each pixel, and the main scanning / sub-scanning dense code of each pixel is added. (C) shows a pixel arrangement in the output multi-valued image whose resolution has been converted, and (D) shows a pixel arrangement corresponding to the code information of the pattern recognition result. The double-dense mode pixel pattern generation unit 422 generates the data (C) on the condition (B).

ここに例示する倍密モード用画素パターン生成部422による変換では、出力時の解像度の1画素単位での画像データは、多値画像データであるが、図14に示すような全白画素と全黒画素の間の濃度階調を示す中間調の画像データを含まず、多値画像データの全黒画素(図では“F”)と全白画素(図では“0”)に相当する多値画像データによってのみ構成されるものとする。
図15〜図18に示すように、入力時は“0”もしくは“1”のデータのみで構成される600/400/300/200dpiの2値画像データ(A)が、ウインドウ40によるパターン認識により、各画素が動作モードによらず同一のパターンであれば、同一のコード情報(B)に変換され、更にそれぞれの倍密モードにおけるコード情報(B)に付記した主走査・副走査倍密コードを利用して、入力時の画像データ1画素に相当する出力画素の配列を各倍密出力時の画素配列(C)として出力することが可能になる。
ここでは、解像度は異なるが同一の入力画素構成の画像データを処理しプリント出力する例であり、図15の2倍密時と図17の4倍密時、及び図16の3倍密時と図18の6倍密時、各々の組み合わせにおいて、図示するように、プリント時の1200dpi画素構成は異なるものの、結果的に入力時の2倍の解像度を有する画像としてプリントすることが可能となり、画質向上の効果が得られることになる。
また、ここでの図15の2倍密時と図17の4倍密時、及び図16の3倍密時と図18の6倍密時は、前者については2倍密、後者については3倍密という、各々2倍と3倍という素数を基本にした倍密時の対応を示した例であり、プリント時の出力画素構成を各素数倍毎に最適化し、画質向上を行うことを可能としている。図18の6倍密時には、前記素数として2倍密と3倍密の複数の素数を基本倍密数として選択可能であるが、入力時の解像度に対する処理後の画素構成の細かさは、基本の素数の値が大きい程、画素構成が細かく補正データを設定可能となり、より画質向上効果がある。従って、上記の6倍密時の場合には、素数の大きい3倍密のデータを基本に変倍処理を行なうように倍密モード用画素パターン生成部422を設定することにより出力を行う。なお、このような設定による変倍処理を行うと、処理に必要な変倍数が設定する素数が小さい場合に比べ、少ない変倍数での対応が可能であり、より安価な回路構成による画質向上を可能とすることが可能になる。
In the conversion by the pixel pattern generation unit 422 for double density mode exemplified here, the image data in units of one pixel of the resolution at the time of output is multi-valued image data, but all white pixels and all as shown in FIG. Multivalue corresponding to all black pixels (“F” in the figure) and all white pixels (“0” in the figure) of the multivalued image data, not including halftone image data indicating the density gradation between the black pixels. It is assumed that it is composed only of image data.
As shown in FIGS. 15 to 18, 600/400/300/200 dpi binary image data (A) composed of only “0” or “1” data at the time of input is obtained by pattern recognition by the window 40. If each pixel has the same pattern regardless of the operation mode, it is converted into the same code information (B), and further added to the code information (B) in each double-density mode, and the main scanning / sub-scanning dense code Can be used to output an array of output pixels corresponding to one pixel of image data at the time of input as a pixel array (C) at the time of each double-definition output.
In this example, image data of the same input pixel configuration with different resolutions is processed and printed out. In the double density in FIG. 15, the quadruple density in FIG. 17, and the triple density in FIG. As shown in the figure, at the 6 × density in FIG. 18, the 1200 dpi pixel configuration at the time of printing is different, but as a result, it is possible to print as an image having twice the resolution at the time of input. An improvement effect is obtained.
Further, in the case of the double density in FIG. 15 and the quadruple density in FIG. 17 and in the triple density in FIG. 16 and the 6-fold density in FIG. 18, the former is double dense and the latter is 3 times. This is an example of double-dense, which is based on double and triple prime numbers, respectively, and the output pixel configuration during printing can be optimized for each prime multiple to improve image quality. It is said. In the case of 6 times dense in FIG. 18, a plurality of prime numbers of 2 times dense and 3 times dense can be selected as basic double dense numbers as the prime numbers, but the fineness of the pixel configuration after processing with respect to the resolution at the time of input is fundamental. The larger the prime number, the finer the pixel configuration, and the correction data can be set. Therefore, in the case of the above-mentioned 6-times density, the output is performed by setting the double-dense mode pixel pattern generation unit 422 so as to perform the scaling process based on the 3 times dense data having a large prime number. Note that when scaling is performed with such settings, it is possible to handle with a smaller number of magnifications compared to the case where the number of scalings required for processing is small, and image quality can be improved with a cheaper circuit configuration. It becomes possible to make it possible.

上記実施形態をベースに一部を改変した実施形態を次に示す。
上記実施形態では、画像処理手段32(図8)で入力2値データを多値データへ変換する際に、パターン認識処理を経てメモリブロック42でスムージング処理をする例を述べた。スムージング処理を行った後、メモリブロック42からは、4ビットの多値画像データを出力するようにし、解像度を変更しない単密モードにおいては、図14に示すような全白画素と全黒画素の間の濃度階調を示す中間調の画像データを含むようにし、プリント時に画素単位で多値データに従い中間調を表現できるドットを形成可能としている。
このように、本例の画像処理手段32は、処理後のプリント出力用画像データは、基本的に多値データとしてプリント時の解像度における画素単位を表しているが、解像度の変更を伴う倍密モードでは、図15〜図18に示すように、全白画素と全黒画素の間の濃度階調を示す中間調の画像データを含まない対応によっている。
そこで、ここでは、多値画像データの全黒画素と全白画素に相当する多値画像データを設定により変更可能として、各々個別の中間調を意味する多値画像データによって構成するようにして、画質の調整或いは変更を行うことを可能にするものである。
例えば、上述の図15〜図18の例では、全黒画素として“F”、全白画素として“0”のデータを例示していたが、各々、他の1〜Eの4ビット画像データへの変換設定を自在とする。変換設定は、例えば、操作部からの設定入力により指示された変換条件に従って倍密モード用画素パターン生成部422のロジックを変更することにより実施することが可能である
このようにして出力多値画像データのデータを変更することにより、入力画像の白黒反転や黒画素のみ濃度を変換する等の処理を実施することを可能にし、画像の特性によっては、必要な画質の調整、変更を行うことを可能にする。
An embodiment in which a part thereof is modified based on the above embodiment will be described below.
In the above embodiment, the example in which the smoothing process is performed in the memory block 42 through the pattern recognition process when the input binary data is converted into the multi-value data by the image processing unit 32 (FIG. 8). After the smoothing process, 4-bit multi-value image data is output from the memory block 42. In the single density mode in which the resolution is not changed, all white pixels and all black pixels as shown in FIG. It is possible to form a dot that can express halftones according to multi-value data in units of pixels at the time of printing by including halftone image data indicating density gradations between them.
As described above, the image processing unit 32 of the present example basically displays the pixel data in the resolution at the time of printing as the multi-valued data for the print output after processing. In the mode, as shown in FIGS. 15 to 18, it is based on correspondence not including halftone image data indicating density gradation between all white pixels and all black pixels.
Therefore, here, the multi-value image data corresponding to all black pixels and all white pixels of the multi-value image data can be changed by setting, and is configured by multi-value image data meaning each individual halftone, It is possible to adjust or change the image quality.
For example, in the examples of FIGS. 15 to 18 described above, data of “F” as an all black pixel and “0” as an all white pixel are illustrated. However, to the other 4-bit image data of 1 to E, respectively. The conversion settings can be freely set. Conversion setting can be performed, for example, by changing the logic of the pixel pattern generation unit 422 for the double-dense mode in accordance with the conversion condition instructed by setting input from the operation unit. By changing the data of the data, it is possible to perform processing such as black and white inversion of the input image or conversion of the density of only the black pixels, and depending on the characteristics of the image, it is possible to adjust and change the required image quality. enable.

本発明の実施形態に係るデジタル複写機の構成を示す概略図である。1 is a schematic diagram illustrating a configuration of a digital copying machine according to an embodiment of the present invention. 図1に示す印刷制御部をより詳しく示すブロック図である。FIG. 2 is a block diagram illustrating in more detail a print control unit illustrated in FIG. 1. 第1の一時記憶手段からの読み出し動作(第2の画素クロック毎)を説明するタイミングチャートである。It is a timing chart explaining the read-out operation (every 2nd pixel clock) from the 1st temporary storage means. 第1の一時記憶手段からの読み出し動作(第2の画素クロックの2クロック毎)を説明するタイミングチャートである。It is a timing chart explaining the read-out operation (every 2 clocks of the 2nd pixel clock) from the 1st temporary storage means. 第1の一時記憶手段からの読み出し動作(第2の画素クロックの3クロック毎)を説明するタイミングチャートである。It is a timing chart explaining the read-out operation (every 3 clocks of the 2nd pixel clock) from the 1st temporary storage means. 第1の一時記憶手段からの読み出し動作(第2の画素クロックの4クロック毎)を説明するタイミングチャートである。It is a timing chart explaining the read-out operation (every 4 clocks of the 2nd pixel clock) from the 1st temporary storage means. 第1の一時記憶手段からの読み出し動作(第2の画素クロックの6クロック毎)を説明するタイミングチャートである。It is a timing chart explaining the read-out operation (every 6 clocks of the 2nd pixel clock) from the 1st temporary storage means. 図2における画像処理手段の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the image processing means in FIG. 画像処理手段の要素であるウインドウの構成を示す図である。It is a figure which shows the structure of the window which is an element of an image processing means. ウインドウを画像データが順次1画素ずつシフトする様子を示す図である。It is a figure which shows a mode that image data shifts a window sequentially 1 pixel at a time. パターン認識部の内部構成及びウインドウとの関係を示すブロック図である。It is a block diagram which shows the internal structure of a pattern recognition part, and the relationship with a window. パターンメモリにより構成するメモリブロックを示し、(A)は解像度が変更されない入力に、(B)は解像度の変更を伴う入力に対応する。A memory block constituted by a pattern memory is shown. (A) corresponds to an input whose resolution is not changed, and (B) corresponds to an input accompanied with a change in resolution. 本発明の実施形態に係る倍密モードの動作が可能なメモリブロックの構成を示す。2 shows a configuration of a memory block capable of double density mode operation according to an embodiment of the present invention. 単密モードにおける2値⇒多値変換(スムージング処理)の過程を具体例で説明する図である。It is a figure explaining the process of the binary-> multi-value conversion (smoothing process) in a single density mode by a specific example. 2倍密モードにおける2値⇒多値変換(スムージング処理)の過程を具体例で説明する図である。It is a figure explaining the process of the binary-> multi-value conversion (smoothing process) in a double density mode by a specific example. 3倍密モードにおける2値⇒多値変換(スムージング処理)の過程を具体例で説明する図である。It is a figure explaining the process of binary-> multi-value conversion (smoothing process) in a triple density mode by a specific example. 4倍密モードにおける2値⇒多値変換(スムージング処理)の過程を具体例で説明する図である。It is a figure explaining the process of binary-> multi-value conversion (smoothing process) in a 4 times dense mode by a specific example. 6倍密モードにおける2値⇒多値変換(スムージング処理)の過程を具体例で説明する図である。It is a figure explaining the process of binary-> multi-value conversion (smoothing process) in 6 times dense mode by a specific example.

符号の説明Explanation of symbols

1・・・デジタル複写機、 2・・・画像読み取り部、
3・・・信号処理部、 4・・・画像印刷部、
16・・・画像処理部、 18・・・印刷制御部、
19・・・LD変調部、 20・・・LDユニット、
31・・・第1の一時記憶手段、 32・・・画像処理手段、
40・・・ウインドウ、 41・・・パターン認識部、
42・・・メモリブロック、 421・・・パターンメモリ、
422・・・倍密モード用画素パターン生成部、
43・・・ビデオデータ出力部、 44・・・タイミング制御部。
1 ... Digital copier, 2 ... Image reading unit,
3 ... signal processing unit, 4 ... image printing unit,
16 ... image processing unit, 18 ... print control unit,
19 ... LD modulator, 20 ... LD unit,
31... First temporary storage means 32... Image processing means,
40 ... window, 41 ... pattern recognition unit,
42 ... Memory block, 421 ... Pattern memory,
422 ... Pixel pattern generation unit for double-dense mode,
43: Video data output unit 44: Timing control unit

Claims (3)

所定の入力解像度でビットマップ状に展開される2値画像データを出力解像度に対応する倍密度の画像データに変換する画像処理装置であって、
前記2値画像データの注目画素を中心とする所定領域の画像データにおける黒画素領域の境界部分の線分形状を認識し、該認識結果をもとに注目画素が斜線もしくは円弧を構成する画素として補正が必要な画素か否かを判別するとともに、補正が必要な画素と判別した画素に係る線分形状の該認識結果をパターンコード情報として生成するパターン認識手段と、
出力解像度と同じ解像度である倍密度を変更しない画像データを前記パターン認識手段によって判別し、補正が必要であるとする判別結果が得られた画素に係るパターンコード情報をアドレスとして、予めメモリに多値画像として記憶しておいた補正画像データを読み出すことにより、中間調の画像データを含む出力データを生成する単密モード用画像データ生成手段と、
出力解像度よりも低い解像度である倍密度を変更する画像データを前記パターン認識手段によって判別し、補正が必要であるとする判別結果が得られた画素に係るパターンコード情報と倍密度に対応する倍密コードとを入力として、指定された倍密度に応じた画素構成よりなる補正画像データを演算することにより、中間調の画像データを含まない全白画素と全黒画素によってのみ構成される出力データを生成する倍密モード用画像データ生成手段を備えたことを特徴とする画像処理装置。
An image processing apparatus for converting binary image data developed in a bitmap shape at a predetermined input resolution into double-density image data corresponding to an output resolution,
The line segment shape of the boundary portion of the black pixel area in the image data of the predetermined area centered on the target pixel of the binary image data is recognized, and the target pixel constitutes a diagonal line or an arc based on the recognition result Pattern recognition means for determining whether or not the pixel needs correction, and generating the recognition result of the line segment shape related to the pixel determined to be correction as pattern code information;
Image data that does not change the double density that is the same resolution as the output resolution is discriminated by the pattern recognition means, and the pattern code information related to the pixel for which the discrimination result that correction is necessary is obtained is stored in advance in the memory as an address. By reading the corrected image data stored as a value image, single density mode image data generating means for generating output data including halftone image data ;
Image data for changing the double density, which is a resolution lower than the output resolution, is discriminated by the pattern recognition means, and the pattern code information relating to the pixel from which the discrimination result that correction is necessary is obtained and the double corresponding to the double density Output data composed only of all white pixels and all black pixels that do not contain halftone image data by calculating the corrected image data consisting of the pixel configuration corresponding to the specified double density with the dense code as input An image processing apparatus comprising image data generating means for double-dense mode for generating
請求項1に記載された画像処理装置において、
前記倍密モード用画像データ生成手段は、出力データを変倍する変倍演算手段を備え、かつ指定された倍密度が素数の乗算値であるときに、該素数中の最大素数の倍密度と前記パターン認識手段から得るパターンコード情報とを入力として、最大素数の倍密度に応じた画素構成の画像データを得、得られた画像データに対し前記変倍演算手段によって、指定された倍密度の補正画像データを生成することを特徴とする画像処理装置。
The image processing apparatus according to claim 1,
The double-dense mode image data generating means includes a scaling operation means for scaling the output data, and when the designated double density is a prime number multiplication value, the double density of the largest prime number in the prime number and With the pattern code information obtained from the pattern recognition means as an input, image data having a pixel configuration corresponding to the double density of the maximum prime number is obtained, and the obtained image data has a specified double density by the scaling calculator. An image processing apparatus that generates corrected image data.
請求項1又は2に記載された画像処理装置において、
前記倍密モード用画像データ生成手段は、指定された倍密度に応じた画素構成の画素データ値を多値で生成することを特徴とする画像処理装置。
In the image processing apparatus according to claim 1 or 2,
The image processing apparatus according to claim 2, wherein the image data generating means for double-dense mode generates pixel data values having a pixel configuration corresponding to a specified double density in multiple values.
JP2003410181A 2003-12-09 2003-12-09 Image processing device Expired - Fee Related JP4127675B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003410181A JP4127675B2 (en) 2003-12-09 2003-12-09 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003410181A JP4127675B2 (en) 2003-12-09 2003-12-09 Image processing device

Publications (2)

Publication Number Publication Date
JP2005175673A JP2005175673A (en) 2005-06-30
JP4127675B2 true JP4127675B2 (en) 2008-07-30

Family

ID=34731331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003410181A Expired - Fee Related JP4127675B2 (en) 2003-12-09 2003-12-09 Image processing device

Country Status (1)

Country Link
JP (1) JP4127675B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7680342B2 (en) 2004-08-16 2010-03-16 Fotonation Vision Limited Indoor/outdoor classification in digital images
US7692696B2 (en) 2005-12-27 2010-04-06 Fotonation Vision Limited Digital image acquisition system with portrait mode
US7912285B2 (en) * 2004-08-16 2011-03-22 Tessera Technologies Ireland Limited Foreground/background segmentation in digital images with differential exposure calculations
US7953287B2 (en) 2006-02-14 2011-05-31 Tessera Technologies Ireland Limited Image blurring
US8363908B2 (en) 2006-05-03 2013-01-29 DigitalOptics Corporation Europe Limited Foreground / background separation in digital images

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7680342B2 (en) 2004-08-16 2010-03-16 Fotonation Vision Limited Indoor/outdoor classification in digital images
US7912285B2 (en) * 2004-08-16 2011-03-22 Tessera Technologies Ireland Limited Foreground/background segmentation in digital images with differential exposure calculations
US7957597B2 (en) 2004-08-16 2011-06-07 Tessera Technologies Ireland Limited Foreground/background segmentation in digital images
US8175385B2 (en) 2004-08-16 2012-05-08 DigitalOptics Corporation Europe Limited Foreground/background segmentation in digital images with differential exposure calculations
US7692696B2 (en) 2005-12-27 2010-04-06 Fotonation Vision Limited Digital image acquisition system with portrait mode
US8212897B2 (en) 2005-12-27 2012-07-03 DigitalOptics Corporation Europe Limited Digital image acquisition system with portrait mode
US7953287B2 (en) 2006-02-14 2011-05-31 Tessera Technologies Ireland Limited Image blurring
US8363908B2 (en) 2006-05-03 2013-01-29 DigitalOptics Corporation Europe Limited Foreground / background separation in digital images

Also Published As

Publication number Publication date
JP2005175673A (en) 2005-06-30

Similar Documents

Publication Publication Date Title
US5687297A (en) Multifunctional apparatus for appearance tuning and resolution reconstruction of digital images
JP4771569B2 (en) Distortion correction method and distortion correction apparatus
JP4495745B2 (en) Image processing apparatus, image processing method, computer program, and storage medium
US5666470A (en) Method and apparatus for appearance tuning of bitmap images
US6332666B1 (en) Printing apparatus, resolution conversion printing method for printing apparatus, and storage medium storing computer-readable program
JP7071564B2 (en) Image processing system, image processing method, and image processing device
US5659399A (en) Method for controlling compact dot growth
US7372992B2 (en) Image data processing machine
US5757982A (en) Quadrantal scaling of dot matrix data
US5862305A (en) Logic filters for resolution conversion of digital images
US5850295A (en) Image recording apparatus
JP4127675B2 (en) Image processing device
JP3471426B2 (en) Image data processing device
JP3812131B2 (en) Image processing apparatus and image processing method
JP4892247B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP4004303B2 (en) Image data processing device
JP4004312B2 (en) Image data processing device
JP2005269091A (en) Image data processor
JP2005094061A (en) Image data processor
JP6658016B2 (en) Image processing apparatus, image processing method, and image processing system
JP3530284B2 (en) Image data processing device
JP2004080446A (en) Image data processing apparatus
JP2004236033A (en) Image data processing device
JP2002335403A (en) Image data processing unit and image forming device
JP2002271632A (en) Image data processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070502

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070629

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071228

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080509

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080509

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140523

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees