JP2006270199A - System, method, and program for compressing image, and recording medium - Google Patents

System, method, and program for compressing image, and recording medium Download PDF

Info

Publication number
JP2006270199A
JP2006270199A JP2005081721A JP2005081721A JP2006270199A JP 2006270199 A JP2006270199 A JP 2006270199A JP 2005081721 A JP2005081721 A JP 2005081721A JP 2005081721 A JP2005081721 A JP 2005081721A JP 2006270199 A JP2006270199 A JP 2006270199A
Authority
JP
Japan
Prior art keywords
image
compression
compressed
data
character recognition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005081721A
Other languages
Japanese (ja)
Other versions
JP4123485B2 (en
Inventor
Hideaki Nagatsuma
秀明 長妻
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2005081721A priority Critical patent/JP4123485B2/en
Publication of JP2006270199A publication Critical patent/JP2006270199A/en
Application granted granted Critical
Publication of JP4123485B2 publication Critical patent/JP4123485B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image compression method capable of making the size of data appropriate in an output image that is a compressed result by automatically adjusting a compression ratio to an input image. <P>SOLUTION: There are provided: an image operating device 101 operated by program control; an image compressing device 102 operated by program control; and an image compression operating device 103 for operating image compression processing by enabling a user to designate the input source of a target image file and the output destination of a compression image file. The image compressing device 102 individually performs character recognition to a compressed image compressed by using reference compression ratio data and evaluation count data for each image to be compressed inputted from the image operating device 101, automatically determines the appropriate compression ratio by using reference difference ratio data, reference image character recognition result data, and compressed image character recognition result data, and outputs the compressed result image. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像圧縮システムおよび画像圧縮方法および画像圧縮用プログラムおよび記録媒体に関する。   The present invention relates to an image compression system, an image compression method, an image compression program, and a recording medium.

圧縮率の高い画像圧縮技術として国際標準化されたJPEGやJPEG2000などがある。しかし、高い圧縮率で画像を圧縮すると、表示の際に元の画像に戻せなくなり、文字が読み難くなってしまう問題がある。   As an image compression technique with a high compression rate, there are internationally standardized JPEG and JPEG2000. However, if the image is compressed at a high compression rate, there is a problem that it becomes impossible to return to the original image at the time of display and it becomes difficult to read the characters.

従来、画像圧縮システムとして、例えば、特許文献1,特許文献2,特許文献3,特許文献4,特許文献5,特許文献6に示されているようなものが知られている。   Conventionally, as an image compression system, what is shown by patent document 1, patent document 2, patent document 3, patent document 4, patent document 5, patent document 6, for example is known.

特許文献1,特許文献2に示されている方法では、圧縮率を決めるのに統計的な手法を用いているために統計的性質を得る必要があり、圧縮方式や変換パラメータ等を変更するたびに、再度多人数で画質の評価を行い主観評価を行い画質の良し悪しを判断し、統計情報を学習しなければならない。   In the methods shown in Patent Literature 1 and Patent Literature 2, since a statistical method is used to determine the compression rate, it is necessary to obtain statistical properties. Every time the compression method, the conversion parameter, or the like is changed, In addition, it is necessary to evaluate the image quality by a large number of people again, perform subjective evaluation, judge whether the image quality is good or bad, and learn statistical information.

また、特許文献3の方法では、圧縮率を決定する前に原画像と圧縮画像の差分値を検出して機械的に画質を評価しなければならない上に、ニューラルネットを用いた複雑な学習を行わなけれならない。   In the method of Patent Document 3, the difference between the original image and the compressed image must be detected and the image quality must be mechanically evaluated before determining the compression rate, and complex learning using a neural network is performed. Must be done.

また、特許文献4,特許文献5,特許文献6の方法では、元の1つの画像を文字部分や図形部分などに分けてしまったり、カラー部分をモノクロにしてデータ量を下げてしまうので、元の画像とは違う画像になってしまう。
特開平03−053782号公報 特開平03−239069号公報 特開平07−184062号公報 特開平05−159062号公報 特開平06−020089号公報 特開平11−312227号公報
In the methods of Patent Document 4, Patent Document 5, and Patent Document 6, the original one image is divided into character portions and graphic portions, or the color portion is changed to monochrome to reduce the data amount. It becomes an image different from the image of.
Japanese Patent Laid-Open No. 03-057882 Japanese Patent Laid-Open No. 03-239069 JP 07-184062 A Japanese Patent Laid-Open No. 05-159062 Japanese Patent Laid-Open No. 06-020089 Japanese Patent Laid-Open No. 11-312227

換言すれば、上述した従来の画像圧縮システムの第1の問題点は、適切な圧縮率を決定するには画像に対して複数の圧縮率で圧縮した結果データを表示し、利用者が目で見て比較して主観的に評価して選択しなければならないということである。その理由は、利用者が前もって画像データ毎に適切な圧縮率を指定する事ができないためである。   In other words, the first problem of the above-described conventional image compression system is that in order to determine an appropriate compression ratio, the result data obtained by compressing the image at a plurality of compression ratios is displayed, and the user can visually It means that you have to make a subjective evaluation and make a selection. This is because the user cannot specify an appropriate compression rate for each image data in advance.

また、第2の問題点は、複数の画像を一括で圧縮する場合、利用者が前もって1つ1つの画像に対して個別に適切な圧縮率を指定することが困難であるということである。その理由は、複数の画像を一括で圧縮する場合、複数の画像に対して前もって指定された1つの圧縮率で圧縮されてしまうためである。   The second problem is that when a plurality of images are compressed at once, it is difficult for the user to specify an appropriate compression rate individually for each image in advance. The reason is that when a plurality of images are compressed in a batch, the images are compressed at a single compression rate designated in advance.

また、第3の問題点は、適切な画像の圧縮率を求めるために複雑な学習を行わなければならないということである。その理由は、圧縮率を計算するために元となる情報として統計情報を必要とするためである。   A third problem is that complicated learning must be performed in order to obtain an appropriate image compression rate. The reason is that statistical information is required as the original information for calculating the compression rate.

また、第4の問題点は、元の画像と違う画像が出力されてしまうということである。その理由は、1つの元画像を文字部分や図形部分といった複数のデータに分割したり、分割した文字部分や図形部分の画像データを異なるデータフォーマットとして圧縮するためである。   The fourth problem is that an image different from the original image is output. The reason is that one original image is divided into a plurality of data such as a character portion and a graphic portion, and image data of the divided character portion and graphic portion is compressed as different data formats.

本発明の目的は、入力画像に対する圧縮率を自動的に調整して圧縮結果である出力画像のデータサイズを適切にすることの可能な画像圧縮システムを提供することにある。   An object of the present invention is to provide an image compression system capable of automatically adjusting a compression rate for an input image and appropriately adjusting a data size of an output image as a compression result.

本発明の他の目的は、複数の入力画像に対する圧縮率を1つ1つの画像ごとに個別に自動的に調整して圧縮結果である出力画像のデータサイズを適切にすることの可能な画像圧縮システムを提供することにある。   Another object of the present invention is an image compression which can automatically adjust the compression rate for a plurality of input images individually for each image to make the data size of an output image as a compression result appropriate. To provide a system.

本発明のさらに他の目的は、複雑な学習を行わずに適切な画像の圧縮率を求めることの可能な画像圧縮システムを提供することにある。   Still another object of the present invention is to provide an image compression system capable of obtaining an appropriate image compression rate without performing complicated learning.

本発明のさらに他の目的は、元の画像を分割したり、分割された画像を異なるフォーマットで出力せずに1つの画像としてそのまま圧縮して出力することの可能な画像圧縮システムを提供することにある。   Still another object of the present invention is to provide an image compression system capable of dividing an original image or compressing and outputting a divided image as it is without outputting it in a different format. It is in.

上記目的を達成するために、本発明は、プログラム制御により動作する画像操作装置と、プログラム制御により動作する画像圧縮装置と、利用者が対象画像ファイルの入力元と圧縮画像ファイルの出力先を指定して画像圧縮処理を操作する画像圧縮操作装置とを備え、前記画像圧縮装置は、画像操作装置から入力された圧縮対象画像毎に、個別に、基準圧縮率データと評価回数データを用いて圧縮した圧縮画像を文字認識し、基準相違率データと基準画像文字認識結果データと圧縮画像文字認識結果データを用いて自動的に適切な圧縮率を決定し、圧縮した圧縮結果画像を出力することを特徴とする画像圧縮システムである。   In order to achieve the above object, the present invention provides an image manipulation device that operates under program control, an image compression device that operates according to program control, and a user specifies an input source of a target image file and an output destination of a compressed image file. And an image compression operation device that operates the image compression processing, and the image compression device compresses each compression target image input from the image operation device individually using the reference compression rate data and the evaluation count data. Character recognition of the compressed image, and automatically determining an appropriate compression rate using the reference difference rate data, the reference image character recognition result data, and the compressed image character recognition result data, and outputting the compressed compression result image This is an image compression system.

また、本発明は、請求項1記載の画像圧縮システムにおいて、前記画像圧縮装置は、基準画像文字認識結果データと圧縮画像文字認識結果データとを比較した相違率データを用いて自動的に適切な圧縮率を決定することを特徴とする画像圧縮システムである。   According to the present invention, in the image compression system according to claim 1, the image compression apparatus automatically and appropriately uses the difference rate data obtained by comparing the reference image character recognition result data and the compressed image character recognition result data. An image compression system characterized by determining a compression rate.

また、本発明は、プログラム制御により動作する画像操作装置と、プログラム制御により動作する画像圧縮装置と、利用者が対象画像ファイルの入力元と圧縮画像ファイルの出力先を指定して画像圧縮処理を操作する画像圧縮操作装置とを備え、画像操作装置が画像圧縮操作装置で利用者が指定した対象画像ファイルの入力元の全ての対象画像ファイルを入力し、全ての対象画像ファイルに対して1つ1つ個別に画像圧縮装置で自動的に適切な圧縮率で圧縮し、圧縮した結果の画像を画像操作装置が圧縮画像ファイルとして出力することを特徴とする画像圧縮システムである。   The present invention also provides an image manipulation device that operates under program control, an image compression device that operates under program control, and a user specifies an input source of a target image file and an output destination of a compressed image file to perform image compression processing. An image compression operation device to be operated, and the image operation device inputs all target image files that are input sources of target image files designated by the user at the image compression operation device, and one for all target image files. An image compression system in which an image compression apparatus automatically compresses images one by one at an appropriate compression rate, and an image manipulation apparatus outputs a compressed image as a compressed image file.

また、本発明は、プログラム制御により動作する画像操作装置と、プログラム制御により動作する画像圧縮装置と、利用者が対象画像ファイルの入力元と圧縮画像ファイルの出力先を指定して画像圧縮処理を操作する画像圧縮操作装置とを備え、画像圧縮装置は、指定された圧縮率で圧縮対象画像をそのまま圧縮することを特徴とする画像圧縮システムである。   The present invention also provides an image manipulation device that operates under program control, an image compression device that operates under program control, and a user specifies an input source of a target image file and an output destination of a compressed image file to perform image compression processing. The image compression system includes an image compression operation device to be operated, and the image compression device compresses a compression target image as it is at a designated compression rate.

また、本発明は、圧縮対象画像毎に、個別に、基準圧縮率データと評価回数データを用いて圧縮した圧縮画像を文字認識し、基準相違率データと基準画像文字認識結果データと圧縮画像文字認識結果データを用いて自動的に適切な圧縮率を決定し、圧縮した圧縮結果画像を出力することを特徴とする画像圧縮方法である。   In addition, the present invention individually recognizes a compressed image compressed using the reference compression rate data and the evaluation count data for each compression target image, and generates reference difference rate data, reference image character recognition result data, and compressed image character. An image compression method characterized by automatically determining an appropriate compression ratio using recognition result data and outputting a compressed compression result image.

また、本発明は、請求項5記載の画像圧縮方法において、基準画像文字認識結果データと圧縮画像文字認識結果データとを比較した相違率データを用いて自動的に適切な圧縮率を決定することを特徴とする画像圧縮方法である。   According to the present invention, in the image compression method according to claim 5, an appropriate compression rate is automatically determined using difference rate data obtained by comparing the reference image character recognition result data and the compressed image character recognition result data. An image compression method characterized by the above.

また、本発明は、利用者が指定した対象画像ファイルの入力元の全ての対象画像ファイルを入力し、全ての対象画像ファイルに対して1つ1つ個別に適切な圧縮率で圧縮し、圧縮した結果の画像を圧縮画像ファイルとして出力することを特徴とする画像圧縮方法である。   Further, the present invention inputs all target image files that are input sources of target image files designated by the user, compresses all target image files one by one at an appropriate compression rate, and compresses them. The resulting image is output as a compressed image file.

また、本発明は、請求項5乃至請求項7のいずれか一項に記載の画像圧縮方法をコンピュータに行わせるための画像圧縮用プログラムである。   The present invention is also an image compression program for causing a computer to perform the image compression method according to any one of claims 5 to 7.

また、本発明は、請求項8記載の画像圧縮用プログラムを記録したコンピュータ読み取り可能な記録媒体である。   The present invention is also a computer-readable recording medium on which the image compression program according to claim 8 is recorded.

本発明によれば、入力画像に対する圧縮率を自動的に調整して圧縮結果である出力画像のデータサイズを適切にできることにある。   According to the present invention, it is possible to automatically adjust the compression rate for an input image and to appropriately set the data size of an output image as a compression result.

その理由は、本発明では、圧縮対象画像毎に、個別に、基準圧縮率データと評価回数データを用いて圧縮した圧縮画像を文字認識し、基準相違率データと基準画像文字認識結果データと圧縮画像文字認識結果データを用いて自動的に適切な圧縮率を決定し、圧縮した圧縮結果画像を出力するためである。   The reason for this is that in the present invention, for each image to be compressed, the compressed image compressed using the reference compression rate data and the evaluation count data is character-recognized, and the reference dissimilarity rate data, the reference image character recognition result data, and the compression are compressed. This is because an appropriate compression rate is automatically determined using the image character recognition result data and a compressed compression result image is output.

本発明によれば、複雑な学習を行わずに適切な画像の圧縮率を求められることにある。   According to the present invention, an appropriate image compression rate can be obtained without performing complicated learning.

その理由は、本発明では、基準画像文字認識結果データと圧縮画像文字認識結果データとを比較した相違率データを用いて自動的に適切な圧縮率を決めているためである。   The reason is that in the present invention, an appropriate compression rate is automatically determined using difference rate data obtained by comparing the reference image character recognition result data and the compressed image character recognition result data.

さらに、本発明によれば、複数の入力画像に対する圧縮率を1つ1つの画像個別に自動的に調整して圧縮結果である出力画像のデータサイズを適切にできることにある。   Furthermore, according to the present invention, it is possible to automatically adjust the compression rate for a plurality of input images individually for each image and to appropriately set the data size of an output image as a compression result.

その理由は、本発明では、利用者が指定した対象画像ファイルの入力元の全ての対象画像ファイルを入力し、全ての対象画像ファイルに対して1つ1つ個別に適切な圧縮率で圧縮し、圧縮した結果の画像を圧縮画像ファイルとして出力するためである。   The reason is that in the present invention, all target image files that are input sources of target image files specified by the user are input, and all target image files are individually compressed at an appropriate compression rate. This is because the compressed image is output as a compressed image file.

本発明によれば、元の画像を分割したり、分割された画像を異なるフォーマットで出力せずに、1つの画像としてそのまま圧縮して出力できることにある。   According to the present invention, it is possible to compress and output an original image as it is without dividing the original image or outputting the divided image in a different format.

その理由は、本発明では、画像圧縮装置の画像圧縮手段が指定された圧縮率で圧縮対象画像をそのまま圧縮するためである。   The reason is that in the present invention, the image compression means of the image compression apparatus compresses the compression target image as it is at a designated compression rate.

以下、本発明を実施するための最良の形態を図面に基づいて説明する。   Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings.

図1は本発明の画像圧縮システムの構成例を示す図である。図1の画像圧縮システムは、画像操作装置101と、画像圧縮装置102と、画像圧縮操作装置103とから構成されている。   FIG. 1 is a diagram showing a configuration example of an image compression system of the present invention. The image compression system of FIG. 1 includes an image operation device 101, an image compression device 102, and an image compression operation device 103.

ここで、画像操作装置101は、画像操作手段106と、画像入力手段107と、画像出力手段108とを有している。   Here, the image operation device 101 includes an image operation unit 106, an image input unit 107, and an image output unit 108.

また、画像圧縮装置102は、画像圧縮管理手段111と、画像圧縮手段112と、文字認識手段113と、文字認識結果比較手段114とを有している。   The image compression apparatus 102 includes an image compression management unit 111, an image compression unit 112, a character recognition unit 113, and a character recognition result comparison unit 114.

これらの各手段の機能はそれぞれ次のとおりである。   The functions of these means are as follows.

すなわち、画像操作手段106は、画像圧縮操作装置103により利用者が指定した対象画像ファイル104の入力元の全ての対象画像ファイル104を入力する処理の操作と、全ての対象画像ファイル104に対して画像圧縮装置102による画像圧縮処理を繰り返す処理の操作と、画像圧縮装置102により圧縮された全ての圧縮画像ファイル105を画像圧縮操作装置103により利用者が指定した圧縮画像ファイル105の出力先に出力する処理の操作をする機能を有している。   That is, the image operation unit 106 performs an operation of inputting all target image files 104 that are input sources of the target image file 104 specified by the user by the image compression operation device 103, and all target image files 104. The operation of repeating the image compression processing by the image compression apparatus 102 and all the compressed image files 105 compressed by the image compression apparatus 102 are output by the image compression operation apparatus 103 to the output destination of the compressed image file 105 designated by the user. It has a function to operate the processing.

また、画像入力手段107は、画像圧縮操作装置103により利用者が指定した対象画像ファイル104の入力元の対象画像ファイル104を入力し、圧縮対象画像109として画像圧縮装置102に出力する機能を有している。   The image input unit 107 has a function of inputting the target image file 104 as the input source of the target image file 104 designated by the user using the image compression operation device 103 and outputting the target image file 104 to the image compression device 102 as the compression target image 109. is doing.

また、画像出力手段108は、画像圧縮装置102から圧縮結果画像110を入力し、画像圧縮操作装置103により利用者が指定した出力先に圧縮画像ファイル105を出力する機能を有している。   The image output unit 108 has a function of inputting the compression result image 110 from the image compression apparatus 102 and outputting the compressed image file 105 to an output destination designated by the user using the image compression operation apparatus 103.

また、画像圧縮手段112は、画像操作装置101から入力された圧縮対象画像109を指定された圧縮率で圧縮して基準圧縮画像118または圧縮画像119を出力する機能を有している。   The image compression unit 112 has a function of compressing the compression target image 109 input from the image operation apparatus 101 at a designated compression rate and outputting the reference compressed image 118 or the compressed image 119.

また、文字認識手段113は、画像圧縮手段112が圧縮した画像を入力として文字認識した基準画像文字認識結果データ120または圧縮画像文字認識結果データ121を出力する機能を有している。   Further, the character recognition unit 113 has a function of outputting the reference image character recognition result data 120 or the compressed image character recognition result data 121 obtained by character recognition using the image compressed by the image compression unit 112 as an input.

また、文字認識結果比較手段114は、文字認識手段113で認識した基準画像文字認識結果データ120と圧縮画像文字認識結果データ121を比較して相違率データ122を出力する機能を有している。   The character recognition result comparison unit 114 has a function of comparing the reference image character recognition result data 120 recognized by the character recognition unit 113 and the compressed image character recognition result data 121 and outputting the difference rate data 122.

また、画像圧縮管理手段111は、前もって利用者が用意した基準圧縮率データ115と基準相違率データ116と評価回数データ117とを入力し、画像操作装置101から圧縮対象画像109を入力し、基準圧縮率データ115を使って圧縮対象画像109を画像圧縮手段112で圧縮して基準圧縮画像118を出力し、基準圧縮画像118を文字認識手段113で文字認識して基準画像文字認識結果データ120を出力し、また、基準圧縮率データ115と評価回数データ117を使って最初の比較用の圧縮率を決定し、圧縮対象画像109を比較用の圧縮率を用いて画像圧縮手段112で圧縮して圧縮画像119を出力し、圧縮画像119を文字認識手段113で文字認識して圧縮画像文字認識結果データ121を出力し、基準画像文字認識結果データ120と圧縮画像文字認識結果データ121を文字認識結果比較手段114で比較して相違率データ122を出力し、基準相違率データ116と相違率データ122と評価回数データ117を使って次の比較用の圧縮率を決定し、評価回数データ117を使って画像圧縮を繰り返し実行して最終的な最適な画像圧縮率を決定し、圧縮結果画像110を前記画像操作装置101に出力する機能を有している。   Further, the image compression management unit 111 inputs the reference compression rate data 115, the reference difference rate data 116, and the evaluation frequency data 117 prepared by the user in advance, inputs the compression target image 109 from the image operating device 101, and the reference The compression target image 109 is compressed by the image compression means 112 using the compression rate data 115 and the reference compressed image 118 is output, and the reference compressed image 118 is recognized by the character recognition means 113 and the reference image character recognition result data 120 is obtained. The first compression ratio for comparison is determined using the reference compression ratio data 115 and the evaluation count data 117, and the compression target image 109 is compressed by the image compression means 112 using the comparison compression ratio. The compressed image 119 is output, the compressed image 119 is recognized by the character recognition unit 113, and the compressed image character recognition result data 121 is output. The character recognition result data 120 and the compressed image character recognition result data 121 are compared by the character recognition result comparison unit 114 to output the difference rate data 122, and the reference difference rate data 116, the difference rate data 122, and the evaluation count data 117 are used. The next comparison compression rate is determined, and image compression is repeatedly executed using the evaluation count data 117 to determine the final optimum image compression rate, and the compression result image 110 is output to the image manipulation device 101. It has a function.

換言すれば、本発明は、プログラム制御により動作する画像操作装置と、プログラム制御により動作する画像圧縮装置と、利用者が対象画像ファイルの入力元と圧縮画像ファイルの出力先を指定して画像圧縮処理を操作する画像圧縮操作装置とを備え、前記画像圧縮装置は、画像操作装置から入力された圧縮対象画像毎に、個別に、基準圧縮率データと評価回数データを用いて圧縮した圧縮画像を文字認識し、基準相違率データと基準画像文字認識結果データと圧縮画像文字認識結果データを用いて自動的に適切な圧縮率を決定し、圧縮した圧縮結果画像を出力することを特徴としている。   In other words, the present invention relates to an image manipulation device that operates under program control, an image compression device that operates according to program control, and a user specifies an input source of a target image file and an output destination of a compressed image file to compress the image. An image compression operation device for operating processing, and the image compression device individually compresses a compressed image compressed using the reference compression rate data and the evaluation count data for each compression target image input from the image operation device. Character recognition is performed, an appropriate compression rate is automatically determined using reference difference rate data, reference image character recognition result data, and compressed image character recognition result data, and a compressed compression result image is output.

また、本発明は、上記画像圧縮システムにおいて、前記画像圧縮装置は、基準画像文字認識結果データと圧縮画像文字認識結果データとを比較した相違率データを用いて自動的に適切な圧縮率を決定することを特徴としている。   According to the present invention, in the image compression system, the image compression device automatically determines an appropriate compression ratio using difference rate data obtained by comparing the reference image character recognition result data and the compressed image character recognition result data. It is characterized by doing.

また、本発明は、プログラム制御により動作する画像操作装置と、プログラム制御により動作する画像圧縮装置と、利用者が対象画像ファイルの入力元と圧縮画像ファイルの出力先を指定して画像圧縮処理を操作する画像圧縮操作装置とを備え、画像操作装置が画像圧縮操作装置で利用者が指定した対象画像ファイルの入力元の全ての対象画像ファイルを入力し、全ての対象画像ファイルに対して1つ1つ個別に画像圧縮装置で自動的に適切な圧縮率で圧縮し、圧縮した結果の画像を画像操作装置が圧縮画像ファイルとして出力することを特徴としている。   The present invention also provides an image manipulation device that operates under program control, an image compression device that operates under program control, and a user specifies an input source of a target image file and an output destination of a compressed image file to perform image compression processing. An image compression operation device to be operated, and the image operation device inputs all target image files that are input sources of target image files designated by the user at the image compression operation device, and one for all target image files. Each image compression apparatus automatically compresses each image at an appropriate compression rate, and the image operation apparatus outputs a compressed image as a compressed image file.

また、本発明は、プログラム制御により動作する画像操作装置と、プログラム制御により動作する画像圧縮装置と、利用者が対象画像ファイルの入力元と圧縮画像ファイルの出力先を指定して画像圧縮処理を操作する画像圧縮操作装置とを備え、画像圧縮装置は、指定された圧縮率で圧縮対象画像をそのまま圧縮することを特徴としている。   The present invention also provides an image manipulation device that operates under program control, an image compression device that operates under program control, and a user specifies an input source of a target image file and an output destination of a compressed image file to perform image compression processing. An image compression operation device to be operated, and the image compression device compresses the compression target image as it is at a designated compression rate.

より詳細に、本発明は、画像圧縮操作装置103により利用者が指定した対象画像ファイルの入力元の全ての対象画像ファイル104を入力する処理の操作と、全ての対象画像ファイル104に対して画像圧縮装置102による画像圧縮処理を繰り返す処理の操作と、画像圧縮装置102により圧縮された全ての圧縮画像ファイル105を画像圧縮装置102により利用者が指定した圧縮画像ファイルの出力先に出力する処理の操作をする画像操作手段106と、画像操作装置101により利用者が指定した対象画像ファイルの入力元の対象画像ファイル104を入力し、圧縮対象画像109として画像圧縮装置102に出力する画像入力手段107と、画像圧縮装置102から圧縮結果画像110を入力し、画像操作装置101により利用者が指定した出力先に圧縮画像ファイル105を出力する画像出力手段108と、画像操作装置101から入力した圧縮対象画像109を指定された圧縮率で圧縮して圧縮画像を出力する画像圧縮手段112と、画像圧縮手段112が圧縮した画像を入力として文字認識した文字認識結果データを出力する文字認識手段113と、文字認識手段113で認識した2つの文字認識結果データを比較して相違率データ122を出力する文字認識結果比較手段114と、前もって利用者が用意した基準圧縮率データ115と基準相違率データ116と評価回数データ117を入力し、画像操作装置101から圧縮対象画像109を入力し、基準圧縮率データ115を使って圧縮対象画像109を画像圧縮手段112で圧縮して基準圧縮画像118を出力し、該基準圧縮画像118を文字認識手段113で文字認識して基準画像文字認識結果データ120を出力し、基準圧縮率データ115と評価回数データ117を使って最初の比較用の圧縮率を決定し、圧縮対象画像109を比較用の圧縮率を用いて画像圧縮手段112で圧縮して圧縮画像119を出力し、該圧縮画像119を文字認識手段113で文字認識して圧縮画像文字認識結果データ121を出力し、基準画像文字認識結果データ120と圧縮画像文字認識結果データ121を文字認識結果比較手段114で比較して相違率データ122を出力し、基準相違率データ115と相違率データ122と評価回数データ117を使って次の比較用の圧縮率を決定し、評価回数データ117を使って画像圧縮を繰り返し実行して最終的な最適な画像圧縮率を決定し、圧縮結果画像110を画像操作装置101に出力する画像圧縮管理手段111とを有している。   More specifically, the present invention relates to a processing operation for inputting all target image files 104 that are input sources of target image files designated by the user using the image compression operation device 103, and images for all target image files 104. The operation of repeating the image compression processing by the compression device 102 and the processing of outputting all the compressed image files 105 compressed by the image compression device 102 to the output destination of the compressed image file designated by the user by the image compression device 102 An image operation unit 106 that performs an operation and an input source image file 104 that is an input source of the target image file specified by the user using the image operation device 101 are input, and an image input unit 107 that outputs the compressed image 109 to the image compression device 102. The compression result image 110 is input from the image compression device 102 and used by the image manipulation device 101. An image output unit 108 that outputs the compressed image file 105 to the output destination specified by the image compression unit 112, and an image compression unit 112 that compresses the compression target image 109 input from the image operation apparatus 101 at a specified compression rate and outputs a compressed image. The character recognition unit 113 that outputs character recognition result data that has been recognized using the image compressed by the image compression unit 112 as input, and the two character recognition result data recognized by the character recognition unit 113 are compared, and the difference rate data 122 is obtained. The character recognition result comparison means 114 to be output, the reference compression rate data 115, the reference dissimilarity rate data 116 and the evaluation frequency data 117 prepared by the user in advance are input, the compression target image 109 is input from the image operating device 101, and the reference The compression target image 109 is compressed by the image compression means 112 using the compression rate data 115 and the reference compressed image 118 is converted. The character recognition means 113 recognizes the character of the reference compressed image 118 and outputs reference image character recognition result data 120. The reference compression rate data 115 and the evaluation count data 117 are used to determine the compression rate for the first comparison. The compressed image 119 is compressed by the image compression unit 112 using the compression ratio for comparison, and the compressed image 119 is output. The character recognition unit 113 recognizes characters and the compressed image character recognition result is determined. The data 121 is output, the reference image character recognition result data 120 and the compressed image character recognition result data 121 are compared by the character recognition result comparison unit 114, and the difference rate data 122 is output. The reference difference rate data 115 and the difference rate data 122 are output. And the evaluation frequency data 117 are used to determine the compression ratio for the next comparison, and the evaluation frequency data 117 is used to repeatedly perform image compression to obtain the final compression rate. An image compression management unit 111 that determines an appropriate image compression rate and outputs the compression result image 110 to the image operation apparatus 101 is provided.

ここで、圧縮対象画像109を基準圧縮率で圧縮した基準圧縮画像119を文字認識手段113で文字認識した文字認識結果データの代わりに、対象画像ファイル104の元データから抽出した電子化された文字データを基準画像文字認識データとして入力して利用する文字認識結果比較手段114を用いることもできる。   Here, the digitized characters extracted from the original data of the target image file 104 instead of the character recognition result data obtained by character recognition of the reference compressed image 119 obtained by compressing the compression target image 109 at the reference compression rate by the character recognition unit 113. It is also possible to use character recognition result comparison means 114 that inputs and uses data as reference image character recognition data.

また、評価回数データ117の代わりに、一定の割合の圧縮率で画像圧縮手段112で圧縮して複数の圧縮画像を出力し、該複数の圧縮画像を文字認識手段113で文字認識して複数の圧縮画像文字認識結果データを出力し、基準画像文字認識結果データと文字認識結果比較手段114で出力した相違率データ122と前記基準相違率の比較を前記複数の圧縮画像に対して繰り返し行い、前記基準相違率に近い最適な画像圧縮率を決定する画像圧縮管理手段111を用いることもできる。   Further, instead of the evaluation count data 117, the image compression means 112 outputs a plurality of compressed images at a constant compression rate, and the plurality of compressed images are recognized by the character recognition means 113 and a plurality of compressed images are output. The compressed image character recognition result data is output, the reference image character recognition result data and the difference rate data 122 output by the character recognition result comparison unit 114 and the reference difference rate are repeatedly compared for the plurality of compressed images, An image compression management unit 111 that determines an optimal image compression rate close to the reference difference rate can also be used.

次に、図2,図3の流れ図を参照して、図1の画像圧縮システムの動作について詳細に説明する。   Next, the operation of the image compression system of FIG. 1 will be described in detail with reference to the flowcharts of FIGS.

まず、図2を参照すると、画像操作装置101の動作は、次のようになる。   First, referring to FIG. 2, the operation of the image operation apparatus 101 is as follows.

すなわち、利用者が、画像圧縮操作装置103で対象画像ファイル104の入力元を指定する(図2のステップA01)。また、利用者が、画像圧縮操作装置103で圧縮画像ファイル105の出力先を指定する(図2のステップA02)。   That is, the user designates the input source of the target image file 104 using the image compression operation device 103 (step A01 in FIG. 2). Further, the user designates the output destination of the compressed image file 105 using the image compression operation device 103 (step A02 in FIG. 2).

画像操作装置101の画像操作手段106が、画像入力手段107で対象画像ファイル104を入力する(図2のステップA03)。画像操作装置101が圧縮対象画像109を画像圧縮装置102に送る(図2のステップA04)。画像圧縮装置102が圧縮対象画像109を圧縮する(図2のステップA05)。画像圧縮装置102が圧縮結果画像110を画像操作装置101に送る(図2のステップA06)。画像操作装置101の画像操作手段106が、画像出力手段108で圧縮画像ファイル105を出力する(図2のステップA07)。   The image operation means 106 of the image operation apparatus 101 inputs the target image file 104 with the image input means 107 (step A03 in FIG. 2). The image operation apparatus 101 sends the compression target image 109 to the image compression apparatus 102 (step A04 in FIG. 2). The image compression apparatus 102 compresses the compression target image 109 (step A05 in FIG. 2). The image compression apparatus 102 sends the compression result image 110 to the image operation apparatus 101 (step A06 in FIG. 2). The image operation means 106 of the image operation apparatus 101 outputs the compressed image file 105 by the image output means 108 (step A07 in FIG. 2).

全ての対象画像ファイル104の圧縮結果である圧縮画像ファイル105の出力が完了したら、処理を終了する(図2のステップA08)。   When the output of the compressed image file 105, which is the compression result of all the target image files 104, is completed, the process ends (step A08 in FIG. 2).

次に、図3を参照すると、画像圧縮装置102の動作は、次のようになる。   Next, referring to FIG. 3, the operation of the image compression apparatus 102 is as follows.

すなわち、圧縮対象画像109を画像圧縮手段112で基準圧縮率データ115の圧縮率で圧縮し、文字認識手段113で文字認識する(図3のステップB01)。画像圧縮管理手段111が最初の比較用の圧縮率を決定し、画像圧縮手段112で圧縮対象画像109を圧縮する(図3のステップB02)。比較用の圧縮画像119を文字認識手段113で文字認識し、基準圧縮画像118の文字認識結果と文字認識結果比較手段104で比較して相違率データ112を出力する(図3のステップB03)。   That is, the compression target image 109 is compressed by the image compression unit 112 at the compression rate of the reference compression rate data 115, and the character recognition unit 113 recognizes characters (step B01 in FIG. 3). The image compression management unit 111 determines the first comparison compression rate, and the image compression unit 112 compresses the compression target image 109 (step B02 in FIG. 3). The comparison compressed image 119 is recognized by the character recognition unit 113, and the character recognition result of the reference compressed image 118 is compared with the character recognition result comparison unit 104 to output the difference rate data 112 (step B03 in FIG. 3).

評価回数データ117の回数分の評価が完了していれば、繰り返し処理を終えて最終ステップB08に進み、完了していなければ、次の繰り返し処理のステップB05に進む(図3のステップB04)。   If the evaluations for the number of evaluation times data 117 have been completed, the iterative process is completed and the process proceeds to the final step B08. If not completed, the process proceeds to the next iterative process step B05 (step B04 in FIG. 3).

相違率データ122が基準相違率データ116より低いかどうか比較する(図3のステップB05)。相違率データ122が基準相違率データ116より低い場合、前の圧縮率より高い比較用の圧縮率を決定し、圧縮対象画像109を画像圧縮する(図3のステップB06)。相違率データ122が基準相違率データ116より高い場合、前の圧縮率より低い比較用の圧縮率を決定し、圧縮対象画像109を画像圧縮する(図3のステップB07)。   It is compared whether or not the difference rate data 122 is lower than the reference difference rate data 116 (step B05 in FIG. 3). When the difference rate data 122 is lower than the reference difference rate data 116, a comparison compression rate higher than the previous compression rate is determined, and the compression target image 109 is compressed (step B06 in FIG. 3). When the difference rate data 122 is higher than the reference difference rate data 116, a comparison compression rate lower than the previous compression rate is determined, and the compression target image 109 is compressed (step B07 in FIG. 3).

基準圧縮画像118と最終圧縮画像119の文字認識結果の比較結果から圧縮結果画像110を決定し、出力する(図3のステップB08)。   The compression result image 110 is determined from the comparison result of the character recognition results of the reference compressed image 118 and the final compressed image 119, and is output (step B08 in FIG. 3).

図1の画像圧縮システムは、次のような効果を有する。   The image compression system of FIG. 1 has the following effects.

すなわち、図1の画像圧縮システムでは、画像圧縮装置102に入力された圧縮対象画像109毎に、個別に、基準圧縮率データ115と評価回数データ117を用いて圧縮した圧縮画像119を文字認識し、基準相違率データ116と基準画像文字認識結果データ120と圧縮画像文字認識結果データ121を用いて自動的に適切な圧縮率を決定し、圧縮した圧縮結果画像110を出力するため、入力画像に対する圧縮率を自動的に調整して圧縮結果である出力画像のデータサイズを適切にできる。   In other words, in the image compression system of FIG. 1, for each compression target image 109 input to the image compression apparatus 102, the compressed image 119 compressed using the reference compression rate data 115 and the evaluation count data 117 is recognized. In order to automatically determine an appropriate compression ratio using the reference difference rate data 116, the reference image character recognition result data 120, and the compressed image character recognition result data 121 and output the compressed compression result image 110, By automatically adjusting the compression rate, the data size of the output image that is the compression result can be made appropriate.

また、図1の画像圧縮システムでは、さらに、画像操作装置101が画像圧縮操作装置103で利用者が指定した対象画像ファイル104の入力元の全ての対象画像ファイル104を入力し、全ての対象画像ファイル104に対して1つ1つ個別に画像圧縮装置102で自動的に適切な圧縮率で圧縮し、圧縮した結果の画像を画像操作装置101が圧縮画像ファイル105として出力するため、複数の入力画像に対する圧縮率を1つ1つの画像個別に自動的に調整して圧縮結果である出力画像のデータサイズを適切にできる。   Further, in the image compression system of FIG. 1, the image operation device 101 further inputs all the target image files 104 that are input sources of the target image file 104 designated by the user using the image compression operation device 103, and all the target images. Each of the files 104 is compressed individually by the image compression apparatus 102 at an appropriate compression rate, and the image operation apparatus 101 outputs the compressed image as a compressed image file 105. The compression rate for the image can be automatically adjusted for each image individually, and the data size of the output image as the compression result can be made appropriate.

また、図1の画像圧縮システムでは、さらに、画像圧縮装置102の画像圧縮手段112で圧縮した圧縮画像119を文字認識手段113で文字認識し、文字認識結果比較手段114で基準画像文字認識結果データ120と圧縮画像文字認識結果データ121を比較した相違率データ122を用いて自動的に適切な圧縮率を決めているため、複雑な学習を行わずに適切な画像の圧縮率を求められる。   Further, in the image compression system of FIG. 1, the compressed image 119 compressed by the image compression unit 112 of the image compression apparatus 102 is character-recognized by the character recognition unit 113, and the reference image character recognition result data is detected by the character recognition result comparison unit 114. Since the appropriate compression rate is automatically determined using the difference rate data 122 obtained by comparing 120 and the compressed image character recognition result data 121, an appropriate image compression rate can be obtained without performing complicated learning.

また、図1の画像圧縮システムでは、さらに、画像圧縮装置102の画像圧縮手段112が指定された圧縮率で圧縮対象画像109をそのまま圧縮するため、元の画像を分割したり、分割された画像を異なるフォーマットで出力せずに1つの画像としてそのまま圧縮して出力できる。   Further, in the image compression system of FIG. 1, the image compression unit 112 of the image compression apparatus 102 compresses the compression target image 109 as it is at the specified compression rate, so that the original image is divided or the divided image is divided. Can be compressed and output as a single image without being output in different formats.

次に、本発明をより具体的に説明する。   Next, the present invention will be described more specifically.

まず、画像圧縮を行なうための前処理の動作について説明する。   First, the preprocessing operation for image compression will be described.

前もって利用者が、画像圧縮操作装置103で基準圧縮率データ115と基準相違率データ116と評価回数データ117を画像操作装置101に入力する。   The user inputs the reference compression rate data 115, the reference difference rate data 116, and the evaluation count data 117 to the image operation device 101 in advance using the image compression operation device 103.

次に、画像操作装置101が、基準圧縮率データ115と基準相違率データ116と評価回数データ117を画像圧縮装置102に出力する。   Next, the image operation device 101 outputs the reference compression rate data 115, the reference difference rate data 116, and the evaluation count data 117 to the image compression device 102.

いまの例では、基準圧縮率データ115として10%、基準相違率データ116として5%、評価回数データ117として3回を入力したとする。   In this example, it is assumed that 10% is input as the reference compression rate data 115, 5% is input as the reference difference rate data 116, and 3 times are input as the evaluation count data 117.

次に、画像圧縮を行なうためのファイルの入出力及び画像圧縮の操作処理の動作について説明する。   Next, operations of file input / output and image compression operation processing for image compression will be described.

まず、利用者が、画像圧縮操作装置103で対象画像ファイル104の入力元を指定する(図2のステップA01)。   First, the user designates the input source of the target image file 104 using the image compression operation device 103 (step A01 in FIG. 2).

いまの例では、対象画像ファイル104の入力元に対象ファイル104として図6の画像Aと図7の画像Bの2つが存在するとする。   In the present example, it is assumed that there are two images A and B in FIG. 6 as the target file 104 at the input source of the target image file 104.

次に、利用者が、画像圧縮操作装置103で圧縮画像ファイル105の出力先を指定する(図2のステップA02)。   Next, the user designates the output destination of the compressed image file 105 using the image compression operation device 103 (step A02 in FIG. 2).

次に、画像操作装置101の画像操作手段106が、画像入力手段107で最初の対象画像ファイル104である画像Aを入力する(図2のステップA03)。   Next, the image operation means 106 of the image operation apparatus 101 inputs the image A that is the first target image file 104 by the image input means 107 (step A03 in FIG. 2).

次に、画像操作装置101が画像Aを圧縮対象画像109として画像圧縮装置102に送る(図2のステップA04)。   Next, the image operation apparatus 101 sends the image A as the compression target image 109 to the image compression apparatus 102 (step A04 in FIG. 2).

次に、画像圧縮装置102が圧縮対象画像109として画像Aを圧縮する(図2のステップA05)。   Next, the image compression apparatus 102 compresses the image A as the compression target image 109 (step A05 in FIG. 2).

次に、画像圧縮装置102が画像Aを5%で圧縮した圧縮結果画像110を画像操作装置101に送る(図2のステップA06)。   Next, the image compression apparatus 102 sends the compression result image 110 obtained by compressing the image A by 5% to the image operation apparatus 101 (step A06 in FIG. 2).

次に、画像操作装置101の画像操作手段106が、画像出力手段108で画像Aの圧縮画像ファイル105を出力する(図2のステップA07)。   Next, the image operation unit 106 of the image operation apparatus 101 outputs the compressed image file 105 of the image A by the image output unit 108 (step A07 in FIG. 2).

次に、全ての対象画像ファイル104の圧縮処理が完了されたかどうか判断する(図2のステップA08)。   Next, it is determined whether or not the compression processing of all target image files 104 has been completed (step A08 in FIG. 2).

次に、画像操作装置101の画像操作手段106が、画像入力手段107で次の対象画像ファイル104である画像Bを入力する(図2のステップA03)。   Next, the image operation means 106 of the image operation apparatus 101 inputs the image B as the next target image file 104 by the image input means 107 (step A03 in FIG. 2).

次に、画像操作装置101が画像Bを圧縮対象画像109として画像圧縮装置102に送る(図2のステップA04)。   Next, the image operation apparatus 101 sends the image B as the compression target image 109 to the image compression apparatus 102 (step A04 in FIG. 2).

次に、画像圧縮装置102が圧縮対象画像109として画像Bを圧縮する(図2のステップA05)。   Next, the image compression apparatus 102 compresses the image B as the compression target image 109 (step A05 in FIG. 2).

次に、画像圧縮装置102が画像Bを4%で圧縮した圧縮結果画像110を画像操作装置101に送る(図2のステップA06)。   Next, the image compression apparatus 102 sends the compression result image 110 obtained by compressing the image B by 4% to the image operation apparatus 101 (step A06 in FIG. 2).

次に、画像操作装置101の画像操作手段106が、画像出力手段108で画像Bの圧縮画像ファイル105を出力する(図2のステップA07)。   Next, the image operation means 106 of the image operation apparatus 101 outputs the compressed image file 105 of the image B by the image output means 108 (step A07 in FIG. 2).

最後に、全ての対象画像ファイル104の圧縮結果である画像Aを5%で圧縮した画像圧縮ファイル105と画像Bを4%で圧縮した画像圧縮ファイル105の出力が完了したので、処理を終了する(図2のステップA08)。   Finally, since the output of the compressed image file 105 obtained by compressing the image A which is the compression result of all the target image files 104 by 5% and the compressed image file 105 obtained by compressing the image B by 4% is completed, the processing ends. (Step A08 in FIG. 2).

次に、画像圧縮処理の動作の詳細について説明する。   Next, details of the operation of the image compression processing will be described.

まず、画像圧縮装置102が、画像操作装置101から圧縮対象画像109を入力する。   First, the image compression apparatus 102 inputs the compression target image 109 from the image operation apparatus 101.

次に、圧縮対象画像109を画像圧縮手段112で基準圧縮率データ115の圧縮率である10%で圧縮し、文字認識手段113で文字認識する(図3のステップB01)。   Next, the image to be compressed 109 is compressed by the image compression unit 112 at 10% which is the compression rate of the reference compression rate data 115, and the character recognition unit 113 recognizes characters (step B01 in FIG. 3).

具体例として、画像Aの圧縮結果である基準圧縮画像118を図8に示し、画像Aの基準圧縮画像118の文字認識結果である基準画像文字認識結果データ120を図14に示す。   As a specific example, a reference compressed image 118 that is a compression result of image A is shown in FIG. 8, and reference image character recognition result data 120 that is a character recognition result of the reference compressed image 118 of image A is shown in FIG.

また、画像Bの圧縮結果である基準圧縮画像118を図18に示し、画像Bの基準圧縮画像118の文字認識結果である基準画像文字認識結果データ120を図24に示す。   FIG. 18 shows a reference compressed image 118 that is a compression result of the image B, and FIG. 24 shows reference image character recognition result data 120 that is a character recognition result of the reference compressed image 118 of the image B.

次に、画像圧縮管理手段111が最初の比較用の圧縮率を決定し、画像圧縮手段112で圧縮対象画像109を圧縮する(図3のステップB02)。   Next, the image compression management unit 111 determines the first comparison compression rate, and the image compression unit 112 compresses the compression target image 109 (step B02 in FIG. 3).

いまの例では、基準圧縮率データ115の10%の半分である5%を最初の比較用の圧縮率として決定し、画像圧縮手段112で圧縮対象画像109を圧縮する。   In this example, 5% which is half of 10% of the reference compression rate data 115 is determined as the first comparison compression rate, and the compression target image 109 is compressed by the image compression unit 112.

画像Aを5%圧縮した圧縮結果である圧縮画像119を図9に示し、画像Aを5%圧縮した圧縮画像119を文字認識結果である圧縮画像文字認識結果データ121を図15に示す。   FIG. 9 shows a compressed image 119 that is a compression result of 5% compression of the image A, and FIG. 15 shows compressed image character recognition result data 121 that is a character recognition result of the compressed image 119 obtained by compressing the image A by 5%.

また、画像Bを5%圧縮した圧縮結果である圧縮画像119を図19に示し、画像Bを5%圧縮した圧縮画像119を文字認識結果である圧縮画像文字認識結果データ121を図25に示す。   Further, FIG. 19 shows a compressed image 119 that is a compression result of 5% compression of the image B, and FIG. 25 shows compressed image character recognition result data 121 that is a character recognition result of the compressed image 119 that is 5% compressed of the image B. .

次に、比較用の圧縮画像119を文字認識手段113で文字認識し、基準圧縮画像118の文字認識結果と文字認識結果比較手段104で比較して相違率データ112を出力する(図3のステップB03)。   Next, the compressed image 119 for comparison is character-recognized by the character recognition unit 113, and the character recognition result of the reference compressed image 118 is compared with the character recognition result comparison unit 104 to output the difference rate data 112 (step of FIG. 3). B03).

図4に示したように、画像Aを5%圧縮した場合の相違率データは0.3%となる。   As shown in FIG. 4, the difference rate data when the image A is compressed by 5% is 0.3%.

また、画像Bを5%圧縮した場合の相違率データは1.3%となる。   Further, the difference rate data when the image B is compressed by 5% is 1.3%.

次に、評価回数データ117の回数分の評価が完了していれば繰り返し処理を終えて最終ステップB08に進み、完了していなければ次の繰り返し処理のステップB05に進む(図3のステップB04)。   Next, if the evaluation for the number of evaluation times data 117 is completed, the iterative process is finished and the process proceeds to the final step B08. If not completed, the process proceeds to the next iterative process step B05 (step B04 in FIG. 3). .

いまの例では、評価回数データ117は3回なので、圧縮処理を3回繰り返して行う。
2回目の圧縮処理を実行する。
In this example, since the evaluation count data 117 is three times, the compression process is repeated three times.
The second compression process is executed.

次に、相違率データ122が基準相違率データ116より低いかどうか比較する(図3のステップB05)。   Next, it is compared whether the difference rate data 122 is lower than the reference difference rate data 116 (step B05 in FIG. 3).

次に、相違率データ122が基準相違率データ116より低い場合、前の圧縮率より高い比較用の圧縮率を決定し、圧縮対象画像109を画像圧縮する(図3のステップB06)。   Next, when the difference rate data 122 is lower than the reference difference rate data 116, a comparison compression rate higher than the previous compression rate is determined, and the compression target image 109 is compressed (step B06 in FIG. 3).

次に、相違率データ122が基準相違率データ116より高い場合、前の圧縮率より低い比較用の圧縮率を決定し、圧縮対象画像109を画像圧縮する(図3のステップB07)。   Next, when the difference rate data 122 is higher than the reference difference rate data 116, a comparison compression rate lower than the previous compression rate is determined, and the compression target image 109 is compressed (step B07 in FIG. 3).

図4に示したように、画像Aの圧縮処理5%圧縮した場合の相違率データは0.3%となり基準相違率データの5%より低いので、次の圧縮率を3%に決定し、画像Aを画像圧縮する。   As shown in FIG. 4, the difference rate data when the compression processing of the image A is 5% compressed is 0.3%, which is lower than the reference difference rate data 5%. Therefore, the next compression rate is determined to be 3%. Image A is compressed.

また、画像Bの圧縮処理5%圧縮した場合の相違率データは1.3%となり基準相違率データの5%より低いので、次の圧縮率を3%を決定し、画像Bを画像圧縮する。   Further, the difference rate data when the image B is compressed by 5% is 1.3%, which is lower than the reference difference rate data of 5%. Therefore, the next compression rate is determined to be 3%, and the image B is compressed. .

次に、比較用の圧縮画像119を文字認識手段113で文字認識し、基準圧縮画像118の文字認識結果と文字認識結果比較手段104で比較して相違率データ112を出力する(図3のステップB03)。   Next, the compressed image 119 for comparison is character-recognized by the character recognition unit 113, and the character recognition result of the reference compressed image 118 is compared with the character recognition result comparison unit 104 to output the difference rate data 112 (step of FIG. 3). B03).

図4に示したように、画像Aを3%圧縮した場合の相違率データは9.3%となる。   As shown in FIG. 4, the difference rate data when the image A is compressed by 3% is 9.3%.

また、画像Bを3%圧縮した場合の相違率データは9.7%となる。   Further, the difference rate data when the image B is compressed by 3% is 9.7%.

3回目の圧縮処理を実行する。   The third compression process is executed.

次に、相違率データ122が基準相違率データ116より低いかどうか比較する(図3のステップB05)。   Next, it is compared whether the difference rate data 122 is lower than the reference difference rate data 116 (step B05 in FIG. 3).

次に、相違率データ122が基準相違率データ116より低い場合、前の圧縮率より高い比較用の圧縮率を決定し、圧縮対象画像109を画像圧縮する(図3のステップB06)。   Next, when the difference rate data 122 is lower than the reference difference rate data 116, a comparison compression rate higher than the previous compression rate is determined, and the compression target image 109 is compressed (step B06 in FIG. 3).

次に、相違率データ122が基準相違率データ116より高い場合、前の圧縮率より低い比較用の圧縮率を決定し、圧縮対象画像109を画像圧縮する(図3のステップB07)。   Next, when the difference rate data 122 is higher than the reference difference rate data 116, a comparison compression rate lower than the previous compression rate is determined, and the compression target image 109 is compressed (step B07 in FIG. 3).

図4に示したように、画像Aの圧縮処理3%圧縮した場合の相違率データは9.3%となり基準相違率データの5%より高いので、次の圧縮率を4%に決定し、画像Aを画像圧縮する。   As shown in FIG. 4, the difference rate data when the compression processing of the image A is 3% is 9.3%, which is higher than 5% of the reference difference rate data. Therefore, the next compression rate is determined to be 4%. Image A is compressed.

また、画像Bの圧縮処理3%圧縮した場合の相違率データは9.7%となり基準相違率データの5%より高いので、次の圧縮率を4%を決定し、画像Bを画像圧縮する。   Further, the difference rate data when the image B is compressed by 3% is 9.7%, which is higher than 5% of the reference difference rate data. Therefore, the next compression rate is determined as 4%, and the image B is compressed. .

次に、比較用の圧縮画像119を文字認識手段113で文字認識し、基準圧縮画像118の文字認識結果と文字認識結果比較手段104で比較して相違率データ112を出力する(図3のステップB03)。   Next, the compressed image 119 for comparison is character-recognized by the character recognition unit 113, and the character recognition result of the reference compressed image 118 is compared with the character recognition result comparison unit 104 to output the difference rate data 112 (step of FIG. 3). B03).

図4に示したように、画像Aを4%圧縮した場合の相違率データは6.2%となる。   As shown in FIG. 4, the difference rate data when the image A is compressed by 4% is 6.2%.

また、画像Bを4%圧縮した場合の相違率データは4.2%となる。   Further, the difference rate data when the image B is compressed by 4% is 4.2%.

最後に、基準圧縮画像118と最終圧縮画像119の文字認識結果の比較結果から圧縮結果画像110を決定し、画像圧縮装置102が、画像操作装置101に圧縮結果画像110を出力する(図3のステップB08)。   Finally, the compression result image 110 is determined from the comparison result of the character recognition results of the reference compressed image 118 and the final compressed image 119, and the image compression apparatus 102 outputs the compression result image 110 to the image operation apparatus 101 (FIG. 3). Step B08).

図4に示したように、画像Aを4%圧縮した場合の相違率データは6.2%となり基準相違率データの5%より高いので、画像Aを圧縮する最適な圧縮率は5%と決定し、図9に示した画像Aを5%で圧縮した画像を圧縮結果画像110として出力する。   As shown in FIG. 4, the difference rate data when the image A is compressed by 4% is 6.2%, which is higher than the reference difference rate data of 5%. Therefore, the optimum compression rate for compressing the image A is 5%. Then, an image obtained by compressing the image A shown in FIG.

また、画像Bを4%圧縮した場合の相違率データは4.2%となり基準相違率データの5%より低いので、画像Bを圧縮する最適な圧縮率は4%と決定し、図20に示した画像Bを4%で圧縮した画像を圧縮結果画像110として出力する。   Further, the difference rate data when the image B is compressed by 4% is 4.2%, which is lower than the reference difference rate data of 5%. Therefore, the optimum compression rate for compressing the image B is determined to be 4%, and FIG. An image obtained by compressing the indicated image B by 4% is output as a compression result image 110.

いまの例で使用した、基準相違率データ116と圧縮対象画像109の文字認識結果の相違率データ122から圧縮結果画像110の圧縮率を決める決定木を図5に示す。   FIG. 5 shows a decision tree used to determine the compression rate of the compression result image 110 from the reference difference rate data 116 and the character recognition result difference rate data 122 of the compression target image 109 used in the present example.

本発明による画像圧縮システムは、プログラム制御により動作する画像操作装置101と、プログラム制御により動作する画像圧縮装置102と、画像圧縮操作装置103とを備える。   The image compression system according to the present invention includes an image operation device 101 that operates under program control, an image compression device 102 that operates according to program control, and an image compression operation device 103.

プログラム制御により動作する画像操作装置101と、プログラム制御により動作する画像圧縮装置102と、画像圧縮操作装置103とは、ハードウェアによって実現することもできるが、コンピュータをこれらの部分として機能させるためのプログラムをコンピュータが記録媒体から読み込んで実行することによっても実現することができる。   The image operation device 101 that operates according to program control, the image compression device 102 that operates according to program control, and the image compression operation device 103 can be realized by hardware, but for causing a computer to function as these parts. It can also be realized by a computer reading a program from a recording medium and executing it.

図2,図3を参照して説明した本発明による画像圧縮方法は、ハードウェアによって実現することもできるが、コンピュータにこの方法を行わせるためのプログラムをコンピュータが記録媒体から読み込んで実行することによっても実現することができる。   The image compression method according to the present invention described with reference to FIGS. 2 and 3 can be realized by hardware, but the computer reads a program for causing the computer to perform the method from a recording medium and executes the program. Can also be realized.

本発明の画像圧縮システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the image compression system of this invention. 図1の画像圧縮システムの全体の動作を示す流れ図である。It is a flowchart which shows the operation | movement of the whole image compression system of FIG. 本発明の図1の画像圧縮システムの画像圧縮の動作を示す流れ図である。2 is a flowchart showing an image compression operation of the image compression system of FIG. 1 according to the present invention. 圧縮対象画像を圧縮した画像を文字認識結果の圧縮率と相違率を示す図である。It is a figure which shows the compression rate and difference rate of the character recognition result of the image which compressed the image for compression. 基準相違率と圧縮対象画像の文字認識結果の相違率から圧縮結果画像の圧縮率を決める決定木を示す図である。It is a figure which shows the decision tree which determines the compression rate of a compression result image from the difference rate of a reference | standard difference rate and the character recognition result of a compression object image. 画像Aの非圧縮画像を示す図である。It is a figure which shows the uncompressed image of the image A. FIG. 画像Bの非圧縮画像を示す図である。It is a figure which shows the uncompressed image of the image B. FIG. 画像Aの10%圧縮画像を示す図である。It is a figure which shows the 10% compression image of the image A. 画像Aの5%圧縮画像を示す図である。It is a figure which shows the 5% compression image of the image A. 画像Aの4%圧縮画像を示す図である。It is a figure which shows the 4% compression image of the image A. 画像Aの3%圧縮画像を示す図である。It is a figure which shows the 3% compression image of the image A. FIG. 圧縮対象画像の画像Aの元となる文字列を示す図である。It is a figure which shows the character string used as the origin of the image A of a compression object image. 画像Aの非圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of carrying out character recognition of the uncompressed image of the image A. 画像Aの10%圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of having recognized the 10% compression image of the image A. 画像Aの5%圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of carrying out character recognition of the 5% compression image of the image A. 画像Aの4%圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of carrying out the character recognition of the 4% compression image of the image A. 画像Aの3%圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of having recognized the 3% compression image of the image A. 画像Bの10%圧縮画像を示す図である。It is a figure which shows the 10% compression image of the image B. FIG. 画像Bの5%圧縮画像を示す図である。It is a figure which shows the 5% compression image of the image B. FIG. 画像Bの4%圧縮画像を示す図である。It is a figure which shows the 4% compression image of the image B. FIG. 画像Bの3%圧縮画像を示す図である。It is a figure which shows the 3% compression image of the image B. FIG. 圧縮対象画像の画像Bの元となる文字列を示す図である。It is a figure which shows the character string used as the origin of the image B of a compression object image. 画像Bの非圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of carrying out the character recognition of the uncompressed image of the image B. 画像Bの10%圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of having recognized the 10% compression image of the image B. 画像Bの5%圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of having recognized the 5% compression image of the image B. 画像Bの4%圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of having recognized the 4% compression image of the image B as a character. 画像Bの3%圧縮画像を文字認識した結果を示す図である。It is a figure which shows the result of having recognized the 3% compression image of the image B as a character.

符号の説明Explanation of symbols

101 画像操作装置
102 画像圧縮装置
103 画像圧縮操作装置
104 対象画像ファイル
105 圧縮画像ファイル
106 画像操作手段
107 画像入力手段
108 画像出力手段
109 圧縮対象画像
110 圧縮結果画像
111 画像圧縮管理手段
112 画像圧縮手段
113 文字認識手段
114 文字認識結果比較手段
115 基準圧縮率データ
116 基準相違率データ
117 評価回数データ
118 基準圧縮画像
119 圧縮画像
120 基準画像文字認識データ
121 圧縮画像文字認識データ
122 相違率データ
201 圧縮対象画像
202 文字数
203 圧縮率
204 相違文字数
205 相違率
DESCRIPTION OF SYMBOLS 101 Image operation apparatus 102 Image compression apparatus 103 Image compression operation apparatus 104 Target image file 105 Compressed image file 106 Image operation means 107 Image input means 108 Image output means 109 Compression target image 110 Compression result image 111 Image compression management means 112 Image compression means 113 Character recognition means 114 Character recognition result comparison means 115 Reference compression rate data 116 Reference difference rate data 117 Evaluation frequency data 118 Reference compressed image 119 Compressed image 120 Reference image character recognition data 121 Compressed image character recognition data 122 Difference rate data 201 Compression target Image 202 Number of characters 203 Compression rate 204 Number of different characters 205 Difference rate

Claims (9)

プログラム制御により動作する画像操作装置と、プログラム制御により動作する画像圧縮装置と、利用者が対象画像ファイルの入力元と圧縮画像ファイルの出力先を指定して画像圧縮処理を操作する画像圧縮操作装置とを備え、前記画像圧縮装置は、画像操作装置から入力された圧縮対象画像毎に、個別に、基準圧縮率データと評価回数データを用いて圧縮した圧縮画像を文字認識し、基準相違率データと基準画像文字認識結果データと圧縮画像文字認識結果データを用いて自動的に適切な圧縮率を決定し、圧縮した圧縮結果画像を出力することを特徴とする画像圧縮システム。 An image operation device that operates by program control, an image compression device that operates by program control, and an image compression operation device in which a user designates an input source of a target image file and an output destination of a compressed image file and operates image compression processing The image compression device individually recognizes a compressed image compressed using the reference compression rate data and the evaluation count data for each compression target image input from the image manipulating device, and generates a reference dissimilarity rate data. An image compression system that automatically determines an appropriate compression ratio using the reference image character recognition result data and the compressed image character recognition result data, and outputs a compressed compression result image. 請求項1記載の画像圧縮システムにおいて、前記画像圧縮装置は、基準画像文字認識結果データと圧縮画像文字認識結果データとを比較した相違率データを用いて自動的に適切な圧縮率を決定することを特徴とする画像圧縮システム。 2. The image compression system according to claim 1, wherein the image compression device automatically determines an appropriate compression rate using difference rate data obtained by comparing the reference image character recognition result data and the compressed image character recognition result data. An image compression system characterized by this. プログラム制御により動作する画像操作装置と、プログラム制御により動作する画像圧縮装置と、利用者が対象画像ファイルの入力元と圧縮画像ファイルの出力先を指定して画像圧縮処理を操作する画像圧縮操作装置とを備え、画像操作装置が画像圧縮操作装置で利用者が指定した対象画像ファイルの入力元の全ての対象画像ファイルを入力し、全ての対象画像ファイルに対して1つ1つ個別に画像圧縮装置で自動的に適切な圧縮率で圧縮し、圧縮した結果の画像を画像操作装置が圧縮画像ファイルとして出力することを特徴とする画像圧縮システム。 An image operation device that operates by program control, an image compression device that operates by program control, and an image compression operation device in which a user designates an input source of a target image file and an output destination of a compressed image file and operates image compression processing The image manipulation device inputs all target image files that are input sources of the target image file designated by the user with the image compression manipulation device, and individually compresses each target image file individually. An image compression system in which an image is automatically compressed by an apparatus at an appropriate compression rate, and an image resulting from the compression is output as a compressed image file by an image manipulation apparatus. プログラム制御により動作する画像操作装置と、プログラム制御により動作する画像圧縮装置と、利用者が対象画像ファイルの入力元と圧縮画像ファイルの出力先を指定して画像圧縮処理を操作する画像圧縮操作装置とを備え、画像圧縮装置は、指定された圧縮率で圧縮対象画像をそのまま圧縮することを特徴とする画像圧縮システム。 An image operation device that operates by program control, an image compression device that operates by program control, and an image compression operation device in which a user designates an input source of a target image file and an output destination of a compressed image file and operates image compression processing And the image compression apparatus compresses the image to be compressed as it is at a designated compression rate. 圧縮対象画像毎に、個別に、基準圧縮率データと評価回数データを用いて圧縮した圧縮画像を文字認識し、基準相違率データと基準画像文字認識結果データと圧縮画像文字認識結果データを用いて自動的に適切な圧縮率を決定し、圧縮した圧縮結果画像を出力することを特徴とする画像圧縮方法。 For each compression target image, the compressed image compressed using the reference compression rate data and the evaluation count data is recognized, and the reference difference rate data, the reference image character recognition result data, and the compressed image character recognition result data are used. An image compression method characterized by automatically determining an appropriate compression ratio and outputting a compressed compression result image. 請求項5記載の画像圧縮方法において、基準画像文字認識結果データと圧縮画像文字認識結果データとを比較した相違率データを用いて自動的に適切な圧縮率を決定することを特徴とする画像圧縮方法。 6. The image compression method according to claim 5, wherein an appropriate compression rate is automatically determined using difference rate data obtained by comparing the reference image character recognition result data and the compressed image character recognition result data. Method. 利用者が指定した対象画像ファイルの入力元の全ての対象画像ファイルを入力し、全ての対象画像ファイルに対して1つ1つ個別に適切な圧縮率で圧縮し、圧縮した結果の画像を圧縮画像ファイルとして出力することを特徴とする画像圧縮方法。 All the target image files that are the input source of the target image file specified by the user are input, and each target image file is individually compressed at an appropriate compression rate, and the compressed image is compressed. An image compression method for outputting as an image file. 請求項5乃至請求項7のいずれか一項に記載の画像圧縮方法をコンピュータに行わせるための画像圧縮用プログラム。 An image compression program for causing a computer to perform the image compression method according to any one of claims 5 to 7. 請求項8記載の画像圧縮用プログラムを記録したコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium on which the image compression program according to claim 8 is recorded.
JP2005081721A 2005-03-22 2005-03-22 Image compression system, image compression method, image compression program, and recording medium Expired - Fee Related JP4123485B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005081721A JP4123485B2 (en) 2005-03-22 2005-03-22 Image compression system, image compression method, image compression program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005081721A JP4123485B2 (en) 2005-03-22 2005-03-22 Image compression system, image compression method, image compression program, and recording medium

Publications (2)

Publication Number Publication Date
JP2006270199A true JP2006270199A (en) 2006-10-05
JP4123485B2 JP4123485B2 (en) 2008-07-23

Family

ID=37205727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005081721A Expired - Fee Related JP4123485B2 (en) 2005-03-22 2005-03-22 Image compression system, image compression method, image compression program, and recording medium

Country Status (1)

Country Link
JP (1) JP4123485B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015188156A (en) * 2014-03-26 2015-10-29 富士通株式会社 Image processing device, image processing system, image processing method and image processing program
CN109670497A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Picture upload method, device, equipment and readable storage medium storing program for executing
WO2022075349A1 (en) 2020-10-08 2022-04-14 国立研究開発法人理化学研究所 Image processing device, image processing method, and non-transitory computer readable medium whereon image processing program is stored

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015188156A (en) * 2014-03-26 2015-10-29 富士通株式会社 Image processing device, image processing system, image processing method and image processing program
US9380316B2 (en) 2014-03-26 2016-06-28 Fujitsu Limited Image processing apparatus, image processing system and image processing method
CN109670497A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Picture upload method, device, equipment and readable storage medium storing program for executing
WO2022075349A1 (en) 2020-10-08 2022-04-14 国立研究開発法人理化学研究所 Image processing device, image processing method, and non-transitory computer readable medium whereon image processing program is stored

Also Published As

Publication number Publication date
JP4123485B2 (en) 2008-07-23

Similar Documents

Publication Publication Date Title
JP4845382B2 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium
KR102411237B1 (en) Face image processing system, face image processing method and face image processing program
JP2001222392A5 (en) Image processing apparatus and method
JP5267255B2 (en) Image processing apparatus, image processing method, and program
JP4123485B2 (en) Image compression system, image compression method, image compression program, and recording medium
JP4405878B2 (en) Image processing apparatus, image processing method, program, and storage medium
KR20200091661A (en) Apparatus and method for determining manipulated image
JP2001244819A (en) Digital signal encoding accompanied by tile division
CN112153388A (en) Image compression method, device and related equipment
JP2002158982A (en) Image processing method, processor and computer readable medium
JP4073942B2 (en) Image compression apparatus and image expansion apparatus, and computer-readable recording medium recording a program for causing a computer to execute the image compression method and the image expansion method
JP2006101512A (en) Image compression apparatus and image transmitting/receiving apparatus
JP3347488B2 (en) Image processing apparatus and method
US11665437B2 (en) Image processing system, image processing apparatus and image processing method
WO2024042979A1 (en) Image file creation method and image file creation device
JP2001169120A5 (en)
JP3250844B2 (en) Image information compression device
WO2024042974A1 (en) Picture file creating method and picture file creating device
WO2024042975A1 (en) Image file generation method and image file generation device
CN101436295B (en) Method and apparatus for processing color separation of image file
JP2009290750A (en) Image processing apparatus, image processing method, and program
KR20080006670A (en) Method and device for composing image using texture mapping
JP2007104272A (en) Data conversion apparatus, data conversion method, and program
JP2010074324A (en) Image transmission method, image transmission/reception system and image transmitter
JPH03144780A (en) Image compressing system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080321

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: 20080411

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080424

R150 Certificate of patent or registration of utility model

Ref document number: 4123485

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140516

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees