JP2017103698A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2017103698A
JP2017103698A JP2015237289A JP2015237289A JP2017103698A JP 2017103698 A JP2017103698 A JP 2017103698A JP 2015237289 A JP2015237289 A JP 2015237289A JP 2015237289 A JP2015237289 A JP 2015237289A JP 2017103698 A JP2017103698 A JP 2017103698A
Authority
JP
Japan
Prior art keywords
line
image data
error
detected
line memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015237289A
Other languages
Japanese (ja)
Other versions
JP6414702B2 (en
Inventor
洋志 横田
Hiroshi Yokota
洋志 横田
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2015237289A priority Critical patent/JP6414702B2/en
Publication of JP2017103698A publication Critical patent/JP2017103698A/en
Application granted granted Critical
Publication of JP6414702B2 publication Critical patent/JP6414702B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Debugging And Monitoring (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To correct an error occurrence part without discarding a lot of images, having effective pixels of no error occurrence, in each image transmitted from a transmission side device to a reception side device.SOLUTION: A transmission side device 1 generates the error detection data of image data in each of a plurality of sections which are obtained by dividing an image data transfer period for 1 line by a predetermined number, to transmit the image data and the error detection data as an image data signal DATA. A reception side device 2, after receiving the image data signal DATA, uses image data of a line having the detected error, as to sections before the section in which the error is detected, in a line in which the error is detected by the error detection data in the image data signal DATA. Also, as to at least the section in which error is detected, the reception side device 2 uses the image data of a line of 1 line before of the line having the detected error.SELECTED DRAWING: Figure 1

Description

本発明は、画像処理装置に関するものである。   The present invention relates to an image processing apparatus.

ある画像処理装置は、画像データの送信側と受信側で画像転送クロックへのノイズ混入等により、画像の有効区間信号のアサート期間におけるクロックカウント数が所定値ではない場合、そのラインを破棄して、1ライン前のラインを代わりに出力している(例えば特許文献1参照)。   An image processing apparatus discards the line when the clock count number during the assertion period of the valid section signal of the image is not a predetermined value due to noise mixing in the image transfer clock on the image data transmission side and the image reception side. Instead, the previous line is output (see, for example, Patent Document 1).

また、ある画像インターフェイス回路では、送信側回路が、画像データ信号のノイズ検出用パリティ情報を1画素ごとに生成してライン同期信号で受信側回路へ送信し、受信側回路は、受信した画像データ信号のパリティが、受信したパリティ情報と一致しない場合、1画素前の画像を使用している(例えば特許文献2参照)。   Also, in a certain image interface circuit, the transmission side circuit generates parity information for noise detection of the image data signal for each pixel and transmits it to the reception side circuit by a line synchronization signal, and the reception side circuit receives the received image data. If the parity of the signal does not match the received parity information, an image one pixel before is used (see, for example, Patent Document 2).

特開2012−56161号公報JP 2012-56161 A 特開2003−122649号公報JP 2003-122649 A

しかしながら、上述のように、エラーが検出されたラインについて1ライン前のラインを出力する場合、例えば1画素分のエラーによって、エラーが発生していない有効な多くの画素の画像が破棄されてしまう。   However, as described above, when outputting a line one line before an error detected line, for example, due to an error for one pixel, an image of many valid pixels in which no error has occurred is discarded. .

また、エラーが検出された画素について1画素前の画像を使用する場合、通信経路上で連続的にノイズが混入し、連続する複数の画素でエラーが検出されると、単一の画像が連続してしまい、画質劣化が目立ってしまう。   In addition, when an image one pixel before is used for a pixel in which an error is detected, noise is continuously mixed on the communication path, and if an error is detected in a plurality of consecutive pixels, a single image is continuous. As a result, the image quality deterioration becomes conspicuous.

本発明は、上記の問題に鑑みてなされたもので、エラーが発生していない有効な画素の画像を多く破棄することなく、エラーが発生した箇所を補正する画像処理装置を得ることを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to obtain an image processing apparatus that corrects a location where an error has occurred without discarding a large number of valid pixel images in which no error has occurred. To do.

本発明に係る画像処理装置は、画像データ信号を送信する送信側装置と、前記画像データ信号を受信する受信側装置とを備える。前記送信側装置は、1ライン分の画像データの転送期間を所定数で分割して得られる複数の区間のそれぞれにおける画像データのエラー検出データを生成し、前記画像データおよび前記エラー検出データを画像データ信号として送信する。前記受信側装置は、前記画像データ信号を受信し、前記画像データ信号内の前記エラー検出データによってエラーが検出されたラインにおいて、前記エラーが検出された区間より前の区間については、前記エラーが検出されたラインの画像データを使用し、少なくとも前記エラーが検出された区間については、前記エラーが検出されたラインの1ライン前のラインの画像データを使用する。   An image processing apparatus according to the present invention includes a transmission-side apparatus that transmits an image data signal and a reception-side apparatus that receives the image data signal. The transmission side device generates error detection data of image data in each of a plurality of sections obtained by dividing a transfer period of image data for one line by a predetermined number, and the image data and the error detection data are converted into an image. Transmit as a data signal. The receiving side device receives the image data signal, and in the line where the error is detected by the error detection data in the image data signal, the error is detected in a section before the section where the error is detected. The image data of the detected line is used, and at least for the section where the error is detected, the image data of the line one line before the line where the error is detected is used.

本発明によれば、エラーが発生していない有効な画素の画像を多く破棄することなく、エラーが発生した箇所を補正する画像処理装置が得られる。   According to the present invention, it is possible to obtain an image processing apparatus that corrects a location where an error has occurred without discarding a large number of valid pixel images in which no error has occurred.

本発明の上記又は他の目的、特徴および優位性は、添付の図面とともに以下の詳細な説明から更に明らかになる。   These and other objects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.

図1は、本発明の実施の形態に係る画像処理装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. 図2は、図1における送信側装置1から送信される信号を示すタイミングチャートである。FIG. 2 is a timing chart showing signals transmitted from the transmission side apparatus 1 in FIG. 図3は、実施の形態1における受信側装置2の動作を説明するタイミングチャートである。FIG. 3 is a timing chart for explaining the operation of the reception-side device 2 in the first embodiment. 図4は、実施の形態1における受信側装置2の動作の詳細を説明するタイミングチャートである。FIG. 4 is a timing chart illustrating details of the operation of the reception-side device 2 in the first embodiment. 図5は、実施の形態2における受信側装置2の動作を説明するタイミングチャートである。FIG. 5 is a timing chart for explaining the operation of the reception-side device 2 in the second embodiment. 図6は、実施の形態3における受信側装置2の動作の詳細を説明するタイミングチャートである。FIG. 6 is a timing chart for explaining details of the operation of the reception-side device 2 in the third embodiment.

以下、図に基づいて本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

実施の形態1. Embodiment 1 FIG.

図1は、本発明の実施の形態に係る画像処理装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

図1に示す画像処理装置は、水平同期信号HSYNCに同期して1ラインずつ画像データ信号DATAを送信する送信側装置1と、その画像データ信号DATAを受信する受信側装置2とを備える。例えば、送信側装置1は、原稿から原稿画像を光学的に読み取る画像読取部を制御して、原稿画像の画像データを取得する装置であって、受信側装置2は、送信側装置1から受信した画像データに対して各種画像処理を実行する装置である。   The image processing apparatus shown in FIG. 1 includes a transmission side apparatus 1 that transmits an image data signal DATA line by line in synchronization with a horizontal synchronization signal HSYNC, and a reception side apparatus 2 that receives the image data signal DATA. For example, the transmission-side apparatus 1 is an apparatus that acquires an image data of an original image by controlling an image reading unit that optically reads an original image from an original. The reception-side apparatus 2 receives from the transmission-side apparatus 1. It is a device that executes various image processing on the processed image data.

送信側装置1は、1ライン分の画像データの転送期間を所定数で(ここでは等分に)分割して得られる複数の区間のそれぞれにおける画像データ信号DATA(つまり、送信すべき画像データ)のエラー検出データを生成し、画像データおよびエラー検出データを画像データ信号DATAとして送信する。   The transmission-side apparatus 1 has an image data signal DATA (that is, image data to be transmitted) in each of a plurality of sections obtained by dividing a transfer period of image data for one line by a predetermined number (here, equally). Error detection data is generated, and the image data and the error detection data are transmitted as an image data signal DATA.

受信側装置2は、画像データ信号DATAを受信し、画像データ信号DATA内のエラー検出データによってエラーが検出されたラインにおいて、エラーが検出された区間より前の区間については、エラーが検出されたラインの画像データを使用し、少なくともエラーが検出された区間については、エラーが検出されたラインの1ライン前のラインの画像データを使用して、画像処理を実行する。   The receiving side apparatus 2 receives the image data signal DATA, and an error is detected in a section before the section in which the error is detected in the line in which the error is detected by the error detection data in the image data signal DATA. Image processing is executed using the image data of the line one line before the line where the error is detected at least for the section where the error is detected using the image data of the line.

送信側装置1は、画像処理部11と、ラインメモリー制御部12と、ラインメモリー13−1,13−2と、積算回路14と、マルチプレクサー15と、MRE信号出力部16を備える。   The transmission side device 1 includes an image processing unit 11, a line memory control unit 12, line memories 13-1 and 13-2, an integration circuit 14, a multiplexer 15, and an MRE signal output unit 16.

画像処理部11は、画像データに対して所定の画像処理(例えば解像度変換など)を実行する。   The image processing unit 11 performs predetermined image processing (for example, resolution conversion) on the image data.

ラインメモリー制御部12は、画像処理後の画像データを1ラインずつ交互に、ラインメモリー13−1,13−2に書き込み、その画像データを1ラインずつ交互に、ラインメモリー13−1,13−2から読み出す。   The line memory control unit 12 writes the image data after image processing alternately line by line to the line memories 13-1 and 13-2, and alternately writes the image data line by line to the line memories 13-1 and 13-. Read from 2.

ラインメモリー制御部12は、水平同期信号HSYNCに同期して1ラインずつ画像データを積算回路14およびマルチプレクサー15へ出力し、画像データ信号DATAの転送期間において、画像有効信号MREをアサートする。   The line memory control unit 12 outputs the image data line by line to the integrating circuit 14 and the multiplexer 15 in synchronization with the horizontal synchronization signal HSYNC, and asserts the image valid signal MRE during the transfer period of the image data signal DATA.

ラインメモリー13−1,13−2は、ダブルバッファーを構成する。   The line memories 13-1 and 13-2 constitute a double buffer.

1ライン分の画像データの転送期間を所定数(ここでは、4)に分割して得られる複数の区間について、積算回路14は、区間ごとに、区間の先頭から、1画素ずつ画像データ信号DATAの値を積算していき、区間の画像データ信号DATAの積算値(つまり、その区間で送信すべき画像データの積算値)をエラー検出データとして計算する。ここでは、積算回路14は、ラインメモリー制御部12により出力される画像有効信号MREがアサートされている期間において、所定長の区間ごとに、区間の画像データ信号DATAの積算値を計算する。   For a plurality of sections obtained by dividing the transfer period of the image data for one line into a predetermined number (here, 4), the integration circuit 14 sets the image data signal DATA pixel by pixel from the beginning of each section. Then, the integrated value of the image data signal DATA in the section (that is, the integrated value of the image data to be transmitted in the section) is calculated as error detection data. Here, the integration circuit 14 calculates the integration value of the image data signal DATA of the section for each section having a predetermined length during the period in which the image valid signal MRE output by the line memory control unit 12 is asserted.

マルチプレクサー15は、画像有効信号MREがアサートされている期間において、まず、ラインメモリー制御部12からの画像データを選択し、画像データの後に、積算回路14からのエラー検出データを選択して、画像データ信号DATAとして出力する。これにより、画像データ信号DATAにおいて、送信すべき画像データに、エラー検出データが付加される。   The multiplexer 15 first selects the image data from the line memory control unit 12 during the period when the image valid signal MRE is asserted, selects the error detection data from the integrating circuit 14 after the image data, Output as image data signal DATA. Thereby, error detection data is added to the image data to be transmitted in the image data signal DATA.

ここでは、画像データ信号DATAは、8ビットの信号であり、画像データは、1画素につき、8ビットのデータであり、1クロックで1画素の画像データが転送される。また、各区間のエラー検出データは、24ビットのデータである。したがって、各区間のエラー検出データは、下位、中位、および上位の各8ビットの3つのデータに分割され、3つのデータとして画像データ信号DATAに含められる。   Here, the image data signal DATA is an 8-bit signal, the image data is 8-bit data per pixel, and image data of one pixel is transferred in one clock. The error detection data in each section is 24-bit data. Therefore, the error detection data in each section is divided into three data of each of the lower, middle, and upper 8 bits and is included in the image data signal DATA as three data.

つまり、エラー検出データは、画像データと同一の信号線を介して、画像データ信号DATAとして、送信側装置1から受信側装置2へ伝送される。   That is, the error detection data is transmitted from the transmission side apparatus 1 to the reception side apparatus 2 as the image data signal DATA through the same signal line as the image data.

MRE信号出力部16は、ラインメモリー制御部12により出力される画像有効信号MREのアサート期間を拡張して、アサート期間拡張後の画像有効信号MREを出力する。つまり、MRE信号出力部16は、ラインメモリー制御部12により出力される画像有効信号MREのアサート期間(つまり、画像データの転送期間)に加え、エラー検出データの転送期間において画像有効信号MREをアサートする。   The MRE signal output unit 16 extends the assertion period of the image valid signal MRE output from the line memory control unit 12 and outputs the image valid signal MRE after the assertion period extension. That is, the MRE signal output unit 16 asserts the image valid signal MRE in the error detection data transfer period in addition to the assertion period of the image valid signal MRE output from the line memory control unit 12 (that is, the image data transfer period). To do.

受信側装置2は、デマルチプレクサー21と、積算回路22と、比較回路23と、ラインメモリー制御部24と、ラインメモリー25−1,25−2と、画像処理部26とを備える。   The reception side device 2 includes a demultiplexer 21, an integration circuit 22, a comparison circuit 23, a line memory control unit 24, line memories 25-1 and 25-2, and an image processing unit 26.

デマルチプレクサー21は、受信された画像データ信号DATAを、画像データとエラー検出データとを互いに分離して出力する。具体的には、デマルチプレクサー21は、画像有効信号MREのアサート開始タイミングから、所定データ長である1ライン分の画像データを積算回路22およびラインメモリー制御部24へ出力し、後続のエラー検出データを比較回路23へ出力する。   The demultiplexer 21 outputs the received image data signal DATA by separating the image data and the error detection data from each other. Specifically, the demultiplexer 21 outputs image data for one line having a predetermined data length to the integration circuit 22 and the line memory control unit 24 from the assertion start timing of the image valid signal MRE, and detects subsequent errors. The data is output to the comparison circuit 23.

積算回路22は、区間ごとに、区間の先頭から、1画素ずつ画像データ信号DATAの値を積算していき、区間の画像データ信号DATA(つまり、画像データ)の積算値を計算する。具体的には、積算回路22は、画像有効信号MREのアサート開始タイミングを基準にして、各区間を特定し、特定した各区間の画像データのチェックサムを計算する。   The integration circuit 22 integrates the value of the image data signal DATA pixel by pixel from the beginning of the interval for each interval, and calculates the integrated value of the image data signal DATA (that is, image data) for the interval. Specifically, the integration circuit 22 identifies each section with reference to the assertion start timing of the image valid signal MRE, and calculates the checksum of the image data of each identified section.

比較回路23は、受信されたエラー検出データと、積算回路22により計算された画像データ信号DATAの積算値とを比較し、両者が一致するか否か(あるいは両者の差分が所定の閾値を超えたか否か)を示す比較結果を出力する。   The comparison circuit 23 compares the received error detection data with the integrated value of the image data signal DATA calculated by the integrating circuit 22, and determines whether or not they match (or the difference between the two exceeds a predetermined threshold value). A comparison result indicating whether or not) is output.

ラインメモリー制御部24は、比較結果に基づいてエラーが検出されていない場合、受信した画像データ信号DATA内の画像データを1ラインずつ交互にラインメモリー25−1,25−2に書き込み、画像データを1ラインずつ交互にラインメモリー25−1,25−2から読み出す。   When no error is detected based on the comparison result, the line memory control unit 24 alternately writes the image data in the received image data signal DATA to the line memories 25-1 and 25-2 line by line, and the image data Are alternately read from the line memories 25-1 and 25-2 line by line.

比較結果に基づいてエラーが検出された場合、ラインメモリー制御部24は、エラーが検出されたラインの画像データとして、エラーが検出された区間より前の区間については、エラーが検出されたラインの画像データを、ラインメモリー25−1,25−2の一方から読み出し、少なくともエラーが検出された区間については、エラーが検出されたラインの1ライン前のラインの画像データをラインメモリー25−1,25−2の他方から読み出す。   When an error is detected based on the comparison result, the line memory control unit 24, as the image data of the line where the error is detected, for the section before the section where the error is detected, Image data is read from one of the line memories 25-1 and 25-2, and at least for the section in which an error is detected, the image data of the line one line before the line in which the error is detected is stored in the line memories 25-1, 25-1. Read from the other of 25-2.

ラインメモリー25−1,25−2は、ダブルバッファーを構成する。   The line memories 25-1 and 25-2 constitute a double buffer.

画像処理部26は、ラインメモリー25−1,25−2から読み出された画像データに対して所定の画像処理を実行する。   The image processing unit 26 performs predetermined image processing on the image data read from the line memories 25-1 and 25-2.

次に、上記画像処理装置の動作について説明する。   Next, the operation of the image processing apparatus will be described.

図2は、図1における送信側装置1から送信される信号(水平同期信号HSYNC、画像有効信号MRE、および画像データ信号DATA)を示すタイミングチャートである。図3は、実施の形態1における受信側装置2の動作を説明するタイミングチャートである。図4は、実施の形態1における受信側装置2の動作の詳細を説明するタイミングチャートである。   FIG. 2 is a timing chart showing signals (horizontal synchronization signal HSYNC, image valid signal MRE, and image data signal DATA) transmitted from the transmission-side device 1 in FIG. FIG. 3 is a timing chart for explaining the operation of the reception-side device 2 in the first embodiment. FIG. 4 is a timing chart illustrating details of the operation of the reception-side device 2 in the first embodiment.

送信側装置1は、上述のように、水平同期信号HSYNC、画像有効信号MRE、および画像データ信号DATAを送信する。   As described above, the transmission-side device 1 transmits the horizontal synchronization signal HSYNC, the image valid signal MRE, and the image data signal DATA.

図2に示すように、画像データ信号DATA内の画像データの複数の区間#1〜#4のそれぞれについての積算値であるエラー検出データが、画像データ信号DATAに続いて出力される。   As shown in FIG. 2, error detection data that is an integrated value for each of a plurality of sections # 1 to # 4 of the image data in the image data signal DATA is output following the image data signal DATA.

そして、画像データ信号DATAおよびエラー検出データの転送期間において画像有効信号MREがアサートされる。   Then, the image valid signal MRE is asserted in the transfer period of the image data signal DATA and the error detection data.

他方、受信側装置2は、水平同期信号HSYNC、画像有効信号MRE、および画像データ信号DATAを受信し、さらに、画像データ信号DATA内の各区間のエラー検出データを受信し、各ラインの各区間について、受信したエラー検出データと、その区間の受信した画像データ信号DATAの積算値とに基づいて、エラーが発生しているか否かを判定する。   On the other hand, the receiving side device 2 receives the horizontal synchronization signal HSYNC, the image valid signal MRE, and the image data signal DATA, and further receives error detection data of each section in the image data signal DATA, and each section of each line. , Whether or not an error has occurred is determined based on the received error detection data and the integrated value of the received image data signal DATA in that interval.

図3に示すように、エラーが検出されなければ、受信した画像データ信号DATAに基づく画像データが、1ラインずつ交互に、ラインメモリー25−1,25−2に書き込まれていき、1ラインずつ交互に、ラインメモリー25−1,25−2から読み出されていく。   As shown in FIG. 3, if no error is detected, the image data based on the received image data signal DATA is alternately written to the line memories 25-1 and 25-2 line by line, line by line. The data is alternately read from the line memories 25-1 and 25-2.

そして、あるライン(i)について、ある区間#j(例えば図3では区間#3)でエラーが検出されると、図3および図4に示すように、区間#jより前の区間(図3および図4では区間#1,#2)の画像データとして、ラインメモリー25−2の画像データ(つまりライン(i)の画像データ)から読み出されるが、区間#jおよびそれより後の区間(図3および図4では区間#3,#4)の画像データとして、ラインメモリー25−1の画像データ(つまりライン(i−1)の画像データ)が読み出され使用される。   Then, when an error is detected in a certain section #j (for example, section # 3 in FIG. 3) for a certain line (i), as shown in FIGS. 3 and 4, the section before the section #j (FIG. 3). 4 and FIG. 4, the image data of the section # 1, # 2) is read from the image data in the line memory 25-2 (that is, the image data of the line (i)). In FIG. 3 and FIG. 4, the image data of the line memory 25-1 (that is, the image data of the line (i-1)) is read and used as the image data of the sections # 3 and # 4).

なお、ラインメモリー25−1,25−2にはデュアルアクセス可能なメモリーが使用され、ラインメモリー25−1の画像データのリードが完了した部分から順次、ライン(i+1)の画像データが上書きされていく。   The line memories 25-1 and 25-2 use dual accessible memories, and the image data of the line (i + 1) is overwritten sequentially from the portion where the reading of the image data of the line memory 25-1 is completed. Go.

このように、実施の形態1では、ラインメモリー制御部24は、エラー検出データによってエラーが検出されたライン(i)において、(a)エラーが検出された区間より前の区間(図3および図4では区間#1,#2)について、エラーが検出されたラインの画像データをラインメモリー25−1,25−2の一方(図3および図4では、ラインメモリー25−2)から読み出し、(b)少なくともエラーが検出された区間については、ラインメモリー25−1,25−2の他方(図3および図4では、ラインメモリー25−1)から、エラーが検出されたラインの1ライン前のライン(i−1)の画像データを読み出し、ラインメモリー25−1,25−2の他方(図3および図4では、ラインメモリー25−1)からの読み出しに並行して、ラインメモリー25−1,25−2の他方(図3および図4では、ラインメモリー25−1)への、エラーが検出されたライン(i)の次のライン(i+1)の画像データの書き込みを実行する。   As described above, in the first embodiment, the line memory control unit 24, in the line (i) where the error is detected by the error detection data, (a) the section before the section where the error is detected (FIG. 3 and FIG. 4, the image data of the line in which the error is detected is read from one of the line memories 25-1 and 25-2 (in FIG. 3 and FIG. 4, the line memory 25-2) for the section # 1 and # 2). b) At least for the section in which an error is detected, the line memory 25-1, 25-2 (line memory 25-1 in FIGS. 3 and 4) from the other of the line memories 25-1, 25-2 Reads the image data of the line (i-1) and is parallel to the reading from the other of the line memories 25-1 and 25-2 (the line memory 25-1 in FIGS. 3 and 4). The image data of the line (i + 1) next to the line (i) where the error is detected is transferred to the other of the line memories 25-1 and 25-2 (line memory 25-1 in FIGS. 3 and 4). Perform writing.

また、実施の形態1では、ラインメモリー制御部24は、エラー検出データによってエラーが検出されたライン(i)において、エラーが検出された区間およびエラーが検出された区間より後の区間(図3および図4では、区間#3,#4)については、ラインメモリー25−1,25−2の他方(図3および図4では、ラインメモリー25−1)から読み出し、ラインメモリー25−1,25−2の他方から(図3および図4では、ラインメモリー25−1)の読み出しに並行して、ラインメモリー25−1,25−2の他方(図3および図4では、ラインメモリー25−1)への、エラーが検出されたライン(i)の次のライン(i+1)の画像データの書き込みを実行する。   In the first embodiment, the line memory control unit 24, in the line (i) where the error is detected by the error detection data, the section in which the error is detected and the section after the section in which the error is detected (FIG. 3). In FIG. 4 and FIG. 4, the section # 3, # 4) is read from the other of the line memories 25-1, 25-2 (the line memory 25-1 in FIGS. 3 and 4), and the line memories 25-1, 25 are read. -2 (in FIG. 3 and FIG. 4, the line memory 25-1) is read in parallel with the other of the line memories 25-1 and 25-2 (in FIG. 3 and FIG. 4, in the line memory 25-1). ), The image data of the line (i + 1) following the line (i) where the error is detected is written.

以上のように、上記実施の形態1によれば、送信側装置1は、1ライン分の画像データの転送期間を所定数で分割して得られる複数の区間のそれぞれにおける画像データのエラー検出データを生成し、画像データおよびエラー検出データを画像データ信号DATAとして送信する。受信側装置2は、画像データ信号DATAを受信し、画像データ信号DATA内のエラー検出データによってエラーが検出されたラインにおいて、エラーが検出された区間より前の区間については、エラーが検出されたラインの画像データを使用し、少なくともエラーが検出された区間については、エラーが検出されたラインの1ライン前のラインの画像データを使用する。   As described above, according to the first embodiment, the transmission-side apparatus 1 detects error detection data of image data in each of a plurality of sections obtained by dividing a transfer period of image data for one line by a predetermined number. And the image data and error detection data are transmitted as an image data signal DATA. The receiving side apparatus 2 receives the image data signal DATA, and an error is detected in a section before the section in which the error is detected in the line in which the error is detected by the error detection data in the image data signal DATA. The image data of the line is used, and at least for the section where the error is detected, the image data of the line one line before the line where the error is detected is used.

これにより、エラーが発生していない有効な画素の画像を多く破棄することなく、エラーが発生した箇所が補正される。   Thereby, the location where the error has occurred is corrected without discarding many images of valid pixels in which no error has occurred.

実施の形態1では、エラーが検出されたラインについて、エラーが検出された区間より前の区間の画像として、エラーが検出されたラインの画像が、そのまま使用され、エラーが検出された区間以降の区間の画像として、エラーが検出されたラインの1つ前のラインの画像が使用される。したがって、エラーが検出された区間より前の区間の画像は破棄されずに使用される。また、エラーが検出された区間については1ライン前の画像が使用されるため、連続的にエラーが発生しても、エラーが発生した箇所の画像が単一の値にならずに済む。   In the first embodiment, for the line in which the error is detected, the image of the line in which the error is detected is used as it is as the image in the section before the section in which the error is detected. As the image of the section, the image of the line immediately before the line where the error is detected is used. Therefore, the image in the section before the section in which the error is detected is used without being discarded. In addition, since the image one line before is used for the section in which the error is detected, even if errors occur continuously, the image where the error occurs does not have to be a single value.

実施の形態2. Embodiment 2. FIG.

図5は、実施の形態2における受信側装置2の動作を説明するタイミングチャートである。実施の形態2では、図5に示すように、ラインメモリー制御部24は、エラー検出データによってエラーが検出されたライン(i)において、エラーが検出された区間(図5では区間#3)より後の区間(図5では、区間#4)については、ラインメモリー25−1,25−2の一方(図5では、ラインメモリー25−2)から、エラーが検出されたライン(i)の画像データを読み出す。つまり、実施の形態2では、エラーが検出されたライン(i)の画像データとして、エラーが検出された区間については、1つ前のライン(i−1)の画像データが使用され、それ以外の区間については、そのライン(i)の画像データが使用される。   FIG. 5 is a timing chart for explaining the operation of the reception-side device 2 in the second embodiment. In the second embodiment, as shown in FIG. 5, the line memory control unit 24 starts from the section where the error is detected (section # 3 in FIG. 5) in the line (i) where the error is detected by the error detection data. For the subsequent section (section # 4 in FIG. 5), the image of the line (i) in which an error is detected from one of the line memories 25-1 and 25-2 (line memory 25-2 in FIG. 5). Read data. That is, in the second embodiment, the image data of the previous line (i-1) is used for the section in which the error is detected as the image data of the line (i) in which the error is detected. The image data of the line (i) is used for the section.

なお、実施の形態2に係る画像処理装置のその他の構成および動作については実施の形態1のものと同様であるので、その説明を省略する。   Note that other configurations and operations of the image processing apparatus according to the second embodiment are the same as those of the first embodiment, and thus description thereof is omitted.

実施の形態3. Embodiment 3 FIG.

図6は、実施の形態3における受信側装置2の動作の詳細を説明するタイミングチャートである。実施の形態3では、図6に示すように、画像データ信号DATAにおいて、画像データとエラー検出データとの間に所定の間隔が設けられ、送信側装置1から出力される画像有効信号MREは、その画像データの転送期間においてアサートされ、その間隔においてネゲートされ、エラー検出データの転送期間において再度アサートされる。   FIG. 6 is a timing chart for explaining details of the operation of the reception-side device 2 in the third embodiment. In the third embodiment, as shown in FIG. 6, in the image data signal DATA, a predetermined interval is provided between the image data and the error detection data, and the image valid signal MRE output from the transmission side apparatus 1 is Asserted in the transfer period of the image data, negated in the interval, and asserted again in the transfer period of the error detection data.

これにより、画像有効信号MREのアサート期間に基づいて、画像データとエラー検出データとが互いに正確に分離される。つまり、ノイズなどのエラーによって画像データのデータ長が変化しても、エラー検出データは、画像有効信号MREの2つ目のアサート期間に同期しているため、正確に抽出される。   Thereby, the image data and the error detection data are accurately separated from each other based on the assertion period of the image valid signal MRE. That is, even if the data length of the image data changes due to errors such as noise, the error detection data is accurately extracted because it is synchronized with the second assertion period of the image valid signal MRE.

なお、実施の形態3に係る画像処理装置のその他の構成および動作については実施の形態1または実施の形態2のものと同様であるので、その説明を省略する。   Note that other configurations and operations of the image processing apparatus according to the third embodiment are the same as those in the first or second embodiment, and thus description thereof is omitted.

なお、上述の実施の形態に対する様々な変更および修正については、当業者には明らかである。そのような変更および修正は、その主題の趣旨および範囲から離れることなく、かつ、意図された利点を弱めることなく行われてもよい。つまり、そのような変更および修正が請求の範囲に含まれることを意図している。   Various changes and modifications to the above-described embodiment will be apparent to those skilled in the art. Such changes and modifications may be made without departing from the spirit and scope of the subject matter and without diminishing its intended advantages. That is, such changes and modifications are intended to be included within the scope of the claims.

例えば、上記実施の形態では、各区間のエラー検出データとして、各区間の画像データ信号DATAの積算値(つまり、チェックサム)が使用されているが、その代わりに、各区間の画像データ信号DATAから得られる既知のエラー検出符号(パリティなど)を使用してもよい。   For example, in the above embodiment, the integrated value (that is, checksum) of the image data signal DATA of each section is used as error detection data of each section. Instead, the image data signal DATA of each section is used. A known error detection code (parity or the like) obtained from the above may be used.

本発明は、例えば、複合機などの画像形成装置に適用可能である。   The present invention is applicable to an image forming apparatus such as a multifunction machine.

1 送信側装置
2 受信側装置
1 Transmitting device 2 Receiving device

Claims (5)

画像データ信号を送信する送信側装置と、
前記画像データ信号を受信する受信側装置とを備え、
前記送信側装置は、1ライン分の画像データの転送期間を所定数で分割して得られる複数の区間のそれぞれにおける画像データのエラー検出データを生成し、前記画像データおよび前記エラー検出データを画像データ信号として送信し、
前記受信側装置は、前記画像データ信号を受信し、前記画像データ信号内の前記エラー検出データによってエラーが検出されたラインにおいて、前記エラーが検出された区間より前の区間については、前記エラーが検出されたラインの画像データを使用し、少なくとも前記エラーが検出された区間については、前記エラーが検出されたラインの1ライン前のラインの画像データを使用すること、
を特徴とする画像処理装置。
A transmitting side device for transmitting an image data signal;
A receiving side device for receiving the image data signal,
The transmission side device generates error detection data of image data in each of a plurality of sections obtained by dividing a transfer period of image data for one line by a predetermined number, and the image data and the error detection data are converted into an image. Send as data signal,
The receiving side device receives the image data signal, and in the line where the error is detected by the error detection data in the image data signal, the error is detected in a section before the section where the error is detected. Using image data of the detected line, and using image data of a line one line before the line in which the error is detected, at least for a section in which the error is detected;
An image processing apparatus.
前記受信側装置は、第1ラインメモリーおよび第2ラインメモリーを備えるダブルバッファーと、ラインメモリー制御部とを備え、
前記ラインメモリー制御部は、受信した前記画像データ信号内の前記画像データを1ラインずつ交互に前記第1ラインメモリーおよび前記第2ラインメモリーに書き込み、前記画像データを1ラインずつ交互に前記第1ラインメモリーおよび前記第2ラインメモリーから読み出し、
前記ラインメモリー制御部は、前記エラー検出データによってエラーが検出されたラインにおいて、(a)前記エラーが検出された区間より前の区間について、前記エラーが検出されたラインの画像データを前記第1ラインメモリーおよび前記第2ラインメモリーの一方から読み出し、(b)少なくとも前記エラーが検出された区間については、前記第1ラインメモリーおよび前記第2ラインメモリーの他方から、前記エラーが検出されたラインの1ライン前の画像データを読み出し、前記第1ラインメモリーおよび前記第2ラインメモリーの前記他方からの読み出しに並行して、前記第1ラインメモリーおよび前記第2ラインメモリーの前記他方への前記エラーが検出されたラインの次のラインの画像データの書き込みを実行すること、
を特徴とする請求項1記載の画像処理装置。
The receiving side device includes a double buffer including a first line memory and a second line memory, and a line memory control unit,
The line memory control unit writes the image data in the received image data signal alternately to the first line memory and the second line memory line by line, and writes the image data line by line to the first line memory. Read from the line memory and the second line memory;
The line memory control unit includes: (a) image data of the line in which the error is detected in a section before the section in which the error is detected in the line in which the error is detected by the error detection data; Read from one of the line memory and the second line memory. (B) At least for the section in which the error is detected, from the other of the first line memory and the second line memory, In parallel with reading from the other one of the first line memory and the second line memory, the error to the other of the first line memory and the second line memory is read out. Executing writing of the image data of the line next to the detected line;
The image processing apparatus according to claim 1.
前記ラインメモリー制御部は、前記エラー検出データによってエラーが検出されたラインにおいて、前記エラーが検出された区間より後の区間については、前記第1ラインメモリーおよび前記第2ラインメモリーの前記他方から、前記エラーが検出されたラインの1ライン前の画像データを読み出し、前記第1ラインメモリーおよび前記第2ラインメモリーの前記他方からの読み出しに並行して、前記第1ラインメモリーおよび前記第2ラインメモリーの前記他方への前記エラーが検出されたラインの次のラインの画像データの書き込みを実行することを特徴とする請求項2記載の画像処理装置。   The line memory control unit, in a line in which an error is detected by the error detection data, for a section after the section in which the error is detected, from the other of the first line memory and the second line memory, The first line memory and the second line memory are read in parallel with the reading from the other of the first line memory and the second line memory, reading image data one line before the line where the error is detected. 3. The image processing apparatus according to claim 2, wherein writing of image data of a line next to the line in which the error is detected is executed to the other of the two. 前記ラインメモリー制御部は、前記エラー検出データによってエラーが検出されたラインにおいて、前記エラーが検出された区間より後の区間については、前記第1ラインメモリーおよび前記第2ラインメモリーの前記一方から、前記エラーが検出されたラインの画像データを読み出すことを特徴とする請求項2記載の画像処理装置。   The line memory control unit, in a line in which an error is detected by the error detection data, for a section after the section in which the error is detected, from the one of the first line memory and the second line memory, The image processing apparatus according to claim 2, wherein image data of a line in which the error is detected is read out. 前記送信側装置は、前記画像データ信号における前記画像データの転送期間および前記エラー検出データの転送期間において、画像有効信号をアサートし、前記画像データの転送期間および前記エラー検出データの転送期間の間の間隔において、前記画像有効信号をネゲートし、
前記受信側装置は、前記画像有効信号のアサート期間に基づいて、前記画像データ信号を、前記画像データと前記エラー検出データとに分離すること、
を特徴とする請求項1記載の画像処理装置。
The transmission-side device asserts an image valid signal in the image data transfer period and the error detection data transfer period in the image data signal, and between the image data transfer period and the error detection data transfer period In the interval, the image valid signal is negated,
The receiving side device separates the image data signal into the image data and the error detection data based on an assertion period of the image valid signal;
The image processing apparatus according to claim 1.
JP2015237289A 2015-12-04 2015-12-04 Image processing device Expired - Fee Related JP6414702B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015237289A JP6414702B2 (en) 2015-12-04 2015-12-04 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015237289A JP6414702B2 (en) 2015-12-04 2015-12-04 Image processing device

Publications (2)

Publication Number Publication Date
JP2017103698A true JP2017103698A (en) 2017-06-08
JP6414702B2 JP6414702B2 (en) 2018-10-31

Family

ID=59017585

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015237289A Expired - Fee Related JP6414702B2 (en) 2015-12-04 2015-12-04 Image processing device

Country Status (1)

Country Link
JP (1) JP6414702B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH025680A (en) * 1988-06-24 1990-01-10 Sony Corp Picture data reception equipment
JP2003122649A (en) * 2001-10-10 2003-04-25 Ricoh Co Ltd Image interface circuit
JP2012056161A (en) * 2010-09-08 2012-03-22 Kyocera Mita Corp Image processor and image forming apparatus
JP2013046963A (en) * 2011-08-29 2013-03-07 Kyocera Document Solutions Inc Image data transfer apparatus and image forming apparatus including the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH025680A (en) * 1988-06-24 1990-01-10 Sony Corp Picture data reception equipment
JP2003122649A (en) * 2001-10-10 2003-04-25 Ricoh Co Ltd Image interface circuit
JP2012056161A (en) * 2010-09-08 2012-03-22 Kyocera Mita Corp Image processor and image forming apparatus
JP2013046963A (en) * 2011-08-29 2013-03-07 Kyocera Document Solutions Inc Image data transfer apparatus and image forming apparatus including the same

Also Published As

Publication number Publication date
JP6414702B2 (en) 2018-10-31

Similar Documents

Publication Publication Date Title
JP2013078378A5 (en)
JP2013078377A5 (en)
JP6531513B2 (en) Serial communication apparatus and serial communication method
US10257795B2 (en) Signal conversion apparatus, signal restoration apparatus and information processing apparatus
CN103888693A (en) Image transmission device
US9876974B2 (en) Endoscope
JP6049554B2 (en) Image processing device
KR101770938B1 (en) Transmission device, reception device, and transmission/reception system
US8885188B2 (en) Communication system for transmitting multiple pulse signals, transmission circuit, reception circuit, and image forming apparatus
JP6414702B2 (en) Image processing device
US10057524B2 (en) Image capturing apparatus
KR20110062326A (en) Signal interface type converter
US10044535B2 (en) Serial communication apparatus, communication system, and method for communication
US11930296B2 (en) Transmission device, reception device, and transmission system with padding code insertion
JP2009177331A (en) Image signal transfer system, method, and imaging device with the transfer system
KR20140036697A (en) Apparatus for transmitting image data
JPWO2017183706A1 (en) Multiplexer and photographing apparatus including the multiplexer
US9661192B2 (en) Video signal transmission apparatus
JP6528590B2 (en) Image pickup apparatus and image data processing method
JP2011077602A (en) Image transfer device, and image forming device
JP6922259B2 (en) Image transfer system, image transfer device, and image transfer method
US20150189108A1 (en) Transmission circuit and camera system
JP6107119B2 (en) Image data transfer system
JP5383147B2 (en) Communication control device
JP2024053934A (en) Transmitting device, receiving device, and transmitting/receiving system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180824

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180906

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180919

R150 Certificate of patent or registration of utility model

Ref document number: 6414702

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees