JP2006279455A - Image processing apparatus, image processing method, image processing program and recoding medium - Google Patents
Image processing apparatus, image processing method, image processing program and recoding medium Download PDFInfo
- Publication number
- JP2006279455A JP2006279455A JP2005094799A JP2005094799A JP2006279455A JP 2006279455 A JP2006279455 A JP 2006279455A JP 2005094799 A JP2005094799 A JP 2005094799A JP 2005094799 A JP2005094799 A JP 2005094799A JP 2006279455 A JP2006279455 A JP 2006279455A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- quality correction
- image quality
- processing
- 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.)
- Withdrawn
Links
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Analysis (AREA)
Abstract
Description
この発明は、画質の補正処理を迅速、効率的に実行する画像処理装置、画像処理方法、画像処理プログラム、および記録媒体に関する。 The present invention relates to an image processing apparatus, an image processing method, an image processing program, and a recording medium that perform image quality correction processing quickly and efficiently.
カメラでの人物撮影の際、ストロボを発光させると、人の目が赤く写る、いわゆる赤目現象が発生することがある。そこで、この赤目現象を補正することができる技術が従来より数々提案されている(たとえば、特許文献1〜3を参照。)。 When shooting a person with a camera, if the flash is fired, a so-called red-eye phenomenon may occur in which the human eye appears red. Thus, a number of techniques that can correct this red-eye phenomenon have been proposed (see, for example, Patent Documents 1 to 3).
上記各特許文献に記載された従来技術は、全画像データの画像処理を行う第1の処理手段と、所定の画像処理のみを行う第2の画像処理手段を備え、赤目現象の補正処理など画質補正にかかる負荷を減少させている。しかしながら、前記従来技術では、画質補正を行う画像データを縮小処理などを行わずに印刷用のデータとして生成されたものをそのまま用いていることから、やはり処理にともなう演算量が多くなる。結果として使用するメモリ量の増大を招くとともに処理時間もかかり、効率が悪いという問題が発生する。 The prior art described in each of the above patent documents includes a first processing unit that performs image processing of all image data and a second image processing unit that performs only predetermined image processing, and includes image quality correction processing such as red-eye phenomenon correction processing. The load for correction is reduced. However, in the prior art, since the image data to be subjected to image quality correction is used as it is as data for printing without performing reduction processing or the like, the amount of calculation required for the processing also increases. As a result, an increase in the amount of memory to be used and a processing time are required, resulting in a problem of inefficiency.
この発明は、上述した従来技術による問題点を解消するため、演算量を少なくして使用するメモリ量を減少させ、迅速、効率的な画質補正処理を実現する画像処理装置、画像処理方法、画像処理プログラム、および記録媒体を提供することを目的とする。 In order to solve the above-described problems caused by the prior art, the present invention reduces the amount of calculation and reduces the amount of memory to be used, and realizes an image processing apparatus, an image processing method, and an image that realize a quick and efficient image quality correction process. It is an object to provide a processing program and a recording medium.
上述した課題を解決し、目的を達成するため、この発明にかかる画像処理装置は、画像データを取得する画像データ取得手段と、前記画像データを所定のサイズに縮小した縮小画像データを生成する画像データ縮小手段と、前記画像データ取得手段によって取得された前記画像データと、前記画像データ縮小手段によって生成された前記縮小画像データとを一時的に保存するメモリ手段と、前記画像データ縮小手段によって縮小された前記縮小画像データ中の画質補正処理対象候補の領域を特定し、当該画質補正処理対象候補の領域をリストアップしてこれを前記メモリ手段に一時的に保存する画質補正処理対象候補抽出手段と、前記画質補正処理対象候補抽出手段によってリストアップされた前記領域が画質補正対象となるか否かを判定する画質補正対象判定手段と、前記画質補正対象判定手段によって画質補正対象となると判定された前記領域に対応する前記画像データの領域に所定の画質補正処理を施す画質補正処理手段と、前記メモリ手段によって保存された前記画像データを当該メモリ手段から読み出して、前記画質補正処理手段によって画質補正処理が施された前記領域と、前記メモリ手段から読み出した前記画像データの該当する領域とを置換する画像データ置換手段と、を備えることを特徴とする。 In order to solve the above-described problems and achieve the object, an image processing apparatus according to the present invention includes an image data acquisition unit that acquires image data, and an image that generates reduced image data obtained by reducing the image data to a predetermined size. Data reduction means, memory means for temporarily storing the image data acquired by the image data acquisition means and the reduced image data generated by the image data reduction means, and reduction by the image data reduction means An image quality correction processing target candidate extraction unit that identifies an image quality correction processing target candidate region in the reduced image data, lists the image quality correction processing target candidate region, and temporarily stores it in the memory unit And determining whether or not the region listed by the image quality correction processing target candidate extraction unit is an image quality correction target. An image quality correction target determining means; an image quality correction processing means for applying a predetermined image quality correction process to the area of the image data corresponding to the area determined to be an image quality correction target by the image quality correction target determination means; and the memory means. Image data that reads the stored image data from the memory means and replaces the area subjected to image quality correction processing by the image quality correction processing means with the corresponding area of the image data read from the memory means Replacement means.
この発明によれば、画像データに対する赤目補正やごみ除去などの画質補正処理を、演算量を少なくして使用するメモリ量を減少させ、迅速かつ効率的に実行することができる。 According to the present invention, image quality correction processing such as red-eye correction and dust removal for image data can be executed quickly and efficiently by reducing the amount of calculation and reducing the amount of memory used.
また、この発明にかかる画像処理装置は、前記画質補正処理対象候補の領域が前記画質補正対象判定手段によって画質補正対象とならないと判定された場合に、前記メモリ手段に保存されている前記画質補正処理対象候補の領域のデータを削除する、メモリ制御手段を備えていることを特徴とする。 Further, the image processing apparatus according to the present invention is configured such that the image quality correction stored in the memory unit when the area of the image quality correction process target candidate is determined not to be an image quality correction target by the image quality correction target determination unit. It is characterized by comprising a memory control means for deleting data of a candidate area for processing.
この発明によれば、使用するメモリ量を減少させ、迅速な画質補正処理を実行することができる。 According to the present invention, it is possible to reduce the amount of memory to be used and execute a quick image quality correction process.
また、この発明にかかる画像処理装置は、前記画像データ置換手段でデータ置換処理が施された画像データに対して所定の印刷処理を施し画像を出力する印刷出力手段を備えていることを特徴とする。 The image processing apparatus according to the present invention further includes a print output unit that performs a predetermined print process on the image data subjected to the data replacement process by the image data replacement unit and outputs an image. To do.
この発明によれば、画質補正処理が終了した画像を出力することができる。 According to the present invention, an image for which image quality correction processing has been completed can be output.
また、この発明にかかる画像処理装置は、前記画像データ取得手段が、スキャナであることを特徴とする。 The image processing apparatus according to the present invention is characterized in that the image data acquisition means is a scanner.
この発明によれば、通常のカメラなどによって写真フィルムに撮影された画像や紙面に印刷された画像などを画像データとして取り込み、当該画像データに対して画質補正処理を施すことができる。 According to the present invention, an image photographed on a photographic film by an ordinary camera or an image printed on a paper surface can be taken in as image data, and image quality correction processing can be performed on the image data.
また、この発明にかかる画像処理装置は、前記画像データ取得手段が、記録媒体デコード手段であることを特徴とする。 The image processing apparatus according to the present invention is characterized in that the image data acquisition means is a recording medium decoding means.
この発明によれば、たとえばデジタルカメラによって撮影された画像の画像データなどが記録されている記録媒体から画像データを取り込み、当該画像データに対して画質補正処理を施すことができる。 According to the present invention, for example, image data can be acquired from a recording medium on which image data of an image taken by a digital camera is recorded, and image quality correction processing can be performed on the image data.
また、この発明にかかる画像処理装置は、前記画像データ取得手段が、インタフェース手段であることを特徴とする。 The image processing apparatus according to the present invention is characterized in that the image data acquisition means is an interface means.
この発明によれば、たとえばネットワークを介して画像データを取り込み、当該画像データに対して画質補正処理を施すことができる。 According to the present invention, for example, image data can be taken in via a network and image quality correction processing can be performed on the image data.
また、この発明にかかる画像処理方法は、画像データを取得する画像データ取得工程と、前記画像データを所定のサイズに縮小した縮小画像データを生成する画像データ縮小工程と、前記画像データ取得工程によって取得された前記画像データと、前記画像データ縮小工程によって生成された前記縮小画像データとを一時的にメモリ手段に保存する画像データ保存工程と、前記画像データ縮小工程によって縮小された前記縮小画像データ中の画質補正処理対象候補の領域を特定し、当該画質補正処理対象候補の領域をリストアップしてこれを一時的に前記メモリ手段に保存する画質補正処理対象候補抽出工程と、前記画質補正処理対象候補抽出工程によってリストアップされた前記領域が画質補正対象となるか否かを判定する画質補正対象判定工程と、前記画質補正対象判定工程によって画質補正対象となると判定された前記領域に対応する前記画像データの領域に所定の画質補正処理を施す画質補正処理工程と、前記画像データ保存工程によって前記メモリ手段に保存された前記画像データを当該メモリ手段から読み出して、前記画質補正処理工程によって画質補正処理が施された前記領域と、前記メモリ手段から読み出した前記画像データの該当する領域とを置換する画像データ置換工程と、を含んだことを特徴とする。 The image processing method according to the present invention includes an image data acquisition step for acquiring image data, an image data reduction step for generating reduced image data obtained by reducing the image data to a predetermined size, and the image data acquisition step. An image data storage step for temporarily storing the acquired image data and the reduced image data generated by the image data reduction step in a memory means; and the reduced image data reduced by the image data reduction step An image quality correction processing target candidate extraction step of identifying a region of the image quality correction processing target candidate therein, listing the image quality correction processing target candidate region, and temporarily storing the region in the memory means, and the image quality correction processing An image quality correction target format for determining whether or not the region listed in the target candidate extraction step is an image quality correction target. An image quality correction processing step for applying a predetermined image quality correction process to an area of the image data corresponding to the area determined to be an image quality correction target by the image quality correction target determination process; and The image data stored in the means is read out from the memory means, and the area subjected to image quality correction processing in the image quality correction processing step is replaced with the corresponding area of the image data read out from the memory means. And an image data replacement step.
この発明によれば、演算量を少なくして使用するメモリ量を減少させ、迅速かつ効率的に画像データに対する赤目補正やごみ除去などの画質補正処理を実現することができる。 According to the present invention, the amount of memory to be used can be reduced by reducing the amount of calculation, and image quality correction processing such as red-eye correction and dust removal for image data can be realized quickly and efficiently.
また、この発明にかかる画像処理方法は、前記画像データ置換工程で置換された前記画像データに対して所定の印刷処理を施し画像を出力する画像印刷出力工程を含んだことを特徴とする。 Further, the image processing method according to the present invention includes an image print output step of performing a predetermined print process on the image data replaced in the image data replacement step and outputting an image.
この発明によれば、画質補正処理が終了した画像を出力することができる。 According to the present invention, an image for which image quality correction processing has been completed can be output.
また、この発明にかかる画像処理プログラムは、上述した画像処理方法をコンピュータに実行させることを特徴とする。 An image processing program according to the present invention causes a computer to execute the above-described image processing method.
この発明によれば、上述した画像処理プログラムを実行することにより、上述した画像処理方法によって得られる動作がコンピュータによって実行され、これにより、上述した画像処理方法の実現によって得られる各種効果を奏することができる。 According to the present invention, by executing the above-described image processing program, operations obtained by the above-described image processing method are executed by the computer, thereby producing various effects obtained by realizing the above-described image processing method. Can do.
また、この発明にかかる記録媒体は、上述した画像処理プログラムをコンピュータに読み取り可能に記録している。 The recording medium according to the present invention records the above-described image processing program in a computer-readable manner.
この発明によれば、記録された画像処理プログラムをコンピュータによって読み取らせ、実行させることによって、上述した画像処理プログラムの実行によって得られる各種動作が実現され、これにより、上述した画像処理プログラムの実行によって得られる各種効果を奏することができる。 According to the present invention, various operations obtained by executing the above-described image processing program are realized by causing the computer to read and execute the recorded image processing program, whereby the above-described image processing program is executed. Various effects can be obtained.
以下、添付図面を参照して、この発明にかかる画像処理装置、画像処理方法、画像処理プログラム、および記録媒体の好適な実施の形態を詳細に説明する。 DETAILED DESCRIPTION Exemplary embodiments of an image processing apparatus, an image processing method, an image processing program, and a recording medium according to the present invention are explained in detail below with reference to the accompanying drawings.
(画像処理装置の機能的構成)
図1は、この発明の実施の形態にかかる画像処理装置の機能的構成を示すブロック図である。以下、図1を参照しながら、この発明の実施の形態にかかる画像処理装置の機能的構成について説明する。
(Functional configuration of image processing apparatus)
FIG. 1 is a block diagram showing a functional configuration of an image processing apparatus according to an embodiment of the present invention. The functional configuration of the image processing apparatus according to the embodiment of the present invention will be described below with reference to FIG.
図1に示すように、この発明の実施の形態にかかる画像処理装置は、画像データ取得部101と、画像処理部102と、画像メモリ103と、画像縮小部104と、画質補正処理対象候補抽出部105と、画質補正対象判定部106と、メモリ制御部107と、画質補正処理部108と、画質補正処理終了検出部109と、画像データ置換部110と、印刷出力部111と、を含み構成される。
As shown in FIG. 1, an image processing apparatus according to an embodiment of the present invention includes an image
図1に示した画像処理装置では、まず、画像データ取得部101から画像処理の対象となる画像データを取得する。ここでは、たとえば、通常のカメラによって写真フィルムに撮影された画像や紙面に印刷された画像などを画像データとして画像処理装置に取り込む場合には、スキャナが画像データ取得部101に該当する。また、ネットワーク(不図示)を介して画像データを画像処理装置に取り込む場合には、インタフェースが画像データ取得部101に該当する。
In the image processing apparatus illustrated in FIG. 1, first, image data to be subjected to image processing is acquired from the image
画像データ取得部101により取り込まれた画像データは、画像処理部102へ送られ、ここで通常の画像処理が施され、たとえば印刷用画像データが生成される。この印刷用画像データは、画像メモリ103に一時的に保存される。
The image data captured by the image
また、画像データ取得部101により取り込まれた画像データは、画像縮小部104へ送られる。画像縮小部104は、送られてきた画像データや、画像メモリ103に保存されている画像データを読み出し、それをたとえば1/4程度に縮小する。画像縮小部104によって縮小された縮小画像データは、画像メモリ103に一時的に保存される。
The image data captured by the image
画質補正処理対象候補抽出部105は、画像縮小部104によって1/4程度に縮小された画像データ中の画質補正処理対象候補の領域を特定し、その画質補正処理対象候補の領域をリストアップして、これを画像メモリ103に一時的に保存する。なお、前記画質補正処理対象候補の領域とは、赤目現象の発生や、いわゆるゴミなど、画質を劣化させる原因を含むおそれのある画像領域のことである。
The image quality correction processing target
画質補正対象判定部106は、画質補正処理対象候補抽出部105によりリストアップされた領域を画像メモリ103から読み出し、当該領域が画質補正対象となるか否かを判定する。前記リストアップされた領域のうち、画質補正対象判定部106により画質補正対象とならないと判定された部分は、メモリ制御部107の処理により、画像メモリ103から消去される。画質補正処理部108は、画質補正対象判定部106により画質補正対象となると判定された領域に対して所定の画質補正処理を施す。
The image quality correction
画質補正処理終了検出部109は、たとえば画像1ページ分の画像データに対する画質補正処理が終了したか否かを判定する。画像データ置換部110は、たとえば画質補正処理終了検出部109により所定の画質補正処理の終了が検出された場合に、画像処理部102により所定の画像処理が施された画像データを画像メモリ103から読み出し、画質補正処理部108により所定の画質補正処理が施された領域を、画像メモリ103から読み出した画像データ(元データ)の該当する領域と置換する。ここで置換された画像データは印刷出力部111へ送られ、画質補正が行われた画像が印刷出力される。
The image quality correction process
(画像処理装置のハードウェア構成)
図2は、この発明の実施の形態にかかる画像処理装置のハードウェア構成を示すブロック図である。以下、図2を参照しながら、この発明の実施の形態にかかる画像処理装置のハードウェア構成について説明する。
(Hardware configuration of image processing device)
FIG. 2 is a block diagram showing a hardware configuration of the image processing apparatus according to the embodiment of the present invention. The hardware configuration of the image processing apparatus according to the embodiment of the present invention will be described below with reference to FIG.
図2に示すように、この実施の形態における画像処理装置は、CPU201と、ROM202と、RAM203と、ユーザ操作部204と、表示部205と、I/F206と、HDD207と、HD208と、記録媒体デコード部209と、スキャナ211と、プリンタ212と、を含み構成される。
As shown in FIG. 2, the image processing apparatus in this embodiment includes a
CPU(Central Processing Unit)201は、所定の演算処理を実行する。ROM(Read Only Memory)202は、各種制御プログラム(画像処理プログラム)を格納する。ROM202に格納されたデータは、ユーザの操作によって書き換えることが可能ではあるが、電源OFFによって消去されることはないものとする。RAM(Random Access Memory)203は、可変的なデータを書き換え自在に記憶し、CPU201のワークエリアとして機能し、前述の画像メモリ103の機能を実現する。RAM203は、電源OFFによって記憶されたデータが消去される揮発性のメモリであってもよいし、バッテリなどによってバックアップすることにより不揮発性のメモリとしてもよい。
A CPU (Central Processing Unit) 201 executes predetermined arithmetic processing. A ROM (Read Only Memory) 202 stores various control programs (image processing programs). The data stored in the
CPU201は、画像処理装置全体を制御する。また、CPU201は、ROM202に格納されている画像処理プログラムを実行することによって、前述の、画像処理部102、画像縮小部104、画質補正処理対象候補抽出部105、画質補正対象判定部106、メモリ制御部107、画質補正処理部108、画質補正処理終了検出部109、および画像データ置換部110の機能を実現する。
The
ユーザ操作部204は、文字、数値、各種指示など、ユーザによって入力操作された情報をCPU201に対して出力する。ユーザ操作部204の構成としては、物理的な押下/非押下を検出する押ボタンスイッチ、タッチパネル、キーボード、ジョイスティック、トラックボールなど公知の各種形態を採用することが可能である。
The
なお、このユーザ操作部204は、画像処理装置本体に対して一体的に設けられていてもよいし、リモコンのように画像処理装置に対して着脱可能で離間的に操作可能な形態であってもよい。ユーザ操作部204は、上述した各種形態のうちいずれか単一の形態で構成されていてもよいし、複数の形態で構成されていてもよい。ユーザは、ユーザ操作部204の形態に応じて適宜入力操作を行うことで情報を入力する。ユーザ操作部204の操作によって入力される情報として、たとえばエラー警告表示に対する応答を指示する情報などが挙げられる。
The
ユーザ操作部204の形態として、たとえば、タッチパネルを採用する場合、このタッチパネルは表示部205の表示面側に積層して使用される。この場合、表示部205における表示タイミングとタッチパネル(ユーザ操作部204)に対する操作タイミングおよびその位置座標とを管理することによって、入力情報を認識する。ユーザ操作部204の形態として表示部205に積層されたタッチパネルを採用することにより、ユーザ操作部204を大型化することなく多くの情報入力を行うことができる。タッチパネルとしては、抵抗膜式、感圧式など公知の各種タッチパネルを用いることが可能である。
As a form of the
表示部205は、たとえば、CRT(Cathode Ray Tube)、TFT(Thin Film Transistor)液晶ディスプレイ、有機EL(Electroluminescence)ディスプレイ、プラズマディスプレイなどのディスプレイ装置を含む。
The
表示部205には、アイコン、カーソル、メニュー、ウィンドウ、あるいは文字や画像などの各種情報が表示される。また、表示部205には、装置外部から取得した画像や、印刷出力される画像、エラー警告表示をあらわす画像、画像の印刷条件などの情報が表示される。
The
I/F206は、図示しない通信回線を介してネットワークと接続できるようになっている。このI/F206は、ネットワークと画像処理装置とのインタフェースを司り、画像処理装置に対するデータの入出力を制御する。このI/F206は、たとえばモデムやLANアダプタなどであり、ネットワークを介して画像データを取得する場合に、前述の画像データ取得部101としての機能を実現する。
The I /
HDD(Hard Disk Drive)207は、HD(Hard Disk)208に対する情報の読み取り/書き込みの制御を行う。なお、画像処理プログラムが、たとえば、DVD(Digital Versatile Disk)、CD(Compact Disk)、CD−ROM(CD−R、CD−RW)、MO(Magneto−Optical disk)、メモリカードなどに記録されている場合、HDD207に代えて、これらに記憶された情報の少なくとも読み取りが可能な専用のドライブ装置を用いることができる。
An HDD (Hard Disk Drive) 207 controls reading / writing of information with respect to an HD (Hard Disk) 208. The image processing program is recorded on, for example, a DVD (Digital Versatile Disk), CD (Compact Disk), CD-ROM (CD-R, CD-RW), MO (Magneto-Optical disk), memory card, or the like. In this case, instead of the
HD208は、各種制御プログラムや各種情報をコンピュータに読み取り可能に記録する。HD208は、HDD207による情報の書き込みを受け付けるとともに、書き込まれた情報を不揮発に記録する。この実施の形態のHD208には、後述する画像処理装置の画像処理を実行する画像処理プログラムが記録されている。また、このHD208には、画像処理プログラムの実行に際して必要な各種の情報が記録されるメモリエリアが確保されている。
The
なお、画像処理プログラムは、HD208に記録されているものに限らない。HD208に代えて、上述したDVD、CD、CD−ROM(CD−R、CD−RW)、MO、メモリカードなどに画像処理プログラムが記録されていてもよい。画像処理プログラムの実行に際し、DVD、CD、CD−ROM(CD−R、CD−RW)、MO、メモリカードなどに記録された画像処理プログラムを用いる場合、画像処理装置には、DVD、CD、CD−ROM(CD−R、CD−RW)、MO、メモリカードなどに記録された情報の読み取りが可能な専用の読取装置を設ける。また、HD208には、プリンタ212を駆動するための専用の駆動ドライバが格納されている。
The image processing program is not limited to the one recorded in the
記録媒体デコード部209は、記録媒体210に記録された情報の読み取りを制御する。この記録媒体デコード部209は、たとえば、デジタルカメラによって撮影された画像の画像データが記録されている記録媒体210から画像データを画像処理装置に取り込む場合に、前述の画像データ取得部101としての機能を実現する。
The recording
なお、記録媒体デコード部209は、可搬性を有し、記録媒体デコード部209に対する着脱が可能な記録媒体210を読み取り対象とする。具体的な記録媒体210としては、たとえば、DVD、CD、CD−ROM(CD−R、CD−RW)、MO、メモリカードなどがある。記録媒体210が、たとえば、CD−ROM(CD−R、CD−RW)である場合、記録媒体デコード部209は、CD−ROMドライブによって実現される。CD−ROMドライブについては、公知の技術であるため、図示および説明を省略する。たとえば、DVD、CD、CD−ROM(CD−R、CD−RW)、MO、メモリカードなどによって記録媒体210を実現した場合には、これらの記録媒体210に対する情報の読み取りが可能なドライブ装置によって記録媒体デコード部209が実現される。
Note that the recording
スキャナ211は、通常のカメラによって写真フィルムに撮影された画像や紙面に印刷された画像などを画像データとして画像処理装置に取り込む場合に、前述の画像データ取得部101としての機能を実現する。
The
プリンタ212は、前述の印刷出力部111としての機能を実現し、画像の印刷出力を行う。
The
(画像処理装置の処理手順)
図3は、この発明の実施の形態にかかる画像処理装置の処理(画像処理方法)の手順の一例を示すフローチャートである。以下、図3を参照しながら、この実施の形態における画像処理装置の処理手順について説明する。なお、以降の説明では、既に説明した部分と重複する箇所は同一の符号を附して詳細な説明は省略する。また、図3において、「メモリ」と記載した箇所は、具体的には、ここでは「RAM(画像メモリ)」として説明することとする。
(Processing procedure of image processing apparatus)
FIG. 3 is a flowchart showing an example of a process (image processing method) of the image processing apparatus according to the embodiment of the present invention. The processing procedure of the image processing apparatus in this embodiment will be described below with reference to FIG. In the following description, the same parts as those already described are denoted by the same reference numerals, and detailed description thereof is omitted. Further, in FIG. 3, the portion described as “memory” is specifically described here as “RAM (image memory)”.
図3に示すフローチャートにおいて、まず、スキャナ211(画像データ取得部101)によって通常のカメラによって写真フィルムに撮影された画像や紙面に印刷された画像などを画像データとして取得する(ステップS301)。このステップS301では、I/F206により、ネットワークを介して画像データを取得したり、記録媒体デコード部209により、デジタルカメラによって撮影された画像の画像データが記録されている記録媒体210から画像データを取得したりしてもよい。
In the flowchart shown in FIG. 3, first, an image captured on a photographic film by a scanner 211 (image data acquisition unit 101) or an image printed on paper is acquired as image data (step S301). In this step S301, the image data is acquired via the network by the I /
次に、CPU201(画像処理部102)が、取得した画像データに対して所定の画像処理を施す(ステップS302)。このステップS302の処理では、一般的な画像の印刷データが生成される。ステップS302で処理された画像データは、CPU201の処理により一時的にRAM203(画像メモリ103)の所定領域に保存される(ステップS303)。 Next, the CPU 201 (image processing unit 102) performs predetermined image processing on the acquired image data (step S302). In the process of step S302, general image print data is generated. The image data processed in step S302 is temporarily stored in a predetermined area of the RAM 203 (image memory 103) by the processing of the CPU 201 (step S303).
次に、CPU201(画像縮小部104)が、所定の画像処理が施された画像データをRAM203から読み出し、それを1/4程度に縮小する(ステップS304)。なお、CPU201は、取得した画像データをステップS302において所定の画像処理を施さずに直接RAM203に一時的に保存し、これを用いてステップS304において縮小処理をおこなうようにしてもよい。
Next, the CPU 201 (image reduction unit 104) reads out image data on which predetermined image processing has been performed from the
CPU201(画質補正処理対象候補抽出部105)が、ステップS304の処理により1/4程度に縮小された画像データ中の画質補正処理対象候補の領域を特定し、その画質補正処理対象候補の領域をリストアップしてRAM203の所定領域に保存する(ステップS305)。前記画質補正処理対象候補の領域とは、赤目現象の発生や、いわゆるゴミなど、画質を劣化させる原因を含むおそれのある画像領域のことである。 The CPU 201 (image quality correction processing target candidate extraction unit 105) specifies an image quality correction processing target candidate area in the image data reduced to about ¼ by the processing in step S304, and determines the image quality correction processing target candidate area. The list is saved and stored in a predetermined area of the RAM 203 (step S305). The image quality correction process target candidate area is an image area that may include a cause of deterioration in image quality, such as occurrence of a red-eye phenomenon or so-called dust.
CPU201(画質補正対象判定部106)が、ステップS305の処理でリストアップされた領域の一つをRAM203から読み出し、当該領域が画質補正対象となるか否かを判定する(ステップS306)。このステップS306の処理において、当該領域が画質補正対象とならない場合(ステップS306:No)は、CPU201(メモリ制御部107)が、ROM203から当該領域を消去する(ステップS307)。この後、ステップS306へ戻る。
The CPU 201 (image quality correction target determination unit 106) reads one of the areas listed in the process of step S305 from the
一方、ステップS306の処理において、当該領域が画質補正対象となる場合(ステップS306:Yes)は、CPU201(画質補正処理部108)が当該領域に対して画質補正処理を施す(ステップS308)。CPU201(画質補正処理終了検出部109)が、たとえば画像1ページ分の画像データの画質補正処理が終了したか否かを検出する(ステップS309)。このステップS309の処理において、画像1ページ分の画像データの画質補正処理が終了したことが検出されなかった場合(ステップS309:No)は、ステップS306へ戻る。 On the other hand, in the process of step S306, when the area is an image quality correction target (step S306: Yes), the CPU 201 (image quality correction processing unit 108) performs the image quality correction process on the area (step S308). For example, the CPU 201 (image quality correction process end detection unit 109) detects whether the image quality correction process for one page of image data has been completed (step S309). In the process of step S309, when it is not detected that the image quality correction process for the image data for one page of the image has been completed (step S309: No), the process returns to step S306.
一方、ステップS309の処理において、たとえば画像1ページ分の画像データの画質補正処理が終了したことが検出された場合(ステップS309:Yes)は、CPU201(画像データ置換部110)が、ステップS303の処理で一旦保存された画像データ(元データ)をRAM203から読み出し、ステップS308の処理によって画質補正処理が施された領域を、読み出された画像データの該当する領域と置換する(ステップS310)。
On the other hand, in the process of step S309, for example, when it is detected that the image quality correction process for one page of image data has been completed (step S309: Yes), the CPU 201 (image data replacement unit 110) performs the process of step S303. The image data (original data) once saved by the process is read from the
最後に、プリンタ212がステップS310の処理で置換された画像データに対して所定の印刷処理を実行し、画像を出力する(ステップS311)。これにより、本フローチャートによる一連の処理を終了する。
Finally, the
以上説明したように、この発明の実施の形態にかかる画像処理装置では、画像データに対する画質補正(赤目現象の発生や、いわゆるゴミなど、画質を劣化させる原因の除去、補正)を行う際に、画質補正が必要とされる領域のみを抽出し、当該領域に対して画質補正を施すようにしている。この結果、画質補正のために必要とされる演算量を少なくして使用するメモリ量を減少させ、迅速かつ効率的な画質補正を実現することができる。 As described above, in the image processing apparatus according to the embodiment of the present invention, when performing image quality correction (removal and correction of the cause of deterioration in image quality such as occurrence of red-eye phenomenon, so-called dust) with respect to image data, Only the area where the image quality correction is required is extracted, and the image quality correction is performed on the area. As a result, the amount of memory used by reducing the amount of computation required for image quality correction can be reduced, and quick and efficient image quality correction can be realized.
なお、この実施の形態で説明した画像処理方法は、あらかじめ用意されたプログラムを、たとえば印刷装置に組み込まれたコンピュータやパーソナル・コンピュータなどのコンピュータで実行することにより実現することができる。このプログラムは、ハードディスク、フレキシブルディスク、CD−ROM、MO、DVD等のコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。またこのプログラムは、インターネット等のネットワークを介して配布することが可能な伝送媒体であってもよい。 Note that the image processing method described in this embodiment can be realized by executing a program prepared in advance on a computer such as a computer or a personal computer incorporated in a printing apparatus. This program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer. The program may be a transmission medium that can be distributed via a network such as the Internet.
101 画像データ取得部、102 画像処理部、103 画像メモリ、104 画像縮小部、105 画質補正処理対象候補抽出部、106 画質補正対象判定部、107 メモリ制御部、108 画質補正処理部、109 画質補正処理終了検出部、110 画像データ置換部、111 印刷出力部、201 CPU、202 ROM、203 RAM、204 ユーザ操作部、205 表示部、206 I/F、207 HDD、208 HD、209 記録媒体デコード部、210 記録媒体、211 スキャナ、212 プリンタ 101 image data acquisition unit, 102 image processing unit, 103 image memory, 104 image reduction unit, 105 image quality correction processing target candidate extraction unit, 106 image quality correction target determination unit, 107 memory control unit, 108 image quality correction processing unit, 109 image quality correction Processing end detection unit, 110 Image data replacement unit, 111 Print output unit, 201 CPU, 202 ROM, 203 RAM, 204 User operation unit, 205 Display unit, 206 I / F, 207 HDD, 208 HD, 209 Recording medium decoding unit , 210 recording medium, 211 scanner, 212 printer
Claims (10)
前記画像データを所定のサイズに縮小した縮小画像データを生成する画像データ縮小手段と、
前記画像データ取得手段によって取得された前記画像データと、前記画像データ縮小手段によって生成された前記縮小画像データとを一時的に保存するメモリ手段と、
前記画像データ縮小手段によって縮小された前記縮小画像データ中の画質補正処理対象候補の領域を特定し、当該画質補正処理対象候補の領域をリストアップしてこれを前記メモリ手段に一時的に保存する画質補正処理対象候補抽出手段と、
前記画質補正処理対象候補抽出手段によってリストアップされた前記領域が画質補正対象となるか否かを判定する画質補正対象判定手段と、
前記画質補正対象判定手段によって画質補正対象となると判定された前記領域に対応する前記画像データの領域に所定の画質補正処理を施す画質補正処理手段と、
前記メモリ手段によって保存された前記画像データを当該メモリ手段から読み出して、前記画質補正処理手段によって画質補正処理が施された前記領域と、前記メモリ手段から読み出した前記画像データの該当する領域とを置換する画像データ置換手段と、
を備えることを特徴とする画像処理装置。 Image data acquisition means for acquiring image data;
Image data reduction means for generating reduced image data obtained by reducing the image data to a predetermined size;
Memory means for temporarily storing the image data acquired by the image data acquisition means and the reduced image data generated by the image data reduction means;
An area for image quality correction process candidate candidates in the reduced image data reduced by the image data reduction means is specified, and the areas of the image quality correction process target candidates are listed and temporarily stored in the memory means. Image quality correction processing target candidate extraction means;
Image quality correction target determination means for determining whether or not the area listed by the image quality correction processing target candidate extraction means is an image quality correction target;
Image quality correction processing means for applying a predetermined image quality correction process to the area of the image data corresponding to the area determined to be an image quality correction target by the image quality correction target determination means;
The image data stored by the memory means is read from the memory means, and the area subjected to image quality correction processing by the image quality correction processing means and the corresponding area of the image data read from the memory means Image data replacing means for replacing;
An image processing apparatus comprising:
前記画像データを所定のサイズに縮小した縮小画像データを生成する画像データ縮小工程と、
前記画像データ取得工程によって取得された前記画像データと、前記画像データ縮小工程によって生成された前記縮小画像データとを一時的にメモリ手段に保存する画像データ保存工程と、
前記画像データ縮小工程によって縮小された前記縮小画像データ中の画質補正処理対象候補の領域を特定し、当該画質補正処理対象候補の領域をリストアップしてこれを一時的に前記メモリ手段に保存する画質補正処理対象候補抽出工程と、
前記画質補正処理対象候補抽出工程によってリストアップされた前記領域が画質補正対象となるか否かを判定する画質補正対象判定工程と、
前記画質補正対象判定工程によって画質補正対象となると判定された前記領域に対応する前記画像データの領域に所定の画質補正処理を施す画質補正処理工程と、
前記画像データ保存工程によって前記メモリ手段に保存された前記画像データを当該メモリ手段から読み出して、前記画質補正処理工程によって画質補正処理が施された前記領域と、前記メモリ手段から読み出した前記画像データの該当する領域とを置換する画像データ置換工程と、
を含んだことを特徴とする画像処理方法。 An image data acquisition process for acquiring image data;
An image data reduction step for generating reduced image data obtained by reducing the image data to a predetermined size;
An image data storage step for temporarily storing in the memory means the image data acquired by the image data acquisition step and the reduced image data generated by the image data reduction step;
The image quality correction processing candidate area in the reduced image data reduced by the image data reduction process is specified, and the image quality correction process candidate area is listed and temporarily stored in the memory means. Candidate extraction process for image quality correction processing; and
An image quality correction target determination step for determining whether or not the region listed in the image quality correction processing target candidate extraction step is an image quality correction target;
An image quality correction processing step of performing a predetermined image quality correction process on an area of the image data corresponding to the area determined to be an image quality correction target by the image quality correction target determination process;
The image data saved in the memory means by the image data saving step is read out from the memory means, the area subjected to the image quality correction processing by the image quality correction processing step, and the image data read from the memory means An image data replacement step of replacing the corresponding area of
An image processing method comprising:
A computer-readable recording medium on which the image processing program according to claim 9 is recorded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005094799A JP2006279455A (en) | 2005-03-29 | 2005-03-29 | Image processing apparatus, image processing method, image processing program and recoding medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005094799A JP2006279455A (en) | 2005-03-29 | 2005-03-29 | Image processing apparatus, image processing method, image processing program and recoding medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006279455A true JP2006279455A (en) | 2006-10-12 |
Family
ID=37213741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005094799A Withdrawn JP2006279455A (en) | 2005-03-29 | 2005-03-29 | Image processing apparatus, image processing method, image processing program and recoding medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006279455A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008047647A1 (en) | 2006-10-13 | 2008-04-24 | Sharp Kabushiki Kaisha | Mobile communication terminal |
JP2013236177A (en) * | 2012-05-07 | 2013-11-21 | Canon Inc | Image formation apparatus |
-
2005
- 2005-03-29 JP JP2005094799A patent/JP2006279455A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008047647A1 (en) | 2006-10-13 | 2008-04-24 | Sharp Kabushiki Kaisha | Mobile communication terminal |
JP2013236177A (en) * | 2012-05-07 | 2013-11-21 | Canon Inc | Image formation apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4780917B2 (en) | Printing device | |
JP2005212137A (en) | Image forming apparatus and its control program | |
US7815380B2 (en) | Method and apparatus for creating new folder in built-in storage of image forming apparatus, and method and apparatus for storing data using the same | |
JP4675861B2 (en) | Printing apparatus, computer program for controlling printing apparatus, and method for controlling printing apparatus | |
JP2006279455A (en) | Image processing apparatus, image processing method, image processing program and recoding medium | |
US7916329B2 (en) | Print job management device, print job management method and recording medium | |
JP2014124925A (en) | Image processing apparatus | |
US10423355B2 (en) | Information processing apparatus and recording medium | |
JP5100191B2 (en) | Information processing apparatus and information processing method | |
JP2006268493A (en) | Image processor, image processing method program and recording medium | |
JP2008194888A (en) | Printing apparatus, its controlling method, program and storing medium | |
JP2006116859A (en) | Image forming apparatus | |
JP2006197467A (en) | Image forming apparatus | |
JP4775655B2 (en) | Image processing apparatus and image processing program | |
JP2006163774A (en) | Processing system for plurality of images | |
CN103731579B (en) | The device of multiple setting item can be set | |
US10554840B2 (en) | Image forming apparatus and non-transitory computer readable recording medium | |
US10877932B2 (en) | Information processing apparatus and recording medium | |
JP6927119B2 (en) | Image forming device | |
JP2006142615A (en) | Direct printer | |
JP2009147887A (en) | Image processing apparatus | |
JP2006256221A (en) | Printing processing device, printing processing method, printing processing program and recording medium | |
JP2007034595A (en) | Image retrieving device | |
JP2007065720A (en) | Print information processor, print information processing method, and print information processing program | |
JP2007199996A (en) | Document display system, information generation device and information display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20070404 |
|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080603 |