JP2018098730A - Image data transfer system and transmission method of image data - Google Patents
Image data transfer system and transmission method of image data Download PDFInfo
- Publication number
- JP2018098730A JP2018098730A JP2016244370A JP2016244370A JP2018098730A JP 2018098730 A JP2018098730 A JP 2018098730A JP 2016244370 A JP2016244370 A JP 2016244370A JP 2016244370 A JP2016244370 A JP 2016244370A JP 2018098730 A JP2018098730 A JP 2018098730A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- block
- packs
- pack
- transfer system
- 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
Links
Images
Abstract
Description
本発明は、画像データ転送システム及び画像データの転送方法に関する。 The present invention relates to an image data transfer system and an image data transfer method.
プリンターや複写機等の画像形成装置のなかには、画像データを画像処理して保存管理する装置と、当該画像データに基づいて用紙上に画像を形成する装置とに分離して、各装置にそれぞれの役割を担わせるものがある。前者の装置はコントローラー、後者の装置はエンジンと呼ばれている。コントローラーとエンジン間はネットワークで接続され、画像データはこのネットワークを介してコントローラーからエンジンへ転送される。 Some image forming apparatuses such as printers and copiers are divided into an apparatus for processing and storing image data by image processing, and an apparatus for forming an image on a sheet based on the image data. Some have a role to play. The former device is called the controller, and the latter device is called the engine. The controller and the engine are connected via a network, and the image data is transferred from the controller to the engine via this network.
画像形成の高速化のため、転送時には画像データに圧縮処理を施すことが一般的である(例えば、特許文献1〜4参照。)。送信側では、圧縮した画像データを、単位時間あたりの転送データ量がネットワークの規定値以下となるように複数のパックに分割して、ライン単位で各パックを送信する。受信側では、各パックを受信して伸長処理するが、伸長処理は一定領域単位で行うため、一定領域のライン分のパックをすべて受信するまで、受信したパックをラインメモリー等に一時的に保持しなければならず、受信側の負担が大きい。
In order to speed up image formation, it is common to perform compression processing on image data during transfer (see, for example,
ネットワーク環境の拡大成長にともない、ネットワークを介して接続されるコントローラーとエンジンの数は増えている。様々な性能のコントローラーとエンジンの組み合わせが想定されるが、すべてのエンジンがコントローラーから送信された画像データを保持できるメモリー性能を備えているとは限らない。 As the network environment expands and grows, the number of controllers and engines connected via the network is increasing. Combinations of controllers and engines with various performances are assumed, but not all engines have memory performance that can hold image data sent from the controllers.
従来は、転送レートを高めるための圧縮処理方法の改良が試みられているが、各パックをライン単位で時分割して送信する以上、圧縮処理方法の改良によって受信側の負担を減らすことはできない。 In the past, attempts have been made to improve the compression processing method for increasing the transfer rate. However, as long as each pack is transmitted in a time-sharing manner in units of lines, the burden on the receiving side cannot be reduced by improving the compression processing method. .
本発明の課題は、画像データの受信側の負担を減らすことである。 An object of the present invention is to reduce the burden on the receiving side of image data.
請求項1に記載の発明によれば、
画像データをブロック単位で画像処理し、当該画像処理後の各ブロックを、1パックのデータ量が目的のデータ量となるように1又は複数のパックに分割し、分割した各パックをネットワークを介して送信する送信装置と、
前記ネットワークを介して前記送信装置から送信された各パックを受信し、受信した各パックを連結してブロックを生成し、生成した各ブロックを画像処理して、当該画像処理後の各ブロックからなる画像データを生成する受信装置と、を備え、
前記送信装置は、同じブロック内のすべてのパックを連続して前記受信装置に送信し、
前記受信装置は、前記送信装置から連続して送信された前記同じブロック内のすべてのパックを連結して前記ブロックを生成することを特徴とする画像データ転送システムが提供される。
According to the invention of
Image data is processed in block units, and each block after the image processing is divided into one or a plurality of packs so that the data amount of one pack becomes the target data amount, and each divided pack is transmitted via a network. A transmitting device for transmitting
Each pack transmitted from the transmission device via the network is received, and the received packs are connected to generate a block, each generated block is subjected to image processing, and each block after the image processing is processed. A receiving device for generating image data,
The transmitting device continuously transmits all packs in the same block to the receiving device,
An image data transfer system is provided in which the receiving device generates the block by concatenating all packs in the same block transmitted continuously from the transmitting device.
請求項2に記載の発明によれば、
前記送信装置は、前記ブロックごとに一括して完結する画像処理を施すことにより、目的のデータ量のブロックを生成することを特徴とする請求項1に記載の画像データ転送システムが提供される。
According to invention of
2. The image data transfer system according to
請求項3に記載の発明によれば、
前記送信装置は、前記ブロックごとに独立した画像処理を施すことにより、画像処理後の異なる複数のブロックを同時に生成することを特徴とすることを特徴とする請求項1又は2に記載の画像データ転送システムが提供される。
According to invention of
3. The image data according to
請求項4に記載の発明によれば、
前記送信装置は、前記異なる複数のブロックのパックを同時に送信し、
前記受信装置は、前記異なる複数のブロックのパックを同時に受信することを特徴とすることを特徴とする請求項1〜3のいずれか一項に記載の画像データ転送システムが提供される。
According to invention of
The transmitting device simultaneously transmits the packs of the different blocks;
4. The image data transfer system according to
請求項5に記載の発明によれば、
前記受信装置は、前記ブロックごとに一括して完結する画像処理を施すことにより、目的のデータ量のブロックを生成することを特徴とする請求項1〜4のいずれか一項に記載の画像データ転送システムが提供される。
According to the invention of
5. The image data according to
請求項6に記載の発明によれば、
前記受信装置は、前記ブロックごとに独立した画像処理を施すことにより、異なる複数のブロックを同時に生成する請求項1〜5のいずれか一項に記載の画像データ転送システムが提供される。
According to the invention of
6. The image data transfer system according to
請求項7に記載の発明によれば、
前記送信装置は、前記画像処理として圧縮処理を施し、当該圧縮処理後の各ブロックを、単位時間あたりに転送するデータ量が前記ネットワークで転送可能な単位時間あたりのデータ量以下となるように、前記1又は複数のパックに分割し、
前記受信装置は、前記画像処理として伸長処理を施し、前記圧縮処理前の元のデータ量のブロックを生成することを特徴とする請求項1〜6のいずれか一項に記載の画像データ転送システムが提供される。
According to the invention of
The transmission device performs compression processing as the image processing, and the amount of data transferred per unit time for each block after the compression processing is equal to or less than the amount of data per unit time that can be transferred by the network. Dividing into one or more packs,
7. The image data transfer system according to
請求項8に記載の発明によれば、
前記圧縮処理は、BTC圧縮処理又は縮退圧縮処理であることを特徴とする請求項7に記載の画像データ転送システムが提供される。
According to the invention described in
The image data transfer system according to
請求項9に記載の発明によれば、
複数色の画像データを同時に転送する複数の転送ユニットを備え、単色の画像データを転送する場合は、前記複数の転送ユニットのうち、2以上の転送ユニットを使用して転送することを特徴とする請求項1〜8のいずれか一項に記載の画像データ転送システムが提供される。
According to the invention of
A plurality of transfer units that transfer image data of a plurality of colors at the same time are provided, and when transferring single-color image data, two or more transfer units among the plurality of transfer units are used for transfer. An image data transfer system according to any one of
請求項10に記載の発明によれば、
前記ネットワークは、前記画像データをシリアル転送するネットワークであることを特徴とする請求項1〜9のいずれか一項に記載の画像データ転送システムが提供される。
According to the invention of
The image data transfer system according to
請求項11に記載の発明によれば、
前記ネットワークの規格が、V-by-One(登録商標)であることを特徴とする請求項1〜10のいずれか一項に記載の画像データ転送システムが提供される。
According to the invention of
The image data transfer system according to
請求項12に記載の発明によれば、
送信装置において、
画像データをブロック単位で画像処理するステップと、
前記画像処理後の各ブロックを、1パックが一定のデータ量となるように1又は複数のパックに分割するステップと、
前記分割した各パックを、ネットワークを介して送信するステップと、
受信装置において、
前記ネットワークを介して前記送信装置から送信された各パックを受信するステップと、
前記受信した各パックを連結してブロックを生成し、生成した各ブロックを画像処理するステップと、
前記画像処理後の各ブロックからなる画像データを生成するステップと、を含み、
前記送信するステップでは、同じブロック内のすべてのパックを連続して前記受信装置に送信し、
前記受信するステップでは、前記送信装置から連続して送信された前記同じブロック内のすべてのパックを連結して前記ブロックを生成することを特徴とする画像データ転送方法が提供される。
According to the invention of
In the transmission device,
Image processing the image data in units of blocks;
Dividing each block after the image processing into one or a plurality of packs so that one pack has a constant data amount;
Transmitting each of the divided packs via a network;
In the receiving device,
Receiving each pack transmitted from the transmitting device via the network;
Concatenating each received pack to generate a block, and image processing each generated block;
Generating image data consisting of each block after the image processing,
In the transmitting step, all packs in the same block are continuously transmitted to the receiving device,
In the receiving step, an image data transfer method is provided in which all the packs in the same block continuously transmitted from the transmission device are connected to generate the block.
本発明によれば、画像データの受信側の負担を減らすことができる。 According to the present invention, it is possible to reduce the burden on the image data receiving side.
以下、本発明の画像データ転送システム及び画像データの転送方法の実施の形態について、図面を参照して説明する。 Embodiments of an image data transfer system and an image data transfer method according to the present invention will be described below with reference to the drawings.
〔第1の実施の形態〕
図1は、本発明の第1の実施の形態の画像データ転送システムGaの主な構成を機能ごとに示している。
図1に示すように、画像データ転送システムGaは、ネットワークG3を介して画像データを送信する送信装置G1と、ネットワークG3を介して送信装置G1から送信された画像データを受信する受信装置G2と、を備えて構成されている。
[First Embodiment]
FIG. 1 shows the main configuration of the image data transfer system Ga according to the first embodiment of the present invention for each function.
As shown in FIG. 1, the image data transfer system Ga includes a transmission device G1 that transmits image data via a network G3, and a reception device G2 that receives image data transmitted from the transmission device G1 via the network G3. , And is configured.
ネットワークG3は、画像データの転送に使用できるのであれば特に限定されないが、ネットワークG3としてシリアル転送するネットワークを使用すると、転送速度の高速化を図ることができ、好ましい。また、転送速度の高速化、コスト削減等を図る観点からは、ネットワークG3の規格としてVbyOne(登録商標)を使用することが好ましい。 The network G3 is not particularly limited as long as it can be used for transferring image data. However, it is preferable to use a network for serial transfer as the network G3 because the transfer speed can be increased. Further, from the viewpoint of increasing the transfer speed, reducing costs, etc., it is preferable to use VbyOne (registered trademark) as the standard of the network G3.
送信装置G1は、画像データをブロック単位で画像処理し、当該画像処理後の各ブロックを、1パックのデータ量が目的のデータ量となるように、1又は複数のパックに分割し、分割した各パックをネットワークG3を介して送信する。
受信装置G2は、ネットワークG3を介して送信装置G1から送信された各パックを受信し、受信した各パックを連結してブロックを生成し、生成した各ブロックを画像処理して、画像処理後の各ブロックからなる画像データを生成する。
The transmission device G1 performs image processing on the image data in units of blocks, and divides each block after the image processing into one or a plurality of packs so that the data amount of one pack becomes the target data amount. Each pack is transmitted via the network G3.
The receiving device G2 receives each pack transmitted from the transmitting device G1 via the network G3, concatenates the received packs to generate blocks, performs image processing on each generated block, and performs post-image processing. Image data consisting of each block is generated.
送信装置G1及び受信装置G2が施すブロック単位の画像処理としては、BTC(Block Truncation Coding)圧縮処理(BTC伸長処理)、縮退圧縮処理(縮退伸長処理)、ブロック状のディザマトリクスを使用してブロック単位で2値化又は多値化するスクリーン処理等が挙げられる。なかでも、転送レートが向上することから、BTC圧縮処理及び縮退圧縮処理が好ましく、圧縮率及び画像の再現性が高い縮退圧縮処理がより好ましい。 As block-unit image processing performed by the transmission device G1 and the reception device G2, BTC (Block Truncation Coding) compression processing (BTC decompression processing), compression / decompression processing (degeneration / decompression processing), and block dither matrix are used. Examples thereof include screen processing that is binarized or multi-valued in units. In particular, since the transfer rate is improved, BTC compression processing and compression compression processing are preferable, and compression compression processing with high compression rate and high image reproducibility is more preferable.
上記画像処理として、ブロックごとに一括して完結する画像処理を施し、目的のデータ量のブロックを生成することが好ましい。
これにより、1ブロック分の画像データを一度に生成することができる。また、単位時間あたりに転送できるデータ量に合わせて、1ブロックのデータ量を調整することができる。
As the image processing, it is preferable to perform image processing which is completed for each block at once to generate a block having a target data amount.
Thereby, image data for one block can be generated at a time. Further, the data amount of one block can be adjusted in accordance with the data amount that can be transferred per unit time.
また、上記画像処理として、ブロックごとに独立した画像処理を施すことにより、画像処理後の異なる複数のブロックを同時に生成することが好ましい。
これにより、ネットワークG3が単位時間あたりに転送可能なデータ量以下であれば、異なる複数のブロックの画像データを同時に転送することができ、転送レートが向上する。
In addition, it is preferable to simultaneously generate a plurality of different blocks after image processing by performing independent image processing for each block as the image processing.
As a result, if the network G3 is less than the amount of data that can be transferred per unit time, the image data of a plurality of different blocks can be transferred simultaneously, and the transfer rate is improved.
画像処理の一例として挙げたBTC圧縮処理、縮退圧縮処理、スクリーン処理等は、いずれもブロックごとに一括して完結する画像処理であるとともに、ブロックごとに独立した画像処理である。 The BTC compression process, the degeneracy compression process, the screen process, and the like given as an example of the image process are all image processes that are completed collectively for each block, and are independent image processes for each block.
〔BTC圧縮処理〕
BTC圧縮処理では、画像データの各画素をブロック単位で分割し、分割した各ブロック内の画素値の最大値Max及び最小値minを用いて、ブロック内の各画素値を符号化する。例えば、8bitの画素値を符号化して2bitの画素値を得る場合は、最大値Max及び最小値minから下記閾値THa1〜THa3を算出する。そして、ブロック内の各画素値が、min以上THa1未満の場合は00、THa1以上THa2未満の場合は01、THa2以上THa3未満の場合は10、THa3以上Max以下の場合は11に符号化する。
THa1=min+(Max−min)×1/6
THa2=min+(Max−min)×3/6
THa3=min+(Max−min)×5/6
[BTC compression processing]
In the BTC compression process, each pixel of the image data is divided in units of blocks, and each pixel value in the block is encoded using the maximum value Max and the minimum value min of the pixel value in each divided block. For example, when an 8-bit pixel value is encoded to obtain a 2-bit pixel value, the following thresholds THa1 to THa3 are calculated from the maximum value Max and the minimum value min. When each pixel value in the block is min or more and less than THa1, it is encoded as 00, when THa1 or more and less than THa2, it is encoded as 01, and when THa2 or more and less than THa3, it is encoded as 11.
THa1 = min + (Max−min) × 1/6
THa2 = min + (Max−min) × 3/6
THa3 = min + (Max−min) × 5/6
〔BTC伸長処理〕
BTC伸長処理では、圧縮時に使用した8bitの最大値Max及び最小値minを用いて、ブロック内の各画素値を復号化する。例えば、符号した2bitの画素値が、00の場合はmin、01の場合はmin+(Max−min)×1/3、10の場合はmin+(Max−min)×2/3、11の場合はMaxに復号化して、8bitの画素値を得ることができる。
[BTC extension processing]
In the BTC decompression process, each pixel value in the block is decoded using the 8-bit maximum value Max and the minimum value min used at the time of compression. For example, if the encoded 2-bit pixel value is 00, it is min, if it is 01, min + (Max-min) × 1/3, if 10 it is min + (Max-min) × 2/3, 11 Decoding to Max can obtain an 8-bit pixel value.
〔縮退圧縮処理〕
縮退圧縮処理は、解像度変換を組み合わせたブロック単位の圧縮処理である。縮退圧縮処理としては、特許第4424404号公報、特許第5029560号公報等に記載の方法を使用することができる。
[Degenerate compression processing]
The degeneracy compression process is a block unit compression process combined with resolution conversion. As the compression / decompression process, methods described in Japanese Patent Nos. 4424404 and 5029560 can be used.
図2は、縮退圧縮処理前、縮退圧縮処理後及び縮退伸長処理後の各画像データの1ブロックの例を示している。
図2に示すように、1画素が8bitのデータを有する、解像度1200dpiの元画像データを8画素×8ラインのブロック単位で縮退圧縮処理し、1画素が4bitの画素値を有する、解像度600dpiの4画素×4ラインのブロックを生成することにより、1ブロックのデータ量を512bitから64bitに減らすことができる。さらに、この4画素×4ラインのブロックを縮退伸長処理し、1画素が8bitの画素値を有する、解像度1200dpiの8画素×8ラインのブロックを生成すると、元画像データと同じデータ量のブロックを復元することができる。
FIG. 2 shows an example of one block of each image data before the compression process, after the compression process, and after the compression / decompression process.
As shown in FIG. 2, the original image data having a resolution of 1200 dpi, each pixel having 8 bits of data, is subjected to compression compression processing in units of blocks of 8 pixels × 8 lines, and each pixel having a pixel value of 4 bits, having a resolution of 600 dpi. By generating a block of 4 pixels × 4 lines, the data amount of one block can be reduced from 512 bits to 64 bits. Furthermore, when this block of 4 pixels × 4 lines is degenerated and expanded to generate a block of 8 pixels × 8 lines with a resolution of 1200 dpi, each pixel having an 8-bit pixel value, a block having the same data amount as the original image data is generated. Can be restored.
図2に示すように8画素×8ラインをブロック単位とする場合、縮退圧縮処理時には、BTC圧縮処理と同様に、画像データを8画素×8ラインのブロック単位で分割し、各ブロック内の画素値の最大値Max及び最小値minを抽出する。さらに、各ブロックを2画素×2ライン単位で分割し、分割した各2画素×2ラインが中間調領域及び高解像度領域のいずれであるかを判断する。この2画素×2ライン単位が縮退圧縮処理後の1画素単位である。中間調領域である2画素×2ラインはBTC圧縮処理と同様にして符号化し、高解像度領域である2画素×2ラインは2値パターン化により符号化して、2bitの画素値を得る。 As shown in FIG. 2, when 8 pixels × 8 lines are set as a block unit, the image data is divided into blocks of 8 pixels × 8 lines in the same way as the BTC compression process at the time of the compression process. The maximum value Max and the minimum value min are extracted. Further, each block is divided in units of 2 pixels × 2 lines, and it is determined whether each divided 2 pixels × 2 lines is a halftone area or a high resolution area. This 2 pixel × 2 line unit is one pixel unit after the compression process. 2 pixels × 2 lines that are halftone areas are encoded in the same manner as the BTC compression process, and 2 pixels × 2 lines that are high resolution areas are encoded by binary patterning to obtain 2-bit pixel values.
中間調領域は、下記条件(1)〜(4)のいずれかを満たす領域である。THa1及びTHa3は、BTC圧縮処理と同様にして上記式により算出すればよい。
(1)2画素×2ライン中に、THa1より大きくTHa3以下の画素値の画素が少なくとも1つある
(2)2画素×2ラインのすべての画素値が、THa1以下である
(3)2画素×2ラインのすべての画素値が、THa3を超える
(4)Max−min<T(0≦T≦255)を満たす
2画素×2ラインの各画素値の平均値を算出し、この平均値を縮退圧縮処理後の1画素の画素値として、上記BTC圧縮処理と同様に閾値THa1〜THa3により符号化する。
The halftone area is an area that satisfies any of the following conditions (1) to (4). THa1 and THa3 may be calculated by the above formulas in the same manner as in the BTC compression process.
(1) There are at least one pixel having a pixel value greater than THa1 and not more than THa3 in 2 pixels × 2 lines. (2) All pixel values of 2 pixels × 2 lines are not more than THa1. (3) 2 pixels All pixel values of × 2 lines exceed THa3. (4) The average value of each pixel value of 2 pixels × 2 lines that satisfies Max-min <T (0 ≦ T ≦ 255) is calculated. The pixel value of one pixel after the compression compression process is encoded by threshold values THa1 to THa3 as in the BTC compression process.
また、高解像度領域は、2画素×2ライン中に、THa1以下の画素とTHa3以上の画素が混在する領域である。2画素×2ライン中のTHa1以下の画素値を0、THa3以上の画素値を1に変換することにより、2画素×2ラインを2値パターン化することができる。2値パターン化した2画素×2ラインにおいて画素値が1の画素数が、1つの場合は00、2つの場合は01又は10、3つの場合は11に符号化する。 Further, the high resolution area is an area in which pixels of THa1 or lower and pixels of THa3 or higher are mixed in 2 pixels × 2 lines. By converting a pixel value equal to or less than THa1 in 2 pixels × 2 lines to 0 and a pixel value equal to or greater than THa3 to 1, a 2 pixels × 2 line can be converted into a binary pattern. The number of pixels with a pixel value of 1 in 2 pixels × 2 lines in a binary pattern is encoded as 00 when it is 1, 01 or 10 when it is 2, and 11 when it is 3.
符号化した2bitの画素値の最上位に、4画素×4ラインのそれぞれが中間調領域であるか高解像度領域であるかを示す1bitの識別データを、最下位に8bitの最大値Max及び最小値minのうちの各1bitを組み込み、1画素が4bitのデータを有する4画素×4ラインのブロックを生成する。 1-bit identification data indicating whether each of 4 pixels × 4 lines is a halftone area or a high-resolution area at the top of the encoded 2-bit pixel value, and the 8-bit maximum value Max and minimum at the bottom Each 1-bit of the value min is incorporated, and a block of 4 pixels × 4 lines in which 1 pixel has 4-bit data is generated.
図3は、縮退圧縮処理後の1ブロックのデータ構成例を示している。
図3に示すように、縮退圧縮処理後の4画素×4ラインのブロックを、各bit位[3]〜[0]のデータ層として表すと、4画素×4ラインの最上位のbit位[3]には各画素の1bitの識別データflagが位置している。bit位[2]及び[1]には、符号化した2bitの画素値bijが位置している。また、最下位のbit位[0]には、4画素×4ラインに8bitの最大値Max及び最小値minが1bitずつ位置している。図3において、Max[0]〜Max[7]及びmin[0]〜min[7]は、それぞれ最大値Max及び最小値minの0〜7bit位の各1bitを表している。
FIG. 3 shows an example of the data configuration of one block after the compression process.
As shown in FIG. 3, when a block of 4 pixels × 4 lines after the compression process is represented as a data layer of bit positions [3] to [0], the most significant bit position [4 pixels × 4 lines [ 3] is the 1-bit identification data flag of each pixel. In the bit positions [2] and [1], the encoded 2-bit pixel value bij is located. In the lowest bit position [0], a maximum value Max of 8 bits and a minimum value min of 1 bit are positioned in 4 pixels × 4 lines. In FIG. 3, Max [0] to Max [7] and min [0] to min [7] represent 1 bit of 0 to 7 bits of the maximum value Max and the minimum value min, respectively.
〔縮退伸長処理〕
縮退伸長処理時、縮退圧縮処理後の4画素×4ラインのブロックのbit位[0]から、8bitの最大値Max及び最小値minを取得する。また、識別データflagが中間調領域を示す画素は、BTC伸長処理と同様にして復号化し、得られた8bitの画素値を2画素×2ラインの各画素値として割り当てる。識別データflagが高解像度領域を示す画素は、圧縮時の2値パターンを予測することにより復号化して、8bitの画素値を得る。
[Degeneration / decompression processing]
At the time of the compression / decompression process, the maximum value Max and the minimum value min of 8 bits are acquired from the bit position [0] of the block of 4 pixels × 4 lines after the compression process. Also, the pixel whose identification data flag indicates a halftone area is decoded in the same manner as the BTC decompression process, and the obtained 8-bit pixel value is assigned as each pixel value of 2 pixels × 2 lines. A pixel whose identification data flag indicates a high-resolution area is decoded by predicting a binary pattern at the time of compression to obtain an 8-bit pixel value.
2値パターンの予測はテンプレートを用いて行うことができる。
図4は、2bitの画素値が00の画素の2値パターンの予測に使用するテンプレートの一例を示している。図4において、X1〜X3は各テンプレートの分類を示し、各テンプレートの左上の数字はテンプレートの識別番号を示している。
Prediction of a binary pattern can be performed using a template.
FIG. 4 shows an example of a template used for predicting a binary pattern of a pixel having a 2-bit pixel value of 00. In FIG. 4, X1 to X3 indicate the classification of each template, and the number on the upper left of each template indicates the identification number of the template.
図4に示すように、各テンプレートには、予測される2画素×2ラインの2値パターンが対応付けられている。画素値が00の画素を各テンプレートと照合し、当該画素の周辺において、テンプレート中のC又はMの位置の画素が下記条件を満たすテンプレートと一致すると判断する。一致するテンプレートに対応する2画素×2ラインの2値パターン中の1を最大値Max、0を最小値minに変換することにより、復号後の2画素×2ラインの8bitの画素値を得ることができる。 As shown in FIG. 4, each template is associated with a predicted binary pattern of 2 pixels × 2 lines. A pixel having a pixel value of 00 is compared with each template, and it is determined that the pixel at the position of C or M in the template matches the template that satisfies the following condition around the pixel. By converting 1 in the binary pattern of 2 pixels × 2 lines corresponding to the matching template to the maximum value Max and 0 to the minimum value min, an 8-bit pixel value of 2 pixels × 2 lines after decoding is obtained. Can do.
(Cの位置の画素の条件)
(1)中間調領域の画素である
(2)Cの位置の画素と復号する画素の濃度差|Cden−bijMax|が閾値THc未満
(Mの位置の画素の条件)
(1)高解像度領域の画素である
(2)Mの位置の画素と復号する画素の濃度差|MMax−bijMax|が閾値THm未満
(Conditions for pixel at position C)
(1) It is a pixel in the halftone area. (2) The density difference | C den −bij Max | between the pixel at the position C and the pixel to be decoded is less than the threshold THc (conditions for the pixel at the position M)
(1) A pixel in the high resolution area (2) Density difference | M Max −bij Max | between the pixel at the position M and the pixel to be decoded is less than the threshold THm
なお、Cdenは、Cの位置の画素の符号化した2bitの画素値を復号化したときの8bitの画素値である。MMaxは、Mの位置の画素が属するブロックの8bitの最大値Maxである。bijMaxは、復号する画素が属するブロックの8bitの最大値Maxである。
閾値THc及びTHmは、濃度差が小さいかどうかを判断するための閾値であり、例えばTHc=30、THm=35等のように、任意に設定することができる。
Note that C den is an 8-bit pixel value obtained by decoding the encoded 2-bit pixel value of the pixel at the position C. M Max is the 8-bit maximum value Max of the block to which the pixel at the position of M belongs. bij Max is the 8-bit maximum value Max of the block to which the pixel to be decoded belongs.
The thresholds THc and THm are thresholds for determining whether the density difference is small, and can be arbitrarily set, for example, THc = 30, THm = 35, and the like.
以下、画像処理として、送信装置G1において縮退圧縮処理、受信装置G2において縮退伸長処理を施す場合の処理手順を説明する。 Hereinafter, as image processing, a processing procedure in a case where the transmission device G1 performs compression / decompression processing and the reception device G2 performs compression / decompression processing will be described.
〔送信装置〕
送信装置G1は、図1に示すように、入力部11、画像処理部12、分割部13及び送信部14を備えている。
[Transmitter]
As illustrated in FIG. 1, the transmission device G1 includes an
入力部11は、画像処理部12にブロック単位で画像データを入力する。
ブロック単位が8画素×8ラインの場合、入力部11は、図1に示すように、カスケード接続された3つのFIFO(First In First Out)110を備え、8ラインの画像データを同時に画像処理部12に入力する。
The
When the block unit is 8 pixels × 8 lines, the
図5は、画像データの入力順を示している。
図5に示すように、副走査方向yの0及び1ライン目、2及び3ライン目、4及び5ライン目、6及び7ライン目の画像データを、それぞれ3つのFIFO110により遅延させて同時に画像処理部12に入力する。主走査方向xの終端に至ると、副走査方向yに8ラインシフトして主走査方向xの1画素目から同様の入力を繰り返すことにより、全画素をブロック単位で入力することができる。
FIG. 5 shows the input order of image data.
As shown in FIG. 5, the image data of the 0th and 1st lines, the 2nd and 3rd lines, the 4th and 5th lines, the 6th and 7th lines in the sub-scanning direction y are respectively delayed by three
画像処理部12は、入力部11から入力される画像データにブロック単位の縮退圧縮処理を施し、縮退圧縮処理後の各ブロックを生成する。
The
図6は、縮退圧縮処理後のブロックの生成順を示している。
図6に示すように、4画素×4ラインの各ブロックを主走査方向xに順次生成し、主走査方向xの終端に至ると、副走査方向yに4ラインシフトして同様にブロックの生成を繰り返す。
FIG. 6 shows the generation order of blocks after the compression process.
As shown in FIG. 6, each block of 4 pixels × 4 lines is sequentially generated in the main scanning direction x, and when reaching the end of the main scanning direction x, four lines are shifted in the sub-scanning direction y to similarly generate blocks. repeat.
分割部13は、画像処理部12により生成した縮退圧縮処理後の各ブロックを、1又は複数のパックに分割する。
分割部13は、1パックのデータ量が目的のデータ量となるように分割する。目的のデータ量を、ネットワークG3が転送可能な単位時間あたりのデータ量以下とすることにより、規定のデータ量で画像データを送信することができる。例えば、ネットワークG3の単位時間あたりに転送できるデータ量が40bitであり、画像処理後の4画素×4ラインの画像データのデータ量が64bitである場合、2以上に等分割すれば1パックのデータ量を40bit以下とすることができる。
The dividing
The dividing
図7は、2画素×4ライン単位で分割したパックの例を示している。
図7に示すように、分割部13は、分割により同じブロックから得られた2つのパックをパックストリームとして(1)、(2)番の順に連続して出力する。1パックのデータ量は32bitであるので、ネットワークG3の転送可能な40bitのうち、32bitの領域を使用することになる。
FIG. 7 shows an example of a pack divided in units of 2 pixels × 4 lines.
As shown in FIG. 7, the dividing
送信部14は、分割部13により分割した各パックを、単位時間あたり1パックずつ、ネットワークG3を介して受信装置G2に送信する。
送信時、送信部14は、同じブロック内のすべてのパックを連続して受信装置G2に送信する。
図8は、単位時間あたりの各パックのデータ構成を示している。
図8に示すように、1クロックで2画素×4ラインの1パックを送信するため、2クロックで1ブロック分の画像データを送信することができる。
The transmitting
At the time of transmission, the
FIG. 8 shows the data structure of each pack per unit time.
As shown in FIG. 8, since one pack of 2 pixels × 4 lines is transmitted in one clock, image data for one block can be transmitted in two clocks.
図9は、画像データの転送順の例を示している。
図9に示すように、1パック内の各画素の画像データをパックストリームとして、同じブロック内の各パックが連続して送信されている。
FIG. 9 shows an example of the transfer order of image data.
As shown in FIG. 9, the packs in the same block are continuously transmitted using the image data of each pixel in one pack as a pack stream.
〔受信装置〕
受信装置G2は、図1に示すように、受信部21、画像処理部22及び画像メモリー23を備えている。
[Receiver]
As illustrated in FIG. 1, the reception device G2 includes a
受信部21は、ネットワークG3を介して送信装置G1から送信された各パックの画像データ(パックストリーム)を受信し、画像処理部22に出力する。
The
画像処理部22は、受信部21により受信した各パックを連結してブロックを生成し、生成した各ブロックを縮退伸長処理する。画像処理部22は、縮退伸長処理後の各ブロックを順次画像メモリー23に書き込むことにより、画像処理後の各ブロックからなる画像データを生成する。
ブロックの生成時、画像処理部22は、送信装置G1から連続して送信された同じブロック内のすべてのパックを連結してブロックを生成する。
The
When generating a block, the
図10は、縮退伸長処理後のブロックの生成順を示している。
図10に示すように、8画素×8ラインの各ブロックを主走査方向xに順次生成し、主走査方向xの終端に至ると、副走査方向yに8ラインシフトして同様にブロックの生成を繰り返す。
FIG. 10 shows the generation order of blocks after the degeneration / decompression processing.
As shown in FIG. 10, each block of 8 pixels × 8 lines is sequentially generated in the main scanning direction x, and when reaching the end of the main scanning direction x, the blocks are similarly generated by shifting 8 lines in the sub-scanning direction y. repeat.
画像メモリー23は、少なくとも1ページの画像データを保持できるメモリーである。画像メモリー23としては、例えばDRAM(Dynamic Random Access Memory)等を用いることができる。
The
図11は、画像データ転送時のタイミングチャートを示している。図11中の1マスは1ラインの画像データを表し、マス内の数字は副走査方向yのライン番号を表している。
図11に示すように、送信装置G1では、8画素×8ラインの画像データを入力するごとに、画像処理部12が縮退圧縮処理を施し、4画素×4ラインの各ブロックの画像データを生成する。この4画素×4ラインの画像データを、送信装置G1において図7に示すように分割した各パックを連続して送信する。
FIG. 11 shows a timing chart at the time of image data transfer. One square in FIG. 11 represents one line of image data, and the numbers in the square represent line numbers in the sub-scanning direction y.
As shown in FIG. 11, in the transmission apparatus G1, every time image data of 8 pixels × 8 lines is inputted, the
受信装置G2では、送信装置G1から連続して送信された1ブロック分のパックの画像データを受信するごとに、画像処理部22が各パックを連結してブロックの画像データを生成し、縮退伸長処理を施して8画素×8ラインの各ブロックの画像データを生成する。
In the reception device G2, every time the image data of one block of packs transmitted continuously from the transmission device G1 is received, the
以上のように、第1の実施の形態の画像データ転送システムGaは、画像データをブロック単位で画像処理し、当該画像処理後の各ブロックを、1パックのデータ量が目的のデータ量となるように1又は複数のパックに分割し、分割した各パックをネットワークG3を介して送信する送信装置G1と、ネットワークG3を介して送信装置G1から送信された各パックを受信し、受信した各パックを連結してブロックを生成し、生成した各ブロックを画像処理して、当該画像処理後の各ブロックからなる画像データを生成する受信装置G2と、を備えている。送信装置G1は、同じブロック内のすべてのパックを連続して受信装置G2に送信し、受信装置G2は、送信装置G1から連続して送信された同じブロック内のすべてのパックを連結してブロックを生成する。 As described above, the image data transfer system Ga according to the first embodiment performs image processing on image data in units of blocks, and the data amount of one pack is the target data amount for each block after the image processing. The transmission device G1 that divides the pack into one or a plurality of packs and transmits the divided packs via the network G3, and receives each pack transmitted from the transmission device G1 via the network G3. Are connected to each other to generate a block, image processing is performed on each generated block, and image data including each block after the image processing is generated. The transmitting device G1 continuously transmits all packs in the same block to the receiving device G2, and the receiving device G2 connects all the packs in the same block transmitted continuously from the transmitting device G1 to block Is generated.
同じブロック内のパックは時分割することなく連続して送信するため、送信装置G1及び受信装置G2の双方において画像データを一時的に保持するFIFO15等のメモリーが不要になる。装置構成のコンパクト化及びコストの削減を実現することができる。また、転送可能な単位時間あたりのデータ量を維持しながら、転送時の負担、特に受信装置G2の負担を減らすことができ、メモリー性能が低い受信装置G2でも画像データの転送が可能になる。
Since packs in the same block are transmitted continuously without time division, a memory such as a
〔第2の実施の形態〕
上述の単色の画像データを転送する場合に限らず、複数色の画像データを同時に転送する場合にも、受信側の負担を減らすことが可能である。
[Second Embodiment]
The burden on the receiving side can be reduced not only when transferring the above-described single-color image data but also when simultaneously transferring image data of a plurality of colors.
図12は、複数色の画像データを同時に転送できる画像データ転送システムGbの主な構成を機能ごとに示している。図12において、上記画像データ転送システムGaと機能が同じ構成部分には同じ符号を付している。 FIG. 12 shows the main configuration of the image data transfer system Gb that can simultaneously transfer image data of a plurality of colors for each function. In FIG. 12, components having the same functions as those of the image data transfer system Ga are denoted by the same reference numerals.
画像データ転送システムGbは、C(シアン)、M(マジェンタ)、Y(イエロー)及びK(黒)の4色の画像データを、送信装置G1から受信装置G2へ同時に転送することができる。画像データ転送システムGbは、図12に示すように、1色の画像データの転送に必要な送信装置G1の入力部11、画像処理部12及び分割部13と、受信装置G2の画像処理部22を1つの転送ユニット50として4つの転送ユニット50を備え、各転送ユニット50によりC、M、Y及びKの各色の画像データを同時に転送する。
The image data transfer system Gb can simultaneously transfer image data of four colors of C (cyan), M (magenta), Y (yellow), and K (black) from the transmission device G1 to the reception device G2. As shown in FIG. 12, the image data transfer system Gb includes an
ネットワークG3が転送できる単位時間あたりの40bitのデータ量のうち、1色の画像データの転送に割り当てるデータ量を8bitとする場合、1パックのデータ量が8bit以下となるように、縮退圧縮処理後の4画素×4ラインの画像データを分割すればよい。例えば、1画素×2ライン単位で分割した場合、1ブロックから8パック得られるので、送信装置G1の各転送ユニット50においてこの同じブロック内の8パックを連続して送信し、受信装置G2の各転送ユニット50では連続して受信した8パックを連結してブロックを生成するごとに縮退伸長処理すればよい。
Of the 40-bit data amount per unit time that can be transferred by the network G3, when the data amount allocated to the transfer of one-color image data is 8 bits, after the compression and compression process so that the data amount of one pack is 8 bits or less The image data of 4 pixels × 4 lines may be divided. For example, when divided in units of 1 pixel × 2 lines, 8 packs are obtained from one block. Therefore, each
図13は、1画素×2ライン単位で分割したパックの例を示している。
図13に示すように、分割した同じブロック内の各パックを(1)〜(8)番の順に連続して送信する。1色のデータ量は8bitであるので、ネットワークG3が転送可能な40bitのうち、32bitの領域を使用することになる。
同じブロック内の各パックを連続して送信しているので、上記単色の画像データを転送する場合と同様に、1ブロック分のパックを受信するまで受信した各パックを一時的に保持するためのメモリーが不要になり、受信装置G2の負担が小さい。
FIG. 13 shows an example of a pack divided in units of 1 pixel × 2 lines.
As shown in FIG. 13, the packs in the same divided block are continuously transmitted in the order of numbers (1) to (8). Since the amount of data for one color is 8 bits, a 32-bit area is used out of 40 bits that can be transferred by the network G3.
Since each pack in the same block is continuously transmitted, the received pack is temporarily held until a pack for one block is received, as in the case of transferring the monochrome image data. A memory becomes unnecessary, and the burden on the receiving device G2 is small.
以上のように、第2の実施の形態の画像データ転送システムGbは、複数色の画像データを同時に送信及び受信する複数の転送ユニット50を備え、第1の実施の形態と同様に、送信装置G1が、同じブロック内のすべてのパックを連続して受信装置G2に送信し、受信装置G2が、送信装置G1から連続して送信された同じブロック内のすべてのパックを連結してブロックを生成する。
したがって、複数色の画像データを同時転送する場合も、第1の実施の形態と同様に、装置構成のコンパクト化及びコストの削減を実現することができる。また、転送可能な単位時間あたりのデータ量を維持しながら、転送時の負担、特に受信装置G2の負担を減らすことができ、メモリー性能が低い受信装置G2でも画像データの転送が可能になる。
As described above, the image data transfer system Gb according to the second embodiment includes the plurality of
Therefore, even when image data of a plurality of colors is transferred at the same time, as in the first embodiment, the apparatus configuration can be made compact and the cost can be reduced. In addition, while maintaining the transferable data amount per unit time, it is possible to reduce the load at the time of transfer, particularly the load on the receiving device G2, and the image data can be transferred even with the receiving device G2 having low memory performance.
〔第3の実施の形態〕
図12に示すように、複数色の画像データを同時に転送できる複数の転送ユニット50を備えている画像データ転送システムGbにおいて、単色の画像データを転送する場合、他の色の転送ユニット50を併用することにより、単色の画像データの転送レートを向上させることができる。
[Third Embodiment]
As shown in FIG. 12, in the image data transfer system Gb having a plurality of
図14は、Y色とK色の転送ユニット50を用いて、K色の画像データを転送する場合の画像データ転送システムGcの構成例を示している。この画像データ転送システムGcは、図12に示す画像データ転送システムGbにおいて、Y色とK色の各入力部11のFIFO110を接続する配線に切り替えることにより、構成することができる。
FIG. 14 shows a configuration example of an image data transfer system Gc in the case where K color image data is transferred using the Y color and K
送信装置G1では、Y色とK色の入力部11によりそれぞれ8ラインの画像データをY色とK色の画像処理部12に同時に入力できるので、各画像処理部12において異なる2つのブロックの画像データを同時に生成することができる。送信部14は、異なる2つのブロックのパックを同時に送信する。すなわち、送信部14は、Y色の分割部13により分割した1ブロック内のすべてのパックを連続して送信するのと並行して、K色の分割部13により分割した1ブロック内のすべてのパックを連続して送信する。
In the transmission device G1, since image data of 8 lines can be simultaneously input to the
送信部14では単位時間あたり2パックを送信するので、Y色とK色の分割部13は、2パック分のデータ量が、ネットワークG3が転送可能な単位時間あたりのデータ量以下となるように、1又は複数のパックに分割する。例えば、ネットワークG3が転送できる単位時間あたりのデータ量が40bitである場合、1色の転送ユニット50で転送できるデータ量は20bit以下であるので、Y色とK色の分割部13は、例えば1画素×4ライン単位で分割し、1パックのデータ量を16bitとすることができる。
Since the
図15は、1画素×4ライン単位で分割した2つのブロックのパック例を示している。
図15に示すように、Y色の分割部13は、0〜3ライン目のブロック内の各パックを(1)〜(4)番の順に連続して出力する。この出力と並行して、K色の分割部13は、4〜7ライン目のブロック内の各パックを(1)〜(4)番の順に連続して出力する。
FIG. 15 shows a pack example of two blocks divided in units of 1 pixel × 4 lines.
As shown in FIG. 15, the Y
図16は、単位時間あたりに同時に送信される2つのブロックのパックのデータ構成を示している。
図16に示すように、Y色とK色の転送ユニット50から、1クロックで1画素×4ラインの1パックをそれぞれ送信するため、4クロックで2つのブロックの画像データを送信することができる。
FIG. 16 shows a data structure of a pack of two blocks transmitted simultaneously per unit time.
As shown in FIG. 16, since one pack of 1 pixel × 4 lines is transmitted in one clock from the Y color and K
受信装置G2では、受信部21において異なる2つのブロックのパックを同時に受信し、Y色の画像処理部22が1つのブロックの各パックを連結するのと並行して、K色の画像処理部22がもう1つのブロックの各パックを連結して、2つのブロックを同時に生成する。
In the receiving device G2, the receiving
図17は、画像データ転送時のタイミングチャートを示している。図17中の1マスは1ラインを表し、マス内の数字は副走査方向yのライン番号を表している。
図17に示すように、送信装置G1では、2つの転送ユニット50において0〜15ライン目の2つのブロックの画像データを主走査方向xに8画素入力するごとに縮退圧縮処理を施す。縮退圧縮処理後の0〜7ライン目の2つのブロックの画像データを、図15に示すように分割したパックを連続して送信する。
FIG. 17 shows a timing chart at the time of image data transfer. One square in FIG. 17 represents one line, and the number in the square represents the line number in the sub-scanning direction y.
As shown in FIG. 17, the transmission device G1 performs degeneracy compression processing every
受信装置G2では、送信装置G1から連続して送信される各パックを連結して、0〜7ライン目の2つのブロックを生成すると縮退伸長処理を施し、0〜15ライン目の2つのブロックの画像データを生成する。 In the receiving device G2, the packs continuously transmitted from the transmitting device G1 are concatenated to generate two blocks of the 0th to 7th lines. Generate image data.
以上のように、第3の実施の形態の画像データ転送システムGcは、第1の実施の形態と同様に、送信装置G1が、同じブロック内のすべてのパックを連続して受信装置G2に送信し、受信装置G2が、送信装置G1から連続して送信された同じブロック内のすべてのパックを連結してブロックを生成する。
また、画像データ転送システムGcは、複数色の画像データを同時に送信及び受信する複数の転送ユニット50を備え、単色の画像データを転送する場合は、複数の転送ユニット50のうち、2以上の転送ユニット50を使用して転送する。
As described above, in the image data transfer system Gc according to the third embodiment, as in the first embodiment, the transmission device G1 continuously transmits all packs in the same block to the reception device G2. Then, the receiving device G2 generates a block by concatenating all packs in the same block transmitted continuously from the transmitting device G1.
The image data transfer system Gc includes a plurality of
これにより、複数色の画像データを同時転送できる構成において単色の画像データを転送する場合も、第1の実施の形態と同様に受信側の負担を減らすことができるとともに、単色の画像データの転送レートを高めることができる。 As a result, even when transferring monochrome image data in a configuration capable of simultaneously transferring image data of a plurality of colors, the burden on the receiving side can be reduced as in the first embodiment, and transfer of monochrome image data is possible. The rate can be increased.
〔比較例との対比〕
同じブロック内のすべてのパックを連続して送信するのではなく、ライン単位で時分割して送信する場合、送信側及び受信側の双方にFIFO等のメモリーが必要になる。必要なメモリーの数は、パックの分割方法によって異なる。
[Contrast with comparative example]
If all packs in the same block are not transmitted continuously but are transmitted in a time division manner in units of lines, a memory such as a FIFO is required on both the transmission side and the reception side. The number of memory required depends on how the pack is divided.
図18Aは、副走査方向yに拡張して分割する場合の画像データの転送順を示している。
図18Aに示すように、副走査方向yに並ぶ1画素×2ラインを1パックとして分割してライン単位で転送する場合、各ブロック内の8つのパックを2ライン単位で分割して送信する。具体的には、主走査方向xの0〜3画素目のブロックのうち、(1−1)、(1―2)、(1−3)、(1−4)番のパックをこの順に連続して送信した後、4〜7画素目の隣のブロックの(1−1)、(1―2)、(1−3)、(1−4)番のパックをこの順に連続して送信する。主走査方向xの終端まで各ブロックの(1−1)、(1―2)、(1−3)、(1−4)番のパックを送信すると、主走査方向xの0〜3画素目のブロックに戻り、各ブロックの(2−1)、(2−2)、(2−3)、(2−4)番のパックを連続して送信することを繰り返す。
このように、ブロック単位で同時に生成された画像データを0及び1ライン目と2及び3ライン目に時分割して送信するため、0及び1ライン目の画像データを転送している間、2及び3ライン目の画像データを一時的に保持する1つのFIFO15が必要になる。
FIG. 18A shows the transfer order of image data when the image data is expanded and divided in the sub-scanning direction y.
As shown in FIG. 18A, when 1 pixel × 2 lines arranged in the sub-scanning direction y are divided as one pack and transferred in units of lines, eight packs in each block are divided and transmitted in units of 2 lines. Specifically, the packs (1-1), (1-2), (1-3), and (1-4) in the blocks of the 0th to 3rd pixels in the main scanning direction x are consecutively arranged in this order. Then, the packs (1-1), (1-2), (1-3), and (1-4) in the block next to the 4th to 7th pixels are sequentially transmitted in this order. . When the packs (1-1), (1-2), (1-3), and (1-4) of each block are transmitted to the end in the main scanning direction x, the 0th to 3rd pixels in the main scanning direction x are transmitted. Returning to the block, the packs of numbers (2-1), (2-2), (2-3), and (2-4) in each block are continuously transmitted.
In this way, since the image data generated simultaneously in units of blocks is time-divisionally transmitted to the 0th and 1st lines and the 2nd and 3rd lines, while the 0th and 1st line image data is being transferred, 2 And one
図18Bは、主走査方向xに拡張して分割する場合の画像データの転送順を示している。
図18Bに示すように、主走査方向xに並ぶ4画素×1ラインを1パックとして分割してライン単位で転送する場合、各ブロック内の4つのパックを1ライン単位で分割して送信する。具体的には、主走査方向xの0〜3画素目のブロックの(1)番の1パックを送信した後、主走査方向xの4〜7画素目のブロックの(1)番の1パックを送信する。主走査方向xの終端まで各ブロックの(1)番のパックを送信すると、主走査方向xの0〜3画素目のブロックに戻り、各ブロックの(2)番のパックを連続して送信する。(3)及び(4)番のパックについても同様にして送信する。
この場合、ブロック単位で同時に生成された画像データを0〜3ライン目の1ラインごとに時分割して送信するため、各ラインより前のラインの画像データを転送している間、各ラインの画像データを一時的に保持する3つのFIFO15が必要になる。
FIG. 18B shows the transfer order of image data when the image data is expanded and divided in the main scanning direction x.
As shown in FIG. 18B, when 4 pixels × 1 lines arranged in the main scanning direction x are divided as one pack and transferred in units of lines, four packs in each block are divided and transmitted in units of one line. Specifically, after transmitting 1 pack of the (1) -th block of the 0th to 3rd pixel blocks in the main scanning direction x, 1 pack of the (1) th block of the 4th to 7th pixel blocks in the main scanning direction x. Send. When the (1) pack of each block is transmitted up to the end in the main scanning direction x, the block returns to the 0th to 3rd pixel block in the main scanning direction x, and the (2) pack of each block is transmitted continuously. . Similarly, the (3) and (4) packs are transmitted.
In this case, since the image data generated simultaneously in units of blocks is time-divisionally transmitted for each of the 0th to 3rd lines, the image data of each line is transferred while transferring the image data of the previous line. Three
〔比較例1〕
図19は、複数色の画像データを転送可能な画像データ転送システムTaの構成例を示している。図19において、上記画像データ転送システムGbと機能が同じ構成部分には同じ符号を付している。
画像データ転送システムTaでは、縮退圧縮処理後の4画素×4ラインの1ブロックを、図18Aに示すように副走査方向に拡張して1画素×2ライン単位で分割し、2ライン単位で時分割して転送する。そのため、画像データ転送システムTaでは、図19に示すように、送信装置G1と受信装置G2のそれぞれにおいて1色ごとに1つのFIFO15が配置されている。
[Comparative Example 1]
FIG. 19 shows a configuration example of an image data transfer system Ta that can transfer image data of a plurality of colors. In FIG. 19, components having the same functions as those of the image data transfer system Gb are denoted by the same reference numerals.
In the image data transfer system Ta, one block of 4 pixels × 4 lines after the compression process is expanded in the sub-scan direction and divided in units of 1 pixel × 2 lines as shown in FIG. Divide and transfer. Therefore, in the image data transfer system Ta, as shown in FIG. 19, one
図20は、画像データ転送システムTaの各色の画像データの送信順を示している。
図20に示すように、各色の転送ユニット50において、各ブロックの(1−1)、(1―2)、(1−3)、(1−4)番のパックをこの順に連続して送信した後、FIFO15により遅延させた各ブロックの(2−1)、(2−2)、(2−3)、(2−4)番のパックを連続して送信する。
FIG. 20 shows the transmission order of image data of each color in the image data transfer system Ta.
As shown in FIG. 20, in the
図21は、縮退圧縮処理後の画像データの転送順を示している。
図21に示すように、各ブロックのパックは、主走査方向xに並ぶ順にライン単位で転送されている。
FIG. 21 shows the transfer order of image data after the compression process.
As shown in FIG. 21, the packs of each block are transferred in units of lines in the order in which they are arranged in the main scanning direction x.
図22は、画像データ転送時のタイミングチャートを示している。図22中の1マスは1ラインを表し、マス内の数字は副走査方向yのライン番号を表している。
図22に示すように、主走査方向xに並ぶ各ブロックのパックが、2ライン単位で時分割して送信されているため、0〜3ライン目、4〜7ライン目等のように4ライン分の画像データを受信した時点で縮退伸長処理が行われている。
FIG. 22 shows a timing chart at the time of image data transfer. One square in FIG. 22 represents one line, and the number in the square represents the line number in the sub-scanning direction y.
As shown in FIG. 22, since the packs of the blocks arranged in the main scanning direction x are transmitted in a time-sharing manner in units of two lines, there are four lines such as the 0th to 3rd lines, the 4th to 7th lines, etc. The degeneration / decompression processing is performed at the time when the image data of the minute is received.
〔比較例2〕
図23は、複数色の画像データを同時転送できる複数の転送ユニットを備え、他の色の転送ユニットを併用して単色の画像データを転送する場合の画像データ転送システムTbの構成例を示している。この画像データ転送システムTbは、図19に示す画像データ転送システムTaにおいて、Y色とK色の各入力部11のFIFO110を接続する配線に切り替えることにより、構成することができる。図23において、画像データ転送システムTaと機能が同じ構成部分には同じ符号を付している。
[Comparative Example 2]
FIG. 23 shows an example of the configuration of an image data transfer system Tb that includes a plurality of transfer units capable of simultaneously transferring image data of a plurality of colors and transfers image data of a single color using another color transfer unit in combination. Yes. This image data transfer system Tb can be configured by switching to the wiring connecting the
図24は、画像データ転送システムTaにおける単色の画像データの送信順を示している。
図24に示すように、Y色の転送ユニット50において、副走査方向yの0〜3ライン目に位置する各ブロックの(1−1)、(1―2)、(1−3)、(1−4)番のパックをこの順に連続して送信した後、FIFO15により遅延させた当該各ブロックの(2−1)、(2−2)、(2−3)、(2−4)番のパックをこの順に連続して送信する。K色の転送ユニット50でも同様に、副走査方向yの4〜7ライン目に位置する各ブロックの(1−1)、(1―2)、(1−3)、(1−4)番のパックをこの順に連続して送信した後、FIFO15により遅延させた当該各ブロックの(2−1)、(2−2)、(2−3)、(2−4)番のパックをこの順に連続して送信する。各色の転送ユニット50は単位時間あたりに8bitの1パックを転送するので、単位時間あたりにネットワークG3が転送可能な40bitのうち、16bitの領域を使用して単色の画像データを送信することができる。
FIG. 24 shows the transmission order of monochrome image data in the image data transfer system Ta.
As shown in FIG. 24, in the Y-
図25は、画像データ転送時のタイミングチャートを示している。図25中の1マスは1ラインを表し、マス内の数字は副走査方向yのライン番号を表している。
図25に示すように、2つのブロックの画像データが同時に送信されているため、0〜7ライン目、8〜15ライン目等のように8ライン分の画像データを受信した時点で縮退伸長処理が行われている。
FIG. 25 shows a timing chart at the time of image data transfer. One square in FIG. 25 represents one line, and the number in the square represents the line number in the sub-scanning direction y.
As shown in FIG. 25, since the image data of two blocks are transmitted at the same time, the degeneration / decompression processing is performed at the time when the image data for 8 lines such as the 0th to 7th lines, the 8th to 15th lines, etc. is received. Has been done.
〔比較例3〕
図26は、複数色の画像データを同時に転送できる複数の転送ユニットを備え、他の色の転送ユニットを併用して単色の画像データをする場合の画像データ転送システムTcの構成例を示している。図26において、上記画像データ転送システムGbと機能が同じ構成部分には同じ符号を付している。画像データ転送システムTcは、Y、M、C及びKの4色の転送ユニット50を使用可能であるが、そのうちY色とK色の各画像処理部22に同時に画像データを入力できるように、各入力部11のFIFO111が接続されている。
[Comparative Example 3]
FIG. 26 shows a configuration example of an image data transfer system Tc in the case where a plurality of transfer units capable of simultaneously transferring image data of a plurality of colors are provided, and monochrome image data is combined with other color transfer units. . In FIG. 26, components having the same functions as those of the image data transfer system Gb are denoted by the same reference numerals. The image data transfer system Tc can use four
画像データ転送システムTcでは、縮退圧縮処理後の4画素×4ラインの1ブロックを、図18Bに示すように主走査方向xに拡張して4画素×1ライン単位で分割し、1ライン単位で時分割して転送する。そのため、画像データ転送システムTcでは、図26に示すように、送信装置G1と受信装置G2のそれぞれにおいて1色ごとに3つのFIFO15が配置されている。
In the image data transfer system Tc, one block of 4 pixels × 4 lines after the compression process is expanded in the main scanning direction x as shown in FIG. 18B and divided in units of 4 pixels × 1 line. Transfer in time division. Therefore, in the image data transfer system Tc, as shown in FIG. 26, three
図27は、画像データ転送システムTcの単色の画像データの転送順を示している。
図27に示すように、画像データ転送システムTcでは、各ブロックを、主走査方向xの並び順が1、3、5・・・の奇数番目(EVEN)のブロックと、2、4、6・・・の偶数番目(ODD)のブロックとに分ける。Y色の転送ユニット50では、EVENの各ブロックの(1)番のパックを順に連続して送信した後、当該各ブロックの(2)番のパックを順に連続して送信する。同様に、EVENの各ブロックの(3)番のパックを送信した後、(4)番のパックを送信する。K色の転送ユニット50では、EVENがODDのブロックに代わること以外は、Y色の転送ユニット50と同様にして、ODDの各ブロックの(1)〜(4)番のパックを1ライン単位で時分割して送信する。
FIG. 27 shows the transfer order of monochrome image data in the image data transfer system Tc.
As shown in FIG. 27, in the image data transfer system Tc, each block is divided into odd-numbered (EVEN) blocks whose arrangement order in the main scanning direction x is 1, 3, 5,. .. and even numbered (ODD) blocks. In the Y-
図28は、画像データ転送時のタイミングチャートを示している。図28中の1マスは1ラインを表し、マス内の数字は副走査方向yのライン番号を表している。
図28に示すように、2つのブロックの画像データが1ライン単位で同時に送信されているため、0〜3ライン目、4〜7ライン目等のように4ライン分の画像データを受信した時点で縮退伸長処理が行われている。
FIG. 28 shows a timing chart at the time of image data transfer. One square in FIG. 28 represents one line, and the number in the square represents the line number in the sub-scanning direction y.
As shown in FIG. 28, since the image data of two blocks are simultaneously transmitted in units of one line, the time point when image data for four lines is received such as the 0th to 3rd lines, the 4th to 7th lines, etc. Degeneration / decompression processing is performed at.
図17、図25及び図28に示すように、副走査方向yに拡張する比較例1は、主走査方向xに拡張する比較例2に比べて必要なFIFO15は少なくて済むが、転送レートが低い。比較例2は、転送レートが高いが、多くのFIFO15を必要とする。
一方、本実施の形態によれば、FIFO15が不要であり、受信装置G2の負担がないため、受信装置G2の性能によらず画像データを転送することができる。また、単位時間あたりに転送するデータ量を目的のデータ量に維持しながら、比較例1より高い転送レートを得ることもできる。
As shown in FIGS. 17, 25, and 28, the comparative example 1 extended in the sub-scanning direction y requires
On the other hand, according to the present embodiment, since the
上記実施の形態は本発明の好適な一例であり、これに限定されない。本発明の主旨を逸脱しない範囲で適宜変更可能である。
例えば、上記実施形態では、2色の転送ユニット50を併用して単色の画像データを転送する例を説明したが、各転送ユニット50で同時に転送する各パックのデータ量が、ネットワークG3が転送可能な単位時間あたりのデータ量以下になるのであれば、3色以上の転送ユニット50を併用して3以上の異なるブロックを同時に転送することもできる。
The above embodiment is a preferred example of the present invention, and the present invention is not limited to this. Modifications can be made as appropriate without departing from the spirit of the present invention.
For example, in the above-described embodiment, an example in which two-
また、同じブロック内のすべてのパックを連続して送信するのであれば、パックの分割方法も上述した例に限定されない。 In addition, as long as all packs in the same block are transmitted continuously, the pack dividing method is not limited to the above-described example.
Ga、Gb、Gc 画像データ転送システム
G1 送信装置
11 入力部
110 FIFO
12 画像処理部
13 分割部
14 送信部
G2 送信装置
21 受信部
22 画像処理部
23 画像メモリー
50 転送ユニット
G3 ネットワーク
Ta、Tb、Tc 画像データ転送システム(比較例)
15 FIFO
Ga, Gb, Gc Image data transfer
12
15 FIFO
Claims (12)
前記ネットワークを介して前記送信装置から送信された各パックを受信し、受信した各パックを連結してブロックを生成し、生成した各ブロックを画像処理して、当該画像処理後の各ブロックからなる画像データを生成する受信装置と、を備え、
前記送信装置は、同じブロック内のすべてのパックを連続して前記受信装置に送信し、
前記受信装置は、前記送信装置から連続して送信された前記同じブロック内のすべてのパックを連結して前記ブロックを生成することを特徴とする画像データ転送システム。 Image data is processed in block units, and each block after the image processing is divided into one or a plurality of packs so that the data amount of one pack becomes the target data amount, and each divided pack is transmitted via a network. A transmitting device for transmitting
Each pack transmitted from the transmission device via the network is received, and the received packs are connected to generate a block, each generated block is subjected to image processing, and each block after the image processing is processed. A receiving device for generating image data,
The transmitting device continuously transmits all packs in the same block to the receiving device,
The image data transfer system, wherein the reception device generates the block by concatenating all packs in the same block continuously transmitted from the transmission device.
前記受信装置は、前記異なる複数のブロックのパックを同時に受信することを特徴とすることを特徴とする請求項1〜3のいずれか一項に記載の画像データ転送システム。 The transmitting device simultaneously transmits the packs of the different blocks;
The image data transfer system according to any one of claims 1 to 3, wherein the receiving device receives the pack of the plurality of different blocks at the same time.
前記受信装置は、前記画像処理として伸長処理を施し、前記圧縮処理前の元のデータ量のブロックを生成することを特徴とする請求項1〜6のいずれか一項に記載の画像データ転送システム。 The transmission device performs compression processing as the image processing, and the amount of data transferred per unit time for each block after the compression processing is equal to or less than the amount of data per unit time that can be transferred by the network. Dividing into one or more packs,
7. The image data transfer system according to claim 1, wherein the receiving device performs decompression processing as the image processing, and generates a block having an original data amount before the compression processing. .
画像データをブロック単位で画像処理するステップと、
前記画像処理後の各ブロックを、1パックが一定のデータ量となるように1又は複数のパックに分割するステップと、
前記分割した各パックを、ネットワークを介して送信するステップと、
受信装置において、
前記ネットワークを介して前記送信装置から送信された各パックを受信するステップと、
前記受信した各パックを連結してブロックを生成し、生成した各ブロックを画像処理するステップと、
前記画像処理後の各ブロックからなる画像データを生成するステップと、を含み、
前記送信するステップでは、同じブロック内のすべてのパックを連続して前記受信装置に送信し、
前記受信するステップでは、前記送信装置から連続して送信された前記同じブロック内のすべてのパックを連結して前記ブロックを生成することを特徴とする画像データ転送方法。 In the transmission device,
Image processing the image data in units of blocks;
Dividing each block after the image processing into one or a plurality of packs so that one pack has a constant data amount;
Transmitting each of the divided packs via a network;
In the receiving device,
Receiving each pack transmitted from the transmitting device via the network;
Concatenating each received pack to generate a block, and image processing each generated block;
Generating image data consisting of each block after the image processing,
In the transmitting step, all packs in the same block are continuously transmitted to the receiving device,
In the receiving step, the block is generated by concatenating all packs in the same block continuously transmitted from the transmitting device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016244370A JP2018098730A (en) | 2016-12-16 | 2016-12-16 | Image data transfer system and transmission method of image data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016244370A JP2018098730A (en) | 2016-12-16 | 2016-12-16 | Image data transfer system and transmission method of image data |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018098730A true JP2018098730A (en) | 2018-06-21 |
Family
ID=62633156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016244370A Pending JP2018098730A (en) | 2016-12-16 | 2016-12-16 | Image data transfer system and transmission method of image data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018098730A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006262033A (en) * | 2005-03-17 | 2006-09-28 | Fuji Photo Film Co Ltd | Image transmitter |
JP2006352509A (en) * | 2005-06-16 | 2006-12-28 | Sony Corp | Image data processor, image data processing method, and program |
JP2008079142A (en) * | 2006-09-22 | 2008-04-03 | Fujifilm Corp | Camera system |
JP2012120159A (en) * | 2010-11-12 | 2012-06-21 | Sony Corp | Transmission device, transmission method, reception device, reception method, and program |
-
2016
- 2016-12-16 JP JP2016244370A patent/JP2018098730A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006262033A (en) * | 2005-03-17 | 2006-09-28 | Fuji Photo Film Co Ltd | Image transmitter |
JP2006352509A (en) * | 2005-06-16 | 2006-12-28 | Sony Corp | Image data processor, image data processing method, and program |
JP2008079142A (en) * | 2006-09-22 | 2008-04-03 | Fujifilm Corp | Camera system |
JP2012120159A (en) * | 2010-11-12 | 2012-06-21 | Sony Corp | Transmission device, transmission method, reception device, reception method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8452083B2 (en) | Image processing apparatus, image processing method, and computer-readable medium | |
JPH11179984A (en) | Constructible data processing pipeline | |
JPH11170634A (en) | Data processing pipe line | |
JPH11165435A (en) | Creation method of merge data component | |
JP4107314B2 (en) | Image processing, compression, expansion, transmission, transmission, reception apparatus and method, program thereof, and display apparatus | |
US7734103B2 (en) | Image processing apparatus and image processing method | |
JP2012023508A (en) | Image processing apparatus, compression method for image processing apparatus and program | |
JP2001069358A (en) | Picture processor, its processing method and storage medium | |
KR100648923B1 (en) | System and method for forming image | |
EP3178224B1 (en) | Apparatus and method for compressing color index map | |
JP4329311B2 (en) | Image forming apparatus and method, and image forming system | |
US20170064312A1 (en) | Image encoder, image decoder, and image transmission device | |
JP4593060B2 (en) | Image encoding device | |
JP2018098730A (en) | Image data transfer system and transmission method of image data | |
JP2016136655A (en) | Image processor and image processing method | |
US4782400A (en) | System for encoding or decoding analog video signals | |
US9025167B2 (en) | Image processing apparatus and method | |
JP2016021600A (en) | Image encoder, image processor, image transmission/reception system, image encoding method, and control program | |
JP3743471B2 (en) | Printing system, printing apparatus and printing control apparatus | |
JPS59128873A (en) | Picture signal converting system of color facsimile | |
KR102568633B1 (en) | Image processing device | |
JP3459723B2 (en) | Image processing apparatus and method | |
RU2267234C1 (en) | Method for transferring synchronous television signals of multi-gradation images | |
JP2675903B2 (en) | Image coding method | |
JP2983796B2 (en) | Color information processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190913 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201124 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20210601 |