JPH10341330A - Image-forming device - Google Patents

Image-forming device

Info

Publication number
JPH10341330A
JPH10341330A JP9149462A JP14946297A JPH10341330A JP H10341330 A JPH10341330 A JP H10341330A JP 9149462 A JP9149462 A JP 9149462A JP 14946297 A JP14946297 A JP 14946297A JP H10341330 A JPH10341330 A JP H10341330A
Authority
JP
Japan
Prior art keywords
image
unit
processing
rotation
data
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
JP9149462A
Other languages
Japanese (ja)
Inventor
Nobuhiro Mishima
信広 三縞
Kazuhiro Ueda
和弘 上田
Daisetsu Tooyama
大雪 遠山
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP9149462A priority Critical patent/JPH10341330A/en
Priority to US09/092,234 priority patent/US6191405B1/en
Publication of JPH10341330A publication Critical patent/JPH10341330A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce image degradation by controlling an arbitrary angle rotating function in accordance with the features of original image data, even when a character image and a photograph image exist mixedly by operating a smoothing means only in the halftone image area of image processed by the arbitrary angle rotating means. SOLUTION: In the case of original on which character images and photographic images (halftone images) mixedly exist, the arbitrary angle rotating function is controlled corresponding to the features of original image data. Image quality is degraded by arbitrary angle rotation, but the degradation in image quality is increased especially in the photograph image and the degradation in image quality is increased with respect to the enlargement of rotation angle. Then, a memory unit part 30 judges whether an input image is a simple binary image or a photographic image, in order to perform smoothing processing to the photographic image and when it is the photographic image, smoothing processing is performed. Thus, since processing is changed in accordance with the attribute of the input image, the degradation of image quality in the photographic area is reduced and even when the character image and the photographic image exist mixedly, the appearance of original image is enhanced.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル複写機、
ファクシミリ、複合機などの画像形成装置に関する。
The present invention relates to a digital copying machine,
The present invention relates to an image forming apparatus such as a facsimile and a multifunction peripheral.

【0002】[0002]

【従来の技術】原稿画像を読み取るために原稿ガラス上
に置かれた原稿の位置が誤って傾いている場合に、この
原稿の傾きを補正して原稿画像を形成することが望まし
い。このため、画像読取装置から出力するための2次元
画像データの任意角回転処理機能が提案されている(た
とえば特公昭63−9266号公報)。この任意角回転
処理では、原稿ガラス上の置かれた原稿の傾きを検出し
て、画像データを正常な向きに回転し、こうして補正さ
れた画像データについて画像を形成する。これにより、
ユーザーが不慮に傾いて置いた原稿も、自動的に画像の
傾きを補正して出力できる。
2. Description of the Related Art When a document placed on a document glass for reading a document image is erroneously tilted, it is desirable to correct the tilt of the document to form a document image. For this reason, an arbitrary angle rotation processing function of two-dimensional image data to be output from the image reading device has been proposed (for example, Japanese Patent Publication No. 63-9266). In the arbitrary angle rotation processing, the inclination of the original placed on the original glass is detected, the image data is rotated in a normal direction, and an image is formed using the corrected image data. This allows
Documents placed by the user inadvertently tilted can be automatically corrected for image tilt and output.

【0003】[0003]

【発明が解決しようとする課題】ところが、従来の任意
角回転による傾き補正処理では、入力画像データが文字
画像のような単純2値画像でも、写真画像のような中間
調画像でも同様に自動的に処理する。また、回転角度の
大小にもかかわらず同様に処理してしまう。このとき、
文字画像の場合、任意角回転処理をした後の画像は、
(たとえば400dpi程度以上の解像度であれば)ほ
とんど画質が変わらない。ただし、中間調画像を任意角
回転処理をした後の画像は、画質が劣化してしまうとい
う不都合が生じる。たとえば、中間調画像部にざらつき
が生じる。特に回転角度が大きいと(たとえば約10°
以上では)画質の劣化がひどくなる。なお、中間調画像
にも種類が多いしまた使用者の意図も種々であるので、
一括的判断は困難である。画像を多値のデータ(階調性
をもたせたデータ)として任意角回転処理をすれば、画
質の劣化はある程度抑えられる。しかし、その場合、複
雑な構成が必要であり、処理スピードは遅くなり、コス
トが大幅に増加してしまう。中間調画像と文字画像とが
混在した原稿の場合、文字(単純2値)画像に対しスム
ージング処理をかけると逆に画質が劣化してしまう場合
がある。使用者にとって自動的に原稿の傾きを補正して
コピーがとれるのは便利であるが、画質が劣化してしま
うのは問題である。特に中間調画像は画質が要求される
場合が多いため、スムージングなどによる補正をする必
要がある。また、中間調画像と単純2値画像とが混在し
た原稿の場合、文字(単純2値)画像の画質の劣化は小
さい。このため、回転処理を施したあとの画質は、文字
部と中間調画像部とでは著しく異なってしまい、1枚の
用紙に形成した画像としては見栄えの良くないものが得
られていた。
However, in the conventional inclination correction processing based on arbitrary angle rotation, the input image data is automatically converted to a simple binary image such as a character image or a halftone image such as a photographic image. To process. In addition, the same processing is performed regardless of the magnitude of the rotation angle. At this time,
In the case of a character image, the image after the arbitrary angle rotation process is
The image quality hardly changes (for example, if the resolution is about 400 dpi or more). However, there is a disadvantage that the image quality of the image after the halftone image has been subjected to the arbitrary angle rotation processing is deteriorated. For example, roughness occurs in the halftone image portion. Especially when the rotation angle is large (for example, about 10 °).
Above) the deterioration of the image quality becomes severe. Since there are many types of halftone images and various intentions of the user,
Collective judgment is difficult. If the image is subjected to the arbitrary angle rotation processing as multi-valued data (data with gradation), the deterioration of the image quality can be suppressed to some extent. However, in that case, a complicated configuration is required, the processing speed is reduced, and the cost is greatly increased. In the case of a document in which a halftone image and a character image are mixed, if a smoothing process is performed on a character (simple binary) image, the image quality may be degraded. It is convenient for the user to be able to make a copy by automatically correcting the inclination of the document, but there is a problem that the image quality is deteriorated. In particular, since a halftone image often requires image quality, it is necessary to perform correction by smoothing or the like. In the case of a document in which a halftone image and a simple binary image are mixed, the deterioration of the image quality of a character (simple binary) image is small. For this reason, the image quality after the rotation processing is remarkably different between the character portion and the halftone image portion, and an image formed on one sheet is not good in appearance.

【0004】本発明の目的は、任意角回転機能を有する
画像形成装置であって、文字画像と写真画像とが混在す
る場合でも原稿画像データの特徴に応じて任意角回転機
能を制御できる画像形成装置を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image forming apparatus having an arbitrary angle rotation function, which can control the arbitrary angle rotation function according to the characteristics of original image data even when a character image and a photographic image are mixed. It is to provide a device.

【0005】[0005]

【課題を解決するための手段】本発明に係る画像形成装
置は、2次元の入力画像より入力画像の回転角を設定す
る回転角設定手段と、回転角設定手段により設定された
回転角で2次元の入力画像を回転する任意角回転手段
と、任意角回転手段により回転された画像に対してスム
ージング処理をするスムージング手段と、任意角回転手
段により処理された画像のうち中間調画像領域において
のみスムージング手段を作動させる制御手段とを備え
る。好ましくは、画像形成装置は、さらに入力画像デー
タが単純2値画像であるのか中間調画像であるのかを判
別する判別手段を備え、前記の制御手段は、判別手段が
中間調画像であると判別した場合に前記スムージング手
段を動作させる。好ましくは、画像形成装置は、さら
に、画質モードを設定するモード設定手段を備え、モー
ド設定手段により設定されたモードが写真モードである
場合、前記の制御手段は、任意角回転手段により処理さ
れた画像のうち中間調画像領域にのみ前記スムージング
手段を動作させる。本発明に係る第2の画像形成装置
は、2次元の入力画像より入力画像の回転角度を設定す
る回転角設定手段と、回転角設定手段により設定された
回転角で2次元の入力画像を回転する任意角回転手段
と、入力画像における画像の属性を判別する属性判別手
段と、属性判別手段により異なる属性の画像が含まれる
と判別された場合、任意角回転手段の動作を禁止する制
御手段とを備える。好ましくは、上述の画像形成装置に
おいて、さらに、原稿ガラスの上の画像を読み取る画像
読取手段を備え、前記の回転角設定手段は、画像読取手
段から入力される画像データから原稿ガラスの上に置か
れている原稿の傾き角度を検出し回転角を設定する。
An image forming apparatus according to the present invention comprises a rotation angle setting means for setting a rotation angle of an input image from a two-dimensional input image, and a rotation angle set by the rotation angle setting means. An arbitrary angle rotating means for rotating a two-dimensional input image; a smoothing means for performing smoothing processing on an image rotated by the arbitrary angle rotating means; and only in a halftone image area of an image processed by the arbitrary angle rotating means. Control means for operating the smoothing means. Preferably, the image forming apparatus further includes a determination unit that determines whether the input image data is a simple binary image or a halftone image, and the control unit determines that the determination unit is a halftone image. Then, the smoothing means is operated. Preferably, the image forming apparatus further includes a mode setting unit for setting an image quality mode, and when the mode set by the mode setting unit is a photograph mode, the control unit is processed by the arbitrary angle rotation unit. The smoothing means is operated only in the halftone image area of the image. A second image forming apparatus according to the present invention includes a rotation angle setting unit that sets a rotation angle of an input image from a two-dimensional input image, and rotates the two-dimensional input image at a rotation angle set by the rotation angle setting unit. An arbitrary angle rotation unit, an attribute determination unit that determines an attribute of an image in the input image, and a control unit that inhibits operation of the arbitrary angle rotation unit when the attribute determination unit determines that an image having a different attribute is included. Is provided. Preferably, in the above-described image forming apparatus, the image forming apparatus further includes an image reading unit that reads an image on the original glass, and the rotation angle setting unit is arranged on the original glass based on image data input from the image reading unit. The rotation angle is set by detecting the angle of inclination of the document placed.

【0006】[0006]

【発明の実施の形態】本発明の画像形成装置の1実施形
態であるデジタル複写機を、以下に添付の図面を参照し
て説明する。 (1)複写機の構成 図1は、デジタル複写機1の全体の構成を図式的に示
す。このデジタル複写機1は、読取装置200、プリン
タ装置300、原稿搬送部500、操作パネル(図2参
照)および再給紙ユニット600からなる。原稿搬送部
500は、原稿給紙トレー510上にセットされた原稿
を自動的に原稿ガラス18上の読取位置に搬送し、読取
装置200が原稿を読み取った後に原稿を排出トレイ5
11へ排出する。原稿のサイズは、センサ551と55
2により検出される。読取装置200は、走査系、画像
処理部20などからなる。走査系では、原稿ガラス18
上の原稿を読み取り、その原稿の画像の各画素に対応す
る画像データを生成する。すなわち、原稿は、原稿ガラ
ス18の下方を移動するスキャナ19に組み付けられた
露光ランプ12により照射される。原稿からの反射光
は、第1ミラー12と固定ミラー13a,13bと集光用
のレンズ14を経て、CCDアレイなどを用いたライン
センサ(光電変換素子)16に入射される。スキャナ位
置センサ17は、スキャナ19が原稿読取領域(画像領
域)に達することを検出するために設けられる。ライン
センサ16は、図1の紙面に直交する方向(主走査方
向)に多数の光電変換素子を配列したものであり、たと
えば400DPIで画像を読み取り、原稿の画像の各画
素に対応する反射光を電気信号に変換し、画像信号処理
部20に出力する。画像信号処理部20は、入力電気信
号を処理し、メモリユニット部30に対して画像データ
を出力する。ここで、画像信号処理部20は、原稿の傾
きを検出できる。メモリユニット部30は、画像信号処
理部20から入力される画像データを圧縮して一旦記憶
し、次に、伸長処理を行ってプリンタ装置300に送信
する。伸長の際、必要ならば、傾いた原稿に対する任意
角回転などの編集処理などが施される。また、メモリユ
ニット部30は、後述する外部機器インターフェース部
を備えており、外部機器接続用コネクタ50を介し、外
部ケーブル51を通して外部機器に接続される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A digital copying machine as an embodiment of the image forming apparatus of the present invention will be described below with reference to the accompanying drawings. (1) Configuration of Copying Machine FIG. 1 schematically shows the overall configuration of a digital copying machine 1. The digital copying machine 1 includes a reading device 200, a printer device 300, a document transport unit 500, an operation panel (see FIG. 2), and a re-feed unit 600. The document transport unit 500 automatically transports the document set on the document feed tray 510 to a reading position on the document glass 18 and, after the reading device 200 reads the document, discharges the document to the discharge tray 5.
Discharge to 11 The size of the original is determined by sensors 551 and 55
2 detected. The reading device 200 includes a scanning system, the image processing unit 20, and the like. In the scanning system, the original glass 18
The upper document is read, and image data corresponding to each pixel of the image of the document is generated. That is, the original is irradiated by the exposure lamp 12 attached to the scanner 19 that moves below the original glass 18. Light reflected from the document passes through a first mirror 12, fixed mirrors 13a and 13b, and a condenser lens 14, and is incident on a line sensor (photoelectric conversion element) 16 using a CCD array or the like. The scanner position sensor 17 is provided to detect that the scanner 19 reaches the document reading area (image area). The line sensor 16 has a large number of photoelectric conversion elements arranged in a direction (main scanning direction) orthogonal to the paper surface of FIG. 1. The line sensor 16 reads an image at 400 DPI, for example, and outputs reflected light corresponding to each pixel of the image of the document. The signal is converted into an electric signal and output to the image signal processing unit 20. The image signal processing unit 20 processes the input electric signal and outputs image data to the memory unit 30. Here, the image signal processing unit 20 can detect the inclination of the document. The memory unit section 30 compresses and temporarily stores the image data input from the image signal processing section 20, and then performs decompression processing and transmits it to the printer device 300. At the time of decompression, if necessary, editing processing such as rotation of the inclined document by an arbitrary angle is performed. Further, the memory unit section 30 includes an external device interface section described later, and is connected to an external device through an external cable 51 via an external device connection connector 50.

【0007】プリンタ装置300は、印字処理部40、
レーザ光学系60、作像系などから構成される。印字処
理部40は、メモリユニット部30から受信される画像
データに基づいてレーザ光学系60を制御する。レーザ
光学系60において、半導体レーザ61は、印字処理部
40からの信号によって変調されるレーザビームを放射
し、ポリゴンミラー65は、このレーザビームを偏向
し、感光体ドラム71上へ走査させる。すなわち、偏向
されたレーザビームは、f-θレンズ66および反射ミ
ラー67、68をへて、感光体ドラム71上の露光位置
に導かれ、この走査により、感光体ドラム71上に原稿
画像の潜像が形成される。
The printer device 300 includes a print processing unit 40,
It comprises a laser optical system 60, an image forming system and the like. The print processing unit 40 controls the laser optical system 60 based on the image data received from the memory unit 30. In the laser optical system 60, the semiconductor laser 61 emits a laser beam modulated by a signal from the print processing unit 40, and the polygon mirror 65 deflects the laser beam and scans the laser beam on the photosensitive drum 71. That is, the deflected laser beam is guided to the exposure position on the photosensitive drum 71 via the f-θ lens 66 and the reflection mirrors 67 and 68, and the scanning of the original image on the photosensitive drum 71 is performed by this scanning. An image is formed.

【0008】画像形成は作像系において電子写真方式で
行われ、感光体ドラム71上に形成された潜像を現像
し、用紙上に転写かつ定着して用紙上に画像を形成す
る。ここで、図1の反時計方向に回転駆動される感光体
ドラム71が帯電チャージャ72により一様に帯電され
た後で露光され、潜像は現像器73により現像される。
(図示を簡単にするため1個の現像器のみが記載される
が、シアン、マゼンタ、イエロー、ブラックの4色のト
ナーの現像器を設けることにより、カラー画像が現像で
きる。)一方、用紙は、カセット80a、80bから用紙
ガイド81とタイミングローラ82をへて感光体ドラム
71へ導かれ、現像で得られたトナー像は、転写チャー
ジャ74により用紙に転写される。次に、用紙は、分離
チャージャ75により分離され、定着ローラ84へ搬送
される。定着ローラ84は、像を用紙に熱で定着し、そ
の後、用紙は、再給紙ユニット600を経て排出され
る。
Image formation is performed by an electrophotographic method in an image forming system, and a latent image formed on a photosensitive drum 71 is developed, transferred and fixed on paper to form an image on paper. Here, the photosensitive drum 71 rotated and driven in the counterclockwise direction in FIG. 1 is uniformly charged by the charging charger 72 and then exposed, and the latent image is developed by the developing unit 73.
(Only one developing device is shown for simplicity of illustration, but a color image can be developed by providing developing devices for four colors of cyan, magenta, yellow, and black.) Then, the toner image is guided from the cassettes 80a and 80b to the photosensitive drum 71 through the sheet guide 81 and the timing roller 82, and the toner image obtained by the development is transferred to the sheet by the transfer charger 74. Next, the sheet is separated by the separation charger 75 and is conveyed to the fixing roller 84. The fixing roller 84 fixes the image on the sheet by heat, and then the sheet is discharged through the re-feed unit 600.

【0009】図2は、複写機の操作パネルの平面図であ
る。操作パネルには、状態表示および各種モード設定の
ための液晶タッチパネル91、コピーの数値(枚数、倍
率など)を入力するためのテンキー92、数値を標準値
に戻すためのクリアキー93、コピーモードを初期化す
るためのパネルリセットキー94、コピーの中止を指示
するためのストップキー95、コピーの開始を指示する
ためのスタートキー96、割り込み起動および復帰を指
定するための割り込みキー97、画質モード(写真/文
字)を指定する画質モードキー98、任意角回転補正モ
ードを指示するキー102などが配置される。キー10
2を押すことにより、液晶タッチパネル91において、
任意角回転機能に関連した各種チョイス設定(モード設
定など)が行える。図3は、複数のデジタル複写機1、
1'をネットワーク上に接続したシステム形態の1例を
示す。デジタル複写機1、1’は、外部機器インターフ
ェースコネクタ50にて、インターフェースケーブル5
1を介して、外部機器の1例であるコントローラ2、
2'に接続される。コントローラ2は、Etherne
tなどの汎用インターフェースを介してコンピュータ3
に接続され、また、コントローラ2'を通して他のデジ
タル複写機1'に接続される。1例として、コンピュー
タ3で作成したデータファイルのプリントのため、各種
設定(用紙サイズ、倍率、プリント枚数、ステープル、
ソーティングなどの条件)および出力命令が入力される
と、コンピュータ3上でのプリント処理でコントローラ
2へ送られる。コントローラ2では、一般的にコンピュ
ータ3から送られてくる画像データ(ポストスクリプト
データなど)をラスターデータへ変換する。そのため、
コントローラ2には、最低で1画面分のメモリが搭載さ
れる。ビットマップデータに変換されると、デジタル複
写機1へ画像データを伝送し(同時に、各種設定条件も
コントローラ2を介して送信し)、デジタル複写機1側
で、用紙上への画像形成および各種処理が施される。な
お、本発明はこのシステム形態に限定されるものではな
く、モデムと電話回線を通して接続されているファクシ
ミリ装置などのシステムなども含むものである。
FIG. 2 is a plan view of the operation panel of the copying machine. The operation panel includes a liquid crystal touch panel 91 for status display and various mode settings, a numeric keypad 92 for inputting numerical values (number of sheets, magnification, etc.), a clear key 93 for returning numerical values to standard values, and a copy mode. A panel reset key 94 for initializing, a stop key 95 for instructing to stop copying, a start key 96 for instructing to start copying, an interrupt key 97 for designating interrupt activation and return, an image quality mode ( An image quality mode key 98 for designating (photo / text), a key 102 for designating an arbitrary angle rotation correction mode, and the like are arranged. Key 10
By pressing 2, on the liquid crystal touch panel 91,
Various choice settings (mode setting, etc.) related to the arbitrary angle rotation function can be performed. FIG. 3 shows a plurality of digital copying machines 1,
1 shows an example of a system configuration in which 1 ′ is connected on a network. The digital copiers 1 and 1 ′ are connected to an external device interface connector 50 via an interface cable 5.
1, a controller 2, which is an example of an external device,
2 '. Controller 2 is Ethernet
computer 3 via a general-purpose interface such as
And to another digital copying machine 1 'through the controller 2'. As an example, various settings (paper size, magnification, number of prints, staples,
When a condition such as sorting) and an output command are input, the command is sent to the controller 2 in a printing process on the computer 3. The controller 2 generally converts image data (such as PostScript data) sent from the computer 3 into raster data. for that reason,
The controller 2 has a memory for at least one screen. When converted into bitmap data, the image data is transmitted to the digital copying machine 1 (at the same time, various setting conditions are also transmitted via the controller 2). Processing is performed. It should be noted that the present invention is not limited to this system form, but also includes a system such as a facsimile apparatus connected to a modem through a telephone line.

【0010】(2)複写機の制御系 図4と図5は、複写機1を制御する制御部100を示
す。制御部100は、8個のCPU101〜107を中
心に構成され、これら各CPU101〜107には、そ
れぞれプログラムを格納したROM111〜117およ
びプログラム実行のワークエリアとなるRAM121〜
127が設けられている。なお、CPU103は、メモ
リユニット30内に設けられる。
(2) Copying Machine Control System FIGS. 4 and 5 show a control unit 100 for controlling the copying machine 1. The control unit 100 is mainly composed of eight CPUs 101 to 107. Each of the CPUs 101 to 107 has a ROM 111 to 117 storing a program and a RAM 121 to 117 serving as a work area for executing the program.
127 are provided. Note that the CPU 103 is provided in the memory unit 30.

【0011】第1CPU101は、操作パネル(図2参
照)の各種操作キーからの信号の入力および液晶タッチ
パネルの表示を制御する。第2CPU102は、読取装
置200の走査系の駆動制御と画像信号処理部20の各
部の制御を行なう。ここで、読み取った画像より、原稿
の傾きを検出する。第3CPU103は、メモリユニッ
ト部30を制御することによって読取った画像データを
圧縮し符号メモリ303に一旦格納し、次にこれを読出
して印字処理部40へ出力する。ここで、読み出し時
に、画像傾き補正を含む画像データの回転編集などが行
われる。なお、メモリユニット部30には、外部機器と
のインターフェースを行なう機能があり、画像データや
制御データが送受信される。第4CPU104は、プリ
ンタ装置300の印字処理部40、光学系60および作
像系の制御を行なう。第5CPU105は、制御部10
0の全体的なタイミング調整や動作モードの設定のため
の処理を行なう。第6CPU106は、原稿搬送部50
0の制御を行なう。第7CPU107は、再給紙ユニッ
ト600の制御を行なう。これらのCPU101〜10
7の間では、割込みによるシリアル通信が行なわれ、コ
マンド、レポートなどやデータが授受される。
The first CPU 101 controls input of signals from various operation keys on an operation panel (see FIG. 2) and display on a liquid crystal touch panel. The second CPU 102 controls driving of a scanning system of the reading device 200 and controls each unit of the image signal processing unit 20. Here, the inclination of the document is detected from the read image. The third CPU 103 compresses the read image data by controlling the memory unit 30, temporarily stores the read image data in the code memory 303, then reads out the image data and outputs it to the print processing unit 40. Here, at the time of reading, rotation editing of image data including image tilt correction is performed. The memory unit 30 has a function of interfacing with an external device, and transmits and receives image data and control data. The fourth CPU 104 controls the print processing unit 40, the optical system 60, and the image forming system of the printer device 300. The fifth CPU 105 controls the control unit 10
Processing for adjusting the overall timing of 0 and setting the operation mode is performed. The sixth CPU 106 controls the document conveying unit 50
0 is controlled. The seventh CPU 107 controls the sheet re-feed unit 600. These CPUs 101 to 10
Between 7, serial communication is performed by interruption, and commands, reports, and data are transmitted and received.

【0012】図6は、CPU105により制御されるコ
ントローラ2のブロック図である。第1外部インターフ
ェース700は、外部のコンピュータ3と信号のやりと
りをする。インタープリタ702は、コンピュータ3か
ら送られてきたデータ(たとえばポストスクリプトデー
タ)を翻訳してラスターデータへ展開し、メモリ部70
2は、ラスターデータを記憶する。1ページ分の画像デ
ータを格納すると、第2外部インターフェース704を
介して印字部へ画像データが出力される。
FIG. 6 is a block diagram of the controller 2 controlled by the CPU 105. The first external interface 700 exchanges signals with the external computer 3. The interpreter 702 translates data (for example, postscript data) sent from the computer 3 and develops the data into raster data,
2 stores raster data. When one page of image data is stored, the image data is output to the printing unit via the second external interface 704.

【0013】次に、画像データの処理について説明す
る。図7は、画像信号処理部20を示し、画像信号処理
部20は、タイミング制御部21、アンプ23、A/D
変換器25、シェーディング補正部26、濃度変換部2
7、電気変倍部28、編集加工部29などからなり、C
PU102により制御される。画像信号処理部20によ
って、ラインセンサ16からの入力信号が、アンプ23
により増幅され、A/D変換器25により画素ごとに8
ビットの画像データに量子化される。画像データは、そ
の後、シェーディング補正、濃度データへの変換(ガン
マ補正)、電気変倍、編集加工の種々の処理が施された
後に、画像データとしてメモリユニット30やプリンタ
装置に送られる。CPU102は、画像信号処理部20
の各部26〜29へのパラメータの設定、レーザ走査系
のスキャナモータのスキャン制御、CPU105との通
信などを行い、読取装置200全体を制御する。原稿サ
イズおよび原稿の向きは次のように検知される。読み取
った画像が原稿であるか否かの判断において、たとえ
ば、原稿搬送装置500の原稿カバーを鏡面のものとし
て、原稿ガラス18上に置かれた原稿を走査し、反射光
量が多いところを原稿と判断する。鏡面であれば反射光
量がほとんどないため、その判断が容易である。したが
って、原稿カバーを開放した状態で走査してもよい。C
PU102は、CPU105より原稿サイズ検出動作の
指示を受けると、予備スキャンをおこなう。CPU10
2は、スキャナ位置センサ17からの位置情報に基づい
て、スキャナ19を駆動するスキャナモータを制御し、
スキャナ19を副走査方向に走査させる。副走査位置に
対応したタイミングで、画像データの内容とモニタ位置
情報とから、原稿サイズと縦置き/横置きを検出し、検
出結果をCPU105へ送信する。CPU102は、C
PU105から送信される倍率情報を基に、画像読取時
に、その倍率情報にあったスキャン速度でスキャナモー
タの速度を制御する。
Next, processing of image data will be described. FIG. 7 illustrates an image signal processing unit 20. The image signal processing unit 20 includes a timing control unit 21, an amplifier 23, an A / D
Converter 25, shading correction unit 26, density conversion unit 2
7, an electric scaling section 28, an editing section 29, etc.
It is controlled by the PU 102. The image signal processing unit 20 converts the input signal from the line sensor 16 into an amplifier 23
And amplified by the A / D converter 25 for each pixel.
It is quantized to bit image data. The image data is then subjected to various processes such as shading correction, conversion to density data (gamma correction), electric scaling, and editing, and then sent as image data to the memory unit 30 or a printer device. The CPU 102 controls the image signal processing unit 20
Of the scanner unit of the laser scanning system, communication with the CPU 105, and the like, and controls the entire reading apparatus 200. The document size and the orientation of the document are detected as follows. In determining whether or not the read image is a document, for example, the document placed on the document glass 18 is scanned by setting the document cover of the document feeder 500 to a mirror-like surface, and a portion where the amount of reflected light is large is determined as the document. to decide. If the mirror surface is used, the amount of reflected light is very small, so that the determination is easy. Therefore, scanning may be performed with the document cover opened. C
When receiving an instruction of the document size detection operation from the CPU 105, the PU 102 performs a preliminary scan. CPU10
2 controls a scanner motor that drives the scanner 19 based on position information from the scanner position sensor 17;
The scanner 19 is caused to scan in the sub-scanning direction. At the timing corresponding to the sub-scanning position, the document size and the portrait / landscape orientation are detected from the content of the image data and the monitor position information, and the detection result is transmitted to the CPU 105. The CPU 102
Based on the magnification information transmitted from the PU 105, at the time of image reading, the speed of the scanner motor is controlled at a scan speed that matches the magnification information.

【0014】図8は、メモリユニット30のブロック図
である。切り換え部301は、画像信号処理部20、印
字処理部、外部インターフェース310への画像データ
のルートを切り換える。領域判別部303は、領域(画
素)ごとに入力画像データが単純2値データであるか中
間調データであるかについて判別をする。2値化処理部
302は、第3CPU103からのパラメータ設定に基
づいて、誤差拡散、ディザ法などにより多値画像データ
に復元可能な範囲で画像データを2値データに変換す
る。画像メモリ304は、2ページ分の容量を有する。
2値データは、画像メモリ304に記憶される。画像メ
モリ304から読み出された2値データは、次に、符号
処理部305の中の圧縮器311によって圧縮され、符
号メモリ306に記憶される。符号メモリ306は、た
とえば、400DPIでA4サイズの1頁分の容量を有
するマルチポートのメモリである。符号メモリ306に
は、複数頁の原稿画像の読取データが一時的に記憶され
るが、符号メモリ306内のデータは、RAM126内
に設けられた符号管理テーブルによって管理される。
FIG. 8 is a block diagram of the memory unit 30. The switching unit 301 switches the route of image data to the image signal processing unit 20, the print processing unit, and the external interface 310. The area determination unit 303 determines whether input image data is simple binary data or halftone data for each area (pixel). Based on the parameter settings from the third CPU 103, the binarization processing unit 302 converts the image data into binary data within a range that can be restored to multivalued image data by error diffusion, dithering, or the like. The image memory 304 has a capacity for two pages.
The binary data is stored in the image memory 304. Next, the binary data read from the image memory 304 is compressed by the compressor 311 in the code processing unit 305 and stored in the code memory 306. The code memory 306 is, for example, a multi-port memory having a capacity of one page of A4 size at 400 DPI. The code memory 306 temporarily stores read data of a document image of a plurality of pages. The data in the code memory 306 is managed by a code management table provided in the RAM 126.

【0015】プリント時には、符号メモリ306内の圧
縮された画像データは、伸長器312によって伸長され
る。また画像編集が必要な場合は、伸長時に編集制御部
307で編集処理(回転、変倍、移動など)を行い、編
集処理と伸長処理を同時に行う。必要ならば伸長時に傾
斜角回転も行われる。伸長されたデータは、画像メモリ
304に転送される。1ページ分のデータの伸長がなさ
れると、画像メモリ304から読み出された2値データ
は、多値化処理部308により多値データに変換され、
必要ならばスムージング処理部309においてスムージ
ング処理がされた後、切り換え部301を介して、印字
処理部40または外部機器に転送される。CPU103
は、多値化処理部302とスムージング処理部309に
制御パラメータを送る。
At the time of printing, the compressed image data in the code memory 306 is expanded by an expander 312. If image editing is required, the editing control unit 307 performs editing processing (rotation, scaling, movement, etc.) at the time of decompression, and performs the editing processing and decompression processing simultaneously. If necessary, a tilt angle rotation is also performed at the time of extension. The decompressed data is transferred to the image memory 304. When the data of one page is decompressed, the binary data read from the image memory 304 is converted into multi-value data by the multi-value processing unit 308.
If necessary, after the smoothing processing is performed in the smoothing processing unit 309, the data is transferred to the print processing unit 40 or the external device via the switching unit 301. CPU103
Sends control parameters to the multi-value processing section 302 and the smoothing processing section 309.

【0016】次に、画像読取及びプリントにおける複写
機1の動作シーケンスについて、CPU101〜106
の間でやりとりされる要求コマンド(Q)、レポート(A)
およびデータの流れを中心に説明する。図9は、メモリ
書き込み動作の概略のシーケンスを示す。まず、全体の
シーケンスを管理している第5CPU105が、メモリ
ユニット部30を制御する第3CPU103に対してメ
モリ準備を要求する。これを受けて、CPU103は、
内部ハードウエアに対し、画像信号処理部20からの画
像データを画像メモリ304へ転送させるためのバス接
続状態の設定、2値化処理のためのモードの設定、画像
メモリ304における書き込み領域の開始アドレス、X
Yレングス情報などの設定をおこなう。これらの設定が
終わって準備が完了すると、CPU103は、CPU1
05に対してメモリ準備の完了を通知する。次に、CP
U105は、CPU103とCPU102に対して読取
を要求する。これに応じて、CPU102は、読取装置
200の原稿走査部に対してスキャンを要求する。こう
して、原稿のスキャンが開始され、スキャナ19が原稿
ガラス上の原稿読取領域に達すると、CPU102によ
り設定された画像処理モードに応じて、読み取りデータ
(画像データD2)が画像信号処理部20からメモリユニ
ット部30に転送される。スキャンが終了すると、スキ
ャン終了信号がCPU102に送られ、CPU102、
103から読取の完了がCPU105に通知される。次
に、CPU105は、CPU103に対して、データの
圧縮を要求する。これを受けて、CPU103は、画像
メモリ304からの読み出しアドレス、XYレングス情
報、符号メモリ306への書き込みアドレス、圧縮器3
11のモード(たとえば算術符号化方式、MH方式)な
どを設定し、各部の起動を行う。これによって圧縮器3
11による圧縮処理が行われ、符号データが符号メモリ
306に格納される。圧縮処理が完了すると、CPU1
03はCPU105に圧縮の完了を通知する。このと
き、符号メモリ306がデータでいっぱいになっていた
場合には、圧縮不可能を示すパラメータを付加した圧縮
完了レポートがCPU105に送られる。これによっ
て、CPU105は、符号メモリ306がフルになった
ことを知ることができる。
Next, the operation sequence of the copying machine 1 in image reading and printing will be described with reference to the CPUs 101 to 106.
Command (Q), report (A) exchanged between
And the flow of data. FIG. 9 shows a schematic sequence of the memory write operation. First, the fifth CPU 105, which manages the entire sequence, requests the third CPU 103, which controls the memory unit 30, to prepare for memory. In response, the CPU 103
Setting of a bus connection state for transferring image data from the image signal processing unit 20 to the image memory 304 to the internal hardware, setting of a mode for binarization processing, start address of a writing area in the image memory 304 , X
Make settings such as Y-length information. When these settings are completed and the preparation is completed, the CPU 103
05 is notified of the completion of memory preparation. Next, CP
U105 requests the CPU 103 and CPU 102 to read. In response, the CPU 102 requests the document scanning unit of the reading device 200 to scan. In this way, when the scanning of the original is started and the scanner 19 reaches the original reading area on the original glass, the read data is read according to the image processing mode set by the CPU 102.
(Image data D2) is transferred from the image signal processing unit 20 to the memory unit unit 30. When the scan is completed, a scan end signal is sent to the CPU 102, and the CPU 102
103 notifies the CPU 105 of the completion of the reading. Next, the CPU 105 requests the CPU 103 to compress the data. In response to this, the CPU 103 sets the read address from the image memory 304, the XY length information, the write address to the code memory 306,
Eleven modes (for example, arithmetic coding system and MH system) are set, and each unit is started. This allows the compressor 3
11 is performed, and the code data is stored in the code memory 306. When the compression process is completed, the CPU 1
03 notifies the CPU 105 of the completion of compression. At this time, if the code memory 306 is full of data, a compression completion report to which a parameter indicating that compression is impossible is added is sent to the CPU 105. Thus, the CPU 105 can know that the code memory 306 has become full.

【0017】図10は、メモリ読み出し動作の概略のシ
ーケンスを示す。メモリ読み出し動作では、画像メモリ
304から画像データが読み出され、その画像データに
基づいて用紙に複写画像がプリントされる。CPU10
5は、CPU103に対してデータ伸長を要求する。こ
れを受けて、CPU103は、符号メモリ306からの
読み出しアドレス、データの量、画像メモリ304への
書き込みアドレス、XYレングス情報、伸長器312の
モード(たとえば、算術符号化方式、MH方式)、傾斜
角回転などの編集処理モードなどを設定して、各部の起
動をおこなう。これによって伸長(編集)処理がおこな
われ、画像データが画像メモリ304に書き込まれる。
伸長処理が終了すると、CPU103はCPU105に
対して伸長完了を通知する。次に、CPU105は、C
PU103に対して、画像メモリ304から画像を読み
出すためのメモリ準備を要求する。これを受けて、CP
U103は、内部ハードウエアに対して、画像メモリ3
04から印字処理部40へ画像データを出力するための
バス接続状態の設定、画像メモリ304の読み出し領域
の開始アドレスおよびXYレングス情報などの設定を行
い、CPU105にメモリ準備完了を通知する。次に、
CPU105は、CPU103と印字部40に対して、
プリントを要求する。印字処理部40からCPU105
に用紙の搬送状態を知らせる給紙レポートが送られ、そ
の後、画像メモリ304から読み出された画像データが
印字処理部40に出力され、プリントが行われる。プリ
ントが終了すると、CPU103と印字処理部40がC
PU105に対してプリント完了レポートとイジェクト
完了レポートを送る。これらのレポートを受け取ったC
PU105は、必要に応じてCPU103に対してメモ
リクリア要求を与える。
FIG. 10 shows a schematic sequence of a memory read operation. In the memory read operation, image data is read from the image memory 304, and a copy image is printed on a sheet based on the image data. CPU10
5 requests the CPU 103 to decompress data. In response, the CPU 103 reads the address from the code memory 306, the amount of data, the write address to the image memory 304, the XY length information, the mode of the decompressor 312 (for example, the arithmetic coding method and the MH method), Set the edit processing mode such as angular rotation and start each unit. As a result, decompression (editing) processing is performed, and the image data is written to the image memory 304.
When the decompression process is completed, the CPU 103 notifies the CPU 105 of the completion of the decompression. Next, the CPU 105
The PU 103 is requested to prepare a memory for reading an image from the image memory 304. In response, CP
U103 is the image memory 3 for the internal hardware.
04, the setting of the bus connection state for outputting the image data to the print processing unit 40, the setting of the start address of the read area of the image memory 304, the XY length information, and the like are performed, and the CPU 105 is notified of the completion of the memory preparation. next,
The CPU 105 controls the CPU 103 and the printing unit 40
Request a print. From the print processing unit 40 to the CPU 105
Then, a paper feed report notifying the paper transport state is sent to the printer, and thereafter, the image data read from the image memory 304 is output to the print processing unit 40, and printing is performed. When printing is completed, the CPU 103 and the print processing unit 40
A print completion report and an ejection completion report are sent to the PU 105. C who received these reports
The PU 105 gives a memory clear request to the CPU 103 as needed.

【0018】(3)原稿が傾いている場合の原稿読取 次に、原稿ガラス18上で読み取られる原稿が傾いてい
る場合の画像読取について説明する。図11に示すよう
に、原稿10は、右上端(3角印で示す)を基準とする
原稿ガラス18の上に、原稿の複写面を下向きに置かれ
ている。原稿ガラス18の長手方向がスキャン読取の副
走査方向であり、それに垂直な方向が主走査方向であ
る。図11に示した例では、原稿は、画像基準から離れ
て置かれ、その位置は副走査方向と平行ではない。この
例では、原稿は読取領域からはみ出ていない。図12と
図13は、原稿10(破線で示す)が読取領域(実線で
示す長方形)からはみ出ていない場合の読み取った画像
のイメージを示す。(原稿10を複写面側から見るの
で、画像基準は左上端である。)画像信号処理部20で
は、少なくとも原稿の範囲を含む長方形領域の画像デー
タを処理して、原稿が存在する原稿領域の検出を行い、
原稿の周囲(すなわちエッジ部)のすべての座標から、
図に示すように長方形原稿の4隅の座標を検出する。こ
こで、主走査方向がX軸であり、副走査方向がY軸であ
る。XmaxとXminは、最大と最小のX座標であり、残り
の2つのX座標のうち大きいほうがX1であり、小さい
ほうがX2である。また、YmaxとYminは、最大と最小
のY座標であり、残りの2つのY座標のうち大きいほう
がY1であり、小さいほうがY2である。図12の例で
は、原稿の4隅のX座標とY座標は、(X1,Ymin)、
(Xmax,Y2)、(Xmin,Y1)、(X2,Ymax)であ
る。原稿10の4辺の長さa、b、c、dは、原稿の座
標から以下のとおり計算できる。 a=√{(Xmax−X1)2+(Y2−Ymin)2} b=√{(X1−Xmin)2+(Y1−Ymin)2} (1) c=√{(X2−Xmin)2+(Ymax−Y1)2} d=√{(Xmax−X2)2+(Ymax−Y2)2} また、図13の例では、原稿の傾きの方向が図12の場
合と異なり、原稿の4端の座標は、(Xmin,Y1)、
(X1,Ymin)、(X2,Ymax)、(Xmax,Y2)であ
る。この場合も4辺の長さa、b、c、dは同じ式で計
算できる。ここで、傾いた画像を補正するための編集処
理パラメータは、次のようになる。まず、X1−Xmin
1−Yminの場合(図12)、 回転座標: (X1,Ymin) 回転角θ: tan-1{(X1−Xmin)/(Y1−Ymin)} (2) デスティネーションアドレス(pmdax,pmday): (−X1,−Ymin) また、X1−Xmin>Y1−Yminの場合(図13)、 回転座標: (Xmin,Y1) 回転角θ: tan-1{(Y1−Ymin)/(X1−Xmin)} (3) デスティネーションアドレス(pmdax,pmday): (−Xmin,−Y1) 回転座標は、図の左上端に近い隅の座標である。回転角
θは、回転座標位置を基準として原稿を回転して読取領
域に平行にするための回転角である。デスティネーショ
ンアドレスは、メモリへの転送先の座標であり、左上端
の位置から画像基準への長さに相当する。
(3) Document Reading When Document is Tilt Next, image reading when the document read on the document glass 18 is tilted will be described. As shown in FIG. 11, the document 10 is placed with its copy surface facing downward on a document glass 18 with reference to the upper right end (indicated by a triangle). The longitudinal direction of the original glass 18 is the sub-scanning direction of scan reading, and the direction perpendicular thereto is the main scanning direction. In the example shown in FIG. 11, the document is placed away from the image reference, and its position is not parallel to the sub-scanning direction. In this example, the document does not protrude from the reading area. FIGS. 12 and 13 show images of a read image when the document 10 (shown by a broken line) does not protrude from a reading area (a rectangle shown by a solid line). (Since the document 10 is viewed from the copy surface side, the image reference is at the upper left corner.) The image signal processing unit 20 processes image data of a rectangular area including at least the range of the document and processes the image data of the document area where the document exists. Perform detection,
From all the coordinates around the original (that is, the edge),
As shown in the figure, the coordinates of the four corners of the rectangular document are detected. Here, the main scanning direction is the X axis, and the sub scanning direction is the Y axis. X max and X min are the maximum and minimum X coordinates. Of the remaining two X coordinates, the larger one is X 1 and the smaller one is X 2 . Y max and Y min are the maximum and minimum Y coordinates, of which the larger one is Y 1 and the smaller one is Y 2. In the example of FIG. 12, the X and Y coordinates of the four corners of the document are (X 1 , Y min ),
(X max, Y 2), a (X min, Y 1), (X 2, Y max). The lengths a, b, c, and d of the four sides of the document 10 can be calculated as follows from the coordinates of the document. a = {(X max −X 1 ) 2 + (Y 2 −Y min ) 2 } b = {(X 1 −X min ) 2 + (Y 1 −Y min ) 2 } (1) c = √ {(X 2 −X min ) 2 + (Y max −Y 1 ) 2 } d = {(X max −X 2 ) 2 + (Y max −Y 2 ) 2 } In the example of FIG. Unlike the case of FIG. 12, the coordinates of the four edges of the document are (X min , Y 1 ),
(X 1 , Y min ), (X 2 , Y max ) and (X max , Y 2 ). Also in this case, the lengths a, b, c, and d of the four sides can be calculated by the same formula. Here, the editing processing parameters for correcting the tilted image are as follows. First, X 1 −X min <
In the case of Y 1 −Y min (FIG. 12), rotation coordinates: (X 1 , Y min ) Rotation angle θ: tan −1 {(X 1 −X min ) / (Y 1 −Y min )} (2) Destination Nation address (pmmax, pmday): (−X 1 , −Y min ) When X 1 −X min > Y 1 −Y min (FIG. 13), rotation coordinates: (X min , Y 1 ) Rotation angle θ : Tan -1 {(Y 1 −Y min ) / (X 1 −X min )} (3) Destination address (pmdx, pmday): (−X min , −Y 1 ) The rotation coordinates are the upper left corner of the figure. Are the coordinates of the corner near. The rotation angle θ is a rotation angle for rotating the original with reference to the rotational coordinate position to make the original parallel to the reading area. The destination address is the coordinates of the transfer destination to the memory, and corresponds to the length from the upper left position to the image reference.

【0019】(4)任意角回転による傾斜角補正 読み取った原稿の傾きが検出された場合に、画像を傾斜
角だけ自動的に回転して、傾かない画像を得る。したが
って、使用者が原稿を原稿ガラス上に置く場合に、誤っ
て傾いて置いた場合などにおいて、画像は自動的に傾斜
角だけ回転されるので、正常な画像が得られる。以下
で、この任意角回転処理について説明する。任意角回転
は、画像読取により検出された編集パラメータに基づい
て、メモリユニット30内の編集処理部307において
行われる。まず、編集処理部307について説明する。
図14は、メモリユニット30内の編集処理部307の
任意角回転に関連する部分と画像メモリ304を示す。
編集処理部307による回転などの編集は、画像メモリ
304を利用し、シフト処理、X−Y変換処理およびビ
ットスワップ処理を組み合わせて進められる(図15、
図16参照)。なお、回転処理をしない場合(0°回
転)は、破線で示すように、ビットスワップ処理のみが
おこなわれ、信号W2、R2のみがアクセスされる。
(4) Tilt Correction by Arbitrary Angle Rotation When the tilt of the read document is detected, the image is automatically rotated by the tilt angle to obtain an image that does not tilt. Therefore, when the user places the document on the document glass and erroneously places the document on the document glass, the image is automatically rotated by the tilt angle, so that a normal image can be obtained. Hereinafter, the arbitrary angle rotation processing will be described. The arbitrary angle rotation is performed in the editing processing unit 307 in the memory unit 30 based on the editing parameters detected by the image reading. First, the editing processing unit 307 will be described.
FIG. 14 shows a portion related to the arbitrary angle rotation of the edit processing unit 307 in the memory unit 30 and the image memory 304.
Editing such as rotation by the editing processing unit 307 is performed by using the image memory 304 and combining shift processing, XY conversion processing, and bit swap processing (FIG. 15, FIG.
See FIG. 16). When the rotation process is not performed (0 ° rotation), only the bit swap process is performed, and only the signals W2 and R2 are accessed, as indicated by the broken line.

【0020】回転処理をする場合、伸長部312より転
送される入力画像データは、16ビットであり、編集処
理部307において、まず16→32変換部3070で
32ビットに変換される。編集処理部307の内部動作
および画像メモリ304へのアクセスを高速に処理する
ため、データ処理はすべて32ビットで行われる。第1
シフト部3071は、ビット変換後のデータが必要であ
れば、シフト処理をし、画像メモリ304内の第1-1
スライスエリア部3040と第1-2スライスエリア部
3041に書き込む。第1-1X-Y変換部3072と第
1-2X-Y変換部3073は、それぞれ、第1-1スラ
イスエリア部3040と第1-2スライスエリア部30
41から読み出されたデータR1についてX-Y変換処
理をする。第2シフト部3074はX-Y変換後のデー
タについて必要であればシフト処理をする。第1ビット
スワップ部3075は、16→32変換部3070から
のデータまたは第2シフト部3074からのデータを必
要であればビットスワップ処理し、画像メモリ304内
の編集用の仮想用紙エリア3042(最大でA3サイズ
の容量)に書き込む。第2X-Y変換部3076は、プ
リント出力時に、必要であれば第2ビットスワップ部3
077により、画像メモリ304内のプリント出力用の
仮想用紙エリア3042から読み出したR2データのX
-Y変換処理をして、画像メモリ304内の第2スライ
スエリア3043に書き込む。プリント出力動作時に仮
想用紙エリア3042から読み出されたR2データまた
は第2スライスエリア3043から読み出されたR3デ
ータは、32→1変換部3078により1ビットに変換
され、多値化処理部308へ転送される。連続動作時に
は、画像メモリ304へのアクセス(信号W1〜W3、
R1〜R3)は、32ビットバスラインにて時分割で並
列処理される。
In the case of performing the rotation processing, the input image data transferred from the decompression unit 312 is 16 bits, and is converted into 32 bits by the edit processing unit 307 by the 16 → 32 conversion unit 3070 first. In order to process the internal operation of the edit processing unit 307 and access to the image memory 304 at high speed, all data processing is performed in 32 bits. First
The shift unit 3071 performs a shift process if data after bit conversion is necessary, and
The data is written to the slice area 3040 and the 1-2 slice area 3041. The 1-1X-Y conversion section 3072 and the 1-2X-Y conversion section 3073 respectively include a 1-1 slice area section 3040 and a 1-2 slice area section 30.
An XY conversion process is performed on the data R1 read from 41. The second shift unit 3074 performs a shift process on the data after the XY conversion, if necessary. The first bit swap unit 3075 performs bit swap processing on the data from the 16 → 32 conversion unit 3070 or the data from the second shift unit 3074 if necessary, and edits the virtual paper area 3042 (maximum) in the image memory 304. To write to A3 size capacity). The second XY conversion unit 3076 outputs the second bit swap unit 3 if necessary at the time of printout.
077, the X of the R2 data read from the print output virtual paper area 3042 in the image memory 304
After performing the -Y conversion process, the data is written to the second slice area 3043 in the image memory 304. The R2 data read from the virtual paper area 3042 or the R3 data read from the second slice area 3043 during the print output operation is converted into one bit by the 32 → 1 conversion unit 3078 and sent to the multi-value processing unit 308. Will be transferred. During continuous operation, access to the image memory 304 (signals W1 to W3,
R1 to R3) are processed in parallel on a 32-bit bus line in a time division manner.

【0021】次に、図15を参照して、画像データの9
0°回転処理を説明する。伸長部312より転送される
入力画像のイメージは、左上の(a)に示すように、左
上端を画像基準として受信される。この入力画像データ
は、右上の(b)に示すように、ライン単位で第1-1
スライスエリア部3040から32ビット×32ライン
のデータから、32ビット×32ビットのブロックの単
位で読み出されて、第1-1X-Y変換部3072で編集
処理される。次に、90°回転のために、中央の(c)
に示すように読み出され、右下の(d)に示すように、
仮想用紙エリア3042に書き込まれる。このとき、画
像基準(デスティネーションアドレス(pmdax,pmday))
が左下端になるように、データを展開する。第1-1ス
ライスエリア部3040と第1-2スライスエリア部3
041は、対になっていて、上記の処理がダブルバッフ
ァ動作で行われる。次に、図16を参照して、第1ビッ
トスワップ部3075と第2ビットスワップ部3077
による画像データのビットスワップ処理を説明する。こ
の処理において、図の上部に示すように、32ビットの
データの並びを逆転する。そして、図の下部に示すよう
に、逆転したデータを、仮想用紙エリア3042におい
て、画像基準(デスティネーションアドレス)が右下端
になるように書き込む。また、90°回転とビットスワ
ップ処理を組み合わせることにより270°回転もする
ことができる。このとき、画像基準が右上端になるよう
にデータを展開する。なお、編集処理部307では、画
像基準の仮想用紙エリアへの転送先(デスティネーショ
ンアドレス)を変えることにより、画像の平行移動も同
時に処理することができる。また、説明はしないが、特
定の領域の画像の消去や複写・貼り付けなどの処理も可
能である。
Next, referring to FIG.
The 0 ° rotation processing will be described. The image of the input image transferred from the decompression unit 312 is received with the upper left end as the image reference, as shown in FIG. The input image data is, as shown in (b) at the upper right, the first to the first in the line unit.
The data is read from the slice area unit 3040 in units of 32 bits × 32 bits from data of 32 bits × 32 lines, and is edited by the 1-1X-Y conversion unit 3072. Next, for 90 ° rotation, the center (c)
Is read out as shown in FIG.
The data is written in the virtual paper area 3042. At this time, image reference (destination address (pmdax, pmday))
Expand the data so that is at the lower left. 1-1 slice area section 3040 and 1-2 slice area section 3
No. 041 is a pair, and the above processing is performed by a double buffer operation. Next, referring to FIG. 16, first bit swap unit 3075 and second bit swap unit 3077
A bit swap process of image data according to will be described. In this process, as shown in the upper part of the figure, the arrangement of the 32-bit data is reversed. Then, as shown in the lower part of the figure, the inverted data is written in the virtual paper area 3042 such that the image reference (destination address) is at the lower right corner. In addition, by combining the 90 ° rotation and the bit swap processing, it is also possible to rotate 270 °. At this time, the data is developed so that the image reference is at the upper right end. The editing processing unit 307 can simultaneously process the parallel movement of the image by changing the transfer destination (destination address) to the virtual paper area based on the image. Although not described, processing such as erasing, copying, and pasting of an image in a specific area is also possible.

【0022】次に、任意角回転のための演算について説
明する。次の式は、アフィン変換における回転処理を示
す。式(4)に示されるように、座標(X,Y)は角度
θだけ回転されて座標(U,V)になる。この演算は、
式(5)に示すように分解され、第1シフト、90°回
転、第2シフト、−90°回転の組み合わせとなる。上
述の編集処理部307では、これらの処理を組み合わせ
て演算が行われる。第1シフトと第2シフトでは、Y軸
パラメータ固定でX軸パラメータのみが処理される。
Next, the calculation for the arbitrary angle rotation will be described. The following equation shows a rotation process in the affine transformation. As shown in Expression (4), the coordinates (X, Y) are rotated by the angle θ to become coordinates (U, V). This operation is
It is decomposed as shown in Expression (5), and becomes a combination of the first shift, the 90 ° rotation, the second shift, and the −90 ° rotation. The above-described editing processing unit 307 performs an operation by combining these processes. In the first shift and the second shift, only the X-axis parameter is processed with the Y-axis parameter fixed.

【数1】 (Equation 1)

【0023】次に、上述の回転アドレス演算の逆演算を
示す。式(6)、(7)は、式(4)、(5)の逆変換
を示す。
Next, the inverse operation of the above-described rotation address operation will be described. Equations (6) and (7) show the inverse transform of Equations (4) and (5).

【数2】 (Equation 2)

【0024】画像データの任意角回転処理では、上述の
任意角回転のための演算に従って画像データが処理され
る。図17により、画像データの任意角回転処理(シフ
トシフト方式)を説明する。編集処理部307におい
て、図17の左上に示すように、伸長部312より転送
される入力画像のイメージは、左上端を基準として受信
される。この入力画像データは、図の中央部上側に示す
ように、上述の第1シフト部3071において、設定さ
れた回転角θに応じて第1シフト処理がなされ、第1-
1スライスエリア3041と第1-2スライスエリア3
042へライン単位で書き込まれる。次に、第1-1ス
ライスエリア3041と第1-2スライスエリア304
2から32×32ビットのブロックの単位で読み出さ
れ、第1-1X-Y変換部3072と第1-2X-Y変換部
3073により処理される。次に、2ブロック分のデー
タを基に、第2シフト部3074にて、設定された回転
角θに応じた第2シフト処理がなされ、このデータが仮
想用紙エリア3042に書き込まれる。2つのスライス
エリア3040、3041は対になっており、上述の動
作がダブルバッファ動作にて行われる。これまでの処理
で、画像は(90°+θ)回転した状態となる。仮想用
紙エリア3042からプリント出力をするとき、−90
°回転(270°回転)を第2X-Y変換部3076と
第2ビットスワップ部3077を用いて処理し、第2ス
ライスエリア部3043へバッファリング(ビット変
換)をしてから、多値化処理部308へ出力する。シフ
トシフト方式による回転処理は、処理後の画質を考慮す
るとθはなるべく小さい角度が望ましいため、−45°
<θ<45°とする。それ以上の角度の回転は、90°
単位の回転と組み合わせることにより処理する。
In the arbitrary angle rotation processing of the image data, the image data is processed according to the above-described calculation for the arbitrary angle rotation. An arbitrary angle rotation process (shift shift method) of image data will be described with reference to FIG. In the editing processing unit 307, the image of the input image transferred from the decompression unit 312 is received on the basis of the upper left corner as shown in the upper left of FIG. The input image data is subjected to a first shift process in the above-described first shift unit 3071 in accordance with the set rotation angle θ, as shown in the upper part of the center of FIG.
1 slice area 3041 and 1-2 slice area 3
042 is written in line units. Next, a 1-1 slice area 3041 and a 1-2 slice area 304
The data is read out in units of 2 to 32 × 32 bit blocks, and processed by the 1-1X-Y conversion unit 3072 and the 1-2X-Y conversion unit 3073. Next, based on the data for the two blocks, the second shift unit 3074 performs a second shift process according to the set rotation angle θ, and writes the data to the virtual paper area 3042. The two slice areas 3040 and 3041 form a pair, and the above operation is performed by a double buffer operation. With the processing so far, the image is rotated by (90 ° + θ). When printing out from the virtual paper area 3042, -90
The rotation by 270 ° (270 ° rotation) is processed using the second XY conversion unit 3076 and the second bit swap unit 3077, buffered (bit converted) to the second slice area unit 3043, and then multi-valued. Output to the unit 308. In the rotation process by the shift method, θ is desirably as small as possible in consideration of the image quality after the process.
<Θ <45 °. 90 ° rotation for more angles
Process by combining with unit rotation.

【0025】次に、画像データの任意角回転と変倍処理
とを同時に処理するための論理式を示す。式(8)は、
アフィン変換における回転処理と変倍処理を示し、座標
(X,Y)は角度θだけ回転されてα倍になって座標
(U,V)になる。これは、式(10)に示すように分
解され、第1シフト、90°回転、第2シフト、−90
°回転となる。第1と第2のシフトは、Y軸パラメータ
固定でX軸パラメータのみが処理される。
Next, a logical expression for simultaneously processing the arbitrary angle rotation and the scaling process of the image data is shown. Equation (8) is
The rotation processing and the scaling processing in the affine transformation are shown, and the coordinates (X, Y) are rotated by an angle θ and multiplied by α to become coordinates (U, V). This is decomposed as shown in equation (10), and the first shift, the rotation by 90 °, the second shift, −90
° rotation. In the first and second shifts, only the X-axis parameter is processed while the Y-axis parameter is fixed.

【数3】 次に、上述の回転アドレス演算の逆演算を示す。式(1
0)、(11)は、式(8)、(9)の逆変換を示す。
(Equation 3) Next, an inverse operation of the above-described rotation address operation will be described. Equation (1
(0) and (11) show the inverse transformations of equations (8) and (9).

【数4】 (Equation 4)

【0026】図18は、上述の画像データの任意角回転
処理を示す。この処理は、シフト処理、90°回転、シ
フト処理、−90°回転からなる。変倍は、図14に示
す編集処理部307において、第1と第2のシフト部に
おいて変倍のパラメータを対応させることにより行な
う。ただし、倍率によっては、スライスエリアの数を増
やすことが必要になる。このとき、変倍のみを処理し、
回転しない場合は、回転角度の設定を0°にすればよ
い。
FIG. 18 shows the above-described arbitrary rotation processing of image data. This processing includes shift processing, 90 ° rotation, shift processing, and −90 ° rotation. The scaling is performed in the editing processing unit 307 shown in FIG. 14 by associating the scaling parameters in the first and second shift units. However, depending on the magnification, it is necessary to increase the number of slice areas. At this time, only the scaling is processed,
If not, the rotation angle may be set to 0 °.

【0027】(5)画像の性質に応じた傾斜角回転補正 本複写機では、文字画像と写真画像(中間調画像)とが混
在する原稿の場合でも原稿画像データの特徴に応じて任
意角回転機能を制御する。任意角回転により画質が劣化
するが、特に写真画像に対して画質の劣化が大きい。回
転角度が大きいほど(たとえば約15°以上では)画質
の劣化がひどくなる。(なお、写真画像にも種類が多い
しまた使用者の意図も種々であるので、画像劣化の一括
的判断は困難である。)そこで、写真画像に対しスムー
ジング処理をすることが望ましい。このため、たとえば
入力画像が単純2値画像か写真画像であるかを判断し、
写真画像であれば、スムージング処理をする。こうし
て、入力画像の属性に応じて処理を変えるので、写真領
域での画質劣化が少なく、1枚の原稿に文字画像と写真
画像が混在していても、1枚の用紙に形成される原稿画
像の見栄えがよくなる。また、使用者が画質モードを設
定した場合、設定された画質モードが写真モードである
場合、任意角回転処理された画像のうち中間調画像領域
にのみスムージング処理をする。
(5) Tilt Angle Rotation Correction According to Image Properties In the present copying machine, even in the case of a document in which a character image and a photographic image (halftone image) are mixed, an arbitrary angle rotation is performed according to the characteristics of the document image data. Control functions. Although image quality is degraded by rotation at an arbitrary angle, image quality is particularly degraded especially for photographic images. As the rotation angle increases (for example, when the rotation angle is about 15 ° or more), the image quality deteriorates more seriously. (Because there are many types of photographic images and the user's intentions are various, it is difficult to judge image deterioration collectively.) Therefore, it is desirable to perform smoothing processing on photographic images. For this reason, for example, it is determined whether the input image is a simple binary image or a photographic image,
If it is a photographic image, a smoothing process is performed. Since the processing is changed in accordance with the attribute of the input image in this manner, the image quality is not deteriorated in the photographic area, and even if the character image and the photographic image are mixed on one original, the original image formed on one sheet Looks better. When the user sets the image quality mode, and when the set image quality mode is the photograph mode, the smoothing processing is performed only on the halftone image area of the image subjected to the arbitrary angle rotation processing.

【0028】(6)複写機の制御 以下に本複写機の制御のフローを説明する。図19は、
操作パネルを制御する第1CPU101のメインフロー
チャートである。電源が投入されると、まず、RAMや
レジスタなどを初期化する初期設定を行なう(ステップ
S11)。その後、1ルーチンの長さを規定する内部タ
イマーをセットし(ステップS12)、キー操作を受け
付けるキー入力処理をし(ステップS13)、キー操作
に応じた表示を行なうパネル表示処理をする(ステップ
S14)。そして、傾斜角回転処理のためチョイス設定
処理をする(ステップS15、図26参照)。そして、
その他の処理をした後(ステップS17)、内部タイマ
ーの終了を待って(ステップS18でYES)、ステッ
プS12に戻り、上述の処理をくり返す。また、適時に
割り込み処理として、他のCPUとの通信をおこなう。
(6) Control of Copying Machine The control flow of the copying machine will be described below. FIG.
5 is a main flowchart of a first CPU 101 that controls an operation panel. When the power is turned on, first, an initialization for initializing a RAM, a register, and the like is performed (step S11). Thereafter, an internal timer that defines the length of one routine is set (step S12), key input processing for accepting key operation is performed (step S13), and panel display processing for performing display according to the key operation is performed (step S14). ). Then, a choice setting process is performed for the tilt angle rotation process (step S15, see FIG. 26). And
After performing other processing (step S17), the process waits for the end of the internal timer (YES in step S18), returns to step S12, and repeats the above processing. In addition, communication with another CPU is performed as interrupt processing at an appropriate time.

【0029】図20は、画質モード設定のフローチャー
トである。画質モードキーが押し下げられると(ステッ
プS171)、もし、現在の画質モードMDが写真モー
ドであれば(ステップS172でYES)、文字モード
を設定し(ステップS173)、写真モードでなければ
(ステップS172でNO)、写真モードを設定して
(ステップS174)、リターンする。
FIG. 20 is a flowchart for setting the image quality mode. If the image quality mode key is depressed (step S171), if the current image quality mode MD is the photo mode (YES in step S172), the character mode is set (step S173), and if not, the mode is not the photo mode (step S172). And NO), set the photograph mode (step S174), and return.

【0030】図21は、チョイス設定(図25、ステッ
プS15)のフローチャートである。まず、操作パネル
より入力されたスムージングモード(RYOまたはGA
SITU)をS_HANTEIに登録する(ステップS
151)。次に、領域判別比較データをREFに登録す
る(ステップS152)。さらに、その他の処理をして
(ステップS153)、リターンする。
FIG. 21 is a flowchart of the choice setting (FIG. 25, step S15). First, the smoothing mode (RYO or GA) input from the operation panel
SITU) is registered in S_HANTEI (step S)
151). Next, the area determination comparison data is registered in REF (step S152). Further, other processing is performed (step S153), and the process returns.

【0031】図22は、画像信号処理部20を制御する
第2CPU102のメインフローチャートである。RA
Mやレジスタなどを初期化する初期設定をおこなった後
(ステップS21)、1ルーチンの長さを規定する内部
タイマーをセットする(ステップS22)。次に、画像
データを入力し(ステップS23)、原稿検出処理をし
(ステップS24、図23参照)、画像処理をし(ステ
ップS25)、画像データを出力する(ステップS2
6)。そして、その他の処理をし(ステップS27)、
内部タイマーの終了を待って(ステップS28でYE
S)、ステップS22に戻り、上述の処理をくり返す。
FIG. 22 is a main flowchart of the second CPU 102 for controlling the image signal processing section 20. RA
After initial settings for initializing M and registers are performed (step S21), an internal timer that defines the length of one routine is set (step S22). Next, image data is input (step S23), document detection processing is performed (step S24, see FIG. 23), image processing is performed (step S25), and image data is output (step S2).
6). Then, other processing is performed (step S27),
Wait for the end of the internal timer (YE in step S28).
S), the process returns to step S22, and the above processing is repeated.

【0032】図23は、原稿検出処理(図22、ステッ
プS24)のフローチャートである。ここで、原稿領域
においてエッジ部の座標を抽出し、抽出した複数の座標
からなる直線を原稿領域の各辺とみなす(ステップS2
41)。次に、Xmin点とXmax点の座標およびYmin
とYmax点の座標(図12、図13参照)を抽出する
(ステップS242、S243)。X1−Xmin<Y1
minであれば(ステップS244でYES)、−ta
-1((X1−Xmin)/(Y1−Ymin))を傾き角θ'とす
る(ステップS245)。また、X1−Xmin>Y1−Y
minであれば(ステップS246でYES)、−tan
-1((Y1−Ymin)/(X1−Xmin))を傾き角θ'とする
(ステップS247)。また、X1−Xmin=Y1−Ymin
であれば(ステップS248でYES)、傾き角θ'を
0とする(ステップS249)。以上のいすれにも該当
しない場合は、傾き角θ'を45°とする(ステップS
250)。
FIG. 23 is a flowchart of the document detection process (FIG. 22, step S24). Here, the coordinates of the edge portion are extracted in the document area, and a straight line composed of the extracted coordinates is regarded as each side of the document area (step S2).
41). Next, the coordinates of the X min point and the X max point and the coordinates of the Y min point and the Y max point (see FIGS. 12 and 13) are extracted (steps S242 and S243). X 1 −X min <Y 1
If Y min (YES in step S244), -ta
n −1 ((X 1 −X min ) / (Y 1 −Y min )) is defined as the inclination angle θ ′ (step S 245). X 1 −X min > Y 1 −Y
If it is min (YES in step S246), -tan
−1 ((Y 1 −Y min ) / (X 1 −X min )) is defined as the inclination angle θ ′ (step S247). X 1 −X min = Y 1 −Y min
If it is (YES in step S248), the inclination angle θ ′ is set to 0 (step S249). If none of the above applies, the inclination angle θ ′ is set to 45 ° (Step S
250).

【0033】図24は、メモリユニット部30を制御す
る第3CPU103のメインフローチャートである。ま
ずRAMやレジスタなどを初期化する初期設定をおこな
う(ステップS31)。次に、第5CPUからのコマン
ドを受信するコマンド受信処理(ステップS32)、第
5CPUへステータスを送信するステータス送信処理
(ステップS33)、画像メモリ書き込み処理(ステッ
プS34)、領域判別処理(ステップS35、図25参
照)、スムージング判定処理(ステップS36、図26
参照)、圧縮制御処理(ステップS37)、伸長制御処
理(ステップS38)、編集制御処理(ステップS3
9、図27参照)、スムージング制御処理(ステップS
3A、図28参照)、画像メモリ読み出し処理(ステッ
プS3B)、および、その他の処理(ステップS3C)
をする。そして、ステップS32に戻り、上述の処理を
くり返す。
FIG. 24 is a main flowchart of the third CPU 103 for controlling the memory unit 30. First, initial settings for initializing a RAM, a register, and the like are performed (step S31). Next, a command receiving process for receiving a command from the fifth CPU (step S32), a status transmitting process for transmitting a status to the fifth CPU (step S33), an image memory writing process (step S34), an area determining process (step S35, 26, smoothing determination processing (step S36, FIG. 26)
), Compression control processing (step S37), decompression control processing (step S38), edit control processing (step S3).
9, see FIG. 27), smoothing control processing (step S
3A, see FIG. 28), image memory read processing (step S3B), and other processing (step S3C).
do. Then, the process returns to step S32, and the above processing is repeated.

【0034】図25は、領域判定処理のフローチャート
(図24、ステップS35)である。画像入力が終了し
たら(ステップS351でYES)、領域判別結果を読
み出し、文字領域をMOJI、写真領域をSYASIN
と設定し(ステップS352、S353)、全体に対す
る写真領域の割合SYASIN/(SYASIN+MO
JI)をHANBETUとする(ステップS354)。
次に、算出結果HANBETUを領域判別比較データR
EFと比較し(ステップS355)、算出結果HANB
ETUのほうが大きい場合は写真画像(SYASIN_
IMG)をIMAGEに設定し(ステップS356)、
小さい場合は文字画像(MOJI_IMG)をIMAG
Eに設定する(ステップS357)。
FIG. 25 is a flowchart of the area determination process (FIG. 24, step S35). When the image input is completed (YES in step S351), the area determination result is read, and the text area is MOJI and the photograph area is SYASIN.
(Steps S352 and S353), and the ratio of the photographic area to the whole SYASIN / (SIASIN + MO)
JI) is set as HANBETU (step S354).
Next, the calculation result HANBETU is stored in the area determination comparison data R
EF (step S355), and the calculation result HANB
If the ETU is larger, the photographic image (SYASIN_
IMG) is set to IMAGE (step S356),
If it is smaller, the character image (MOJI_IMG) is IMAG
It is set to E (step S357).

【0035】図26は、スムージング判定処理のフロー
チャート(図24、ステップS36)である。まずチョ
イスまたは操作パネルにより設定されたスムージング判
定モード(S_HANTEI)により分岐する(ステッ
プS361、S362)。スムージング判定モードが領
域判別によるモードRYOである場合は、さらにIMA
GEの内容により分岐する(ステップS363)。スム
ージング判定モードが写真画像(SYASIN_IM
G)である場合、または、写真モードである場合、スム
ージング処理をする(ステップS364)。スムージン
グ判定モードが文字画像MOJI_IMGである場合、
または、文字画像モードである場合、ただちにステップ
S36Aに進み、SMOOTH_0をスムージングパラ
メータSMOOTH_PARAに設定する(ステップS
365)。
FIG. 26 is a flowchart of the smoothing determination process (FIG. 24, step S36). First, the process branches according to the smoothing determination mode (S_HANTEI) set by the choice or the operation panel (steps S361 and S362). If the smoothing determination mode is the mode RYO based on the area determination, the
The process branches depending on the content of the GE (step S363). When the smoothing determination mode is a photograph image (SYASIN_IM
If G) or in the photo mode, a smoothing process is performed (step S364). When the smoothing determination mode is the character image MOJI_IMG,
Alternatively, in the case of the character image mode, the process immediately proceeds to step S36A, and SMOOTH_0 is set to the smoothing parameter SMOOTH_PARA (step S36).
365).

【0036】図27は、編集制御(図24、ステップS
39)のフローチャートである。符号メモリ306にプ
リント用のデータが蓄えられていれば(ステップS39
1でYES)、90°単位回転パラメータ(90θ)を
設定し(ステップS392)、任意角回転パラメータθ
を設定し(ステップS393)、デスティネーションパ
ラメータ(pmdax、pmday)を設定する(ステ
ップS394)。そして、他のパラメータを設定する
(ステップS395)。次に、設定されたデスティネー
ション、回転角に基づいて任意角回転処理を実行する
(ステップS396)。次に、90°回転をすると判断
されると(ステップS397でYES)、90°単位回
転を実行する(ステップS398)。そして、リターン
する。
FIG. 27 shows the editing control (FIG. 24, step S
39 is a flowchart of FIG. If print data is stored in the code memory 306 (step S39)
1 is YES), a 90 ° unit rotation parameter (90θ) is set (step S392), and the arbitrary angle rotation parameter θ
Is set (step S393), and destination parameters (pmmax, pmday) are set (step S394). Then, other parameters are set (step S395). Next, an arbitrary angle rotation process is executed based on the set destination and rotation angle (step S396). Next, when it is determined that rotation is to be performed by 90 ° (YES in step S397), a 90 ° unit rotation is performed (step S398). And it returns.

【0037】図28は、スムージング制御処理のフロー
チャート(図24、ステップS3A)である。符号メモ
リ306にプリント用のデータが蓄えられていれば(ス
テップS3A1でYES)、スムージングパラメータS
MOOTH_PARAがSMOOTH_0であれば(ステ
ップS3A2でYES)、スムージング処理のディスエ
ーブル設定を行い(ステップS3A3)、スムージング
パラメータSMOOTH_PARAがSMOOTH_0で
なければ(ステップS3A2でNO)、スムージング処
理のイネーブル設定を行う(ステップS3A4)。そし
て、他のパラメータを設定する(ステップS3A5)。
FIG. 28 is a flowchart of the smoothing control process (FIG. 24, step S3A). If print data is stored in code memory 306 (YES in step S3A1), smoothing parameter S
If MOOOTH_PARA is SMOOTH_0 (YES in step S3A2), smoothing process disable setting is performed (step S3A3). If smoothing parameter SMOOTH_PARA is not SMOOTH_0 (NO in step S3A2), smoothing process enable setting is performed (step S3A2). S3A4). Then, other parameters are set (step S3A5).

【0038】図29は、プリンタ部を制御する第4CP
U104のメインフローチャートである。RAMやレジ
スタなどを初期化する初期設定をおこなった後(ステッ
プS41)、1ルーチンの長さを規定する内部タイマー
をセットする(ステップS42)。次に、現像・転写系
の制御(ステップS43)、搬送系の制御(ステップS
44)、定着系の制御(ステップS45)、印字処理部
の制御(ステップS46)をする。そして、その他の処
理をする(ステップS47)。次に、内部タイマーの終
了を待って(ステップS48でYES)、ステップS4
2に戻り、上述の処理をくり返す。図30は、複写機全
体の制御を統括する第5CPU105のメインフローチ
ャートである。RAMやレジスタなどを初期化する初期
設定をおこなった後(ステップS51)、1ルーチンの
長さを規定する内部タイマーをセットする(ステップS
52)。次に、他のCPUからの入力データをチェック
する入力データ解析処理(ステップS53)、操作内容
に応じて動作モードを定めるモード設定処理(ステップ
S54)、割り込み切換処理(ステップS55)、モー
ドに応じたコマンド設定処理(ステップS56)、コマ
ンドを通信ポートに待機させる出力データ設定(ステッ
プS57)、および、その他の処理(ステップS58)
をする。次に、内部タイマーの終了を待って(ステップ
S59でYES)、ステップS52に戻り、上述の処理
をくり返す。
FIG. 29 shows a fourth CP for controlling the printer unit.
It is a main flowchart of U104. After the initialization for initializing the RAM and the registers is performed (step S41), an internal timer that defines the length of one routine is set (step S42). Next, control of the development / transfer system (step S43) and control of the transport system (step S43)
44), control of the fixing system (step S45), and control of the print processing unit (step S46). Then, other processing is performed (step S47). Next, after waiting for the end of the internal timer (YES in step S48), step S4
2 and repeat the above processing. FIG. 30 is a main flowchart of the fifth CPU 105 for controlling the entire copying machine. After the initialization for initializing the RAM and the registers is performed (step S51), an internal timer that defines the length of one routine is set (step S51).
52). Next, an input data analysis process for checking input data from another CPU (step S53), a mode setting process for determining an operation mode according to the operation content (step S54), an interrupt switching process (step S55), and a mode Command setting processing (step S56), output data setting for making the command wait in the communication port (step S57), and other processing (step S58).
do. Next, waiting for the end of the internal timer (YES in step S59), the process returns to step S52, and the above-described processing is repeated.

【0039】以上で、原稿読取装置から入力した画像デ
ータの任意角回転処理について述べたが、同様にネット
ワーク上の外部機器から通信される画像データ(角度パ
ラメータ付き)を処理することも可能である。たとえ
ば、外部機器から入力される画像データについて任意角
回転処理をして印字処理部で印字できる。また、画像読
取装置で読み取った画像データについて任意角回転処理
をして外部機器に出力できる。また、外部機器から入力
される画像データについて任意角回転処理をして再び外
部機器に出力できる。
In the above, the arbitrary angle rotation processing of the image data input from the document reading apparatus has been described. Similarly, it is also possible to process image data (with angle parameters) communicated from an external device on the network. . For example, image data input from an external device can be rotated by an arbitrary angle and printed by the print processing unit. Further, the image data read by the image reading device can be subjected to an arbitrary angle rotation process and output to an external device. In addition, image data input from an external device can be subjected to arbitrary angle rotation processing and output to the external device again.

【0040】(7)第2実施形態 第2実施形態の複写機では、第1実施形態の複写機と同
様に文字画像と写真画像(中間調画像)とが混在する原稿
の場合に、写真画像に対しスムージング処理をする。本
複写機の特徴は、プリント時に原稿画像データの属性を
判断し、その属性に応じてスムージング機能を制御する
ことである。すなわち、画像メモリから読み出した画像
データについて、原稿画像中の各領域において画像の種
類(文字/写真)を判断し、写真領域にのみ回転処理後
の画像データに対しスムージング処理をする。この複写
機は、第1実施形態の複写機とはメモリユニット部30
の構成において異なるので、以下にメモリユニット部に
ついて説明する。このメモリユニット部30では、プリ
ント時に画像データを読み出す際に、領域(画素)ごと
に画像属性が判別され、その判別結果に対応して、写真
画像に対してはスムージング処理が制御される。図31
に示すメモリユニット30において、切り換え部301
は、画像信号処理部20、印字処理部、外部インターフ
ェース310への画像データのルートを切り換える。2
値化処理部302は、第3CPU103からのパラメー
タ設定に基づいて、誤差拡散、ディザ法などにより多値
画像データに復元可能な範囲で画像データを2値データ
に変換する。画像メモリ304は、2ページ分の容量を
有する。2値データは、画像メモリ304に記憶され
る。画像メモリ304から読み出された2値データは、
次に、符号処理部305の中の圧縮器311によって圧
縮され、符号メモリ306に記憶される。符号メモリ3
06は、たとえば、400DPIでA4サイズの1頁分
の容量を有するマルチポートのメモリである。符号メモ
リ306には、複数頁の原稿画像の読取データが一時的
に記憶されるが、符号メモリ306内のデータは、RA
M126内に設けられた符号管理テーブルによって管理
される。
(7) Second Embodiment In the copying machine according to the second embodiment, as in the copying machine according to the first embodiment, when a document in which a character image and a photographic image (halftone image) are mixed exists, a photographic image Is subjected to a smoothing process. The feature of this copying machine is that the attribute of the document image data is determined at the time of printing, and the smoothing function is controlled according to the attribute. That is, for the image data read from the image memory, the type (character / photo) of the image is determined in each area in the original image, and the smoothing processing is performed on the image data after the rotation processing only in the photographic area. This copying machine is different from the copying machine of the first embodiment in that the memory unit 30
Therefore, the memory unit will be described below. In the memory unit 30, when image data is read during printing, an image attribute is determined for each region (pixel), and a smoothing process is controlled for a photographic image in accordance with the determination result. FIG.
In the memory unit 30 shown in FIG.
Switches the route of image data to the image signal processing unit 20, the print processing unit, and the external interface 310. 2
Based on the parameter setting from the third CPU 103, the binarization processing unit 302 converts the image data into binary data within a range that can be restored to multi-valued image data by error diffusion, dithering, or the like. The image memory 304 has a capacity for two pages. The binary data is stored in the image memory 304. The binary data read from the image memory 304 is
Next, the data is compressed by the compressor 311 in the code processing unit 305 and stored in the code memory 306. Code memory 3
Reference numeral 06 denotes a multiport memory having a capacity of one page of A4 size at 400 DPI, for example. The read data of the document image of a plurality of pages is temporarily stored in the code memory 306.
It is managed by a code management table provided in M126.

【0041】プリント時には、符号メモリ306内の圧
縮された画像データは、伸長器312によって伸長され
る。また画像編集が必要な場合は、伸長時に編集制御部
307で編集処理(回転、変倍、移動など)を行い、編
集処理と伸長処理を同時に行う。必要ならば伸長時に傾
斜角回転も行われる。伸長されたデータは、画像メモリ
304に転送される。1ページ分のデータの伸長がなさ
れると、画像メモリ304から読み出された2値データ
は、領域判別部303'で、入力画像データが単純2値
データであるか中間調データであるかについて領域判別
をし、多値化スムージング処理部309'にタイミング
信号を送る。多値化スムージング部309'により多値
データに変換され、中間調画像ならばタイミング信号に
よりスムージング処理がされる。その後、切り換え部3
01を介して、印字処理部40または外部機器に転送さ
れる。CPU103は、多値化処理部302とスムージ
ング処理部309に制御パラメータを送る。
At the time of printing, the compressed image data in the code memory 306 is expanded by the expander 312. If image editing is required, the editing control unit 307 performs editing processing (rotation, scaling, movement, etc.) at the time of decompression, and performs the editing processing and decompression processing simultaneously. If necessary, a tilt angle rotation is also performed at the time of extension. The decompressed data is transferred to the image memory 304. When the data of one page is expanded, the binary data read from the image memory 304 is used by the area determining unit 303 'to determine whether the input image data is simple binary data or halftone data. The region is determined, and a timing signal is sent to the multilevel smoothing processing unit 309 '. The data is converted into multi-value data by a multi-value smoothing unit 309 ', and if the image is a halftone image, smoothing processing is performed by a timing signal. Then, the switching unit 3
01 to the print processing unit 40 or an external device. The CPU 103 sends control parameters to the multi-value processing section 302 and the smoothing processing section 309.

【0042】この複写機の制御のフローチャートは、図
19〜図30に記載された第1実施形態の複写機と共通
する部分が多く、これと異なる点のみを以下に説明す
る。操作パネルを制御する第1CPU101のフローは
図19と同様である。チョイス設定の内容が異なるが、
ここでは説明を省略する。図32は、メモリユニット部
30を制御する第3CPU103のメインフローチャー
トである。まずRAMやレジスタなどを初期化する初期
設定をおこなう(ステップS31)。次に、第5CPU
からのコマンドを受信するコマンド受信処理(ステップ
S32)、第5CPUへステータスを送信するステータ
ス送信処理(ステップS33)、画像メモリ書き込み処
理(ステップS34)、圧縮制御処理(ステップS3
7)、伸長制御処理(ステップS38)、編集制御処理
(ステップS39)、画像メモリ読み出し処理(ステッ
プS3B'、図33参照)、および、その他の処理(ス
テップS3C)をする。そして、ステップS32に戻
り、上述の処理をくり返す。この画像メモリ読みだし処
理においてスムージング処理がプリント時に画像の属性
に応じて制御される。
The flowchart of the control of the copying machine has many parts in common with the copying machine of the first embodiment shown in FIGS. 19 to 30, and only the differences will be described below. The flow of the first CPU 101 for controlling the operation panel is the same as in FIG. The contents of the choice settings are different,
Here, the description is omitted. FIG. 32 is a main flowchart of the third CPU 103 for controlling the memory unit 30. First, initial settings for initializing a RAM, a register, and the like are performed (step S31). Next, the fifth CPU
Command receiving process for receiving a command from the CPU (step S32), status transmitting process for transmitting a status to the fifth CPU (step S33), image memory writing process (step S34), and compression control process (step S3).
7), decompression control processing (step S38), edit control processing (step S39), image memory read processing (step S3B ', see FIG. 33), and other processing (step S3C). Then, the process returns to step S32, and the above processing is repeated. In the image memory reading process, the smoothing process is controlled at the time of printing according to the attributes of the image.

【0043】図33は、画像メモリ読み出し処理のフロ
ーチャート(図32、ステップS3B')である。画像
メモリ304にプリント用のデータが蓄えられていれば
(ステップS3B1でYES)、プリント用の設定をし
(ステップS3B2)、画像メモリ304からデータを
読み出し、領域判別部303’に画素(領域)の属性を
判断させる。その画素の属性が中間調であると判断され
ると(ステップS3B3)、スムージング処理のイネー
ブル設定を行い(ステップS3B4)、タイミング信号
(図31参照)を発生させる。画像データの属性が文字
であると判断されると(ステップS3B3)、スムージ
ング処理のディスエーブル設定を行い(ステップS3B
5)、タイミング信号を発生させない。これを、全画像
データについて処理が終了するまで繰り返す(ステップ
S3B6でYES)。
FIG. 33 is a flowchart of the image memory reading process (FIG. 32, step S3B '). If print data is stored in the image memory 304 (YES in step S3B1), print settings are made (step S3B2), the data is read from the image memory 304, and pixels (areas) are stored in the area determination unit 303 '. Attribute. When it is determined that the attribute of the pixel is halftone (step S3B3), enable setting of the smoothing process is performed (step S3B4), and a timing signal (see FIG. 31) is generated. If it is determined that the attribute of the image data is a character (step S3B3), disable setting of the smoothing process is performed (step S3B).
5), no timing signal is generated. This is repeated until the processing is completed for all image data (YES in step S3B6).

【0044】(8)第3実施形態 また、第3実施形態の複写機では、入力画像の属性(文
字/写真)を判別し(図34参照)、異なる属性が含ま
れるときは、任意角回転補正を禁止して(図36参
照)、画像回転による画質劣化を防止する。この複写機
は、第1実施形態と同様な構成を備える。この複写機の
制御のフローチャートは、図19〜図30に記載された
第1実施形態の複写機と共通する部分が多く、これと異
なる点のみを以下に説明する。
(8) Third Embodiment In the copying machine according to the third embodiment, the attribute (character / photo) of the input image is determined (see FIG. 34). Correction is prohibited (see FIG. 36) to prevent image quality deterioration due to image rotation. This copier has a configuration similar to that of the first embodiment. The flowchart of the control of the copying machine has many parts in common with the copying machine of the first embodiment shown in FIGS. 19 to 30, and only different points will be described below.

【0045】図34は、メモリユニット部30を制御す
る第3CPU103のメインフローチャートである。ま
ずRAMやレジスタなどを初期化する初期設定をおこな
う(ステップS31)。次に、第5CPUからのコマン
ドを受信するコマンド受信処理(ステップS32)、第
5CPUへステータスを送信するステータス送信処理
(ステップS33)、画像メモリ書き込み処理(ステッ
プS34)、領域判別処理(ステップS35'、図35
参照)、任意角回転判定処理(ステップS36'、図3
6参照)、圧縮制御処理(ステップS37)、伸長制御
処理(ステップS38)、編集制御処理(ステップS3
9)、スムージング制御処理(ステップS3A'、図3
7参照)、画像メモリ読み出し処理(ステップS3
B)、および、その他の処理(ステップS3C)をす
る。そして、ステップS32に戻り、上述の処理をくり
返す。
FIG. 34 is a main flowchart of the third CPU 103 for controlling the memory unit 30. First, initial settings for initializing a RAM, a register, and the like are performed (step S31). Next, a command receiving process for receiving a command from the fifth CPU (step S32), a status transmitting process for transmitting a status to the fifth CPU (step S33), an image memory writing process (step S34), and an area determining process (step S35 ') , FIG. 35
3), arbitrary angle rotation determination processing (step S36 ', FIG. 3)
6), compression control processing (step S37), decompression control processing (step S38), edit control processing (step S3).
9), smoothing control processing (step S3A ′, FIG. 3)
7), image memory read processing (step S3)
B) and other processing (step S3C). Then, the process returns to step S32, and the above processing is repeated.

【0046】図35は、領域判別制御(図34、ステッ
プS35')のフローチャートである。画像入力処理が
終了したら(ステップS1351でYES)、領域判別
結果を読み出し、文字領域をMOJIとし(ステップS
1352)、写真領域をSYASINとする(ステップ
S1353)。そして、SYASINとMOJIが各々
存在する場合は(ステップS1354でYES)、HA
NBETUを0とし(ステップS1355)、そうでな
ければ、HANBETUを1とする(ステップS135
6)。判別結果HANBETUは、図36に示す任意角
回転処理と図37に示すスムージング制御で用いられ
る。
FIG. 35 is a flowchart of the area determination control (FIG. 34, step S35 '). When the image input process is completed (YES in step S1351), the area determination result is read, and the character area is set to MOJI (step S135).
1352), the photo area is set to SYASIN (step S1353). If SYASIN and MOJI exist (YES in step S1354), HA
NBETU is set to 0 (step S1355), otherwise, HANBETU is set to 1 (step S135).
6). The determination result HANBETU is used in the arbitrary angle rotation processing shown in FIG. 36 and the smoothing control shown in FIG.

【0047】図36は、任意角判定処理(図34、ステ
ップS36')のフローチャートである。領域判別処理
(図35)において設定された判別結果HANBETU
が0であれば(ステップS1361でYES)、すなわ
ち、異なる属性が混在していれば、任意角回転を禁止す
る(ステップS1362)。そうでなければ、任意角回
転を許可する(ステップS1363)。
FIG. 36 is a flowchart of the arbitrary angle determination process (FIG. 34, step S36 '). Determination result HANBETU set in area determination processing (FIG. 35)
Is zero (YES in step S1361), that is, if different attributes are mixed, the arbitrary angle rotation is prohibited (step S1362). Otherwise, the arbitrary angle rotation is permitted (step S1363).

【0048】図37は、スムージング制御(図34、ス
テップS39')のフローチャートである。画像メモリ
304にプリント用のデータが蓄えられていれば(ステ
ップS1391でYES)、判別結果HANBETUが
0であるか否か判断される(ステップS13A2)。H
ANBETUが0であれば(異なる属性が混在していれ
ば)、スムージング処理を禁止する(ステップS13A
3)。一方、HANBETUが0でなければ(単一属性
の場合)、スムージング処理を許可する(ステップS1
3A4)。そして、その他の設定をして、リターンす
る。
FIG. 37 is a flowchart of the smoothing control (FIG. 34, step S39 '). If data for printing is stored in the image memory 304 (YES in step S1391), it is determined whether the determination result HANBETU is 0 (step S13A2). H
If ANBETU is 0 (if different attributes are mixed), the smoothing process is prohibited (step S13A).
3). On the other hand, if HANBETU is not 0 (in the case of a single attribute), smoothing processing is permitted (step S1).
3A4). Then, make other settings and return.

【0049】[0049]

【発明の効果】写真画像に対して、傾斜角補正のための
画像回転において任意角回転の後の画像に対して種々の
処理をすることにより、画質劣化を少なくできる。たと
えば、入力画像データが中間調画像の場合にスムージン
グをすることにより画質劣化を防止する。また、1枚の
原稿に異なる画像の属性が含まれる場合、任意角補正を
禁止することにより、中間調画像の画質劣化を防止し
て、1枚の画像の見栄えをよくする。
According to the present invention, by performing various processes on an image after rotation of an arbitrary angle in image rotation for correcting a tilt angle on a photographic image, image quality deterioration can be reduced. For example, when the input image data is a halftone image, the image quality is prevented from deteriorating by performing smoothing. Further, in the case where the attributes of different images are included in one document, the arbitrary angle correction is prohibited, thereby preventing the image quality of the halftone image from deteriorating and improving the appearance of the single image.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明に係る複写機の図式的な断面図であ
る。
FIG. 1 is a schematic sectional view of a copying machine according to the present invention.

【図2】 複写機の操作パネルの平面図である。FIG. 2 is a plan view of an operation panel of the copying machine.

【図3】 複写機を含むシステム形態の1例の図であ
る。
FIG. 3 is a diagram illustrating an example of a system configuration including a copying machine;

【図4】 複写機の制御部の1部のブロック図である。FIG. 4 is a block diagram of a part of a control unit of the copying machine.

【図5】 複写機の制御部の1部のブロック図である。FIG. 5 is a block diagram of a part of a control unit of the copying machine.

【図6】 コントローラのブロック図である。FIG. 6 is a block diagram of a controller.

【図7】 画像信号処理部のブロック図である。FIG. 7 is a block diagram of an image signal processing unit.

【図8】 メモリユニット部のブロック図である。FIG. 8 is a block diagram of a memory unit.

【図9】 メモリ書き込み動作の図である。FIG. 9 is a diagram of a memory write operation.

【図10】 メモリ読み出し動作の図である。FIG. 10 is a diagram of a memory read operation.

【図11】 スキャンにより原稿画像入力の説明をする
ための図である。
FIG. 11 is a diagram for explaining input of a document image by scanning.

【図12】 読み取った画像のイメージの1例の図であ
る。
FIG. 12 is a diagram illustrating an example of an image of a read image.

【図13】 読み取った画像のイメージの1例の図であ
る。
FIG. 13 is a diagram illustrating an example of an image of a read image.

【図14】 メモリユニット内の編集処理部のブロック
図である。
FIG. 14 is a block diagram of an edit processing unit in the memory unit.

【図15】 画像データの90°回転処理を説明するた
めの図である。
FIG. 15 is a diagram illustrating a 90 ° rotation process of image data.

【図16】 画像データのビットスワップ処理を説明す
るための図である。
FIG. 16 is a diagram for explaining bit swap processing of image data.

【図17】 画像データの任意角回転処理(シフトシフ
ト処理)を説明するための図である。
FIG. 17 is a diagram for explaining an arbitrary angle rotation process (shift shift process) of image data.

【図18】 画像データの任意角回転処理(シフトシフ
ト処理)と変倍処理を同時に行なう処理を説明するため
の図である。
FIG. 18 is a diagram illustrating a process of simultaneously performing an arbitrary angle rotation process (shift shift process) and a scaling process on image data.

【図19】 第1CPUのメインフローチャートであ
る。
FIG. 19 is a main flowchart of the first CPU.

【図20】 画質モード設定のフローチャートである。FIG. 20 is a flowchart of image quality mode setting.

【図21】 チョイス設定のフローチャートである。FIG. 21 is a flowchart of choice setting.

【図22】 第2CPUのメインフローチャートであ
る。
FIG. 22 is a main flowchart of the second CPU.

【図23】 原稿検出のフローチャートである。FIG. 23 is a flowchart of document detection.

【図24】 第3CPUのメインフローチャートであ
る。
FIG. 24 is a main flowchart of the third CPU.

【図25】 領域判定のフローチャートである。FIG. 25 is a flowchart of an area determination.

【図26】 スムージング判定のフローチャートであ
る。
FIG. 26 is a flowchart of smoothing determination.

【図27】 編集制御のフローチャートである。FIG. 27 is a flowchart of editing control.

【図28】 スムージング制御のフローチャートであ
る。
FIG. 28 is a flowchart of smoothing control.

【図29】 第4CPUのメインフローチャートであ
る。
FIG. 29 is a main flowchart of the fourth CPU.

【図30】 第5CPUのメインフローチャートであ
る。
FIG. 30 is a main flowchart of the fifth CPU.

【図31】 第2実施形態の複写機のメモリユニット部
のブロック図である。
FIG. 31 is a block diagram of a memory unit of a copying machine according to a second embodiment.

【図32】 第2実施形態における第3CPUのメイン
フローチャートである。
FIG. 32 is a main flowchart of a third CPU according to the second embodiment.

【図33】 第2実施形態における画像メモリ読み出し
のフローチャートである。
FIG. 33 is a flowchart of image memory reading in the second embodiment.

【図34】 第3実施形態における第3CPUのメイン
フローチャートである。
FIG. 34 is a main flowchart of a third CPU according to the third embodiment.

【図35】 領域判別制御のフローチャートである。FIG. 35 is a flowchart of area determination control.

【図36】 任意角回転判定処理のフローチャートであ
る。
FIG. 36 is a flowchart of an arbitrary angle rotation determination process.

【図37】 スムージング制御のフローチャートであ
る。
FIG. 37 is a flowchart of smoothing control.

【符号の説明】[Explanation of symbols]

30 メモリユニット部、 101 第1CPU、1
03 第3CPU、 200 画像読取部、303,
303' 領域判別部、 307 編集処理部、30
9’ 多値化・スムージング処理部。
30 memory unit section, 101 first CPU, 1
03 third CPU, 200 image reading unit, 303,
303 'area discriminating section, 307 editing processing section, 30
9 'Multi-level / smoothing processing unit.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 2次元の入力画像より入力画像の回転角
を設定する回転角設定手段と、 回転角設定手段により設定された回転角で2次元の入力
画像を回転する任意角回転手段と、 任意角回転手段により回転された画像に対してスムージ
ング処理をするスムージング手段と、 任意角回転手段により処理された画像のうち中間調画像
領域においてのみスムージング手段を作動させる制御手
段とを備えることを特徴とする画像形成装置。
1. A rotation angle setting means for setting a rotation angle of an input image from a two-dimensional input image; an arbitrary angle rotation means for rotating a two-dimensional input image at a rotation angle set by the rotation angle setting means; It is characterized by comprising smoothing means for performing smoothing processing on an image rotated by the arbitrary angle rotating means, and control means for operating the smoothing means only in a halftone image area of the image processed by the arbitrary angle rotating means. Image forming apparatus.
【請求項2】 請求項1に記載された画像形成装置にお
いて、さらに入力画像データが単純2値画像であるのか
中間調画像であるのかを判別する判別手段を備え、 前記の制御手段は、判別手段が中間調画像であると判別
した場合に前記スムージング手段を動作させることを特
徴とする画像形成装置。
2. The image forming apparatus according to claim 1, further comprising: a determination unit configured to determine whether the input image data is a simple binary image or a halftone image. An image forming apparatus, wherein the smoothing means is operated when the means determines that the image is a halftone image.
【請求項3】 請求項1に記載された画像形成装置にお
いて、さらに、画質モードを設定するモード設定手段を
備え、 モード設定手段により設定されたモードが写真モードで
ある場合、前記の制御手段は、任意角回転手段により処
理された画像のうち中間調画像領域にのみ前記スムージ
ング手段を動作させることを特徴とする画像形成装置。
3. The image forming apparatus according to claim 1, further comprising: a mode setting unit for setting an image quality mode, wherein when the mode set by the mode setting unit is a photograph mode, the control unit includes: An image forming apparatus which operates the smoothing means only in a halftone image area of the image processed by the arbitrary angle rotating means.
【請求項4】 2次元の入力画像より入力画像の回転角
度を設定する回転角設定手段と、 回転角設定手段により設定された回転角で2次元の入力
画像を回転する任意角回転手段と、 入力画像における画像の属性を判別する属性判別手段
と、 属性判別手段により異なる属性の画像が含まれると判別
された場合、任意角回転手段の動作を禁止する制御手段
とを備えることを特徴とする画像形成装置。
4. A rotation angle setting means for setting a rotation angle of an input image from a two-dimensional input image; an arbitrary angle rotation means for rotating a two-dimensional input image at a rotation angle set by the rotation angle setting means; An attribute discriminating means for discriminating an attribute of an image in an input image, and a control means for prohibiting the operation of the arbitrary angle rotating means when the attribute discriminating means determines that an image having a different attribute is included. Image forming device.
【請求項5】 請求項1から請求項4までのいずれかに
記載された画像形成装置において、さらに、原稿ガラス
の上の画像を読み取る画像読取手段を備え、前記の回転
角設定手段は、画像読取手段から入力される画像データ
から原稿ガラスの上に置かれている原稿の傾き角度を検
出し回転角を設定することを特徴とする画像形成装置。
5. The image forming apparatus according to claim 1, further comprising: an image reading unit that reads an image on a document glass; An image forming apparatus for detecting a tilt angle of a document placed on a document glass from image data input from a reading unit and setting a rotation angle.
JP9149462A 1997-06-06 1997-06-06 Image-forming device Pending JPH10341330A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP9149462A JPH10341330A (en) 1997-06-06 1997-06-06 Image-forming device
US09/092,234 US6191405B1 (en) 1997-06-06 1998-06-05 Image processing apparatus including image rotator for correcting tilt of the image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9149462A JPH10341330A (en) 1997-06-06 1997-06-06 Image-forming device

Publications (1)

Publication Number Publication Date
JPH10341330A true JPH10341330A (en) 1998-12-22

Family

ID=15475664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9149462A Pending JPH10341330A (en) 1997-06-06 1997-06-06 Image-forming device

Country Status (1)

Country Link
JP (1) JPH10341330A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006053568A (en) * 2004-08-13 2006-02-23 Fujitsu Ltd Deteriorated character image generation program, method and apparatus
JP2008114426A (en) * 2006-11-01 2008-05-22 Canon Inc Image forming apparatus and method for controlling it
JP2009055377A (en) * 2007-08-27 2009-03-12 Canon Inc Color image forming apparatus and color image correcting method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006053568A (en) * 2004-08-13 2006-02-23 Fujitsu Ltd Deteriorated character image generation program, method and apparatus
JP2008114426A (en) * 2006-11-01 2008-05-22 Canon Inc Image forming apparatus and method for controlling it
JP2009055377A (en) * 2007-08-27 2009-03-12 Canon Inc Color image forming apparatus and color image correcting method
US8547599B2 (en) 2007-08-27 2013-10-01 Canon Kabushiki Kaisha Color image forming apparatus and color image correcting method

Similar Documents

Publication Publication Date Title
US6433896B1 (en) Image processing apparatus
US7957029B2 (en) Image processing apparatus, image processing apparatus administration information display method, system, program and storage medium
JP3432736B2 (en) Image processing device
US6191405B1 (en) Image processing apparatus including image rotator for correcting tilt of the image data
US7855801B2 (en) Color image forming apparatus and image output method
US6477282B1 (en) Image forming device
JP5113461B2 (en) Image forming apparatus, image forming method, program, and storage medium
US5907669A (en) Image forming system having a plurality of image forming apparatuses for distributed printing
JP4981000B2 (en) Image concealment method and image forming apparatus
US7679768B2 (en) Image processing apparatus and method
JPH10341332A (en) Image-forming device
JP2000036907A (en) Image reader
US6646755B1 (en) Image processing apparatus allowing automatic printing as needed
JP3814995B2 (en) Image forming apparatus
JPH10341330A (en) Image-forming device
JPH06103410A (en) Picture processor
JP3658924B2 (en) Image forming apparatus
JPH10276316A (en) Image forming device
JPH10341331A (en) Image processor
JPH10276317A (en) Image forming device
JPH10276318A (en) Image forming device
JP3562329B2 (en) Image forming device
JP2004153567A (en) Image input/output device and control method therefor, image input/output system and control program
JPH11109793A (en) Image forming device
JP3337830B2 (en) Composite image input / output device and printer control device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20031224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040525

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20040611

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20040618

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040726

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20040726

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040726

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050329