JPH06125451A - Picture processing method and device therefor - Google Patents

Picture processing method and device therefor

Info

Publication number
JPH06125451A
JPH06125451A JP4274617A JP27461792A JPH06125451A JP H06125451 A JPH06125451 A JP H06125451A JP 4274617 A JP4274617 A JP 4274617A JP 27461792 A JP27461792 A JP 27461792A JP H06125451 A JPH06125451 A JP H06125451A
Authority
JP
Japan
Prior art keywords
area
processing
information
pixel
boundary
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.)
Granted
Application number
JP4274617A
Other languages
Japanese (ja)
Other versions
JP3221516B2 (en
Inventor
Hiroshi Sekine
弘 関根
Kiyomasa Endo
清正 遠藤
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP27461792A priority Critical patent/JP3221516B2/en
Publication of JPH06125451A publication Critical patent/JPH06125451A/en
Application granted granted Critical
Publication of JP3221516B2 publication Critical patent/JP3221516B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To enable a picture editing with high quality without drop-out of a boundary line or the occurrence of an unedited area in the vicinity of the boundary area by subjecting all of the inside of a close area on a document to picture editing. CONSTITUTION:Picture processing information obtained by auxiliary scanning of the document is written in a bit map memory 10 with first data by a plotter 9, and the closed area including a point designated by a user on this bit map memory 10 is painted out with second data. Thereafter, third data is written in dots adjacent to the periphery of second data. Contents of the bit map memory 10 are read out synchronously with read of the document picture due to main scanning, and the document picture is processed. At this time, the document picture is edited in the area indicated by second data in accordance with the editing classification designated by the user, and the area indicated by third data is subjected to editing suitable for the boundary area because it is the boundary area between the area to be edited and the boundary line indicating the close area of the document.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画像に対して編集処理
を実行する画像処理方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and apparatus for executing edit processing on an image.

【0002】[0002]

【従来の技術】一般に画像処理装置においては、原稿の
画像が画像入力装置により読み取られて電気的な画像信
号に変換される。そして、この画像信号に対して種々の
画像処理を施したのち、レーザープリンタ等の画像出力
装置により画像として出力するようになっている。
2. Description of the Related Art Generally, in an image processing apparatus, an image of a document is read by an image input apparatus and converted into an electric image signal. Then, after various image processing is performed on this image signal, an image is output by an image output device such as a laser printer.

【0003】このような画像処理装置において、原稿上
の閉じた線で囲まれた領域中の1点を指定し、予備走査
でビットマップメモリに原稿情報を入力し、ビットマッ
プメモリ面に入力された原稿情報から、指定された閉領
域を認識し、原稿上の閉領域内全てに対して画像編集を
施す手段が本発明者らによって発明されている(特開平
2−277174号公報参照)。
In such an image processing apparatus, one point in a region surrounded by a closed line on a document is designated, document information is input to a bit map memory by preliminary scanning, and is input to a bit map memory surface. The inventors of the present invention have invented a means for recognizing a specified closed area from the original information and performing image editing on the entire closed area on the original (see Japanese Patent Laid-Open No. 2-277174).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな画像編集装置においては画像処理装置と同等の解像
度を持つビットマップメモリが必要となり、高密度な解
像度を必要とする画像編集装置の場合には、メモリコス
トが高くなってしまう。
However, in such an image editing apparatus, a bitmap memory having a resolution equivalent to that of the image processing apparatus is required, and in the case of an image editing apparatus requiring a high resolution, However, the memory cost will increase.

【0005】また、メモリコストを低減させるために、
実際の画像処理装置の画像密度より低い密度のビットマ
ップメモリを使用すると、編集領域と境界線との間に未
編集領域が発生するという不具合が生じてしまう。
In order to reduce the memory cost,
If a bitmap memory having a density lower than the image density of an actual image processing apparatus is used, there occurs a problem that an unedited area occurs between the edited area and the boundary line.

【0006】そこで本発明が解決すべき課題は、ビット
マップメモリの密度を、実際の画像データの密度より低
くしても、境界線の欠落や、境界線付近での未編集領域
の発生なしに、高品位の画像編集を可能にすることにあ
る。
Therefore, the problem to be solved by the present invention is that even if the density of the bit map memory is made lower than the density of the actual image data, the boundary line is not lost and the unedited area is not generated near the boundary line. , To enable high-quality image editing.

【0007】[0007]

【課題を解決するための手段】前記課題を解決するた
め、本発明の画像処理方法は、原画像の情報を互いに隣
接した複数個の画素からなるブロックを単位として区分
し、前記各ブロックごとにそのブロックが処理対象であ
るか否かを示す処理領域情報と、前記各ブロックごとに
そのブロックが、互いに隣接した前記処理対象のブロッ
クからなる処理領域に対してその境界部に設定された所
定のブロック幅を有する境界領域に含まれるか否かを示
す境界領域情報とに基づいて、前記原画像の各画素ごと
に、その画素が属する前記ブロックが前記処理領域であ
る場合は当該画素の情報に対して第1の処理を行うとと
もに、その画素が前記境界領域に含まれる場合は、当該
画素の情報に対して前記第1の処理とは異なる第2の処
理を行うようにする。
[Means for Solving the Problems]
Therefore, in the image processing method of the present invention, the original image information is adjacent to each other.
Divided in units of blocks consisting of multiple adjacent pixels
However, for each block, that block is the target of processing.
Processing area information indicating whether or not
The blocks are adjacent blocks to be processed that are adjacent to each other.
Where the boundary is set for the processing area consisting of
Indicates whether it is included in the boundary area with a fixed block width
For each pixel of the original image based on the boundary area information
In addition, the block to which the pixel belongs is the processing area.
If the first processing is performed on the information of the pixel in question,
If the pixel is included in the boundary area,
A second process different from the first process for pixel information
Try to do it.

【0008】また、本発明発明の画像処理装置は、原画
像の情報を入力する入力手段と,互いに隣接した複数個
の画素からなるブロックを単位として原画像を区分し、
各ブロックごとにそのブロックが処理対象であるか否か
を示す処理領域情報を記憶する記憶手段と、前記各ブロ
ックごとにそのブロックが、前記処理対象の互いに隣接
したブロックからなる処理領域に対してその境界部に設
定された所定のブロック幅を有する境界領域に含まれる
か否かを示す境界領域情報を生成する生成手段と、前記
原画像の各画素ごとに、当該画素が属する前記ブロック
の前記処理領域情報および前記境界領域情報とに基づい
て、前記画素が前記処理対象である場合は当該画素の情
報に対して第1の処理を行うとともに、その画素が前記
境界領域に含まれる場合は、当該画素の情報に対して前
記第1の処理とは異なる第2の処理を行う処理手段とを
備えたものである。
Further, the image processing apparatus of the present invention divides the original image in units of an input means for inputting information of the original image and a block consisting of a plurality of pixels adjacent to each other,
For each block, a storage unit that stores processing area information indicating whether or not the block is a processing target, and for each processing block, the block is a processing area composed of adjacent blocks to be processed. Generating means for generating boundary area information indicating whether or not the area is included in a boundary area having a predetermined block width set in the boundary portion; and, for each pixel of the original image, the block of the block to which the pixel belongs. Based on the processing area information and the boundary area information, when the pixel is the processing target, the first processing is performed on the information of the pixel, and when the pixel is included in the boundary area, And a processing unit that performs a second process different from the first process on the information of the pixel.

【0009】[0009]

【作用】本発明では、編集すべき領域を求めるに際し
て、先ず、原稿を予備走査することより得られた画像処
理情報が第1のデータでビットマップメモリに書き込ま
れる。次に、このビットマップメモリ上において使用者
が指定した指定点を含む閉領域が第2のデータで塗りつ
ぶされる。その後第2のデータの周囲に隣接するドット
に第3のデータを書き込む。本走査による原稿の画像の
読み取りに同期して前記ビットマップメモリの内容を読
み出し、この読み出された第2、第3のデータに基づい
て前記原稿の画像に対する画像処理を行う。ここで前記
第2のデータで示される領域には前記使用者が指定した
編集の種別に応じて前記原稿の画像が編集され、前記第
3のデータで示される領域は編集すべき領域と原稿の閉
領域を表す境界線との境界領域であるので、境界領域に
適した編集が行われる。
According to the present invention, when obtaining the area to be edited, first, the image processing information obtained by prescanning the original is written in the bit map memory as the first data. Next, the closed area including the designated point designated by the user on the bitmap memory is filled with the second data. After that, the third data is written in the dots adjacent to the periphery of the second data. The contents of the bitmap memory are read in synchronization with the reading of the image of the original by the main scanning, and the image processing of the image of the original is performed based on the read second and third data. The image of the original is edited in the area indicated by the second data according to the type of editing specified by the user, and the area indicated by the third data is the area to be edited and the original. Since it is a boundary area with the boundary line representing the closed area, editing suitable for the boundary area is performed.

【0010】[0010]

【実施例】以下、図面を参照しながら実施例に基づいて
本発明の特徴を具体的に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The features of the present invention will be specifically described below based on embodiments with reference to the drawings.

【0011】図1は本発明の画像処理方法を実施するた
めの画像処理装置のブロック図を示す。
FIG. 1 is a block diagram of an image processing apparatus for carrying out the image processing method of the present invention.

【0012】図において、1は原稿の画像を読み取るた
めの画像入力装置を示している。この画像入力装置は図
2に示すようにプラテンガラス1a上に載置された原稿
(図示せず)を光源1bで照射し、原稿からの反射光を
ミラー1c,1d,1eで反射させ、レンズ1fにより
イメージセンサ1gに結像させ、このイメージセンサ1
gから画像信号を得るようにしている。光源1b及びミ
ラー1cは全速キャリッジ1hに取りつけられ、ミラー
1d,1eは半速キャリッジ1iに取り付けられてい
る。そして、全速キャリッジ1hをプラテンガラス1a
の下面に沿って矢印方向に移動させると供に、半速キャ
リッジを全速キャリッジの半分の速度で同方向に移動さ
せ、原稿の画像を例えば1インチ(2.54cm)当た
り400ドット(400dpi)の解像度で読み取るよ
うにしている。
In the figure, reference numeral 1 denotes an image input device for reading an image of a document. As shown in FIG. 2, this image input device irradiates a document (not shown) placed on a platen glass 1a with a light source 1b and reflects light reflected from the document by mirrors 1c, 1d, 1e, and a lens. An image is formed on the image sensor 1g by 1f.
The image signal is obtained from g. The light source 1b and the mirror 1c are attached to the full-speed carriage 1h, and the mirrors 1d and 1e are attached to the half-speed carriage 1i. Then, the full speed carriage 1h is attached to the platen glass 1a.
The half-speed carriage is moved in the same direction at a speed half that of the full-speed carriage in addition to being moved in the direction of the arrow along the lower surface of the document, and the image of the document is, for example, 400 dots (400 dpi) per inch (2.54 cm). I try to read at the resolution.

【0013】画像入力装置1からの図1に示す画像信号
はA/D変換回路2によりディジタル信号に変換され図
1に示す画像処理回路5に送られる。画像処理回路5で
は、図4に示すように色づけ(指定領域の背景部に色を
付ける)、塗りつぶし(指定領域内を塗りつぶす)、色
抜き文字(指定領域内の背景部に色を付け、指定領域内
の文字にも背景と異なる色を付ける)の処理が可能とな
っていて、色づけ、塗りつぶし、色抜き文字の処理の種
類を示す機能コードが予め格納されたRAM(ランダム
アクセスメモリ)テーブル4が接続されており、このR
AMテーブル4から読み出された機能コードに応じて上
記各処理を行うようになっている。画像処理装回路5に
おいて処理を施された画像信号は、レーザープリンタ等
の画像出力装置6に供給され、画像として出力される。
すなわち、原稿の画像に編集が施された状態で複写が行
われる。
The image signal shown in FIG. 1 from the image input device 1 is converted into a digital signal by the A / D conversion circuit 2 and sent to the image processing circuit 5 shown in FIG. In the image processing circuit 5, as shown in FIG. 4, coloring (coloring the background portion of the designated area), filling (filling the designated area), and non-colored characters (coloring the background portion of the designated area and designating) A RAM (Random Access Memory) table 4 in which the characters in the area can be processed to be colored differently from the background) and the function codes indicating the types of processing of coloring, painting, and decoloring characters are stored in advance Is connected to this R
Each of the above processes is performed according to the function code read from the AM table 4. The image signal processed by the image processing circuit 5 is supplied to an image output device 6 such as a laser printer and is output as an image.
That is, copying is performed with the image of the original document edited.

【0014】また、画像入力装置1からの画像信号はA
/D変換器2でディジタル信号に変換され、二値化回路
3に入力される。二値化回路3からの出力は密度変換回
路7により、ビットマップメモリ10の密度に変換され
た後、直並列変換回路8を介して描画装置9(グラフィ
ックコントロールLSI)に供給され、この描画装置9
により原稿の画像がビットマップメモリ10に書きこま
れる。ビットマップメモリは例えば1インチ当たり10
0ドット(100dpi)の密度で7面のビットマップ
メモリ面10a〜10gから構成され、予備走査により
読み取った原稿の画像は1/16に縮小されてビットマ
ップ面10aに書きこまれる。ビットマップ面10b〜
10cを指定された閉領域を抽出するためのワーキング
領域として使用し、ビットマップ面10aに基づいてビ
ットマップ面10d〜10gに編集領域が展開される。
ここでビットマップ面10d〜10gは「1」「2」
「4」「8」の順に重み付けられており、これらの組み
合わせで16種類の領域を番号(以下「領域番号」とい
う)で表すことができる。たとえば各メモリ面10d〜
10gの特定ビットに「0100」が書き込まれてると
いうことは、領域番号「2」が書き込まれているという
ことを意味する。
The image signal from the image input device 1 is A
The signal is converted into a digital signal by the / D converter 2 and input to the binarization circuit 3. The output from the binarization circuit 3 is converted by the density conversion circuit 7 into the density of the bit map memory 10, and then supplied to the drawing device 9 (graphic control LSI) via the serial-parallel conversion circuit 8. 9
As a result, the image of the original is written in the bitmap memory 10. Bitmap memory is, for example, 10 per inch
It is composed of seven bitmap memory surfaces 10a to 10g with a density of 0 dots (100 dpi), and the image of the document read by the preliminary scanning is reduced to 1/16 and written on the bitmap surface 10a. Bitmap surface 10b-
10c is used as a working area for extracting the specified closed area, and the edit area is developed on the bitmap surfaces 10d to 10g based on the bitmap surface 10a.
Here, the bitmap surfaces 10d to 10g are "1" and "2".
Weights are assigned in the order of "4" and "8", and 16 types of areas can be represented by numbers (hereinafter referred to as "area numbers") by these combinations. For example, each memory surface 10d
The fact that "0100" is written in the specific bit of 10g means that the area number "2" is written.

【0015】前記描画装置9は、ビットマップメモリ1
0への書き込みを高速に行うために設けられており、こ
の描画装置9は、外部から座標データ、処理の種類等を
与えることにより、公知のアルゴリズムによりビットマ
ップメモリ10に対して直線の描画、閉領域の塗りつぶ
し、各メモリ面間でのコピー等の処理を行うものであ
る。なお、閉領域の塗りつぶしとは、ビットマップメモ
リ10の閉領域に対応するアドレスのビットを特定の状
態に設定することを意味する。
The drawing device 9 includes a bitmap memory 1
The drawing device 9 is provided to perform writing to 0 at high speed. The drawing device 9 draws a straight line on the bitmap memory 10 by a known algorithm by externally providing coordinate data, a type of processing, and the like. It is for performing processing such as filling the closed area and copying between memory surfaces. The filling of the closed area means setting the bit of the address corresponding to the closed area of the bitmap memory 10 to a specific state.

【0016】この描画装置9には、ゲート11を介して
CPU(中央処理装置)12が接続されている。このゲ
ート11は、画像入力装置1により走査が行われている
期間は閉となり、それ以外の期間は開となる。
A CPU (central processing unit) 12 is connected to the drawing device 9 via a gate 11. The gate 11 is closed during scanning by the image input device 1, and is open during other periods.

【0017】CPU12は、前記RAMテーブル4への
機能コードの書き込み及び前記描画装置9の制御を行う
もので、デジタイザ13からの指示に基づきRAMテー
ブル4の内容を書き換えたり、ビットマップメモリ10
のどの領域を塗りつぶすかの指示を指示を描画装置9へ
与えるようになっている。
The CPU 12 writes the function code into the RAM table 4 and controls the drawing device 9. The CPU 12 rewrites the contents of the RAM table 4 based on an instruction from the digitizer 13 and the bitmap memory 10.
The drawing device 9 is instructed to specify which area of the area to paint.

【0018】上述のデジタイザは、たとえば、A3用紙
を載置可能な平面を有しており、ペン等により押圧され
た位置を座標データとしてえるもので、図3に示される
ように、編集すべき領域を指定するエリアERと処理の
種類を指定する機能指定エリアEF及び色を指定するエ
リアECが設けられている。機能指定エリアEFには処
理の種類に対応して複数の窓部13a〜13dが形成さ
れている。たとえば、各窓部13a〜13dは枠指定、
色づけ、塗りつぶし、色抜き文字のスイッチに対応して
いる。また。色指定エリアECには色に対応して複数の
窓部13e〜13gが形成されている。たとえば、各窓
部13e〜13gは赤、青、緑のスイッチに対応してい
る。なお、実際にはこれらのスイッチの他に、たとえ
ば、2点の座標により矩形の領域を規定する矩形指定方
法、あるいは、多点による自由形の領域を規定する自由
形指定方法等を指定するためのスイッチ等が設けられて
いるが、ここでは省略している。そして、領域指定エリ
アERが押圧されたときには、CPU12は座標データ
を領域情報として処理し、機能指定エリアEFが押圧さ
れたときには、CPU12は座標データを機能情報とし
て処理し、色指定エリアECが押圧されたときには、C
PU12は座標データを色情報として処理する。
The digitizer described above has, for example, a flat surface on which A3 paper can be placed, and the position pressed by a pen or the like can be obtained as coordinate data. It should be edited as shown in FIG. An area ER for designating an area, a function designating area EF for designating the type of processing, and an area EC for designating a color are provided. In the function designation area EF, a plurality of windows 13a to 13d are formed corresponding to the type of processing. For example, each of the windows 13a to 13d has a frame designation,
It corresponds to the switch of coloring, filling, and colored letters. Also. In the color designation area EC, a plurality of windows 13e to 13g are formed corresponding to the colors. For example, the windows 13e to 13g correspond to red, blue, and green switches. Actually, in addition to these switches, for example, a rectangular designation method for defining a rectangular area by the coordinates of two points, or a free-form designation method for defining a free-form area with multiple points is specified. Switches and the like are provided, but they are omitted here. When the area designation area ER is pressed, the CPU 12 processes the coordinate data as area information, and when the function designation area EF is pressed, the CPU 12 processes the coordinate data as function information and the color designation area EC is pressed. When done, C
The PU 12 processes the coordinate data as color information.

【0019】このデジタイザ13は、たとえば、図2に
示されるように、画像入力装置1のプラテンガラス1a
を開閉自在に覆うプラテンカバー1jの上面に設けられ
ている。
The digitizer 13 is, for example, as shown in FIG. 2, a platen glass 1a of the image input apparatus 1.
Is provided on the upper surface of the platen cover 1j that covers the plate.

【0020】次に、上述の画像処理装置の動作につい
て、図5(a)に示すような、文字16が枠17で囲ま
れた画像を有する原稿15に対して、枠17で囲まれた
部分に色づけ処理を行って、図5(b)に示されるよう
な画像に編集する場合を例に挙げて、図7に示すフロー
チャート及び、第8図を参照しながら説明する。なお、
図5(b)においてドットを施した部分が色づけ処理を
行った領域である。
Next, regarding the operation of the above-described image processing apparatus, as shown in FIG. 5A, a portion surrounded by a frame 17 with respect to a document 15 having an image in which a character 16 is surrounded by a frame 17. An example of performing the coloring process on the image to edit the image as shown in FIG. 5B will be described with reference to the flowchart shown in FIG. 7 and FIG. In addition,
In FIG. 5B, the doted portion is the area that has been subjected to the coloring process.

【0021】まず、編集の対象となる原稿をデジタイザ
13の領域指定エリアER(図2及び図3参照)上に載
置し、窓部13aを押圧して領域を枠指定のモードによ
り規定することを指示する。次いで、領域を指定する。
すなわち、色を付ける領域内の或る一点(図4(a)に
*印で示す)を押圧して指示する。この指示点の座標デ
ータはCPU12内のレジスタ又はメモリ(いづれも図
示せず)に格納される。この指示点の座標は厳密なもの
ではなく、文字16と枠17の間の領域であればどこで
もよいので、指示作業は極めて容易である。次にデジタ
イザ上に設けられた色指定のための窓部ECを押圧して
付けるべき色を指定する。本実施例では青を指定したも
のとする。
First, the document to be edited is placed on the area designation area ER (see FIGS. 2 and 3) of the digitizer 13, and the window 13a is pressed to define the area in the frame designation mode. Instruct. Next, the area is designated.
That is, a certain point (indicated by * mark in FIG. 4A) in the area to be colored is pressed and designated. The coordinate data of the designated point is stored in a register or memory (neither is shown) in the CPU 12. The coordinates of the pointing point are not strict and may be anywhere in the area between the character 16 and the frame 17, so the pointing operation is extremely easy. Next, the window EC for color designation provided on the digitizer is pressed to designate the color to be applied. In this embodiment, blue is designated.

【0022】次いで、プラテンカバー1jを開けて、こ
の原稿を今度は画像入力装置1のプラテンガラス1a上
に載置したのちプラテンカバー1jを閉じる。そして、
画像入力装置1内に設けられた光源1d,ミラー1c,
1d,1eからなる走査光学系を移動させて画像読み取
りを開始する。このときの走査を予備走査と呼ぶ。この
予備走査のときに画像入力装置1から得られた画像信号
は、A/D変換回路2、二値化回路3、密度変換回路7
及び直並列変換回路8を介して描画装置9に供給され、
描画装置9によりビットマップメモリ面10aに入力さ
れる(図7のステップ101)。したがって、ビットマ
ップメモリ面10には図6(a)に示されるように原稿
に対応したビットパターンが形成される(図6では黒が
ビットマップメモリ上の「1」データを表し、白が
「0」データを表している)。
Next, the platen cover 1j is opened, this original is placed on the platen glass 1a of the image input apparatus 1, and then the platen cover 1j is closed. And
The light source 1d, the mirror 1c, which are provided in the image input device 1,
The scanning optical system composed of 1d and 1e is moved to start image reading. The scanning at this time is called preliminary scanning. The image signal obtained from the image input device 1 at the time of this preliminary scanning is the A / D conversion circuit 2, the binarization circuit 3, and the density conversion circuit 7.
And supplied to the drawing device 9 through the serial-parallel conversion circuit 8,
It is input to the bitmap memory surface 10a by the drawing device 9 (step 101 in FIG. 7). Therefore, a bit pattern corresponding to the original is formed on the bitmap memory surface 10 as shown in FIG. 6A (in FIG. 6, black represents “1” data on the bitmap memory and white represents “1” data). "0" data).

【0023】ここで本実施例では、画像入力装置1から
の画像信号は、密度変換回路7により縦横それぞれ1/
4に密度変換されるので、ビットマップメモリ10に
は、原画像の1/16の密度で画像データが格納され
る。このように画像データの密度よりビットマップメモ
リの密度を小さくすることでメモリの容量を少なくする
ことができ、装置のコストを下げることができる。密度
変換回路7では、たとえば400dpiの縦横それぞれ
4画素の合計16画素の論理和(OR)を取り、入力画
素縦横それぞれ4画素おきに、論理和の結果を100d
piのデータとして出力する。すなわち、400dpi
で16画素中に1個以上「1」が有れば密度変換装置7
の出力は「1」となり(図8(a)参照)、400dp
i16画素が全「0」の場合のみ密度変換装置7の出力
は「0」となる。このような方法をとれば、細線でも途
切れなしにビットマップメモリ10aにとりこむことが
できる。
Here, in the present embodiment, the image signal from the image input device 1 is 1 / horizontally by the density conversion circuit 7.
Since the density is converted into 4, the image data is stored in the bitmap memory 10 at a density of 1/16 of the original image. As described above, by making the density of the bitmap memory smaller than the density of the image data, the capacity of the memory can be reduced and the cost of the apparatus can be reduced. In the density conversion circuit 7, for example, a logical sum (OR) of a total of 16 pixels, which is 4 pixels vertically and horizontally at 400 dpi, is calculated, and the logical sum result is 100d every 4 pixels vertically and horizontally.
Output as pi data. That is, 400 dpi
If there is more than one "1" in 16 pixels, the density converter 7
Output is "1" (see Fig. 8 (a)) and 400dp
The output of the density conversion device 7 is "0" only when all i16 pixels are "0". With such a method, even a fine line can be incorporated into the bitmap memory 10a without interruption.

【0024】上述の予備走査が終了すると、ゲート11
は開となる。
When the above preliminary scanning is completed, the gate 11
Opens.

【0025】次に、CPU12からの閉領域塗りつぶし
の指示がゲート11を介して描画装置9に供給され、こ
の描画装置9は、先にデジタイザ13により指定した座
標を開始点として、ビットマップメモリ10aに記憶さ
れた画像を境界とし、ビットマップメモリ10bを塗り
つぶす(ステップ102)。すなわちビットマップメモ
リ面10a,10bは図6(b)に示すようになる。
Next, an instruction to fill the closed area from the CPU 12 is supplied to the drawing device 9 via the gate 11. The drawing device 9 uses the coordinates previously designated by the digitizer 13 as the starting point and stores it in the bitmap memory 10a. The bitmap memory 10b is filled with the image stored in the above as a boundary (step 102). That is, the bitmap memory surfaces 10a and 10b are as shown in FIG. 6 (b).

【0026】次に、画像領域外(たとえば、ビットマッ
プメモリ面10bのコーナー部分)を開始点とし、ビッ
トマップメモリ面10cを塗りつぶす(ステップ10
3)。すなわちビットマップメモリ面10a〜10cは
図6(c)に示すようになる。次に、ビットマップメモ
リ面10cの「1」と「0」を反転してビットマップメ
モリ面10dにコピーする(ステップ104)。すなわ
ちビットマップメモリ面10a〜10dは図6(d)に
示すようになり、ビットマップメモリ面10dに処理領
域が形成される。
Next, the outside of the image area (for example, the corner portion of the bitmap memory surface 10b) is set as the starting point, and the bitmap memory surface 10c is filled (step 10).
3). That is, the bitmap memory surfaces 10a to 10c are as shown in FIG. Next, "1" and "0" of the bitmap memory surface 10c are inverted and copied to the bitmap memory surface 10d (step 104). That is, the bitmap memory surfaces 10a to 10d are as shown in FIG. 6D, and the processing area is formed on the bitmap memory surface 10d.

【0027】次に、ビットマップメモリ面10dの
「1」の領域を周囲に1ドット拡大したものをビットマ
ップメモリ面10cへ上書きする(ステップ105)。
すなわちビットマップメモリ面10cは図6(f)に示
すようになる。ビットマップ面上で領域を1ドット周囲
に拡大する方法の一例を図12〜図15に示す。図12
ではビットマップ面を右方向に1ドットずらし、論理和
(OR)をとりながら、元のビットマップ面に上書きす
ることで、領域を右方向に拡大している。続いて、図1
3に示すように、下方向へ拡大し、さらに続いて図1
4,図15に示すように左、上と拡大することで最終的
に領域を周囲1ドット拡大したことになる。もちろん周
囲への拡大は1ドットに限る訳でなく、また拡大の方法
も図12〜図15に限る訳ではない。
Next, the area "1" of the bit map memory surface 10d is enlarged by 1 dot in the surrounding area and is overwritten on the bit map memory surface 10c (step 105).
That is, the bitmap memory surface 10c is as shown in FIG. 6 (f). 12 to 15 show an example of a method of enlarging an area around one dot on the bitmap surface. 12
Then, the bitmap surface is shifted to the right by one dot, and the original bitmap surface is overwritten while taking the logical sum (OR), thereby expanding the area to the right. Then, Fig. 1
As shown in FIG. 3, the image is enlarged downward, and subsequently, FIG.
4. As shown in FIG. 15, by enlarging the area to the left and up, the area is finally expanded by one dot. Of course, the enlargement to the surroundings is not limited to one dot, and the enlargement method is not limited to that shown in FIGS. 12 to 15.

【0028】次に、ビットマップメモリ面10cとビッ
トマップメモリ面10dとの排他的論理和(EXOR)
をとり、結果をビットマップメモリ面10eに書き込ん
で境界領域を形成する(ステップ106)。すなわちビ
ットマップメモリ面10eは図6(g)に示すようにな
る。
Next, the exclusive OR (EXOR) of the bitmap memory surface 10c and the bitmap memory surface 10d.
Then, the result is written in the bitmap memory surface 10e to form a boundary area (step 106). That is, the bitmap memory surface 10e becomes as shown in FIG.

【0029】ここで、ビットマップメモリ面10d〜1
0g(図6(h)参照)についてビットマップメモリ面
10dを最下位ビット(LSB)ビットマップメモリ面
10gを最上位ビット(MSB)とすると、原稿の特定
位置に対して4ビットの領域番号が割り付けられる。本
実施例では0000、0001、0010の3種類の領
域番号があらわれ、表1に示されるように、領域番号0
001は図5(a)の原稿15の枠17の内側の領域を
表し、領域番号0002は枠17と枠内の領域の境界部
分に当たる境界領域を表す。また、領域番号0000は
原稿15において編集処理(この場合は色付け)を行わ
ない領域である。
Here, the bitmap memory surfaces 10d to 1
0g (see FIG. 6 (h)), assuming that the bit map memory surface 10d is the least significant bit (LSB) and the bit map memory surface 10g is the most significant bit (MSB), the 4-bit area number corresponds to a specific position of the document. Assigned. In this embodiment, three types of area numbers 0000, 0001, and 0010 appear, and as shown in Table 1, the area number 0
001 represents an area inside the frame 17 of the document 15 in FIG. 5A, and area number 0002 represents a boundary area corresponding to a boundary between the frame 17 and the area inside the frame. The area number 0000 is an area in the original 15 where the editing process (coloring in this case) is not performed.

【0030】[0030]

【表1】 次に、CPU12よりRAMテーブル4へ機能コードを
設定する。RAMテーブルは図9に示すように16ワー
ド(4a〜4p)のRAMから構成され、図10に示さ
れる上位2ビットが編集の種類を、下位4ビットが色を
表す機能コードを各々記憶する。ビットマップメモリ面
10d〜10gに展開された領域番号0000はRAM
テーブル4a,領域番号0001はRAMテーブル4b
と順次対応しており、領域番号1111はRAMテーブ
ル4pに対応する。つまり、本実施例では図6(h)及
び表1に示されるように領域番号0000,0001,
0010の3種類がビットマップメモリ面10d〜10
gに展開され、領域番号0000は未編集領域、領域番
号0001は処理領域内、領域番号0010は境界領域
を示している。ここで、未編集領域に対応するRAMテ
ーブルには編集なしを、処理領域内に対応するRAMテ
ーブルにはデジタイザ13で指定された編集種別(本実
施例では、青で色づけ)が、境界領域に対応するRAM
テーブルには編集の種別に関係なく色づけが設定され
る。この境界領域の色づけの色は、編集領域に設定され
る色(色抜き文字の場合は背景色)と同じ色を設定す
る。本実施例の青で色づけの場合には図11(a)に示
す設定となる。編集が1種類で、色も1色だけであるの
で、RAMテーブル4d〜4pは使用しないので、CP
U12から特に設定する必要がないので、図11(a)
には表示しない。また、本実施例では青で色づけである
が、赤で塗りつぶしの場合には図11(b)のように、
青の背景に緑で色抜き文字の場合には図11(c)のよ
うな設定をCPU12から行う。つまり、境界領域には
編集の種類に関係なく1ドット膨らませた領域には、必
ず色づけを設定する。
[Table 1] Next, the function code is set in the RAM table 4 from the CPU 12. The RAM table is composed of a 16-word (4a to 4p) RAM as shown in FIG. 9. The upper 2 bits shown in FIG. 10 store the type of editing, and the lower 4 bits store a function code representing a color. The area number 0000 developed on the bitmap memory surfaces 10d to 10g is a RAM
Table 4a, area number 0001 is RAM table 4b
The area number 1111 corresponds to the RAM table 4p. That is, in this embodiment, as shown in FIG.
Three types of 0010 are bitmap memory surfaces 10d to 10
The area number 0000 indicates an unedited area, the area number 0001 indicates a processing area, and the area number 0010 indicates a boundary area. Here, in the RAM table corresponding to the unedited area, no editing is performed, and in the RAM table corresponding to the processing area, the edit type (colored in blue in this embodiment) designated by the digitizer 13 is set in the boundary area. Corresponding RAM
Coloring is set in the table regardless of the type of editing. The color of the border area is set to the same color as the color set in the edit area (the background color in the case of a color-less character). In the case of coloring in blue according to this embodiment, the setting is as shown in FIG. Since there is only one type of editing and only one color, the RAM tables 4d to 4p are not used.
Since it is not necessary to set from U12 in particular, FIG. 11 (a)
Not displayed on. Further, in the present embodiment, coloring is performed with blue, but in the case of filling with red, as shown in FIG. 11B,
In the case of green and colored characters on a blue background, the CPU 12 makes settings as shown in FIG. In other words, the border area is always colored in the area in which one dot is inflated regardless of the type of editing.

【0031】最後に、画像入力装置1により再度原稿の
画像を読み取る本走査を行い、この画像信号の読み取り
に同期して描画装置9を動作させ、ビットマップメモリ
10の7面のビットマップメモリ面10a〜10gに書
き込まれているビットパターンのうちビットマップメモ
リ面10d〜10gに書かれているデータをビット単位
で読み出し、直並列回路8により4ビットのアドレス信
号としてRAMテーブル4に供給する。
Finally, the main scanning for reading the image of the original again by the image input device 1 is performed, the drawing device 9 is operated in synchronization with the reading of the image signal, and the seven bit map memory surfaces of the bit map memory 10 are operated. Of the bit patterns written in 10a to 10g, the data written in the bit map memory surfaces 10d to 10g are read in bit units, and are supplied to the RAM table 4 as a 4-bit address signal by the serial / parallel circuit 8.

【0032】RAMテーブル4には、先に述べたように
領域番号と対応して、CPU12により予め上述の編集
の種類と色を表すコード(機能コード)が書き込まれて
いる。したがって、原稿画像の各ドットの入力に対応し
て、RAMテーブル4からは、ビットマップメモリ10
に設定された領域番号に対応する機能コードが並列に読
み出される。ここで、本実施例においては、ビットマッ
プメモリ面10に格納されている領域のデータは、縦横
それぞれ1/4に間引かれたものであるので、読み出し
の際には繰り返し回路14により縦横方向に同一データ
を4回繰り返して発生させ、原稿の画像と編集の領域の
対応がとれるようにする。
In the RAM table 4, as described above, the code (function code) representing the type and color of editing described above is written in advance by the CPU 12 in correspondence with the area number. Therefore, in response to the input of each dot of the original image, the bitmap memory 10 is read from the RAM table 4.
The function code corresponding to the area number set to is read in parallel. Here, in the present embodiment, the data of the area stored in the bitmap memory surface 10 is thinned out vertically and horizontally by 1/4. The same data is repeatedly generated four times so that the image of the original and the editing area can be associated with each other.

【0033】画像処理回路5においては、繰り返し回路
14からの機能コードに対応した処理が行われる。編集
の種類が色づけである場合には、A/D変換回路2から
出力される画像信号をその濃度が一定値以下のものを、
色1で指定された色の画像信号に変換する。つまり、背
景部にRAMテーブル4に設定されている色1で指定さ
れる色をつける。本実施例では、青で色づけが選択され
ているので、処理領域内の背景部に青で色づけされる。
また、編集の種類が塗りつぶしである場合には、A/D
変換回路2から出力される画像信号をその濃度にかかわ
り無く、色1で指定された色の画像信号に変換する。つ
まり、編集領域内にRAMテーブル4に設定されている
色1で指定される色をつける。また、編集の種類が色抜
き文字の場合には、処理領域中で、A/D変換回路2か
ら出力される画像信号をその濃度が一定値以上の場合
に、RAMテーブル4に設定されている色1の色信号を
出力し、さらにA/D変換回路2から出力される画像信
号の濃度が一定値以下の場合に、RAMテーブル4に設
定されている色2で指定される色信号を出力する。
In the image processing circuit 5, processing corresponding to the function code from the repeating circuit 14 is performed. When the type of editing is coloring, the image signal output from the A / D conversion circuit 2 whose density is a certain value or less
Convert to the image signal of the color specified by color 1. That is, the background portion is colored with the color 1 set in the RAM table 4. In this embodiment, since the coloring in blue is selected, the background portion in the processing area is colored in blue.
If the type of editing is fill, A / D
The image signal output from the conversion circuit 2 is converted into the image signal of the color designated by the color 1 regardless of the density. That is, the color designated by the color 1 set in the RAM table 4 is added to the editing area. Further, when the type of editing is a color-less character, the image signal output from the A / D conversion circuit 2 is set in the RAM table 4 when the density of the image signal output from the A / D conversion circuit 2 is a certain value or more. The color signal of color 1 is output, and when the density of the image signal output from the A / D conversion circuit 2 is below a certain value, the color signal specified by color 2 set in the RAM table 4 is output. To do.

【0034】画像処理後の画像信号は、画像出力装置6
に供給され、所望の出力画像が得られる。
The image signal after image processing is the image output device 6
To obtain the desired output image.

【0035】次に図16〜図21を使い、編集領域につ
いて更に詳細な説明を行う。図16において各4角形が
画像信号の密度400dpiを表し、その画像信号が縦
横に4画素づつ合計16画素集まった4角形(太線で表
示)が、ビットマップメモリの解像度である100dp
iを表している。図16において黒で塗りつぶした部分
が、二値化回路3の出力が1の部分(画像データのイメ
ージがある部分)とし、図16の画像データで示される
閉領域内の任意の一点を指定して、閉領域内に編集をす
る場合を考える。
Next, the edit area will be described in more detail with reference to FIGS. In FIG. 16, each quadrangle represents an image signal density of 400 dpi, and the quadrangle (indicated by a thick line) in which the image signal has 4 pixels vertically and horizontally and a total of 16 pixels is 100 dpi which is the resolution of the bitmap memory.
represents i. In FIG. 16, a black-painted portion is a portion where the output of the binarization circuit 3 is 1 (a portion having an image of image data), and an arbitrary point in the closed area indicated by the image data of FIG. 16 is designated. Consider the case of editing in a closed area.

【0036】図16で示される400dpiの二値信号
を上記実施例で述べたように図8に示すごとく100d
piへ密度変換回路7で変換したものを表したのが図1
7である。つまり、図17の一つの四角形がビットマッ
プメモリ10の1ドットに対応している。上述の実施例
と同じようにビットマップメモリ10での領域生成を、
図7に示すステップ104までを行ったものを概念的に
表したのが図18である。ここで、図18の斜線の領域
を拡大することなく、斜線の処理領域のみを編集領域と
して設定すると、図19に示す様に、編集の境界線(黒
で塗りつぶした部分)と処理領域(斜線のハッチングの
部分)にすき間が発生してしまう。このすき間は画像出
力装置の出力では未編集領域となって表れる。
The 400 dpi binary signal shown in FIG. 16 is converted to 100 d as shown in FIG. 8 as described in the above embodiment.
FIG. 1 shows the pi converted by the density conversion circuit 7.
7 That is, one rectangle in FIG. 17 corresponds to one dot in the bitmap memory 10. As in the above-described embodiment, the area generation in the bitmap memory 10 is
FIG. 18 conceptually shows the steps up to step 104 shown in FIG. 7. Here, if the diagonally shaded area of FIG. 18 is not enlarged and only the diagonally shaded area is set as the editing area, as shown in FIG. 19, the editing boundary line (the portion filled with black) and the processing area (the diagonally shaded area) are set. There is a gap in the hatched area. This gap appears as an unedited area in the output of the image output device.

【0037】この未編集領域の発生は実際の画像データ
の密度より、解像度の低い領域発生装置を使用した場合
には避けられない問題であった。本発明では領域発生回
路(上述の実施例ではビットマップメモリ)において、
領域を領域発生回路の1分解能分だけ検出した処理領域
よりも領域を膨らまし、膨らました境界領域に対しては
編集領域の処理方法に対応させて自動的に処理方法を設
定することで、未編集領域の発生を防止している。
The generation of the unedited area is an unavoidable problem when an area generator having a lower resolution than the actual image data density is used. In the present invention, in the area generation circuit (bitmap memory in the above embodiment),
By expanding the area more than the processing area detected by one resolution of the area generation circuit and automatically setting the processing method for the expanded boundary area according to the processing method of the editing area, unedited It prevents the generation of areas.

【0038】図20は図18の斜線部分の領域を周囲に
1ドット膨らました図である。図20において横線のハ
ッチング部分が1ドット膨らました境界領域となる。上
述の実施例のように色づけ、塗りつぶし、色抜き文字が
設定可能な場合には、図20において斜線部分にはデジ
タイザ13から指定された編集の種類を設定し、横線部
分には、常に編集領域の色と同色の色づけを設定する。
ここで、横線部分にデジタイザ13から指定された編集
にかかわりなく、色づけを設定するのは、例えば、デジ
タイザから塗りつぶしを指定されていて、横線部分も塗
りつぶしと設定してしまうと、図21に示すように、基
の画像データの一部も塗りつぶしてしまう。また、図2
0の斜線、横線の部分に全て色抜き文字を設定すると、
図21のグレーのハッチングと横線の重なった部分に、
色抜き文字で設定した文字色がついてしまう。表2に示
した様に、色づけは画像データが一定値以上ところには
編集しないので、図20の横線部分に色づけを設定した
場合には、図21においてのグレーのハッチングと横線
の重なった部分は編集なしで出力され、また未編集領域
の発生も防止することが可能となる。
FIG. 20 is a diagram in which the shaded area in FIG. 18 is expanded by one dot in the periphery. In FIG. 20, the hatched portion of the horizontal line is a boundary region in which one dot is swollen. When coloring, filling, and colored characters can be set as in the above embodiment, the type of edit specified by the digitizer 13 is set in the shaded area in FIG. 20, and the edit area is always set in the horizontal area. Set the same color as the color of.
Here, regardless of the editing specified by the digitizer 13 in the horizontal line portion, the coloring is set, for example, when a fill is specified by the digitizer and the horizontal line portion is also set to be filled, as shown in FIG. As described above, a part of the original image data is also filled. Also, FIG.
If you set all colored characters in the shaded and horizontal lines of 0,
In the part where the gray hatching and the horizontal line in Fig. 21 overlap,
The character color set with the color removal characters is added. As shown in Table 2, since the coloring is not edited where the image data has a certain value or more, when the coloring is set to the horizontal line portion in FIG. 20, the gray hatching and the horizontal line overlapping portion in FIG. Is output without editing, and it is possible to prevent the occurrence of an unedited area.

【0039】[0039]

【表2】 実際の画像データの境界線が非常に細い場合、今回の例
では100dpiの1ドット以下(つまり、約0.25
mm以下)の場合には、編集領域が境界線の外側に10
0dpiの1ドット未満の範囲ではみ出すことがある。
はみ出した場合には境界線の外側エッジ部分の外側に、
境界内に付けた色がハミ出した様になるが、このハミ出
しは余り気にならないず、実使用上は殆ど問題にならな
い。
[Table 2] If the boundary line of the actual image data is very thin, in this example, it is 1 dot or less of 100 dpi (that is, about 0.25 dots).
mm or less), the editing area is 10 outside the boundary line.
It may protrude in the range of less than 1 dot of 0 dpi.
If it protrudes, it is outside the outer edge of the border,
It seems that the color attached to the boundary has come out, but this appearance does not bother me so much and it is not a problem in actual use.

【0040】なお、前記境界領域の処理は色づけのみと
したが、境界線をはさんで領域の内外を判別する手段を
設け、この領域内外の情報にしたがって境界領域の処理
を変えてもよい。例えば領域内部のみに色づけ処理を行
うようにすれば、上記境界線の外側への色のハミ出しを
防ぐことができる。
Although only the coloring of the boundary area is performed, it is also possible to provide a means for discriminating the inside / outside of the area by sandwiching the boundary line and changing the processing of the boundary area according to the information on the inside / outside of the area. For example, if the coloring process is performed only inside the region, it is possible to prevent the color from being smeared out to the outside of the boundary line.

【0041】以上のように本発明においては、画像デー
タを低い解像度に変換してビットマップメモリに記憶
し、このビットマップ情報に基づいて処理領域と境界領
域とを生成して各々異なった画像処理を施すようにした
ので、原画像の境界線に沿って未編集処理領域が白ぬけ
となって表れることを防ぐことができる。
As described above, in the present invention, the image data is converted into a low resolution and stored in the bit map memory, the processing area and the boundary area are generated based on the bit map information, and different image processings are performed. Since this is performed, it is possible to prevent the unedited processing region from appearing as white areas along the boundary line of the original image.

【0042】[0042]

【発明の効果】以上に述べたように、本発明において
は、原稿上の閉じた線で囲まれた領域中の1点を指定
し、予備走査でビットマップメモリに原稿情報を入力
し、ビットマップメモリ面に入力された原稿情報から、
指定された閉領域を認識し、原稿上の閉領域内全てに対
して画像編集を施すことにより、ビットマップメモリの
密度を、実際の画像データの密度より低くしても、境界
線の欠落や、境界線付近での未編集領域の発生なしに、
高品位の画像編集が可能となる。
As described above, according to the present invention, one point in the area surrounded by the closed line on the original is designated, and the original information is input to the bit map memory by the preliminary scanning, and the bit information is transmitted. From the document information entered on the map memory side,
By recognizing the specified closed area and performing image editing on the entire closed area on the document, even if the density of the bitmap memory is lower than the density of the actual image data, there are no missing border lines. , Without the occurrence of unedited areas near the border,
High-quality image editing becomes possible.

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

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

【図2】 画像入力装置及びディジタイザを示す概略断
面図である。
FIG. 2 is a schematic cross-sectional view showing an image input device and a digitizer.

【図3】 ディジタイザの概略平面図である。FIG. 3 is a schematic plan view of a digitizer.

【図4】 本発明の画像処理装置による、原稿と画像処
理後の画像の関係の一例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a relationship between a document and an image after image processing by the image processing apparatus of the present invention.

【図5】 は本発明実施例の原稿と画像処理後の画像の
関係を示す説明図である。
FIG. 5 is an explanatory diagram showing a relationship between a document and an image after image processing according to the embodiment of the present invention.

【図6】 ビットマップメモリ内に格納されるビットパ
ターンの変換を模式的に示す説明図である。
FIG. 6 is an explanatory diagram schematically showing conversion of a bit pattern stored in a bitmap memory.

【図7】 ビットマップメモリでのビットパターンの操
作を示すフローチャートである。
FIG. 7 is a flowchart showing an operation of a bit pattern in a bitmap memory.

【図8】 本実施例における密度変換の説明図である。FIG. 8 is an explanatory diagram of density conversion in this embodiment.

【図9】 本実施例における、RAMテーブルを示す説
明図である。
FIG. 9 is an explanatory diagram showing a RAM table according to the present embodiment.

【図10】 本実施例における、RAMテーブルを示す
説明図である。
FIG. 10 is an explanatory diagram showing a RAM table according to the present embodiment.

【図11】 本実施例における、RAMテーブルの設定
例を示す図である。
FIG. 11 is a diagram showing a setting example of a RAM table in the present embodiment.

【図12】 ビットマップメモリ上での領域の拡大方法
の一例を示す説明図である。
FIG. 12 is an explanatory diagram showing an example of a method of enlarging an area on a bitmap memory.

【図13】 ビットマップメモリ上での領域の拡大方法
の一例を示す説明図である。
FIG. 13 is an explanatory diagram showing an example of a method for expanding an area on a bitmap memory.

【図14】 ビットマップメモリ上での領域の拡大方法
の一例を示す説明図である。
FIG. 14 is an explanatory diagram showing an example of a method of enlarging an area on a bitmap memory.

【図15】 ビットマップメモリ上での領域の拡大方法
の一例を示す説明図である。
FIG. 15 is an explanatory diagram showing an example of a method for expanding an area on a bitmap memory.

【図16】 ビットマップメモリ上でのドットと原稿画
像データとの位置関係を示す説明図である。
FIG. 16 is an explanatory diagram showing a positional relationship between dots on a bitmap memory and document image data.

【図17】 ビットマップメモリに書き込まれた原稿画
像のビットマップを示す説明図である。
FIG. 17 is an explanatory diagram showing a bitmap of a document image written in a bitmap memory.

【図18】 ビットマップメモリ上での処理領域を示す
説明図である。
FIG. 18 is an explanatory diagram showing a processing area on a bitmap memory.

【図19】 ビットマップメモリ上での処理領域と原稿
画像データとの位置関係を示す説明図である。
FIG. 19 is an explanatory diagram showing a positional relationship between a processing area on a bitmap memory and document image data.

【図20】 ビットマップメモリ上での処理領域と境界
との位置関係を示す説明図である。
FIG. 20 is an explanatory diagram showing a positional relationship between a processing area and a boundary on a bitmap memory.

【図21】 ビットマップメモリ上での処理及び境界領
域と原稿画像データとの位置関係を示す説明図である。
FIG. 21 is an explanatory diagram showing the processing on the bitmap memory and the positional relationship between the boundary area and the document image data.

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

1 画像入力装置、2 A/D変換回路、3 二値化回
路、4 RAMテーブル、5 画像処理回路、6 画像
出力装置、7 密度変換回路、8 直並列変換回路、9
描画装置、10 ビットマップメモリ、10a〜10
g ビットマップメモリ面、11 ゲート、12 CP
U、13 ディジタイザ、14 繰り返し回路
DESCRIPTION OF SYMBOLS 1 image input device, 2 A / D conversion circuit, 3 binarization circuit, 4 RAM table, 5 image processing circuit, 6 image output device, 7 density conversion circuit, 8 serial-parallel conversion circuit, 9
Drawing device, 10 bit map memory, 10a to 10
g Bitmap memory side, 11 gates, 12 CP
U, 13 digitizer, 14 repeating circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 原画像の情報を互いに隣接した複数個の
画素からなるブロックを単位として区分し、前記各ブロ
ックごとにそのブロックが処理対象であるか否かを示す
処理領域情報と、前記各ブロックごとにそのブロック
が、互いに隣接した前記処理対象のブロックからなる処
理領域に対してその境界部に設定された所定のブロック
幅を有する境界領域に含まれるか否かを示す境界領域情
報とに基づいて、前記原画像の各画素ごとに、その画素
が属する前記ブロックが前記処理領域である場合は当該
画素の情報に対して第1の処理を行うとともに、その画
素が前記境界領域に含まれる場合は、当該画素の情報に
対して前記第1の処理とは異なる第2の処理を行う画像
処理方法。
1. The original image information is divided into blocks each consisting of a plurality of adjacent pixels, and processing area information indicating whether or not each block is a processing target, and For each block, boundary area information indicating whether or not the block is included in a boundary area having a predetermined block width set at the boundary with respect to a processing area including the processing target blocks that are adjacent to each other. Based on this, for each pixel of the original image, when the block to which the pixel belongs is the processing area, the first processing is performed on the information of the pixel, and the pixel is included in the boundary area. In the case, an image processing method for performing second processing different from the first processing on the information of the pixel.
【請求項2】 原画像の情報を入力する入力手段と,互
いに隣接した複数個の画素からなるブロックを単位とし
て原画像を区分し、各ブロックごとにそのブロックが処
理対象であるか否かを示す処理領域情報を記憶する記憶
手段と、前記各ブロックごとにそのブロックが、前記処
理対象の互いに隣接したブロックからなる処理領域に対
してその境界部に設定された所定のブロック幅を有する
境界領域に含まれるか否かを示す境界領域情報を生成す
る生成手段と、前記原画像の各画素ごとに、当該画素が
属する前記ブロックの前記処理領域情報および前記境界
領域情報とに基づいて、前記画素が前記処理対象である
場合は当該画素の情報に対して第1の処理を行うととも
に、その画素が前記境界領域に含まれる場合は、当該画
素の情報に対して前記第1の処理とは異なる第2の処理
を行う処理手段とを備えた画像処理装置。
2. An input means for inputting information of an original image, and an original image is divided in units of a block composed of a plurality of pixels adjacent to each other, and whether or not each block is a processing target is determined. Storage means for storing processing area information, and a boundary area for each block, the block having a predetermined block width set at a boundary portion with respect to a processing area composed of adjacent blocks to be processed. Generating means for generating boundary area information indicating whether or not the pixel is included in the original image, and for each pixel of the original image, based on the processing area information and the boundary area information of the block to which the pixel belongs, the pixel Is the processing target, the first processing is performed on the information of the pixel, and when the pixel is included in the boundary area, the first processing is performed on the information of the pixel. An image processing apparatus comprising: a processing unit that performs a second process different from the first process.
【請求項3】 請求項2において、前記生成手段は境界
領域情報を前記記憶手段の処理領域情報に基づいて生成
することを特徴とする画像処理装置。
3. The image processing apparatus according to claim 2, wherein the generation means generates boundary area information based on processing area information of the storage means.
【請求項4】 請求項2または請求項3において、原画
像の処理すべき領域を指示する領域指示手段と、この領
域指示手段手段の指示に基づいて、原画像の情報から前
記処理領域情報を生成する処理領域情報生成手段とを備
えることを特徴とする画像処理装置。
4. The processing area information according to claim 2 or 3, wherein the processing area information is obtained from the information of the original image based on an area designating means for designating a processing area of the original image and an instruction of the area designating means. An image processing apparatus comprising: a processing area information generating unit that generates the processing area information.
【請求項5】 請求項2において、前記生成手段は境界
領域情報を前記処理領域の外縁に接して所定のブロック
幅を有する帯状の境界領域に含まれるか否かを示す境界
領域情報を生成するとともに、前記処理手段は、当該画
素が前記処理対象である場合は当該画素の第1の情報を
所定の第2の情報に変換するとともに、当該画素が前記
境界領域に含まれる場合は、当該画素の情報が所定の第
3の情報でない場合のみ前記第2の情報に変換すること
を特徴とする画像処理装置。
5. The boundary area information according to claim 2, wherein the boundary area information is in contact with an outer edge of the processing area and is included in a band-shaped boundary area having a predetermined block width. At the same time, the processing means converts the first information of the pixel into predetermined second information when the pixel is the processing target, and when the pixel is included in the boundary region, the pixel The image processing device is characterized in that the information is converted into the second information only when the information is not the predetermined third information.
【請求項6】 請求項2において、前記生成手段は境界
領域情報を前記処理領域の内縁に接して所定のブロック
幅を有する帯状の境界領域に含まれるか否かを示す境界
領域情報を生成するとともに、前記処理手段は、当該画
素が境界領域に含まれる場合は前記処理領域に対して適
用される処理を禁止することを特徴とする画像処理装
置。
6. The boundary generation unit according to claim 2, wherein the generation unit generates boundary area information indicating whether the boundary area information is included in a strip-shaped boundary area having a predetermined block width in contact with an inner edge of the processing area. At the same time, the processing means prohibits the processing applied to the processing area when the pixel is included in the boundary area.
JP27461792A 1992-10-13 1992-10-13 Image processing method and apparatus Expired - Fee Related JP3221516B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27461792A JP3221516B2 (en) 1992-10-13 1992-10-13 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27461792A JP3221516B2 (en) 1992-10-13 1992-10-13 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH06125451A true JPH06125451A (en) 1994-05-06
JP3221516B2 JP3221516B2 (en) 2001-10-22

Family

ID=17544227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27461792A Expired - Fee Related JP3221516B2 (en) 1992-10-13 1992-10-13 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3221516B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07322052A (en) * 1994-05-26 1995-12-08 Fuji Xerox Co Ltd Picture processor
JPH08153207A (en) * 1994-11-28 1996-06-11 Fuji Xerox Co Ltd Picture processor
JPH1020712A (en) * 1996-07-09 1998-01-23 Minolta Co Ltd Image editing device
JPH10224613A (en) * 1997-02-04 1998-08-21 Canon Inc Picture processing method, picture processor and storage medium
CN103198468A (en) * 2011-09-08 2013-07-10 株式会社Pfu Image processing apparatus, image processing method, and image processing system
JP2017083785A (en) * 2015-10-30 2017-05-18 キヤノン株式会社 Image forming apparatus and recording material identification device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07322052A (en) * 1994-05-26 1995-12-08 Fuji Xerox Co Ltd Picture processor
JPH08153207A (en) * 1994-11-28 1996-06-11 Fuji Xerox Co Ltd Picture processor
JPH1020712A (en) * 1996-07-09 1998-01-23 Minolta Co Ltd Image editing device
JPH10224613A (en) * 1997-02-04 1998-08-21 Canon Inc Picture processing method, picture processor and storage medium
CN103198468A (en) * 2011-09-08 2013-07-10 株式会社Pfu Image processing apparatus, image processing method, and image processing system
CN103198468B (en) * 2011-09-08 2016-03-16 株式会社Pfu Image processing apparatus, image processing method and image processing system
JP2017083785A (en) * 2015-10-30 2017-05-18 キヤノン株式会社 Image forming apparatus and recording material identification device

Also Published As

Publication number Publication date
JP3221516B2 (en) 2001-10-22

Similar Documents

Publication Publication Date Title
JPS60198688A (en) Page makeup apparatus
US5148294A (en) Image processing apparatus and method for painting a memory with plural colors
JP3221516B2 (en) Image processing method and apparatus
JPH0727725Y2 (en) Image editing equipment
US4998132A (en) Image edit system
JP3344436B2 (en) Image recording device
US5361141A (en) Image processor
US4947444A (en) Image processing method and apparatus
US5677771A (en) Digital copier that approximates contours of a document image as straight lines or curves
JP2841492B2 (en) Image processing method
JP3371583B2 (en) Image processing device
JPH01177272A (en) Picture processor
JP2511731B2 (en) Halftone image processor
JP2699366B2 (en) Image processing device coordinate input device
EP0418868B1 (en) Image processing system
JPH07322052A (en) Picture processor
JPH0425279A (en) Picture forming device
JP2926710B2 (en) Image processing device
JPH01236770A (en) Image editing device
JPH0638046A (en) Meshing method
JP3472013B2 (en) Image processing apparatus and control method thereof
JP2634399B2 (en) Color image processing method
JPH06100817B2 (en) Method for making original film for plain net
JPS6097389A (en) Color apparatus
JPS6163158A (en) Picture editing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees