JPH0250277A - Screening system for binary picture information - Google Patents

Screening system for binary picture information

Info

Publication number
JPH0250277A
JPH0250277A JP20090488A JP20090488A JPH0250277A JP H0250277 A JPH0250277 A JP H0250277A JP 20090488 A JP20090488 A JP 20090488A JP 20090488 A JP20090488 A JP 20090488A JP H0250277 A JPH0250277 A JP H0250277A
Authority
JP
Japan
Prior art keywords
binary image
image information
screening
area
dots
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
JP20090488A
Other languages
Japanese (ja)
Inventor
Makoto Miyai
誠 宮井
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP20090488A priority Critical patent/JPH0250277A/en
Publication of JPH0250277A publication Critical patent/JPH0250277A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To screen binary picture information in a rectangular area at a high speed by executing logical arithmetic for the binary picture information in a segmenting area and a screen pattern for the unit of a word size. CONSTITUTION:A writing means 12 adds an additional dot to the end of respective rows in the binary picture information, for which screening processing is executed, and writes the binary picture information, for which the dot number of the respective rows is caused to be the integer number-fold word size, to a binary picture area developing area 11a. A screening position designating means 13 obtains the positions of all segmenting areas, which are overlapped with the rectangular area, and a screening means 14 executes the logical arithmetic for the binary picture information in the segmenting areas, which are obtained by the screening position designating means 13, and the screen pattern for the unit of the word size. Then, a logical arithmetic result is written to the original position of the binary picture information developing area 11a. A writing-out means 15 delets the additional dot, which is added to the end of the respective rows in the binary picture information, and outputs the information. Thus, by executing the processing for the unit of the word size, the screening can be executed at the high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は二値画像情報上の指定された矩形領域内の二値
画像情報をスクリーン化する二値画像情報のスクリーン
化方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a screening method for binary image information that screens binary image information within a specified rectangular area on binary image information.

〔従来の技術〕[Conventional technology]

二値画像情報のスクリーン化は、例えば、指定された矩
形領域内の二値画像情報を他の部分に対して強調する場
合等に使用される。第10図(alは指定された矩形領
域112内の情報を強調する前の二値画像情報111を
示し、同図(blは矩形領域112内の情報を強調した
後の二値画像情報111を示している。
Screening of binary image information is used, for example, to emphasize binary image information within a designated rectangular area relative to other parts. FIG. 10 (al indicates the binary image information 111 before emphasizing the information within the specified rectangular area 112, and in the same figure (bl indicates the binary image information 111 after emphasizing the information within the rectangular area 112) It shows.

ところで、二値画像情報上の指定された矩形領域内の二
値画像情報をスクリーン化する場合、従来は、矩形領域
内の二値画像情報を1ドツトずつ読出し、読出した二値
画像情報と予め定められているスクリーンパターンの対
応するビットとの論理演算(例えば、論理和)を1ドツ
トずつ行ない、論理演算結果を元の位置に書込むことに
より矩形領域内の二値画像情報をスクリーン化するよう
にしている。
By the way, when converting binary image information within a specified rectangular area on binary image information into a screen, conventionally, the binary image information within the rectangular area is read out one dot at a time, and the read binary image information and the previously Binary image information in a rectangular area is screened by performing a logical operation (for example, OR) with corresponding bits of a predetermined screen pattern dot by dot and writing the logical operation result to the original position. That's what I do.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来は上述したように、矩形領域内の二値画像情報を1
ドツトずつ処理することにより、矩形領域内の二値画像
情報をスクリーン化するようにしているため、処理速度
が遅くなるという問題がある。
Conventionally, as mentioned above, binary image information within a rectangular area is
Since binary image information within a rectangular area is screened by processing dot by dot, there is a problem that the processing speed becomes slow.

本発明の目的は高速に矩形領域内の二値画像情報をスク
リーン化できるようにすることにある。
An object of the present invention is to enable high-speed screening of binary image information within a rectangular area.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記目的を達成するため、 二値画像情報上の矩形領域内の情報をスクリーン化する
二値画像情報のスクリーン化方式に於いて、 前記二値画像情報の各行の末尾に付加ドア)を付加して
各行のドツト数をワードサイズの整数倍にした二値画像
情報を二値画像情報展開領域に書込む書込手段と、 各行の先頭がワード境界から始まり、行方向のドツト数
が前記ワードサイズと等しい矩形の切出領域であって前
記矩形領域と重なり合う切出領域の位置を求めるスクリ
ーン化位置指定手段と、該スクリーン化位置指定手段が
位置を求めた切出領域内の二値画像情報とスクリーンパ
ターンとの論理演算をワードサイズ単位に行ない、論理
演算結果を前記二値画像情報展開領域上の元の位置に書
込むスクリーン化手段と、 前記二値画像情報展開領域に格納されている二値画像情
報の各行の末尾に付加されている付加ドツトを削除して
出力する書出手段とを設けたものである。
In order to achieve the above object, the present invention provides a screening method for binary image information that screens information within a rectangular area on the binary image information, and includes a door added at the end of each line of the binary image information. writing means for writing binary image information in which the number of dots in each line is an integer multiple of the word size by adding the number of dots in the binary image information development area; Screening position specifying means for determining the position of a cutout area that is a rectangular cutout area that is equal to the word size and overlaps with the rectangular area, and a binary value within the cutout area whose position is determined by the screening position specifying means. Screening means for performing a logical operation on the image information and the screen pattern in word size units and writing the result of the logical operation at the original position on the binary image information development area; The apparatus is provided with a writing means for deleting the additional dots added to the end of each line of the binary image information and outputting the binary image information.

〔作 用〕[For production]

書込手段はスクリーン化処理を行なう二値画像情報の各
行の末尾に付加ドツトを付加し、各行のドツト数をワー
ドサイズの整数倍にした二値画像情報を二値画像情報展
開領域に書込む、スクリーン化位置指定手段は矩形領域
と重なる全ての切出領域の位置を求め、スクリーン化手
段はスクリーン化位置指定手段が位置を求めた切出領域
内の二値画像情報とスクリーンパターンとの論理演算を
ワードサイズ単位で行ない、論理演算結果を二値画像情
報展開領域の元の位置に書込む、書出手段は二値画像情
報展開領域に格納されている二値画像情報の各行の末尾
に付加されている付加ドツトを削除して出力する。
The writing means adds additional dots to the end of each line of the binary image information to be screened, and writes binary image information in which the number of dots in each line is an integral multiple of the word size into the binary image information development area. , the screening position specifying means obtains the positions of all cutout areas that overlap with the rectangular area, and the screening means calculates the logic between the binary image information and the screen pattern within the cutout area whose positions are obtained by the screening position specifying means. The writing means performs the calculation in word size units and writes the logical operation result to the original position of the binary image information development area. Delete the added dots and output.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して詳細に説明
する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の実施例のブロック図であり、スクリー
ン化装置1と、スクリーン化を行なう二値画像情報が格
納されている二値画像情報記憶領域21を含む記憶装置
2とを含んでいる。スクリーン化装置lは二値画像情報
展開領域11aを含む記憶手段11と、記憶装置2内の
二値画像情報記憶領域21に格納されている二値画像情
報を読込み、読込んだ二値画像情報に対して各行のドツ
ト数がワードサイズの整数倍となるように各行の末尾に
白の付加ドツトを付加し、付加ドツトを付加した二値画
像情報の各行がワード境界から始まるように二値画像情
報展開領域11aに書込む書込手段12と、指定された
矩形領域と重なる全ての切出領域(各行の先頭がワード
境界から始まり、行方向のドツト数がワードサイズと等
しい矩形の領域であり、本実施例では一辺のドツト数が
ワードサイズと等しい正方形の領域とする)の左上端の
位置をスクリーン化手段14に通知するスクリーン化位
置指定手段13と、スクリーン化位置指定手段13から
位置を通知された切出領域内の二値画像情報をワードサ
イズ単位でスクリーン化するスクリーン化手段14と、
二値画像情報展開領域11aに格納されている二値画像
情報の各行の末尾に付加されている付加ドツトを削除し
て二値画像情報記憶領域21に書出す書出手段15とを
含んでいる。また、スクリーン化手段14は容量が1ワ
ードサイズと等しいレジスタ14aを含んでおり、レジ
スタ14aの第1ビントル第Nビットはそれぞれ切出領
域中の各行の第1ビツト〜第Nビツトと対応している。
FIG. 1 is a block diagram of an embodiment of the present invention, which includes a screening device 1 and a storage device 2 including a binary image information storage area 21 in which binary image information to be screened is stored. There is. The screening device l reads the binary image information stored in the storage means 11 including the binary image information development area 11a and the binary image information storage area 21 in the storage device 2, and converts the read binary image information Add white additional dots to the end of each line so that the number of dots in each line is an integral multiple of the word size, and create a binary image so that each line of binary image information to which the additional dots have been added starts from a word boundary. A writing means 12 that writes to the information development area 11a and all cutout areas that overlap with the specified rectangular area (rectangular areas where the beginning of each line starts from a word boundary and the number of dots in the line direction is equal to the word size) , which is a square area in which the number of dots on one side is equal to the word size in this embodiment) is used. Screening means 14 that screens the binary image information within the notified cutout area in word size units;
and writing means 15 for deleting the additional dots added to the end of each line of the binary image information stored in the binary image information development area 11a and writing it to the binary image information storage area 21. . Further, the screening means 14 includes a register 14a whose capacity is equal to the size of one word, and the first bit N bit of the register 14a corresponds to the first bit to the Nth bit of each row in the cutting area. There is.

第2図は書込手段12の処理例を示す流れ図であり、同
図を参照すると、書込手段12はステップS21に於い
て二値画像情報記憶領域21上の二値画像情報の横のド
ツト数(1行のドツト数)を予め定まっている1ワード
のドツト数で割った時の余りを1ワ一ド分のドツト数か
ら引くことにより、行と行との間に付加する白の付加ド
ツトのドツト数Kを求め、ステップ322に於いて付加
ドツトの付加処理を行なう行位置Iを第1行目とする0
次のステップS23に於いて書込下段12は二値画像情
報記憶領域21上の二値画像情報の第1行目を入力し、
ステップS24に於いてステップ323で入力した1行
分の二値画像情報の最後に白の付加ドツトをに個付加し
、ステップS25に於いてに個の付加ドツトを付加した
1行分の二値画像情報を二値画像情報展開領域11aの
第1行目に書込む。以下、書込手段12は付加ドツトの
付加処理を行なう行位置■を1行ずつ進め(ステップ5
26)、行位置Iが二値画像情報記憶領域21上の二値
画像情報の行数を越えるまで(ステップS27の判断結
果がyesとなるまで)上述した処理を繰返す。そして
、ステップ327の判断結果がyesとなることにより
、書込手段12はスクリーン化位置指定手段13を起動
する (ステップ52B)。
FIG. 2 is a flowchart showing a processing example of the writing means 12. Referring to the same figure, the writing means 12 writes a dot next to the binary image information on the binary image information storage area 21 in step S21. Adding white between lines by subtracting the remainder when the number (number of dots in one line) is divided by the predetermined number of dots in one word from the number of dots in one word. The number K of dots is calculated, and in step 322, the row position I at which additional dots are added is set as the first row 0.
In the next step S23, the lower writing section 12 inputs the first line of binary image information on the binary image information storage area 21,
In step S24, white additional dots are added to the end of the one line of binary image information input in step 323, and in step S25, the one line of binary image information to which these additional dots have been added is added. Image information is written in the first line of the binary image information development area 11a. Thereafter, the writing means 12 advances the line position ■ where the additional dot addition process is to be performed line by line (step 5).
26) The above-described process is repeated until the line position I exceeds the number of lines of binary image information on the binary image information storage area 21 (until the determination result in step S27 becomes YES). Then, when the determination result in step 327 becomes yes, the writing means 12 activates the screening position specifying means 13 (step 52B).

従って、二値画像情報展開領域11aには第3図に示す
ように、二値画像情報記憶領域21上の二値画像情報の
各行の末尾にに個の付加ドツトが付加され、各行がワー
ド境界から始まるようにされた二値画像情報が格納され
る。
Therefore, in the binary image information development area 11a, as shown in FIG. Binary image information starting from is stored.

スクリーン化位置指定手段13は書込手段12から起動
がかけられると、第4図の流れ図に示す処理を開始し、
先ず、ステップ341に於いて二値画像情報展開領域1
1a上の矩形領域の先頭行位置を、矩形領域の左上端を
含む切出領域の先頭行位置りとする。今、例えば、二値
画像情報展開領域11a上の矩形領域11bが第5図に
示すものであるとすると、スクリーン化位置指定手段1
3は第5行を、矩形領域11bの左上端を含む切出領域
cl、1.の先頭行位置りとする。尚、矩形領域11b
の位置(例えば、矩形領域の左上端の位置と右下端の位
置によって指定されるものとする)はスクリーン化を行
なう際、予めスクリーン化位置指定手段13に利用者に
より人力されているものである。次いで、スクリーン化
位置指定手段13はステップ342に於いて二値画像情
報展開領域11a上の矩形領域11bの左端のドツト位
置(列位置)を1ワ一ド分のドツト数(本実施例では8
ドツトとする)で割った時の整数部と1ワ一ド分のドツ
ト数とを乗算し、乗算結果に1を加算することにより、
矩形領域の左上端を含む切出領域cl、1の左上端のド
ツト位置Mを求める。この例では、矩形領域11bの左
端のドツト位置Mは5.1ワ一ド分のドツト数は8であ
るので、切出領域C1,1の右端のドツト位置Mは第1
ドツトとなる。切出領域C1,1の左上端の行位置しく
この例では第5行)、ドツト位置M(この例では第1ド
ツト)を求めると、スクリーン化位置指定手段13はス
テップ343に於いて上記行位置し、ドツト位置Mをス
クリーン化手段14に通知してスクリーン化手段14を
起動する。スクリーン化手段14はスクリーン化位置指
定手段13から切出領域CI、1の左上端の行位置し、
ドツト位置Mが加えられると、後述するようにして切出
領域CI、1内の二値画像情報をスクリーン化する。
When activated by the writing means 12, the screening position specifying means 13 starts the process shown in the flowchart of FIG.
First, in step 341, binary image information development area 1
Let the first row position of the rectangular area on 1a be the first row position of the cutout area including the upper left end of the rectangular area. For example, if the rectangular area 11b on the binary image information development area 11a is as shown in FIG.
3, the fifth row is a cutout area cl including the upper left end of the rectangular area 11b, 1. The first row of Note that the rectangular area 11b
The position (for example, specified by the upper left end position and the lower right end position of the rectangular area) is manually entered by the user into the screen formation position specifying means 13 in advance when converting into a screen. . Next, in step 342, the screening position specifying means 13 sets the dot position (column position) at the left end of the rectangular area 11b on the binary image information development area 11a to the number of dots corresponding to one word (8 in this embodiment).
By multiplying the integer part of the division by the number of dots for one word and adding 1 to the multiplication result,
The dot position M of the upper left end of the cutout region cl, 1 that includes the upper left end of the rectangular region is determined. In this example, the dot position M at the left end of the rectangular area 11b has 8 dots for 5.1 words, so the dot position M at the right end of the cutout area C1,1 is the first dot position.
It becomes a dot. After determining the row position (the fifth row in this example) and the dot position M (the first dot in this example) at the upper left end of the cutout area C1,1, the screening position specifying means 13 determines the above row in step 343. The screen forming means 14 is activated by notifying the dot position M to the screening means 14. The screening means 14 locates the row at the upper left end of the cutting area CI,1 from the screening position specifying means 13,
When the dot position M is added, the binary image information within the cutout area CI,1 is converted into a screen as described below.

ステップ343でスクリーン化手段14を起動すると、
スクリーン化位置指定手段13はステップ344に於い
てドツト位置Mに1ワ一ド分のドツト数を加算した値を
新たな切出領域の左端のドツト位置Mとし、次のステッ
プS45に於いて、式(1)に示す演算を行なうことに
より、ステップS44で求めたドツト位置Mが矩形領域
11bの右端を越えているか否かを判断する。
When the screening means 14 is activated in step 343,
In step 344, the screening position specifying means 13 sets the value obtained by adding the number of dots for one word to the dot position M as the left end dot position M of the new cutting area, and in the next step S45, By performing the calculation shown in equation (1), it is determined whether the dot position M obtained in step S44 exceeds the right end of the rectangular area 11b.

M>A+B−C・・・・・・ +11 但し、式+11に於いては、Aは二値画像情報展開領域
11a上の矩形領域11bの右端ドツト位置、Bはlワ
ード分のドツト数、Cは二値画像情報展開領域11a上
の矩形領域11bの右端ドア)位置を1ワ一ド分のドツ
ト数で割った時の剰余を表している。
M>A+B-C...+11 However, in formula +11, A is the right end dot position of the rectangular area 11b on the binary image information expansion area 11a, B is the number of dots for l words, and C represents the remainder when the rightmost door position of the rectangular area 11b on the binary image information development area 11a is divided by the number of dots for one word.

そして、式(1)に示す条件が満たされていないと判断
した場合、即ちステップ344で求めた新たな切出領域
の左端のドツト位置が矩形領域11bの右端を越えてい
ないと判断した場合はスクリーン化位置指定手段13は
ステップS43の処理に戻り、式(1)に示す条件が満
たされていると判断した場合、即ちステップS44で求
めた新たな切出領域の左端が矩形領域11bの右端を越
えていると判断した場合はステップS46の処理を行な
う。
If it is determined that the condition shown in equation (1) is not satisfied, that is, if it is determined that the left end dot position of the new cutout region obtained in step 344 does not exceed the right end of the rectangular region 11b, The screening position specifying means 13 returns to the process of step S43, and if it is determined that the condition shown in equation (1) is satisfied, that is, the left end of the new cutout area obtained in step S44 is the right end of the rectangular area 11b. If it is determined that the value exceeds , the process of step S46 is performed.

従って、第5図に示した例では、ステップ344に於い
て切出領域C1,3の左上端のドツト位置Mに1ワ一ド
分のドツト数を加えるまでは、ステップS45の判断結
果がnoとなるので、スクリーン化位置指定手段13は
切出領域cl、1−cl、3の左上端の行位置り、ドツ
ト位置Mを順次スクリーン化手段14に通知し、その後
、ステップS46の処理を行なうことになる。
Therefore, in the example shown in FIG. 5, the determination result in step S45 is no until the number of dots corresponding to one word is added to the dot position M at the upper left end of the cutout area C1, 3 in step 344. Therefore, the screening position specifying means 13 sequentially notifies the screening means 14 of the line position and dot position M of the upper left end of the cutout areas cl, 1-cl, and 3, and then performs the process of step S46. It turns out.

ステップS46に於いてはスクリーン化位置指定手段1
3は行位置しに1ワ一ド分のドツト数を加算する処理を
行ない、次のステップS47に於いては式(2)に示す
演算を行なうことにより、ステップ846で求めた行位
置りが矩形領域11bの下端行位置を越えているか否か
を判断する。
In step S46, the screening position specifying means 1
3 performs a process of adding the number of dots for one word to the line position, and in the next step S47, the line position obtained in step 846 is calculated by performing the calculation shown in equation (2). It is determined whether the lower end row position of the rectangular area 11b has been exceeded.

L>X+B−Y 但し、式(2)に於いて、Xは二値画像情報展開領域1
1a上の矩形領域11bの下端行位置、Bは1ワ一ド分
のドツト数、Yは二値画像情報展開領域11a上の矩形
領域11bの下端行位置を1ワ一ド分のドツト数で割っ
た時の剰余を表している。
L>X+B-Y However, in equation (2), X is the binary image information development area 1
The lower end row position of the rectangular area 11b on the binary image information development area 11a is the lower end row position of the rectangular area 11b on the binary image information development area 11a, where B is the number of dots per word per word. It represents the remainder when divided.

ステップ347に於いて、ステップS46で求めた行位
置りが矩形領域11bの下端行位置を越えていないと判
断した場合、即ち式(2)に示す条件を満たしていない
と判断した場合はスクリーン化位置指定手段13はステ
ップS42の処理に戻り、下端行位置を越えていると判
断した場合、即ち式(2)に示す条件を満たしていると
判断した場合はスクリーン化手段14の処理が終了する
のを待ち(ステップ848)、スクリーン化手段14の
処理が終了すると、書出手段15を起動した後(ステッ
プ549)、その処理を終了する。
In step 347, if it is determined that the line position obtained in step S46 does not exceed the lower end line position of the rectangular area 11b, that is, if it is determined that the condition shown in equation (2) is not satisfied, the screen is The position specifying means 13 returns to the process of step S42, and if it is determined that the lower end row position has been exceeded, that is, if it is determined that the condition shown in equation (2) is satisfied, the processing of the screening means 14 ends. When the processing of the screening means 14 is completed, the writing means 15 is activated (step 549), and the processing is ended.

従って、第5図に示した例では、ステップS46に於い
て切出領域C3,3の左上端の行位置しに1ワ一ド分の
ドツト数を加えるまでは、ステップS47の判断結果が
noとなるので、スクリーン化位置指定手段13は切出
領域C2,1〜C3,3の左上端の行位置し、ドツト位
置Mを順次スクリーン化手段14に通知し、その後、処
理を終了することになる。
Therefore, in the example shown in FIG. 5, the determination result in step S47 is no until the number of dots corresponding to one word is added to the row position of the upper left end of the cutout area C3, 3 in step S46. Therefore, the screening position specifying means 13 positions the dots in the upper left corner of the cutting areas C2,1 to C3,3, sequentially notifies the screening means 14 of the dot positions M, and then ends the process. Become.

スクリーン化手段14はその内部に、切出領域の第1行
〜第W行(Wは1ワ一ド分のドツト数と等しい)対応の
スクリーンパターンが格納されている記憶手段(図示せ
ず)を有しており、切出領域の左上端の行位置り、ドツ
ト位置Mを通知されてスクリーン化位置指定手段13か
ら起動がかけられると、第6図の流れ図に示す処理を開
始する。先ず、ステップS61に於いて切出領域内の行
位置Nを第1行とし、次のステップ362に於いてレジ
スタ14aの各ビットの内の矩形領域と重なり合ってい
る切出領域対応のビットに上記記憶手段に格納されてい
る第N行目のスクリーンパターンの対応する部分をセッ
トし、それ以外のビットには“0”をセットする0次い
で、スクリーン化手段14はステップS63に於いて、
レジスタ14aにセットした第N行目のスクリーンパタ
ーンとスクリーン化位置指定手段13から位置を通知さ
れた切出領域内の第N行目の二値画像情報とのワードサ
イズ単位の論理和演算を行ない、その論理演算結果を上
記切出領域内の第N行目に書込む。次いで、スクリーン
化手段14はNを+1しくステップ564)、次いでス
テップS64で求めたNが切出領域の1ワ一ド分のドツ
ト数を越えているか否かを判断する(ステップ565)
。そして、Nが切出領域の1ワ一ド分のドツト数を越え
ていないと判断した場合はステップS62の処理に戻り
、越えていると判断した場合はその処理を終了する。
The screening means 14 has a storage means (not shown) in which screen patterns corresponding to the first to Wth rows (W is equal to the number of dots for one word) of the cutout area are stored. When the line position and dot position M at the upper left end of the cutting area are notified and the screening position specifying means 13 activates the process, the process shown in the flowchart of FIG. 6 is started. First, in step S61, the row position N in the cutout area is set as the first row, and in the next step 362, the above bit is set to the bit corresponding to the cutout area that overlaps with the rectangular area in each bit of the register 14a. The corresponding part of the screen pattern in the Nth row stored in the storage means is set, and the other bits are set to "0". Then, in step S63, the screening means 14 performs the following steps:
A logical OR operation is performed in word size units between the screen pattern of the Nth line set in the register 14a and the binary image information of the Nth line within the cutout area whose position has been notified from the screening position specifying means 13. , writes the result of the logical operation to the Nth row in the cutout area. Next, the screening means 14 increments N by 1 (step 564), and then determines whether or not N obtained in step S64 exceeds the number of dots for one word of the cutting area (step 565).
. If it is determined that N does not exceed the number of dots corresponding to one word of the cutting area, the process returns to step S62, and if it is determined that N does exceed the number of dots, the process is terminated.

第7図(alは第5図に示した切出領域c1.1の左上
端の行位置し、ドツト位iMが通知され、N=1〜8と
した時のスクリーン化前の切出領域cll内の内容、レ
ジスタ14aの内容及びスクリーン化後の切出領域c1
,1の内容を示している。この時、切出領域c 1,1
はその第5列〜第8列しか矩形領域11bと重なってい
ないので、レジスタ14aの第5ビツト以降のみにスク
リーンパターンがセットされ、第1ビツト〜第4ビツト
には′0”がセットされる。また、同図(blは切出領
域C1,2の位置が通知された時の上記各内容を、同図
(C1は切出領域C1,3の位置が通知された時の上記
各内容を、同図[d+は切出領域C3,1の位置が通知
された時の上記各内容を、同図(e)は切出領域C3,
2の位置が通知された時の上記各内容を、同図(f)は
切出領域C3,3の位置が通知された時の上記各内容を
示している。
FIG. 7 (al is the row position at the upper left end of the cutout region c1.1 shown in FIG. 5, the cutout region cll before being screened when the dot position iM is notified and N=1 to 8) contents, the contents of the register 14a, and the cutout area c1 after screening
, 1 is shown. At this time, the cutout area c 1,1
Since only the 5th to 8th columns overlap with the rectangular area 11b, the screen pattern is set only in the 5th and subsequent bits of the register 14a, and '0' is set in the 1st to 4th bits. In addition, in the same figure (BL shows each of the above contents when the positions of cutout areas C1 and 2 are notified, and in the same figure (BL shows each of the above contents when the positions of cutout areas C1 and 3 are notified). , the same figure [d+ shows the above contents when the position of the cutout area C3,1 is notified, and the same figure (e) shows the above contents when the position of the cutout area C3,1 is notified.
(f) shows the above contents when the position of cutout area C3, 3 is notified.

書出手段15はスクリーン化位置指定手段13により起
動がかけられると、第8図の流れ図に示す処理を開始し
、先ず、ステップ381に於いて行位置Jを第1行目と
し、次のステップS82に於いて二値画像情報展開領域
11a上の二値画像情報の第5行目を入力し、次のステ
ップ383に於いてステップS82で入力した行の最後
からにドツトを削除し、次のステップS84に於いてス
テップS83で最後のにドツトを削除した第5行目の二
値画像情報を二値画像情報記憶領域21の第5行目の二
値画像情報として書込む、以下、書出手段15は1行ず
つ行位置Jを進め(ステップ585)、行位置Jが二値
画像情報展開領域lla上の二値画像情報の行数を越え
るまで(ステップ386の判断結果がyesとなるまで
)、上述した処理を繰返す、即ち、書出手段15は第9
図に示すように、書込手段12が付加した付加ドツトを
削畦して、二値画像情報展開領域11a上のスクリーン
化された二値画像情報を二値画像情報記憶領域21に書
出すものである。
When the writing means 15 is activated by the screen position specifying means 13, it starts the process shown in the flowchart of FIG. In S82, the fifth line of the binary image information on the binary image information expansion area 11a is input, and in the next step 383, a dot is deleted from the end of the line input in step S82, and the next line is In step S84, the binary image information in the fifth line from which the last dot was deleted in step S83 is written as the binary image information in the fifth line in the binary image information storage area 21. The means 15 advances the line position J line by line (step 585) until the line position J exceeds the number of lines of the binary image information on the binary image information development area lla (until the judgment result in step 386 becomes YES). ), the above-mentioned process is repeated, that is, the writing means 15
As shown in the figure, the additional dots added by the writing means 12 are removed and the screened binary image information on the binary image information development area 11a is written to the binary image information storage area 21. It is.

尚、上述した実施例に於いては、ワードサイズを8ドツ
トとしているが、複数ドツトであればこれに限られるも
のではない、また、実施例に於いては、スクリーンパタ
ーンを黒の1ドツトと白の3ドツトの繰返しとしている
が、スクリーンパターンはこれに限られるものではない
、更に、実施例では論理和演算を行なうことにより、二
値画像情報をスクリーン化するようにしたが、排他的論
理和等の他の論理演算により二値画像情報をスクリーン
化するようにしても良いことは勿論である。
In the above-mentioned embodiment, the word size is 8 dots, but the word size is not limited to this as long as it is a plurality of dots.In addition, in the embodiment, the screen pattern is set to 8 dots. Although the screen pattern is a repetition of three white dots, the screen pattern is not limited to this.Furthermore, in the embodiment, binary image information is screened by performing a logical sum operation, but an exclusive logic Of course, the binary image information may be converted into a screen using other logical operations such as sum.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、ワードサイズ単位の処
理を行なうことにより二値画像情報をスクリーン化する
ようにしたものであるので、二値画像情報をlドツトず
つスクリーン化していた従来方式に比較して、スクリー
ン化を高速に行なうことができる効果がある。また、本
発明は二値画像情報の各行に付加ドツトを付加し、各行
のドツト数をワードサイズの整数倍にした後、スクリー
ン化処理を行なうようにしたものであるので、ワードサ
イズ単位の処理を容易に行なうことができる効果もある
As explained above, the present invention is designed to screen binary image information by processing in word size units, so it is different from the conventional method in which binary image information is screened one dot at a time. In comparison, there is an effect that screening can be performed at high speed. Furthermore, in the present invention, additional dots are added to each line of binary image information, and the number of dots in each line is made an integral multiple of the word size before the screening process is performed. It also has the effect of making it easier to carry out.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例のブロック図、第2図は書込手
段12の処理例を示す流れ図、第3図は書込手段12の
動作説明図、 第4図はスクリーン化位置指定手段13の処理例を示す
流れ図、 第5図はスクリーン化位置指定手段13の動作説明図、 第6図はスクリーン化手段14の処理例を示す流れ図、 第7図はスクリーン化手段14の動作説明図、第8図は
書出手段15の処理例を示す流れ図、第9図は書出手段
15の動作説明図及び、第1O図は従来例の説明図であ
る。 図に於いて、 1・・・スクリーン化装置、2・・・記憶装置、11・
・・記憶手段、ita・・・二値画像悄輻展開領域、l
lb・・・矩形領域、12・・・書込手段、13・・・
スクリーン化位置指定手段、14・・・スクリーン化手
段、14a・・・レジスタ、15・・・書出手段、21
・・・二値画像情報記憶領域。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart showing an example of processing by the writing means 12, FIG. 3 is an explanatory diagram of the operation of the writing means 12, and FIG. 4 is a screening position specifying means. 5 is an explanatory diagram of the operation of the screening position specifying means 13, FIG. 6 is a flowchart showing an example of the processing of the screening means 14, and FIG. 7 is an explanatory diagram of the operation of the screening means 14. , FIG. 8 is a flowchart showing a processing example of the writing means 15, FIG. 9 is an explanatory diagram of the operation of the writing means 15, and FIG. 1O is an explanatory diagram of a conventional example. In the figure, 1...screening device, 2...storage device, 11.
...Storage means, ita...Binary image vergence development area, l
lb...Rectangular area, 12...Writing means, 13...
Screening position specifying means, 14... Screening means, 14a... Register, 15... Writing means, 21
...Binary image information storage area.

Claims (1)

【特許請求の範囲】 二値画像情報上の矩形領域内の情報をスクリーン化する
二値画像情報のスクリーン化方式に於いて、 前記二値画像情報の各行の末尾に付加ドットを付加して
各行のドット数をワードサイズの整数倍にした二値画像
情報を二値画像情報展開領域に書込む書込手段と、 各行の先頭がワード境界から始まり、行方向のドット数
が前記ワードサイズと等しい矩形の切出領域であって前
記矩形領域と重なり合う切出領域の位置を求めるスクリ
ーン化位置指定手段と、該スクリーン化位置指定手段が
位置を求めた切出領域内の二値画像情報とスクリーンパ
ターンとの論理演算をワードサイズ単位に行ない、論理
演算結果を前記二値画像情報展開領域上の元の位置に書
込むスクリーン化手段と、 前記二値画像情報展開領域に格納されている二値画像情
報の各行の末尾に付加されている付加ドットを削除して
出力する書出手段とを含むことを特徴とする二値画像情
報のスクリーン化方式。
[Scope of Claim] In a binary image information screening method for screening information within a rectangular area on binary image information, an additional dot is added to the end of each line of the binary image information to form a screen for each line. writing means for writing binary image information in which the number of dots is an integral multiple of the word size into a binary image information development area; the beginning of each line starts from a word boundary, and the number of dots in the row direction is equal to the word size; Screening position specifying means for determining the position of a rectangular cutout area that overlaps the rectangular area, and binary image information and a screen pattern within the cutout area whose position is determined by the screening position specifying means. screening means for performing a logical operation on a word size unit and writing the logical operation result in the original position on the binary image information development area; and a binary image stored in the binary image information development area. 1. A method for converting binary image information into a screen, comprising: writing means for deleting additional dots added to the end of each line of information and outputting the information.
JP20090488A 1988-08-11 1988-08-11 Screening system for binary picture information Pending JPH0250277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20090488A JPH0250277A (en) 1988-08-11 1988-08-11 Screening system for binary picture information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20090488A JPH0250277A (en) 1988-08-11 1988-08-11 Screening system for binary picture information

Publications (1)

Publication Number Publication Date
JPH0250277A true JPH0250277A (en) 1990-02-20

Family

ID=16432196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20090488A Pending JPH0250277A (en) 1988-08-11 1988-08-11 Screening system for binary picture information

Country Status (1)

Country Link
JP (1) JPH0250277A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0272071U (en) * 1988-11-18 1990-06-01

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0272071U (en) * 1988-11-18 1990-06-01

Similar Documents

Publication Publication Date Title
EP0705024A2 (en) Method of generating color separation images and apparatus for the same
US4951228A (en) Method of generating raster data useful in reproducing a multitone image
JPH0250277A (en) Screening system for binary picture information
JPS6353586B2 (en)
JPH0469472B2 (en)
JPS6321158A (en) Printer output device
JPS58169281A (en) Generator for fringed pattern
JP2765051B2 (en) Combination method of binary image information
JPH04329483A (en) Image processor
JPS6212917B2 (en)
JP2857260B2 (en) Judgment method of rectangular area
JP2776347B2 (en) Drawing device for printer
JP3051818B2 (en) Segment drawing method and output device using the method
JPS61148487A (en) Expander/reducer
JPH05257450A (en) Character generation device
JPH02166497A (en) Conversion system for graphic segment drawn character
JPS63247039A (en) System for converting binary image information into screen form
JP3004993B2 (en) Image processing device
JP3396374B2 (en) Image processing apparatus and image processing method
JPH047596A (en) Image memory control system
JPH05216458A (en) Character pattern data converter
JPS61252174A (en) Printer
JPS6227712B2 (en)
JPS62267877A (en) Connection system for ruled line
JPH02252075A (en) Graphic formation system