JP2011024050A - Image processing apparatus, and image processing method - Google Patents
Image processing apparatus, and image processing method Download PDFInfo
- Publication number
- JP2011024050A JP2011024050A JP2009168277A JP2009168277A JP2011024050A JP 2011024050 A JP2011024050 A JP 2011024050A JP 2009168277 A JP2009168277 A JP 2009168277A JP 2009168277 A JP2009168277 A JP 2009168277A JP 2011024050 A JP2011024050 A JP 2011024050A
- Authority
- JP
- Japan
- Prior art keywords
- correction
- mtf
- frequency component
- amount
- correction amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
【課題】MTF補正後の画像データが出力画像データ範囲を超える値となる場合、クリッピング等の処理が必要となり、十分な補正を行うことができない。
【解決手段】補正量算出部106で、画像出力装置103のMTFデータに基づいて各周波数成分ごとの補正量を算出する。各補正量を用いてMTF補正を行った補正後の画像データが画像出力データ範囲を超える場合、補正量制限部108で該周波数成分の補正量を制限して補正制限量を算出する。そして、該補正制限量を、当該周波数成分とは異なる他の周波数成分で補償するように、補償用周波数成分選択部109で他の周波数成分を選択し、補正制限量補償部110でそれぞれに対する補償用の補正量を算出する。そして周波数変換部112では、以上のように算出された各補正量に基づき、各周波数成分を変換する。
【選択図】 図1When image data after MTF correction has a value exceeding the output image data range, processing such as clipping is required, and sufficient correction cannot be performed.
A correction amount calculation unit calculates a correction amount for each frequency component based on MTF data of an image output apparatus. When the corrected image data obtained by performing the MTF correction using each correction amount exceeds the image output data range, the correction amount limiting unit 108 limits the correction amount of the frequency component and calculates the correction limit amount. Then, another frequency component is selected by the compensation frequency component selection unit 109 so that the correction limit amount is compensated by another frequency component different from the frequency component, and the correction limit amount compensation unit 110 compensates for each. The amount of correction for use is calculated. Then, the frequency conversion unit 112 converts each frequency component based on each correction amount calculated as described above.
[Selection] Figure 1
Description
本発明は、画像出力装置に出力する画像データに対し、該画像出力装置に応じたMTF補正を施す画像処理装置および画像処理方法に関する。 The present invention relates to an image processing apparatus and an image processing method for performing MTF correction corresponding to an image output apparatus on image data output to the image output apparatus.
近年、パーソナルコンピュータ等の普及に伴い、デジタル画像データが広く普及し、プリンタ等の画像出力装置でデジタル画像データを出力する機会が増えている。一般に画像出力装置においては、その周波数特性であるMTF(Modulation Transfer Function)によって、出力する画像の周波数特性に変調が生じてしまう。この変調により、文字や画像エッジ部の細り、かすれ、切れ等、先鋭度に関する画質劣化が発生する。そこで、画像出力装置のMTFによる画質劣化に対応するために、画像処理によるMTF補正(エッジ強調等)が行われる。一般にMTF補正としては、畳み込み積分による実空間でのフィルタリングによって画像信号を補正する。例えば、注目画素とその前後画素とのレベル差からMTF補正の程度の強弱を制御し、注目画素に対してMTF補正演算を行うことで、空間周波数の高い領域における再生画像の画質劣化を低減する方法が知られている(例えば、特許文献1参照)。 In recent years, with the spread of personal computers and the like, digital image data has become widespread, and the opportunity to output digital image data with an image output device such as a printer has increased. In general, in an image output device, the frequency characteristics of an output image are modulated by MTF (Modulation Transfer Function) which is the frequency characteristics. This modulation causes image quality deterioration related to sharpness such as thinning, fading, and cutting of characters and image edge portions. Therefore, in order to cope with image quality degradation due to MTF of the image output apparatus, MTF correction (edge enhancement or the like) by image processing is performed. In general, as MTF correction, an image signal is corrected by filtering in real space by convolution integration. For example, the level of MTF correction is controlled based on the level difference between the target pixel and the pixels before and after the target pixel, and the MTF correction calculation is performed on the target pixel, thereby reducing image quality degradation of a reproduced image in a region having a high spatial frequency. A method is known (see, for example, Patent Document 1).
しかしながら、上記フィルタリングによるMTF補正方法では、例えば8ビット画像を処理した場合、補正後の画像データが0未満、または255を越える値となった場合に、クリッピング等によってこれを0〜255の出力データ範囲内に収める必要がある。したがって、特に画像出力機器のMTFによって生じる最大濃度、最小濃度の劣化量を十分に補償することができない。 However, in the MTF correction method based on the above filtering, for example, when an 8-bit image is processed and the corrected image data is less than 0 or exceeds 255, this is output as 0 to 255 output data by clipping or the like. Must be within range. Accordingly, it is not possible to sufficiently compensate for the maximum density and minimum density degradation caused by the MTF of the image output device.
このような、補正後の画像データが出力データ範囲を超えてしまう場合の処理として、以下のような方法が知られている。例えば、エッジ強調処理に伴うクリッピングによって画像の濃度変化が生じるため、クリッピング後の上限値または下限値との差分を周囲の画素に反映させることで、濃度を保存する方法が開示されている(例えば、特許文献2参照)。また、MTFによる画質劣化である、文字や画像エッジ部の細り、かすれ、切れ等を低減させるために、画像データとその遅延データ、または、注目画素と隣接画素との最大濃度データを注目画素データとする方法が知られている(例えば、特許文献3参照)。この方法によれば、エッジ強調を行わないため濃度変化が生じず、したがってクリッピングを行うことなく、エッジ部の画像を膨張させることができる。 The following methods are known as processing when the corrected image data exceeds the output data range. For example, since the density change of an image occurs due to clipping accompanying edge enhancement processing, a method of storing density by reflecting a difference from an upper limit value or a lower limit value after clipping in surrounding pixels is disclosed (for example, , See Patent Document 2). In addition, in order to reduce the thinning, blurring, cutting, etc. of characters and image edges, which are image quality degradation due to MTF, the image data and its delay data, or the maximum density data of the target pixel and adjacent pixels are used as the target pixel data. (For example, refer to Patent Document 3). According to this method, since edge enhancement is not performed, a density change does not occur. Therefore, an image of an edge portion can be expanded without performing clipping.
しかしながら、画像出力機器のMTFによる画質劣化の程度は画像の周波数成分によって異なるため、その劣化量に応じてMTF補正量も変化し、該MTF補正の際に生じるクリッピングの程度も、周波数成分と画像データに依存して変化してしまう。このように、クリッピングの程度が周波数成分と画像データに依存して変化する場合、上記従来のクリッピングに対する補正方法では、画像出力時に生じる周波数成分ごとの画質劣化を補償することはできないという問題があった。 However, since the degree of image quality degradation due to the MTF of the image output device differs depending on the frequency component of the image, the MTF correction amount also changes according to the amount of degradation, and the degree of clipping that occurs during the MTF correction also depends on the frequency component and the image. It changes depending on the data. As described above, when the degree of clipping changes depending on the frequency component and the image data, there is a problem that the above-described conventional correction method for clipping cannot compensate for image quality degradation for each frequency component that occurs during image output. It was.
また、上記特許文献2に記載された上限または下限値との差分を周囲の画素に反映させる方法においても、画像の局所領域内における濃度を保存することはできるものの、画像劣化後の最大濃度や最小濃度を補償することは考慮されていなかった。 Also, in the method of reflecting the difference between the upper limit or the lower limit value described in Patent Document 2 on the surrounding pixels, the density in the local region of the image can be stored, but the maximum density after image degradation or Compensating for the minimum concentration was not considered.
また、上記特許文献3に記載されたエッジ部の画像を膨張させる方法では、文字や画像エッジ等の高周波成分における画質劣化を低減させることはできるものの、画像出力機器のMTFによって生じる全周波数帯域での画質劣化については考慮されていなかった。また、画像劣化後の最大濃度や最小濃度を補償することも考慮されていなかった。 In addition, the method of expanding the image of the edge portion described in Patent Document 3 can reduce image quality deterioration in high-frequency components such as characters and image edges, but can be used in all frequency bands generated by the MTF of the image output device. The image quality degradation of was not considered. Further, compensation for the maximum density and the minimum density after image degradation has not been considered.
本発明は上記問題を解決するためになされたものであり、以下の機能を有する画像処理装置および画像処理方法を提供することを目的とする。すなわち、MTF補正時に制限が必要となる周波数成分の補正量を、他の周波数成分によって補償することで、適切なMTF補正を可能とする。 SUMMARY An advantage of some aspects of the invention is to provide an image processing apparatus and an image processing method having the following functions. That is, appropriate MTF correction can be performed by compensating the correction amount of the frequency component that needs to be limited at the time of MTF correction with other frequency components.
上記目的を達成するための一手段として、本発明の画像処理装置は以下の構成を備える。 As a means for achieving the above object, an image processing apparatus of the present invention comprises the following arrangement.
すなわち、画像出力装置に出力する画像データに対し、該画像出力装置に応じたMTF補正を施す画像処理装置であって、前記画像出力装置のMTF特性を取得するMTF取得手段と、前記画像データの周波数成分を取得する周波数成分取得手段と、前記周波数成分取得手段で取得された各周波数成分について、前記MTF取得手段で取得されたMTF特性に基づいて、前記MTF補正を施す際の補正量を算出する補正量算出手段と、前記各周波数成分のうち、前記補正量の制限が必要となる第1の周波数成分について、該補正量を制限した制限後補正量と、該制限による該補正量の変化分である補正制限量を算出する補正量制限手段と、前記補正制限量を、前記第1の周波数成分とは異なる第2の周波数成分で補償するように、該第2の周波数成分に対する補償用補正量を算出し、該第2の周波数成分についての前記補正量に該補償用補正量を合成して補償後補正量を算出する補正制限量補償手段と、前記補正量、前記制限後補正量、および前記補償後補正量に基づいて、前記MTF補正を行うMTF補正手段と、を有することを特徴とする。 That is, an image processing device that performs MTF correction according to an image output device for image data to be output to the image output device, the MTF acquisition means for acquiring the MTF characteristics of the image output device, and the image data A frequency component acquisition unit for acquiring a frequency component, and a correction amount for performing the MTF correction for each frequency component acquired by the frequency component acquisition unit based on the MTF characteristics acquired by the MTF acquisition unit A correction amount calculation means for performing the correction, the post-limit correction amount limiting the correction amount for the first frequency component that needs to be limited among the frequency components, and the change in the correction amount due to the limitation Correction amount limiting means for calculating a correction limit amount that is a minute, and the second frequency so that the correction limit amount is compensated with a second frequency component different from the first frequency component. A correction limit amount compensation means for calculating a compensation correction amount for several components, and combining the compensation correction amount with the correction amount for the second frequency component to calculate a post-compensation correction amount; and the correction amount, MTF correction means for performing the MTF correction based on the post-limit correction amount and the post-compensation correction amount.
上記構成からなる本発明によれば、MTF補正時に制限が必要となる周波数成分の補正量を、他の周波数成分によって補償することで、適切なMTF補正が可能となる。 According to the present invention having the above-described configuration, it is possible to perform appropriate MTF correction by compensating the correction amount of the frequency component that needs to be limited at the time of MTF correction with the other frequency components.
以下、添付の図面を参照して、本発明をその好適な実施形態に基づいて詳細に説明する。なお、以下の実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。 Hereinafter, the present invention will be described in detail based on preferred embodiments with reference to the accompanying drawings. The configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations.
<第1実施形態>
●システム構成
本実施形態に係る画像処理装置の構成について、図1のブロック図を参照して説明する。まず101が本実施形態の画像処理装置であり、102はMTF補正処理の対象となる画像データを保持する画像保持部、103は画像データを印刷するための、インクジェットプリンタあるいは電子写真プリンタ等の画像出力装置である。
<First Embodiment>
System Configuration The configuration of the image processing apparatus according to this embodiment will be described with reference to the block diagram of FIG. First, 101 is an image processing apparatus of the present embodiment, 102 is an image holding unit that holds image data to be subjected to MTF correction processing, and 103 is an image such as an inkjet printer or an electrophotographic printer for printing image data. Output device.
画像処理装置101において、104は画像出力装置103のMTF特性を保持する、MTF保持部である。105は画像保持部102に保持されている画像データを、周波数空間のデータへと変換する周波数成分取得部である。106は、MTF保持部104に保持されているMTF特性に基づいて、各周波数成分のMTF補正量を算出する補正量算出部である。107は、画像出力装置103における出力可能な画像データ範囲に基づいて、補正量算出部106で算出された補正量に対して制限を行う必要があるか否かを判別する制限判別部である。 In the image processing apparatus 101, reference numeral 104 denotes an MTF holding unit that holds the MTF characteristics of the image output apparatus 103. Reference numeral 105 denotes a frequency component acquisition unit that converts image data held in the image holding unit 102 into frequency space data. Reference numeral 106 denotes a correction amount calculation unit that calculates the MTF correction amount of each frequency component based on the MTF characteristics held in the MTF holding unit 104. Reference numeral 107 denotes a restriction determination unit that determines whether or not it is necessary to limit the correction amount calculated by the correction amount calculation unit 106 based on a range of image data that can be output by the image output apparatus 103.
108は、制限判別部107によって補正量に制限を行う必要があると判別された場合に、該当する周波数成分について、その補正量を制限した制限後補正量と、該制限による補正量の変化分である補正制限量を算出する補正量制限部である。109は、補正量が制限された場合に、該補正制限量を補償するために用いる、他の周波数成分を選択する補償用周波数成分選択部である。110は、補償用周波数成分選択部109によって選択された周波数成分の補償用補正量を、補正量制限部108で算出された補正制限量に基づいて算出する補正制限量補償部である。ここで算出された補償用補正量は、補正量算出部106で算出された、同周波数成分の補正量と合成されることによって、補償後補正量が算出される。 108, when it is determined that the correction amount needs to be limited by the limit determination unit 107, for a corresponding frequency component, a post-limit correction amount that limits the correction amount and a change in the correction amount due to the limitation. This is a correction amount limiting unit that calculates the correction limit amount. Reference numeral 109 denotes a compensation frequency component selection unit that selects another frequency component used to compensate for the correction restriction amount when the correction amount is restricted. Reference numeral 110 denotes a correction limit amount compensation unit that calculates a compensation correction amount for the frequency component selected by the compensation frequency component selection unit 109 based on the correction limit amount calculated by the correction amount restriction unit 108. The compensation correction amount calculated here is combined with the correction amount of the same frequency component calculated by the correction amount calculation unit 106, thereby calculating a post-compensation correction amount.
111は、補正量算出部106で算出された補正量、補正量制限部108で算出された制限後補正量、及び補正制限量補償部110によって算出された補償後補正量を用いてMTF補正を行うMTF補正部である。112は、MTF補正部111によってMTF補正が施された周波数空間のデータを、画像出力装置103で出力する際の実空間画像データに変換する、出力画像データ算出部である。 111 denotes MTF correction using the correction amount calculated by the correction amount calculation unit 106, the post-limit correction amount calculated by the correction amount limit unit 108, and the post-compensation correction amount calculated by the correction limit amount compensation unit 110. This is an MTF correction unit to be performed. Reference numeral 112 denotes an output image data calculation unit that converts frequency space data that has been subjected to MTF correction by the MTF correction unit 111 into real space image data that is output by the image output device 103.
●MTF補正全体処理
以下、上記構成からなる本実施形態の画像処理装置101におけるMTF補正処理について、図2のフローチャートを用いて説明する。
MTF correction overall processing Hereinafter, the MTF correction processing in the image processing apparatus 101 of the present embodiment having the above-described configuration will be described with reference to the flowchart of FIG.
まずS201で、画像保持部102に保持されている処理対象の画像データを取得する。次にS202では周波数成分取得部105において、S201で取得した実空間上の画像データを、フーリエ変換等の処理を施すことによって周波数空間データへと変換する。次にS203では、MTF保持部104に保持されている画像出力装置103のMTF特性から、補正対象となる全ての周波数成分のMTFデータを取得する。次にS204では補正量算出部106において、S203で取得したMTFデータに基づき、画像のMTF補正に用いる補正量を、補正対象となる全ての周波数成分について算出する。ここでの補正量は、MTF補正によって、画像の周波数特性が画像出力装置103のMTFによる劣化前と等しくなるように、算出される。この補正量算出処理の詳細については後述する。 First, in step S <b> 201, processing target image data held in the image holding unit 102 is acquired. In step S202, the frequency component acquisition unit 105 converts the image data in the real space acquired in step S201 into frequency space data by performing processing such as Fourier transform. In step S <b> 203, MTF data of all frequency components to be corrected is acquired from the MTF characteristics of the image output apparatus 103 held in the MTF holding unit 104. In step S204, the correction amount calculation unit 106 calculates the correction amount used for MTF correction of the image for all frequency components to be corrected based on the MTF data acquired in step S203. The correction amount here is calculated by MTF correction so that the frequency characteristic of the image becomes equal to that before the deterioration of the image output apparatus 103 due to MTF. Details of this correction amount calculation processing will be described later.
次にS205では制限判別部107において、S204で算出したそれぞれの補正量について、該補正量を用いてMTF補正を行った場合に、該補正量に対して制限が必要となるか否かを判断する。この判断は、それぞれの補正量による周波数変換、すなわちMTF補正によって得られるであろう補正後画像データが、画像出力装置103で出力可能な画像データ範囲内にあるか否かに基づいて行わる。すなわち、MTF補正後の画像データが出力可能な画像データ範囲外であれば、クリッピングにより十分な補正が行えない可能性があるため、そのような周波数成分については補正量に制限が必要であると判断される。ここで制限が必要であると判断された場合にはS206に移行し、制限が必要でないと判断された場合にはS208へと移行する。 Next, in S205, when the limit determination unit 107 performs MTF correction using the correction amount for each correction amount calculated in S204, it is determined whether or not the correction amount needs to be limited. To do. This determination is made based on whether or not the corrected image data that would be obtained by frequency conversion based on the respective correction amounts, that is, MTF correction, is within the image data range that can be output by the image output device 103. That is, if the image data after MTF correction is out of the image data range that can be output, there is a possibility that sufficient correction cannot be performed by clipping. Therefore, it is necessary to limit the correction amount for such frequency components. To be judged. If it is determined that the restriction is necessary, the process proceeds to S206. If it is determined that the restriction is not necessary, the process proceeds to S208.
S206では補正量制限部108において、S204で算出した補正量を、MTF補正後の画像データが画像出力装置103において出力可能な範囲内に収まるように制限した制限後補正量と、該制限による補正量の変化分である補正制限量を算出する。そしてS207で補償用周波数成分選択部109および補正制限量補償部110において、S206で算出された補正制限量を、他の周波数成分を用いて補償する。この補償処理の詳細については後述する。 In S206, the correction amount restriction unit 108 restricts the correction amount calculated in S204 so that the image data after MTF correction falls within the range that can be output by the image output device 103, and the correction by the restriction. A correction limit amount that is a change in the amount is calculated. In step S207, the compensation frequency component selection unit 109 and the correction limit amount compensation unit 110 compensate the correction limit amount calculated in step S206 using other frequency components. Details of this compensation processing will be described later.
S208ではMTF補正部111において、S204で算出された補正量、S206で算出された補正制限量によって制限された補正量、およびS207で補償された補正量を用いて、周波数成分ごとのMTF補正を行う。なお、このMTF補正処理の詳細については後述する。 In S208, the MTF correction unit 111 performs MTF correction for each frequency component using the correction amount calculated in S204, the correction amount limited by the correction limit calculated in S206, and the correction amount compensated in S207. Do. Details of the MTF correction process will be described later.
次にS209では出力画像データ算出部112において、S208でMTF補正が施された周波数空間データを、逆フーリエ変換等の処理を施すことによって実空間データへ変換し、画像出力装置103に該実空間データを出力画像データとして送信する。そしてS210では画像出力装置103において、S209で送信された出力画像データを出力(プリントアウト)し、処理を終了する。 In step S209, the output image data calculation unit 112 converts the frequency space data subjected to MTF correction in step S208 into real space data by performing processing such as inverse Fourier transform, and the image output device 103 receives the real space data. Data is transmitted as output image data. In S210, the image output apparatus 103 outputs (prints out) the output image data transmitted in S209, and the process ends.
●補正量の算出処理
以下、上記S204における、MTFデータに基づいて補正量を算出する処理について、詳細に説明する。
Correction Amount Calculation Processing Hereinafter, the processing for calculating the correction amount based on the MTF data in S204 will be described in detail.
画像出力装置103のMTFによる画質劣化は、周波数空間において、出力する画像データと劣化を表すMTFとの乗算値として、以下に示す式(1)のように表現される。 The image quality degradation due to the MTF of the image output apparatus 103 is expressed by the following equation (1) as a multiplication value of the output image data and the MTF representing the degradation in the frequency space.
G(u,v)=F(u,v)×H(u,v) ・・・(1)
式(1)において、F(u,v)は画像出力装置103に入力される出力対象の画像データを表し、H(u,v)は画像出力装置103のMTF特性、即ち劣化関数を表す。そしてG(u,v)は、画像出力装置103より、MTFによる劣化を伴って出力された画像を表す。
G (u, v) = F (u, v) × H (u, v) (1)
In Expression (1), F (u, v) represents image data to be output input to the image output apparatus 103, and H (u, v) represents the MTF characteristic of the image output apparatus 103, that is, a deterioration function. G (u, v) represents an image output from the image output apparatus 103 with deterioration due to MTF.
式(1)で示される画像の劣化に対し、MTF補正を行う方法として、画像復元フィルタを用いた画像復元方法が知られている。MTF補正に用いられる画像復元フィルタとしては、逆フィルタやウィナーフィルタが一般的である。例えば逆フィルタは、以下の式(2)に示すように、劣化関数であるH(u,v)の逆関数を用いたI(u,v)によって表される。 An image restoration method using an image restoration filter is known as a method for performing MTF correction for image degradation represented by the equation (1). As an image restoration filter used for MTF correction, an inverse filter or a Wiener filter is generally used. For example, the inverse filter is represented by I (u, v) using an inverse function of H (u, v), which is a degradation function, as shown in the following equation (2).
I(u,v)=1/H(u,v) ・・・(2)
しかしながら、逆フィルタは、ノイズ成分を考慮した設計がなされていないため、劣化画像にノイズがのっている場合には、ノイズ成分まで強調してしまうことがある。そこで、ノイズ成分を制御した画像復元フィルタとして、以下の式(3)で示されるウィナーフィルタが知られている。
I (u, v) = 1 / H (u, v) (2)
However, since the inverse filter is not designed in consideration of the noise component, when the degraded image has noise, the noise component may be emphasized. Therefore, a Wiener filter represented by the following expression (3) is known as an image restoration filter in which a noise component is controlled.
W(u,v)=Hc(u,v)/(|H(u,v)|2+Γ) ・・・(3)
式(3)において、W(u,v)がウィナーフィルタであり、H(u,v)は劣化関数、Hc(u,v)はH(u,v)の複素共役、Гはノイズ成分を制御するパラメータ、を表す。
W (u, v) = Hc (u, v) / (| H (u, v) | 2 + Γ) (3)
In Equation (3), W (u, v) is a Wiener filter, H (u, v) is a degradation function, Hc (u, v) is a complex conjugate of H (u, v), and Γ is a noise component. Represents the parameter to be controlled.
本実施形態における補正量は、MTF補正フィルタのフィルタ係数に相当し、上記いずれかの画像復元フィルタにおいて、劣化関数H(u,v)として画像出力装置103のMTF特性を用いることで算出される。ただし、使用する画像復元フィルタとしては、画像の劣化を復元できるものであれば、その形式は上記2種類のフィルタに限定されない。 The correction amount in the present embodiment corresponds to the filter coefficient of the MTF correction filter, and is calculated by using the MTF characteristic of the image output apparatus 103 as the deterioration function H (u, v) in any one of the image restoration filters. . However, the format of the image restoration filter to be used is not limited to the above two types of filters as long as the degradation of the image can be restored.
また、1次元のMTF補正フィルタ係数を用いて、2次元のMTF補正フィルタを作成することも可能である。この作成方法としては、1次元のMTF補正フィルタ係数を原点中心に回転させる方法や、2方向のMTF補正フィルタ係数を用いて、その間を補間する方法、また、複数方向のMTF補正フィルタ係数を用いてその間を補間する方法、等がある。ただし、2次元フィルタの作成方法は、これら方法に限定されるものではない。 It is also possible to create a two-dimensional MTF correction filter using a one-dimensional MTF correction filter coefficient. As a creation method, a method of rotating a one-dimensional MTF correction filter coefficient around the origin, a method of interpolating between two directions of MTF correction filter coefficients, or a method of using MTF correction filter coefficients in a plurality of directions. There is a method of interpolating between them. However, the method of creating a two-dimensional filter is not limited to these methods.
●補正量の補償処理
以下、上記S207における、S206で算出された補正制限量を他の周波数成分を用いて補償する処理について、図3のフローチャートを用いて詳細に説明する。以下、補正制限量が算出された周波数成分を注目周波数成分(第1の周波数成分)とし、該注目周波数成分の補正制限量の補償に用いられる他の周波数成分を補償用周波数成分(第2の周波数成分)と称する。
Correction amount compensation processing Hereinafter, the processing for compensating the correction limit amount calculated in S206 using other frequency components in S207 will be described in detail with reference to the flowchart of FIG. Hereinafter, the frequency component for which the correction limit amount is calculated is referred to as a target frequency component (first frequency component), and other frequency components used for compensation of the correction limit amount of the target frequency component are used as compensation frequency components (second frequency component). Frequency component).
まずS301で補償用周波数成分選択部109において、注目周波数成分における補正制限量の補償に用いられる他の周波数成分を、補償用周波数成分として選択する。 First, in S301, the compensation frequency component selection unit 109 selects another frequency component used for compensation of the correction limit amount in the frequency component of interest as the compensation frequency component.
次にS302では補正制限量補償部110において、S206で算出された補正制限量に基づいて、S301で選択された補償用周波数成分のそれぞれに割り当てる補償用補正量を算出する。 In step S302, the correction limit amount compensation unit 110 calculates a compensation correction amount to be assigned to each of the compensation frequency components selected in step S301 based on the correction limit amount calculated in step S206.
ここで決定される補償用周波数成分とそれぞれの補償用補正量は、注目周波数成分と、その補償前の補正量によるMTF補正後の画像データにおける出力可能な画像データ範囲との差分に基づき、適応的に調整される。例えば、実験等に基づいて最適な周波数成分およびその補正量を設定すればよい。 The compensation frequency components determined here and the respective compensation correction amounts are adaptive based on the difference between the frequency component of interest and the image data range that can be output in the image data after MTF correction by the compensation amount before the compensation. Adjusted. For example, an optimal frequency component and its correction amount may be set based on experiments or the like.
そしてS303では補正制限量補償部110において、S204で取得した各周波数成分の補正量のうち、補償用周波数成分に対応する補正量に対し、S302で算出した補償用補正量を合成する。これにより、補償用周波数成分について、本実施形態のMTF補正に用いられる補償後補正量が算出される。 In S303, the correction limit compensation unit 110 synthesizes the compensation correction amount calculated in S302 with the compensation amount corresponding to the compensation frequency component among the compensation amounts of the frequency components acquired in S204. Thereby, the post-compensation correction amount used for the MTF correction of the present embodiment is calculated for the compensation frequency component.
このように本実施形態においては、注目周波数成分に対する補正制限量を、補償用周波数成分によって補償する。このとき、ある周波数成分における補正量は、以下の式(4)に示すようにモデル化される。 As described above, in this embodiment, the correction limit amount with respect to the frequency component of interest is compensated by the compensation frequency component. At this time, the correction amount in a certain frequency component is modeled as shown in the following equation (4).
C(f)={k(f,f)+k(f,f2)+k(f,f3)+…}×D(f) ・・・(4)
式(4)において、D(f)はMTF補正前の周波数成分fを示し、C(f)はMTF補正後の周波数成分fを示す。そして、k(f,f)はS206で算出された周波数成分fの制限後補正量を示し、k(f,f2),k(f,f3)はそれぞれ、周波数成分f2,f3においてその補正制限量を補償するために周波数成分fを用いた際の、周波数成分fの補償用補正量を示す。
C (f) = {k (f, f) + k (f, f2) + k (f, f3) + ...} × D (f) (4)
In equation (4), D (f) represents the frequency component f before MTF correction, and C (f) represents the frequency component f after MTF correction. K (f, f) represents the post-limit correction amount of the frequency component f calculated in S206, and k (f, f2) and k (f, f3) are correction limits for the frequency components f2 and f3, respectively. The compensation amount for compensation of the frequency component f when the frequency component f is used to compensate the amount is shown.
ここで図6に、上記式(4)に対して具体的な数値を適用して、注目周波数成分の補正制限量を他の周波数成分(補償用周波数成分)を用いて補償したグラフを示す。すなわち図6は、本実施形態によるMTF補正前後の画像における周波数スペクトル例を示し、補償用周波数成分として、注目周波数の1/3周期の高周波成分を用いた例を示している。図6において、601が注目周波数成分、602がその補償処理に用いられる補償用周波数成分であり、注目周波数成分601をMTF補正する際に、補償用周波数成分についても補正量が発生している例を示している。すなわちこの場合、注目周波数成分601については補正制限量によって制限された補正量(制限後補正量)までの補正が施され、この補正制限量分が、補償用周波数成分602の補正量(補償後補正量)によって補償されていることが分かる。 Here, FIG. 6 shows a graph in which specific numerical values are applied to the above equation (4) and the correction limit amount of the frequency component of interest is compensated by using other frequency components (compensation frequency components). That is, FIG. 6 shows an example of a frequency spectrum in an image before and after MTF correction according to the present embodiment, and shows an example in which a high-frequency component of 1/3 period of the frequency of interest is used as a compensation frequency component. In FIG. 6, reference numeral 601 denotes a target frequency component, reference numeral 602 denotes a compensation frequency component used for the compensation process, and when the target frequency component 601 is subjected to MTF correction, a correction amount is also generated for the compensation frequency component. Is shown. That is, in this case, the attention frequency component 601 is corrected up to the correction amount limited by the correction limit amount (post-limit correction amount), and this correction limit amount is the correction amount of the compensation frequency component 602 (after compensation). It can be seen that the compensation is made by the correction amount.
ここで図7に、図6に示したMTF補正を正弦波データに適用した際の、各周波数成分の輝度プロフィールを示す。図7において、701がMTF補正前の注目周波数成分の正弦波データを示す。702は注目周波数成分における制限後補正量を示し、この例では、正弦波データ701の振幅の1/xに相当する。703は、補償用周波数成分の補正量(補償用補正量)を示す。この例では、注目周波数成分の1/3周期の高周波成分を、補償用周波数成分として用いている。この補償用周波数成分の補正量は、注目周波数成分の補正制限量等に応じて決定されるが、ここでは補償用補正量すなわち振幅を、注目周波数成分の制限後補正量702と等しくした例を示す。 FIG. 7 shows a luminance profile of each frequency component when the MTF correction shown in FIG. 6 is applied to sine wave data. In FIG. 7, reference numeral 701 denotes sine wave data of the frequency component of interest before MTF correction. Reference numeral 702 denotes a post-limit correction amount for the frequency component of interest, which corresponds to 1 / x of the amplitude of the sine wave data 701 in this example. Reference numeral 703 denotes a compensation amount of compensation frequency component (compensation compensation amount). In this example, a high frequency component of 1/3 period of the frequency component of interest is used as a compensation frequency component. The correction amount of the compensation frequency component is determined in accordance with the correction limit amount of the frequency component of interest and the like. Here, an example in which the compensation correction amount, that is, the amplitude, is equal to the post-limit correction amount 702 of the frequency component of interest. Show.
上述したように本実施形態の補償処理によれば、703に示す補償用周波数成分の補正量は、S204で取得した同じ周波数成分の補正量と合成され、MTF補正に用いられる。すると、このMTF処理による注目周波数fについての最終的な補正量は、704に示すように、702と703の正弦波を足し合わせたものに相当し、オリジナルの正弦波データ701に対してMTF補正後の正弦波データ705が得られる。705によれば、注目周波数成分の正弦波ピーク部の値、および正弦波の中心を変化させることなく、ピーク周辺部の濃度がピークの濃度に近い値に変換されていることが分かる。なお、本実施形態のMTF補正によれば、正弦波ピーク部の変化量は補正制限量に応じて低減するものであり、必ずしもゼロとはならない。 As described above, according to the compensation processing of the present embodiment, the correction amount of the compensation frequency component shown in 703 is combined with the correction amount of the same frequency component acquired in S204 and used for MTF correction. Then, the final correction amount for the target frequency f by this MTF processing is equivalent to the sum of the sine waves of 702 and 703 as indicated by 704, and the MTF correction is performed on the original sine wave data 701. Later sine wave data 705 is obtained. According to 705, it can be seen that the concentration at the peak peripheral portion is converted to a value close to the peak concentration without changing the value of the sine wave peak portion of the frequency component of interest and the center of the sine wave. According to the MTF correction of the present embodiment, the change amount of the sine wave peak portion is reduced according to the correction limit amount, and is not necessarily zero.
例えば、インクジェットプリンタの場合、ハイライト部における濃度は、周辺画素のドットゲインの影響で濃度増加が生じてしまい、結果としてMTFの劣化が生じてしまう。したがって図7に示すように、ピーク周辺部の濃度をピークの濃度に近づけることによって、周辺画素のドットゲインの影響を低減し、結果として、補正制限量を補償することが可能である。 For example, in the case of an ink jet printer, the density in the highlight portion increases due to the influence of the dot gain of surrounding pixels, and as a result, the MTF deteriorates. Therefore, as shown in FIG. 7, by making the density of the peak peripheral part close to the peak density, it is possible to reduce the influence of the dot gain of the peripheral pixels and to compensate the correction limit amount as a result.
図8は、本実施形態におけるMTF補正前後の輝度プロフィール例を示したグラフである。図8によれば上述したように、輝度の上限値および下限値について、それぞれの周辺部が該上限値および下限値に近づくように、MTF補正が行われていることが分かる。そして図9に、同じくMTF補正前後の正弦波画像例を示す。図9によれば、図8に示すように輝度の上限値および下限値にそれぞれの周辺部が近づくように補正されることによって、コントラストが強調され、MTFによる劣化が低減されていることが分かる。 FIG. 8 is a graph showing an example of a luminance profile before and after MTF correction in the present embodiment. According to FIG. 8, as described above, it can be seen that the MTF correction is performed on the upper limit value and the lower limit value of the luminance so that the respective peripheral portions approach the upper limit value and the lower limit value. FIG. 9 shows an example of a sine wave image before and after MTF correction. According to FIG. 9, it is understood that the contrast is enhanced and the deterioration due to MTF is reduced by correcting the peripheral portions to approach the upper limit value and the lower limit value of the luminance as shown in FIG. 8. .
ただし、本発明において注目周波数成分の補正制限量を補償する方法は、上記補償方法に限定されるものではない。 However, the method for compensating the correction limit amount of the frequency component of interest in the present invention is not limited to the above compensation method.
●MTF補正処理
以下、上記S208におけるMTF補正処理について詳細に説明する。本実施形態のMTF補正処理としては、一般的な画像復元フィルタを用いた画像復元を行うとする。
MTF correction processing The MTF correction processing in S208 will be described in detail below. As MTF correction processing of this embodiment, it is assumed that image restoration using a general image restoration filter is performed.
周波数空間でのフィルタリングは、MTF補正処理の対象画像と、実空間でのMTF補正フィルタとの乗算値として、以下の式(5)のように表現される。 The filtering in the frequency space is expressed as the following equation (5) as a multiplication value of the target image of the MTF correction process and the MTF correction filter in the real space.
Q(u,v)=P(u,v)×I(u,v) ・・・(5)
式(5)において、P(u,v)はMTF補正処理の対象画像データを表し、I(u,v)はMTF補正フィルタとしての逆フィルタを表し、Q(u,v)はMTF補正後の画像データを表す。ただし本実施形態における周波数変換処理はこの方法に限定されるものではない。
Q (u, v) = P (u, v) × I (u, v) (5)
In Equation (5), P (u, v) represents the target image data for the MTF correction processing, I (u, v) represents the inverse filter as the MTF correction filter, and Q (u, v) is the MTF corrected Represents the image data. However, the frequency conversion process in the present embodiment is not limited to this method.
以上説明したように本実施形態によれば、補正対象の画像データにおいて、通常のMTF補正では出力可能範囲を超えるために十分な補正が行えないと予想される周波数成分に対し、他の周波数成分を調整することによって、当該周波数成分の劣化量を補償する。これにより、画像出力装置において出力可能な画像データ範囲の上限または下限に近い周波数成分に対しても、適切なMTF補正を行うことが可能となる。 As described above, according to the present embodiment, in the image data to be corrected, other frequency components than the frequency components that are expected to be unable to be corrected sufficiently because the normal MTF correction exceeds the output possible range. Is adjusted to compensate for the deterioration amount of the frequency component. This makes it possible to perform appropriate MTF correction even for frequency components close to the upper limit or lower limit of the image data range that can be output by the image output apparatus.
<第2実施形態>
以下、本発明に係る第2実施形態について説明する。上述した第1実施形態では、注目周波数成分に対するMTF補正後の画像データが画像出力データ範囲を超えてしまう場合に、他の周波数成分による補償を行う例を示した。すなわち、該補償が必要か否かの判定を行う際には、全ての周波数成分に対するMTF補正後の値に基づき、実空間データへの変換を行って、画像出力データの値を得る必要があった。第2実施形態では、画像出力装置のMTFに基づいて、予め全ての周波数成分について、MTF補正による周波数変換後の上限値を設定しておき、周波数成分ごとに、他の周波数成分による補償が必要か否かを判定することを特徴とする。第2実施形態ではまた、画像出力装置のMTF特性を、測定によって取得する例を示す。
Second Embodiment
Hereinafter, a second embodiment according to the present invention will be described. In the first embodiment described above, when the image data after MTF correction with respect to the frequency component of interest exceeds the image output data range, an example in which compensation is performed using another frequency component has been described. That is, when determining whether or not the compensation is necessary, it is necessary to convert to real space data based on the values after MTF correction for all frequency components to obtain the values of the image output data. It was. In the second embodiment, an upper limit value after frequency conversion by MTF correction is set in advance for all frequency components based on the MTF of the image output apparatus, and compensation by other frequency components is required for each frequency component. It is characterized by determining whether or not. The second embodiment also shows an example in which the MTF characteristics of the image output apparatus are acquired by measurement.
●システム構成
第2実施形態に係る画像処理装置の構成について、図4のブロック図を参照して説明する。まず401が本実施形態の画像処理装置であり、402はMTF補正処理の対象となる画像データを保持する画像保持部、403は画像データを印刷するための、インクジェットプリンタあるいは電子写真プリンタ等の画像出力装置である。
System Configuration The configuration of the image processing apparatus according to the second embodiment will be described with reference to the block diagram of FIG. First, 401 is an image processing apparatus according to the present embodiment, 402 is an image holding unit that holds image data to be subjected to MTF correction processing, and 403 is an image such as an ink jet printer or an electrophotographic printer for printing image data. Output device.
画像処理装置401において、404は画像出力装置403のMTF特性を保持する、MTF保持部である。405は画像保持部402に保持されている画像データを、周波数空間のデータへと変換する周波数成分取得部である。406は、MTF保持部404に保持されているMTF特性に基づいて、各周波数成分のMTF補正量を算出する補正量算出部、である。 In the image processing apparatus 401, reference numeral 404 denotes an MTF holding unit that holds the MTF characteristics of the image output apparatus 403. Reference numeral 405 denotes a frequency component acquisition unit that converts the image data held in the image holding unit 402 into frequency space data. A correction amount calculation unit 406 calculates an MTF correction amount of each frequency component based on the MTF characteristics held in the MTF holding unit 404.
407は、MTF保持部404に保持されているMTF特性に基づいて、周波数成分ごとに周波数変換後の上限値を算出し、該上限値を用いて補正量に対する制限を行って、制限後補正量と、その変化分である補正制限量を算出する補正量制限部である。408は、注目周波数成分に対する補正制限量を補償するために用いる補償用周波数成分を選択する補償用周波数成分選択部である。409は、補償用周波数成分選択部408によって選択された補償用周波数成分の補正量(補償用補正量)を、補正量制限部407で算出された補正制限量に基づいて算出する補正制限量補償部である。ここで算出された補償用補正量は、補正量算出部406で算出された、同周波数成分の補正量と合成されることによって、補償後補正量が算出される。410は、補正量算出部406で算出された補正量、補正量制限部407で算出された制限後補正量、及び補正制限量補償部409で算出された補償後補正量を用いてMTF補正を行うMTF補正部である。411は、MTF補正部410によってMTF補正が施された周波数空間のデータを、画像出力装置403で出力する際の実空間画像データに変換する、出力画像データ算出部である。 Reference numeral 407 calculates an upper limit value after frequency conversion for each frequency component based on the MTF characteristic held in the MTF holding unit 404, performs a limit on the correction amount using the upper limit value, and performs a post-limit correction amount. And a correction amount limiting unit that calculates a correction limit amount corresponding to the change. Reference numeral 408 denotes a compensation frequency component selection unit that selects a compensation frequency component used to compensate the correction limit amount for the frequency component of interest. A correction limit amount compensation 409 calculates a correction amount (compensation correction amount) of the compensation frequency component selected by the compensation frequency component selection unit 408 based on the correction limit amount calculated by the correction amount restriction unit 407. Part. The compensation correction amount calculated here is combined with the correction amount of the same frequency component calculated by the correction amount calculation unit 406, thereby calculating a post-compensation correction amount. 410, MTF correction is performed using the correction amount calculated by the correction amount calculation unit 406, the post-limit correction amount calculated by the correction amount limit unit 407, and the post-compensation correction amount calculated by the correction limit amount compensation unit 409. This is an MTF correction unit to be performed. Reference numeral 411 denotes an output image data calculation unit that converts frequency space data that has been subjected to MTF correction by the MTF correction unit 410 into real space image data that is output by the image output device 403.
そして412は、画像出力装置403を用いて出力した周波数チャートから、画像出力装置103のMTF特性を測定するための、スキャナや顕微鏡等のチャート測定装置である。チャート測定装置412で測定されたMTF特性は、MTF保持部404に格納される。 Reference numeral 412 denotes a chart measuring device such as a scanner or a microscope for measuring the MTF characteristics of the image output device 103 from the frequency chart output using the image output device 403. The MTF characteristic measured by the chart measuring device 412 is stored in the MTF holding unit 404.
●MTF補正全体処理
以下、上記構成からなる第2実施形態の画像処理装置401におけるMTF補正処理について、図5のフローチャートを用いて説明する。
MTF Correction Overall Processing Hereinafter, the MTF correction processing in the image processing apparatus 401 according to the second embodiment having the above configuration will be described with reference to the flowchart of FIG.
まずS501において、チャート測定装置413を用いて、画像出力装置403のMTF特性を取得し、MTF保持部に格納する。なお、このMTF特性取得処理の詳細については後述する。 First, in S501, the chart measurement device 413 is used to acquire the MTF characteristic of the image output device 403 and store it in the MTF holding unit. Details of this MTF characteristic acquisition processing will be described later.
そしてS502で、画像保持部402に保持されている画像データを取得する。次にS503では、S502で取得した実空間上の画像データを、フーリエ変換等の処理を施すことによって周波数空間データへと変換する。次にS504では、MTF保持部404に保持されている画像出力装置403のMTF特性から、補正対象となる全ての周波数成分のMTFデータを取得する。次にS505では補正量算出部406において、S504で取得したMTFデータに基づき、画像のMTF補正に用いる補正量を、補正対象となる全ての周波数成分について算出する。この補正量は、上述した第1実施形態におけるS204と同様に、MTF補正によって画像の周波数特性が画像出力装置403のMTFによる劣化前と等しくなるように、算出される。 In step S502, the image data held in the image holding unit 402 is acquired. In step S503, the image data in the real space acquired in step S502 is converted into frequency space data by performing processing such as Fourier transform. In step S <b> 504, MTF data of all frequency components to be corrected is acquired from the MTF characteristics of the image output apparatus 403 held in the MTF holding unit 404. In step S505, the correction amount calculation unit 406 calculates a correction amount used for MTF correction of the image for all frequency components to be corrected based on the MTF data acquired in step S504. This correction amount is calculated so that the frequency characteristic of the image becomes equal to that before the deterioration by the MTF of the image output device 403 by the MTF correction, as in S204 in the first embodiment described above.
次にS506では補正量制限部407において、MTF保持部404に保持された、画像出力装置403のMTF特性に基づいて、周波数成分ごとに周波数変換後の上限値(補正上限値)を算出する。 In step S <b> 506, the correction amount restriction unit 407 calculates an upper limit value (correction upper limit value) after frequency conversion for each frequency component based on the MTF characteristic of the image output device 403 held in the MTF holding unit 404.
そしてS507では補正量制限部407において、S505で算出した補正量を、S506で算出した補正上限値に基づいて制限し、制限後補正量および補正制限量を算出する。すなわち、該補正量による周波数変換結果が補正上限値を超えるような注目周波数成分について、該周波数変換結果が該補正上限値を超えないように、補正制限量を算出する。 In S507, the correction amount limiting unit 407 limits the correction amount calculated in S505 based on the correction upper limit value calculated in S506, and calculates the post-limit correction amount and the correction limit amount. That is, for the frequency component of interest whose frequency conversion result by the correction amount exceeds the correction upper limit value, the correction limit amount is calculated so that the frequency conversion result does not exceed the correction upper limit value.
そしてS508で補償用周波数成分選択部408および補正制限量補償部409において、S507で算出された補正制限量を、他の周波数成分(補償用周波数成分)によって補償する。ここでの補正量の補償処理は、上述した第1実施形態におけるS207と同様である。 In step S508, the compensation frequency component selection unit 408 and the correction limit amount compensation unit 409 compensate the correction limit amount calculated in step S507 with another frequency component (compensation frequency component). The compensation processing for the correction amount here is the same as S207 in the first embodiment described above.
S509ではMTF補正部410において、S508までに算出された各補正量を用いて、周波数成分ごとのMTF補正を行う。次にS510では出力画像データ算出部411において、S509で変換された周波数空間データを、逆フーリエ変換等の処理を施すことによって実空間データへ変換し、画像出力装置403に該実空間データを出力画像データとして送信する。そしてS511では画像出力装置403において、S510で送信された出力画像データを出力(プリントアウト)し、処理を終了する。 In S509, the MTF correction unit 410 performs MTF correction for each frequency component using each correction amount calculated up to S508. In step S <b> 510, the output image data calculation unit 411 converts the frequency space data converted in step S <b> 509 into real space data by performing processing such as inverse Fourier transform, and outputs the real space data to the image output device 403. Send as image data. In step S511, the image output apparatus 403 outputs (prints out) the output image data transmitted in step S510, and the process ends.
●MTF特性の取得処理
以下、上記S501における、画像出力装置403のMTF特性の取得処理について、図10のフローチャートを用いて詳細に説明する。
MTF Characteristics Acquisition Processing Hereinafter, the MTF characteristics acquisition processing of the image output apparatus 403 in S501 will be described in detail with reference to the flowchart of FIG.
まずS101で画像出力装置403を用いて、MTF測定用の周波数チャートを出力する。次にS102で、S101で出力した周波数チャートをチャート測定装置413にて測定する。そしてS103において、S102でのチャート測定値に基づいて画像出力装置403のMTF特性を算出し、これをMTF保持部404に格納する。 First, in step S101, the image output device 403 is used to output a frequency chart for MTF measurement. Next, in S102, the frequency chart output in S101 is measured by the chart measuring device 413. In S 103, the MTF characteristic of the image output device 403 is calculated based on the chart measurement value in S 102, and this is stored in the MTF holding unit 404.
第2実施形態においては、画像出力装置403のMTFを測定する方法として、以下の方法が考えられる。まず、MTF測定用の周波数チャートとして正弦波チャートを用い、該正弦波チャートの最大濃度値と最小濃度値からMTF特性を算出する方法がある。また、MTF測定用の周波数チャートとして矩形波チャートを用い、該矩形波チャートの最大濃度値と最小濃度値からCTF(Contrast Transfer Function)を算出する。そして、該CTFをColtmanの補正式を用いてMTF特性に変換する方法がある。ただし、第2実施形態におけるMTF特性の測定方法は上記方法に限定されず、MTF特性を測定することが可能な方法であれば適用可能である。 In the second embodiment, the following method can be considered as a method of measuring the MTF of the image output apparatus 403. First, there is a method of calculating an MTF characteristic from a maximum density value and a minimum density value of the sine wave chart using a sine wave chart as a frequency chart for MTF measurement. Further, a rectangular wave chart is used as a frequency chart for MTF measurement, and a CTF (Contrast Transfer Function) is calculated from the maximum density value and the minimum density value of the rectangular wave chart. There is a method of converting the CTF into MTF characteristics using a Coltman correction equation. However, the method for measuring the MTF characteristic in the second embodiment is not limited to the above method, and any method that can measure the MTF characteristic is applicable.
また、画像出力装置403を用いて出力したMTF測定用の周波数チャートを画像データ化して、MTF特性を算出する方法も考えらえる。例えば、まずスキャナや顕微鏡等の画像入力機器を用いて出力チャートのデータ化を行い、チャートの濃度分布を測定する。そしてチャートの最大濃度値と最小濃度値からMTF特性を算出し、該算出したMTF特性から画像入力機器のMTF特性をキャンセルすることによって、画像出力装置403単体のMTF特性を算出することができる。ただし、チャートの画像データ化方法、及び、該画像データからMTF特性を算出する方法についても、上記方法に限定されない。 A method of calculating MTF characteristics by converting the frequency chart for MTF measurement output using the image output device 403 into image data is also conceivable. For example, the output chart is first converted into data using an image input device such as a scanner or a microscope, and the density distribution of the chart is measured. Then, the MTF characteristic of the image output device 403 alone can be calculated by calculating the MTF characteristic from the maximum density value and the minimum density value of the chart and canceling the MTF characteristic of the image input device from the calculated MTF characteristic. However, the chart image data conversion method and the MTF characteristic calculation method from the image data are not limited to the above method.
第2実施形態においては、以上のようなMTF測定方法を実行することによって、画像出力装置403のMTF測定を行う。 In the second embodiment, the MTF measurement of the image output device 403 is performed by executing the above MTF measurement method.
以上説明したように第2実施形態によれば、補正対象の画像データにおいて、通常のMTF補正では、周波数変換後に予め定められた上限値を超えてしまう周波数成分に対し、上述した第1実施形態と同様に、他の周波数成分を調整して劣化量を補償する。第2実施形態においては、ある周波数成分に対して補正量の制限が必要であるか否かを、周波数変換後の上限値に基づいて判定するため、上述した第1実施形態のように実空間上の画像データまで再現する必要がなく、より高速な判定が可能となる。 As described above, according to the second embodiment, in the image data to be corrected, in the normal MTF correction, for the frequency component that exceeds a predetermined upper limit value after frequency conversion, the first embodiment described above is used. In the same manner as described above, the amount of deterioration is compensated by adjusting other frequency components. In the second embodiment, since it is determined based on the upper limit value after frequency conversion whether or not the correction amount needs to be limited for a certain frequency component, the real space as in the first embodiment described above. It is not necessary to reproduce the upper image data, and a faster determination is possible.
なお、上述した第1および第2実施形態においては、画像出力装置のMTF特性に基づいて各周波数成分の補正量を算出する例を示したが、MTF特性は出力媒体に応じて異なるため、出力媒体ごとのMTF特性を考慮することが望ましい。 In the first and second embodiments described above, an example in which the correction amount of each frequency component is calculated based on the MTF characteristic of the image output apparatus has been described. However, since the MTF characteristic varies depending on the output medium, It is desirable to consider the MTF characteristics for each medium.
<その他の実施形態>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other embodiments>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (9)
前記画像出力装置のMTF特性を取得するMTF取得手段と、
前記画像データの周波数成分を取得する周波数成分取得手段と、
前記周波数成分取得手段で取得された各周波数成分について、前記MTF取得手段で取得されたMTF特性に基づいて、前記MTF補正を施す際の補正量を算出する補正量算出手段と、
前記各周波数成分のうち、前記補正量の制限が必要となる第1の周波数成分について、該補正量を制限した制限後補正量と、該制限による該補正量の変化分である補正制限量を算出する補正量制限手段と、
前記補正制限量を、前記第1の周波数成分とは異なる第2の周波数成分で補償するように、該第2の周波数成分に対する補償用補正量を算出し、該第2の周波数成分についての前記補正量に該補償用補正量を合成して補償後補正量を算出する補正制限量補償手段と、
前記補正量、前記制限後補正量、および前記補償後補正量に基づいて、前記MTF補正を行うMTF補正手段と、
を有することを特徴とする画像処理装置。 An image processing device that performs MTF correction according to an image output device for image data output to the image output device,
MTF acquisition means for acquiring MTF characteristics of the image output device;
Frequency component acquisition means for acquiring a frequency component of the image data;
A correction amount calculating unit that calculates a correction amount when performing the MTF correction on the basis of the MTF characteristics acquired by the MTF acquiring unit for each frequency component acquired by the frequency component acquiring unit;
Among the frequency components, for the first frequency component that requires the correction amount to be limited, a post-limit correction amount that limits the correction amount, and a correction limit amount that is a change in the correction amount due to the limitation. Correction amount limiting means for calculating,
A compensation correction amount for the second frequency component is calculated so that the correction limit amount is compensated with a second frequency component different from the first frequency component, and the correction frequency for the second frequency component is calculated. Correction limit amount compensation means for calculating the compensation amount after compensation by combining the compensation amount with the compensation amount;
MTF correction means for performing the MTF correction based on the correction amount, the post-limit correction amount, and the post-compensation correction amount;
An image processing apparatus comprising:
前記MTF取得手段は、前記画像出力装置に対応するMTF特性を前記MTF保持手段から取得することを特徴とする請求項1乃至5のいずれか1項に記載の画像処理装置。 Furthermore, it has MTF holding means for holding a plurality of MTF characteristics,
The image processing apparatus according to claim 1, wherein the MTF acquisition unit acquires an MTF characteristic corresponding to the image output apparatus from the MTF holding unit.
前記測定手段で測定されたMTF特性を、前記MTF保持手段で保持することを特徴とする請求項6に記載の画像処理装置。 Furthermore, it has a measuring means for measuring the MTF characteristic of the image output device,
The image processing apparatus according to claim 6, wherein the MTF characteristic measured by the measuring unit is held by the MTF holding unit.
前記画像出力装置のMTF特性を取得するMTF取得ステップと、
前記画像データの周波数成分を取得する周波数成分取得ステップと、
前記周波数成分取得ステップにおいて取得された各周波数成分について、前記MTF取得ステップにおいて取得されたMTF特性に基づいて、前記MTF補正を施す際の補正量を算出する補正量算出ステップと、
前記各周波数成分のうち、前記補正量の制限が必要となる第1の周波数成分について、該補正量を制限した制限後補正量と、該制限による該補正量の変化分である補正制限量を算出する補正量制限ステップと、
前記補正制限量を、前記第1の周波数成分とは異なる第2の周波数成分で補償するように、該第2の周波数成分に対する補償用補正量を算出し、該第2の周波数成分についての前記補正量に該補償用補正量を合成して補償後補正量を算出する補正制限量補償ステップと、
前記補正量、前記制限後補正量、および前記補償後補正量に基づいて、前記MTF補正を行うMTF補正ステップと、
を有することを特徴とする画像処理方法。 An image processing method for performing MTF correction according to an image output device for image data output to the image output device,
An MTF acquisition step of acquiring an MTF characteristic of the image output device;
A frequency component acquisition step of acquiring a frequency component of the image data;
A correction amount calculating step for calculating a correction amount for performing the MTF correction on the basis of the MTF characteristics acquired in the MTF acquisition step for each frequency component acquired in the frequency component acquisition step;
Among the frequency components, for the first frequency component that requires the correction amount to be limited, a post-limit correction amount that limits the correction amount, and a correction limit amount that is a change in the correction amount due to the limitation. A correction amount limiting step to be calculated;
A compensation correction amount for the second frequency component is calculated so that the correction limit amount is compensated with a second frequency component different from the first frequency component, and the correction frequency for the second frequency component is calculated. A correction limiting amount compensation step of calculating a post-compensation correction amount by combining the compensation correction amount with the correction amount;
An MTF correction step for performing the MTF correction based on the correction amount, the post-limit correction amount, and the post-compensation correction amount;
An image processing method comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009168277A JP2011024050A (en) | 2009-07-16 | 2009-07-16 | Image processing apparatus, and image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009168277A JP2011024050A (en) | 2009-07-16 | 2009-07-16 | Image processing apparatus, and image processing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2011024050A true JP2011024050A (en) | 2011-02-03 |
Family
ID=43633707
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009168277A Pending JP2011024050A (en) | 2009-07-16 | 2009-07-16 | Image processing apparatus, and image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2011024050A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2016194313A1 (en) * | 2015-05-29 | 2016-12-08 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and program |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0851542A (en) * | 1994-05-31 | 1996-02-20 | Fuji Xerox Co Ltd | Image processing method and device therefor |
| JP2000251064A (en) * | 1999-03-01 | 2000-09-14 | Ricoh Co Ltd | Image forming system |
| JP2002330291A (en) * | 1991-09-20 | 2002-11-15 | Ricoh Co Ltd | Image processing device |
| JP2009515440A (en) * | 2005-12-29 | 2009-04-09 | インテル・コーポレーション | Selective local transition improvement and peaking for video sharpness enhancement |
| JP2011024049A (en) * | 2009-07-16 | 2011-02-03 | Canon Inc | Image processing apparatus, and method therein |
| JP5289222B2 (en) * | 2009-07-16 | 2013-09-11 | キヤノン株式会社 | Image processing apparatus and method |
-
2009
- 2009-07-16 JP JP2009168277A patent/JP2011024050A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002330291A (en) * | 1991-09-20 | 2002-11-15 | Ricoh Co Ltd | Image processing device |
| JPH0851542A (en) * | 1994-05-31 | 1996-02-20 | Fuji Xerox Co Ltd | Image processing method and device therefor |
| JP2000251064A (en) * | 1999-03-01 | 2000-09-14 | Ricoh Co Ltd | Image forming system |
| JP2009515440A (en) * | 2005-12-29 | 2009-04-09 | インテル・コーポレーション | Selective local transition improvement and peaking for video sharpness enhancement |
| JP2011024049A (en) * | 2009-07-16 | 2011-02-03 | Canon Inc | Image processing apparatus, and method therein |
| JP5289222B2 (en) * | 2009-07-16 | 2013-09-11 | キヤノン株式会社 | Image processing apparatus and method |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2016194313A1 (en) * | 2015-05-29 | 2016-12-08 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and program |
| US10321017B2 (en) | 2015-05-29 | 2019-06-11 | Canon Kabushiki Kaisha | Image processing apparatus for improving image sharpness according to the output condition, image processing method and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4509415B2 (en) | Image processing device | |
| US7206002B2 (en) | Image processing apparatus and method that avoid generation of moire | |
| JP4730121B2 (en) | Image processing apparatus and method, recording medium, and program | |
| JP4556276B2 (en) | Image processing circuit and image processing method | |
| JP5035029B2 (en) | Signal processing apparatus and method, and program | |
| JP5534787B2 (en) | Image processing apparatus and image processing method | |
| JP5693743B2 (en) | Image processing apparatus, image processing method, imaging apparatus, computer program, and recording medium | |
| JP5289222B2 (en) | Image processing apparatus and method | |
| JP5426953B2 (en) | Image processing apparatus and method | |
| JP6174903B2 (en) | Spatial / gradation super-resolution device and program | |
| JP6703788B2 (en) | Image processing apparatus and image processing method | |
| JP2019092101A (en) | Image processing apparatus, image processing method, and program | |
| JP2011024050A (en) | Image processing apparatus, and image processing method | |
| JP4261201B2 (en) | Image processing apparatus, image processing method, image processing program, and storage medium | |
| JP4202395B2 (en) | Image conversion method, converted image generation method, and image correction apparatus | |
| WO2017098832A1 (en) | Image processing apparatus and program | |
| JP2017038167A (en) | Image processing apparatus, image processing method, and program | |
| JP5441535B2 (en) | Image processing apparatus and image processing method | |
| JP2013070185A (en) | Image processor and image processing program | |
| US9031302B2 (en) | Image processing apparatus configured to change a parameter determined based on user input so that an amplitude response of a processed image with respect to an original image is to be zero or more and related image processing method | |
| JP2020088449A (en) | Image processing apparatus, image processing method, and program | |
| JP2004326493A (en) | Signal processing apparatus and method, recording medium, and program | |
| JP2006113774A (en) | Image noise calculation method, image processing evaluation method, image processing evaluation apparatus, image processing evaluation program, and recording medium recording the program | |
| JP6128319B2 (en) | Image processing apparatus and program | |
| US7734109B2 (en) | Method and apparatus for bit resolution extension |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120706 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130717 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130802 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130911 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20131202 |