JP2007026285A - Image processor and image processing program - Google Patents

Image processor and image processing program Download PDF

Info

Publication number
JP2007026285A
JP2007026285A JP2005210017A JP2005210017A JP2007026285A JP 2007026285 A JP2007026285 A JP 2007026285A JP 2005210017 A JP2005210017 A JP 2005210017A JP 2005210017 A JP2005210017 A JP 2005210017A JP 2007026285 A JP2007026285 A JP 2007026285A
Authority
JP
Japan
Prior art keywords
image
line
image processing
line buffer
source image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005210017A
Other languages
Japanese (ja)
Inventor
Kenichi Katsura
健一 桂
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 Mita Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2005210017A priority Critical patent/JP2007026285A/en
Publication of JP2007026285A publication Critical patent/JP2007026285A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To draw a figure obtained by magnifying source image data configured by one line at high speed. <P>SOLUTION: A drawing data analysis part 3 analyzes a source image, and decides whether or not it is image processing for arranging the source image of a width or a height of one pixel side by side in a direction perpendicular to a line direction and magnifying it. A drawing processing part 4 secures a source image buffer 4-1 storing the source image, a line buffer 4-2 storing an image after the image processing corresponding to one line, and a destination image buffer 4-3 according to a decision result of the drawing data analysis part 3, stores a drawing processing result corresponding to one line into the line buffer 4-2, and copies the drawing processing result to the destination image buffer 4-3 in line units to draw an image. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、1ラインで構成するソースイメージデータを拡大した図形を描画する画像処理装置および画像処理プログラムに関する。   The present invention relates to an image processing apparatus and an image processing program for drawing a figure obtained by enlarging source image data composed of one line.

従来の画像処理において、ソースイメージデータに対し、演算処理後、デスティネーションバッファへ描画する際、デスティネーションイメージをスキャン変換することにより、各ピクセルに対して対応するソースイメージのピクセルを参照する必要がある。しかしながら、1ラインのソースイメージデータをライン方向に対して垂直向きに拡大したものを描画する場合、スキャン変換でソースイメージ内の同一ピクセルを何度も参照するため効率が悪いという欠点があった。   In conventional image processing, when the source image data is drawn in the destination buffer after the arithmetic processing, it is necessary to refer to the pixel of the corresponding source image for each pixel by performing scan conversion on the destination image. is there. However, when rendering one line of source image data enlarged in a direction perpendicular to the line direction, the same pixel in the source image is referred to many times by scan conversion, which is inefficient.

そこで、グラデーションフィル図形の描画に関し、グラデーションを検知したときに、1ラインのピクセル情報を次のラインのピクセルに複製していく手法が提案されている(例えば、特許文献1参照)。
特開2001−101431号公報
Therefore, with respect to drawing of a gradation fill figure, a technique has been proposed in which pixel information of one line is copied to pixels of the next line when gradation is detected (see, for example, Patent Document 1).
JP 2001-101431 A

しかしながら、上述した従来技術では、グラフィックスにより描画命令(中間コード)により新規描画するものを対象とした高速化であり、ピクセルの色を計算してグラディエントなパターンを作成し、複製することでグラデーションを描画するというグラデーションに特化した技術であり、1ラインイメージの拡大といった描画手法に適用することが難しいという問題があった。   However, the above-described prior art is a high-speed method for a new drawing by a graphics drawing command (intermediate code), and creates a gradient pattern by calculating the color of the pixel and reproducing the gradation. This is a technique specialized in gradation that draws the image, and there is a problem that it is difficult to apply to a drawing method such as enlargement of one line image.

本発明は、このような事情を考慮してなされたものであり、その目的は、1ラインで構成するソースイメージデータを拡大した図形を高速に描画することができる画像処理装置および画像処理プログラムを提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an image processing apparatus and an image processing program capable of drawing a figure obtained by enlarging source image data composed of one line at high speed. It is to provide.

上述した課題を解決するために、本発明は、描画元となるソースイメージに対して画像処理を施してデスティネーションイメージを生成する画像処理装置であって、前記ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることを検出する検出手段と、前記検出手段により前記ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることが検出されると、前記デスティネーションイメージの高さもしくは幅のサイズのラインバッファをメモリ上に確保するラインバッファ確保手段と、前記ソースイメージの1ラインに対して画像処理を行う画像処理手段と、前記画像処理手段により画像処理が施されたデータを前記ラインバッファに格納する格納制御手段と、前記格納制御手段により前記ラインバッファに格納されたデータを複数回用いて前記デスティネーションイメージを描画する描画手段とを具備することを特徴とする。   In order to solve the above-described problem, the present invention is an image processing apparatus that generates a destination image by performing image processing on a source image that is a drawing source, and includes at least a height or a width of the source image. Detecting means for detecting that one of the pixels is one pixel; and if the detecting means detects that at least one of the height or width of the source image is one pixel, the height or width of the destination image A line buffer securing means for securing a line buffer of a size on the memory, an image processing means for performing image processing on one line of the source image, and data subjected to image processing by the image processing means for the line A storage control means for storing in the buffer; and the storage control means stores the line buffer. Characterized by comprising a drawing means for drawing the destination image by using a plurality of times the data is.

本発明は、上記の発明において、前記描画手段は、前記ラインバッファに格納されたデータをライン単位で複数回複製することにより前記デスティネーションイメージを描画することを特徴とする。   The present invention is characterized in that, in the above invention, the drawing means draws the destination image by duplicating the data stored in the line buffer a plurality of times in line units.

本発明は、上記の発明において、前記ラインバッファ確保手段は、前記ソースイメージの高さが1ピクセルであった場合には、前記デスティネーションイメージの幅サイズのラインバッファをメモリ上に確保し、前記ソースイメージの幅が1ピクセルであった場合には、前記デスティネーションイメージの高さサイズのラインバッファをメモリ上に確保することを特徴とする。   In the present invention, in the above invention, when the height of the source image is 1 pixel, the line buffer securing unit reserves a line buffer having a width size of the destination image on a memory, and When the width of the source image is 1 pixel, a line buffer having a height size of the destination image is secured on the memory.

また、上述した課題を解決するために、本発明は、描画元となるソースイメージに対して画像処理を施してデスティネーションイメージを生成する画像処理プログラムであって、前記ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることを検出する検出ステップと、前記検出ステップにより前記ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることが検出されると、前記デスティネーションイメージの高さもしくは幅のサイズのラインバッファをメモリ上に確保するラインバッファ確保ステップと、前記ソースイメージの1ラインに対して画像処理を行う画像処理ステップと、前記画像処理手段により画像処理が施されたデータを前記ラインバッファに格納する格納制御ステップと、前記格納制御手段により前記ラインバッファに格納されたデータを複数回用いて前記デスティネーションイメージを描画する描画ステップとをコンピュータに実行させることを特徴とする。   In order to solve the above-described problem, the present invention is an image processing program for generating a destination image by performing image processing on a source image that is a drawing source, the height or width of the source image. A detecting step for detecting that at least one of the pixels is one pixel, and when the detecting step detects that at least one of the height or width of the source image is one pixel, the height of the destination image Alternatively, a line buffer securing step for securing a line buffer of a width size on the memory, an image processing step for performing image processing on one line of the source image, and data subjected to image processing by the image processing means Storage control step for storing in the line buffer, and the storage control Characterized in that to execute a drawing step of the data stored in the line buffer by the step using multiple drawing the destination image into the computer.

この発明によれば、検出手段により、ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることを検出し、ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることが検出されると、ラインバッファ確保手段により、デスティネーションイメージの高さもしくは幅のサイズのラインバッファをメモリ上に確保し、画像処理手段により、ソースイメージの1ラインに対して画像処理を行い、格納制御手段により、画像処理が施されたデータを前記ラインバッファに格納し、描画手段により、ラインバッファに格納されたデータを複数回用いてデスティネーションイメージを描画する。したがって、1ラインのスキャン変換のみで済むので、1ラインで構成するソースイメージデータを拡大した図形を高速に描画することができる。   According to the present invention, the detection means detects that at least one of the height or width of the source image is 1 pixel, and detects that at least one of the height or width of the source image is 1 pixel. The line buffer securing means secures a line buffer of the size of the destination image on the memory, the image processing means performs image processing on one line of the source image, and the storage control means The image-processed data is stored in the line buffer, and the destination image is drawn by the drawing means using the data stored in the line buffer a plurality of times. Accordingly, since only one line of scan conversion is required, a figure obtained by enlarging the source image data composed of one line can be drawn at high speed.

また、本発明によれば、描画手段により、ラインバッファに格納されたデータをライン単位で複数回複製することによりデスティネーションイメージを描画する。1ラインのスキャン変換のみで済むので、1ラインで構成するソースイメージデータを拡大した図形を高速に描画することができる。   According to the present invention, the destination image is drawn by copying the data stored in the line buffer a plurality of times in units of lines by the drawing means. Since only one line of scan conversion is required, a figure obtained by enlarging the source image data composed of one line can be drawn at high speed.

また、本発明によれば、ラインバッファ確保手段により、ソースイメージの高さが1ピクセルであった場合には、デスティネーションイメージの幅サイズのラインバッファをメモリ上に確保し、ソースイメージの幅が1ピクセルであった場合には、デスティネーションイメージの高さサイズのラインバッファをメモリ上に確保する。したがって、1ラインのスキャン変換のみで済むので、1ラインで構成するソースイメージデータを拡大した図形を高速に描画することができる。   Further, according to the present invention, when the height of the source image is 1 pixel by the line buffer securing means, a line buffer having a width size of the destination image is secured on the memory, and the width of the source image is In the case of 1 pixel, a line buffer having a height size of the destination image is secured on the memory. Accordingly, since only one line of scan conversion is required, a figure obtained by enlarging the source image data composed of one line can be drawn at high speed.

また、この発明によれば、ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることを検出する検出ステップと、ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることが検出されると、デスティネーションイメージの高さもしくは幅のサイズのラインバッファをメモリ上に確保するラインバッファ確保ステップと、ソースイメージの1ラインに対して画像処理を行う画像処理ステップと、画像処理が施されたデータをラインバッファに格納する格納制御ステップと、ラインバッファに格納されたデータを複数回用いてデスティネーションイメージを描画する描画ステップとをコンピュータに実行させる。したがって、1ラインのスキャン変換のみで済むので、1ラインで構成するソースイメージデータを拡大した図形を高速に描画することができる。   According to the present invention, it is also possible to detect that at least one of the height or width of the source image is 1 pixel, and to detect that at least one of the height or width of the source image is 1 pixel. Then, a line buffer securing step for securing a line buffer having a height or width size of the destination image on the memory, an image processing step for performing image processing on one line of the source image, and image processing are performed. The computer executes a storage control step for storing the stored data in the line buffer, and a drawing step for drawing the destination image using the data stored in the line buffer a plurality of times. Accordingly, since only one line of scan conversion is required, a figure obtained by enlarging the source image data composed of one line can be drawn at high speed.

以下、本発明の一実施形態による画像処理装置を、図面を参照して説明する。
図1は、本発明の実施形態による画像処理装置の構成を示すブロック図である。画像処理装置1は、入力部2、描画データ解析部3、描画処理部4、出力部5からなる。入力部2は、ソースイメージを入力する。描画データ解析部3は、入力部2から入力されるソースイメージを解析し、1ラインのソースイメージの拡大イメージ描画命令コードであるか、すなわち、1ピクセルの幅もしくは高さのソースイメージを、ソースイメージをライン方向に対して垂直方向に並べて拡大したイメージ処理であるかを判定する。
Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. The image processing apparatus 1 includes an input unit 2, a drawing data analysis unit 3, a drawing processing unit 4, and an output unit 5. The input unit 2 inputs a source image. The drawing data analysis unit 3 analyzes the source image input from the input unit 2 and outputs an enlarged image drawing command code of one line of source image, that is, a source image having a width or height of one pixel as a source. It is determined whether or not the image processing is performed by arranging and magnifying images in a direction perpendicular to the line direction.

描画処理部4は、描画データ解析部3の判定結果に従い、ソースイメージを格納するソースイメージバッファ4−1、1ライン分の画像処理後のイメージを格納するラインバッファ4−2およびデスティネーションイメージバッファ4−3を確保する。また、描画処理部4は、ソースイメージバッファ4−1内のソースイメージ(1ライン分)に対して、色変換などの描画処理(プロセス)を施し、該1ライン分の描画処理結果をラインバッファ4−2に格納し、さらに、ラインバッファ4−2の描画処理結果をライン単位でデスティネーションイメージバッファ4−3にコピーすることによりイメージを描画する。出力部5は、描画された図形を出力する。   The drawing processing unit 4 includes a source image buffer 4-1 for storing a source image and a line buffer 4-2 for storing an image processed image for one line and a destination image buffer according to the determination result of the drawing data analysis unit 3. 4-3 is secured. The drawing processing unit 4 performs drawing processing (process) such as color conversion on the source image (for one line) in the source image buffer 4-1, and the drawing processing result for the one line is displayed in the line buffer. The image is drawn by copying the result of the drawing process of the line buffer 4-2 to the destination image buffer 4-3 in units of lines. The output unit 5 outputs the drawn figure.

次に、上述した本実施形態の動作について説明する。ここで、図2は、本実施形態による画像処理装置の動作を説明するためのフローチャートである。まず、描画データを解析し(ステップS10)、イメージデータであるか否かを判定する(ステップS12)。そして、イメージデータでない場合には当該処理を終了する。一方、イメージデータである場合には、ソースイメージの高さが1ピクセルであるか、またはソースイメージの幅が1ピクセルであるかを判定する(ステップS14)。すなわち、図3、図4に示すような、1ピクセルの幅もしくは高さのソースイメージを、ソースイメージをライン方向に対して垂直方向に並べて拡大してデスティネーションイメージを生成するイメージ処理であるか否かを検知する。   Next, the operation of the above-described embodiment will be described. Here, FIG. 2 is a flowchart for explaining the operation of the image processing apparatus according to the present embodiment. First, drawing data is analyzed (step S10) and it is determined whether it is image data (step S12). If it is not image data, the process ends. On the other hand, if it is image data, it is determined whether the height of the source image is 1 pixel or the width of the source image is 1 pixel (step S14). That is, is it an image processing for generating a destination image by expanding a source image having a width or height of 1 pixel as shown in FIGS. 3 and 4 by arranging the source images in a direction perpendicular to the line direction? Detect whether or not.

そして、いずれも1ピクセルでない場合には、従来と同様に、図5に示すように、デスティネーションイメージバッファ4−3の全ピクセルをスキャン変換することにより画像処理を行う(ステップS16)。一方、ソースイメージの高さか幅のいずれかでも1ピクセルである場合には、高さが1ピクセルであるか否かを判定する(ステップS18)。   If none of them is a pixel, image processing is performed by scan-converting all the pixels in the destination image buffer 4-3 as shown in FIG. 5 (step S16). On the other hand, if either the height or the width of the source image is 1 pixel, it is determined whether or not the height is 1 pixel (step S18).

ここで、ソースイメージの高さが1ピクセルである場合、すなわち、高さが1ピクセルのソースイメージを拡大したイメージを描画する場合には、まず、ソースイメージの幅を元にラインバッファのサイズを計算し(ステップS20)、図6に示すように、デスティネーションイメージバッファ4−3の幅サイズのラインバッファ4−2を確保する(ステップS22)。次に、ソースイメージバッファ4−1内のソースイメージに対して、1水平方向ライン(1スキャンライン)分のイメージの描画処理(プロセス)を行い(ステップS24)、該1スキャンライン分の描画演算処理結果をラインバッファ4−2に格納する(ステップS26)。なお、描画処理(プロセス)では、色変換等の画像処理に加えて、伸張処理などが含まれていてもよい。   Here, when the height of the source image is 1 pixel, that is, when drawing an enlarged image of the source image having a height of 1 pixel, the size of the line buffer is first set based on the width of the source image. Calculation is performed (step S20), and as shown in FIG. 6, a line buffer 4-2 having a width size of the destination image buffer 4-3 is secured (step S22). Next, an image drawing process (process) for one horizontal direction line (one scan line) is performed on the source image in the source image buffer 4-1 (step S24), and the drawing operation for the one scan line is performed. The processing result is stored in the line buffer 4-2 (step S26). The drawing process (process) may include an expansion process in addition to the image process such as color conversion.

次に、図7に示すように、ラインバッファ4−2のデータをデスティネーションイメージバッファ4−3の現在の描画対象ラインにコピーし(ステップS28)、デスティネーションイメージの高さの画素数分の処理を行ったか否かを判定する(ステップS30)。そして、高さの画素数分の処理が終わるまで、ステップS28でコピーを繰り返することで描画する。一方。デスティネーションイメージの高さの画素数分の処理が終了すると、当該処理を終了する。   Next, as shown in FIG. 7, the data in the line buffer 4-2 is copied to the current drawing target line in the destination image buffer 4-3 (step S28), and the number of pixels corresponding to the height of the destination image. It is determined whether or not processing has been performed (step S30). Then, until the processing for the number of pixels of the height is completed, the drawing is performed by repeating the copy in step S28. on the other hand. When the processing for the number of pixels corresponding to the height of the destination image ends, the processing ends.

一方、ソースイメージの高さが1ピクセルでない場合、すなわち、幅が1ピクセルのソースイメージを拡大したイメージを描画する場合には、まず、ソースイメージの高さを元にラインバッファのサイズを計算し(ステップS32)、図8に示すように、デスティネーションイメージバッファ4−3の高さサイズのラインバッファ4−2を確保する(ステップS34)。次に、ソースイメージバッファ4−1内のソースイメージに対して、1垂直方向ライン(各スキャンラインの先頭ピクセル)のイメージの描画処理を行い(ステップS36)、該各スキャンラインの先頭ピクセルの描画演算処理結果をラインバッファ4−2に格納する(ステップS38)。なお、描画処理(プロセス)では、色変換等の画像処理に加えて、伸張処理などが含まれていてもよい。   On the other hand, when the height of the source image is not 1 pixel, that is, when drawing an enlarged image of the source image with a width of 1 pixel, first the line buffer size is calculated based on the height of the source image. (Step S32), as shown in FIG. 8, the line buffer 4-2 having the height size of the destination image buffer 4-3 is secured (Step S34). Next, an image drawing process of one vertical direction line (first pixel of each scan line) is performed on the source image in the source image buffer 4-1 (step S36), and the first pixel of each scan line is drawn. The calculation processing result is stored in the line buffer 4-2 (step S38). The drawing process (process) may include an expansion process in addition to the image process such as color conversion.

次に、図9に示すように、ラインバッファ4−2のデータをライン単位でデスティネーションイメージバッファ4−3の現在の描画対象ラインにコピーし(ステップS40)、デスティネーションイメージの幅の画素数分の処理を行ったか否かを判定する(ステップS42)。そして、幅の画素数分の処理が終わるまで、ステップS40でコピーを繰り返すことで描画する。一方、デスティネーションイメージの幅の画素数分の処理が終了すると、当該処理を終了する。   Next, as shown in FIG. 9, the data in the line buffer 4-2 is copied line by line to the current drawing target line in the destination image buffer 4-3 (step S40), and the number of pixels having the width of the destination image. It is determined whether or not the minute processing has been performed (step S42). Then, until the processing for the number of pixels in the width is completed, the drawing is performed by repeating the copying in step S40. On the other hand, when the processing for the number of pixels corresponding to the width of the destination image is completed, the processing ends.

上述した実施形態によれば、1ラインで構成されるソースイメージを拡大した図形を描画する場合、1ラインのスキャン変換のみを行い、専用のラインバッファ4−2に格納し、該ラインバッファ4−2のピクセルデータをライン単位でデスティネーションイメージバッファ4−3にコピーを繰り返すことで図形を描画するようにしたので、ピクセル単位の処理に比べて高速に描画することができる。   According to the above-described embodiment, when drawing a figure in which a source image composed of one line is enlarged, only one-line scan conversion is performed and stored in the dedicated line buffer 4-2. Since the figure is drawn by repeating copying the pixel data of 2 to the destination image buffer 4-3 in line units, drawing can be performed at a higher speed than the processing in pixel units.

なお、上述した実施形態においては、上述した描画データ解析部3および描画処理部4などによる一連の処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。すなわち、描画データ解析部3および描画処理部4などにおける、各処理手段、処理部は、CPU等の中央演算処理装置がROMやRAM等の主記憶装置に上記プログラムを読み出して、情報の加工・演算処理を実行することにより、実現されるものである。   In the above-described embodiment, a series of processes by the drawing data analysis unit 3 and the drawing processing unit 4 described above are stored in a computer-readable recording medium in the form of a program. Is read and executed, the above processing is performed. That is, in each of the processing means and processing units in the drawing data analysis unit 3 and the drawing processing unit 4, a central processing unit such as a CPU reads the above program into a main storage device such as a ROM or a RAM, and processes and processes information. This is realized by executing arithmetic processing.

ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

本発明の実施形態による画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image processing apparatus by embodiment of this invention. 本実施形態による画像処理装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the image processing apparatus by this embodiment. 1ピクセルの幅のソースイメージを、ソースイメージをライン方向に対して垂直方向に並べて拡大したイメージ処理を説明するための概念図である。It is a conceptual diagram for demonstrating the image processing which expanded the source image of the width of 1 pixel by arranging the source image in the direction perpendicular to the line direction. 1ピクセルの高さのソースイメージを、ソースイメージをライン方向に対して垂直方向に並べて拡大したイメージ処理を説明するための概念図である。It is a conceptual diagram for demonstrating the image processing which expanded the source image of 1 pixel height, arranging the source image in the perpendicular direction with respect to the line direction. 全ピクセルをスキャン変換することにより画像処理を行う場合の様子を示す概念図である。It is a conceptual diagram which shows the mode in the case of performing image processing by carrying out scan conversion of all the pixels. ソースイメージの高さが1ピクセルである場合におけるイメージの描画処理を説明するための概念図である。It is a conceptual diagram for demonstrating the drawing process of the image in case the height of a source image is 1 pixel. ソースイメージの高さが1ピクセルである場合におけるイメージの描画処理を説明するための概念図である。It is a conceptual diagram for demonstrating the drawing process of the image in case the height of a source image is 1 pixel. ソースイメージの幅が1ピクセルである場合におけるイメージの描画処理を説明するための概念図である。It is a conceptual diagram for demonstrating the drawing process of the image in case the width | variety of a source image is 1 pixel. ソースイメージの幅が1ピクセルである場合におけるイメージの描画処理を説明するための概念図である。It is a conceptual diagram for demonstrating the drawing process of the image in case the width | variety of a source image is 1 pixel.

符号の説明Explanation of symbols

1 画像処理装置
2 入力部
3 描画データ解析部(検出手段)
4 描画処理部(ラインバッファ確保手段、画像処理手段、格納制御手段、描画手段)
4−1 ソースイメージバッファ
4−2 ラインバッファ
4−3 デスティネーションイメージバッファ
5 出力部
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 2 Input part 3 Drawing data analysis part (detection means)
4 Drawing processing unit (line buffer securing means, image processing means, storage control means, drawing means)
4-1 Source image buffer 4-2 Line buffer 4-3 Destination image buffer 5 Output section

Claims (4)

描画元となるソースイメージに対して画像処理を施してデスティネーションイメージを生成する画像処理装置であって、
前記ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることを検出する検出手段と、
前記検出手段により前記ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることが検出されると、前記デスティネーションイメージの高さもしくは幅のサイズのラインバッファをメモリ上に確保するラインバッファ確保手段と、
前記ソースイメージの1ラインに対して画像処理を行う画像処理手段と、
前記画像処理手段により画像処理が施されたデータを前記ラインバッファに格納する格納制御手段と、
前記格納制御手段により前記ラインバッファに格納されたデータを複数回用いて前記デスティネーションイメージを描画する描画手段と
を具備することを特徴とする画像処理装置。
An image processing apparatus that generates a destination image by performing image processing on a source image to be rendered,
Detecting means for detecting that at least one of a height or a width of the source image is one pixel;
When the detection means detects that at least one of the height or width of the source image is 1 pixel, a line buffer is secured to secure a line buffer having the size of the height or width of the destination image on the memory. Means,
Image processing means for performing image processing on one line of the source image;
Storage control means for storing data subjected to image processing by the image processing means in the line buffer;
An image processing apparatus comprising: a drawing unit that draws the destination image by using the data stored in the line buffer by the storage control unit a plurality of times.
前記描画手段は、前記ラインバッファに格納されたデータをライン単位で複数回複製することにより前記デスティネーションイメージを描画することを特徴とする請求項1記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the drawing unit draws the destination image by duplicating the data stored in the line buffer a plurality of times in units of lines. 前記ラインバッファ確保手段は、
前記ソースイメージの高さが1ピクセルであった場合には、前記デスティネーションイメージの幅サイズのラインバッファをメモリ上に確保し、
前記ソースイメージの幅が1ピクセルであった場合には、前記デスティネーションイメージの高さサイズのラインバッファをメモリ上に確保することを特徴とする請求項1記載の画像処理装置。
The line buffer securing means includes
When the height of the source image is 1 pixel, a line buffer having a width size of the destination image is secured on the memory,
2. The image processing apparatus according to claim 1, wherein when the width of the source image is 1 pixel, a line buffer having a height size of the destination image is secured in a memory.
描画元となるソースイメージに対して画像処理を施してデスティネーションイメージを生成する画像処理プログラムであって、
前記ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることを検出する検出ステップと、
前記検出ステップにより前記ソースイメージの高さもしくは幅の少なくとも一方が1ピクセルであることが検出されると、前記デスティネーションイメージの高さもしくは幅のサイズのラインバッファをメモリ上に確保するラインバッファ確保ステップと、
前記ソースイメージの1ラインに対して画像処理を行う画像処理ステップと、
前記画像処理手段により画像処理が施されたデータを前記ラインバッファに格納する格納制御ステップと、
前記格納制御手段により前記ラインバッファに格納されたデータを複数回用いて前記デスティネーションイメージを描画する描画ステップと
をコンピュータに実行させることを特徴とする画像処理プログラム。
An image processing program for generating a destination image by performing image processing on a source image to be rendered,
A detection step of detecting that at least one of a height or a width of the source image is one pixel;
When the detection step detects that at least one of the height or width of the source image is 1 pixel, the line buffer is secured to secure a line buffer having the size of the height or width of the destination image on the memory. Steps,
An image processing step for performing image processing on one line of the source image;
A storage control step of storing data subjected to image processing by the image processing means in the line buffer;
An image processing program for causing a computer to execute a drawing step of drawing the destination image by using the data stored in the line buffer by the storage control means a plurality of times.
JP2005210017A 2005-07-20 2005-07-20 Image processor and image processing program Pending JP2007026285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005210017A JP2007026285A (en) 2005-07-20 2005-07-20 Image processor and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005210017A JP2007026285A (en) 2005-07-20 2005-07-20 Image processor and image processing program

Publications (1)

Publication Number Publication Date
JP2007026285A true JP2007026285A (en) 2007-02-01

Family

ID=37786930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005210017A Pending JP2007026285A (en) 2005-07-20 2005-07-20 Image processor and image processing program

Country Status (1)

Country Link
JP (1) JP2007026285A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008279626A (en) * 2007-05-09 2008-11-20 Kyocera Mita Corp Image processor and image processing program
WO2011062205A1 (en) 2009-11-17 2011-05-26 Necシステムテクノロジー株式会社 Image rendering device, image rendering method, and recording medium
US9710204B1 (en) 2016-06-29 2017-07-18 Kyocera Document Solutions Inc. Fast drawing of unrotated run-length encoded images
US9727808B1 (en) 2016-04-28 2017-08-08 Kyocera Document Solutions Inc. Method and system for rendering rectangle drawing objects using a clip region
US9767392B2 (en) 2015-05-27 2017-09-19 Kyocera Document Solutions Inc. Method and system for rendering rectangle drawing objects using one-line raster image data
US11341383B2 (en) 2019-08-18 2022-05-24 Kyocera Document Solutions Inc. Methods and apparatus to detect effective tiling area and fill tiles efficiently

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05183732A (en) * 1991-12-28 1993-07-23 Nec Off Syst Ltd Method and device for image data density conversion processing
JP2001016443A (en) * 1999-06-30 2001-01-19 Nec Eng Ltd Enlarging/reducing method of printing data and enlarging/reducing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05183732A (en) * 1991-12-28 1993-07-23 Nec Off Syst Ltd Method and device for image data density conversion processing
JP2001016443A (en) * 1999-06-30 2001-01-19 Nec Eng Ltd Enlarging/reducing method of printing data and enlarging/reducing device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008279626A (en) * 2007-05-09 2008-11-20 Kyocera Mita Corp Image processor and image processing program
JP4510847B2 (en) * 2007-05-09 2010-07-28 京セラミタ株式会社 Image processing apparatus and image processing program
US8194271B2 (en) 2007-05-09 2012-06-05 Kyocera Mita Corporation Apparatus and method for gradation drawing based on 1-line image
WO2011062205A1 (en) 2009-11-17 2011-05-26 Necシステムテクノロジー株式会社 Image rendering device, image rendering method, and recording medium
US8805119B2 (en) 2009-11-17 2014-08-12 Nec System Technologies, Ltd. Image rendering device, image rendering method, and recording medium
US9767392B2 (en) 2015-05-27 2017-09-19 Kyocera Document Solutions Inc. Method and system for rendering rectangle drawing objects using one-line raster image data
US9727808B1 (en) 2016-04-28 2017-08-08 Kyocera Document Solutions Inc. Method and system for rendering rectangle drawing objects using a clip region
US9710204B1 (en) 2016-06-29 2017-07-18 Kyocera Document Solutions Inc. Fast drawing of unrotated run-length encoded images
US11341383B2 (en) 2019-08-18 2022-05-24 Kyocera Document Solutions Inc. Methods and apparatus to detect effective tiling area and fill tiles efficiently

Similar Documents

Publication Publication Date Title
JP4030519B2 (en) Image processing apparatus and image processing system
JP4310288B2 (en) Image processing apparatus and method, program, and storage medium
JP5351971B2 (en) Method, apparatus and software for determining motion vectors
JP2010034683A (en) Image processing apparatus, and program
JP2007026285A (en) Image processor and image processing program
JP2006050551A (en) Image processing apparatus, image processing method, program and storage medium
US20090141025A1 (en) Drawing apparatus, drawing program, and drawing method
US9600747B2 (en) Image forming apparatus and control method that execute a plurality of rendering processing units in parallel
JP2013026991A (en) Image processing device, image forming device, and program
JP2008279626A (en) Image processor and image processing program
JP2010102396A (en) Person detection device, person detection method, and program
JP5111242B2 (en) Image processing apparatus and method
JP2008107970A (en) Image forming device
JP4324058B2 (en) Image processing apparatus and method
JP5325744B2 (en) Image processing apparatus and image processing program
JP6613625B2 (en) Image processing program, image processing apparatus, and image processing method
JP6507809B2 (en) Printing instruction device, printing system and program
JP2006048172A (en) Clip processing system and clip processing method
JP4174454B2 (en) Image processing device
JP2016133901A (en) Print instruction apparatus, printing system, and program
JPH1044530A (en) Printing control apparatus, information-processing apparatus, printing apparatus, and method for processing print information
JP6614941B2 (en) Image processing apparatus and image processing method
JP2008098947A (en) Image processor and image processing method
JP4725463B2 (en) Image processing apparatus, image processing method and computer program thereof
JPH1051636A (en) Printing controller, information processor, printer and printing information processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091001

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091104

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100506