JP2010021932A - Image processing apparatus, image processing method, and program - Google Patents
Image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- JP2010021932A JP2010021932A JP2008182635A JP2008182635A JP2010021932A JP 2010021932 A JP2010021932 A JP 2010021932A JP 2008182635 A JP2008182635 A JP 2008182635A JP 2008182635 A JP2008182635 A JP 2008182635A JP 2010021932 A JP2010021932 A JP 2010021932A
- Authority
- JP
- Japan
- Prior art keywords
- pixel data
- image
- pixel
- data
- end signal
- 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
Links
Images
Landscapes
- Control Or Security For Electrophotography (AREA)
- Image Processing (AREA)
- Facsimiles In General (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は、サムネイル画像を作成する技術に関する。 The present invention relates to a technique for creating a thumbnail image.
スキャナユニットを介して画像を外部から入力し、画像処理を施した上でデータをプロッタ等に出力する装置(デジタルコピー機等)において、コピー動作と平行してサムネイル画像を作成することがある。スキャナユニットにはADF(Auto Document Feeder)による原稿を自動的に読み込む機能を持ったスキャナユニットも存在する。ADF機能を使いスキャナユニットから画像を取り込む場合、1枚の画像のサイズは、画像入力前には確定することが出来ない。すなわちスキャナユニットで1枚の画像を取り込み終了した時点で初めて画像サイズが分かるのである。 In an apparatus (digital copier or the like) that inputs an image from the outside via a scanner unit, performs image processing, and outputs data to a plotter or the like, a thumbnail image may be created in parallel with the copying operation. Some scanner units have a function of automatically reading a document by an ADF (Auto Document Feeder). When an image is captured from the scanner unit using the ADF function, the size of one image cannot be determined before image input. That is, the image size can be known only when one image is captured by the scanner unit.
一方、スキャナユニットから入力された画像をプロッタ等に出力する前に集積回路を用いた画像処理が行われる。この画像処理は所望の画質を得るためにいくつかの画像処理が順次的に行われる。この際、前段の画像処理から後段の画像処理に画像が逐次伝送されていく。例えば、入力された画像データを処理する集積回路(以降、画像処理ASICとする)には画像処理を行うために複数の画像処理モジュールが含まれている。入力された画像データは縦列に接続された画像処理モジュールで処理がなされる。 On the other hand, image processing using an integrated circuit is performed before an image input from the scanner unit is output to a plotter or the like. In this image processing, several image processes are sequentially performed in order to obtain a desired image quality. At this time, the images are sequentially transmitted from the preceding image processing to the subsequent image processing. For example, an integrated circuit (hereinafter referred to as an image processing ASIC) that processes input image data includes a plurality of image processing modules for performing image processing. The input image data is processed by an image processing module connected in a column.
画像が伝送される際、画像データとともに独立した符号として、画像のラインの終端を示す符号(EOL:End Of Line)と画像の終端を示す符号(EOF:End Of File)を制御のためにあわせて伝送する。 When an image is transmitted, a code (EOL: End Of Line) indicating the end of the line of the image and a code (EOF: End Of File) indicating the end of the image are matched for control purposes as independent codes together with the image data. And transmit.
ある画像処理において入力画像と出力画像のサイズが等しい場合、EOL、EOFは入力された画像とEOL、EOFの関係をそのままにして出力すれば問題は発生しない。 If the size of the input image and the output image is the same in a certain image process, there will be no problem if EOL and EOF are output with the relationship between the input image and EOL and EOF as they are.
しかし、画像の縮小・拡大を行う画像処理では入力画像と出力画像のサイズが一致しない。このような画像処理ではEOLとEOFを出力後の画像サイズを考慮して後段に出力する必要がある。 However, the size of the input image does not match the size of the output image in image processing that reduces or enlarges the image. In such image processing, it is necessary to output EOL and EOF to the subsequent stage in consideration of the image size after output.
縮小画像を作成する画像処理において、入力画像の画像サイズと縮小率の積が整数である場合、縮小後のサイズは得られた積と一致する。 In image processing for creating a reduced image, when the product of the image size and the reduction ratio of the input image is an integer, the size after reduction matches the obtained product.
しかし、画像サイズと縮小率の積に小数点以下の値が発生する場合、入力画像に端部が発生してしまう。画像下端部の出力方法としては下記の3つが考えられる。
対応策1.画像処理計算で端部処理を行い、端部の結果を出力する。
対応策2.端部には画像処理を行わず、対応する出力部分にはダミーデータを出力する。
対応策3.その画像に対して画像処理結果を出力しない。すなわち端部は切捨てる。
However, when a value after the decimal point is generated in the product of the image size and the reduction ratio, an edge portion is generated in the input image. The following three methods can be considered as the output method of the lower end of the image.
Countermeasure 3. The image processing result is not output for the image. That is, the end is cut off.
ASICへの実装に際して、対応策1では、回路数が増加してしまうという問題が発生する。対応策2では、回路数は増えないものの、端部に入力画像データとは無関係のデータが入ってしまうという問題が発生する。一方、対応策3では、回路数は増えず、かつ端部に入力画像と無関係のデータが入らない。このため対応策3を用い、縮小画像処理ではデータを生成することが望ましい。
When mounting on the ASIC, the
ここで、端部処理を行う前の画素から作られる画像に対してEOFを送出しなくてはいけない。端部処理により削除される画像データにEOFが含まれる場合がある。この場合、端部処理前の最終画素と一緒にEOF信号を送出する必要がある。しかし、ADFを使って画像データが入力される場合、そのままデータを送出していると、端部処理前の最終画素を送出する前に、縮小モジュールが画像サイズが未知のままである場合が発生する。この場合はEOF信号を送出することができない。このため、従来法では、上記対応策2のように最終ラインにダミーデータを付加する必要があった。
Here, the EOF must be sent to the image created from the pixels before the end processing. In some cases, EOF is included in the image data deleted by the edge processing. In this case, it is necessary to send an EOF signal together with the final pixel before the end processing. However, when image data is input using ADF, if the data is sent as it is, the reduction module may leave the image size unknown before sending the final pixel before edge processing. To do. In this case, the EOF signal cannot be transmitted. Therefore, in the conventional method, it is necessary to add dummy data to the last line as in the
ところで、画像の本流パスにおいては、スキャナユニットで画像データを入力してから縮小画像を生成するまでに、さまざまな画像処理を行う。この画像処理の過程でラインバッファが挿入される。このためEOF信号が来る前に画像サイズを得ることができる。よって、本来的に上記の問題は発生しない。すなわち、画像の縮小・拡大を行う画像処理では入力画像と出力画像のサイズが一致しなく、また、画像サイズと縮小率の積に小数点以下の値が発生する場合、入力画像に端部が発生してしまい、ADFを使って画像データが入力される場合、端部処理前の最終画素を送出する前に、縮小モジュールが画像サイズが未知のままである場合が発生しEOF信号を送出することができないという問題は発生しない。 By the way, in the main image path, various image processes are performed from when image data is input by the scanner unit to when a reduced image is generated. A line buffer is inserted in the course of this image processing. For this reason, the image size can be obtained before the EOF signal comes. Therefore, the above problem does not inherently occur. In other words, when the image processing that reduces or enlarges the image does not match the size of the input image and the output image, and the product of the image size and the reduction ratio generates a value after the decimal point, an edge is generated in the input image Thus, when image data is input using ADF, before the final pixel before edge processing is sent, the reduction module may still have an unknown image size and send an EOF signal. The problem of not being able to occur does not occur.
しかし、サムネイルパスにおいては、スキャナユニットで画像を入力してから縮小画像であるサムネイル画像を生成するまでに存在する画像処理が本流パスと比較して少ない。このため、サムネイルパスで挿入されるラインバッファが本流パスと比較して少ない。よって、EOF信号が来る前に画像サイズを得ることが出来ない状態が発生しうるため、上記の問題が生ずる。 However, in the thumbnail path, there is less image processing that exists between the input of an image by the scanner unit and the generation of a thumbnail image, which is a reduced image, compared to the main path. For this reason, the number of line buffers inserted in the thumbnail path is smaller than that in the main path. Therefore, a state in which the image size cannot be obtained before the EOF signal arrives may occur, thus causing the above problem.
上記のサムネイル画像に関連する技術として、印刷結果のプレビュー画像を生成する画像形成装置にかかる技術が特許文献1に開示されている。
サムネイルパスにおいて上記の問題を解決するために、ラインバッファを挿入して遅延を増やす方法も考えられる。しかし、ラインバッファの挿入はコストが増加するため現実的ではない。 In order to solve the above problem in the thumbnail path, a method of increasing the delay by inserting a line buffer is also conceivable. However, the insertion of a line buffer is not realistic because of increased costs.
このため、サムネイル画像の生成に際して、端部の画像処理を行わず、かつラインバッファの挿入を行わず、かつダミーデータを出力しないで縮小画像を得る手法が求められていた。 For this reason, when generating a thumbnail image, a method for obtaining a reduced image without performing edge image processing, without inserting a line buffer, and without outputting dummy data has been demanded.
本発明は上述のごとき実情に鑑みてなされたもので、その目的は、サムネイル画像の生成に際して、端部の画像処理を行わず、かつラインバッファの挿入を行わず、かつダミーデータを出力しないで縮小画像を得ることができる画像処理装置、画像処理方法およびプログラムを提供することにある。 The present invention has been made in view of the above circumstances, and its purpose is not to perform edge image processing, insert a line buffer, and output dummy data when generating a thumbnail image. An object is to provide an image processing apparatus, an image processing method, and a program capable of obtaining a reduced image.
請求項1に記載の発明は、ADFから読み取った画像データを縮小する画像処理装置であって、
ライン数が未確定の時に、入力された画素データがライン終端である場合、終了信号を出力すべき画素であるか否かが分かるまで画素データを保持し続け、
次のラインの画素データが入力された場合は、前記保持していた画素データを終了信号を付加することなく出力し、
縮小後のライン数が確定し、前記保持していた画素データが最終画素であることが分かった場合は、前記保持していた画素データに終了信号を付加して出力することを特徴とする画像処理装置である。
The invention according to
If the input pixel data is the end of the line when the number of lines is uncertain, the pixel data continues to be held until it is determined whether the pixel is to output an end signal,
When the pixel data of the next line is input, the held pixel data is output without adding an end signal,
An image characterized in that when the number of lines after reduction is determined and the pixel data held is the final pixel, an end signal is added to the held pixel data and output. It is a processing device.
請求項2に記載の発明は、縮小手段と、終了信号発生手段と、を備える、ADFから読み取った画像データを縮小する画像処理装置であって、
前記終了信号発生手段は、ライン数が未確定の時に、前記縮小手段から入力された画素データがライン終端である場合、終了信号を出力すべき画素であるか否かが分かるまで画素データを保持し続け、
前記終了信号発生手段は、前記縮小手段から次のラインの画素データが入力された場合は、前記保持していた画素データを終了信号を付加することなく出力し、
前記終了信号発生手段は、縮小後のライン数が確定し、前記保持していた画素データが最終画素であることが分かった場合は、前記保持していた画素データに終了信号を付加して出力することを特徴とする画像処理装置である。
The invention according to
The end signal generation means holds the pixel data until it is determined whether the end signal is to be output if the pixel data input from the reduction means is the end of the line when the number of lines is uncertain. Continue
The end signal generation means outputs the held pixel data without adding an end signal when the pixel data of the next line is input from the reduction means,
The end signal generation means adds the end signal to the held pixel data and outputs when the number of lines after the reduction is determined and it is found that the held pixel data is the last pixel. An image processing apparatus characterized in that:
請求項5に記載の発明は、ADFから読み取った画像データを縮小する画像処理方法であって、
ライン数が未確定の時に、入力された画素データがライン終端である場合、終了信号を出力すべき画素であるか否かが分かるまで画素データを保持し続けるステップと、
次のラインの画素データが入力された場合は、前記保持していた画素データを終了信号を付加することなく出力するステップと、
縮小後のライン数が確定し、前記保持していた画素データが最終画素であることが分かった場合は、前記保持していた画素データに終了信号を付加して出力するステップとを有することを特徴とする画像処理方法である。
The invention according to claim 5 is an image processing method for reducing image data read from an ADF,
If the input pixel data is the end of the line when the number of lines is uncertain, the step of continuing to hold the pixel data until it is determined whether the end signal is a pixel to be output; and
When pixel data of the next line is input, outputting the held pixel data without adding an end signal;
And a step of adding an end signal to the held pixel data and outputting when the number of lines after the reduction is determined and it is found that the held pixel data is the final pixel. This is a featured image processing method.
請求項6に記載の発明は、ADFから読み取った画像データを縮小する画像処理装置に、
ライン数が未確定の時に、入力された画素データがライン終端である場合、終了信号を出力すべき画素であるか否かが分かるまで画素データを保持し続ける処理と、
次のラインの画素データが入力された場合は、前記保持していた画素データを終了信号を付加することなく出力する処理と、
縮小後のライン数が確定し、前記保持していた画素データが最終画素であることが分かった場合は、前記保持していた画素データに終了信号を付加して出力する処理とを実行させることを特徴とするプログラムである。
The invention according to claim 6 is an image processing apparatus for reducing image data read from an ADF.
When the input pixel data is the end of the line when the number of lines is uncertain, a process of continuing to hold the pixel data until it is determined whether the end signal is a pixel to be output; and
When pixel data of the next line is input, a process of outputting the held pixel data without adding an end signal;
When the number of lines after reduction is determined and it is found that the held pixel data is the last pixel, a process of adding an end signal to the held pixel data and outputting it is executed. Is a program characterized by
サムネイル画像の生成に際して、端部の画像処理を行わず、かつラインバッファの挿入を行わず、かつダミーデータを出力しないで縮小画像を得ることができる。 When generating a thumbnail image, it is possible to obtain a reduced image without performing edge image processing, without inserting a line buffer, and without outputting dummy data.
以下、本発明の実施の形態について図面を参照して詳細に説明する。本実施の形態における画像処理装置は、既知のデジタルコピー機等の情報処理装置であって、その構成は、特許文献1等により公知のものが採用されてよい。図1は本実施の形態における画像処理装置の本実施の形態に特有の構成を示す図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The image processing apparatus in the present embodiment is an information processing apparatus such as a known digital copying machine, and the configuration thereof may be a known one according to
図1を参照して、スキャナユニットと複数の画像処理ユニットからなる構成を説明する。スキャナユニットから入力された画像データは、複数の縦列に接続された画像処理ユニットにより画像処理が施されプロッタに画像を出力する。ここではこの一連の画像処理のパスを本流パスと呼ぶことにする。一方、本流パスの途中から縮小モジュールに接続しサムネイル画像を作成し、これをディスプレイ用に出力するパスがある。このスキャナユニットからディスプレイ表示に入力される一連の画像処理パスをサムネイルパスとする。さらに、本実施の形態では、縮小モジュールの後段で適切なタイミングでEOFを後段に出力するEOF発生モジュールが接続されるものとする。 A configuration including a scanner unit and a plurality of image processing units will be described with reference to FIG. Image data input from the scanner unit is subjected to image processing by an image processing unit connected to a plurality of columns, and an image is output to a plotter. Here, this series of image processing paths is called a main path. On the other hand, there is a path for connecting to the reduction module from the middle of the main path to create a thumbnail image and outputting it for display. A series of image processing paths input to the display from the scanner unit is defined as a thumbnail path. Furthermore, in this embodiment, it is assumed that an EOF generation module that outputs EOF to the subsequent stage at an appropriate timing after the reduction module is connected.
画像データはクロックと同期して転送が行われる。後段のユニットには画像データとともにValid信号があわせて伝送される。Valid信号がEnableになっているクロックで出力された画像データが有効な画像データとなる。また、EOL信号、EOF信号もクロック同期で出力され後段に渡される。 The image data is transferred in synchronization with the clock. A Valid signal is transmitted together with the image data to the subsequent unit. Image data output with a clock in which the Valid signal is enabled is valid image data. The EOL signal and EOF signal are also output in synchronization with the clock and passed to the subsequent stage.
また、スキャナユニットと各画像処理ユニットはライン数Lineの信号で直接接続されている。Lineではスキャナユニットが読み取った画像のライン数を通知する。 The scanner unit and each image processing unit are directly connected by a signal of the number of lines Line. In Line, the number of lines of the image read by the scanner unit is notified.
スキャナユニットが厚版からの画像を読み取る場合、画像を読み取り開始する時点でライン数が分かっているため、読み取り開始時にLineは正しいライン数を通知する。一方、ADFからの画像を読み取る場合、画像を読み取り終了するまでライン数が分からないため、読み取り開始時にはLineからは想定される最大のライン数を通知する。画像の読み取りが終了した時点で正しいライン数を通知する。縮小後ライン数Line_thumには、縮小モジュールが受け取ったLineの値をもとに縮小率を換算した値が通知される。 When the scanner unit reads an image from the thick plate, the number of lines is known at the time of starting reading of the image, so Line notifies the correct number of lines at the start of reading. On the other hand, when reading an image from the ADF, since the number of lines is not known until the reading of the image is completed, the maximum number of lines that is assumed is notified from the Line at the start of reading. When the image reading is completed, the correct number of lines is notified. The reduced line number Line_thum is notified of a value obtained by converting the reduction rate based on the value of Line received by the reduction module.
本実施の形態では縮小モジュールは縮小率に対して端数が出た場合、そのデータを破棄し後段にそのデータを渡さない構成となっている。 In the present embodiment, the reduction module is configured such that when a fraction is obtained with respect to the reduction rate, the data is discarded and the data is not passed to the subsequent stage.
次に、EOF発生モジュールの動作について説明する。EOF発生モジュールは、入力された画素に対してEOFが本来付加されるかどうかが分かっている場合、このEOF発生モジュール内にデータを保持することなくデータを後段に出力する。これは後に説明するところのI,II,IIIの状況である。 Next, the operation of the EOF generation module will be described. When it is known whether or not EOF is originally added to the input pixel, the EOF generation module outputs the data to the subsequent stage without holding the data in the EOF generation module. This is the situation of I, II, and III described later.
これとは逆に入力された画素に対してEOFが本来付加されるかが分からない状況では、その入力画素にEOFが付加するべきかどうかが確定するまでその画素を出力しない。これは後に説明するところのIVの状況である。 On the contrary, in a situation where it is not known whether EOF is originally added to the input pixel, the pixel is not output until it is determined whether EOF should be added to the input pixel. This is the IV situation described later.
EOF発生モジュールは画像データとそれに付随する信号に対応して下記の動作を行う。
I.入力画素がライン終端ではない(EOL=Disable)場合
送られてきた入力画像は、EOF発生モジュールをスルーで通過する。
II.EOF信号が入力画素に付加されている(EOL=Enable,EOF=Enable)場合
これは画像のライン数に対する縮小率に対して端数が出なかった場合である。この場合もすべての信号はスルーでこのモジュールを通過する。
The EOF generation module performs the following operation in response to the image data and the accompanying signal.
I. When the input pixel is not at the end of the line (EOL = Disable) The transmitted input image passes through the EOF generation module through.
II. When an EOF signal is added to an input pixel (EOL = Enable, EOF = Enable) This is a case where a fraction is not obtained with respect to the reduction ratio with respect to the number of lines of an image. Again, all signals pass through this module through.
図2を参照すると、座標I(x−2、y)、座標I(x−1、y)、座標I(x、y)の画素が同期を保ったままスルーされる。 Referring to FIG. 2, the pixels of coordinates I (x−2, y), coordinates I (x−1, y), and coordinates I (x, y) are passed through while maintaining synchronization.
III.ライン数が確定している状況で入力画素がライン終端である(EOL=Enable,EOF=Disable,line_thum!=最大ライン数)場合
この状況ではライン数が確定しているので、EOF発生モジュールは入力されてきた画素でEOFを出すべきかどうかの判断ができる。
III. When the number of lines is fixed and the input pixel is at the end of the line (EOL = Enable, EOF = Disable, line_thum! = Maximum number of lines) In this situation, since the number of lines is fixed, the EOF generation module inputs It can be determined whether or not EOF should be output with the pixels that have been processed.
図3を参照すると、入力されてきた時点で入力画素がライン終端であることが確定している座標I(x、y)の画素でEOFが出される。 Referring to FIG. 3, an EOF is output at a pixel at coordinates I (x, y) at which the input pixel is determined to be the end of the line at the time of input.
IV.ライン数が未確定時でライン終端である(EOL=Enable,EOF=Disable line_thum!=最大ライン数)場合
当該画素がEOFを本来出力する画素であるのかが分かるまでデータを保持し続ける。
なお、本来EOFを出すべき画素を出力しているにも関わらず、EOF信号を追加することが出来なかった場合も想定される。このため、EOF信号を付加して後段にデータを渡すか、渡すべきでないかが確定するまでEOF発生モジュールではデータを保持する。
IV. When the number of lines is uncertain and the line is at the end (EOL = Enable, EOF = Disable line_thum! = Maximum number of lines), the data is held until it is determined whether the pixel is a pixel that originally outputs EOF.
It is assumed that the EOF signal could not be added even though the pixel that should originally output EOF was output. For this reason, the EOF generation module holds the data until it is determined whether the EOF signal is added and the data is passed to the subsequent stage or not to be passed.
ここで、保持したデータを出力するタイミングは、2通りある。まず1つは、次のラインの画素が縮小モジュールから入力されてきた場合(IV−i)である。この場合は、出力される画素にEOFは付加されない。もう1つは、縮小後のライン数が確定し、当該の画素が最終画素かどうかが分かった場合(IV−ii)である。この場合は出力される画素にEOFが付加される。 Here, there are two timings for outputting the retained data. The first is the case (IV-i) where the pixels of the next line are input from the reduction module. In this case, EOF is not added to the output pixel. The other is a case where the number of lines after reduction is determined and it is known whether the pixel is the final pixel (IV-ii). In this case, EOF is added to the output pixel.
IV−i.次のラインの画素が縮小モジュールから入力されてきた場合
縮小モジュールは、そのラインのデータが出力できると確定しないとデータを出力しない。このため、EOF発生モジュールがデータを保持している最中に縮小モジュールからデータが送出された場合、当モジュールが保持している画素は最終画素つまりEOFを出力すべき画素で無いことが確定する。このとき、EOF信号を付加せずに保持していたデータを後段に出力する。
IV-i. When the pixel of the next line is input from the reduction module, the reduction module does not output data unless it is determined that the data of the line can be output. Therefore, when data is sent from the reduction module while the EOF generation module is holding data, it is determined that the pixel held by the module is not the final pixel, that is, the pixel that should output EOF. . At this time, the data held without adding the EOF signal is output to the subsequent stage.
図4を参照すると、座標I(x、y−1)の画素は、座標I(0、y)の画素データが送出されてきたので、EOF信号を付加せずに保持していたデータを後段に出力する。 Referring to FIG. 4, since the pixel data of the coordinate I (0, y) has been sent out to the pixel at the coordinate I (x, y−1), the data held without adding the EOF signal is stored in the subsequent stage. Output to.
IV−ii.縮小後のライン数が確定し、当該の画素が最終画素かどうかが分かった場合
縮小後ライン数を把握する処理が完了するまで待ち、縮小後ライン数が分かった時点で当該画素がEOFを出力するか、しないかの判断ができる。この判断によりEOFを付加し、後段にデータを出力する。
IV-ii. When the number of lines after reduction is finalized and it is determined whether or not the pixel is the final pixel, wait until the process of determining the number of lines after reduction is completed, and when the number of lines after reduction is known, the pixel outputs EOF You can decide whether to do or not. Based on this determination, EOF is added and data is output to the subsequent stage.
図5を参照すると、縮小後ライン数が分かった時点で座標I(x、y)の画素でEOFが出される。 Referring to FIG. 5, when the number of lines after reduction is known, EOF is output at the pixel of coordinates I (x, y).
IVの動作の時間を引き延ばしたタイムチャートは図6のようになる。各ラインの最終画素の出力は、次のラインの入力画像が入ってくるか、最終画素が判別するまでは出力できない。よって、最終画素のみが各ラインの画素とは隔たった地点で出力されることになる。 A time chart obtained by extending the IV operation time is as shown in FIG. The output of the last pixel of each line cannot be output until the input image of the next line enters or the final pixel is determined. Therefore, only the last pixel is output at a point separated from the pixels of each line.
上記の本実施の形態のようなサムネイルパスの構成にすることにより、端部の画像処理を行わず、遅延付加のためだけのラインバッファの挿入を行わず、かつダミーデータを出力しないで縮小画像を作成することができる。すなわち、端部処理の計算がないため、回路増加を防ぐことができる。かつ、ダミーデータによる端部出力をしないため、縮小画像の端部の再現性が保持することができる。 By adopting the thumbnail path configuration as in the above-described embodiment, the reduced image is not processed without performing edge image processing, without inserting a line buffer only for delay addition, and without outputting dummy data. Can be created. That is, since there is no calculation of edge processing, an increase in circuit can be prevented. In addition, since the end portion output by the dummy data is not performed, the reproducibility of the end portion of the reduced image can be maintained.
以下に、各請求ごとの効果を記載する。
請求項2では、端部処理の計算がないため、回路増加を防ぐことができる。かつ、ダミーデータによる端部出力をしないため、縮小画像の端部の再現性が保持することができる。
The effects for each claim are described below.
According to the second aspect, since there is no calculation of the edge processing, an increase in circuit can be prevented. In addition, since the end portion output by the dummy data is not performed, the reproducibility of the end portion of the reduced image can be maintained.
請求項3では、通常パスでは動作遅延は発生せず、従来法と同様の画像出力を行うことが出来る。 According to the third aspect of the present invention, no operation delay occurs in the normal path, and image output similar to the conventional method can be performed.
請求項4では、端部処理の計算がないため、回路増加を防ぐことができる。かつ、ダミーデータによる端部出力をしないため、縮小画像の端部の再現性が保持することができる。 According to the fourth aspect of the present invention, since there is no end processing calculation, an increase in circuit can be prevented. In addition, since the end portion output by the dummy data is not performed, the reproducibility of the end portion of the reduced image can be maintained.
請求項5では、端部処理の計算がないため、回路増加を防ぐことができる。かつ、ダミーデータによる端部出力をしないため、縮小画像の端部の再現性が保持することができる。 According to the fifth aspect, since there is no calculation of the end portion processing, it is possible to prevent an increase in circuit. In addition, since the end portion output by the dummy data is not performed, the reproducibility of the end portion of the reduced image can be maintained.
請求項6では、通常パスでは動作遅延は発生せず、従来法と同様の画像出力を行うことが出来る。 According to the sixth aspect of the present invention, no operation delay occurs in the normal path, and image output similar to the conventional method can be performed.
なお、上述する各実施の形態は、本発明の好適な実施の形態であり、本発明の要旨を逸脱しない範囲内において種々の変更実施が可能である。スキャナによってリアルタイムに画像が入力・処理され、かつ縮小画像を作成する装置、例えば、ファクシミリ装置等にも適用可能であることはもちろんである。 Each embodiment described above is a preferred embodiment of the present invention, and various modifications can be made without departing from the gist of the present invention. Of course, the present invention can also be applied to an apparatus in which an image is input and processed in real time by a scanner and a reduced image is created, for example, a facsimile machine.
Claims (6)
ライン数が未確定の時に、入力された画素データがライン終端である場合、終了信号を出力すべき画素であるか否かが分かるまで画素データを保持し続け、
次のラインの画素データが入力された場合は、前記保持していた画素データを終了信号を付加することなく出力し、
縮小後のライン数が確定し、前記保持していた画素データが最終画素であることが分かった場合は、前記保持していた画素データに終了信号を付加して出力することを特徴とする画像処理装置。 An image processing apparatus for reducing image data read from an ADF,
If the input pixel data is the end of the line when the number of lines is uncertain, the pixel data continues to be held until it is determined whether the pixel is to output an end signal,
When the pixel data of the next line is input, the held pixel data is output without adding an end signal,
An image characterized in that when the number of lines after reduction is determined and the pixel data held is the final pixel, an end signal is added to the held pixel data and output. Processing equipment.
前記終了信号発生手段は、ライン数が未確定の時に、前記縮小手段から入力された画素データがライン終端である場合、終了信号を出力すべき画素であるか否かが分かるまで画素データを保持し続け、
前記終了信号発生手段は、前記縮小手段から次のラインの画素データが入力された場合は、前記保持していた画素データを終了信号を付加することなく出力し、
前記終了信号発生手段は、縮小後のライン数が確定し、前記保持していた画素データが最終画素であることが分かった場合は、前記保持していた画素データに終了信号を付加して出力することを特徴とする画像処理装置。 An image processing apparatus for reducing image data read from an ADF, comprising a reduction means and an end signal generation means,
The end signal generation means holds the pixel data until it is determined whether the end signal is to be output if the pixel data input from the reduction means is the end of the line when the number of lines is uncertain. Continue
The end signal generation means outputs the held pixel data without adding an end signal when the pixel data of the next line is input from the reduction means,
The end signal generation means adds the end signal to the held pixel data and outputs when the number of lines after the reduction is determined and it is found that the held pixel data is the last pixel. An image processing apparatus.
終了信号が入力された画素データに付加されている場合、該画素データを保持せずにそのまま出力し、
ライン数が確定している状況で入力された画素データがライン終端である場合、該画素データに終了信号を付加して出力することを特徴とする請求項1または2記載の画像処理装置。 If the input pixel data is not the end of the line, the pixel data is not held and output without adding an end signal,
When the end signal is added to the input pixel data, the pixel data is output without being held,
3. The image processing apparatus according to claim 1, wherein when the pixel data input in a state where the number of lines is determined is the end of the line, an end signal is added to the pixel data and output.
ライン数が未確定の時に、入力された画素データがライン終端である場合、終了信号を出力すべき画素であるか否かが分かるまで画素データを保持し続けるステップと、
次のラインの画素データが入力された場合は、前記保持していた画素データを終了信号を付加することなく出力するステップと、
縮小後のライン数が確定し、前記保持していた画素データが最終画素であることが分かった場合は、前記保持していた画素データに終了信号を付加して出力するステップとを有することを特徴とする画像処理方法。 An image processing method for reducing image data read from an ADF,
If the input pixel data is the end of the line when the number of lines is uncertain, the step of continuing to hold the pixel data until it is determined whether the end signal is a pixel to be output; and
When pixel data of the next line is input, outputting the held pixel data without adding an end signal;
And a step of adding an end signal to the held pixel data and outputting when the number of lines after the reduction is determined and it is found that the held pixel data is the final pixel. A featured image processing method.
ライン数が未確定の時に、入力された画素データがライン終端である場合、終了信号を出力すべき画素であるか否かが分かるまで画素データを保持し続ける処理と、
次のラインの画素データが入力された場合は、前記保持していた画素データを終了信号を付加することなく出力する処理と、
縮小後のライン数が確定し、前記保持していた画素データが最終画素であることが分かった場合は、前記保持していた画素データに終了信号を付加して出力する処理とを実行させることを特徴とするプログラム。 In an image processing apparatus that reduces image data read from an ADF,
When the input pixel data is the end of the line when the number of lines is uncertain, a process of continuing to hold the pixel data until it is determined whether the end signal is a pixel to be output; and
When pixel data of the next line is input, a process of outputting the held pixel data without adding an end signal;
When the number of lines after reduction is determined and it is found that the held pixel data is the last pixel, a process of adding an end signal to the held pixel data and outputting it is executed. A program characterized by
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008182635A JP5123770B2 (en) | 2008-07-14 | 2008-07-14 | Image processing apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008182635A JP5123770B2 (en) | 2008-07-14 | 2008-07-14 | Image processing apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010021932A true JP2010021932A (en) | 2010-01-28 |
JP5123770B2 JP5123770B2 (en) | 2013-01-23 |
Family
ID=41706365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008182635A Expired - Fee Related JP5123770B2 (en) | 2008-07-14 | 2008-07-14 | Image processing apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5123770B2 (en) |
-
2008
- 2008-07-14 JP JP2008182635A patent/JP5123770B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP5123770B2 (en) | 2013-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4922190B2 (en) | Image forming apparatus and image forming method | |
US8885939B2 (en) | Image processing apparatus configured to perform image processing for plural images and control method thereof | |
JP7073634B2 (en) | Electronic devices and programs | |
KR20180029889A (en) | Information processing apparatus and semiconductor integrated circuit including ring bus system | |
JP2002232654A (en) | Device and method for image processing and computer readable recording medium with program for making computer perform the method recorded thereon | |
JP5123770B2 (en) | Image processing apparatus and program | |
US9679231B2 (en) | Copier and method in which print processing proceeds prior to storing all read image data exceeding predetermined size when ACS is selected | |
US20080049120A1 (en) | Video frame buffer | |
US9485381B1 (en) | Scanner interface and protocol | |
JP6888405B2 (en) | Image processing equipment and programs | |
JP6876916B2 (en) | Image processing equipment and programs | |
JP6897292B2 (en) | Image processing equipment and programs | |
JP2016092483A (en) | Memory control circuit and image forming apparatus | |
JP5935573B2 (en) | Image processing apparatus, image processing program, and image processing method | |
JP5930834B2 (en) | Image processing apparatus, image processing method, and control method for image processing apparatus | |
JP6885190B2 (en) | Image processing equipment and programs | |
JP4433951B2 (en) | Image data transfer method and image data transfer apparatus | |
JP7263028B2 (en) | Imaging device and its control method | |
CN111436214B (en) | Image signal processing apparatus and method | |
JP4813405B2 (en) | Image processing apparatus, image processing method, image processing program, and recording medium | |
JP4803378B2 (en) | Image processing apparatus and program | |
JP2005086332A (en) | Image processing method | |
JP2010073037A (en) | Image processor | |
JP2009105653A (en) | Image processor | |
JP2005227875A (en) | Image processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110324 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120713 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120731 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120927 |
|
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: 20121023 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121026 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151102 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5123770 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |