JP3910120B2 - Image processing apparatus, method, program for executing the method, and recording medium - Google Patents

Image processing apparatus, method, program for executing the method, and recording medium Download PDF

Info

Publication number
JP3910120B2
JP3910120B2 JP2002243928A JP2002243928A JP3910120B2 JP 3910120 B2 JP3910120 B2 JP 3910120B2 JP 2002243928 A JP2002243928 A JP 2002243928A JP 2002243928 A JP2002243928 A JP 2002243928A JP 3910120 B2 JP3910120 B2 JP 3910120B2
Authority
JP
Japan
Prior art keywords
image
original image
partial
original
reduced
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.)
Expired - Fee Related
Application number
JP2002243928A
Other languages
Japanese (ja)
Other versions
JP2004088251A (en
Inventor
学平 劉
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 JP2002243928A priority Critical patent/JP3910120B2/en
Publication of JP2004088251A publication Critical patent/JP2004088251A/en
Application granted granted Critical
Publication of JP3910120B2 publication Critical patent/JP3910120B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理装置、画像処理方法、該方法を実行するプログラム及び記録媒体に関し、特に、多値グレー画像またはカラー画像を縮小して保存し、縮小した画像を拡大して利用するための画像処理技術に関するものである。
【0002】
【従来の技術】
図5は、従来の画像処理システムの処理例について説明するための図で、スキャナで原稿の多値グレー画像またはカラー画像を入力して保存し、配信、画面表示、印刷出力、OCRなどの用途に再利用する画像処理システムを示すものである。画像処理システムにおいて、スキャナ31から読み取られたデジタル画像信号32bは、スキャナインタフェース(I/F)32aを通して、PC32に入力され、ハードディスクI/F32cを通してハードディスク33に保存される。ハードディスク33に保存されているデジタル画像を再利用するとき、ハードディスクI/F32cを通して取り出したデジタル画像をプリンタI/F32dを通してプリンタに印刷したり、そのデジタル画像に圧縮処理32eを施し、又は非圧縮処理32fにより通信I/F32hを通して外部へ配信したり、2値化処理32gによって2値化したOCR用の2値化画像を通信I/F32hを通して外へ出力したりする。
【0003】
【発明が解決しようとする課題】
以上説明したような従来例では、基本的にスキャナ31で読み取るときと同じ解像度のデジタル画像がハードディスク33に保存される。このように、カラースキャナやデジタルカメラを用いて入力された多値グレー画像またはカラー画像を保存し、配信、画面表示、印刷出力、OCRなどの用途に再利用するには、常に保存画像の画質と保存装置の容量及び処理時間とのトレードオフに配慮しなければならない。
【0004】
つまり、原稿または被写体の情報をより多く得るには、高い解像度で画像入力することは有効であるが、高い解像度で入力された画像ファイルのサイズは保存装置の容量を大量に消費し、処理時間も長くなる。低い解像度での入力は、容量と時間を節約できるが、情報欠落の代償を払わなければならない。
【0005】
そこで、本発明は、原稿の画像情報量を確保して高画質を維持すること、及び画像データの保存容量と処理時間とを削減することを一定のレベルで両立できるようにした画像処理装置、方法及び該方法を実行するプログラムを記録した記録媒体を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記課題を解決するため、本発明は、多値グレー画像またはカラー画像を原画像として入力する画像入力手段と、画像入力手段より得られる画像(原画像)を解像度変換によって縮小する画像縮小手段と、画像入力手段により得られる(原画像)の一部を抽出する画像抽出手段と、画像縮小手段より得られる画像(縮小画像)を保存する縮小画像保存手段と、画像縮小手段における解像度変換情報を保存する解像度変換情報保存手段と、前記画像抽出手段より得られる画像(部分原画像)を保存する部分原画像保存手段と、画像抽出手段より得られる部分原画像の各画素の原画像における位置情報(部分原画像位置情報)を保存する部分原画像位置情報保存手段と、前記画像縮小手段により得られた縮小画像について、注目画素とその周囲画素の画素値から特徴量を計算する特徴量計算手段とを有し、前記画像抽出手段は、前記特徴量計算手段により計算した特徴量を用いて、周囲画素に対する変化の度合いが一定以上の画素に関連する原画像中の画素を抽出して、抽出した画素を前記部分原画像とすることを特徴とする。この特徴により、原稿の情報量をできるだけ保持することと、保存容量をできるだけ節約することとを一定のレベルで両立できる。
【0007】
また、縮小画像と解像度変換情報とを用いてその縮小画像を拡大することにより、前記原画像と同じ解像度の画像を生成する画像拡大手段と、画像拡大手段より得られる画像(拡大画像),部分原画像,及び部分原画像の位置情報を用いて、原画像と同じ解像度の画像に部分原画像を合成する合成手段とを具備することを特徴とする。この特徴より、原稿の情報量をできるだけ保持することと、処理時間をできるだけ節約することとを一定のレベルで両立できる。
【0008】
本発明の画像処理方法は、多値グレー画像またはカラー画像を入力する画像入力ステップと、画像入力ステップより得られる画像(原画像)を解像度変換によって縮小する画像縮小ステップと、画像入力ステップより得られる画像(原画像)の一部を抽出する画像抽出ステップと、画像縮小ステップより得られる画像(縮小画像)を保存する縮小画像保存ステップと、画像縮小ステップにおける解像度変換情報を保存する解像度変換情報保存ステップと、画像抽出ステップより抽出された画像(部分原画像)を保存する部分画像保存ステップと、画像抽出ステップより抽出された部分原画像の各画素の原画像における位置情報(部分原画像位置情報)を保存する部分原画像位置情報保存ステップと前記画像縮小手段により得られた縮小画像について、注目画素とその周囲画素の画素値から特徴量を計算する特徴量計算ステップとを有し、前記画像抽出ステップは、前記特徴量計算ステップにより計算した特徴量を用いて、周囲画素に対する変化の度合いが一定以上の画素に関連する原画像中の画素を抽出して、抽出した画素を前記部分原画像とすることを特徴とする。
【0009】
また、本発明の画像処理方法は、縮小画像と解像度変換情報とを用いて縮小画像を拡大することにより、原画像と同じ解像度の画像を生成する画像拡大ステップと、画像拡大ステップより得られる画像(拡大画像),部分原画像,及び部分原画像位置情報を用いて、原画像と同じ解像度の画像に部分原画像を合成する合成ステップとによって実施される。
【0010】
本発明は、多値グレー画像またはカラー画像を入力する画像入力ステップと、
画像入力ステップより得られる画像(原画像)を解像度変換によって縮小する画像縮小ステップと、画像入力ステップより得られる画像(原画像)の一部を抽出する画像抽出ステップと、画像縮小ステップより得られる画像(縮小画像)を保存する縮小画像保存ステップと、画像縮小ステップ中の解像度変換情報を保存する解像度変換情報保存ステップと、画像抽出ステップより得られる画像(部分原画像)を保存する部分画像保存ステップと、画像抽出ステップより得られる該部分原画像の各画素の原画像における位置情報(部分原画像位置情報)を保存する部分原画像位置情報保存ステップと、前記画像縮小手段により得られた縮小画像について、注目画素とその周囲画素の画素値から特徴量を計算する特徴量計算ステップとを有し、前記画像抽出ステップは、該特徴量計算ステップにより計算した特徴量を用いて、周囲画素に対する変化の度合いが一定以上の画素に関連する原画像中の画素を抽出して、抽出した画素を前記部分原画像とする画像処理方法を実行するためのプログラム及び、そのプログラムを記録したコンピュータでの読み取り可能な記録媒体により実施される。
【0011】
また、本発明は、縮小画像と解像度変換情報とを用いてその縮小画像を拡大することにより、原画像と同じ解像度の画像を生成する画像拡大ステップと、画像拡大ステップより得られる画像(拡大画像),部分原画像,及び部分原画像の位置情報を用いて、原画像と同じ解像度の画像に部分原画像を合成する合成ステップとからなる画像処理方法を実行するためのプログラム及び、そのプログラムを記録した記録媒体により実施される。
【0012】
【発明の実施の形態】
図1は、本発明の画像処理装置の構成を説明するためのブロック図である。画像処理装置は、多値グレー画像またはカラー画像を原画像として入力する画像入力手段1と、画像入力手段1より得られる原画像を解像度変換によって縮小する画像縮小手段2と、原画像の一部を部分原画像として抽出する画像抽出手段3と、画像縮小手段2により得られた縮小画像を保存する縮小画像保存手段4と、画像縮小手段2における解像度変換情報を保存する解像度変換情報保存手段5と、画像抽出手段3より抽出された部分原画像を保存する部分画像保存手段6と、画像抽出手段3より抽出された部分原画像の各画素の原画像における位置情報を保存する部分原画像位置情報保存手段7を具備する。
【0013】
また、画像処理装置は、縮小画像と解像度変換情報とを用いて縮小画像を拡大することにより、原画像と同じ解像度の画像を生成する画像拡大手段8と、画像拡大手段8より得られた拡大画像,部分原画像,及び部分原画像の位置情報を用いて、原画像と同じ解像度の画像に部分原画像を合成する合成手段9とを具備する。さらに、縮小画像の各画素の特徴量を計算する特徴量計算手段10を有し、特徴計算手段10により得られた特徴量を画像抽出手段3による部分原画像の抽出に用いる。
【0014】
図2は、本発明の一実施例における処理を説明するためのブロック図で、11は原稿から多値グレー画像またはカラー画像を入力するスキャナ、12はPC(パソコン)、13は画像データと制御情報を保存するハードディスク、14は画像データを紙に出力するプリンタである。
【0015】
スキャナ11からのデジタル画像信号12bは、スキャナI/F12aを通してPC12に入り、PC12はこのデジタル画像に対し、縮小、抽出処理12iを施し、解像度縮小した画像と原解像度の部分原画像及び制御情報(解像度変換率、部分原画像の位置情報など)とを生成する。そしてこれら、解像度縮小画像、部分原画像、及び制御情報は、ハードディスクI/F12cを通してハードディスク13に保存される。
【0016】
ハードディスクに保存した画像データを再利用する場合、ハードディスク13から解像度縮小画像と原解像度の部分画像及び制御情報を読み出し、これらを用いて拡大、合成処理12jによって原画像と同じ解像度のデータ画像を生成する。この画像データをプリンタI/F12dを経てプリンタ14に渡して紙に出力したり、または、JPEG等の圧縮処理12e、非圧縮処理12f、2値化処理12gなどをPC12で施して、通信I/F12hを通して、データ配信、画面上表示、OCRなどのためのデータとして外部へ出力する。
【0017】
図3は、本発明の画像処理方法における処理例を説明するためのフローチャートである。まず、スキャナから高解像度(例えば600dpi)の原画像データ21が入力される(ステップS1)。次にスキャナから入力された高解像度の原画像データ21に対し、解像度縮小処理を施す(ステップS2)。ここでは、例えば、解像度を600dpiから100dpiに縮小変換する。変換方法は例えば、単純な平均縮小方法を採用する。縮小後の画像サイズは元の1/36である。原画像の6×6=36画素の平均値は、縮小後の1画素の画素値になる。
【0018】
次に上記の画像縮小処理で得られた縮小画像22に対して、注目画素における画像の変化度合いをあらわす特徴量を計算する(ステップS3)。例えば、Sobelのエッジ検出方法(Randy Crane, A Simplified Approach to Image Processing, Prentice−Hall, 1997,)でエッジマップを計算する。
【0019】
次に、上記特徴計算処理で計算された縮小画像の特徴量23と原画像データ21とを用いて、原画像の部分画素に関連する制御情報を抽出する(ステップS4)。この抽出処理では、例えば、エッジマップ中で一定以上のエッジ強度をもつ画素について、その画素に関連する原画像中の画素(複数個)を抽出し、抽出した部分原画像データと、制御情報(原画像と縮小画像との解像度変換率情報、抽出画素の原画像における位置情報)24を抽出する。
【0020】
そして上記縮小画像22、及び部分原画像データと制御情報24を用いて、拡大、合成処理を行う(ステップS5)。拡大、合成処理は、原画像と同じ高解像度の拡大画像25を合成するもので、例えば、線形補間方法を用いる。合成処理は、上記の制御情報を参照して、部分的に保存される原画像があれば、拡大画像の対応場所において原画像の画素を拡大画像の画素と置き換える。
【0021】
図4は、本発明の画像処理による画像を説明する図で、図4(A)は、高解像度(600dpi)の原画像を示す図、図4(B)は原画像を縮小した縮小画像(100dpi)を示す図、図4(C)は縮小画像の特徴量のエッジマップ(表示のため、白黒逆転反転している)を示す図、図4(D)は上記の制御情報を示す図で、ある閾値で図4(C)のエッジマップを2値化した状態を示すものである。
【0022】
画像処理装置に入力した原画像(図4(A))は、画像縮小処理により縮小画像(図4(B))にされ、特徴計算により特徴量が抽出されてエッジマップ(図4(C))が生成される。そして抽出処理により、制御情報(図4(D))が抽出される。ここで図4(D)の制御情報は、一定強度以上のエッジ強度の画素について、それらの画素を黒にし、それ以外を白にするものである。
【0023】
そして原画像(図4(A))から、図4(D)の黒に対応する部分の画像(部分原画像)を抽出する(図示せず)。図4(E)は図4(C)の縮小画像を元の解像度に拡大した図で、この拡大画像において、上記抽出した部分原画像に該当する部分を、制御情報を用いて部分原画像に置き換える。図4(F)はこうして抽出された部分原画像と図4(D)の制御情報とを用いて合成された拡大図である。この例で分かるように、縮小画像、部分原画像及び制御情報の保存に必要な容量は、原画像の容量より少なくて済む。また、拡大合成した画像(図4(F))は、原画像ほどではないが、単純な拡大画像(図4(E))より情報量が多く、良質な画質を得ることができる。
【0024】
【発明の効果】
以上説明したように、本発明によれば、原稿の画像情報量を確保して高画質を維持すること、及び画像データの保存容量と処理時間とを削減することを一定のレベルで両立できるようにした画像処理装置、方法,該方法を実行するプログラム及び記録媒体を提供することができる。
【図面の簡単な説明】
【図1】 本発明の画像処理装置の構成を説明するためのブロック図である。
【図2】 本発明の一実施例における処理を説明するためのブロック図である。
【図3】 本発明の画像処理方法における処理例を説明するためのフローチャートである。
【図4】 本発明の画像処理による画像を説明する図である。
【図5】 従来の画像処理システムの処理例について説明するための図である。
【符号の説明】
1…画像入力手段、2…画像縮小手段、3…画像抽出手段、4…縮小画像保存手段、5…解像度変換情報保存手段、6…部分原画像保存手段、7…部分原画像位置情報保存手段、8…画像拡大手段、9…合成手段、10…特徴量計算手段、11…スキャナ、12…PC(パソコン)、13…ハードディスク、14…プリンタ、21…原画像データ、22…縮小画像、23…特徴量、24…部分原画像と制御情報、25…拡大画像、31…スキャナ、32…PC、33…ハードディスク。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus, an image processing method, a program for executing the method, and a recording medium, and more particularly, for reducing and storing a multi-value gray image or a color image and enlarging and using the reduced image. The present invention relates to image processing technology.
[0002]
[Prior art]
FIG. 5 is a diagram for explaining a processing example of a conventional image processing system, in which a multi-value gray image or color image of a document is input and stored by a scanner, and is used for distribution, screen display, print output, OCR, and the like. 1 shows an image processing system to be reused. In the image processing system, the digital image signal 32b read from the scanner 31 is input to the PC 32 through the scanner interface (I / F) 32a and stored in the hard disk 33 through the hard disk I / F 32c. When the digital image stored in the hard disk 33 is reused, the digital image taken out through the hard disk I / F 32c is printed on the printer through the printer I / F 32d, or the digital image is subjected to compression processing 32e or uncompressed processing. The information is distributed to the outside through the communication I / F 32h by 32f, or the binary image for OCR binarized by the binarization processing 32g is output to the outside through the communication I / F 32h.
[0003]
[Problems to be solved by the invention]
In the conventional example as described above, a digital image having basically the same resolution as that read by the scanner 31 is stored in the hard disk 33. In this way, when storing multi-value gray images or color images input using a color scanner or digital camera and reusing them for purposes such as distribution, screen display, printout, OCR, etc. Consider the trade-off between storage capacity and processing time.
[0004]
In other words, it is effective to input an image at a high resolution in order to obtain more information about a document or subject. However, the size of an image file input at a high resolution consumes a large amount of storage device capacity and processing time. Also gets longer. Lower resolution input saves space and time, but at the cost of missing information.
[0005]
Accordingly, the present invention provides an image processing apparatus capable of ensuring both a certain level of maintaining a high image quality by securing the amount of image information of a document and reducing the storage capacity and processing time of image data. It is an object to provide a method and a recording medium on which a program for executing the method is recorded.
[0006]
[Means for Solving the Problems]
In order to solve the above problems, the present invention provides an image input means for inputting a multi-value gray image or a color image as an original image, and an image reduction means for reducing an image (original image) obtained from the image input means by resolution conversion. Image extraction means for extracting a part of (original image) obtained by the image input means, reduced image storage means for saving an image (reduced image) obtained by the image reduction means, and resolution conversion information in the image reduction means Resolution conversion information storage means for saving, partial original image storage means for saving an image (partial original image) obtained from the image extraction means, and position information in the original image of each pixel of the partial original image obtained from the image extraction means a partial original image position information storage means for storing (partial original image position information), the reduced image obtained by the image reduction unit, the pixel of interest and its surrounding picture A feature amount calculation means for calculating a feature amount from the pixel value of the pixel value, and the image extraction means uses the feature amount calculated by the feature amount calculation means to change the degree of change with respect to surrounding pixels to a certain level or more. A pixel in a related original image is extracted, and the extracted pixel is used as the partial original image . With this feature, it is possible to achieve both a certain level of maintaining the information amount of the document as much as possible and saving the storage capacity as much as possible.
[0007]
Further, by enlarging the reduced image using the reduced image and the resolution conversion information, an image enlarging unit that generates an image having the same resolution as the original image, an image (enlarged image) obtained from the image enlarging unit, and a part The image processing apparatus is characterized by comprising combining means for combining the partial original image with an image having the same resolution as the original image, using the position information of the original image and the partial original image. With this feature, it is possible to achieve both a certain level of maintaining the document information amount and saving the processing time as much as possible.
[0008]
The image processing method of the present invention includes an image input step for inputting a multi-value gray image or a color image, an image reduction step for reducing an image (original image) obtained by the image input step by resolution conversion, and an image input step. Image extracting step for extracting a part of an image (original image) to be obtained, a reduced image storing step for storing an image (reduced image) obtained from the image reducing step, and resolution conversion information for storing resolution conversion information in the image reducing step A storage step, a partial image storage step for storing the image (partial original image) extracted from the image extraction step, and position information (partial original image position) of each pixel of the partial original image extracted from the image extraction step a reduced image obtained by the partial original image position information storage step and the image reduction means for storing information) A feature amount calculation step of calculating a feature amount from a pixel value of the target pixel and its surrounding pixels, and the image extraction step uses the feature amount calculated in the feature amount calculation step to change the surrounding pixels. A pixel in an original image related to a pixel having a certain degree of or more is extracted, and the extracted pixel is used as the partial original image.
[0009]
In addition, the image processing method of the present invention enlarges the reduced image using the reduced image and the resolution conversion information, thereby generating an image having the same resolution as the original image, and an image obtained from the image enlargement step. (Enlarged image), the partial original image, and the partial original image position information are used to combine the partial original image with an image having the same resolution as the original image.
[0010]
The present invention includes an image input step of inputting a multi-value gray image or a color image;
An image reduction step for reducing the image (original image) obtained from the image input step by resolution conversion, an image extraction step for extracting a part of the image (original image) obtained from the image input step, and an image reduction step. Reduced image storage step for storing an image (reduced image), resolution conversion information storage step for storing resolution conversion information during the image reduction step, and partial image storage for storing an image (partial original image) obtained from the image extraction step A partial original image position information storage step for storing position information (partial original image position information) in the original image of each pixel of the partial original image obtained from the image extraction step, and a reduction obtained by the image reduction means A feature amount calculating step for calculating a feature amount from a pixel value of a target pixel and surrounding pixels of the image; The image extraction step uses the feature amount calculated in the feature amount calculation step to extract a pixel in the original image related to a pixel whose degree of change with respect to surrounding pixels is a certain level or more, and extracts the extracted pixel as the partial original. The present invention is implemented by a program for executing an image processing method as an image and a computer-readable recording medium that records the program.
[0011]
Further, the present invention enlarges the reduced image using the reduced image and the resolution conversion information, thereby generating an image having the same resolution as the original image, and an image (enlarged image) obtained from the image enlargement step. ), A program for executing an image processing method including a partial original image and a composition step of combining the partial original image with an image having the same resolution as the original image using the position information of the partial original image, and the program Implemented by the recorded recording medium.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram for explaining the configuration of the image processing apparatus of the present invention. The image processing apparatus includes an image input unit 1 that inputs a multi-value gray image or a color image as an original image, an image reduction unit 2 that reduces the original image obtained from the image input unit 1 by resolution conversion, and a part of the original image. Is extracted as a partial original image, a reduced image storage unit 4 that stores a reduced image obtained by the image reduction unit 2, and a resolution conversion information storage unit 5 that stores resolution conversion information in the image reduction unit 2. A partial image storage unit 6 for storing the partial original image extracted by the image extraction unit 3, and a partial original image position for storing position information in the original image of each pixel of the partial original image extracted by the image extraction unit 3 An information storage means 7 is provided.
[0013]
The image processing apparatus enlarges the reduced image using the reduced image and the resolution conversion information, thereby generating an image enlargement unit 8 that generates an image having the same resolution as the original image, and the enlargement obtained by the image enlargement unit 8. Using the image, the partial original image, and the position information of the partial original image, a combining unit 9 is provided for combining the partial original image with an image having the same resolution as the original image. Furthermore, it has a feature quantity calculation means 10 for calculating the feature quantity of each pixel of the reduced image, and the feature quantity obtained by the feature calculation means 10 is used for the extraction of the partial original image by the image extraction means 3.
[0014]
FIG. 2 is a block diagram for explaining processing in an embodiment of the present invention. 11 is a scanner for inputting a multi-value gray image or color image from a document, 12 is a PC (personal computer), 13 is image data and control. A hard disk for storing information, and a printer 14 for outputting image data to paper.
[0015]
The digital image signal 12b from the scanner 11 enters the PC 12 through the scanner I / F 12a, and the PC 12 performs reduction and extraction processing 12i on the digital image, and the resolution-reduced image, the original original partial original image, and control information ( Resolution conversion rate, partial original image position information, etc.). These reduced-resolution images, partial original images, and control information are stored in the hard disk 13 through the hard disk I / F 12c.
[0016]
When reusing image data stored on the hard disk, the resolution-reduced image, the original resolution partial image, and control information are read from the hard disk 13, and a data image having the same resolution as the original image is generated by enlarging and synthesizing 12j. To do. The image data is passed to the printer 14 via the printer I / F 12d and output to paper, or the PC 12 performs compression processing 12e such as JPEG, non-compression processing 12f, binarization processing 12g, etc. The data is output to the outside through F12h as data for data distribution, on-screen display, OCR, and the like.
[0017]
FIG. 3 is a flowchart for explaining a processing example in the image processing method of the present invention. First, high resolution (for example, 600 dpi) original image data 21 is input from the scanner (step S1). Next, resolution reduction processing is performed on the high-resolution original image data 21 input from the scanner (step S2). Here, for example, the resolution is reduced and converted from 600 dpi to 100 dpi. For example, a simple average reduction method is adopted as the conversion method. The image size after reduction is 1/36 of the original. The average value of 6 × 6 = 36 pixels in the original image becomes the pixel value of one pixel after reduction.
[0018]
Next, with respect to the reduced image 22 obtained by the above-described image reduction processing, a feature amount representing the degree of image change at the target pixel is calculated (step S3). For example, an edge map is calculated by Sobel's edge detection method (Randy Crane, A Improved Applied to Image Processing, Prentice-Hall, 1997).
[0019]
Next, control information related to the partial pixels of the original image is extracted using the feature amount 23 of the reduced image and the original image data 21 calculated in the feature calculation process (step S4). In this extraction process, for example, for a pixel having an edge intensity of a certain level or more in the edge map, a plurality of pixels in the original image related to the pixel are extracted, and the extracted partial original image data and control information ( The resolution conversion rate information between the original image and the reduced image, and the position information of the extracted pixels in the original image) 24 are extracted.
[0020]
Then, enlargement and composition processing is performed using the reduced image 22, the partial original image data and the control information 24 (step S5). The enlargement / combination process combines the enlarged image 25 having the same high resolution as the original image, and uses, for example, a linear interpolation method. In the synthesis process, referring to the control information, if there is an original image that is partially stored, the pixel of the original image is replaced with the pixel of the enlarged image at the corresponding location of the enlarged image.
[0021]
4A and 4B are diagrams for explaining an image obtained by image processing according to the present invention. FIG. 4A is a diagram illustrating a high-resolution (600 dpi) original image, and FIG. 4B is a reduced image obtained by reducing the original image. 4D is a diagram showing the edge map of the feature amount of the reduced image (black and white inverted for display), and FIG. 4D is a diagram showing the control information. 4 shows a state in which the edge map of FIG. 4C is binarized with a certain threshold value.
[0022]
The original image (FIG. 4A) input to the image processing apparatus is reduced to an image (FIG. 4B) by image reduction processing, feature amounts are extracted by feature calculation, and an edge map (FIG. 4C) is obtained. ) Is generated. And control information (Drawing 4D) is extracted by extraction processing. Here, the control information in FIG. 4D is information for pixels having edge intensity equal to or higher than a certain intensity, and setting the pixels to black and the others to white.
[0023]
Then, an image (partial original image) of a portion corresponding to black in FIG. 4D is extracted from the original image (FIG. 4A) (not shown). FIG. 4E is an enlarged view of the reduced image of FIG. 4C to the original resolution. In this enlarged image, a portion corresponding to the extracted partial original image is converted into a partial original image using control information. replace. FIG. 4F is an enlarged view synthesized using the partial original image thus extracted and the control information of FIG. As can be seen from this example, the capacity required to store the reduced image, the partial original image and the control information can be smaller than the capacity of the original image. Further, the enlarged and synthesized image (FIG. 4F) is not as large as the original image, but has a larger amount of information than a simple enlarged image (FIG. 4E), and a high quality image can be obtained.
[0024]
【The invention's effect】
As described above, according to the present invention, it is possible to achieve both a certain level of securing the image information amount of a document and maintaining high image quality, and reducing the storage capacity and processing time of image data. An image processing apparatus, a method, a program for executing the method, and a recording medium can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram for explaining a configuration of an image processing apparatus of the present invention.
FIG. 2 is a block diagram for explaining processing in an embodiment of the present invention.
FIG. 3 is a flowchart for explaining a processing example in the image processing method of the present invention.
FIG. 4 is a diagram illustrating an image obtained by image processing according to the present invention.
FIG. 5 is a diagram for explaining a processing example of a conventional image processing system.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Image input means, 2 ... Image reduction means, 3 ... Image extraction means, 4 ... Reduced image storage means, 5 ... Resolution conversion information storage means, 6 ... Partial original image storage means, 7 ... Partial original image position information storage means , 8 ... Image enlargement means, 9 ... Composition means, 10 ... Feature quantity calculation means, 11 ... Scanner, 12 ... PC (personal computer), 13 ... Hard disk, 14 ... Printer, 21 ... Original image data, 22 ... Reduced image, 23 ... feature amount, 24 ... partial original image and control information, 25 ... enlarged image, 31 ... scanner, 32 ... PC, 33 ... hard disk.

Claims (6)

多値グレー画像またはカラー画像を原画像として入力する画像入力手段と、
該画像入力手段より得られる原画像を解像度変換によって縮小する画像縮小手段と、
前記原画像の一部を部分原画像として抽出する画像抽出手段と、
前記画像縮小手段により得られた縮小画像を保存する縮小画像保存手段と、
前記画像縮小手段における解像度変換情報を保存する解像度変換情報保存手段と、
前記画像抽出手段より抽出された前記部分原画像を保存する部分原画像保存手段と、
前記画像抽出手段より抽出された前記部分原画像の各画素の原画像における位置情報を保存する部分原画像位置情報保存手段と、
前記画像縮小手段により得られた縮小画像について、注目画素とその周囲画素の画素値から特徴量を計算する特徴量計算手段とを有し、
前記画像抽出手段は、前記特徴量計算手段により計算した特徴量を用いて、周囲画素に対する変化の度合いが一定以上の画素に関連する原画像中の画素を抽出して、抽出した画素を前記部分原画像とすることを特徴とする画像処理装置。
Image input means for inputting a multi-value gray image or color image as an original image;
Image reduction means for reducing the original image obtained from the image input means by resolution conversion;
Image extracting means for extracting a part of the original image as a partial original image;
Reduced image storage means for storing a reduced image obtained by the image reduction means;
Resolution conversion information storage means for storing resolution conversion information in the image reduction means;
Partial original image storage means for storing the partial original image extracted by the image extraction means;
Partial original image position information storage means for storing position information in the original image of each pixel of the partial original image extracted by the image extraction means;
About the reduced image obtained by the image reduction means, the feature amount calculation means for calculating the feature amount from the pixel value of the target pixel and its surrounding pixels,
The image extraction unit extracts a pixel in an original image related to a pixel whose degree of change with respect to surrounding pixels is a certain level or more using the feature amount calculated by the feature amount calculation unit, and extracts the extracted pixel as the part An image processing apparatus characterized by being an original image .
前記縮小画像と前記解像度変換情報とを用いて前記縮小画像を拡大することにより、前記原画像と同じ解像度の画像を生成する画像拡大手段と、
該画像拡大手段より得られた拡大画像,前記部分原画像,及び前記部分原画像の位置情報を用いて、前記原画像と同じ解像度の画像に前記部分原画像を合成する合成手段とを具備することを特徴とする請求項1に記載の画像処理装置。
Image enlarging means for enlarging the reduced image using the reduced image and the resolution conversion information to generate an image having the same resolution as the original image;
Using a magnified image obtained by the image enlarging means, the partial original image, and position information of the partial original image, and combining means for synthesizing the partial original image with an image having the same resolution as the original image. The image processing apparatus according to claim 1.
多値グレー画像またはカラー画像を入力する画像入力ステップと、
該画像入力ステップより得られる原画像を解像度変換によって縮小する画像縮小ステップと、
前記原画像の一部を抽出する画像抽出ステップと、
前記画像縮小ステップよりに得られた縮小画像を保存する縮小画像保存ステップと、
前記画像縮小ステップにおける解像度変換情報を保存する解像度変換情報保存ステップと、
前記画像抽出ステップより抽出された前記部分原画像を保存する部分原画像保存ステップと、
前記画像抽出ステップより抽出された前記部分原画像の各画素の原画像における位置情報を保存する部分原画像位置情報保存ステップと、
前記画像縮小手段により得られた縮小画像について、注目画素とその周囲画素の画素値から特徴量を計算する特徴量計算ステップとを有し、
前記画像抽出ステップは、前記特徴量計算ステップにより計算した特徴量を用いて、周囲画素に対する変化の度合いが一定以上の画素に関連する原画像中の画素を抽出して、抽出した画素を前記部分原画像とすることを特徴とする画像処理方法。
An image input step for inputting a multi-value gray image or a color image;
An image reduction step of reducing the original image obtained from the image input step by resolution conversion;
An image extraction step of extracting a part of the original image;
A reduced image storage step for storing a reduced image obtained by the image reduction step;
Resolution conversion information storage step for storing resolution conversion information in the image reduction step;
A partial original image storage step for storing the partial original image extracted by the image extraction step;
A partial original image position information storage step for storing position information in the original image of each pixel of the partial original image extracted by the image extraction step;
A feature amount calculating step of calculating a feature amount from a pixel value of a target pixel and its surrounding pixels with respect to the reduced image obtained by the image reduction means;
The image extraction step uses the feature amount calculated in the feature amount calculation step to extract pixels in the original image related to pixels whose degree of change with respect to surrounding pixels is equal to or greater than a certain level, and extracts the extracted pixels as the portion An image processing method characterized in that it is an original image .
前記縮小画像と解像度変換情報とを用いて前記縮小画像を拡大することにより、前記原画像と同じ解像度の画像を生成する画像拡大ステップと、
該画像拡大ステップより得られた拡大画像,前記部分原画像,及び前記部分原画像の位置情報を用いて、前記原画像と同じ解像度の画像に前記部分原画像を合成するステップと、を有することを特徴とする請求項に記載の画像処理方法。
An image enlargement step of generating an image having the same resolution as the original image by enlarging the reduced image using the reduced image and resolution conversion information;
Using the enlarged image obtained in the image enlargement step, the partial original image, and the position information of the partial original image, and synthesizing the partial original image with an image having the same resolution as the original image. The image processing method according to claim 3 .
請求項3または4に記載の画像処理方法を実行させるためのプログラム。A program for executing the image processing method according to claim 3 . 請求項に記載のプログラムを記録した記録媒体。A recording medium on which the program according to claim 5 is recorded.
JP2002243928A 2002-08-23 2002-08-23 Image processing apparatus, method, program for executing the method, and recording medium Expired - Fee Related JP3910120B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002243928A JP3910120B2 (en) 2002-08-23 2002-08-23 Image processing apparatus, method, program for executing the method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002243928A JP3910120B2 (en) 2002-08-23 2002-08-23 Image processing apparatus, method, program for executing the method, and recording medium

Publications (2)

Publication Number Publication Date
JP2004088251A JP2004088251A (en) 2004-03-18
JP3910120B2 true JP3910120B2 (en) 2007-04-25

Family

ID=32052570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002243928A Expired - Fee Related JP3910120B2 (en) 2002-08-23 2002-08-23 Image processing apparatus, method, program for executing the method, and recording medium

Country Status (1)

Country Link
JP (1) JP3910120B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5202211B2 (en) * 2008-09-25 2013-06-05 三洋電機株式会社 Image processing apparatus and electronic apparatus
JP6142549B2 (en) * 2013-01-30 2017-06-07 大日本印刷株式会社 Electronic document image compression device
JP6992005B2 (en) * 2016-01-18 2022-01-13 アドバンスト・マイクロ・ディバイシズ・インコーポレイテッド Performing anti-aliasing operations in computing systems
US11076151B2 (en) 2019-09-30 2021-07-27 Ati Technologies Ulc Hierarchical histogram calculation with application to palette table derivation
CN111160265B (en) * 2019-12-30 2023-01-10 Oppo(重庆)智能科技有限公司 File conversion method and device, storage medium and electronic equipment
US11915337B2 (en) 2020-03-13 2024-02-27 Advanced Micro Devices, Inc. Single pass downsampler

Also Published As

Publication number Publication date
JP2004088251A (en) 2004-03-18

Similar Documents

Publication Publication Date Title
JP4586891B2 (en) Color reduction method, color reduction processing apparatus, image forming apparatus, and computer program
US8611658B2 (en) Image processing apparatus and image processing method
JPH08228282A (en) Processing method of document picture and binary picture picture element processor
JP2011146799A (en) Device and program for processing image
US8218911B2 (en) Image processing apparatus and image processing method
JP4364809B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP5893379B2 (en) Image compression apparatus, image compression method, and computer program
JP4383157B2 (en) Image processing apparatus, program, and storage medium
JP2010056827A (en) Apparatus and program for processing image
JP3910120B2 (en) Image processing apparatus, method, program for executing the method, and recording medium
JP2006053690A (en) Image processing device, image processing method, image processing program, and recording medium
JP4441300B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium storing the program
JP2007019673A (en) Image processing apparatus, image compression method, image compression program, and data structure of compressed image
JP2007088912A (en) Image processing apparatus and program
JP7134045B2 (en) Image processing device, image processing method, and program
JP2007005907A (en) Image processing method, image processor, image processing program, and recording medium
US6728426B1 (en) Compression of form images in gray-level
JP7063121B2 (en) Information processing equipment and programs
CN100511267C (en) Graph and text image processing equipment and image processing method thereof
JP4742632B2 (en) Image processing apparatus, image processing method, and program
JP5517028B2 (en) Image processing device
US20100188670A1 (en) Image processing apparatus, image processing method and program executing the image processing method
JP4228905B2 (en) Image processing apparatus and program
JP2006222940A (en) Image processing apparatus
JP4027016B2 (en) Image processing apparatus, image processing method, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060913

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061010

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061211

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070123

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070123

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110202

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120202

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130202

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130202

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140202

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees