[go: up one dir, main page]

JPH03167598A - Method for reducing image - Google Patents

Method for reducing image

Info

Publication number
JPH03167598A
JPH03167598A JP1306570A JP30657089A JPH03167598A JP H03167598 A JPH03167598 A JP H03167598A JP 1306570 A JP1306570 A JP 1306570A JP 30657089 A JP30657089 A JP 30657089A JP H03167598 A JPH03167598 A JP H03167598A
Authority
JP
Japan
Prior art keywords
reduced
image
data
character
memory
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
JP1306570A
Other languages
Japanese (ja)
Inventor
Yoshihiro Goto
良洋 後藤
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.)
Hitachi Healthcare Manufacturing Ltd
Original Assignee
Hitachi Medical 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 Hitachi Medical Corp filed Critical Hitachi Medical Corp
Priority to JP1306570A priority Critical patent/JPH03167598A/en
Publication of JPH03167598A publication Critical patent/JPH03167598A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To read a character even when it is reduced by composing plural pieces of thinned data whose thinning position is changed and forming a reduced image. CONSTITUTION:The character is read out from a memory 1 where an image which is displayed is stored based on the instruction of an address generator 2. An address for thinning is generated by the generator 2 and the plural pieces of reduced data whose thinning position is changed is produced from the image. That means, the address is successively generated and the read out odd numbered data is stored in a memory 3. Besides, the even numbered data is stored in a memory 4 and the OR of the data read out every corresponding appearance position is taken by a gate 6 after it is written in the memories 3 and 4. Then, the result is written in a memory 7 according to an address instructed by an address generator 8 and displayed on a display part 9. Thus, the reduced character which can be read is formed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文字等の画像を縮小する画像縮小方法に関す
る. [従来の技術] 縮小文字を作るには、従来、間引き法をとった.間引き
法とは,文字を縦と横とのm X nの画素から構成し
ている場合,例えば縦を1行毎に間引きし,残りの1行
毎の画素データをl行目、2行目、3行目という具合に
行間をつめて(即ち、間引き行の埋め合せをし)、縮小
文字を得る方法である.これによって、1/2の縮小文
字を作れる.この他に1/3の縮小等の各種の縮小法を
採用できる。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image reduction method for reducing images such as characters. [Prior art] Conventionally, a thinning method was used to create reduced characters. The thinning method means that when a character is composed of m x n pixels vertically and horizontally, for example, the vertical line is thinned out line by line, and the remaining pixel data for each line is transferred to the lth and second lines. , the third line, and so on, by narrowing the line spacing (that is, filling in the thinned out lines) to obtain reduced characters. This allows you to create 1/2 reduced characters. In addition, various reduction methods such as 1/3 reduction can be employed.

[発明が解決しようとする課題] 上記間引き法を採用した場合、文字によっては縮小後の
文字が判読不能となる.その例を第2図,第3図,第4
図に示す.第2図は、ローマ字Aの例であり、縦×横=
8×9の大きさ例である.この文字Aに対して、2行,
4行,6行,8行を間引き、この間引いた行に対して残
りの行を1つずつつめた場合の結果を右側に示す.右側
の縮小文字は、文字Aと判読できない. 第3図はローマ文字Eの例であり、同様な手法により間
引きを行った場合,右側の縮小文字は,文字Eと判読で
きない. 第4図はローマ文字Bの例であり、同様に右側の縮小文
字は、文字Bと判読できない.本発明の目的は、縮小し
ても判読可能とする画像縮小方法を提供するものである
. [課題を解決するための手段コ 本発明は、画像から間引き位置を変えた縮小データを複
数個作り、この複数の縮小データを合威して縮小画像を
作ることとした. 更に、本発明は、文字画像の縦又は横のいずれか一方の
画素列に関して、1個毎に間引き位置を変えて、2つの
縮小データ列を得、該2つの縮小データ列に関してその
出現位置毎に2つのデータの論理和をとり、この論理和
出力データを縮小文字画像データとすることとした. [作用] 本発明によれば、文字等の画像に対して、複数個の間引
きデータの1つ1つは文字をなさなくとも,合成(論理
和処理を含む)することで、互いに補い合い、縮小画像
を形成できる. [実施例] 第5図は、文字Bの縮小文字を得る場合の本実施例の処
理手順を示す.画像I.が原文字Bであり、実質の大き
さは縦×横=8×6としている。
[Problem to be solved by the invention] When the above thinning method is adopted, some characters become illegible after reduction. Examples are shown in Figures 2, 3, and 4.
It is shown in the figure. Figure 2 is an example of the Roman letter A, where length x width =
This is an example of a size of 8 x 9. For this character A, two lines,
The right side shows the result when lines 4, 6, and 8 are thinned out, and the remaining lines are filled in by one for each thinned line. The reduced character on the right cannot be read as the letter A. Figure 3 is an example of the Roman letter E. If the same method were used to thin out the letters, the reduced letters on the right would not be legible as the letter E. Figure 4 is an example of the Roman letter B. Similarly, the reduced letters on the right cannot be read as the letter B. An object of the present invention is to provide an image reduction method that makes images legible even when reduced. [Means for Solving the Problems] In the present invention, a plurality of reduced data are created by changing the thinning position from an image, and a reduced image is created by combining the plurality of reduced data. Furthermore, the present invention obtains two reduced data strings by changing the thinning position for each vertical or horizontal pixel string of a character image, and thins out each pixel string for each appearance position with respect to the two reduced data strings. We decided to take the logical sum of the two data and use this logical sum output data as reduced character image data. [Operation] According to the present invention, for images such as characters, even if each of the plurality of thinned-out data does not have characters, they can be combined (including logical sum processing) to complement each other and reduce the size. Images can be formed. [Embodiment] FIG. 5 shows the processing procedure of this embodiment when obtaining a reduced character of the character B. Image I. is the original character B, and its actual size is length x width = 8 x 6.

この文字画像工。に対して、 (イ)先ず、偶数番目の行(2行,4行,6行,8行)
を間引く.この間引き後に残った奇数番目の行(l行,
3行,5行,7行)をつめて,新たな行としてのl行,
2行,3行,4行を作る。
This character image craft. For, (a) First, the even numbered rows (2nd row, 4th row, 6th row, 8th row)
Thin out. Odd-numbered rows remaining after this thinning (l rows,
3 lines, 5 lines, 7 lines) and create l line as a new line,
Create 2nd, 3rd, and 4th rows.

この行をつめて得る偶数間引き画像を工、とする. (口)次に,原画像I.に対して奇数番目の行(1行,
3行,5行,7行)を間引く.この間引き後には偶数番
目の行(2行,4行,6行,8行)が残り、この偶数番
目の行をつめて、新たな行としての2行,3行,4行,
5行を作る。この行をつめて得る奇数間引き画像をI,
とする.(ハ)第5図から明らかなように、工,とI.
とはそれぞれ,M文字Bの再現ではなく、全く判読不能
なパターンである.そこで、間引き画像工,とI!との
両者について,同一出現位置の画素間で論理和をとる. 例えば、画素有りを“1”、画素無しを“0”と定義す
る.但し、画素の画素値が階調表示であれば、その階調
度に従った画素値となり、“1″と“0”との2値では
ない.論理和をとるのは、階調表示の画素値ではなく,
画素値がある(″“1”)かないか( ” O ” )
を示すデータである.従って、画素値が階調表示であれ
ば,それらを何らかの基準で“1”と“O”とに2値区
分する処理が必要である.階調表示でなく,モノクロの
2値的表示であれば、この処理は不要である.“1”と
“O”とで画像IユとI!とを表示すれば、第1表とな
る. 第l表 この第1表のI1と工,とについて、対応出現位置(x
,y)毎に相互に論理和をとる。但し、Xは横方向位置
(1〜6のいずれかを示す)、yは縦方向位1m!(1
〜6のいずれかを示す)とする。
Let the even-numbered thinned image obtained by condensing these rows be . (mouth) Next, the original image I. odd-numbered rows (1 row,
Lines 3, 5, and 7) are thinned out. After this thinning, even numbered rows (2nd, 4th, 6th, 8th) remain, and by closing these even numbered rows, new rows 2nd, 3rd, 4th, etc.
Create 5 lines. The odd-numbered thinned image obtained by closing this row is I,
Suppose that (c) As is clear from Fig. 5, engineering and I.
are not reproductions of the letter M, B, but completely illegible patterns. Therefore, thinning image craftsman and I! For both, perform a logical OR between pixels at the same appearance position. For example, the presence of pixels is defined as "1" and the absence of pixels is defined as "0". However, if the pixel value of the pixel is displayed in gradation, the pixel value will be according to the gradation level, and will not be a binary value of "1" and "0". The logical sum is not the pixel value of the gradation display, but
Is there a pixel value (“1”) or not (“O”)?
This is data showing. Therefore, if the pixel values are displayed in gradation, it is necessary to perform a process of dividing them into binary values of "1" and "O" based on some standard. This process is not necessary if the display is not a gradation display but a monochrome binary display. Images IU and I with “1” and “O”! If we display , we get Table 1. Table 1 Regarding I1 and engineering in this Table 1, the corresponding appearance position (x
, y). However, X is the horizontal position (indicates one of 1 to 6), and y is the vertical position of 1 m! (1
to 6).

例えば, 位! (xt y)= (3.1)では位1! (x+
 y)= Do 2)では位置 (xt y) (4, 4) では となる.他も同様に論理和をとると、第2表となる. この論理和による合或出力を表示すると、第5図の画像
工。。どなる.第5図の画像工。。をみればわかるよう
に、原文字Bがほぼ縮小画像として再現されたことがわ
かる。
For example, rank! (xt y) = (3.1), place 1! (x+
y) = Do 2) At the position (xt y) (4, 4). If we perform a logical sum on the other values in the same way, we get Table 2. When the output of this logical sum is displayed, the image processing shown in FIG. 5 is obtained. . bawl. Image processing in Figure 5. . As can be seen, the original character B has been almost reproduced as a reduced image.

第 2 表 このように,本実施例によれば、相隣り合う行と行とに
あって、相互に論理和をとる故に、相隣り合う行相互間
での画素の除去がなくなり,縮小後にあっても、原文字
の判読が可能となる.尚、論理和をとる対象が相隣り合
う行としたが、連続する3行等を対象とする論理和処理
も可能である.但し、若干、粗い縮小となる. また、文字の代りに一般の画像にも適用できるが,その
場合、論理積等の他の論理による合成も可能である。
Table 2 As described above, according to this embodiment, since the logical OR is performed between adjacent rows, there is no removal of pixels between adjacent rows, and there is no difference after reduction. However, the original characters can be read. Note that although the objects of the logical sum are adjacent lines, it is also possible to carry out the logical sum processing of three consecutive lines. However, the reduction will be somewhat rough. It can also be applied to general images instead of characters, and in that case, synthesis using other logic such as logical product is also possible.

また、間引き数が2以上の例もありうる.この場合,合
成対象は,3個以上の画像とすることが好ましい。
There may also be cases where the number of thinnings is 2 or more. In this case, it is preferable that three or more images be combined.

第1図は本発明の文字縮小装置の実施例を示す.メモリ
1は,これから表示すべき画像を格納したメモリであり
、アドレス発生器2の指示で文字が読出される.アドレ
ス発生器2は、間引き用のアドレスを発生するものであ
る.但し、間引きは直接行うのではなく、連続的にアド
レスを発生し、読出した奇数番目のデータはメモリ3に
格納し、読出した偶数番目のデータはメモリ4に格納す
る。
Figure 1 shows an embodiment of the character reduction device of the present invention. Memory 1 is a memory that stores images to be displayed from now on, and characters are read out according to instructions from address generator 2. The address generator 2 generates addresses for thinning. However, the thinning is not performed directly, but addresses are generated continuously, and the read odd-numbered data is stored in the memory 3, and the read even-numbered data is stored in the memory 4.

この結果は、メモリ3には偶数番目を間引きした奇数番
目のデータが入り、メモリ4にはその逆となる.この時
のアドレス生成は、アドレス発生器5が行う. メモリ3,4への書込み後、対応出現位置毎に読出した
データの論理和をゲート6でとり、その結果をアドレス
発生器8の指示するアドレスに従ってメモリ7に書込む
.このメモリ7の内容は縮小文字であり、表示部(CR
T)9に表示される.尚,メモリ1と7とは同一メモリ
でもよい。アドレス発生器2,5.8はCPUの指示で
アドレス生成をする.このアドレスは、文字位置や表示
内容に応じてCPUが種々決定できる.更に、文字毎に
縮小を行ったが、文字を表示するエリアが明らかであれ
ば,そのエリア全体に対して縮小処理を行っても、文字
の縮小は実質的に可能である。
As a result, memory 3 contains odd-numbered data obtained by thinning out even-numbered data, and memory 4 contains the reverse. Address generation at this time is performed by the address generator 5. After writing to the memories 3 and 4, the logical sum of the data read for each corresponding appearance position is taken by the gate 6, and the result is written to the memory 7 according to the address specified by the address generator 8. The contents of this memory 7 are reduced characters, and the display section (CR
T) Displayed in 9. Note that the memories 1 and 7 may be the same memory. Address generators 2 and 5.8 generate addresses according to instructions from the CPU. This address can be determined by the CPU in various ways depending on the character position and display content. Furthermore, although reduction was performed for each character, if the area in which the character is to be displayed is clear, it is actually possible to reduce the character even if the reduction process is performed on the entire area.

[発明の効果] 本発明によれば、複数間の間引きデータの1つ1つは文
字を構或できなくなっても、これらを合或することで補
い合い、判読できる縮小文字が形成できた。
[Effects of the Invention] According to the present invention, even if each of the plurality of thinned-out data cannot form a character, it is possible to form legible reduced characters by combining them to complement each other.

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

第1図は本発明の実施例図、第2図,第3図,第4図は
従来の間引き例図、第5図は本発明による縮小処理を示
す図である. 1,3,4.7・・・メモリ、2,5.8・・・アドレ
ス発生器.
FIG. 1 is an embodiment of the present invention, FIGS. 2, 3, and 4 are examples of conventional thinning, and FIG. 5 is a diagram showing reduction processing according to the present invention. 1, 3, 4.7...memory, 2,5.8...address generator.

Claims (1)

【特許請求の範囲】 1、画像から間引き位置を変えた縮小データを複数個作
り、この複数の縮小データを合成して縮小画像とする画
像縮小方法。 2、文字画像の縦又は横のいずれか一方の画素列に関し
て、1個毎に間引き位置を変えて、2つの縮小データ列
を得、該2つの縮小データ列に関してその出現位置毎に
2つのデータの論理和をとり、この論理和出力データを
縮小文字画像データとする画像縮小方法。 3、請求項2記載の間引き位置を2個以上とする画像縮
小方法。
[Claims] 1. An image reduction method in which a plurality of reduced data are created by changing thinning positions from an image, and the plurality of reduced data are combined to form a reduced image. 2. For either the vertical or horizontal pixel rows of the character image, change the thinning position for each pixel string to obtain two reduced data strings, and create two data for each appearance position for the two reduced data strings. An image reduction method that takes the logical sum of and uses this logical sum output data as reduced character image data. 3. An image reduction method according to claim 2, in which the number of thinning positions is two or more.
JP1306570A 1989-11-28 1989-11-28 Method for reducing image Pending JPH03167598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1306570A JPH03167598A (en) 1989-11-28 1989-11-28 Method for reducing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1306570A JPH03167598A (en) 1989-11-28 1989-11-28 Method for reducing image

Publications (1)

Publication Number Publication Date
JPH03167598A true JPH03167598A (en) 1991-07-19

Family

ID=17958650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1306570A Pending JPH03167598A (en) 1989-11-28 1989-11-28 Method for reducing image

Country Status (1)

Country Link
JP (1) JPH03167598A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011539A (en) * 2004-06-22 2006-01-12 Namco Ltd Program, information storage medium, and image generating system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011539A (en) * 2004-06-22 2006-01-12 Namco Ltd Program, information storage medium, and image generating system

Similar Documents

Publication Publication Date Title
JPS6025794B2 (en) color graphic display device
JPH01174463A (en) Dot pattern correction method
KR970064189A (en) Pixel operation generation type terrivision on-screen display using horizontal scan display scan memory
US5157385A (en) Jagged-edge killer circuit for three-dimensional display
JPH09510799A (en) Raster shape converter from multi-level to binary level
JPH03167598A (en) Method for reducing image
JPH02275494A (en) Character pattern data generating method
JPS5816189B2 (en) Character pattern generation method
JPH05297861A (en) 1/n bit phase matching method for graphics
JPH08314429A (en) Translucent color image forming device
JPH07199903A (en) Method and device for generating multi-level thickened data
JP3255549B2 (en) Figure processing method
JP2760176B2 (en) Low brightness character pattern generator
JPH0876739A (en) Reduced screen display method and reduced screen display device of bit map font
JPS5836784B2 (en) Character signal generator
JPH04162092A (en) Outline font character generation method
JPH0321173A (en) Pattern generator
JPS60140469A (en) Pattern enlargement contraction device
JPH04318894A (en) Conversion device for boldface character of bit map font
JPS5949586A (en) Image display
JPS63132282A (en) Divided character display control method
JPH0573693A (en) Outline paint out system
JPH02101497A (en) Picture image converting system
KR970015031A (en) Centerline Anti-Aliasing for Digital Printing
JPH06289842A (en) Transparent processing method for image display