JP2006166355A - Image processing apparatus, image processing method, image processing program and recording medium - Google Patents

Image processing apparatus, image processing method, image processing program and recording medium Download PDF

Info

Publication number
JP2006166355A
JP2006166355A JP2004358532A JP2004358532A JP2006166355A JP 2006166355 A JP2006166355 A JP 2006166355A JP 2004358532 A JP2004358532 A JP 2004358532A JP 2004358532 A JP2004358532 A JP 2004358532A JP 2006166355 A JP2006166355 A JP 2006166355A
Authority
JP
Japan
Prior art keywords
pixel
image
value
determined
setting
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
JP2004358532A
Other languages
Japanese (ja)
Inventor
Fumihiro Hasegawa
史裕 長谷川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004358532A priority Critical patent/JP2006166355A/en
Priority to EP05257595.8A priority patent/EP1670257B1/en
Priority to CN 200510131416 priority patent/CN1787599B/en
Priority to US11/298,976 priority patent/US7639880B2/en
Publication of JP2006166355A publication Critical patent/JP2006166355A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently reduce a file size by suppressing image quality deterioration without determining characters and non-characters. <P>SOLUTION: An image processing apparatus includes a binary image generating means 102 for generating a binary image from a multi-level image and a multi-level image generating means 104 for generating a first multi-level image and a second multi-level image based on the binary image. If one pixel value of a binary image corresponding to pixel positions of a multi-level image is present for the first and second multi-level images, the multi-level image generating means 104 sets pixel values of pixels of each of the multi-level images based on pixel values within a multi-level image at a corresponding position. Pixel values of non-determined pixels in a multi-level image, of which values are not set yet, near determined pixels of each multi-level image of which values are set already, are set using pixel values of determined pixels near non-determined pixels. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像処理装置、画像処理方法、画像処理プログラム及び記録媒体に関する。   The present invention relates to an image processing apparatus, an image processing method, an image processing program, and a recording medium.

カラーの文書画像等のファイルサイズを小さくする手法として様々なものが提案されている。例えば、JPEG(Joint Photographic Experts Group)と呼ばれる方式は、広く一般に流布している。   Various methods for reducing the file size of color document images and the like have been proposed. For example, a method called JPEG (Joint Photographic Experts Group) has been widely distributed.

また、文字と非文字とを分離して、文字を二値画像、非文字を多値画像として別々に圧縮し、重ね合わせて表現する手法でファイルサイズを小さくする方法も知られている(例えば、特許文献1参照。)。   There is also known a method of reducing the file size by separating a character from a non-character, compressing the character separately as a binary image and compressing the non-character as a multi-valued image, and expressing them by overlapping (for example, , See Patent Document 1).

また、圧縮復元した画像に含まれるブロックノイズや、モスキートノイズ等の歪みを軽減する方法もある(例えば、特許文献2参照。)。特許文献2の方法では、着目画素近傍の画素から一定の条件を満たす画素を選択し、選択した画素の平均値をもって着目画素を代替すること、及び着目ブロック中のエッジの有無により前記代替の実行を判断すること等をもって、ノイズの削減が行え、ファイルサイズの低減にもつながる。   There is also a method of reducing distortion such as block noise and mosquito noise included in the compressed and decompressed image (see, for example, Patent Document 2). In the method of Patent Document 2, a pixel that satisfies a certain condition is selected from pixels in the vicinity of the target pixel, the target pixel is replaced with an average value of the selected pixels, and the execution of the replacement is performed depending on the presence or absence of an edge in the target block. By judging the above, noise can be reduced and the file size can be reduced.

また、画像をブロック単位に分割して圧縮符号化する符号化方式もある(例えば、特許文献3参照。)。特許文献3の方法は、ブロック内の画素を閾値により二値化し、二値の各々の値により画素を分類し、それぞれの平均値を算出し、ブロック中にエッジが存在するときは、エッジ近傍の画素値の平均値をもって当該閾値とする方法である。
特開2002−368986号公報 特開2001−245179号公報 特開2003−087570号公報
In addition, there is an encoding method in which an image is divided into blocks and compressed and encoded (see, for example, Patent Document 3). The method of Patent Document 3 binarizes pixels in a block with a threshold value, classifies the pixels according to each of the binary values, calculates an average value of each, and when an edge exists in the block, the vicinity of the edge In this method, the average value of the pixel values is used as the threshold value.
JP 2002-368986 A JP 2001-245179 A JP 2003-087570 A

しかしながら、上述したJPEG方式は、文字を多く含む画像を圧縮する場合に、文字の周り(境界部)にノイズが起こりやすく、また、圧縮効率もよくない問題があった。例えば、JPEG方式では、文字の周りに本来ないはずの色が発生することがあり、画質低下の一因となっている。また、ファイルサイズを小さくするために解像度を落した上でJPEGを実行する方法もあるが、文字の場合には輪郭が低解像度化に伴いぼんやりとするので、画質の低下が大きい問題もある。   However, the above-described JPEG method has a problem that noise tends to occur around characters (boundary portions) when an image containing many characters is compressed, and compression efficiency is not good. For example, in the JPEG method, an unexpected color may occur around a character, which is a cause of deterioration in image quality. In addition, there is a method of executing JPEG after reducing the resolution in order to reduce the file size. However, in the case of characters, the outline is blurred as the resolution is lowered, so there is a problem that the image quality is greatly deteriorated.

また、上述した特許文献1の方式は、一般的に文字と非文字の判定は難しく、判定を誤ると画質が低下する問題があった。   Further, in the method of Patent Document 1 described above, it is generally difficult to determine characters and non-characters, and there is a problem that image quality deteriorates if the determination is incorrect.

また、上述した特許文献2の方法は、強いエッジがあった場合、その画素を他の画素値に置き換えてエッジを弱めるため、文字等の再現性はよくない問題があった。   Further, the method disclosed in Patent Document 2 described above has a problem in that the reproducibility of characters or the like is not good because the edge is weakened by replacing the pixel with another pixel value when there is a strong edge.

また、上述した特許文献3の方法は、エッジ情報を保存するのが目的であり、また、二値符号化をサポートする圧縮形式でないと適用できない問題があった。   The method of Patent Document 3 described above is intended to preserve edge information, and has a problem that it cannot be applied unless the compression format supports binary coding.

本発明は、上記の点に鑑みなされたもので、文字と非文字との判定を行うことなく、画質劣化を抑制し、効率よくファイルサイズを小さくすることを目的とする。   The present invention has been made in view of the above points, and an object of the present invention is to suppress image quality deterioration and efficiently reduce a file size without performing determination of characters and non-characters.

そこで、上記課題を解決するため、本発明は、画像を処理する画像処理装置であって、多値画像を取得する多値画像取得手段と、前記多値画像から二値画像を生成する二値画像生成手段と、前記多値画像及び前記二値画像に基づいて、第一多値画像及び第二多値画像を生成する多値画像生成手段と、を有し、前記多値画像生成手段は、前記第一多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の一方の画素値が存在すると、該二値画像の一方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第一多値画像の画素の画素値を設定する第一多値画像画素値設定手段と、前記第二多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の他方の画素値が存在すると、該二値画像の他方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第二多値画像の画素の画素値を設定する第二多値画像画素値設定手段と、値が設定された前記第一多値画像の既決画素の近傍の、値が設定されていない前記第一多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第一多値画像画素未設定画素設定手段と、値が設定された前記第二多値画像の既決画素の近傍の、値が設定されていない前記第二多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第二多値画像画素未設定画素設定手段と、を有することを特徴とする。   Therefore, in order to solve the above-described problem, the present invention provides an image processing apparatus that processes an image, a multi-value image acquisition unit that acquires a multi-value image, and a binary that generates a binary image from the multi-value image. Image generation means, and multi-value image generation means for generating a first multi-value image and a second multi-value image based on the multi-value image and the binary image, the multi-value image generation means If one pixel value of the binary image exists in the binary image at a position corresponding to the pixel position of the first multi-valued image, it corresponds to the position where one pixel value of the binary image exists. A first multi-value image pixel value setting means for setting a pixel value of a pixel of the first multi-value image based on a pixel value in the multi-value image at a position of the position, and a position of the pixel of the second multi-value image If the other pixel value of the binary image exists in the binary image at the position corresponding to Second multi-value image pixel value setting means for setting a pixel value of a pixel of the second multi-value image based on a pixel value in the multi-value image at a position corresponding to a position where the other pixel value exists; The pixel value of the undecided pixel in the first multi-valued image in which the value is not set near the decided pixel in the first multi-valued image in which the value is set, and the pixel value of the decided pixel in the vicinity of the undecided pixel A first multi-value image pixel non-set pixel setting means that is set using and a second multi-value image that has no value set in the vicinity of the determined pixel of the second multi-value image that has been set. And a second multi-value image pixel non-set pixel setting unit that sets the pixel value of the pixel using the pixel value of the decided pixel in the vicinity of the decided pixel.

本発明によれば、画像を処理する画像処理装置であって、多値画像を取得する多値画像取得手段と、前記多値画像から二値画像を生成する二値画像生成手段と、前記多値画像及び前記二値画像に基づいて、第一多値画像及び第二多値画像を生成する多値画像生成手段と、を有し、前記多値画像生成手段は、前記第一多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の一方の画素値が存在すると、該二値画像の一方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第一多値画像の画素の画素値を設定する第一多値画像画素値設定手段と、前記第二多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の他方の画素値が存在すると、該二値画像の他方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第二多値画像の画素の画素値を設定する第二多値画像画素値設定手段と、値が設定された前記第一多値画像の既決画素の近傍の、値が設定されていない前記第一多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第一多値画像画素未設定画素設定手段と、値が設定された前記第二多値画像の既決画素の近傍の、値が設定されていない前記第二多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第二多値画像画素未設定画素設定手段と、を有することによって、文字と非文字との判定を行うことなく、画質劣化を抑制し、効率よくファイルサイズを小さくすることができる。   According to the present invention, there is provided an image processing apparatus for processing an image, a multi-value image acquisition unit that acquires a multi-value image, a binary image generation unit that generates a binary image from the multi-value image, and the multi-value image Multi-value image generation means for generating a first multi-value image and a second multi-value image based on the value image and the binary image, and the multi-value image generation means comprises the first multi-value image. If one pixel value of the binary image exists in the binary image at a position corresponding to the position of the pixel, the multi-value image at a position corresponding to the position where one pixel value of the binary image exists A first multi-value image pixel value setting means for setting a pixel value of a pixel of the first multi-value image based on a pixel value of the first multi-value image; and the second multi-value image at a position corresponding to the position of the pixel of the second multi-value image. If the other pixel value of the binary image exists in the value image, the position where the other pixel value of the binary image exists Second multi-value image pixel value setting means for setting a pixel value of a pixel of the second multi-value image based on a pixel value in the multi-value image at a corresponding position; A first multi-value that sets a pixel value of an undecided pixel of the first multi-valued image in the vicinity of the decided pixel of the value image, for which no value is set, using a pixel value of the decided pixel in the vicinity of the decided pixel An image pixel non-set pixel setting means, and a pixel value of an undecided pixel of the second multi-valued image in which no value is set in the vicinity of the decided pixel of the second multi-valued image in which a value has been set, The second multi-valued image pixel non-set pixel setting means that is set using the pixel value of the determined pixel in the vicinity of, suppresses image quality deterioration without performing determination of characters and non-characters, The file size can be reduced efficiently.

なお、画像処理装置は、例えば後述する画像処理装置1に対応する。また、多値画像取得手段は、例えば後述する多値画像取得手段101に対応する。また、二値画像生成手段は、例えば後述する二値画像生成手段102に対応する。また、多値画像生成手段は、例えば後述する第一、二多値画像生成手段104に対応する。また、第一多値画像画素値設定手段は、例えば後述する第一多値画像画素値決定手段105に対応する。また、第二多値画像画素値設定手段は、例えば後述する第二多値画像画素値決定手段107に対応する。また、第一多値画像画素未設定画素設定手段は、例えば後述する第一多値画像未決定画素決定手段106に対応する。また、第二多値画像画素未設定画素設定手段は、例えば後述する第二多値画像未決定画素決定手段108に対応する。   Note that the image processing apparatus corresponds to, for example, an image processing apparatus 1 described later. The multi-value image acquisition unit corresponds to, for example, a multi-value image acquisition unit 101 described later. Further, the binary image generation means corresponds to, for example, a binary image generation means 102 described later. The multi-value image generation means corresponds to, for example, first and second multi-value image generation means 104 described later. The first multi-value image pixel value setting unit corresponds to, for example, a first multi-value image pixel value determination unit 105 described later. The second multi-value image pixel value setting unit corresponds to, for example, a second multi-value image pixel value determination unit 107 described later. The first multi-value image pixel non-set pixel setting unit corresponds to, for example, a first multi-value image non-determined pixel determination unit 106 described later. The second multi-value image pixel non-set pixel setting unit corresponds to, for example, a second multi-value image non-determined pixel determination unit 108 described later.

また、上記課題を解決するための手段として、画像処理方法、画像処理プログラム及び記録媒体としてもよい。   Further, as means for solving the above problems, an image processing method, an image processing program, and a recording medium may be used.

本発明によれば、文字と非文字との判定を行うことなく、画質劣化を抑制し、効率よくファイルサイズを小さくすることができる。   According to the present invention, it is possible to suppress image quality deterioration and efficiently reduce the file size without performing determination of characters and non-characters.

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

図1は、本実施例における基本的な処理を示す概念図である。図1に示されるように、本実施例(以下に示す実施例においても同様)では、原画像(又は多値画像)を、3層(第一多値画像と、第二多値画像と、二値画像と、)に分離し、それぞれに対して圧縮符号化を行い、重ね合わせ表示可能な形態にまとめる処理を基本的な処理としている。   FIG. 1 is a conceptual diagram showing basic processing in this embodiment. As shown in FIG. 1, in this embodiment (the same applies to the embodiments described below), the original image (or multi-value image) is divided into three layers (first multi-value image, second multi-value image, and The basic processing is a binary image) and a process of compressing and encoding each of the images and combining them into a form that can be superimposed and displayed.

なお、後述するように、画像処理装置1は、二値画像において黒画素の部分を第一多値画像の画素値を用いて表示し、二値画像において白画素の部分を第二多値画像の画素値を用いて表示する。   As will be described later, the image processing apparatus 1 displays the black pixel portion in the binary image using the pixel value of the first multi-value image, and the white pixel portion in the binary image as the second multi-value image. The pixel value is used for display.

以下、画像処理装置1の構成の一例を、図2に示す。図2は、画像処理装置の構成図(その1)である。   An example of the configuration of the image processing apparatus 1 is shown in FIG. FIG. 2 is a configuration diagram (part 1) of the image processing apparatus.

図1に示されるように、画像処理装置1は、多値画像取得手段101と、二値画像生成手段102と、符号化手段103と、第一、二多値画像生成手段104と、を含み、第一、二多値画像生成手段104は、第一多値画像画素値決定手段105と、第一多値画像未決定画素決定手段106と、第二多値画像画素値決定手段107と、第二多値画像未決定画素決定手段108と、を含む。   As shown in FIG. 1, the image processing apparatus 1 includes a multi-value image acquisition unit 101, a binary image generation unit 102, an encoding unit 103, and a first binary multi-value image generation unit 104. The first and second multi-valued image generating means 104 includes a first multi-valued image pixel value determining means 105, a first multi-valued image undetermined pixel determining means 106, a second multi-valued image pixel value determining means 107, Second multi-value image undetermined pixel determining means 108.

多値画像取得手段101は、画像処理の対象となる多値画像を取得する。二値画像生成手段102は、多値画像取得手段101が取得した多値画像を、二値化し、二値画像を生成する。二値画像生成手段102における二値化の方法は、例えば予め定められた明度に係る閾値に基づいて、該閾値以上の画素を白画素、閾値未満の画素を黒画素と、する方法等がある。   The multi-value image acquisition unit 101 acquires a multi-value image that is an object of image processing. The binary image generation unit 102 binarizes the multilevel image acquired by the multilevel image acquisition unit 101 and generates a binary image. As a binarization method in the binary image generation unit 102, for example, based on a threshold value relating to a predetermined brightness, a pixel above the threshold value is a white pixel, and a pixel less than the threshold value is a black pixel. .

第一、二多値画像生成手段104は、多値画像取得手段101が取得した多値画像及び/又は二値画像生成手段102が生成した二値画像に基づいて、第一多値画像及び第二多値画像を生成する。   The first and second multi-valued image generating means 104 is configured to generate the first multi-valued image and the second multi-valued image based on the multi-valued image acquired by the multi-valued image acquiring means 101 and / or the binary image generated by the binary image generating means 102. A binary multi-valued image is generated.

第一多値画像画素値決定手段105は、第一多値画像の画像サイズを決定し、第一多値画像の画素値を同じ値(例えば、黒画素値)で仮に埋めた後、第一多値画像の画素に対応する位置に係る二値画像を特定し、該特定した二値画像内に、二値画像の一方の画素値(例えば、黒画素値)が存在するか否かを判定し、該特定した二値画像内に、二値画像の一方の画素値が存在すると判定すると、該二値画像内の一方の画素値が存在する位置に対応する位置に係る多値画像を特定し、該特定した多値画像(原画像)内の画素値に基づいて、第一多値画像の画素の画素値を設定する。なお、後述するように、第二多値画像画素値決定手段107は、第二多値画像の画像サイズを決定するが、第一多値画像画素値決定手段105が決定する第一多値画像の画像サイズと、第二多値画像画素値決定手段107が決定する第二多値画像の画像サイズは同じ画像サイズである。なお、本実施例では説明の簡略化のため、該画像サイズは、原画像のサイズの二分の一(解像度が二分の一といってもよい)とする。   The first multi-value image pixel value determining means 105 determines the image size of the first multi-value image, temporarily fills the pixel values of the first multi-value image with the same value (for example, black pixel value), A binary image related to a position corresponding to a pixel of a multi-value image is specified, and it is determined whether or not one pixel value (for example, a black pixel value) of the binary image exists in the specified binary image. If it is determined that one pixel value of the binary image exists in the specified binary image, the multi-value image related to the position corresponding to the position where the one pixel value exists in the binary image is specified. Then, the pixel value of the pixel of the first multi-value image is set based on the pixel value in the specified multi-value image (original image). As will be described later, the second multi-value image pixel value determining means 107 determines the image size of the second multi-value image, but the first multi-value image pixel value determining means 105 determines the first multi-value image pixel value determining means 105. And the image size of the second multi-valued image determined by the second multi-valued image pixel value determining means 107 are the same image size. In the present embodiment, for simplification of description, the image size is set to half the size of the original image (the resolution may be half).

第一多値画像未決定画素決定手段106は、値が設定された第一多値画像の画素の近傍の、値が設定されていない第一多値画像の画素の画素値を、該画素の近傍の、値が設定された第一多値画像の画素の画素値を用いて設定する。   The first multi-valued image undetermined pixel determining means 106 calculates the pixel value of the pixel of the first multi-valued image not set with a value near the pixel of the first multi-valued image set with the value. It sets using the pixel value of the pixel of the 1st multi-valued image to which the value was set in the vicinity.

第二多値画像画素値決定手段107は、第二多値画像の画像サイズを決定し、第二多値画像の画素値を同じ値(例えば、白画素値)で仮に埋めた後、第二多値画像の画素に対応する位置に係る二値画像を特定し、該特定した二値画像内に、二値画像の他方の画素値(例えば、白画素値)が存在するか否かを判定し、該特定した二値画像内に、二値画像の他方の画素値が存在すると判定すると、該二値画像内の他方の画素値が存在する位置に対応する位置に係る多値画像を特定し、該特定した多値画像(原画像)内の画素値に基づいて、第二多値画像の画素の画素値を設定する。なお、上述したように、第二多値画像画素値決定手段107が決定する第二多値画像の画像サイズは、第一多値画像画素値決定手段105が決定する第一多値画像の画像サイズと、同じ画像サイズである。   The second multi-value image pixel value determining means 107 determines the image size of the second multi-value image, temporarily fills the pixel value of the second multi-value image with the same value (for example, white pixel value), A binary image related to a position corresponding to a pixel of a multi-valued image is specified, and it is determined whether or not the other pixel value (for example, white pixel value) of the binary image exists in the specified binary image. When it is determined that the other pixel value of the binary image exists in the specified binary image, the multi-value image related to the position corresponding to the position where the other pixel value exists in the binary image is specified. Then, the pixel value of the pixel of the second multi-value image is set based on the pixel value in the specified multi-value image (original image). As described above, the image size of the second multi-value image determined by the second multi-value image pixel value determining unit 107 is the image of the first multi-value image determined by the first multi-value image pixel value determining unit 105. The image size is the same as the size.

第二多値画像未決定画素決定手段108は、値が設定された第二多値画像の画素の近傍の、値が設定されていない第二多値画像の画素の画素値を、該画素の近傍の、値が設定された第二多値画像の画素の画素値を用いて設定する。   The second multi-valued image undetermined pixel determining means 108 calculates the pixel value of the pixel of the second multi-valued image not set with a value near the pixel of the second multi-valued image with the value set. It sets using the pixel value of the pixel of the 2nd multi-valued image to which the value was set in the vicinity.

符号化手段103は、第一、二多値画像生成手段104によって生成された第一多値画像と、第二多値画像と、を、第一多値画像及び第二多値画像に適した方法で圧縮符号化する。また、符号化手段103は、二値画像生成手段102において生成された二値画像を、二値画像に適した方法で圧縮符号化する。   The encoding means 103 is suitable for the first multi-value image and the second multi-value image, the first multi-value image and the second multi-value image generated by the first and second multi-value image generation means 104. Compression-encoding using the method. The encoding unit 103 compresses and encodes the binary image generated by the binary image generation unit 102 by a method suitable for the binary image.

以下、第一多値画像の1画素に相当する二値画像及び原画像の位置の一例を、図3に示す。図3は、第一多値画像の1画素に相当する二値画像及び原画像の位置の一例を示す図である。   Hereinafter, an example of the position of the binary image corresponding to one pixel of the first multi-valued image and the original image is shown in FIG. FIG. 3 is a diagram illustrating an example of the positions of the binary image and the original image corresponding to one pixel of the first multi-valued image.

上述したように本発明の実施例では、第一多値画像の解像度は、二値画像及び原画像の解像度の二分の一であるため、図3に示されるように、第一多値画像の1画素の位置に相当する二値画像及び原画像の画素は、相対的に同じ位置にある2×2画素に該当する。第一多値画像画素値決定手段105は、図3に示した方法により、画素値を決定する第一多値画像の画素に対応する位置に係る二値画像を特定する。なお、第二多値画像画素値決定手段107も、第一多値画像画素値決定手段105と同様の処理又は方法により、画素値を決定する第二多値画像の画素に対応する位置に係る二値画像を特定する。   As described above, in the embodiment of the present invention, the resolution of the first multi-valued image is one half of the resolution of the binary image and the original image. Therefore, as shown in FIG. The binary image corresponding to the position of one pixel and the pixel of the original image correspond to 2 × 2 pixels that are relatively in the same position. The first multi-valued image pixel value determining unit 105 specifies a binary image related to the position corresponding to the pixel of the first multi-valued image whose pixel value is determined by the method shown in FIG. Note that the second multi-value image pixel value determining unit 107 also relates to the position corresponding to the pixel of the second multi-value image for determining the pixel value by the same process or method as the first multi-value image pixel value determining unit 105. Identify binary images.

以下、第一多値画像の画素値の計算の一例を図4に示す。図4は、第一多値画像の画素値の計算の一例を示す概念図である。   Hereinafter, an example of the calculation of the pixel value of the first multi-valued image is shown in FIG. FIG. 4 is a conceptual diagram illustrating an example of calculation of pixel values of the first multi-valued image.

第一多値画像画素値決定手段105は、図3に示したように、画素値を決定する第一多値画像の画素に対応する位置に係る二値画像を特定すると、該特定した二値画像の2×2画素内に、黒画素が存在するか否かを判定する。第一多値画像画素値決定手段105は、黒画素が存在すると判定すると、2×2画素内に含まれる黒画素の位置に相当する原画像の画素値を取得し、該取得した画素値の例えば平均値を、対応する第一多値画像の画素の画素値に決定する。   As shown in FIG. 3, the first multi-value image pixel value determining unit 105 specifies the binary image related to the position corresponding to the pixel of the first multi-value image for determining the pixel value. It is determined whether or not there is a black pixel in 2 × 2 pixels of the image. When the first multi-value image pixel value determining unit 105 determines that a black pixel exists, the first multi-value image pixel value determining unit 105 acquires a pixel value of the original image corresponding to the position of the black pixel included in the 2 × 2 pixels, and For example, the average value is determined as the pixel value of the corresponding pixel of the first multi-value image.

例えば、画素値を決定する第一多値画像の画素に対応する位置に係る二値画像の2×2画素内に、黒画素が3画素含まれていた場合、第一多値画像画素値決定手段105は、該3つの黒画素の位置に相当する原画像の画素値の例えば平均値を、対応する第一多値画像の画素の画素値に決定する。   For example, when 3 black pixels are included in 2 × 2 pixels of the binary image related to the position corresponding to the pixel of the first multi-value image for determining the pixel value, the first multi-value image pixel value is determined. The means 105 determines, for example, the average value of the pixel values of the original image corresponding to the positions of the three black pixels as the pixel value of the corresponding pixel of the first multi-value image.

また、画素値を決定する第一多値画像の画素に対応する位置に係る二値画像の2×2画素内に、黒画素が1画素も含まれていなかった場合、第一多値画像画素値決定手段105は、対応する第一多値画像の画素の画素値を未決とする。なお、以下では画素値が決定された画素を既決画素、画素値が決定されなかった画素を未決画素という。   In addition, when no black pixel is included in 2 × 2 pixels of the binary image related to the position corresponding to the pixel of the first multi-value image for determining the pixel value, the first multi-value image pixel The value determining unit 105 determines that the pixel value of the corresponding pixel of the first multi-value image is undecided. Hereinafter, a pixel whose pixel value is determined is referred to as a determined pixel, and a pixel whose pixel value is not determined is referred to as a determined pixel.

第一多値画像画素値決定手段105は、上述した第一多値画像の画素値を決定する処理を、全ての第一多値画像に対して行う。なお、第二多値画像画素値決定手段107も、第一多値画像画素値決定手段105と同様の処理又は方法により、第二多値画像の画素値を決定する。但し、第二多値画像画素値決定手段107は、画素値を決定する第二多値画像の画素に対応する位置に係る二値画像を特定すると、該特定した二値画像の2×2画素内に、白画素が存在するか否かを判定し、白画素が存在すると判定すると、2×2画素内に含まれる白画素の位置に相当する原画像の画素値を取得し、該取得した画素値の例えば平均値を、対応する第二多値画像の画素の画素値に決定する。   The first multi-value image pixel value determining unit 105 performs the above-described processing for determining the pixel values of the first multi-value image on all the first multi-value images. Note that the second multi-value image pixel value determining unit 107 also determines the pixel value of the second multi-value image by the same process or method as the first multi-value image pixel value determining unit 105. However, when the second multi-value image pixel value determining means 107 specifies a binary image related to the position corresponding to the pixel of the second multi-value image for determining the pixel value, 2 × 2 pixels of the specified binary image It is determined whether or not there is a white pixel, and if it is determined that a white pixel exists, the pixel value of the original image corresponding to the position of the white pixel included in the 2 × 2 pixel is acquired, and the acquired For example, the average value of the pixel values is determined as the pixel value of the corresponding pixel of the second multi-valued image.

以下、第一多値画像未決定画素決定手段106の構成の一例を、図5に示す。図5は、第一多値画像未決定画素決定手段の構成図である。   An example of the configuration of the first multi-valued image undetermined pixel determining unit 106 is shown in FIG. FIG. 5 is a configuration diagram of the first multi-valued image undetermined pixel determining means.

図5に示されるように、第一多値画像未決定画素決定手段106は、ブロック内領域設定手段111と、ブロック内既決・未決画素計数手段112と、画素値設定手段113と、を含む。   As shown in FIG. 5, the first multi-valued image undetermined pixel determining unit 106 includes an in-block region setting unit 111, an in-block determined / undetermined pixel counting unit 112, and a pixel value setting unit 113.

ブロック内領域設定手段111は、第一多値画像に対して、数画素四方のブロックサイズの設定(決定)及び/又は該設定したブロックサイズの拡大を行う。例えばブロック内領域設定手段111は、初めに、予め定められた値等に基づいて、ブロックサイズを2×2画素のサイズと設定し、要求等に応じて該ブロックサイズを4×4画素に拡大したり、要求等に応じて該ブロックサイズを最終的に予め定められた上限である8×8画素に拡大したりする。   The in-block area setting unit 111 sets (determines) a block size of several pixels on the first multi-valued image and / or enlarges the set block size. For example, the in-block area setting unit 111 first sets the block size to 2 × 2 pixels based on a predetermined value or the like, and expands the block size to 4 × 4 pixels as required. The block size is finally expanded to 8 × 8 pixels which is a predetermined upper limit in response to a request or the like.

なお、ブロック内領域設定手段111は、ブロックサイズの拡大処理を行わず、初めからブロックサイズを8×8画素に設定するようにしてもよい。   The in-block area setting unit 111 may set the block size to 8 × 8 pixels from the beginning without performing the block size enlargement process.

ブロック内既決・未決画素計数手段112は、ブロック内領域設定手段111が設定等したブロックサイズのブロック内の既決画素及び未決画素に係る計数を実行し、該ブロック内に既決画素及び未決画素が共に含まれているか否かを判定する。また、ブロック内既決・未決画素計数手段112は、ブロック内に、既決画素及び未決画素が共に含まれていると判定すると、ブロック内の既決画素の画素値の平均値を求める。   The in-block determined / undecided pixel counting unit 112 performs counting related to the determined and undecided pixels in the block having the block size set by the in-block region setting unit 111, and both the determined and undecided pixels are included in the block. It is determined whether or not it is included. In addition, when the determined / undecided pixel counting unit 112 in the block determines that both the determined pixel and the undecided pixel are included in the block, the average value of the determined pixels in the block is obtained.

画素値設定手段113は、ブロック内既決・未決画素計数手段112が、求めたブロック内の既決画素の画素値の平均値をブロック内の未決画素の画素値として決定(設定)する。未決画素は、画素値設定手段113によって、画素値が決定されると、以降既決画素として扱われる。   The pixel value setting unit 113 determines (sets) the average value of the pixel values of the determined pixels in the block obtained by the intra-block determined / undecided pixel counting unit 112 as the pixel value of the determined pixels in the block. When the pixel value is determined by the pixel value setting unit 113, the undecided pixel is treated as a determined pixel thereafter.

第二多値画像未決定画素決定手段108の構成及び第二多値画像未決定画素決定手段108による処理等は、第一多値画像未決定画素決定手段106の構成及び第一多値画像未決定画素決定手段106による処理と同様である。   The configuration of the second multi-valued image undetermined pixel determining unit 108 and the processing by the second multi-valued image undetermined pixel determining unit 108 are the same as the configuration of the first multi-valued image undetermined pixel determining unit 106 and the first multi-valued image undetermined pixel determining unit 108. This is the same as the processing by the determined pixel determining means 106.

以下、第一多値画像未決定画素決定手段106によるブロック内平均による境界未決画素の平滑化の一例を、図6に示す。図6は、ブロック内平均による境界未決画素の平滑化の一例を示す図である。   Hereinafter, an example of smoothing of the boundary undetermined pixels by the average within the block by the first multi-valued image undetermined pixel determining means 106 is shown in FIG. FIG. 6 is a diagram illustrating an example of smoothing of the boundary undetermined pixels by the intra-block average.

図6(A)に示されるように、ブロック内領域設定手段111は、初めに、ブロックサイズを例えば2×2画素のサイズと設定する。ブロック内既決・未決画素計数手段112は、ブロック内領域設定手段111が設定した2×2画素のブロックサイズのブロック内の既決画素及び未決画素に係る計数を実行し、該ブロック内に既決画素及び未決画素が共に含まれているか否かを判定する。ブロック内既決・未決画素計数手段112は、2×2画素のブロックサイズのブロック内に既決画素及び未決画素が共に含まれていると判定すると、2×2画素のブロックサイズのブロック内の既決画素の画素値の平均値(図6(A)の例では(8+2)/2=5)を求める。画素値設定手段113は、ブロック内既決・未決画素計数手段112が求めた既決画素の画素値の平均値(図6(A)の例では5)を、ブロック内の未決画素の画素値として決定(設定)する。   As shown in FIG. 6A, the in-block area setting unit 111 first sets the block size to, for example, a size of 2 × 2 pixels. The in-block determined / undecided pixel counting means 112 executes counting related to the determined pixels and the undecided pixels in the block having the block size of 2 × 2 pixels set by the in-block region setting means 111, and determines the determined pixels and It is determined whether or not both undecided pixels are included. If the determined / undecided pixel counting means 112 in the block determines that both the determined pixel and the determined pixel are included in the block having the block size of 2 × 2 pixels, the determined pixel in the block having the block size of 2 × 2 pixels Of the pixel values ((8 + 2) / 2 = 5 in the example of FIG. 6A). The pixel value setting unit 113 determines the average value (5 in the example of FIG. 6A) of the determined pixels obtained by the determined / undecided pixel counting unit 112 in the block as the pixel value of the determined pixels in the block. (Set).

第一多値画像未決定画素決定手段106は、上述した2×2画素のブロックサイズによるブロック内平均による境界未決画素の平滑化を、第一多値画像全体に行った後、例えばブロック内領域設定手段111に対してブロックサイズの拡大を要求する。   The first multi-valued image undetermined pixel determining unit 106 performs smoothing of the boundary undetermined pixels by the above-described average within the block with the block size of 2 × 2 pixels on the entire first multi-valued image, for example, an in-block region. The setting unit 111 is requested to increase the block size.

該要求を受け取ったブロック内領域設定手段111は、図6(B)に示されるように、ブロックサイズを拡大し、例えばブロックサイズを4×4画素のサイズと設定する。ブロック内既決・未決画素計数手段112は、ブロック内領域設定手段111が設定した4×4画素のブロックサイズのブロック内の既決画素及び未決画素に係る計数を実行し、該ブロック内に既決画素及び未決画素が共に含まれているか否かを判定する。ブロック内既決・未決画素計数手段112は、4×4画素のブロックサイズのブロック内に既決画素及び未決画素が共に含まれていると判定すると、4×4画素のブロックサイズのブロック内の既決画素の画素値の平均値(図6(B)の例では(8+5+2+5+3+3+3+3+7+4+8+9)/12=5)を求める。画素値設定手段113は、ブロック内既決・未決画素計数手段112が求めた既決画素の画素値の平均値(図6(B)の例では5)を、ブロック内の未決画素の画素値として決定(設定)する。   The intra-block area setting unit 111 that has received the request enlarges the block size, for example, sets the block size to a size of 4 × 4 pixels, as shown in FIG. 6B. The intra-block determined / undecided pixel counting unit 112 performs counting related to the determined pixels and the undecided pixels in the block having a block size of 4 × 4 pixels set by the intra-block region setting unit 111, and determines the determined pixels and It is determined whether or not both undecided pixels are included. If the determined / undecided pixel counting means 112 in the block determines that both the determined pixel and the undecided pixel are included in the block having the block size of 4 × 4 pixels, the determined pixel in the block having the block size of 4 × 4 pixels is determined. (8 + 5 + 2 + 5 + 3 + 3 + 3 + 3 + 7 + 4 + 8 + 9) / 12 = 5 in the example of FIG. 6B. The pixel value setting unit 113 determines the average value (5 in the example of FIG. 6B) of the determined pixels obtained by the determined / undecided pixel counting unit 112 in the block as the pixel value of the determined pixels in the block. (Set).

第一多値画像未決定画素決定手段106は、上述した4×4画素のブロックサイズによるブロック内平均による境界未決画素の平滑化を、第一多値画像全体に行う。   The first multi-valued image undetermined pixel determining means 106 performs the smoothing of the boundary undetermined pixels by the block average with the block size of 4 × 4 pixels described above on the entire first multi-valued image.

同様に、第一多値画像未決定画素決定手段106は、図6(C)に示されるように、例えば8×8画素のブロックサイズによるブロック内平均による境界未決画素の平滑化を、第一多値画像全体に行う。図6(D)は、8×8画素のブロックサイズによるブロック内平均による境界未決画素の平滑化処理が終わった後の第一多値画像の一例を示している。   Similarly, as shown in FIG. 6C, the first multi-valued image undetermined pixel determining unit 106 performs first smoothing of the boundary undetermined pixels by the average within the block with a block size of 8 × 8 pixels, for example. Perform on the entire multi-valued image. FIG. 6D shows an example of the first multi-valued image after the smoothing processing of the boundary undetermined pixels by the average within the block with the block size of 8 × 8 pixels.

なお、ブロックサイズを段階的に大きくし再帰的にブロック内平均による境界未決画素の平滑化処理を実行するのではなく、初めから8×8画素のブロックサイズによるブロック内平均による境界未決画素の平滑化を、第一多値画像全体に行うようにしてもよい。このようにすることにより、再帰的にブロック内平均による境界未決画素の平滑化処理を実行する必要がなくなり、該処理が速くなる。   In addition, the block size is increased stepwise, and the boundary undecided pixel smoothing process is not recursively performed by the average within the block, but the boundary undecided pixel is smoothed by the average within the block with the block size of 8 × 8 pixels from the beginning. The conversion may be performed on the entire first multi-valued image. By doing so, it is not necessary to recursively perform the smoothing processing of the boundary undetermined pixels by the average in the block, and the processing becomes faster.

なお、8×8画素のブロックサイズによるブロック内平均による境界未決画素の平滑化処理が終わった後でも、未決画素が存在する可能性は有り、該未決画素には、第一多値画像画素値決定手段105が仮の値として一律に埋めた、画素値が残ることとなる。   Note that there is a possibility that an undecided pixel exists even after the smoothing processing of the boundary undetermined pixel by the average in the block with the block size of 8 × 8 pixels, and the undecided pixel includes the first multi-value image pixel value. The pixel value that is uniformly filled as a provisional value by the determining unit 105 remains.

第二多値画像未決定画素決定手段108によるブロック内平均による境界未決画素の平滑化処理も、上述した第一多値画像未決定画素決定手段106によるブロック内平均による境界未決画素の平滑化処理と同様である。   The smoothing process of the boundary undetermined pixels by the average within the block by the second multi-valued image undetermined pixel determining means 108 is also the smoothing process of the boundary undetermined pixels by the average within the block by the first multi-value image undetermined pixel determining means 106 described above. It is the same.

第一、二多値画像生成手段104は、上述した処理により、既決画素と、未決画素と、の境界が滑らかに変換する第一多値画像と、第二多値画像と、を生成する。既決画素と、未決画素と、の境界の滑らかな変化は、符号化手段103等において行われる圧縮符号化に有利であり、ファイルサイズの削減と画質の向上とに役立つ。また、圧縮符号化の際にJPEG方式で圧縮する場合、8×8画素までで処理を終了しても圧縮効率において問題はない。それは、JPEG方式では8×8画素にブロックサイズを設定し、該設定したブロックサイズのブロック内部での画素値の変動がファイルサイズに支配的な影響を及ぼすためで、ブロックをまたいで画素値が変化してもファイルサイズ的に殆ど影響が無いからである。また、未決画素は、8×8画素のブロックサイズでまとまって存在していれば、該ブロック内部は同一色になるのでファイルサイズとしても有利である。   The first and second multi-value image generation means 104 generates a first multi-value image and a second multi-value image in which the boundary between the determined pixel and the undecided pixel is smoothly converted by the above-described processing. A smooth change in the boundary between the determined pixel and the determined pixel is advantageous for compression encoding performed in the encoding unit 103 and the like, and is useful for reducing the file size and improving the image quality. In the case of compressing by JPEG method at the time of compression encoding, there is no problem in the compression efficiency even if the processing is finished up to 8 × 8 pixels. This is because the block size is set to 8 × 8 pixels in the JPEG method, and the fluctuation of the pixel value inside the block of the set block size has a dominant influence on the file size. This is because even if it changes, there is almost no influence on the file size. Further, if the undecided pixels are present in a block size of 8 × 8 pixels, the inside of the block has the same color, which is advantageous as a file size.

第一、二多値画像生成手段104によって生成された第一多値画像と、第二多値画像と、は、符号化手段103によって、第一多値画像及び第二多値画像に適した方法で圧縮符号化される。例えば、第一多値画像及び第二多値画像に適した圧縮符号化としては、JPEG方式の圧縮や、JPEG2000方式が有効である。   The first multi-value image and the second multi-value image generated by the first and second multi-value image generation means 104 are suitable for the first multi-value image and the second multi-value image by the encoding means 103. Compression-encoded in the manner. For example, as compression encoding suitable for the first multi-value image and the second multi-value image, JPEG compression or JPEG 2000 method is effective.

また、符号化手段103は、二値画像生成手段102が生成した二値画像を、二値画像に適した方法で圧縮符号化する。例えば、二値画像に適した圧縮符号化としては、MMR(Modified Modified Read)方式や、JBIG(Joint Bi−level Image Experts Group)方式、JBIG2方式等が有効である。   The encoding unit 103 compresses and encodes the binary image generated by the binary image generation unit 102 by a method suitable for the binary image. For example, an MMR (Modified Modified Read) method, a JBIG (Joint Bi-level Image Experts Group) method, a JBIG2 method, and the like are effective as compression encoding suitable for a binary image.

符号化手段103によって圧縮符号化された、第一多値画像と、第二多値画像と、二値画像と、の合計サイズは、処理対象の原画像よりもはるかに小さいサイズになっている。例えば、画像処理装置1は、これらの符号化手段103によって圧縮符号化された、第一多値画像と、第二多値画像と、二値画像と、を、JPM(JPEG2000マルチレイヤ)形式等にのっとり1つのファイルにまとめ、再現可能なフォーマットで保存する。   The total size of the first multi-valued image, the second multi-valued image, and the binary image compressed and encoded by the encoding unit 103 is much smaller than the original image to be processed. . For example, the image processing apparatus 1 converts the first multi-value image, the second multi-value image, and the binary image that have been compression-encoded by the encoding means 103 into a JPM (JPEG 2000 multi-layer) format or the like. Put them together into a single file and save it in a reproducible format.

後述する実施例に示すように、画像処理装置1は、前記フォーマットを画像として再現する際には、圧縮符号化した3種類の画像をデコード(復号化)し、二値画像に基づいて、第一多値画像の画素値、又は第二多値画像の画素値、の何れを表示するかを切り替える。例えば、画像処理装置1は、二値画像の画素が黒画素であった場合、第一多値画像の画素値を表示し、二値画像の画素が白画素であった場合、第二多値画像の画素値を表示する。   As shown in an embodiment described later, when reproducing the format as an image, the image processing device 1 decodes (decodes) three types of compression-encoded images, and based on the binary image, Whether to display the pixel value of the first multi-valued image or the pixel value of the second multi-valued image is switched. For example, when the pixel of the binary image is a black pixel, the image processing apparatus 1 displays the pixel value of the first multi-value image, and when the pixel of the binary image is a white pixel, the second multi-value Displays the pixel value of the image.

以下、上述した各処理を、フローチャートを用いて説明する。図7は、画像処理装置における画像処理を示すフローチャート(その1)である。   Hereinafter, each process mentioned above is demonstrated using a flowchart. FIG. 7 is a flowchart (part 1) illustrating image processing in the image processing apparatus.

ステップS10において、多値画像取得手段101は、画像処理の対象となる多値画像(原画像)を取得する。   In step S <b> 10, the multi-value image acquisition unit 101 acquires a multi-value image (original image) that is a target of image processing.

ステップS10に続いてステップS11に進み、二値画像生成手段102は、多値画像取得手段101が取得した多値画像を、二値化し、二値画像を生成する。   Progressing to step S11 following step S10, the binary image generation unit 102 binarizes the multilevel image acquired by the multilevel image acquisition unit 101 to generate a binary image.

ステップS11に続いてステップS12に進み、第一多値画像画素値決定手段105は、第一多値画像の画像サイズを決定し、第一多値画像の画素値を同じ値(例えば、黒画素値)で仮に埋めた後、第一多値画像の画素に対応する位置に係る二値画像を特定し、該特定した二値画像内に、二値画像の一方の画素値(例えば、黒画素値)が存在するか否かを判定し、該特定した二値画像内に、二値画像の一方の画素値が存在すると判定すると、該二値画像内の一方の画素値が存在する位置に対応する位置に係る多値画像を特定し、該特定した多値画像(原画像)内の画素値に基づいて、第一多値画像の画素の画素値を設定する。   Progressing to step S12 following step S11, the first multi-valued image pixel value determining means 105 determines the image size of the first multi-valued image, and sets the pixel value of the first multi-valued image to the same value (for example, black pixel). The binary image related to the position corresponding to the pixel of the first multi-valued image is specified, and one pixel value (for example, a black pixel) of the binary image is specified in the specified binary image. Value) exists, and if it is determined that one pixel value of the binary image exists in the specified binary image, the pixel value in the binary image exists at a position where the pixel value exists. A multi-value image related to the corresponding position is specified, and the pixel value of the pixel of the first multi-value image is set based on the pixel value in the specified multi-value image (original image).

なお、第一多値画像画素値決定手段105による第一多値画像の画素値決定処理(ステップS12の処理)の詳細は、後述する図8に示す。   Details of the first multi-value image pixel value determining process (the process of step S12) by the first multi-value image pixel value determining means 105 are shown in FIG.

ステップS12に続いてステップS13に進み、第二多値画像画素値決定手段107は、第二多値画像の画像サイズを決定し、第二多値画像の画素値を同じ値(例えば、白画素値)で仮に埋めた後、第二多値画像の画素に対応する位置に係る二値画像を特定し、該特定した二値画像内に、二値画像の他方の画素値(例えば、白画素値)が存在するか否かを判定し、該特定した二値画像内に、二値画像の他方の画素値が存在すると判定すると、該二値画像内の他方の画素値が存在する位置に対応する位置に係る多値画像を特定し、該特定した多値画像(原画像)内の画素値に基づいて、第二多値画像の画素の画素値を設定する。   Progressing to step S13 following step S12, the second multi-value image pixel value determining means 107 determines the image size of the second multi-value image, and sets the pixel value of the second multi-value image to the same value (for example, white pixel). The binary image related to the position corresponding to the pixel of the second multi-valued image is specified, and the other pixel value (for example, white pixel) of the binary image is specified in the specified binary image. Value) exists, and if it is determined that the other pixel value of the binary image exists in the specified binary image, the pixel value is located at the position where the other pixel value exists in the binary image. A multi-value image related to the corresponding position is specified, and the pixel value of the pixel of the second multi-value image is set based on the pixel value in the specified multi-value image (original image).

なお、上述したように、第二多値画像画素値決定手段107が決定する第二多値画像の画像サイズは、第一多値画像画素値決定手段105が決定する第一多値画像の画像サイズと、同じ画像サイズである。   As described above, the image size of the second multi-value image determined by the second multi-value image pixel value determining unit 107 is the image of the first multi-value image determined by the first multi-value image pixel value determining unit 105. The image size is the same as the size.

ステップS13に続いてステップS14に進み、第一多値画像未決定画素決定手段106は、値が設定された第一多値画像の既決画素の近傍の、値が設定されていない第一多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する。   Proceeding to step S14 following step S13, the first multi-valued image undetermined pixel determining means 106 is a first multi-value not set with a value in the vicinity of the determined pixel of the first multi-valued image with the value set. The pixel value of the undecided pixel of the image is set using the pixel value of the determined pixel in the vicinity of the undecided pixel.

なお、第一多値画像未決定画素決定手段106の第一多値画像の境界未決画素平滑化処理(ステップS14の処理)の詳細は、後述する図9に示す。   Details of the boundary-undecided pixel smoothing process (step S14) of the first multi-valued image of the first multi-valued image undetermined pixel determining means 106 are shown in FIG. 9 to be described later.

ステップS14に続いてステップS15に進み、第二多値画像未決定画素決定手段108は、値が設定された第二多値画像の既決画素の近傍の、値が設定されていない第二多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する。   Proceeding to step S15 following step S14, the second multi-valued image undetermined pixel determining means 108 is a second multi-value in which a value is not set near the determined pixel of the second multi-valued image in which the value is set. The pixel value of the undecided pixel of the image is set using the pixel value of the determined pixel in the vicinity of the undecided pixel.

ステップS15に続いてステップS16に進み、符号化手段103は、第一、二多値画像生成手段104によって生成された第一多値画像と、第二多値画像と、を、第一多値画像及び第二多値画像に適した方法で圧縮符号化すると共に、二値画像生成手段102において生成された二値画像を、二値画像に適した方法で圧縮符号化し、処理を終了する。   Progressing to step S16 following step S15, the encoding unit 103 converts the first multilevel image and the second multilevel image generated by the first and second multilevel image generation unit 104 into the first multilevel image. The image is compressed and encoded by a method suitable for the image and the second multi-valued image, and the binary image generated by the binary image generating means 102 is compression-encoded by a method suitable for the binary image, and the processing is terminated.

以下、第一多値画像画素値決定手段105による第一多値画像の画素値決定処理の一例を、図8に示す。図8は、第一多値画像の画素値決定処理の一例を示すフローチャートである。   Hereinafter, an example of the pixel value determination process of the first multi-value image by the first multi-value image pixel value determination means 105 is shown in FIG. FIG. 8 is a flowchart illustrating an example of pixel value determination processing of the first multi-valued image.

ステップS20において、第一多値画像画素値決定手段105は、第一多値画像の画像サイズを決定する。ここで、上述したように、第一多値画像画素値決定手段105が決定する第一多値画像の画像サイズは、第二多値画像画素値決定手段107が決定する第二多値画像の画像サイズと同じサイズであり、本発明の実施例においては、原画像のサイズの二分の一(解像度が二分の一)である。   In step S20, the first multi-valued image pixel value determining unit 105 determines the image size of the first multi-valued image. Here, as described above, the image size of the first multi-value image determined by the first multi-value image pixel value determining unit 105 is the same as that of the second multi-value image determined by the second multi-value image pixel value determining unit 107. It is the same size as the image size, and in the embodiment of the present invention, it is half the size of the original image (the resolution is half).

ステップS20に続いてステップS21に進み、第一多値画像画素値決定手段105は、第一多値画像の全画素値を同じ値(単一色)で仮に埋める。ステップS21に続いてステップS22に進み、第一多値画像画素値決定手段105は、第一多値画像の画素に対応する位置に係る二値画像を特定(決定)する。   Progressing to step S21 following step S20, the first multi-value image pixel value determining means 105 temporarily fills all pixel values of the first multi-value image with the same value (single color). Progressing to step S22 following step S21, the first multi-valued image pixel value determining means 105 specifies (determines) a binary image related to a position corresponding to the pixel of the first multi-valued image.

ステップS22に続いてステップS23に進み、第一多値画像画素値決定手段105は、特定した二値画像内に、黒画素値が存在するか否かを判定する。第一多値画像画素値決定手段105は、特定した二値画像内に、黒画素が存在すると判定すると(ステップS23においてYES)、ステップS24に進み、黒画素値が存在しないと判定すると(ステップS23においてNO)、ステップS25に進む。   Progressing to step S23 following step S22, the first multi-value image pixel value determining means 105 determines whether or not a black pixel value exists in the specified binary image. If the first multi-value image pixel value determining unit 105 determines that there is a black pixel in the specified binary image (YES in step S23), the first multi-value image pixel value determining unit 105 proceeds to step S24 and determines that there is no black pixel value (step S23). (NO in S23), the process proceeds to step S25.

ステップS24では、第一多値画像画素値決定手段105が、黒画素が存在する位置に対応する位置に係る多値画像を特定し、該特定した多値画像(原画像)内の画素値に基づいて、第一多値画像の画素の画素値を設定(決定)する。   In step S24, the first multi-valued image pixel value determining unit 105 specifies a multi-value image related to the position corresponding to the position where the black pixel exists, and sets the pixel value in the specified multi-value image (original image). Based on this, the pixel value of the pixel of the first multi-valued image is set (determined).

ステップS25では、第一多値画像画素値決定手段105が、第一多値画像の全画素に対して画素値を決定する処理を実行したか否かを判定し、実行したと判定すると(ステップS25においてYES)、第一多値画像の画素値決定処理を終了し、実行していないと判定すると(ステップS25においてNO)、第一多値画像の画素値決定処理の処理対象とする第一多値画像の画素を予め定められた方法に基づいてずらし、ステップS22に進む。   In step S25, the first multi-valued image pixel value determining unit 105 determines whether or not the process for determining the pixel values for all the pixels of the first multi-valued image has been executed, and determines that it has been executed (step S25). If YES in S25, the pixel value determination process of the first multi-valued image is finished and if it is determined that it has not been executed (NO in Step S25), the first target of the pixel value determination process of the first multi-valued image is determined. The pixels of the multi-valued image are shifted based on a predetermined method, and the process proceeds to step S22.

以下、第一多値画像未決定画素決定手段106による第一多値画像の境界未決画素平滑化処理の一例を、図9に示す。図9は、第一多値画像の境界未決画素平滑化処理の一例を示すフローチャートである。   Hereinafter, an example of the boundary undecided pixel smoothing process of the first multivalued image by the first multivalued image undetermined pixel determining means 106 is shown in FIG. FIG. 9 is a flowchart illustrating an example of the boundary undecided pixel smoothing process of the first multi-valued image.

ステップS30において、ブロック内領域設定手段111は、第一多値画像に対して、数画素四方のブロックサイズを設定する。例えば、ブロック内領域設定手段111は、初めに、ブロックサイズを2×2画素のサイズと設定する。   In step S30, the intra-block area setting unit 111 sets a block size of several pixels square for the first multi-valued image. For example, the in-block area setting unit 111 first sets the block size to a size of 2 × 2 pixels.

ステップS30に続いてステップS31に進み、ブロック内既決・未決画素計数手段112は、ステップS30においてブロック内領域設定手段111が設定したブロックサイズのブロック内の既決画素及び未決画素に係る計数を実行する。   Proceeding to step S31 following step S30, the in-block determined / undecided pixel counting means 112 executes counting related to the determined and undecided pixels in the block having the block size set by the in-block area setting means 111 in step S30. .

ステップS31に続いてステップS32に進み、ブロック内既決・未決画素計数手段112は、ステップS31において実行した計数に基づいて、ステップS30においてブロック内領域設定手段111が設定したブロックサイズのブロック内に既決画素及び未決画素が共に含まれているか否かを判定する。ブロック内既決・未決画素計数手段112は、ステップS30においてブロック内領域設定手段111が設定したブロックサイズのブロック内に既決画素及び未決画素が共に含まれていると判定すると(ステップS32においてYES)、ステップS33に進み、既決画素及び未決画素が共に含まれていないと判定すると(ステップS32においてNO)、ステップS35に進む。   Progressing to step S32 following step S31, the in-block determined / undecided pixel counting means 112 has already decided within the block of the block size set by the in-block area setting means 111 in step S30 based on the count executed in step S31. It is determined whether both the pixel and the pending pixel are included. If the determined / undecided pixel counting unit 112 in the block determines that both the determined pixel and the undecided pixel are included in the block having the block size set by the in-block region setting unit 111 in step S30 (YES in step S32), Proceeding to step S33, if it is determined that neither the decided pixel nor the pending pixel is included (NO in step S32), the process proceeds to step S35.

ステップS33では、ブロック内既決・未決画素計数手段112が、ブロック内の既決画素の画素値の平均値を算出する。ステップS33に続いてステップS34に進み、画素値設定手段113は、ステップS33においてブロック内既決・未決画素計数手段112が算出した画素値の平均値を未決画素の画素値として決定(設定)する。   In step S33, the in-block determined / undecided pixel counting means 112 calculates an average value of the pixel values of the determined pixels in the block. Progressing to step S34 following step S33, the pixel value setting means 113 determines (sets) the average value of the pixel values calculated by the intra-block determined / undecided pixel counting means 112 in step S33 as the pixel value of the undecided pixels.

ステップS35では、第一多値画像未決定画素決定手段106が、ステップS30においてブロック内領域設定手段111が設定したブロックサイズによる境界未決画素平滑化処理を第一多値画像全ての領域に対して行ったか否かを判定する。第一多値画像未決定画素決定手段106は、全ての領域に対して行ったと判定すると(ステップS35においてYES)、ステップS36に進み、全ての領域に対して行っていないと判定すると(ステップS35においてNO)、ステップS31に進む。   In step S35, the first multi-valued image undetermined pixel determining unit 106 performs boundary undetermined pixel smoothing processing based on the block size set by the in-block region setting unit 111 in step S30 on all regions of the first multi-valued image. It is determined whether it has been performed. If the first multi-valued image undetermined pixel determining means 106 determines that the operation has been performed for all the regions (YES in step S35), the process proceeds to step S36, and determines that the operation has not been performed for all the regions (step S35). NO), the process proceeds to step S31.

ステップS36では、ブロック内領域設定手段111がブロックサイズを拡大する。ステップS36に続いてステップS37に進み、ブロック内領域設定手段111が拡大したブロックサイズが規定サイズ(例えば、8×8画素のサイズ)を超えたか否かを判定する。ブロック内領域設定手段111は、ブロックサイズが規定サイズを超えたと判定すると(ステップS37においてYES)、境界未決画素平滑化処理を終了し、ブロックサイズが規定サイズを超えていないと判定すると(ステップS37においてNO)、ステップS31に進む。   In step S36, the in-block area setting unit 111 enlarges the block size. Proceeding to step S37 following step S36, it is determined whether or not the block size enlarged by the intra-block area setting unit 111 exceeds a prescribed size (for example, a size of 8 × 8 pixels). When determining that the block size exceeds the specified size (YES in step S37), the in-block region setting unit 111 ends the boundary undecided pixel smoothing process and determines that the block size does not exceed the specified size (step S37). NO), the process proceeds to step S31.

本発明の特徴の一つは、画像処理装置1が、二値画像の境界部分の変動を抑制する処理を実行していることである。例えば、上述した境界未決画素平滑化処理が該変動を制御する処理に該当する。画像処理装置1が、二値画像の境界部分の変動を抑制することによって、JPEG方式等で圧縮した際の画質低下(文字の周辺部等の境界部の色変化)を抑制したり、ファイルサイズを縮小したりすることができる。   One of the features of the present invention is that the image processing apparatus 1 executes a process for suppressing the fluctuation of the boundary portion of the binary image. For example, the boundary undecided pixel smoothing process described above corresponds to a process for controlling the variation. The image processing apparatus 1 suppresses a change in the boundary portion of the binary image, thereby suppressing deterioration in image quality (color change in the boundary portion such as a character peripheral portion) when compressed by the JPEG method or the like, Can be reduced.

また、本発明の他の特徴の一つは、画像処理装置1が、第一多値画像と、第二多値画像と、を同一解像度で保持することである。例えば上述した特許文献1等では文字と非文字とを分離し、文字は単色画像で表現し、非文字は多値画像で表現しているが、このような方式では、文字と非文字とを正確に判断し、分離しないと画質に大きな影響が出る。例えば、特許文献1等の方法では、本来非文字であるべき写真の一部を非文字であると誤って判定してしまうと、該誤って判定した部分だけ単色で再現(表示)され、画像の見た目に大きな違和感を生じさせる。また、文字と非文字との判定を完全に行うのは極めて難しく、その結果、画像によっては画質の低下が著しくなり、画像処理としての安定性は高くない。   Another feature of the present invention is that the image processing apparatus 1 holds the first multi-value image and the second multi-value image at the same resolution. For example, in the above-mentioned Patent Document 1 and the like, characters and non-characters are separated, characters are represented by a single color image, and non-characters are represented by a multi-value image. In such a system, characters and non-characters are represented. If it is judged accurately and not separated, the image quality will be greatly affected. For example, in the method of Patent Document 1 or the like, if a part of a photograph that should be non-character is erroneously determined to be non-character, only the erroneously determined part is reproduced (displayed) in a single color, and an image is displayed. This creates a great sense of incongruity. In addition, it is extremely difficult to completely determine whether a character is a non-character. As a result, depending on the image, the image quality is significantly degraded, and the stability of image processing is not high.

一方、本発明では、画像処理装置1によって、二値画像が、第一多値画像又は第二多値画像どちらで色再現されても、第一多値画像と、第二多値画像と、が同一解像度であるため、画質的の低下は抑えられ、画像処理としての安定性も高い。つまり、文字と非文字との分離をしなくても、安定した画質の画像を提供することができると共に、ファイルサイズを小さくすることができる。また、本発明では、画像処理装置1が、二値画像を、原画像と同一の解像度で保持しているため、文字の輪郭がぼやけることなく再現させることができ、文字の画質がよい。   On the other hand, in the present invention, regardless of whether the binary image is color-reproduced by the image processing apparatus 1 as the first multi-value image or the second multi-value image, the first multi-value image, the second multi-value image, Are of the same resolution, the deterioration in image quality is suppressed, and the stability as image processing is high. That is, an image with stable image quality can be provided and the file size can be reduced without separating characters and non-characters. In the present invention, since the image processing apparatus 1 holds the binary image at the same resolution as the original image, the outline of the character can be reproduced without blurring, and the image quality of the character is good.

実施例2では、画像処理装置1の構成の他の例、及び境界既決画素の平滑化処理等について説明する。なお、実施例2では、主に実施例1と異なる点について説明を行う。   In the second embodiment, another example of the configuration of the image processing apparatus 1 and a smoothing process for a boundary-determined pixel will be described. In the second embodiment, differences from the first embodiment will be mainly described.

まず、本実施例における基本的な考え方を、図10から図13を用いて説明する。図10は、本実施例における基本的な考え方を説明するための図(その1)である。また、図11は、本実施例における基本的な考え方を説明するための図(その2)である。また、図12は、本実施例における基本的な考え方を説明するための図(その3)である。また、図13は、本実施例における基本的な考え方を説明するための図(その4)である。   First, the basic concept in the present embodiment will be described with reference to FIGS. FIG. 10 is a diagram (part 1) for explaining the basic concept of the present embodiment. Moreover, FIG. 11 is a figure (the 2) for demonstrating the fundamental view in a present Example. Moreover, FIG. 12 is a figure (the 3) for demonstrating the fundamental view in a present Example. Moreover, FIG. 13 is a figure (the 4) for demonstrating the basic view in a present Example.

図10に示されるように、原画像において、第一多値画像の色(画素値)で再現される部分と、第二多値画像の色(画素値)で再現される部分と、は、連続的に変化している。しかし、原画像の文字部等にもし、第一多値画像の色(画素値)で再現される部分と、第二多値画像の色(画素値)で再現される部分と、の境界がきた場合には、文字を表示する際、例えば文字の一部に背景(第一多値画像又は第二多値画像)の色を混入して表示してしまったりして、文字の輪郭がぼんやりとしてしまう問題があった。   As shown in FIG. 10, in the original image, a portion reproduced with the color (pixel value) of the first multi-valued image and a portion reproduced with the color (pixel value) of the second multi-valued image are: It is changing continuously. However, there is a boundary between the portion reproduced with the color (pixel value) of the first multi-valued image and the portion reproduced with the color (pixel value) of the second multi-valued image in the character portion of the original image. When the character is displayed, when the character is displayed, for example, the color of the background (the first multi-valued image or the second multi-valued image) is mixed and displayed on a part of the character, and the outline of the character is blurred. There was a problem.

したがって、本実施例では、画像処理装置1において、原画像及び二値画像に基づいて、図11に示されるように、例えば第一多値画像と、第二多値画像と、を生成した後、図12に示されるように、色を補正することにより、図13に示されるように、画像を再現したときに、境界部の色変化をはっきりとさせ、文字の輪郭等をくっきり表示することができる。しかし、画像処理装置1等が、文字部ではなく、写真部等なだらかな色変化のままでよい所にまで図12に示したような補正を行うと、画像を再現した際に不自然な輪郭が現れてしまう場合もあるため、後述するように、補正する領域を選別し、補正する処理を実行する。   Therefore, in the present embodiment, after the image processing apparatus 1 generates, for example, the first multi-value image and the second multi-value image, as shown in FIG. 11, based on the original image and the binary image. As shown in FIG. 12, by correcting the color, as shown in FIG. 13, when the image is reproduced, the color change at the boundary is made clear and the outline of the character is clearly displayed. Can do. However, if the image processing apparatus 1 or the like performs correction as shown in FIG. 12 to a place where a gentle color change such as a photographic part instead of a character part may be performed, an unnatural contour is generated when the image is reproduced. Therefore, as will be described later, a region to be corrected is selected and a correction process is executed.

以下、画像処理装置1の構成の他の例を、図14に示す。図14は、画像処理装置の構成図(その2)である。   Hereinafter, another example of the configuration of the image processing apparatus 1 is shown in FIG. FIG. 14 is a configuration diagram (part 2) of the image processing apparatus.

図14に示されるように、画像処理装置1は、多値画像取得手段101と、二値画像生成手段102と、符号化手段103と、第一、二多値画像生成手段104と、境界画素検出手段131と、エッジ検出手段132と、画素値補正手段133と、を含み、第一、二多値画像生成手段104は、第一多値画像画素値決定手段105と、第一多値画像未決定画素決定手段106と、第二多値画像画素値決定手段107と、第二多値画像未決定画素決定手段108と、を含む。   As shown in FIG. 14, the image processing apparatus 1 includes a multi-value image acquisition unit 101, a binary image generation unit 102, an encoding unit 103, a first and second multi-value image generation unit 104, and boundary pixels. The first and second multi-value image generation means 104 include a first multi-value image pixel value determination means 105, a first multi-value image, and a detection means 131, an edge detection means 132, and a pixel value correction means 133. An undetermined pixel determining unit 106, a second multi-valued image pixel value determining unit 107, and a second multi-valued image undetermined pixel determining unit 108 are included.

境界画素検出手段131は、画素値が設定された既決画素の中から、画素値が設定されていない未決画素の近傍にある境界既決画素を検出する。例えば、境界画素検出手段131は、画素値が設定された既決画素の中から、該既決画素を中心として1画素の範囲内に未決画素がある既決画素を、境界既決画素として検出したり、画素値が設定された既決画素の中から、該既決画素を中心として2画素の範囲内に未決画素がある既決画素を、境界既決画素として検出したりする。なお、以下では説明の簡略化のため、境界画素検出手段131は、既決画素を中心として1画素の範囲内に未決画素がある既決画素を、境界既決画素として検出するものとして説明を行う。   The boundary pixel detection unit 131 detects a boundary predetermined pixel in the vicinity of an undecided pixel for which no pixel value is set from among the predetermined pixels for which a pixel value is set. For example, the boundary pixel detection unit 131 detects, as a boundary predetermined pixel, a predetermined pixel having a predetermined pixel within a range of one pixel centered on the predetermined pixel from among the predetermined pixels for which the pixel value is set. Among the determined pixels for which values have been set, a determined pixel having a determined pixel in the range of two pixels centering on the determined pixel is detected as a boundary determined pixel. In the following description, for simplification of description, the boundary pixel detection unit 131 will be described assuming that a predetermined pixel having a predetermined pixel within a range of one pixel centered on the predetermined pixel is detected as a boundary predetermined pixel.

エッジ検出手段132は、境界既決画素に、例えば、
1 1 1 −1 0 1
0 0 0 −1 0 1
−1−1−1 −1 0 1
等の2つのエッジ検出ファイルター(又は空間フィルター)を施し、得られたフィルター値の2乗和を求め、該フィルター値の2乗和が、予め定められた値より大きい場合にエッジであると判定し、エッジを検出する。なお、エッジ検出手段132は、原画像(第一多値画像及び/又は第二多値画像)がカラー画像である場合は、色成分毎にエッジ検出ファイルターを施し、エッジを検出する。
The edge detection unit 132 applies, for example, to the boundary predetermined pixels.
1 1 1 -1 0 1
0 0 0 -1 0 1
-1-1-1 -1 0 1
And the like, the edge of the filter value is determined to be an edge when the sum of the squares of the obtained filter values is larger than a predetermined value. Judge and detect edges. Note that when the original image (the first multi-valued image and / or the second multi-valued image) is a color image, the edge detecting unit 132 performs edge detection filtering for each color component to detect an edge.

なお、後述する図15等に示されるように、例えばエッジ検出フィルターを施される第一多値画像(第二多値画像)の画素値が未決画素である場合は、エッジ検出手段132は、対応する位置の第二多値画像(第一多値画像)の画素値を用いてフィルター値を求める。また、エッジ検出手段132は、第一多値画像及び/又は第二多値画像の境界既決画素に対して、エッジ検出処理を行うよう説明を行ったが、対応する原画像に対してエッジ検出処理を行うようにしてもよい。但し、以下では説明の簡略化のため、エッジ検出手段132は、第一多値画像及び/又は第二多値画像の境界既決画素に対して、エッジ検出処理を行うものとする。   Note that, as shown in FIG. 15 and the like which will be described later, for example, when the pixel value of the first multi-valued image (second multi-valued image) subjected to the edge detection filter is an undecided pixel, the edge detecting unit 132 The filter value is obtained using the pixel value of the second multi-value image (first multi-value image) at the corresponding position. In addition, the edge detection unit 132 has been described to perform the edge detection process on the boundary-determined pixels of the first multi-valued image and / or the second multi-valued image. Processing may be performed. However, in the following, for simplification of description, it is assumed that the edge detection unit 132 performs edge detection processing on the boundary determined pixels of the first multi-value image and / or the second multi-value image.

画素値補正手段133は、エッジとして検出された境界既決画素の画素値を、未決画素の近傍にない、つまり境界既決画素でない既決画素の画素値を用いて補正する。なお、画素値補正手段133は、エッジとして検出された境界既決画素の画素値を、未決画素の近傍にない既決画素の画素値と、境界既決画素の画素値と、の平均値で補正するようにしてもよい。但し、以下では説明の簡略化のため、画素値補正手段133は、エッジとして検出された境界既決画素の画素値を、未決画素の近傍にない既決画素の画素値を用いて補正するものとして説明を行う。   The pixel value correcting unit 133 corrects the pixel value of the boundary determined pixel detected as the edge using the pixel value of the determined pixel that is not in the vicinity of the determined pixel, that is, is not the boundary determined pixel. The pixel value correcting unit 133 corrects the pixel value of the boundary determined pixel detected as the edge with an average value of the pixel value of the determined pixel that is not in the vicinity of the determined pixel and the pixel value of the boundary determined pixel. It may be. However, for simplification of description below, the pixel value correcting unit 133 is described as correcting the pixel value of the boundary determined pixel detected as an edge using the pixel value of the determined pixel that is not in the vicinity of the determined pixel. I do.

以下、エッジ検出手段132におけるエッジ検出の一例の概念を、図15に示す。図15は、エッジ検出の一例を示す概念図である。   The concept of an example of edge detection in the edge detection unit 132 is shown in FIG. FIG. 15 is a conceptual diagram illustrating an example of edge detection.

図15に示されるように、エッジ検出手段132は、境界既決画素(図15の例では、第一多値画像の画素e)に対して、例えばエッジ検出フィルターの一つである
−1 0 1
−1 0 1
−1 0 1
をまず施し、フィルター値(図15の例では、−a+C−d+F−g+i)を得る。
As illustrated in FIG. 15, the edge detection unit 132 is, for example, one of edge detection filters with respect to the boundary-determined pixel (the pixel e of the first multi-valued image in the example of FIG. 15).
-1 0 1
-1 0 1
Is first applied to obtain a filter value (-a + C-d + F-g + i in the example of FIG. 15).

なお、図15において、大文字の英字は、第二多値画像における既決画素と該既決画素の画素値を表し、小文字の英字は、第一多値画像における既決画素と該既決画素の画素値を表し、「×」は、未決画素を表している。   In FIG. 15, uppercase alphabetic characters represent the determined pixels and the pixel values of the determined pixels in the second multivalued image, and lowercase letters represent the determined pixels and the pixel values of the determined pixels in the first multivalued image. “X” represents an undecided pixel.

また、エッジ検出手段132は、上述したように、境界既決画素(例えば、第一多値画像の画素e)に対して、エッジ検出フィルターのもう一方である
1 1 1
0 0 0
−1−1−1
を施し、フィルター値(例えば、a+b+C−g−h−i)を得る。
Further, as described above, the edge detection unit 132 is the other edge detection filter with respect to the boundary-determined pixel (for example, the pixel e of the first multi-valued image) 1 1 1
0 0 0
-1-1-1
To obtain a filter value (for example, a + b + C−g−i).

エッジ検出手段132は、得られたフィルター値の2乗和を求め、該フィルター値の2乗和が、予め定められた値より大きい場合にエッジであると判定し、エッジを検出する。   The edge detection unit 132 obtains the square sum of the obtained filter values, determines that the edge is an edge when the square sum of the filter values is larger than a predetermined value, and detects an edge.

エッジ検出手段132によってエッジを検出し、該検出したエッジの部分にだけ、画素値補正手段133における画素値の補正を行うことによって、なだらかな色変化のままでよい所は、なだらかな色変化のままで、境界部の色変化をはっきりとさせたい所は、はっきりとした色変化をさせるようにすることができる。   By detecting the edge by the edge detection unit 132 and correcting the pixel value in the pixel value correction unit 133 only for the detected edge portion, the gentle color change can be maintained. If you want to make the color change at the boundary clear, you can make the color change clear.

以下、画素値補正手段133における画素値の補正(置き換え)の一例の概念を、図16に示す。図16は、画素値の補正(置き換え)の一例の概念図である。   The concept of an example of pixel value correction (replacement) in the pixel value correction unit 133 is shown in FIG. FIG. 16 is a conceptual diagram of an example of pixel value correction (replacement).

図16に示されるように、画素値補正手段133は、エッジ検出された境界既決画素の画素値を、未決画素の近傍にない、つまり境界既決画素でない既決画素の画素値を用いて、置き換えて、補正する。   As shown in FIG. 16, the pixel value correcting unit 133 replaces the pixel value of the boundary-determined pixel whose edge has been detected by using the pixel value of the predetermined pixel that is not in the vicinity of the undecided pixel, that is, is not the boundary-determined pixel. ,to correct.

画素値補正手段133によって画素値の補正を行うことによって、図12及び図13に示したように、画像を再現したときに、境界部の色変化をはっきりとさせ、文字の輪郭等をくっきり表示するようにすることができる。   By correcting the pixel value by the pixel value correcting means 133, as shown in FIGS. 12 and 13, when reproducing the image, the color change of the boundary portion is made clear and the outline of the character is clearly displayed. To be able to.

以下、フローチャートを用いて実施例2における処理を説明する。図17は、画像処理装置における画像処理を示すフローチャート(その2)である。   Hereinafter, the process in Example 2 is demonstrated using a flowchart. FIG. 17 is a flowchart (part 2) illustrating image processing in the image processing apparatus.

なお、図17に示される、ステップS40からステップS43は、図7に示したステップS10からステップS13の処理と同様であるため、説明を省略する。また、図17に示されるステップS46からステップS48の処理は、図7に示したステップS14からステップS16の処理と同様であるため、説明を省略する。   Note that steps S40 to S43 shown in FIG. 17 are the same as the processes of steps S10 to S13 shown in FIG. Also, the processing from step S46 to step S48 shown in FIG. 17 is the same as the processing from step S14 to step S16 shown in FIG.

ステップS44では、境界画素検出手段131、エッジ検出手段132、画素値補正手段133が、第一多値画像に対して、上述したような境界既決画素の平滑化処理を実行する。なお、境界画素検出手段131、エッジ検出手段132、画素値補正手段133による第一多値画像に対する境界既決画素の平滑化処理(ステップS44の処理)の詳細は、後述する図18に示す。   In step S44, the boundary pixel detection unit 131, the edge detection unit 132, and the pixel value correction unit 133 perform the above-described boundary determination pixel smoothing process on the first multi-valued image. The details of the boundary-settled pixel smoothing process (the process of step S44) for the first multi-valued image by the boundary pixel detecting unit 131, the edge detecting unit 132, and the pixel value correcting unit 133 are shown in FIG.

ステップS44に続いてステップS45では、境界画素検出手段131、エッジ検出手段132、画素値補正手段133が、第二多値画像に対して、上述したような境界既決画素の平滑化処理を実行する。   In step S45 following step S44, the boundary pixel detection unit 131, the edge detection unit 132, and the pixel value correction unit 133 perform the above-described boundary boundary smoothing process on the second multi-valued image. .

以下、境界画素検出手段131、エッジ検出手段132、画素値補正手段133による第一多値画像に対する境界既決画素の平滑化処理の一例を、図18に示す。図18は、第一多値画像に対する境界既決画素の平滑化処理の一例を示すフローチャートである。   Hereinafter, an example of the smoothing process of the boundary-determined pixels for the first multi-valued image by the boundary pixel detecting unit 131, the edge detecting unit 132, and the pixel value correcting unit 133 is shown in FIG. FIG. 18 is a flowchart illustrating an example of the smoothing process for the boundary-determined pixels for the first multi-valued image.

ステップS50において、境界画素検出手段131は、第一多値画像において、画素値が設定された既決画素の中から、画素値が設定されていない未決画素の近傍にある境界既決画素を検出する。   In step S50, the boundary pixel detection unit 131 detects a boundary predetermined pixel in the vicinity of an undecided pixel for which no pixel value is set from among the predetermined pixels for which a pixel value is set in the first multi-valued image.

ステップS50に続いてステップS51に進み、エッジ検出手段132は、ステップS50において検出した境界既決画素に対してエッジ検出ファイルターを施し、得られたフィルター値の2乗和を求める。   Progressing to step S51 following step S50, the edge detection means 132 performs edge detection filtering on the boundary-determined pixels detected in step S50, and obtains the square sum of the obtained filter values.

ステップS51に続いてステップS52に進み、エッジ検出手段132は、ステップS51において求めたフィルター値の2乗和が予め定められた値より大きいか否かに応じて、ステップS50において検出した境界既決画素がエッジか否かを判定する。エッジ検出手段132は、ステップS50において検出した境界既決画素がエッジであると判定すると(ステップS52においてYES)、ステップS53に進み、ステップS50において検出した境界既決画素がエッジでないと判定すると(ステップS52においてNO)、ステップS55に進む。   Progressing to step S52 following step S51, the edge detection means 132 determines the boundary determined pixels detected in step S50 according to whether or not the square sum of the filter values obtained in step S51 is greater than a predetermined value. It is determined whether or not is an edge. If the edge detection unit 132 determines that the boundary determined pixel detected in step S50 is an edge (YES in step S52), the edge detection unit 132 proceeds to step S53, and determines that the boundary determined pixel detected in step S50 is not an edge (step S52). NO), the process proceeds to step S55.

ステップS53では、画素値補正手段133が、未決画素の近傍にない、つまり境界既決画素でない既決画素(境界外既決画素)を探索する。ステップS53に続いてステップS54に進み、画素値補正手段133は、ステップS52においてエッジであると判定された境界既決画素の画素値を、ステップS53において探索し、検出した境界外既決画素の画素値で置き換える。   In step S53, the pixel value correcting unit 133 searches for a determined pixel (outside boundary determined pixel) that is not in the vicinity of the determined pixel, that is, is not a boundary determined pixel. Progressing to step S54 following step S53, the pixel value correcting means 133 searches the pixel value of the boundary determined pixel determined to be an edge in step S52 in step S53, and the detected pixel value of the determined pixel outside the boundary. Replace with.

ステップS54に続いてステップS55に進み、画像処理装置1は、第一多値画像の全領域に対して境界既決画素平滑化処理を実行したか否かを判定し、実行したと判定すると(ステップS55においてYES)、境界既決画素平滑化処理を終了し、実行していないと判定すると(ステップS55においてNO)、境界既決画素平滑化処理の処理対象とする第一多値画像の領域を予め定められた方法に基づいてずらし、ステップS50に進む。   Progressing to step S55 following step S54, the image processing apparatus 1 determines whether or not the boundary-determined pixel smoothing process has been performed on the entire region of the first multi-valued image, and determines that it has been performed (step S54). If YES in S55, the boundary-determined pixel smoothing process is terminated, and if it is determined that the boundary-determined pixel smoothing process is not being executed (NO in Step S55), a region of the first multi-value image to be processed in the boundary-determined pixel smoothing process is determined in advance. Based on the determined method, the process proceeds to step S50.

上述したような境界既決画素平滑化処理を行うことによって、エッジ部付近の画素変化がなだらかになり、圧縮符号化の際の圧縮効率もよくなる。また、境界既決画素平滑化処理を行うことによって、ファイルサイズの削減にも役立つ。なお、例えば図18に示した処理において、ステップS51やステップS52等の処理を行わず、境界付近の既決画素の画素値を、境界外の既決画素の画素値で置き換えるような境界既決画素平滑化処理を行ってもよい。このように、エッジ検出を行わない境界既決画素平滑化処理では、ファイルサイズは更に小さくなるが、元々の原画像において色変化の少ない境界部の色変化が強調されて再現されるため、画質が原画像と比べて若干変化することがある。   By performing the boundary-determined pixel smoothing process as described above, the pixel change in the vicinity of the edge portion becomes gentle, and the compression efficiency at the time of compression encoding is improved. Further, the boundary-determined pixel smoothing process is useful for reducing the file size. For example, in the process shown in FIG. 18, the boundary determined pixel smoothing is performed such that the pixel values of the determined pixels near the boundary are replaced with the pixel values of the determined pixels outside the boundary without performing the processes of step S51 and step S52. Processing may be performed. In this way, in the boundary-determined pixel smoothing process that does not perform edge detection, the file size is further reduced, but the color change at the boundary portion where the color change is small is emphasized and reproduced in the original original image. It may change slightly compared to the original image.

実施例2に示したような処理を行うことによって、第一多値画像と第二多値画像との境界部のうち、文字部等の境界部で画素値が急激に変化している場合には、境界部に混ざりこむ色の影響を低減させることにより(例えば図12参照)、文字の輪郭をくっきりと再現させることができる(例えば図13参照)。また、第一多値画像と第二多値画像との境界部のうち、写真部等でなだらかに画素値が変化している場合には、画素値の置換(又は平均化)の処理を行わず、滑らかな色変化をそのまま再現することができる。   By performing the processing as shown in the second embodiment, when the pixel value changes rapidly at the boundary portion such as a character portion among the boundary portions between the first multi-value image and the second multi-value image. By reducing the influence of the color mixed in the boundary (see, for example, FIG. 12), the outline of the character can be clearly reproduced (see, for example, FIG. 13). Further, when the pixel value is gently changed in the photograph portion or the like in the boundary portion between the first multi-value image and the second multi-value image, the pixel value replacement (or averaging) processing is performed. Therefore, a smooth color change can be reproduced as it is.

上述した実施例では、主に、原画像(又は多値画像)を、3層(第一多値画像と、第二多値画像と、二値画像と、)に分離し、それぞれに対して圧縮符号化する処理及び構成等について説明をしたが、実施例3では、画像の再現に係る処理及び構成について主に説明を行う。   In the embodiment described above, the original image (or multi-valued image) is mainly divided into three layers (first multi-valued image, second multi-valued image, and binary image), and for each, The processing and configuration for compression encoding have been described. In the third embodiment, the processing and configuration for image reproduction will be mainly described.

図19は、画像処理装置の構成図(その3)である。なお、図19に示される画像処理装置1の構成は、実施例1の図2に示した画像処理装置1の構成又は実施例2の図14に示した画像処理装置1の構成等に対して、更に加えられる(含まれる)構成である。   FIG. 19 is a configuration diagram (part 3) of the image processing apparatus. The configuration of the image processing apparatus 1 shown in FIG. 19 is different from the configuration of the image processing apparatus 1 shown in FIG. 2 of the first embodiment or the configuration of the image processing apparatus 1 shown in FIG. , A configuration that is further added (included).

図19に示されるように、画像処理装置1は、第一多値画像伸長手段141と、第二多値画像伸長手段142と、二値画像伸長手段143と、二値画像画素値判定手段144と、対応画素値決定手段145と、を含む。   As shown in FIG. 19, the image processing apparatus 1 includes a first multi-value image expansion unit 141, a second multi-value image expansion unit 142, a binary image expansion unit 143, and a binary image pixel value determination unit 144. And corresponding pixel value determining means 145.

第一多値画像伸長手段141は、第一、二多値画像生成手段104で生成され、符号化手段103において符号化された第一多値画像を、復号化(伸長)する。   The first multi-valued image decompressing unit 141 decodes (decompresses) the first multi-valued image generated by the first and second multi-valued image generating unit 104 and encoded by the encoding unit 103.

第二多値画像伸長手段142は、第一、二多値画像生成手段104で生成され、符号化手段103において符号化された第二多値画像を、復号化(伸長)する。   The second multi-level image expansion unit 142 decodes (decompresses) the second multi-level image generated by the first and second multi-level image generation unit 104 and encoded by the encoding unit 103.

二値画像伸長手段143は、二値画像生成手段102で生成され、符号化手段103において符号化された二値画像を、復号化(伸長)する。   The binary image expansion unit 143 decodes (decompresses) the binary image generated by the binary image generation unit 102 and encoded by the encoding unit 103.

二値画像画素値判定手段144は、二値画像伸長手段143において復号化された二値画像の各画素値が白か黒かを判定し、判定結果を対応画素値決定手段145に渡す。   The binary image pixel value determination unit 144 determines whether each pixel value of the binary image decoded by the binary image expansion unit 143 is white or black, and passes the determination result to the corresponding pixel value determination unit 145.

対応画素値決定手段145は、二値画像画素値判定手段144から受け取った判定結果に基づいて、二値画像の画素の位置に対応する位置の、第一多値画像伸長手段141において復号化された第一多値画像の画素値又は第二多値画像伸長手段142において復号化された第二多値画像の画素値を、前記二値画像の画素の画素値として決定し、表示する。例えば、対応画素値決定手段145は、二値画像画素値判定手段144から受け取った判定結果が黒だった場合、二値画像の画素の位置に対応する位置の、第一多値画像伸長手段141において復号化された第一多値画像の画素値を、前記二値画像の画素の画素値として決定し、表示する。   The corresponding pixel value determining unit 145 is decoded by the first multi-valued image decompressing unit 141 at a position corresponding to the pixel position of the binary image based on the determination result received from the binary image pixel value determining unit 144. The pixel value of the first multi-valued image or the pixel value of the second multi-valued image decoded by the second multi-valued image decompressing means 142 is determined as the pixel value of the pixel of the binary image and displayed. For example, when the determination result received from the binary image pixel value determination unit 144 is black, the corresponding pixel value determination unit 145 has a first multi-value image expansion unit 141 at a position corresponding to the pixel position of the binary image. The pixel value of the first multi-valued image decoded in is determined as the pixel value of the pixel of the binary image and displayed.

画像処理装置1は、上述した処理を二値画像の全ての画素に対して行い、画像を再現(表示)する。   The image processing apparatus 1 performs the above-described processing on all the pixels of the binary image and reproduces (displays) the image.

上述した実施例では、例えば、実施例1の図2、図5、実施例2の図14、実施例3の図19等に示したように、本発明に係る画像処理装置1の各構成を、IC等のハードウェアで実装した場合の例を示したが、本実施例では、上述した各構成を、ソフトウェアとして画像処理装置1(又は情報処理装置)に実装した場合の例を示す。   In the embodiment described above, for example, as shown in FIGS. 2 and 5 of the first embodiment, FIG. 14 of the second embodiment, FIG. 19 of the third embodiment, etc., each configuration of the image processing apparatus 1 according to the present invention is configured. However, in the present embodiment, an example in which each of the above-described components is implemented as software in the image processing apparatus 1 (or information processing apparatus) is shown.

図20は、画像処理装置の構成図(その4)である。図20に示されるように、画像処理装置1は、CPU(Central Processing Unit)401と、メモリ402と、ハードディスク403と、入力・表示装置404と、ドライブ装置405と、インターフェース装置406と、読み取り装置408と、印刷装置409と、を含む。   FIG. 20 is a configuration diagram (part 4) of the image processing apparatus. As shown in FIG. 20, the image processing apparatus 1 includes a CPU (Central Processing Unit) 401, a memory 402, a hard disk 403, an input / display device 404, a drive device 405, an interface device 406, and a reading device. 408 and a printing apparatus 409.

入力・表示装置404は、操作パネル等で構成され、画像処理装置1に各種操作信号等を入力したり、画像処理装置1が各種情報を表示したりするのに用いられる。インターフェース装置406は、画像処理装置1をネットワーク等に接続するインターフェースである。   The input / display device 404 includes an operation panel or the like, and is used for inputting various operation signals to the image processing device 1 and displaying various information by the image processing device 1. The interface device 406 is an interface that connects the image processing apparatus 1 to a network or the like.

上述した実施例における画像処理装置1の各機能構成又は各処理に対応するプログラム(以下、画像処理プログラムという)等は、初めから画像処理装置1にインストールされているか、例えばSDメモリーカード等の記録媒体407によって画像処理装置1に提供されるか、ネットワークを通じてダウンロードされる。記録媒体407は、ドライブ装置405にセットされ、画像処理プログラムが記録媒体407からドライブ装置405を介してハードディスク403にインストールされる。   Each functional configuration of the image processing apparatus 1 in the embodiment described above or a program corresponding to each process (hereinafter referred to as an image processing program) is installed in the image processing apparatus 1 from the beginning, or is recorded on an SD memory card or the like, for example. It is provided to the image processing apparatus 1 by the medium 407 or downloaded through the network. The recording medium 407 is set in the drive device 405, and the image processing program is installed in the hard disk 403 from the recording medium 407 via the drive device 405.

メモリ402は、例えば画像処理装置1の起動時にハードディスク403から画像処理プログラム等を読み出して格納する。CPU401は、メモリ402に読み出され格納された画像処理プログラム等に従って処理を実行し、画像処理の処理結果をハードディスク403に格納したり、必要に応じて入力・表示装置404に表示させたり、印刷装置408に印刷させたりする。   The memory 402 reads and stores an image processing program or the like from the hard disk 403 when the image processing apparatus 1 is activated, for example. The CPU 401 executes processing according to an image processing program or the like read and stored in the memory 402, stores the processing result of the image processing in the hard disk 403, displays it on the input / display device 404 as necessary, and prints Printing on the device 408.

ハードディスク403は、画像処理の処理結果や、画像に係るデータ、画像処理プログラム等を格納する。読み取り装置408は、例えばスキャナー等であって、セットされた紙等を読み込んで、画像データ等をハードディスク403に格納する。また、印刷装置409は、上述したように、例えば画像処理の処理結果を要求に応じて印刷する。   The hard disk 403 stores image processing results, image data, image processing programs, and the like. The reading device 408 is a scanner or the like, for example, and reads set paper or the like and stores image data or the like in the hard disk 403. Further, as described above, the printing apparatus 409 prints the processing result of image processing, for example, in response to a request.

なお、上述した画像処理プログラムをPC(Personal Computer)等の情報処理装置に実装(又はインストール)し、上述したような画像処理を情報処理装置に行わせるようにしてもよい。なお、画像処理プログラムをPCに実装した場合、例えば図20に示した入力・表示装置404は、入力装置と、表示装置と、に分かれた構成となり、例えば入力装置は、キーボードとマウス等で構成され、表示装置は、ディスプレイ等で構成される。また、当然情報処理装置には読み取り装置408や印刷装置409は、構成として含まれない。   Note that the above-described image processing program may be mounted (or installed) on an information processing apparatus such as a PC (Personal Computer) so that the information processing apparatus performs the above-described image processing. When the image processing program is mounted on a PC, for example, the input / display device 404 shown in FIG. 20 is divided into an input device and a display device. For example, the input device includes a keyboard and a mouse. The display device is composed of a display or the like. Of course, the information processing apparatus does not include the reading device 408 or the printing device 409 as a configuration.

PCに実装された画像処理プログラムは、例えばPCのユーザ等が入力装置等を用いて作成し、ハードディスク403等に格納した原画像を処理対象とし、処理結果をディスプレイ等に表示する。   The image processing program installed on the PC is created by a PC user or the like using an input device, for example, and the original image stored in the hard disk 403 or the like is a processing target, and the processing result is displayed on a display or the like.

上述したように、本発明によれば、文字と非文字との判定を行うことなく、ファイルサイズを小さくすることができる。また、本発明によれば、境界部の色変化を抑制することができる。また、本発明によれば、文字等の輪郭を明りょうに再現しつつ、ファイルサイズを小さくすることができる。   As described above, according to the present invention, the file size can be reduced without performing the determination of characters and non-characters. Further, according to the present invention, it is possible to suppress the color change at the boundary. Furthermore, according to the present invention, the file size can be reduced while clearly reproducing the outline of characters and the like.

本発明によれば、文字と非文字との判定を行うことなく、画質劣化を抑制し、効率よくファイルサイズを小さくすることができる。   According to the present invention, it is possible to suppress image quality deterioration and efficiently reduce the file size without performing determination of characters and non-characters.

以上、本発明の好ましい実施例について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.

本実施例における基本的な処理を示す概念図である。It is a conceptual diagram which shows the basic process in a present Example. 画像処理装置の構成図(その1)である。It is a block diagram (the 1) of an image processing apparatus. 第一多値画像の1画素に相当する二値画像及び原画像の位置の一例を示す図である。It is a figure which shows an example of the position of the binary image corresponded to 1 pixel of a 1st multi-value image, and an original image. 第一多値画像の画素値の計算の一例を示す概念図である。It is a conceptual diagram which shows an example of calculation of the pixel value of a 1st multi-value image. 第一多値画像未決定画素決定手段の構成図である。It is a block diagram of a 1st multi-value image undetermined pixel determination means. ブロック内平均による境界未決画素の平滑化の一例を示す図である。It is a figure which shows an example of the smoothing of the boundary undetermined pixel by the average in a block. 画像処理装置における画像処理を示すフローチャート(その1)である。3 is a flowchart (part 1) illustrating image processing in the image processing apparatus. 第一多値画像の画素値決定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the pixel value determination process of a 1st multi-value image. 第一多値画像の境界未決画素平滑化処理の一例を示すフローチャートである。It is a flowchart which shows an example of the boundary undecided pixel smoothing process of a 1st multi-value image. 本実施例における基本的な考え方を説明するための図(その1)である。It is FIG. (1) for demonstrating the basic view in a present Example. 本実施例における基本的な考え方を説明するための図(その2)である。It is FIG. (2) for demonstrating the basic view in a present Example. 本実施例における基本的な考え方を説明するための図(その3)である。It is FIG. (The 3) for demonstrating the basic view in a present Example. 本実施例における基本的な考え方を説明するための図(その4)である。It is FIG. (4) for demonstrating the basic view in a present Example. 画像処理装置の構成図(その2)である。It is a block diagram (the 2) of an image processing apparatus. エッジ検出の一例を示す概念図である。It is a conceptual diagram which shows an example of edge detection. 画素値の補正(置き換え)の一例の概念図である。It is a conceptual diagram of an example of correction | amendment (replacement) of a pixel value. 画像処理装置における画像処理を示すフローチャート(その2)である。7 is a flowchart (part 2) illustrating image processing in the image processing apparatus. 第一多値画像に対する境界既決画素の平滑化処理の一例を示すフローチャートである。It is a flowchart which shows an example of the smoothing process of the boundary predetermined pixel with respect to a 1st multi-value image. 画像処理装置の構成図(その3)である。It is a block diagram (the 3) of an image processing apparatus. 画像処理装置の構成図(その4)である。It is a block diagram (the 4) of an image processing apparatus.

符号の説明Explanation of symbols

1 画像処理装置
101 多値画像取得手段
102 二値画像取得手段
103 符号化手段
104 第一、二多値画像生成手段
105 第一多値画像画素値決定手段
106 第一多値画像未決定画素決定手段
107 第二多値画像画素値決定手段
108 第二多値画像未決定画素決定手段
111 ブロック内領域設定手段
112 ブロック内既決・未決画素計数手段
113 画素値設定手段
131 境界画素検出手段
132 エッジ検出手段
133 画素値補正手段
141 第一画像伸長手段
142 第二画像伸長手段
143 二値画像伸長手段
144 二値画像画素値吟味手段
145 対応画素値決定手段
401 CPU
402 メモリ
403 ハードディスク
404 入力・表示装置
405 ドライブ装置
406 インターフェース装置
407 記録媒体
408 読み取り装置
409 印刷装置
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 101 Multi-valued image acquisition means 102 Binary image acquisition means 103 Coding means 104 First, binary multi-value image generation means 105 First multi-value image pixel value determination means 106 First multi-value image undecided pixel determination Means 107 Second multi-valued image pixel value determining means 108 Second multi-valued image undetermined pixel determining means 111 In-block region setting means 112 In-block determined / undetermined pixel counting means 113 Pixel value setting means 131 Boundary pixel detecting means 132 Edge detection Means 133 Pixel value correction means 141 First image decompression means 142 Second image decompression means 143 Binary image decompression means 144 Binary image pixel value examination means 145 Corresponding pixel value determination means 401 CPU
402 Memory 403 Hard Disk 404 Input / Display Device 405 Drive Device 406 Interface Device 407 Recording Medium 408 Reading Device 409 Printing Device

Claims (24)

画像を処理する画像処理装置であって、
多値画像を取得する多値画像取得手段と、
前記多値画像から二値画像を生成する二値画像生成手段と、
前記多値画像及び前記二値画像に基づいて、第一多値画像及び第二多値画像を生成する多値画像生成手段と、
を有し、
前記多値画像生成手段は、
前記第一多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の一方の画素値が存在すると、該二値画像の一方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第一多値画像の画素の画素値を設定する第一多値画像画素値設定手段と、
前記第二多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の他方の画素値が存在すると、該二値画像の他方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第二多値画像の画素の画素値を設定する第二多値画像画素値設定手段と、
値が設定された前記第一多値画像の既決画素の近傍の、値が設定されていない前記第一多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第一多値画像画素未設定画素設定手段と、
値が設定された前記第二多値画像の既決画素の近傍の、値が設定されていない前記第二多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第二多値画像画素未設定画素設定手段と、
を有することを特徴とする画像処理装置。
An image processing apparatus for processing an image,
Multi-value image acquisition means for acquiring a multi-value image;
Binary image generating means for generating a binary image from the multi-valued image;
Multi-value image generation means for generating a first multi-value image and a second multi-value image based on the multi-value image and the binary image;
Have
The multi-value image generating means
If one pixel value of the binary image exists in the binary image at a position corresponding to the pixel position of the first multi-valued image, this corresponds to the position where one pixel value of the binary image exists. First multi-value image pixel value setting means for setting a pixel value of a pixel of the first multi-value image based on a pixel value in the multi-value image at a position;
If the other pixel value of the binary image exists in the binary image at a position corresponding to the pixel position of the second multi-valued image, this corresponds to the position where the other pixel value of the binary image exists. Second multi-value image pixel value setting means for setting a pixel value of a pixel of the second multi-value image based on a pixel value in the multi-value image at a position;
The pixel value of the undecided pixel in the first multi-valued image in which the value is not set near the decided pixel in the first multi-valued image in which the value is set, and the pixel value of the decided pixel in the vicinity of the undecided pixel First multi-value image pixel non-set pixel setting means for setting using,
The pixel value of the undecided pixel in the second multi-valued image that has not been set, the pixel value of the determined pixel in the vicinity of the undecided pixel in the vicinity of the determined pixel in the second multi-level image in which the value has been set Second multi-value image pixel non-set pixel setting means for setting using
An image processing apparatus comprising:
画像を符号化する符号化手段を更に有することを特徴とする請求項1記載の画像処理装置。   2. The image processing apparatus according to claim 1, further comprising encoding means for encoding an image. 前記第一多値画像及び前記第二多値画像は、同一の解像度であることを特徴とする請求項1又は2記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the first multi-value image and the second multi-value image have the same resolution. 前記第一多値画像及び前記第二多値画像の解像度は、前記多値画像の解像度より低い解像度であることを特徴とする請求項1乃至3何れか一項記載の画像処理装置。   4. The image processing apparatus according to claim 1, wherein resolutions of the first multi-value image and the second multi-value image are lower than the resolution of the multi-value image. 5. 前記第一多値画像画素未設定画素設定手段は、
前記第一多値画像に対して、所定サイズのブロック領域を設定する第一ブロック内領域設定手段と、
前記第一ブロック内領域設定手段において設定されたブロック領域内に、画素値が設定された既決画素と、画素値が設定されていない未決画素と、が共に存在するか否かを計数する第一ブロック内既決・未決画素計数手段と、
を有し、
前記第二多値画像画素未設定画素設定手段は、
前記第二多値画像に対して、所定サイズのブロック領域を設定する第二ブロック内領域設定手段と、
前記第二ブロック内領域設定手段において設定されたブロック領域内に、画素値が設定された既決画素と、画素値が設定されていない未決画素と、が共に存在するか否かを計数する第二ブロック内既決・未決画素計数手段と、
を有することを特徴とする請求項1乃至4何れか一項記載の画像処理装置。
The first multi-value image pixel non-set pixel setting means includes:
First block area setting means for setting a block area of a predetermined size for the first multi-valued image;
A first counter that counts whether or not both a determined pixel for which a pixel value is set and an undecided pixel for which a pixel value is not set exist in the block area set by the first block area setting means. In-block determined / undecided pixel counting means,
Have
The second multi-value image pixel non-set pixel setting means includes:
A second in-block area setting means for setting a block area of a predetermined size for the second multi-valued image;
A second counter that counts whether or not both a determined pixel having a pixel value set and an undecided pixel having no pixel value set exist in the block area set by the second block area setting means. In-block determined / undecided pixel counting means,
The image processing apparatus according to claim 1, further comprising:
前記第一多値画像画素未設定画素設定手段は、
前記未決画素の画素値を、前記第一ブロック内領域設定手段において設定されたブロック領域内の前記既決画素を用いて設定する第一画素値設定手段を更に有し、
前記第二多値画像画素未設定画素設定手段は、
前記未決画素の画素値を、前記第二ブロック内領域設定手段において設定されたブロック領域内の前記既決画素を用いて設定する第二画素値設定手段を更に有することを特徴とする請求項5記載の画像処理装置。
The first multi-value image pixel non-set pixel setting means includes:
A first pixel value setting unit that sets the pixel value of the undecided pixel using the determined pixel in the block area set in the first block area setting unit;
The second multi-value image pixel non-set pixel setting means includes:
The second pixel value setting means for setting the pixel value of the undecided pixel using the determined pixel in the block area set by the second block area setting means. Image processing apparatus.
前記第一多値画像画素未設定画素設定手段又は前記第二多値画像画素未設定画素設定手段は、前記所定サイズのブロック領域単位による画素値の設定を、前記所定サイズのブロック領域単位を段階的に大きくしながら再帰的に前記第一多値画像又は前記第二多値画像に対して行うことを特徴とする請求項5又は6記載の画像処理装置。   The first multi-value image pixel non-set pixel setting means or the second multi-value image pixel non-set pixel setting means sets the pixel value by the block area unit of the predetermined size in steps of the block area unit of the predetermined size. The image processing apparatus according to claim 5, wherein the image processing apparatus is recursively performed on the first multi-valued image or the second multi-valued image while being enlarged. 前記第一多値画像画素未設定画素設定手段又は前記第二多値画像画素未設定画素設定手段は、前記所定サイズのブロック領域単位を段階的に大きくし、最終的には前記所定サイズのブロック領域単位を、8×8画素とすることを特徴とする請求項7記載の画像処理装置。   The first multi-value image pixel non-set pixel setting means or the second multi-value image pixel non-set pixel setting means gradually increases the block area unit of the predetermined size, and finally the block of the predetermined size The image processing apparatus according to claim 7, wherein the area unit is 8 × 8 pixels. 前記所定サイズのブロック領域は、8×8画素であることを特徴とする請求項5又は6記載の画像処理装置。   The image processing apparatus according to claim 5, wherein the block area of the predetermined size is 8 × 8 pixels. 画素値が設定された既決画素の中から、画素値が設定されていない未決画素の近傍にある境界既決画素を検出する境界画素検出手段と、
前記境界既決画素の画素値を、前記未決画素の近傍にない別の既決画素の画素値を用いて補正する画素値補正手段と、
を更に有することを特徴とする請求項1乃至9何れか一項記載の画像処理装置。
Boundary pixel detection means for detecting boundary determined pixels in the vicinity of undecided pixels for which pixel values are not set from among the determined pixels for which pixel values are set;
Pixel value correcting means for correcting the pixel value of the boundary determined pixel using a pixel value of another determined pixel that is not in the vicinity of the determined pixel;
The image processing apparatus according to claim 1, further comprising:
前記境界画素検出手段において検出された境界既決画素に対して、エッジの検出を行うエッジ検出手段を更に有し、
前記画素値補正手段は、前記エッジ検出手段においてエッジとして検出された前記境界既決画素に対して、画素値の補正を行うことを特徴とする請求項10記載の画像処理装置。
An edge detection unit that detects an edge of the boundary-determined pixel detected by the boundary pixel detection unit;
The image processing apparatus according to claim 10, wherein the pixel value correcting unit corrects a pixel value for the boundary-determined pixel detected as an edge by the edge detecting unit.
画像を処理する画像処理装置における画像処理方法であって、前記画像処理装置が、
多値画像を取得する多値画像取得段階と、
前記多値画像から二値画像を生成する二値画像生成段階と、
前記多値画像及び前記二値画像に基づいて、第一多値画像及び第二多値画像を生成する多値画像生成段階と、
を有し、
前記多値画像生成段階は、
前記第一多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の一方の画素値が存在すると、該二値画像の一方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第一多値画像の画素の画素値を設定する第一多値画像画素値設定段階と、
前記第二多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の他方の画素値が存在すると、該二値画像の他方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第二多値画像の画素の画素値を設定する第二多値画像画素値設定段階と、
値が設定された前記第一多値画像の既決画素の近傍の、値が設定されていない前記第一多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第一多値画像画素未設定画素設定段階と、
値が設定された前記第二多値画像の既決画素の近傍の、値が設定されていない前記第二多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第二多値画像画素未設定画素設定段階と、
を有することを特徴とする画像処理方法。
An image processing method in an image processing apparatus for processing an image, the image processing apparatus comprising:
A multi-valued image acquisition stage for acquiring a multi-valued image;
A binary image generation step of generating a binary image from the multi-valued image;
Based on the multi-value image and the binary image, a multi-value image generation step for generating a first multi-value image and a second multi-value image;
Have
The multi-value image generation step includes
If one pixel value of the binary image exists in the binary image at a position corresponding to the pixel position of the first multi-valued image, this corresponds to the position where one pixel value of the binary image exists. A first multi-value image pixel value setting step of setting a pixel value of a pixel of the first multi-value image based on a pixel value in the multi-value image at a position;
If the other pixel value of the binary image exists in the binary image at a position corresponding to the pixel position of the second multi-valued image, this corresponds to the position where the other pixel value of the binary image exists. A second multi-value image pixel value setting step for setting a pixel value of a pixel of the second multi-value image based on a pixel value in the multi-value image at a position;
The pixel value of the undecided pixel in the first multi-valued image in which the value is not set near the decided pixel in the first multi-valued image in which the value is set, and the pixel value of the decided pixel in the vicinity of the undecided pixel A first multi-value image pixel non-set pixel setting stage to be set using
The pixel value of the undecided pixel in the second multi-valued image that has not been set, the pixel value of the determined pixel in the vicinity of the undecided pixel in the vicinity of the determined pixel in the second multi-level image in which the value has been set A second multi-value image pixel non-set pixel setting stage to be set using
An image processing method comprising:
画像を符号化する符号化段階を更に有することを特徴とする請求項12記載の画像処理方法。   The image processing method according to claim 12, further comprising an encoding step of encoding an image. 前記第一多値画像及び前記第二多値画像は、同一の解像度であることを特徴とする請求項12又は13記載の画像処理方法。   The image processing method according to claim 12 or 13, wherein the first multi-valued image and the second multi-valued image have the same resolution. 前記第一多値画像及び前記第二多値画像の解像度は、前記多値画像の解像度より低い解像度であることを特徴とする請求項12乃至14何れか一項記載の画像処理方法。   The image processing method according to claim 12, wherein the resolution of the first multi-valued image and the second multi-valued image is lower than the resolution of the multi-valued image. 前記第一多値画像画素未設定画素設定段階は、
前記第一多値画像に対して、所定サイズのブロック領域を設定する第一ブロック内領域設定段階と、
前記第一ブロック内領域設定段階において設定されたブロック領域内に、画素値が設定された既決画素と、画素値が設定されていない未決画素と、が共に存在するか否かを計数する第一ブロック内既決・未決画素計数段階と、
を有し、
前記第二多値画像画素未設定画素設定段階は、
前記第二多値画像に対して、所定サイズのブロック領域を設定する第二ブロック内領域設定段階と、
前記第二ブロック内領域設定段階において設定されたブロック領域内に、画素値が設定された既決画素と、画素値が設定されていない未決画素と、が共に存在するか否かを計数する第二ブロック内既決・未決画素計数段階と、
を有することを特徴とする請求項12乃至15何れか一項記載の画像処理方法。
The first multi-value image pixel non-set pixel setting step includes:
A first block area setting step for setting a block area of a predetermined size for the first multi-valued image;
First counting whether or not both a determined pixel having a pixel value and an undecided pixel having no pixel value are present in the block area set in the first block area setting step. In-block determined / undecided pixel counting stage,
Have
The second multi-value image pixel non-set pixel setting step includes:
A second block area setting step for setting a block area of a predetermined size for the second multi-valued image;
A second counter that counts whether or not both a determined pixel for which a pixel value is set and an undecided pixel for which a pixel value is not set exist in the block area set in the second block area setting step. In-block determined / undecided pixel counting stage,
16. The image processing method according to claim 12, further comprising:
前記第一多値画像画素未設定画素設定段階は、
前記未決画素の画素値を、前記第一ブロック内領域設定段階において設定されたブロック領域内の前記既決画素を用いて設定する第一画素値設定段階を更に有し、
前記第二多値画像画素未設定画素設定段階は、
前記未決画素の画素値を、前記第二ブロック内領域設定段階において設定されたブロック領域内の前記既決画素を用いて設定する第二画素値設定段階を更に有することを特徴とする請求項16記載の画像処理方法。
The first multi-value image pixel non-set pixel setting step includes:
A first pixel value setting step of setting the pixel value of the undecided pixel using the determined pixel in the block region set in the first block region setting step;
The second multi-value image pixel non-set pixel setting step includes:
17. The second pixel value setting step of setting the pixel value of the undecided pixel by using the determined pixel in the block region set in the second block inner region setting step. Image processing method.
前記第一多値画像画素未設定画素設定段階又は前記第二多値画像画素未設定画素設定段階は、前記所定サイズのブロック領域単位による画素値の設定を、前記所定サイズのブロック領域単位を段階的に大きくしながら再帰的に前記第一多値画像又は前記第二多値画像に対して行うことを特徴とする請求項16又は17記載の画像処理方法。   In the first multi-value image pixel non-set pixel setting step or the second multi-value image pixel non-set pixel setting step, the pixel value is set in the block region unit of the predetermined size in the block region unit of the predetermined size. The image processing method according to claim 16 or 17, wherein the image processing method is recursively performed on the first multi-valued image or the second multi-valued image while being enlarged. 前記第一多値画像画素未設定画素設定段階又は前記第二多値画像画素未設定画素設定段階は、前記所定サイズのブロック領域単位を段階的に大きくし、最終的には前記所定サイズのブロック領域単位を、8×8画素とすることを特徴とする請求項18記載の画像処理方法。   In the first multi-value image pixel non-set pixel setting step or the second multi-value image pixel non-set pixel setting step, the block region unit of the predetermined size is increased step by step, and finally the block of the predetermined size is set. The image processing method according to claim 18, wherein the area unit is 8 × 8 pixels. 前記所定サイズのブロック領域は、8×8画素であることを特徴とする請求項16又は17記載の画像処理方法。   18. The image processing method according to claim 16, wherein the block area having the predetermined size is 8 × 8 pixels. 画素値が設定された既決画素の中から、画素値が設定されていない未決画素の近傍にある境界既決画素を検出する境界画素検出段階と、
前記境界既決画素の画素値を、前記未決画素の近傍にない別の既決画素の画素値を用いて補正する画素値補正段階と、
を更に有することを特徴とする請求項12乃至20何れか一項記載の画像処理方法。
A boundary pixel detection stage for detecting a boundary predetermined pixel in the vicinity of an undecided pixel for which a pixel value is not set from among the predetermined pixels for which a pixel value is set;
A pixel value correction step of correcting the pixel value of the boundary predetermined pixel using a pixel value of another predetermined pixel not in the vicinity of the predetermined pixel;
The image processing method according to claim 12, further comprising:
前記境界画素検出段階において検出された境界既決画素に対して、エッジの検出を行うエッジ検出段階を更に有し、
前記画素値補正段階は、前記エッジ検出段階においてエッジとして検出された前記境界既決画素に対して、画素値の補正を行うことを特徴とする請求項21記載の画像処理方法。
An edge detection step of performing edge detection on the boundary-determined pixels detected in the boundary pixel detection step;
The image processing method according to claim 21, wherein the pixel value correcting step corrects a pixel value of the boundary-determined pixel detected as an edge in the edge detecting step.
コンピュータを、
多値画像を取得する多値画像取得手段と、
前記多値画像から二値画像を生成する二値画像生成手段と、
前記多値画像及び前記二値画像に基づいて、第一多値画像及び第二多値画像を生成する多値画像生成手段と、
を有し、
前記多値画像生成手段は、
前記第一多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の一方の画素値が存在すると、該二値画像の一方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第一多値画像の画素の画素値を設定する第一多値画像画素値設定手段と、
前記第二多値画像の画素の位置に対応する位置の前記二値画像内に、二値画像の他方の画素値が存在すると、該二値画像の他方の画素値が存在する位置に対応する位置の前記多値画像内の画素値に基づいて、前記第二多値画像の画素の画素値を設定する第二多値画像画素値設定手段と、
値が設定された前記第一多値画像の既決画素の近傍の、値が設定されていない前記第一多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第一多値画像画素未設定画素設定手段と、
値が設定された前記第二多値画像の既決画素の近傍の、値が設定されていない前記第二多値画像の未決画素の画素値を、該未決画素の近傍の、既決画素の画素値を用いて設定する第二多値画像画素未設定画素設定手段と、
を有することを特徴とする画像処理プログラム。
Computer
Multi-value image acquisition means for acquiring a multi-value image;
Binary image generating means for generating a binary image from the multi-valued image;
Multi-value image generation means for generating a first multi-value image and a second multi-value image based on the multi-value image and the binary image;
Have
The multi-value image generating means
If one pixel value of the binary image exists in the binary image at a position corresponding to the pixel position of the first multi-valued image, this corresponds to the position where one pixel value of the binary image exists. First multi-value image pixel value setting means for setting a pixel value of a pixel of the first multi-value image based on a pixel value in the multi-value image at a position;
If the other pixel value of the binary image exists in the binary image at a position corresponding to the pixel position of the second multi-valued image, this corresponds to the position where the other pixel value of the binary image exists. Second multi-value image pixel value setting means for setting a pixel value of a pixel of the second multi-value image based on a pixel value in the multi-value image at a position;
The pixel value of the undecided pixel in the first multi-valued image in which the value is not set near the decided pixel in the first multi-valued image in which the value is set, and the pixel value of the decided pixel in the vicinity of the undecided pixel First multi-value image pixel non-set pixel setting means for setting using,
The pixel value of the undecided pixel in the second multi-valued image that has not been set, the pixel value of the determined pixel in the vicinity of the undecided pixel in the vicinity of the determined pixel in the second multi-level image in which the value has been set Second multi-value image pixel non-set pixel setting means for setting using
An image processing program comprising:
請求項23記載の画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the image processing program according to claim 23 is recorded.
JP2004358532A 2004-12-10 2004-12-10 Image processing apparatus, image processing method, image processing program and recording medium Pending JP2006166355A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2004358532A JP2006166355A (en) 2004-12-10 2004-12-10 Image processing apparatus, image processing method, image processing program and recording medium
EP05257595.8A EP1670257B1 (en) 2004-12-10 2005-12-09 Compressing a mutlivalue image with control of memory space requirement
CN 200510131416 CN1787599B (en) 2004-12-10 2005-12-12 Image processing apparatus and system, and method for dividing a mutlivalue image for compression
US11/298,976 US7639880B2 (en) 2004-12-10 2005-12-12 Compressing a multivalue image with control of memory space requirement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004358532A JP2006166355A (en) 2004-12-10 2004-12-10 Image processing apparatus, image processing method, image processing program and recording medium

Publications (1)

Publication Number Publication Date
JP2006166355A true JP2006166355A (en) 2006-06-22

Family

ID=36667807

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004358532A Pending JP2006166355A (en) 2004-12-10 2004-12-10 Image processing apparatus, image processing method, image processing program and recording medium

Country Status (2)

Country Link
JP (1) JP2006166355A (en)
CN (1) CN1787599B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102582245B (en) * 2011-01-14 2016-01-20 研能科技股份有限公司 Rapid page-wide multiple Method of printing and the printing equipment that is suitable for
CN102957904A (en) * 2011-08-24 2013-03-06 上海山景集成电路技术有限公司 Method, system and device for compressed encoding of image information
CN102855643A (en) * 2012-07-31 2013-01-02 北京天神互动科技有限公司 Method for compressing and decompressing font library files and monochrome images

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07236062A (en) * 1993-12-27 1995-09-05 Canon Inc Picture processor and method therefor
JPH09238256A (en) * 1995-12-28 1997-09-09 Ricoh Co Ltd Image processing method and image processing unit
JP2000261663A (en) * 1999-03-08 2000-09-22 Fuji Xerox Co Ltd Device and method for separating image area
JP2001136381A (en) * 1999-08-20 2001-05-18 Ricoh Co Ltd Picture processor
JP2002158874A (en) * 2000-11-22 2002-05-31 Oki Electric Ind Co Ltd Image processor
JP2002368986A (en) * 2002-04-02 2002-12-20 Fuji Xerox Co Ltd Picture processor, picture processing method, picture transmitting device and picture transmitting method
JP2003186635A (en) * 2001-12-13 2003-07-04 Fuji Xerox Co Ltd Image processing apparatus and program
JP2004248271A (en) * 2003-01-23 2004-09-02 Ricoh Co Ltd Image processor, image forming apparatus, image processing method, program, and memory medium
JP2004260327A (en) * 2003-02-24 2004-09-16 Canon Inc Image compression apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07131641A (en) * 1993-11-08 1995-05-19 Canon Inc Image processor
US7031514B1 (en) * 1999-08-27 2006-04-18 Celartem Technology Inc. Image compression method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07236062A (en) * 1993-12-27 1995-09-05 Canon Inc Picture processor and method therefor
JPH09238256A (en) * 1995-12-28 1997-09-09 Ricoh Co Ltd Image processing method and image processing unit
JP2000261663A (en) * 1999-03-08 2000-09-22 Fuji Xerox Co Ltd Device and method for separating image area
JP2001136381A (en) * 1999-08-20 2001-05-18 Ricoh Co Ltd Picture processor
JP2002158874A (en) * 2000-11-22 2002-05-31 Oki Electric Ind Co Ltd Image processor
JP2003186635A (en) * 2001-12-13 2003-07-04 Fuji Xerox Co Ltd Image processing apparatus and program
JP2002368986A (en) * 2002-04-02 2002-12-20 Fuji Xerox Co Ltd Picture processor, picture processing method, picture transmitting device and picture transmitting method
JP2004248271A (en) * 2003-01-23 2004-09-02 Ricoh Co Ltd Image processor, image forming apparatus, image processing method, program, and memory medium
JP2004260327A (en) * 2003-02-24 2004-09-16 Canon Inc Image compression apparatus

Also Published As

Publication number Publication date
CN1787599A (en) 2006-06-14
CN1787599B (en) 2010-05-05

Similar Documents

Publication Publication Date Title
US7355755B2 (en) Image processing apparatus and method for accurately detecting character edges
JP4568460B2 (en) Image processing apparatus and recording medium
JP2720924B2 (en) Image signal encoding device
US8331671B2 (en) Image processing apparatus and image encoding method related to non-photo image regions
KR100937542B1 (en) Segmented layered image system
US8401306B2 (en) Image processing apparatus and control method
JP5132517B2 (en) Image processing apparatus and image processing method
US20030202697A1 (en) Segmented layered image system
JP4235583B2 (en) Image processing apparatus, image processing program, and storage medium
JP2006197178A (en) Image processor, image processing method, program, and storage medium
JP5178490B2 (en) Image processing apparatus, image processing method, and computer program
JP4771428B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2006166355A (en) Image processing apparatus, image processing method, image processing program and recording medium
US20090086092A1 (en) Image processing apparatus and image processing method thereof
JP5058183B2 (en) Image processing apparatus, image forming apparatus including the same, image processing program, and recording medium
JP4084719B2 (en) Image processing apparatus, image forming apparatus including the image processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP2006270655A (en) Apparatus and method for image processing
JP4504096B2 (en) Image processing apparatus, program, and storage medium
JP2012134847A (en) Image compression apparatus, image compression method and program
JP2004350182A (en) Data processing apparatus, data file, data processing method, and program
JP4383187B2 (en) Image processing apparatus, image processing program, and storage medium
JP4926128B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method
JPH0918877A (en) Fractal image compression device
JP2001169099A (en) Picture reproducing device
JP4237642B2 (en) Image processing apparatus, image processing program, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070518

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090616

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090817

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100608