JPH04349780A - Device and method for outputting picture data - Google Patents

Device and method for outputting picture data

Info

Publication number
JPH04349780A
JPH04349780A JP3123654A JP12365491A JPH04349780A JP H04349780 A JPH04349780 A JP H04349780A JP 3123654 A JP3123654 A JP 3123654A JP 12365491 A JP12365491 A JP 12365491A JP H04349780 A JPH04349780 A JP H04349780A
Authority
JP
Japan
Prior art keywords
area
value
image data
data
binary
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
JP3123654A
Other languages
Japanese (ja)
Inventor
Takahiko Nanko
孝彦 南光
Haruo Yamashita
春生 山下
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3123654A priority Critical patent/JPH04349780A/en
Publication of JPH04349780A publication Critical patent/JPH04349780A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To realize the picture output device able to output a picture having natural gradation without missing of detailed information such as character information even when a picture data of a wide range is outputted. CONSTITUTION:An area designation means 2 sets an area 1 in the inside of a bit map memory 1 whose longitudinal/lateral picture element number is respectively M1, M2. Position information representing a longitudinal and a lateral position of the area 1 to an area 0 is generated, them a multi--value processing means 3 sets the area 1 whose longitudinal/lateral picture element number is respectively M1/N1, M2/N2 to the inside of the bit map memory 1 and reads the data and generates one multi-value data corresponding to a mean value of the brightness of the area 1 and in the vicinity of the area 1 from the binary picture data including and in the vicinity of the area 1. Then a gamma correction means 4 applies gamma correction to the multi-value data, and the resulting multi-value picture data is outputted to a frame memory 5, and a CRT 6 displays it.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、イメージスキャナ等の
画像入力手段によって入力されたり、コンピュータによ
り計算して生成した、2値画像を多値の画像データに変
換し、これをディスプレイ、プリンタなど多値データの
出力が可能な出力装置に出力する画像データ出力装置お
よび画像データ出力方法に関するものである。
[Industrial Application Field] The present invention converts a binary image inputted by an image input means such as an image scanner or calculated by a computer into multivalued image data, and converts the binary image into multivalued image data, which can be used on a display, a printer, etc. The present invention relates to an image data output device and an image data output method for outputting to an output device capable of outputting multivalued data.

【0002】0002

【従来の技術】近年、イメージスキャナ等の画像入力装
置により2値画像データを入力し、これを表示装置上に
表示し、これを編集したり、磁気ディスクや光ディスク
などの外部記憶装置に保存、管理し、必要に応じてこの
2値画像データをディスプレイやプリンタに出力するな
どの各種処理を行う、画像ファイリングシステムなどの
画像データ出力装置のニーズが高まっている。このよう
な従来の画像データ出力装置の例としては、例えば特公
平3−3256号公報に記載されているものがある。
2. Description of the Related Art In recent years, binary image data has been input using an image input device such as an image scanner, displayed on a display device, edited, or stored in an external storage device such as a magnetic disk or optical disk. There is a growing need for image data output devices such as image filing systems that manage binary image data and perform various processes such as outputting this binary image data to a display or printer as needed. An example of such a conventional image data output device is one described in Japanese Patent Publication No. 3-3256.

【0003】以下図面を参照しながら、従来の画像出力
装置の一例について説明する。図7は従来の画像出力装
置のブロック図を示すものである。図7において、10
0は全体の動作を制御する中央処理ユニット(以下CP
Uと称する)である。101は画像出力装置である冷陰
極管表示装置(以下CRTと称する)、102はCPU
の主記憶、103は画像表示用の画像メモリであり、主
記憶102とは別個に表示装置側にもうけられている。 なお、画像メモリ103を持たず、主記憶102に画像
データを格納する画像出力装置もあり、現在のパーソナ
ルコンピュータはおもに後者を採用しているが、ここで
は画像メモリ103に画像データを格納し、これを表示
装置で表するものについて説明する。104はイメージ
スキャナ、105はスキャナインターフェース(以下ス
キャナI/Fと称する)であり、イメージスキャナ10
4から読みとった2値画像データはスキャナI/Fを介
して画像メモリ103に転送される。106は磁気ディ
スク装置や光ディスク装置などの外部記憶装置、107
は外部記憶装置インターフェース(以下外部記憶I/F
と称する)であり、イメージスキャナ104から読みと
ったデータなどを外部記憶装置106に保存し、必要に
応じて画像メモリ103に読み出される。
An example of a conventional image output device will be described below with reference to the drawings. FIG. 7 shows a block diagram of a conventional image output device. In Figure 7, 10
0 is the central processing unit (hereinafter referred to as CP) that controls the overall operation.
(referred to as U). 101 is a cold cathode tube display device (hereinafter referred to as CRT) which is an image output device; 102 is a CPU
The main memory 103 is an image memory for displaying images, and is provided on the display device side separately from the main memory 102. Note that there is also an image output device that does not have the image memory 103 and stores image data in the main memory 102, and current personal computers mainly adopt the latter, but here, the image output device stores the image data in the image memory 103, A description will be given of how this is represented on a display device. 104 is an image scanner, 105 is a scanner interface (hereinafter referred to as scanner I/F), and the image scanner 10
The binary image data read from 4 is transferred to the image memory 103 via the scanner I/F. 106 is an external storage device such as a magnetic disk device or an optical disk device; 107
is an external storage device interface (hereinafter referred to as external storage I/F)
Data read from the image scanner 104 is stored in an external storage device 106, and read out to the image memory 103 as needed.

【0004】以上のように構成された従来の画像出力装
置について、その動作について説明する。イメージスキ
ャナ104から読みとった入力画像をCRT101に出
力するときには、全体のレイアウトが確認できるように
画像データを間引いて全画面を一度に表示する場合(以
下間引き表示モードと称する)と、原画像の一部を間引
かずに表示する場合(以下直接表示モードと称する)の
2つが用いられる。
The operation of the conventional image output device configured as described above will be explained. When outputting an input image read from the image scanner 104 to the CRT 101, there are two cases in which the image data is thinned out so that the entire layout can be checked and the entire screen is displayed at once (hereinafter referred to as thinned display mode), and a case in which a portion of the original image is displayed. Two methods are used when displaying a portion without thinning it out (hereinafter referred to as direct display mode).

【0005】一般に、入力画像の一部に移動、拡大、縮
小、回転などの編集を行なう場合は、全体のレイアウト
が確認できる間引き表示モードが用いられる。間引き方
式としては、原画像データを一定間隔でサンプリングす
る方式や、原画像空間を多数の小領域に分割して各小領
域内に1つでも黒の画素があればその小領域を1つの黒
画素とするオア方式などがある。
Generally, when editing a part of an input image by moving, enlarging, reducing, rotating, etc., a thinning display mode is used in which the entire layout can be checked. Thinning methods include sampling the original image data at regular intervals, dividing the original image space into many small areas, and if there is even one black pixel in each small area, that small area is reduced to one black pixel. There is an OR method using pixels.

【0006】[0006]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、全体の表示を確認するための間引き表示
モードで画像を表示する際に、2値の画像データを単純
に間引いて、2値のままで表示しているため、文字原稿
などの広い範囲をイメージスキャナで読みとって得た画
像データなどの画像を出力した場合、原稿の細部がつぶ
れて出力されるために文字を目視で確認できなかった。 そのため、画像の細部を目視で確認可能とするには、デ
ータを間引く量を少なくして、より狭い範囲を表示する
か、さらには画像直接表示モードに切り替えて画像のご
く一部を確認するしか方法がなく、画像データの広い範
囲を見ながら、かつ画像の細部の情報を目で確認可能な
状態で出力できることができないという課題を有してい
た。
[Problem to be Solved by the Invention] However, with the above configuration, when displaying an image in the thinning display mode for checking the entire display, the binary image data is simply thinned out and the binary image data is Therefore, if you output an image such as image data obtained by scanning a wide area of a text document with an image scanner, the details of the document will be blurred and you will not be able to visually confirm the text. Ta. Therefore, in order to be able to visually check the details of an image, the only way to do so is to reduce the amount of data thinning to display a narrower area, or even switch to image direct display mode to check a small part of the image. There is no method for this, and the problem is that it is not possible to view a wide range of image data and output detailed information of the image in a state that can be visually confirmed.

【0007】本発明は上記問題点に鑑み、広い範囲の画
像データを出力しながらも、文字情報などの細かい情報
の欠落がなく、さらには自然な階調性を持った画像の出
力が可能な画像出力装置を提供することを第1の目的と
する。
[0007] In view of the above-mentioned problems, the present invention is capable of outputting images with natural gradation without missing detailed information such as text information, while outputting image data over a wide range. The first objective is to provide an image output device.

【0008】また、本発明は、鮮明な画像出力が可能な
画像出力装置を提供することを第2の目的とする。
A second object of the present invention is to provide an image output device capable of outputting clear images.

【0009】さらに、本発明は簡単で高速な処理が可能
な画像出力装置を提供することを第3の目的とする。
A third object of the present invention is to provide an image output device that is simple and capable of high-speed processing.

【0010】0010

【課題を解決するための手段】上記した第1の目的を達
成するため、本発明の画像出力装置は、縦横の画素数が
それぞれM1個、M2個(M1、M2はM1≧2かつM
2≧2である自然数)である2値画像データを領域0と
し、領域0の内部に縦横の画素数がそれぞれM1/N1
個、M2/N2個(N1、N2はM1>N1≧1かつM
2>N2≧1である自然数)である領域1を設定し、領
域0における領域1の縦および横の位置を示す位置情報
を出力する領域設定手段と、領域1を含む近傍の2値画
像データから領域1を含む近傍の輝度の平均値に対応す
る1個の多値データを発生する多値化手段と、前記多値
データにγ補正を行ない多値画像データを出力するγ補
正手段と、画像多値データを領域指定手段から得た位置
情報に従って出力することで、縦横の画素数がそれぞれ
N1個、N2個である多値画像を可視化する出力手段と
を備えたことを第1の特徴とするものである。
[Means for Solving the Problems] In order to achieve the above first object, the image output device of the present invention has M1 and M2 pixels in the vertical and horizontal directions, respectively (M1 and M2 are M1≧2 and M2).
2≧2 natural numbers) is defined as area 0, and the number of vertical and horizontal pixels within area 0 is M1/N1, respectively.
pieces, M2/N2 pieces (N1, N2 are M1>N1≧1 and M
2>N2≧1 (a natural number), and outputs position information indicating the vertical and horizontal positions of region 1 in region 0, and binary image data in the vicinity including region 1. multi-value conversion means for generating one piece of multi-value data corresponding to the average value of brightness in the vicinity including area 1 from , and γ-correction means for performing γ correction on the multi-value data and outputting multi-value image data; The first feature is that the apparatus includes an output means for visualizing a multi-value image having N1 and N2 pixels in the vertical and horizontal directions by outputting the multi-value image data according to the position information obtained from the area specifying means. That is.

【0011】また、第2の目的達成のため、多値化手段
は、領域1を含む近傍の2値画像データから領域1の輝
度の平均値に対応する1個の多値データを発生するため
に、領域指定手段からの領域1の位置情報に基づき、領
域を含む近傍の2値画像データを検出する2値データ検
出手段と、領域1を含む近傍の2値画像データの縦方向
の空間周波数のカットオフ周波数を2値画像データのサ
ンプリング周波数のN1/M1以下、横方向の空間周波
数のカットオフ周波数を2値画像データのサンプリング
周波数のN2/M2以下とすることで領域1を含む近傍
の2値画像データを、領域1に対応する多値データ群に
変換するローパスフィルタ手段と、領域1を含む近傍の
2値画像データに対応する多値データとして、多値デー
タ群の内の1個の多値データを出力する間引き手段とを
備えたものであることを第2の特徴とするものである。
[0011] Also, in order to achieve the second objective, the multi-value converting means generates one piece of multi-value data corresponding to the average value of the brightness of the region 1 from the neighboring binary image data including the region 1. a binary data detection means for detecting binary image data in the vicinity including the region based on the position information of the region 1 from the region specifying means; and a vertical spatial frequency of the binary image data in the vicinity including the region 1. By setting the cutoff frequency of the horizontal spatial frequency to be less than or equal to N1/M1 of the sampling frequency of the binary image data, and the cutoff frequency of the horizontal spatial frequency to be less than or equal to N2/M2 of the sampling frequency of the binary image data, it is possible to a low-pass filter means for converting binary image data into a multi-value data group corresponding to region 1; and a low-pass filter means for converting binary image data into a multi-value data group corresponding to area 1; A second feature of the present invention is that it is equipped with a thinning means for outputting multivalued data.

【0012】更に、第3の目的達成のため、多値化手段
は、領域1を含む近傍の2値画像データから領域1の輝
度の平均値に対応する1個の多値データを発生するため
に、領域指定手段からの領域1の位置情報に基づき、領
域1の2値画像データを検出する2値データ検出手段と
、2値データ検出手段により検出した2値画像データの
個数Nを検出する画素数検出手段と、2値データ検出手
段により検出した2値画像データの白画素の個数Xkを
検出する白画素数検出手段と、領域1を含む近傍の2値
画像データに対応する多値データとして、Xk/Nの倍
数を出力する多値データ出力手段とを備えたものである
ことを第3の特徴とするものである。
Furthermore, in order to achieve the third objective, the multi-value converting means generates one piece of multi-value data corresponding to the average value of the brightness of the region 1 from the neighboring binary image data including the region 1. Based on the positional information of the area 1 from the area specifying means, a binary data detection means detects the binary image data of the area 1, and the number N of binary image data detected by the binary data detection means is detected. pixel number detection means, white pixel number detection means for detecting the number Xk of white pixels of the binary image data detected by the binary data detection means, and multivalued data corresponding to the neighboring binary image data including area 1. A third feature of the present invention is that it is equipped with multi-value data output means for outputting a multiple of Xk/N.

【0013】[0013]

【作用】本発明は上記した第1の特徴により、2値の画
像データを多値化しながらその画素数を少なくし、これ
にγ補正をかけた上で、多値出力が可能な出力手段に出
力することにより、出力手段の単位画素あたりに、より
多くの情報を出力できるため、2値画像データのデータ
を間引いて出力する場合よりも広い範囲の画像データを
出力しながらも、文字情報などの細かい情報の欠落がな
い画像の出力を可能とする。
[Operation] According to the above-mentioned first feature, the present invention reduces the number of pixels while converting binary image data into multi-value data, applies γ correction to this data, and then provides an output means capable of multi-value output. By outputting, more information can be output per unit pixel of the output means, so while outputting a wider range of image data than when outputting binary image data by thinning it, text information etc. It is possible to output an image without missing detailed information.

【0014】これは、2値画像データを単純に間引いて
表示すると、画像の細部の情報が完全に欠落してしまい
細かい文字などがつぶれてしまうのに対して、2値画像
データから2値画像データの輝度の平均に対応する多値
データを発生することにより、従来の装置では欠落して
いた細部の情報が出力画素の階調情報として保存される
ことによる。
[0014] This is because if binary image data is simply thinned out and displayed, detailed information in the image will be completely lost and fine text will be lost, whereas when binary image data is displayed as a binary image. By generating multivalued data corresponding to the average luminance of the data, detailed information that is missing in conventional devices can be preserved as tone information of output pixels.

【0015】さらに、このような多値の画像データを取
り扱う機器においては、一般には映像γ(γ=0.45
)がかかった多値データが用いられる。また、CRTや
ビデオプリンタなどの出力手段に、多値画像を出力する
ときに、前記した2値画像データの輝度の平均に対応す
る多値データをそのまま用いると、これらのデータは映
像γのかかっていないリニアなデータであるので、自然
な階調性を持った出力とならない。そこで、γ補正手段
により、2値画像データの輝度の平均に対応する多値デ
ータに対してγ補正を行い多値画像データとすることに
より、出力手段に画像を出力する際に、自然な階調性を
持った出力を可能とする。
Furthermore, in devices that handle such multivalued image data, the image γ (γ=0.45
) is used. Furthermore, when outputting a multivalued image to an output means such as a CRT or video printer, if the multivalued data corresponding to the average luminance of the binary image data described above is used as is, these data will be affected by the image γ. Since the data is linear and has no natural gradation, the output will not have natural gradation. Therefore, by using the γ correction means to perform γ correction on the multi-value data corresponding to the average luminance of the binary image data to obtain multi-value image data, it is possible to obtain a natural gradation when outputting the image to the output means. Enables output with tonality.

【0016】また、第2の特徴によれば、もとの2値画
像データに対して、画像の空間周波数のカットオフ周波
数を制限するローパスフィルタをかけることで、画像デ
ータを単純に間引いて表示する際に発生する折り返し歪
みの発生を少なくし、鮮明な画像出力を可能とする。
According to the second feature, the image data can be simply thinned out and displayed by applying a low-pass filter that limits the cutoff frequency of the spatial frequency of the image to the original binary image data. This reduces the occurrence of aliasing distortion that occurs when printing images, and enables clear image output.

【0017】更に、第3の特徴によれば、2値画像領域
1内の白画素数の計数と整数演算という簡単な処理によ
って多値データを発生することで、簡単で高速な処理が
可能な画像出力装置を提供することを可能とする。
Furthermore, according to the third feature, multi-value data is generated through simple processing of counting the number of white pixels in the binary image area 1 and performing integer operations, thereby enabling simple and high-speed processing. It is possible to provide an image output device.

【0018】[0018]

【実施例】以下本発明の実施例について、図面を参照し
ながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of the present invention will be described below with reference to the drawings.

【0019】なお、以下の実施例では、M1/N1=2
、M2/N2=2なる画素数の変換を行う場合を例にと
って説明する。
[0019] In the following embodiment, M1/N1=2
, M2/N2=2, for example, will be described.

【0020】図1は本発明の第1の実施例である画像デ
ータ出力装置の構成を示すブロック図である。ビットマ
ップメモリ1は縦横の画素数がそれぞれM1個(すなわ
ちN1×2個)、M2個(すなわちN2×2個)である
2値画像データ(以下、領域0と称する)を保持する。 領域指定手段2はビットマップメモリ1の内部に、縦横
の画素数が2×2個である領域1を順次設定し、その位
置情報を出力する。多値化手段3は領域指定手段が出力
した領域1の位置情報に従って、ビットマップメモリ1
から領域1を含む、縦横の画素数が3×3個である領域
2を設定し、これに含まれる9個の2値画像データを読
み込み、これにより領域2の輝度の平均値に対応する1
個の多値データを発生するである。
FIG. 1 is a block diagram showing the configuration of an image data output device according to a first embodiment of the present invention. The bitmap memory 1 holds binary image data (hereinafter referred to as area 0) having M1 (ie, N1×2) and M2 (ie, N2×2) pixels in the vertical and horizontal directions, respectively. The area specifying means 2 sequentially sets areas 1 each having 2×2 pixels in the vertical and horizontal directions within the bitmap memory 1, and outputs the position information thereof. The multi-value conversion means 3 reads the bitmap memory 1 according to the position information of the area 1 outputted by the area specifying means.
Set area 2, which includes area 1 and has 3 x 3 pixels in the vertical and horizontal directions, read the 9 binary image data included in this, and then calculate 1 corresponding to the average brightness of area 2.
This method generates multiple multivalued data.

【0021】γ補正手段4は多値データにγ補正処理を
行い、多値画像データを発生する。フレームメモリ5は
、領域指定指定手段2が出力した領域1の位置情報に従
って、γ補正手段4が発生した多値画像データを所定の
アドレスに格納するである。なお、フレームメモリ5は
少なくともN1×N2個の多値画像データを保持可能な
構成である。CRT6はフレームメモリ5上に格納され
た多値画像データを可視化する。フレームメモリ5とC
RT6により、画像出力手段を形成する。
The γ correction means 4 performs γ correction processing on the multi-value data to generate multi-value image data. The frame memory 5 stores the multivalued image data generated by the γ correction means 4 at a predetermined address in accordance with the positional information of the region 1 outputted by the region specifying means 2. Note that the frame memory 5 is configured to be able to hold at least N1×N2 multivalued image data. The CRT 6 visualizes the multivalued image data stored on the frame memory 5. Frame memory 5 and C
RT6 forms an image output means.

【0022】以上述べた構成において、領域指定手段2
が、ビットマップメモリ1の領域0の内部に領域1を順
次指定していくことで、領域1に対応する多値画像デー
タがフレームメモリ5に順次格納され、最終的には、領
域0に対応する、画素数がN1×N2個である多値画像
データがフレームメモリ5上に格納され、CRT6によ
り可視化される。
In the configuration described above, the area specifying means 2
However, by sequentially specifying area 1 inside area 0 of bitmap memory 1, the multivalued image data corresponding to area 1 is sequentially stored in frame memory 5, and finally, the multivalued image data corresponding to area 0 Multivalued image data having N1×N2 pixels is stored on the frame memory 5 and visualized on the CRT 6.

【0023】以降、領域指定手段2、多値化手段3、γ
補正手段4を、マイクロコンピュータ(図示しない)が
ソフトウェアにより実行する場合を例にとり、それぞれ
の手段の動作の詳細を説明する。
Hereinafter, the area specifying means 2, the multi-value converting means 3, γ
Taking as an example the case where the correction means 4 is executed by software by a microcomputer (not shown), the details of the operation of each means will be explained.

【0024】図2は領域指定手段2の動作を説明するフ
ローチャートである。動作開始されるとまずステップS
1に示すように、カウンター変数であるi、jを0に初
期化する。次にステップS2において、領域1の左上の
画素の座標をあらわす変数x、yにx←2×i、y←2
×jをそれぞれ代入し、ステップS3で、変数x、yを
多値化手段3に出力する。それからステップS4におい
て、領域1に対応する多値画像データが発生するのを待
ち、その後、ステップS5において発生した多値画像デ
ータの、フレームメモリ5上の座標をあらわすi、jを
フレームメモリ5に出力する。そしてステップS6でi
がN1−1かどうかを判断し、i≠N1−1の時はステ
ップS7でiに1を加え、ステップS2に戻る。
FIG. 2 is a flowchart illustrating the operation of the area specifying means 2. When the operation starts, first step S
As shown in 1, counter variables i and j are initialized to 0. Next, in step S2, variables x and y representing the coordinates of the upper left pixel of area 1 are set to x←2×i, y←2.
xj is respectively substituted, and in step S3, the variables x and y are output to the multi-value conversion means 3. Then, in step S4, wait until multi-value image data corresponding to area 1 is generated, and then, in step S5, i, j representing the coordinates on the frame memory 5 of the multi-value image data generated are stored in the frame memory 5. Output. And in step S6 i
It is determined whether or not is N1-1, and when i≠N1-1, 1 is added to i in step S7, and the process returns to step S2.

【0025】i=N1−1の時は、ステップS8でiを
0に初期化した後、ステップS9でjがN2−1かどう
かを判断する。j≠N2−1のときはステップS10で
jに1を加え、ステップS2に戻る。j=N2−1のと
きは、領域0の全ての範囲を指定したことになり、その
動作を終了する。
When i=N1-1, i is initialized to 0 in step S8, and then it is determined in step S9 whether j is N2-1. When j≠N2-1, 1 is added to j in step S10, and the process returns to step S2. When j=N2-1, it means that the entire range of area 0 has been specified, and the operation is ended.

【0026】図3(a)、(b)、(c)は第1の実施
例の多値化手段3の動作を説明する図である。図3(a
)は多値化手段の構成を示すブロック図であり、7は2
値データ検出手段、8はローパスフィルタ手段、9は間
引き手段である。また、図3(b)は2値データ検出手
段の動作を説明するフローチャートである。2値データ
検出手段は、まずステップS11に示すように、領域1
の左上の画素の座標をあらわすx、yを、領域指定手段
2から入力する。これより、多値化手段3は、領域1と
してビットマップメモリ1上の座標が(x、y)、(x
+1、y)、(x、y+1)、(x+1、y+1)の2
値画像データが指定されたと判断する。次のステップS
12で、ビットマップメモリ1から、領域1を含む領域
の2値画像データ群を読み取る動作を行う。具体的には
、ビットマップメモリ1上の座標が(x、y)である点
が左上隅で(x+2、y+2)である点が右下隅である
、3×3個の2値画像データをビットマップメモリ1か
ら読み取るものである。
FIGS. 3(a), 3(b), and 3(c) are diagrams for explaining the operation of the multivalue converting means 3 of the first embodiment. Figure 3 (a
) is a block diagram showing the configuration of the multi-value conversion means, and 7 is a block diagram showing the configuration of the multivalue conversion means.
A value data detection means, 8 a low-pass filter means, and 9 a thinning means. Further, FIG. 3(b) is a flowchart illustrating the operation of the binary data detection means. The binary data detection means first detects area 1 as shown in step S11.
x and y representing the coordinates of the upper left pixel are input from the area specifying means 2. From this, the multivalue conversion means 3 determines that the coordinates on the bitmap memory 1 are (x, y) and (x
+1, y), (x, y+1), (x+1, y+1) 2
It is determined that value image data has been specified. Next step S
At step 12, an operation is performed to read the binary image data group of the area including area 1 from the bitmap memory 1. Specifically, 3x3 binary image data in which the point on bitmap memory 1 whose coordinates are (x, y) is the upper left corner and the point whose coordinates are (x+2, y+2) is the lower right corner are bit-shaped. It is read from map memory 1.

【0027】つぎにローパスフィルタ手段8により、各
2値画像データにローパスフィルタをかけることで、同
じ個数のデータを発生する。なお、このときに出力され
るのは1画素当たり16ビット長のデータであるとする
Next, the low-pass filter means 8 applies a low-pass filter to each binary image data to generate the same number of data. It is assumed that what is output at this time is data with a length of 16 bits per pixel.

【0028】また、本実施例では、M1/N1=2、M
2/N2=2なる画素数の変換を行うので、2値画像デ
ータの縦方向の空間周波数のカットオフ周波数を2値画
像データのサンプリング周波数の1/2以下、横方向の
空間周波数のカットオフ周波数を2値画像データのサン
プリング周波数の1/2以下とするようなローパスフィ
ルタを用いればよい。図4は画像の横方向の空間周波数
特性を示す特性図であり、図4を用いてローパスフィル
タ手段8の特性を説明する。図4において、横軸は空間
周波数、縦軸はゲインをあらわすものであり、図中の破
線は元の2値画像データの空間周波数特性の範囲を表わ
す特性Aであり、実際の2値画像の空間周波数特性は、
この破線と、グラフの縦軸、横軸で囲まれた範囲内にお
さまる曲線となる。
Furthermore, in this embodiment, M1/N1=2, M
Since the number of pixels is converted to 2/N2=2, the cutoff frequency of the vertical spatial frequency of the binary image data is set to 1/2 or less of the sampling frequency of the binary image data, and the cutoff of the horizontal spatial frequency is set to 1/2 or less of the sampling frequency of the binary image data. A low-pass filter whose frequency is 1/2 or less of the sampling frequency of binary image data may be used. FIG. 4 is a characteristic diagram showing the spatial frequency characteristics in the horizontal direction of an image, and the characteristics of the low-pass filter means 8 will be explained using FIG. In Figure 4, the horizontal axis represents the spatial frequency and the vertical axis represents the gain, and the broken line in the figure is characteristic A that represents the range of the spatial frequency characteristics of the original binary image data, which is the characteristic of the actual binary image. The spatial frequency characteristics are
The curve falls within the range surrounded by this broken line and the vertical and horizontal axes of the graph.

【0029】また、実線で示した特性Bは、特性Aにロ
ーパスフィルタをかけた後の画像データの空間周波数特
性を示すものである。よって、2値画像データにローパ
スフィルターをかけた結果は、この実線と、グラフの縦
軸、横軸で囲まれた範囲内におさまる曲線となる。また
、fsは元の2値画像データのサンプリング周波数、f
cはローパスフィルタのカットオフ周波数であり、ロー
パスフィルタ手段は、fc≦fs/2を満たす特性をも
つものとする。このような特性のローパスフィルタを2
値画像の縦方向と横方向のそれぞれにかけることにより
、後で、画像を間引き、空間周波数をfs/2とすると
きに発生する折り返し歪みを少なくすることができる。 (なお、空間周波数特性の曲線で、空間周波数がfs/
2以上の部分が、間引き時に発生する折り返し歪みとな
る)また、図3(c)は間引き手段9の動作を説明する
フローチャートである。間引き手段9は、ローパスフィ
ルタ手段8が発生した3×3個のデータから、1個のデ
ータを選択して出力するものである。具体的には、発生
した3×3個のデータをs(x、y)(x,yは0≦x
≦2、0≦y≦2で整数)とすると、ステップS13に
おいて、これらのデータを順次読み込み、中央の位置の
画素に相当するデータである、s(1、1)であるかど
うかを、ステップS14で判断する。もしデータがs(
1、1)であれば、ステップS15においてデータを出
力し終了する。
Characteristic B shown by a solid line indicates the spatial frequency characteristic of image data obtained by applying a low-pass filter to characteristic A. Therefore, the result of applying a low-pass filter to the binary image data is a curve that falls within the range surrounded by this solid line and the vertical and horizontal axes of the graph. Also, fs is the sampling frequency of the original binary image data, f
c is the cutoff frequency of the low-pass filter, and the low-pass filter means has a characteristic that satisfies fc≦fs/2. Two low-pass filters with these characteristics
By multiplying the value image in both the vertical and horizontal directions, aliasing distortion that occurs later when the image is thinned out and the spatial frequency is set to fs/2 can be reduced. (In addition, in the spatial frequency characteristic curve, the spatial frequency is fs/
2 or more portions become the aliasing distortion that occurs during thinning.) FIG. 3(c) is a flowchart for explaining the operation of the thinning means 9. The thinning means 9 selects and outputs one piece of data from the 3×3 pieces of data generated by the low-pass filter means 8. Specifically, the generated 3 x 3 data is s (x, y) (x, y is 0≦x
≦2, 0≦y≦2 (an integer), in step S13, these data are sequentially read and whether or not the data is s(1, 1) corresponding to the pixel at the center position is determined in step S13. A determination is made in S14. If the data is s(
1, 1), the data is output in step S15 and the process ends.

【0030】つぎに、図5は多値データに映像γをかけ
ることで多値画像データを発生する、γ補正手段の動作
を説明するフローチャートである。まず、ステップS1
6において、多値化手段が出力した16ビットデータs
を読み込む、つぎにステップS17においてγ補正処理
を行い、その結果を8ビット長のデータDとして出力す
る。このときのγ補正処理としては、γ=0.45の処
理を行う。具体的には D=s0.45 なる演算を行うものである。そして最後にステップS1
8において8ビット長の多値画像データDを出力する。
Next, FIG. 5 is a flowchart illustrating the operation of the γ correction means which generates multi-value image data by multiplying multi-value data by image γ. First, step S1
6, the 16-bit data s output by the multi-value conversion means
Next, in step S17, γ correction processing is performed, and the result is output as 8-bit data D. As the γ correction processing at this time, γ=0.45 processing is performed. Specifically, the calculation D=s0.45 is performed. And finally step S1
8, 8-bit long multivalued image data D is output.

【0031】以上のように本実施例における第1の特徴
によれば、縦横の画素数がそれぞれM1個、M2個(M
1、M2はM1≧2かつM2≧2である自然数)である
2値画像データを領域0とし、領域0の内部に縦横の画
素数がそれぞれM1/N1個、M2/N2個(N1、N
2はM1>N1≧1かつM2>N2≧1である自然数)
である領域1を設定し、領域0における領域1の縦およ
び横の位置を示す位置情報を出力する領域設定手段と、
領域1を含む近傍の2値画像データから領域1を含む近
傍の輝度の平均値に対応する1個の多値データを発生す
る多値化手段と、多値データにγ補正を行ない多値画像
データを出力するγ補正手段と、画像多値データを領域
指定手段から得た位置情報に従って出力することで、縦
横の画素数がそれぞれN1個、N2個である多値画像を
可視化する出力手段とを設けることにより、出力手段の
単位画素あたりに、より多くの情報を出力できるため、
2値画像データのデータを間引いて出力する場合よりも
広い範囲の画像データを出力しながらも、文字情報など
の細かい情報の欠落がない画像の出力を可能とすること
ができる。
As described above, according to the first feature of this embodiment, the number of vertical and horizontal pixels is M1 and M2 (M2), respectively.
1, M2 is a natural number where M1≧2 and M2≧2) Binary image data is defined as area 0, and inside area 0, the number of vertical and horizontal pixels is M1/N1 and M2/N2 (N1, N2, respectively).
2 is a natural number where M1>N1≧1 and M2>N2≧1)
area setting means for setting area 1, and outputting position information indicating the vertical and horizontal positions of area 1 in area 0;
Multi-value conversion means for generating one piece of multi-value data corresponding to the average value of brightness in the vicinity including area 1 from binary image data in the vicinity including area 1; and a multi-value image by performing γ correction on the multi-value data. γ correction means for outputting data; and output means for visualizing a multivalued image having N1 and N2 pixels in the vertical and horizontal directions by outputting the image multivalued data according to the position information obtained from the area specifying means. By providing , more information can be output per unit pixel of the output means.
While outputting a wider range of image data than when binary image data is thinned out and output, it is possible to output an image without missing detailed information such as character information.

【0032】また、本実施例における第2の特徴によれ
ば、多値化手段を、領域1を含む近傍の2値画像データ
から領域1の輝度の平均値に対応する1個の多値データ
を発生するために、領域指定手段からの領域1の位置情
報に基づき、領域を含む近傍の2値画像データを検出す
る2値データ検出手段と、領域1を含む近傍の2値画像
データの縦方向の空間周波数のカットオフ周波数を2値
画像データのサンプリング周波数のN1/M1以下、横
方向の空間周波数のカットオフ周波数を2値画像データ
のサンプリング周波数のN2/M2以下とすることで領
域1を含む近傍の2値画像データを、領域1に対応する
多値データ群に変換するローパスフィルタ手段と、領域
1を含む近傍の2値画像データに対応する多値データと
して、多値データ群の内の1個の多値データを出力する
間引き手段とを備えたものとすることにより、画像デー
タを単純に間引いて表示する際に発生する折り返し歪み
の発生を少なくし、鮮明な画像出力を可能とすることが
できる。
According to the second feature of this embodiment, the multi-value conversion means converts one piece of multi-value data corresponding to the average value of the luminance of the region 1 from the neighboring binary image data including the region 1. In order to generate the image, a binary data detection means detects the binary image data in the vicinity including the area based on the position information of the area 1 from the area specifying means, and a vertical detection means for detecting the binary image data in the vicinity including the area 1. Area 1 can be achieved by setting the cutoff frequency of the spatial frequency in the direction to be less than or equal to N1/M1 of the sampling frequency of the binary image data, and the cutoff frequency of the spatial frequency in the horizontal direction to be less than or equal to N2/M2 of the sampling frequency of the binary image data. a low-pass filter means for converting neighboring binary image data including region 1 into a multi-value data group corresponding to region 1; By being equipped with a thinning means for outputting one multivalued data within the image data, it is possible to reduce the occurrence of aliasing distortion that occurs when displaying image data by simply thinning it out, and to output a clear image. It can be done.

【0033】次に、本発明の第2の実施例について説明
する。なお、本実施例の装置は、基本的には図1と図2
と図5に示した第1の実施例と同様であるため、本実施
例の特徴である多値化手段を中心に説明する。
Next, a second embodiment of the present invention will be explained. Note that the device of this embodiment is basically as shown in FIGS. 1 and 2.
Since this embodiment is similar to the first embodiment shown in FIG. 5, the description will focus on the multi-value conversion means, which is a feature of this embodiment.

【0034】図6は第2の実施例の多値化手段の構成を
示すブロック図である。以下図6を用いて第2の実施例
の多値化手段の動作について説明する。
FIG. 6 is a block diagram showing the configuration of the multivalue converting means of the second embodiment. The operation of the multi-value converting means of the second embodiment will be described below with reference to FIG.

【0035】2値データ検出手段7は、前記した第1の
実施例と同様、ソフトウエアによる処理を行う。なお、
本実施例の2値データ検出手段7は領域1の左上の画素
の座標をあらわすx、yを、領域指定手段2から入力し
、これより、領域1としてビットマップメモリ1上の座
標が(x、y)、(x+1、y)、(x、y+1)、(
x+1、y+1)の2値画像データを読み取り、これを
順次出力するものである。画素数検出手段である画素数
カウンタ10は2値データ検出手段7から出力される2
値データの数Nを数えその結果を出力する。白画素数検
出手段である白画素カウンタ11は2値データ検出手段
7から出力される白画素を示す2値データの数Xwを数
え、その結果を出力する。
The binary data detection means 7 performs processing by software, as in the first embodiment described above. In addition,
The binary data detecting means 7 of this embodiment inputs x, y representing the coordinates of the upper left pixel of the region 1 from the region specifying means 2, and from this, the coordinates on the bitmap memory 1 as the region 1 are (x , y), (x+1, y), (x, y+1), (
x+1, y+1) binary image data is read and sequentially output. A pixel number counter 10 serving as a pixel number detection means receives 2 output from the binary data detection means 7.
Count the number N of value data and output the result. A white pixel counter 11, which is a white pixel number detection means, counts the number Xw of binary data indicating white pixels outputted from the binary data detection means 7, and outputs the result.

【0036】また、演算器12はであり、NとXkから
Xk/Nを計算し、これを16ビット長の多値データと
して出力する。
Further, the arithmetic unit 12 calculates Xk/N from N and Xk, and outputs this as 16-bit multi-value data.

【0037】以上のように、多値化手段として、領域指
定手段からの前記領域1の位置情報に基づき、領域1の
2値画像データを検出する2値データ検出手段と、2値
データ検出手段により検出した2値画像データの個数N
を検出する画素数検出手段と、2値データ検出手段によ
り検出した2値画像データの白画素の個数Xkを検出す
る白画素数検出手段と、領域1を含む近傍の2値画像デ
ータに対応する多値データとして、Xk/Nの倍数を出
力する多値データ出力手段とを設けることにより、2値
画像領域1内の白画素数の計数と整数演算という簡単な
処理によって多値データを発生することで、簡単で高速
な処理が可能な画像出力装置を提供することを可能とす
る。
As described above, the multivalue converting means includes a binary data detecting means for detecting binary image data of the area 1 based on the position information of the area 1 from the area specifying means, and a binary data detecting means. The number N of binary image data detected by
pixel number detection means for detecting the number of white pixels Xk of the binary image data detected by the binary data detection means; By providing a multi-value data output means that outputs a multiple of Xk/N as multi-value data, multi-value data can be generated by simple processing of counting the number of white pixels in the binary image area 1 and performing integer operations. This makes it possible to provide an image output device that can perform simple and high-speed processing.

【0038】なお、領域指定手段、多値化手段、γ補正
手段などをソフトウエアによって実現した場合について
説明したが、それぞれの手段を同様の動作を行う回路に
よって構成しても良く、または回路で構成した手段と、
ソフトウエア処理により実現した手段とを混合してなる
ような構成としても良い。
[0038] Although the case where the area specifying means, multi-level conversion means, γ correction means, etc. are realized by software has been described, each means may be constructed by a circuit that performs the same operation, or may be implemented by a circuit. The configured means and
It is also possible to have a configuration in which a combination of means realized by software processing is used.

【0039】また、γ補正手段は演算によらず、あらか
じめ作っておいたテーブルを参照する方法を取っても良
い。なおテーブルを参照する方法を利用することでγ補
正処理をさらに高速に行うことが可能である。
Furthermore, the γ correction means may refer to a table prepared in advance instead of using calculations. Note that by using a method of referring to a table, it is possible to perform the γ correction process even faster.

【0040】また、多値化手段の動作も、これらの実施
例に限定されるものではなく、他の方法を用いた多値化
手段を利用しても良い。
Furthermore, the operation of the multi-value converting means is not limited to these embodiments, and multi-value converting means using other methods may also be used.

【0041】また、これらの実施例において、M1、M
2、N1、N2を定数として扱ったが、これらの数値を
設定する設定手段を設けてもよい。
[0041] Furthermore, in these embodiments, M1, M
Although 2, N1, and N2 are treated as constants, a setting means for setting these values may be provided.

【0042】また、2値画像データはビットマップメモ
リ上にされているとしたが、外部記憶装置やイメージス
キャナなどから直接得られる2値データを用いてもよい
Furthermore, although the binary image data is stored in the bitmap memory, binary data obtained directly from an external storage device, an image scanner, etc. may also be used.

【0043】また、多値画像データを直接出力手段に出
力することで可視化したが、この多値画像データを一旦
外部記憶装置などに出力し、必要に応じて出力装置で可
視化する方法を用いてもよい。
[0043] In addition, although the multi-value image data was visualized by directly outputting it to the output means, it is also possible to output the multi-value image data to an external storage device or the like and then visualize it using the output device as necessary. Good too.

【0044】また、出力装置はCRTだけでなく、記録
紙にインクを付着させることで多値記録を行うことで画
像を可視化するビデオプリンタなどでも良い。
[0044] The output device is not limited to a CRT, but may also be a video printer that visualizes images by performing multi-level recording by depositing ink on recording paper.

【0045】[0045]

【発明の効果】以上のように本発明は、縦横の画素数が
それぞれM1個、M2個(M1、M2はM1≧2かつM
2≧2である自然数)である2値画像データを領域0と
し、領域0の内部に縦横の画素数がそれぞれM1/N1
個、M2/N2個(N1、N2はM1>N1≧1かつM
2>N2≧1である自然数)である領域1を設定し、領
域0における領域1の縦および横の位置を示す位置情報
を出力する領域設定手段と、領域1を含む近傍の2値画
像データから領域1を含む近傍の輝度の平均値に対応す
る1個の多値データを発生する多値化手段と、多値デー
タにγ補正を行ない多値画像データを出力するγ補正手
段と、画像多値データを領域指定手段から得た位置情報
に従って出力することで、縦横の画素数がそれぞれN1
個、N2個である多値画像を可視化する出力手段とを設
けることにより、広い範囲の画像データを出力しながら
も、文字情報などの細かい情報の欠落がなく、さらには
自然な階調性を持った画像の出力が可能な画像出力装置
を提供することができる。
Effects of the Invention As described above, in the present invention, the number of vertical and horizontal pixels is M1 and M2, respectively (M1 and M2 are M1≧2 and M2).
2≧2 natural numbers) is defined as area 0, and the number of vertical and horizontal pixels within area 0 is M1/N1, respectively.
pieces, M2/N2 pieces (N1, N2 are M1>N1≧1 and M
2>N2≧1 (a natural number), and outputs position information indicating the vertical and horizontal positions of region 1 in region 0, and binary image data in the vicinity including region 1. a multi-value conversion means that generates one piece of multi-value data corresponding to the average value of brightness in the vicinity including region 1; a γ-correction means that performs γ-correction on the multi-value data and outputs multi-value image data; By outputting multivalued data according to the position information obtained from the area specifying means, the number of pixels in the vertical and horizontal directions can be reduced to N1.
By providing an output means for visualizing multivalued images of N2 and N2, it is possible to output a wide range of image data without missing detailed information such as character information, and to maintain natural gradation. It is possible to provide an image output device capable of outputting an image held by the user.

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

【図1】本発明の実施例の画像データ出力装置の構成を
示すブロック図
FIG. 1 is a block diagram showing the configuration of an image data output device according to an embodiment of the present invention.

【図2】領域指定手段2の動作を説明するフローチャー
[Fig. 2] Flowchart explaining the operation of area specifying means 2

【図3】(a)多値化手段のブロック図(b)2値デー
タ検出手段の動作を説明するフローチャート (c)間引き手段の動作を説明するフローチャート
FIG. 3: (a) Block diagram of multi-value converting means; (b) Flow chart explaining operation of binary data detecting means; (c) Flow chart explaining operation of thinning means.

【図
4】画像の横方向の空間周波数特性を示す特性図
[Figure 4] Characteristic diagram showing the spatial frequency characteristics in the horizontal direction of the image

【図5
】γ補正手段の動作を説明するフローチャート
[Figure 5
] Flowchart explaining the operation of the γ correction means

【図6】
第2の実施例の多値化手段の構成を説明するフローチャ
ート
[Figure 6]
Flowchart explaining the configuration of the multi-value conversion means of the second embodiment

【図7】従来の画像出力装置のブロック図[Figure 7] Block diagram of a conventional image output device

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

1  ビットマップメモリ 2  領域指定手段 3  多値化手段 4  γ補正手段 5  フレームメモリ 6  CRT 7  2値データ検出手段 8  ローパスフィルタ手段 9  間引き手段 10  画素数カウンタ 11  白画素カウンタ 12  演算器 1 Bitmap memory 2 Area specification means 3. Multi-value conversion means 4 γ correction means 5 Frame memory 6 CRT 7 Binary data detection means 8 Low-pass filter means 9 Thinning means 10 Pixel number counter 11 White pixel counter 12 Arithmetic unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  縦横の画素数がそれぞれM1個、M2
個(M1、M2はM1≧2かつM2≧2である自然数)
である2値画像データを領域0とし、前記領域0の内部
に縦横の画素数がそれぞれ(M1/N1)個、(M2/
N2)個(N1、N2はM1>N1≧1かつM2>N2
≧1である自然数)である領域1を設定し、前記領域0
における前記領域1の縦および横の位置を示す位置情報
を出力する領域設定手段と、前記領域1を含む近傍の前
記2値画像データから前記領域1を含む近傍の輝度の平
均値に対応する1個の多値データを発生する多値化手段
と、前記多値データにγ補正を行ない多値画像データを
出力するγ補正手段と、前記画像多値データを前記領域
指定手段から得た位置情報に従って出力することで、縦
横の画素数がそれぞれN1個、N2個である多値画像を
可視化する出力手段とを備えた画像データ出力装置。
[Claim 1] The number of vertical and horizontal pixels is M1 and M2, respectively.
(M1 and M2 are natural numbers where M1≧2 and M2≧2)
The binary image data is defined as area 0, and the number of vertical and horizontal pixels in area 0 is (M1/N1) and (M2/
N2) (N1, N2 are M1>N1≧1 and M2>N2
≧1 (a natural number), and set the area 1 where the area 0 is
area setting means for outputting positional information indicating the vertical and horizontal positions of the area 1; a multi-value conversion means for generating multi-value data; a γ-correction means for performing γ correction on the multi-value data and outputting multi-value image data; and position information obtained from the area specifying means for the image multi-value data. An image data output device comprising an output means for visualizing a multivalued image having N1 and N2 pixels in the vertical and horizontal directions by outputting according to the following.
【請求項2】  多値化手段は、領域指定手段からの領
域1の位置情報に基づき、前記領域1を含む近傍の2値
画像データを検出する2値データ検出手段と、前記領域
1を含む近傍の前記2値画像データの縦方向の空間周波
数のカットオフ周波数を前記2値画像データのサンプリ
ング周波数のN1/M1以下、横方向の空間周波数のカ
ットオフ周波数を前記2値画像データのサンプリング周
波数のN2/M2以下とすることで前記領域1を含む近
傍の前記2値画像データを多値データに変換するローパ
スフィルタ手段と、前記領域1を含む近傍の前記2値画
像データに対応する多値データとして、前記多値データ
群の内の1個の多値データを出力する間引き手段とを備
えた請求項1記載の画像データ出力装置。
2. The multilevel conversion means includes binary data detection means for detecting binary image data in the vicinity of the area 1, based on the position information of the area 1 from the area specification means, and the area 1. The cutoff frequency of the vertical spatial frequency of the neighboring binary image data is equal to or less than N1/M1 of the sampling frequency of the binary image data, and the cutoff frequency of the horizontal spatial frequency is the sampling frequency of the binary image data. a low-pass filter means for converting the binary image data in the vicinity including the area 1 into multi-value data by setting N2/M2 or less; 2. The image data output device according to claim 1, further comprising thinning means for outputting one multi-value data from said multi-value data group as data.
【請求項3】  多値化手段は、領域1を含む近傍の2
値画像データから前記領域1の輝度の平均値に対応する
1個の多値データを発生するために、領域指定手段から
の前記領域1の位置情報に基づき、前記領域1の前記2
値画像データを検出する2値データ検出手段と、前記2
値データ検出手段により検出した前記2値画像データの
個数Nを検出する画素数検出手段と、前記2値データ検
出手段により検出した前記2値画像データの白画素の個
数Xkを検出する白画素数検出手段と、前記領域1を含
む近傍の前記2値画像データに対応する多値データとし
て、Xk/Nの倍数を出力する多値データ出力手段とを
備えたものである請求項1記載の画像データ出力装置。
3. The multi-value conversion means is configured to convert two areas in the vicinity including area 1.
In order to generate one piece of multi-value data corresponding to the average value of the brightness of the area 1 from the value image data, the 2-value data of the area 1 is generated based on the position information of the area 1 from the area specifying means.
binary data detection means for detecting value image data;
pixel number detection means for detecting the number N of the binary image data detected by the value data detection means; and white pixel number detection means for detecting the number Xk of white pixels of the binary image data detected by the binary data detection means. 2. The image according to claim 1, further comprising a detection means and a multi-value data output means for outputting a multiple of Xk/N as the multi-value data corresponding to the binary image data in the vicinity including the area 1. Data output device.
【請求項4】  多値化手段は、領域1を含む近傍の2
値画像データから前記領域1の濃度の平均値に対応する
1個の多値データを発生するために、領域指定手段から
の前記領域1の位置情報に基づき、前記領域1の前記2
値画像データを検出する2値データ検出手段と、前記2
値データ検出手段により検出した前記2値画像データの
個数Nを検出する画素数検出手段と、前記2値データ検
出手段により検出した前記2値画像データの黒画素の個
数Xkを検出する黒画素数検出手段と、前記領域1を含
む近傍の前記2値画像データに対応する多値データとし
て、Xk/Nの倍数を出力する多値データ出力手段とを
備えたものである請求項1記載の画像データ出力装置。
4. The multi-value conversion means is configured to convert two neighboring regions including region 1 into two regions.
In order to generate one piece of multi-value data corresponding to the average density value of the area 1 from the value image data, the two values of the area 1 are determined based on the position information of the area 1 from the area specifying means.
binary data detection means for detecting value image data;
pixel number detection means for detecting the number N of the binary image data detected by the value data detection means; and black pixel number detection means for detecting the number Xk of black pixels of the binary image data detected by the binary data detection means. 2. The image according to claim 1, further comprising a detection means and a multi-value data output means for outputting a multiple of Xk/N as the multi-value data corresponding to the binary image data in the vicinity including the area 1. Data output device.
【請求項5】  縦横の画素数がそれぞれM1個、M2
個(M1、M2はM1≧2かつM2≧2である自然数)
である2値画像データを領域0とし、前記領域0の内部
であり、縦横の画素数がそれぞれM1/N1個、M2/
N2個(N1、N2はM1>N1≧1かつM2>N2≧
1である自然数)である領域1を設定し、前記領域1を
含む近傍の前記2値画像データから、前記領域1を含む
近傍の輝度の平均値に対応する1個の多値データを発生
し、前記多値データにγ補正を行ない多値画像データを
発生し、前記多値画像データに対応する前記領域1の位
置情報に従って前記多値画像データを出力することで縦
横の画素数がそれぞれN1個、N2個である多値画像を
可視化する画像データ出力方法。
[Claim 5] The number of vertical and horizontal pixels is M1 and M2, respectively.
(M1 and M2 are natural numbers where M1≧2 and M2≧2)
The binary image data is defined as area 0, and it is inside the area 0, and the number of vertical and horizontal pixels is M1/N1 and M2/N1, respectively.
N2 pieces (N1, N2 are M1>N1≧1 and M2>N2≧
1), and from the binary image data in the vicinity including the area 1, one piece of multi-value data corresponding to the average value of brightness in the vicinity including the area 1 is generated. , performs γ correction on the multi-value data to generate multi-value image data, and outputs the multi-value image data according to the position information of the area 1 corresponding to the multi-value image data, so that the number of vertical and horizontal pixels is N1, respectively. An image data output method for visualizing multivalued images of N2 and N2.
JP3123654A 1991-05-28 1991-05-28 Device and method for outputting picture data Pending JPH04349780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3123654A JPH04349780A (en) 1991-05-28 1991-05-28 Device and method for outputting picture data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3123654A JPH04349780A (en) 1991-05-28 1991-05-28 Device and method for outputting picture data

Publications (1)

Publication Number Publication Date
JPH04349780A true JPH04349780A (en) 1992-12-04

Family

ID=14865970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3123654A Pending JPH04349780A (en) 1991-05-28 1991-05-28 Device and method for outputting picture data

Country Status (1)

Country Link
JP (1) JPH04349780A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7317460B2 (en) * 2002-03-11 2008-01-08 Samsung Electronics Co., Ltd. Liquid crystal display for improving dynamic contrast and a method for generating gamma voltages for the liquid crystal display

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7317460B2 (en) * 2002-03-11 2008-01-08 Samsung Electronics Co., Ltd. Liquid crystal display for improving dynamic contrast and a method for generating gamma voltages for the liquid crystal display

Similar Documents

Publication Publication Date Title
EP0874330B1 (en) Area based interpolation for image enhancement
US6535221B1 (en) Image enhancement method and apparatus for internet printing
US7551805B2 (en) Converting the resolution of an image using interpolation and displaying the converted image
JP3176195B2 (en) Image processing device
JPH01321578A (en) Picture display system
JPH04349780A (en) Device and method for outputting picture data
JPH0253761B2 (en)
JP3703180B2 (en) Image processing apparatus and image processing method
JPS6359272A (en) Picture processor
JPH07107268A (en) Image processing device
JPH08202871A (en) Picture information processor
JP3225884B2 (en) Image processing device, image processing method, image reading device, copying machine, and recording medium
JPH06348834A (en) Image processing device
JP2001230929A (en) Reduction processing method and device for binary image
JP3964238B2 (en) Image processing method, apparatus, and program
JPH0795391A (en) Picture element density converter
JPH08328539A (en) Image display method and device
JP2003348346A (en) Image processing apparatus, image forming apparatus, image processing method, image processing program and recording medium
JP3401763B2 (en) Method and apparatus for halftone reduction conversion of binary image
JP2004147168A (en) Image processor
JPH07262351A (en) Image processor and control method for the same
JP2903175B2 (en) Image processing device
JP2005086687A (en) Method and program for interpolation processing, recording medium having recorded the same, image processor, and image forming apparatus provided with the same
JPH0832798A (en) Method and device for processing image
JPH0721379A (en) Picture color area recognition device