JPH04358863A - Printer - Google Patents

Printer

Info

Publication number
JPH04358863A
JPH04358863A JP15969391A JP15969391A JPH04358863A JP H04358863 A JPH04358863 A JP H04358863A JP 15969391 A JP15969391 A JP 15969391A JP 15969391 A JP15969391 A JP 15969391A JP H04358863 A JPH04358863 A JP H04358863A
Authority
JP
Japan
Prior art keywords
image data
block
data
blocks
image
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.)
Withdrawn
Application number
JP15969391A
Other languages
Japanese (ja)
Inventor
Yasuhiko Takahashi
保彦 高橋
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel 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 Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP15969391A priority Critical patent/JPH04358863A/en
Publication of JPH04358863A publication Critical patent/JPH04358863A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To reproduce a correct image even when a large number of regions having the small change of light and shade are included in an original image in a printer, in which image data are stored by small memory capacity and which conducts printing. CONSTITUTION:When an original image is divided into a plurality of blocks and read, the original image is read so that adjacent blocks are overlapped mutually only by at least one picture element section in a coding section 2, and data read are compressed and stored in a storage means 4. An image data is read according to a printing timing and elongated and decoded in a decoding section 3. Printing is conducted on the basis of the decoded data. Correlation can be given mutually by the image data of overlapped picture elements between adjacent blocks, and the image data of overlapping sections are compared and corrected between adjacent blocks, thus preventing the generation of the sudden change of gradation between the adjacent blocks, then obviating the generation of an image such as a tile pattern.

Description

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

【0001】0001

【産業上の利用分野】本発明は、画像データを一旦高能
率に圧縮符号化してメモリに蓄積し、これを読み出して
プリントを行うプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer that compresses and encodes image data with high efficiency, stores it in a memory, reads the data, and prints the data.

【0002】0002

【従来の技術】従来から、画像データをプリントするプ
リンタにおいては、プリント処理時間と画像データの伝
送時間との差を補完するために画像データをプリンタバ
ッファメモリに一旦蓄積し、プリンタの処理速度に合わ
せてプリンタバッファメモリから画像データを読み出し
、プリントを行っている。このようなプリンタバッファ
メモリの容量は、プリントされる画像の面積(印刷面積
)に比例して大きくなるので、A1またはA0サイズの
ような大面積の画像のプリントを行うプリンタではメモ
リ容量を削減するために、画像データを一旦圧縮符号化
してメモリに蓄積し、メモリからの読み出し後に伸長復
号することが行われている。
[Prior Art] Conventionally, in printers that print image data, the image data is temporarily stored in a printer buffer memory in order to compensate for the difference between the print processing time and the image data transmission time. At the same time, image data is read from the printer buffer memory and printed. The capacity of such a printer buffer memory increases in proportion to the area of the image to be printed (print area), so it is recommended to reduce the memory capacity for printers that print large area images such as A1 or A0 size. Therefore, image data is once compressed and encoded, stored in a memory, and decompressed and decoded after being read from the memory.

【0003】このように画像データを高能率に圧縮符号
化する方法およびこの圧縮方法を使った画像データ圧縮
装置として、2次元離散コサイン変換等の直交変換を行
う方法および装置が知られている。(たとえば特開昭6
3−308474号公報、特開平1−173974号公
報参照)
As a method of compressing and encoding image data with high efficiency and an image data compression device using this compression method, methods and devices that perform orthogonal transformation such as two-dimensional discrete cosine transformation are known. (For example, JP-A No. 6
3-308474, Japanese Patent Application Laid-Open No. 1-173974)

【0004】これらによる画像データの圧縮は、原画像
を複数のブロックに分割し、分割された各ブロックの画
像データにそれぞれ2次元離散コサイン変換などの直交
変換を施すことにより画像データの情報量の圧縮を行う
ものである。このような画像データの圧縮符号化によれ
ば、画像データがその周波数成分に応じて符号化される
[0004] These methods of compressing image data reduce the amount of information in the image data by dividing the original image into a plurality of blocks and applying orthogonal transformation such as two-dimensional discrete cosine transformation to the image data of each divided block. It performs compression. According to such compression encoding of image data, image data is encoded according to its frequency components.

【0005】[0005]

【発明が解決しようとする課題】上記のような従来の直
交変換による画像圧縮は、情報量の圧縮については十分
であり、原画像が階調の変化が大きいメリハリのある画
像の場合には、圧縮後の復号によって十分な再現性をも
って再生される。しかし、原画像に濃淡変化の少ない領
域が多く含まれている場合には、分割されたブロックご
との2次元離散コサイン変換により、そのブロックの画
像情報の高域周波数成分がカットされる。したがって、
圧縮された画像データを復号した場合に、復号画像デー
タはそれぞれのブロックごとのデータの影響によってブ
ロックごとの濃淡のレベルが異なって復号されるため、
復元された画像はブロックごとの階調が異なり、一種の
タイル模様のような模様が発生すると言う問題点があっ
た。イメージ画像を印刷するプリンタにおいてはこのよ
うな模様の発生は重大な欠点となる。
[Problems to be Solved by the Invention] Image compression using the conventional orthogonal transformation as described above is sufficient for compressing the amount of information, but when the original image is a sharp image with large changes in gradation, By decoding after compression, the data can be reproduced with sufficient reproducibility. However, if the original image contains many areas with little change in density, the two-dimensional discrete cosine transform for each divided block cuts the high frequency components of the image information of that block. therefore,
When compressed image data is decoded, the decoded image data is decoded with different levels of shading for each block due to the influence of the data in each block.
The restored image had a problem in that the gradation of each block was different, creating a pattern that looked like a tile pattern. The occurrence of such patterns is a serious drawback in printers that print images.

【0006】本発明の目的は、原画像に濃淡変化の少な
い領域が多く含まれている場合にも、少ないメモリ容量
で、正しい画像を再現してプリントできるプリンタを提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a printer that can reproduce and print a correct image with a small memory capacity even when the original image contains many areas with little change in density.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に本発明のプリンタは、原画像の画像データを複数のブ
ロックに分割して読み出すブロック読み出し手段と、前
記ブロック読み出し手段によって読み出された各ブロッ
クの画像データに対して直交変換を行う直交変換手段と
、前記直交変換手段によって圧縮された画像データを記
憶する記憶手段と、前記記憶手段から圧縮されたブロッ
クごとの画像データを読み出して直交逆変換を行う直交
逆変換手段と、前記直交逆変換手段により直交逆変換さ
れた画像データに基づきプリントを行う印刷手段とを備
え、前記ブロック読み出し手段は、前記原画像の画像デ
ータを前記ブロックに分割して読み出す際に、隣接する
ブロックの境界部分が互いに少なくとも1画素分重なり
合うように読み出すことを特徴とするものである。
[Means for Solving the Problems] In order to achieve the above object, the printer of the present invention includes block reading means for dividing and reading out image data of an original image into a plurality of blocks, and a block reading means for reading out image data of an original image by dividing it into a plurality of blocks; orthogonal transformation means for performing orthogonal transformation on the image data of each block; storage means for storing the image data compressed by the orthogonal transformation means; The block reading means includes an orthogonal inverse transform means for performing an inverse transform, and a printing means for printing based on the image data subjected to the orthogonal inverse transform by the orthogonal inverse transform means, and the block reading means reads the image data of the original image into the blocks. When dividing and reading out, the reading is performed so that the boundary portions of adjacent blocks overlap each other by at least one pixel.

【0008】また、原画像の画像データを、隣接するブ
ロックの境界部分が互いに少なくとも1画素分重なり合
うように、複数のブロックに分割して読み出すブロック
読み出し手段と、前記ブロック読み出し手段によって読
み出された各ブロックの画像データに対して直交変換を
行う直交変換手段と、前記直交変換手段によって圧縮さ
れた画像データを記憶する記憶手段と、前記記憶手段か
ら圧縮されたブロックごとの画像データを読み出して直
交逆変換を行う直交逆変換手段と、前記直交逆変換手段
により直交逆変換されたブロックごとの画像データにつ
いて、隣接する前記ブロックの重なり合う部分の画像デ
ータ同士を比較する境界データ比較手段と、前記境界デ
ータ比較手段による比較結果に応じて、前記直交逆変換
されたブロックごとの画像データを補正する補正手段と
、前記補正手段により補正された画像データに基づきプ
リントを行う印刷手段とを備えるように構成しても良い
[0008] The invention also includes block readout means for dividing and reading out image data of the original image into a plurality of blocks such that boundary portions of adjacent blocks overlap each other by at least one pixel; orthogonal transformation means for performing orthogonal transformation on the image data of each block; storage means for storing the image data compressed by the orthogonal transformation means; orthogonal inverse transform means for performing inverse transformation; boundary data comparison means for comparing image data of overlapping portions of adjacent blocks with respect to image data for each block subjected to orthogonal inverse transform by the orthogonal inverse transform means; The configuration includes a correction means for correcting the image data of each block subjected to the orthogonal inverse transform according to a comparison result by the data comparison means, and a printing means for printing based on the image data corrected by the correction means. You may do so.

【0009】さらに、前記補正手段を、前記境界データ
比較手段による比較の結果、前記ブロックの重なり合う
部分の画像データの値が一致しない場合には、前記隣接
するブロックの中心に位置する画像データを基準として
前記隣接するブロックの境界部分の画像データの値を算
出するように構成しても良い。
Furthermore, when the values of the image data in the overlapping portions of the blocks do not match as a result of the comparison by the boundary data comparison means, the correction means uses the image data located at the center of the adjacent blocks as a reference. The configuration may be such that the value of the image data at the boundary between the adjacent blocks is calculated as follows.

【0010】0010

【作用】本発明によれば、原画像データを圧縮符号化し
て記憶手段に一旦記憶し、これを読み出して伸長復号し
、プリントを行うから、記憶手段の容量を少なくするこ
とができる。また、原画像データからのブロックごとの
分割読み出しの際に隣接するブロックが互いに少なくと
も1画素分重なり合うように読み出すことにより、隣接
するブロック間では重なり合っている画素の画像データ
によって互いに相関をもたせることができる。すなわち
、重なり合っている画素により、隣接するブロックの境
界部分の画素データのレベルを一致させることができる
。したがって、隣接するブロック間で急激な階調の変化
が生じることを防ぐことができるから、原画像に濃淡変
化の少ない領域が多く含まれている場合にも、タイル模
様のような画像の発生を防止してなめらかな自然な画像
をプリントすることができる。
According to the present invention, the original image data is compressed and encoded, temporarily stored in the storage means, read out, decompressed and decoded, and printed, so that the capacity of the storage means can be reduced. In addition, when dividing and reading out each block from the original image data, by reading out the adjacent blocks so that they overlap each other by at least one pixel, it is possible to create a correlation between the adjacent blocks by using the image data of the overlapping pixels. can. That is, the overlapping pixels allow the levels of pixel data at the boundary portions of adjacent blocks to match. Therefore, it is possible to prevent sudden changes in gradation between adjacent blocks, so even if the original image contains many areas with little change in shading, it is possible to prevent the occurrence of tile-like images. This allows you to print smooth, natural-looking images.

【0011】[0011]

【実施例】図1に本発明のプリンタの一実施例のブロッ
ク図を示す。このプリンタは、画像データ符号化部2、
画像データ復号部3、プリントバッファメモリ4および
印刷部5からなる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a block diagram of an embodiment of the printer of the present invention. This printer includes an image data encoding section 2,
It consists of an image data decoding section 3, a print buffer memory 4, and a printing section 5.

【0012】画像データ符号化部2は、入力源1から画
像データが入力される画像入力部21、画像入力部21
から入力された画像信号を8ドット×8ドットのブロッ
ク単位で読み出すブロック読み出し部22、およびブロ
ック読み出し部22から読み出されたブロックごとの画
像データを直交変換する直交変換部23からなっている
The image data encoding unit 2 includes an image input unit 21 to which image data is input from the input source 1;
The block readout section 22 reads out image signals inputted from the block in units of 8 dots by 8 dots, and the orthogonal transformation section 23 orthogonally transforms the image data for each block read out from the block readout section 22.

【0013】ブロック読み出し部22は、画像入力部2
1から画像データを8ドット×8ドットのブロック単位
で読み出し、その読み出しの際、隣接するブロックが互
いに少なくとも1画素分重なり合うように読み出す。し
たがって、ブロックの境界部分の画素は隣接する両方の
ブロックの画素データとしてそれぞれ読み出される。直
交変換部23は、ブロックごとの画像データについて2
次元離散コサイン変換などの直交変換を行い、画像デー
タを圧縮符号化する。圧縮符号化された画像データはプ
リントバッファメモリ4に記憶される。
[0013] The block readout unit 22 includes the image input unit 2
1, image data is read out in blocks of 8 dots by 8 dots, and at the time of reading out, adjacent blocks are read out so that they overlap each other by at least one pixel. Therefore, pixels at the boundary between blocks are read out as pixel data of both adjacent blocks. The orthogonal transformation unit 23 converts the image data of each block into 2
Performs orthogonal transformation such as dimensional discrete cosine transformation and compresses and encodes image data. The compressed and encoded image data is stored in the print buffer memory 4.

【0014】画像データ復号部3は、画像データ符号化
部2によって圧縮された画像データをプリントバッファ
メモリ4から8ドット×8ドットのブロック単位で読み
出すブロック読み出し部31、ブロック読み出し部31
から読み出されたブロックごとの画像データを直交逆変
換する直交逆変換部32、直交逆変換され復号された画
像データの隣接するブロックと重なり合う部分の画素デ
ータを比較する境界データ比較部33、境界データ比較
部33の比較結果に応じて復号された画像データのブロ
ックの境界部分のデータを補正する補正回路34、およ
びこれらの復号処理に使用されるワークメモリ35から
なる。
The image data decoding section 3 includes a block reading section 31 that reads out the image data compressed by the image data encoding section 2 from the print buffer memory 4 in blocks of 8 dots x 8 dots;
An orthogonal inverse transformer 32 performs orthogonal inverse transform on the image data for each block read out from the block, a boundary data comparison unit 33 compares pixel data of a portion of the image data that has been orthogonally inversely transformed and decoded and overlaps with an adjacent block; It consists of a correction circuit 34 that corrects data at the boundary portions of blocks of decoded image data according to the comparison results of the data comparison section 33, and a work memory 35 used for these decoding processes.

【0015】ブロック読み出し部31は、プリントバッ
ファメモリ4に記憶された圧縮された画像データをブロ
ック単位で読み出す。プリントバッファメモリ4には隣
接するブロックが互いに少なくとも1画素分重なり合う
ようにブロックに分割され、圧縮された画像データが記
憶されているから、ブロック読み出し部31はこのよう
なブロック単位の圧縮された画像データを読み出す。
The block reading section 31 reads out the compressed image data stored in the print buffer memory 4 in units of blocks. Since the print buffer memory 4 stores compressed image data divided into blocks such that adjacent blocks overlap each other by at least one pixel, the block readout unit 31 stores compressed image data in units of blocks. Read data.

【0016】直交逆変換部32は画像データ符号化部2
の直交変換部23で行われる変換と逆の変換、すなわち
2次元離散逆コサイン変換などの直交逆変換を行う。境
界データ比較部33は、直交逆変換され復号された画像
データの隣接するブロックと重なり合う部分の画素デー
タを比較する。すなわち、画像データ符号化部2のブロ
ック読み出し部22においてブロックの境界部分が重な
り合うように読み出されているから、この部分の画素デ
ータは復号された場合に一致するはずである。境界デー
タ比較部33は、比較された画素データのレベルが一致
しない場合には復号が正しく行われていないと判断する
The orthogonal inverse transform unit 32 is the image data encoder 2
The inverse transform performed by the orthogonal transform unit 23, ie, orthogonal inverse transform such as two-dimensional discrete inverse cosine transform. The boundary data comparison unit 33 compares pixel data of a portion of image data that has been orthogonally inverse transformed and decoded and overlaps with an adjacent block. That is, since the block reading unit 22 of the image data encoding unit 2 reads out the blocks so that their boundary parts overlap, the pixel data of these parts should match when decoded. If the levels of the compared pixel data do not match, the boundary data comparison unit 33 determines that the decoding is not performed correctly.

【0017】補正回路34は、境界データ比較部33に
おける比較の結果、比較された画素データのレベルが一
致しない場合に、境界部分のデータについて後述する補
正を行う。比較された画素データが一致した場合には、
補正処理を行わない。補正回路34からの出力は印刷部
5へ送られる。
The correction circuit 34 performs correction, which will be described later, on the data in the boundary portion if the levels of the compared pixel data do not match as a result of the comparison in the boundary data comparison section 33. If the compared pixel data match,
No correction processing is performed. The output from the correction circuit 34 is sent to the printing section 5.

【0018】ワークメモリ35は、画像データ復号部3
の各機能部において処理される画像データを一時蓄積す
るメモリである。たとえば、直交逆変換部32でブロッ
クごとの画像データが直交逆変換される場合に、未処理
の画像データを蓄積する。
The work memory 35 includes the image data decoding section 3
This is a memory that temporarily stores image data processed in each functional unit. For example, when image data for each block is orthogonally inversely transformed by the orthogonal inverse transformer 32, unprocessed image data is accumulated.

【0019】印刷部5は、画像データ復号部3において
復号された、プリントを行うべき画像データを入力し、
この画像データの描画メモリ58への書き込みおよび描
画メモリ58からの読み出しをコントロールする描画コ
ントローラ51、画像データを一時記憶する描画メモリ
58、感光体ドラム57、描画メモリ58から読み出さ
れた画像信号にしたがって感光体ドラム57上に静電潜
像を形成する帯電器52、感光体ドラム57上に形成さ
れた静電潜像にトナー粉を付着させてトナー画像を形成
する現像器53、感光体ドラム57上のトナー画像を記
録紙56に転写する転写ローラ54および記録紙56に
転写されたトナーを記録紙56上に定着させる加熱・圧
着式定着ローラ55からなっている。
The printing section 5 inputs the image data to be printed, which has been decoded by the image data decoding section 3, and
A drawing controller 51 that controls writing of this image data to and reading from the drawing memory 58, a drawing memory 58 that temporarily stores image data, a photosensitive drum 57, and an image signal read out from the drawing memory 58. Therefore, a charging device 52 forms an electrostatic latent image on the photoreceptor drum 57, a developing device 53 forms a toner image by attaching toner powder to the electrostatic latent image formed on the photoreceptor drum 57, and a photoreceptor drum It consists of a transfer roller 54 that transfers the toner image on the recording paper 57 onto the recording paper 56 and a heat/pressure type fixing roller 55 that fixes the toner transferred to the recording paper 56 onto the recording paper 56.

【0020】帯電器52はレーザー方式、静電ヘッド方
式、イオンフロー方式等の各種方式のものが適用できる
。また、印刷部5のその他の機構は、通常のプリンタと
同様の機構を用いればよい。
The charger 52 can be of various types, such as a laser type, an electrostatic head type, or an ion flow type. Further, the other mechanisms of the printing section 5 may be the same as those of a normal printer.

【0021】図2〜図4を用いて、本実施例のプリンタ
における画像圧縮および伸長処理をさらに詳しく説明す
る。2次元離散コサイン変換を用いて画像データの圧縮
を行う場合には、原画像を図2に示すように、a,b,
c・・・・の順に8×8ドットずつのブロック単位に分
割して離散コサイン変換を施す。本実施例では、画像入
力部21に入力された原画像データはブロック読み出し
部22で8×8ドットずつのブロック単位に読み出され
、その際、各ブロックは隣接するブロックの最外周のド
ット(画素データ)が重なるように読み出される。
Image compression and expansion processing in the printer of this embodiment will be explained in more detail with reference to FIGS. 2 to 4. When compressing image data using two-dimensional discrete cosine transformation, the original image is divided into a, b,
It is divided into blocks of 8×8 dots in the order of c... and subjected to discrete cosine transformation. In this embodiment, the original image data input to the image input unit 21 is read out in blocks of 8×8 dots by the block readout unit 22, and each block is read out by the outermost dots ( pixel data) are read out so that they overlap.

【0022】すなわち、図3のブロックA(同図に示す
(X,Y)座標で(1,1)から(8,8)までの64
個のドットからなる)を読み出した次には、X座標が8
のドットが重複するように、座標(8,1)から(15
,8)のドットをブロックBとして読み出す。以下同様
にして、ブロックC,D..を読み出していき、図3の
2段目のブロックの処理に入る。2段目でも同様に、た
とえばブロックFを読み出す時には、図3に示すように
ブロックBと重なるαの領域およびブロックEと重なる
βの領域を重ねて読み出す。
That is, block A in FIG. 3 (64 blocks from (1,1) to (8,8) in the (X,Y) coordinates shown in
(consisting of dots), the X coordinate is 8
From coordinates (8, 1) to (15
, 8) are read out as block B. Similarly, block C, D. .. , and the processing of the second stage block in FIG. 3 begins. Similarly, in the second stage, when reading out block F, for example, an area α that overlaps with block B and an area β that overlaps with block E are read out in an overlapping manner, as shown in FIG.

【0023】ブロック読み出し部22によって読み出さ
れた画像データは直交変換部23によって順次、2次元
離散コサイン変換などの直交変換が施され、圧縮符号化
されてプリントバッファメモリ4に記憶される。
The image data read out by the block reading unit 22 is sequentially subjected to orthogonal transformation such as two-dimensional discrete cosine transformation by the orthogonal transformation unit 23, compressed and encoded, and stored in the print buffer memory 4.

【0024】プリントバッファメモリ4に記憶されたデ
ータを復号する時には、画像データ復号部3のブロック
読み出し部31によって、ブロックごとに順次、圧縮画
像データを読み出す。読み出された圧縮画像データは直
交逆変換部32によって直交逆変換される。逆変換され
た画像データは境界データ比較部33によって重複部分
の逆変換後のデータが比較される。例えば、図3の領域
Fを復号する場合には、ブロックFのデータをプリント
バッファメモリ4から読み出して逆DCT変換(直交逆
変換)を施し、逆変換されたブロックFの重複領域βの
画素データの値aと、ブロックEの処理において既に逆
DCT変換が施されているブロックEの重複領域βの画
素データの値(以下便宜上重複領域β’と言う)bとを
比較する。
When decoding the data stored in the print buffer memory 4, the block reading section 31 of the image data decoding section 3 sequentially reads compressed image data block by block. The read compressed image data is orthogonally inversely transformed by the orthogonal inverse transformer 32 . The boundary data comparison unit 33 compares the inversely transformed data of the overlapping portions of the inversely transformed image data. For example, when decoding area F in FIG. 3, the data of block F is read out from the print buffer memory 4 and subjected to inverse DCT transformation (orthogonal inverse transformation), and the inversely transformed pixel data of overlapping area β of block F is The value a of the pixel data of the overlapping region β of the block E that has already been subjected to inverse DCT transformation in the processing of the block E (hereinafter referred to as the overlapping region β′ for convenience) is compared with the value b of the pixel data of the overlapping region β (hereinafter referred to as the overlapping region β′ for convenience).

【0025】重複領域βの値aと重複領域β’の値bは
同じ画素データを符号化および復号したものであるから
、本来同じ値になるはずである。しかし、重複領域βの
値aは圧縮時にブロックF内の他のドットの値の影響を
受けて変換されており、重複領域β’の値bは圧縮時に
ブロックE内の他のドットの値の影響を受けて変換され
ているので、ブロックF内の他のドットとブロックE内
の他のドットの値が同じでない場合にはそれぞれのブロ
ックの他のデータの影響によって、DCT変換の性質上
異なった値となることがある。特に、各ブロック内に微
妙な階調の変化がある場合、すなわち濃淡の変化が小さ
い場合にはこれが顕著である。
Since the value a of the overlapping area β and the value b of the overlapping area β' are obtained by encoding and decoding the same pixel data, they should originally be the same value. However, the value a of the overlapping region β is transformed during compression under the influence of the values of other dots in block F, and the value b of the overlapping region β' is transformed by the values of other dots in block E during compression. Therefore, if the values of other dots in block F and other dots in block E are not the same, they will be different due to the influence of other data in each block due to the nature of DCT transformation. The value may be different. This is particularly noticeable when there is a subtle change in gradation within each block, that is, when the change in shading is small.

【0026】そこで、重複領域βの値aと重複領域β’
の値bが異なる場合には補正回路34によってこれらの
重複領域の画像データの補正を行う。図4に示すように
、ブロックEの中点ドットの画像データとブロックFの
中点ドットの画像データは正しく復号されていると仮定
する。この仮定自体はDCTの原理から正しい。そこで
、図4に示すように、重複領域βの画像データの値を、
ブロックE,Fの中点の画像データを結ぶ直線上の点の
階調(値)cとして置き換える。これにより、図4に点
線で示すようにブロックごとに階段状に変化していた補
正前の画像データの値が、補正後には実線で示すように
なだらかに連続した値となる。したがって、ブロックに
応じたタイル状の模様が復号画像に発生することがない
。なお、図4では各補正前の線はほぼ水平に見えるが、
実際はブロックEからブロックFに緩やかにグラディエ
ーションがかかっている。
Therefore, the value a of the overlapping area β and the overlapping area β'
If the values b are different, the correction circuit 34 corrects the image data of these overlapping areas. As shown in FIG. 4, it is assumed that the image data of the midpoint dot of block E and the image data of the midpoint dot of block F are decoded correctly. This assumption itself is correct based on the principle of DCT. Therefore, as shown in FIG. 4, the value of the image data of the overlap region β is
It is replaced with the gradation (value) c of a point on a straight line connecting the image data at the midpoint of blocks E and F. As a result, the values of the image data before correction, which varied stepwise from block to block as shown by dotted lines in FIG. 4, become smoothly continuous values after correction, as shown by solid lines. Therefore, a tile-like pattern corresponding to the block does not appear in the decoded image. In addition, in Figure 4, the lines before each correction appear almost horizontal, but
In reality, there is a gentle gradation from block E to block F.

【0027】以上のようにして、画像データ符号化部2
で画像圧縮されて一旦プリントバッファメモリ4に記憶
され、画像データ復号部3によって復号された画像デー
タは印刷部5に供給され、描画コントローラ51によっ
て描画メモリ58上に展開され、1ページ分の画像デー
タの描画メモリ58への描画処理が終了した時点で帯電
器52によって感光体ドラム57上に静電潜像が形成さ
れる。感光体ドラム57に形成された静電潜像は現像器
53によってトナー粉が付着され、トナー像が転写ロー
ラ54で記録紙56に転写される。転写されたトナーは
定着ローラ55によって加熱圧着され記録紙56上に定
着される。
As described above, the image data encoding section 2
The image data is compressed and temporarily stored in the print buffer memory 4, and the image data decoded by the image data decoding section 3 is supplied to the printing section 5, and expanded on the drawing memory 58 by the drawing controller 51, and the image data for one page is When the drawing process of data to the drawing memory 58 is completed, an electrostatic latent image is formed on the photoreceptor drum 57 by the charger 52. Toner powder is attached to the electrostatic latent image formed on the photosensitive drum 57 by a developing device 53, and the toner image is transferred to a recording paper 56 by a transfer roller 54. The transferred toner is heated and pressed by a fixing roller 55 and fixed onto the recording paper 56 .

【0028】なお、上記の図4による説明では、各ブロ
ックが緩やかなグラディエーション(濃淡の変化)をも
つ場合について説明したが、各ブロック内で大きなグラ
ディエーションが有る場合、例えば、直線が描かれてい
るような場合には、DCT変換の特徴によって重複部分
の復号画像データはほぼ同じ値となる。この場合には上
記のような補正回路34による補正を行う必要はないが
、上記の補正を行ったとしても同一の値が得られるから
、DCTの長所を損なうことなく、圧縮データの復号を
正しく行うことができる。
Note that in the explanation using FIG. 4 above, the case where each block has a gentle gradation (change in shading) was explained, but if there is a large gradation within each block, for example, a straight line may be drawn. In such a case, the decoded image data of the overlapping portion will have almost the same value due to the characteristics of DCT transformation. In this case, it is not necessary to perform the correction by the correction circuit 34 as described above, but even if the above correction is performed, the same value will be obtained, so the compressed data can be decoded correctly without sacrificing the advantages of DCT. It can be carried out.

【0029】以上のように上述の実施例によれば、原画
像データからのブロックごとの分割読み出しの際に隣接
するブロックが互いに少なくとも1画素分重なり合うよ
うに読み出すことにより、隣接するブロックの境界部分
の画素データのレベルを一致させることができる。すな
わち、画像データを圧縮、蓄積および伸長した後、ブロ
ックごとの画像データの隣接するブロックとの重なり合
う部分の画像データ同士を比較し、両者が異なる場合に
は、隣接ブロック間に本来の階調差以上の差が有るよう
に復号されてしまったと判断し、隣接するブロックの境
界部分の画素データを補正する。この補正は、両ブロッ
クの中心に位置するドットのデータは正しく復号されて
いるとの仮定に基づき、中心に位置するドットを基準と
して重なり合う部分の画素データが同じ値になるように
両ブロックの各画素データを補正している。
As described above, according to the above-described embodiment, when reading out each block from the original image data in a divided manner, adjacent blocks are read out so that they overlap each other by at least one pixel, so that the boundary portions of adjacent blocks are pixel data levels can be matched. In other words, after compressing, storing, and decompressing image data, the image data of each block is compared with the overlapping part of the adjacent block, and if the two are different, the original gradation difference between the adjacent blocks is compared. It is determined that the data has been decoded so that the above difference exists, and the pixel data at the boundary between adjacent blocks is corrected. This correction is based on the assumption that the data of the dot located at the center of both blocks is decoded correctly, and the data of the dot located at the center of both blocks is decoded correctly. Correcting pixel data.

【0030】したがって、このような補正によって、プ
リントされた画像においては、隣接するブロック間での
濃度(階調)の連続性が保たれ、ブロックに対応して発
生するタイル模様のような画像の発生を防止できる。な
お、上記の実施例では印刷部5として静電写真方式の印
刷装置を記載したが、印刷部5としては他の方式の記録
装置でも良いことは言うまでもない。
[0030] Therefore, by such correction, continuity of density (gradation) between adjacent blocks is maintained in the printed image, and images such as tile patterns that occur corresponding to the blocks are reduced. Occurrence can be prevented. In the embodiments described above, an electrostatic printing device is used as the printing unit 5, but it goes without saying that the printing unit 5 may be a recording device of another type.

【0031】[0031]

【発明の効果】以上のように本発明によれば、原画像に
濃淡変化の少ない領域が多く含まれている場合でも、ブ
ロック間での濃度(階調)の連続性が保たれ、ブロック
に対応して発生するタイル模様のような画像の発生を防
止し、正しい画像を再現でき、かつプリントバッファメ
モリの容量も削減することができる。
[Effects of the Invention] As described above, according to the present invention, even if the original image contains many areas with little change in density, the continuity of density (gradation) between blocks is maintained, and the Correspondingly, it is possible to prevent the occurrence of images such as tile patterns, reproduce correct images, and reduce the capacity of the print buffer memory.

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

【図1】本発明によるプリンタの一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing one embodiment of a printer according to the present invention.

【図2】ブロックの分割を示す図である。FIG. 2 is a diagram showing block division.

【図3】本発明によるブロックの重ね読み出しを示す図
である。
FIG. 3 is a diagram illustrating overlapping reading of blocks according to the present invention.

【図4】本発明による重複領域の画像データの補正方法
を示す図である。
FIG. 4 is a diagram illustrating a method of correcting image data of an overlapping area according to the present invention.

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

2    画像データ符号化部 3    画像データ復号部 4    プリントバッファメモリ 5    印刷部 21  画像入力部 22  ブロック読み出し部 23  直交変換部 31  ブロック読み出し部 32  直交逆変換部 33  境界データ比較部 34  補正回路 51  描画コントローラ 52  帯電器 53  現像器 54  転写ローラ 55  定着ローラ 56  記録紙 57  感光体ドラム 58  描画メモリ 2 Image data encoding section 3 Image data decoding section 4 Print buffer memory 5 Printing Department 21 Image input section 22 Block reading section 23 Orthogonal transformation section 31 Block reading section 32 Orthogonal inverse transform section 33 Boundary data comparison section 34 Correction circuit 51 Drawing controller 52 Charger 53 Developing device 54 Transfer roller 55 Fixing roller 56 Recording paper 57 Photosensitive drum 58 Drawing memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  原画像の画像データを複数のブロック
に分割して読み出すブロック読み出し手段と、前記ブロ
ック読み出し手段によって読み出された各ブロックの画
像データに対して直交変換を行う直交変換手段と、前記
直交変換手段によって圧縮された画像データを記憶する
記憶手段と、前記記憶手段から圧縮されたブロックごと
の画像データを読み出して直交逆変換を行う直交逆変換
手段と、前記直交逆変換手段により直交逆変換された画
像データに基づきプリントを行う印刷手段とを備え、前
記ブロック読み出し手段は、前記原画像の画像データを
前記ブロックに分割して読み出す際に、隣接するブロッ
クの境界部分が互いに少なくとも1画素分重なり合うよ
うに読み出すことを特徴とするプリンタ。
1. Block reading means for dividing and reading image data of an original image into a plurality of blocks; orthogonal transformation means for performing orthogonal transformation on the image data of each block read by the block reading means; storage means for storing the image data compressed by the orthogonal transformation means; orthogonal inverse transformation means for reading the compressed image data for each block from the storage means and performing orthogonal inverse transformation; printing means for printing based on the inversely transformed image data, and the block reading means is configured to divide the image data of the original image into the blocks and read them, so that the boundary portions of adjacent blocks are at least one block apart from each other. A printer characterized by reading out pixels so that they overlap.
【請求項2】  原画像の画像データを、隣接するブロ
ックの境界部分が互いに少なくとも1画素分重なり合う
ように、複数のブロックに分割して読み出すブロック読
み出し手段と、前記ブロック読み出し手段によって読み
出された各ブロックの画像データに対して直交変換を行
う直交変換手段と、前記直交変換手段によって圧縮され
た画像データを記憶する記憶手段と、前記記憶手段から
圧縮されたブロックごとの画像データを読み出して直交
逆変換を行う直交逆変換手段と、前記直交逆変換手段に
より直交逆変換されたブロックごとの画像データについ
て、隣接する前記ブロックの重なり合う部分の画像デー
タ同士を比較する境界データ比較手段と、前記境界デー
タ比較手段による比較結果に応じて、前記直交逆変換さ
れたブロックごとの画像データを補正する補正手段と、
前記補正手段により補正された画像データに基づきプリ
ントを行う印刷手段とを備えたことを特徴とするプリン
タ。
2. Block readout means for reading out image data of an original image by dividing it into a plurality of blocks such that boundary portions of adjacent blocks overlap each other by at least one pixel; orthogonal transformation means for performing orthogonal transformation on the image data of each block; storage means for storing the image data compressed by the orthogonal transformation means; orthogonal inverse transform means for performing inverse transformation; boundary data comparison means for comparing image data of overlapping portions of adjacent blocks with respect to image data for each block subjected to orthogonal inverse transform by the orthogonal inverse transform means; Correction means for correcting the image data of each block subjected to the orthogonal inverse transform according to the comparison result by the data comparison means;
A printer comprising: printing means for printing based on the image data corrected by the correction means.
【請求項3】  前記補正手段は、前記境界データ比較
手段による比較の結果、前記ブロックの重なり合う部分
の画像データの値が一致しない場合には、前記隣接する
ブロックの中心に位置する画像データを基準として前記
隣接するブロックの境界部分の画像データの値を算出す
ることを特徴とする請求項2に記載のプリンタ。
3. When the values of the image data in the overlapping portions of the blocks do not match as a result of the comparison by the boundary data comparing means, the correction means sets image data located at the center of the adjacent blocks as a reference. 3. The printer according to claim 2, wherein the value of the image data at the boundary between the adjacent blocks is calculated as .
JP15969391A 1991-06-04 1991-06-04 Printer Withdrawn JPH04358863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15969391A JPH04358863A (en) 1991-06-04 1991-06-04 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15969391A JPH04358863A (en) 1991-06-04 1991-06-04 Printer

Publications (1)

Publication Number Publication Date
JPH04358863A true JPH04358863A (en) 1992-12-11

Family

ID=15699256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15969391A Withdrawn JPH04358863A (en) 1991-06-04 1991-06-04 Printer

Country Status (1)

Country Link
JP (1) JPH04358863A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016012028A (en) * 2014-06-27 2016-01-21 シャープ株式会社 Image obfuscation device, image obfuscation method, program, and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016012028A (en) * 2014-06-27 2016-01-21 シャープ株式会社 Image obfuscation device, image obfuscation method, program, and recording medium

Similar Documents

Publication Publication Date Title
JP5247492B2 (en) Image forming apparatus, control method, and program
US20080310758A1 (en) Image processing method and image processing apparatus
US5229866A (en) Image processing system for reducing wait time before image data transfer to an image output section
US5377312A (en) Image processing apparatus capable of expanding compressed data
US5715329A (en) Digital copying machine with memory for compressed image data
JP3028654B2 (en) Image processing device
JPH04358863A (en) Printer
US6798534B1 (en) Image processing device
JP3736185B2 (en) Image processing device
JP2002137455A (en) Printer controller
US5642203A (en) Method of enlarging and processing image data
US6069980A (en) Adaptive character image generation and synthesis
JP2839006B2 (en) Image output device
JP4774914B2 (en) Image processing apparatus and image processing method
US7170636B2 (en) Image processing apparatus and its control method
JP3728009B2 (en) Image processing apparatus and method
JPH04344773A (en) Picture data compressor, picture data expander and picture data compression and expansion system
JPH07307869A (en) Image processing unit
JPS62164376A (en) Picture data restoration device
JP3036071B2 (en) Image compression device
JP3135311B2 (en) Image processing device
JP4474001B2 (en) Image processing apparatus and method
JP3622043B2 (en) Encoding device and recording medium
JPH106484A (en) Image forming system
JP3315440B2 (en) Image processing method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980903