JP2005235238A - Method and apparatus of image processing and storage medium - Google Patents

Method and apparatus of image processing and storage medium Download PDF

Info

Publication number
JP2005235238A
JP2005235238A JP2005108597A JP2005108597A JP2005235238A JP 2005235238 A JP2005235238 A JP 2005235238A JP 2005108597 A JP2005108597 A JP 2005108597A JP 2005108597 A JP2005108597 A JP 2005108597A JP 2005235238 A JP2005235238 A JP 2005235238A
Authority
JP
Japan
Prior art keywords
image
color
image data
processing
noise reduction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005108597A
Other languages
Japanese (ja)
Inventor
Okinobu Tsuchiya
興宜 土屋
Shigeyasu Nagoshi
重泰 名越
Makoto Torigoe
真 鳥越
Manabu Yamazoe
学 山添
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2005108597A priority Critical patent/JP2005235238A/en
Publication of JP2005235238A publication Critical patent/JP2005235238A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and apparatus of image processing to realize high level color noise reduction without deteriorating apparent color resolution, and a storage medium therefore. <P>SOLUTION: The method of image processing comprises an input stage for entering a draw command to show an output color image, a detecting stage for detecting the image data based on the draw command, and a color noise reduction stage for carrying out color noise reduction of the image data. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、画像信号の補正を行うものに関し、特に、色ノイズの低減を図る画像処理方法、その装置および記録媒体に関する。
The present invention relates to an apparatus for correcting an image signal, and more particularly to an image processing method, an apparatus thereof, and a recording medium for reducing color noise.

近年、ハードコピー技術、特にフルカラーのハードコピー技術の発展に伴ない、インクジェット記録方式等の印写技術と高画素のデジタルカメラとを用い、高忠実な画像の再現が可能である。色再現においては、記録材料や画像処理によって、銀塩写真と同等の再現能力を備えるといわれる程にまで進化している。   In recent years, along with the development of hard copy technology, particularly full-color hard copy technology, high-fidelity images can be reproduced using printing technology such as an ink jet recording method and a high-pixel digital camera. In color reproduction, it has evolved to the extent that it is said to have the same reproducibility as silver halide photography by recording materials and image processing.

ところが、印字すべき画像自体に、入力機器における撮像素子等の特性に起因する色ノイズが含まれていることがあるという欠点がある。たとえば、CCD素子の暗電流によるノイズや、固定パターンノイズ、色信号伝送のための信号線で生じるノイズ等が、入力画像に混入している場合があるという欠点がある。   However, there is a drawback in that the image itself to be printed may contain color noise due to the characteristics of the imaging device or the like in the input device. For example, noise due to dark current of the CCD element, fixed pattern noise, noise generated in a signal line for color signal transmission, and the like may be mixed in the input image.

この欠点を克服するために、注目画素と垂直方向に隣接する上下の色素データとの相加平均をとることによって、画像の輝度の劣化を招くことなく、色素データに対し垂直方向の平滑化フィルターをかけることが知られている(たとえば、特許文献1参照)。   In order to overcome this drawback, the smoothing filter in the vertical direction is applied to the dye data without degrading the brightness of the image by taking the arithmetic average of the upper and lower dye data adjacent to the target pixel in the vertical direction. Is known (see, for example, Patent Document 1).

さらに、垂直方向の連続した3画素の輝度の相関を検出することによって、輝度の相関に応じて垂直方向の輝度の変化が激しいエッジ部に対しては、色素データも変化の大きい部分であるとみなし、平滑化フィルターの掛け具合いを軽くし、輝度の変化が少ない場合は平滑化フィルターの掛け具合いを強くする。また、上記相加平均を行なう演算を、注目画素に対し、複数回繰り返すことによって、簡単な構成で、垂直方向への色素データの平滑化を拡張する方法が、上記特許文献1に記載されている。
特開平05−153608号公報
Further, by detecting the correlation between the luminances of three consecutive pixels in the vertical direction, for the edge portion where the luminance change in the vertical direction is drastically dependent on the luminance correlation, the dye data is also a portion with a large change. Assuming that the smoothing filter is lightly applied, and if there is little change in brightness, the smoothing filter is strengthened. Further, Patent Document 1 discloses a method of extending the smoothing of the dye data in the vertical direction with a simple configuration by repeating the arithmetic operation for performing the arithmetic averaging for a target pixel a plurality of times. Yes.
JP 05-153608 A

しかし、上記従来の色ノイズ除去を画像信号に適用すると、輝度信号からのエッジだけでは検出しにくい画像上のテクスチャについて、見かけの解像度が劣化することがある。また、着目している色ノイズの色度がその周囲の色度とは大きく異なる場合、注目画素に対し、複数回の色ノイズ除去処理を繰り返す必要があるという問題がある。   However, when the above conventional color noise removal is applied to an image signal, the apparent resolution of the texture on the image that is difficult to detect only by the edge from the luminance signal may be deteriorated. In addition, when the chromaticity of the color noise of interest is significantly different from the surrounding chromaticity, there is a problem in that it is necessary to repeat the color noise removal processing a plurality of times for the pixel of interest.

本発明は、色信号に関する見かけの解像度が劣化せずに、高レベルの色ノイズ低減を実現することができる画像処理方法、装置および記憶媒体を提供することを目的とするものである。
An object of the present invention is to provide an image processing method, apparatus, and storage medium capable of realizing a high level of color noise reduction without deteriorating the apparent resolution related to a color signal.

本発明は、明るさを示す信号と色味を示す信号とによって構成されるカラー画像データを入力し、上記明るさを示す信号を保持しつつ、上記色味を示す信号に対してスムージング処理を行うものである。
The present invention inputs color image data composed of a signal indicating brightness and a signal indicating color, and performs a smoothing process on the signal indicating color while holding the signal indicating brightness. Is what you do.

本発明によれば、色信号に関する見かけの解像度が劣化せずに、高レベルの色ノイズ低減を実現することができるという効果を奏する。
According to the present invention, it is possible to achieve a high level of color noise reduction without deteriorating the apparent resolution related to the color signal.

発明を実施するための最良の形態は、次の実施例である。   The best mode for carrying out the invention is the following embodiment.

図1は、本発明の第1の実施例である画像処理装置100の概略を示す図である。   FIG. 1 schematically shows an image processing apparatus 100 according to the first embodiment of the present invention.

画像処理装置100は、ホストコンピュータで構成され、たとえばインクジェットプリンタ等のプリンタ106と、モニタ105とが接続されている。   The image processing apparatus 100 includes a host computer, and a printer 106 such as an ink jet printer and a monitor 105 are connected to the image processing apparatus 100.

画像処理装置100は、ワープロ、表計算、インターネットブラウザ等のアプリケーションソフトウエア101と、OS(Operating System)102と、上記アプリケーションによってOS102に発行される出力画像を示す各種描画命令群(イメージ描画命令、テキスト描画命令、グラフィックス描画命令)を処理して印刷データを作成するプリンタドライバ103と、アプリケーションが発行する各種描画命令群を処理してモニタ106に表示を行うモニタドライバ104とをソフトウエアとして有する。   The image processing apparatus 100 includes application software 101 such as a word processor, spreadsheet, and Internet browser, an OS (Operating System) 102, and various drawing command groups (image drawing commands, The printer driver 103 that generates print data by processing text drawing commands and graphics drawing commands) and the monitor driver 104 that processes various drawing commands issued by the application and displays them on the monitor 106 are provided as software. .

画像処理装置100は、上記ソフトウエアが動作可能な各種ハードウエアとして中央演算処理装置CPU108と、ハードディスクドライバHD107と、ランダムアクセスメモリ109と、リードオンリーメモリROM110等を有する。   The image processing apparatus 100 includes a central processing unit CPU 108, a hard disk driver HD 107, a random access memory 109, a read-only memory ROM 110, and the like as various hardware capable of operating the software.

画像処理装置100は、具体的には、たとえば一般的に普及しているIBM社のAT互換機のパーソナルコンピュータにMicrosoft(登録商標)社のWindows(登録商標)95をOSとして使用し、任意の印刷可能なアプリケーションをインストールしたものが考えられ、これにモニタ105とプリンタ106とが接続される。   Specifically, the image processing apparatus 100 uses, for example, a Windows (registered trademark) 95 of Microsoft (registered trademark) as an OS in a personal computer of an AT compatible machine manufactured by IBM, which is widely used. An application in which a printable application is installed is conceivable, and a monitor 105 and a printer 106 are connected thereto.

画像処理装置100では、モニタに表示された表示画像に基づき、アプリケーション101で作成された文字等のテキストに分類されるテキストデータ、図形等のグラフィックスに分類されるグラフィックスデータ、自然画などに分類されるイメージ画像データ等を出力画像データに変換する。   In the image processing apparatus 100, text data classified as text such as characters created by the application 101 based on a display image displayed on the monitor, graphics data classified as graphics such as graphics, natural images, and the like. The image data to be classified is converted into output image data.

出力画像データを印刷出力するときには、アプリケーション101からOS102に印刷出力要求を行う。アプリケーション101は、グラフィックスデータ部分はグラフィックス描画命令をOS102に発行し、イメージ画像データ部分はイメージ描画命令で構成される出力画像を示す描画命令群をOS102に発行する。   When printing the output image data, the application 101 issues a print output request to the OS 102. The application 101 issues a graphics drawing command to the OS 102 for the graphics data portion, and issues a drawing command group indicating an output image composed of the image drawing commands to the OS 102 for the image image data portion.

OS102は、アプリケーションの出力要求を受け、出力プリンタに対応するプリンタドライバ103に描画命令群を発行する。プリンタドライバ103は、OS102から入力した印刷要求と描画命令群とを処理し、プリンタ106で印刷可能な出力画像データを作成し、プリンタ106に転送する。   The OS 102 receives an application output request and issues a drawing command group to the printer driver 103 corresponding to the output printer. The printer driver 103 processes the print request and drawing command group input from the OS 102, creates output image data that can be printed by the printer 106, and transfers the output image data to the printer 106.

プリンタ106がラスタープリンタである場合、プリンタドライバ103は、OS102からの描画命令に対して、順次、画像補正処理を行い、順次RGB24ビットページメモリにラスタライズし、全ての描画命令をラスタライズした後に、RGB24ビットページメモリの内容を、プリンタ106が印刷可能なデータ形式、たとえばCMYKデータに変換し、プリンタ106に転送する。   When the printer 106 is a raster printer, the printer driver 103 sequentially performs image correction processing on the rendering commands from the OS 102, sequentially rasterizes them into the RGB 24-bit page memory, rasterizes all the rendering commands, and then RGB24 The contents of the bit page memory are converted into a data format that can be printed by the printer 106, for example, CMYK data, and transferred to the printer 106.

次に、上記実施例において、プリンタドライバ103で行われる処理動作について説明する。   Next, processing operations performed by the printer driver 103 in the above embodiment will be described.

図2は、上記実施例におけるプリンタドライバ103を示す図である。   FIG. 2 is a diagram showing the printer driver 103 in the above embodiment.

プリンタドライバ103は、画像補正処理部120と、プリンタ用補正処理部121とを有する。   The printer driver 103 includes an image correction processing unit 120 and a printer correction processing unit 121.

画像補正処理部120は、OS102から入力した描画命令群に含まれる色情報に対して、画像補正処理を行う。この画像補正処理では、RGB色情報に基づいて、色ノイズ低減処理を行う。   The image correction processing unit 120 performs image correction processing on the color information included in the drawing command group input from the OS 102. In this image correction processing, color noise reduction processing is performed based on the RGB color information.

プリンタ用補正処理部121は、まず画像補正処理された色情報によって、描画命令をラスタライズし、RGB24ビットページメモリ上に、ラスター画像を生成する。そして、各画素に対してプリンタの色再現性に依存するCMYKデータを生成し、プリンタ106に転送する。   First, the printer correction processing unit 121 rasterizes the drawing command based on the color information subjected to the image correction process, and generates a raster image on the RGB 24-bit page memory. Then, CMYK data depending on the color reproducibility of the printer is generated for each pixel and transferred to the printer 106.

画像補正処理部120で行われる色ノイズ低減処理の概略を説明する。   An outline of the color noise reduction processing performed by the image correction processing unit 120 will be described.

(色ノイズ低減処理部)
図3は、画像補正処理部120の処理の概略を説明するための模式図である。
(Color noise reduction processing section)
FIG. 3 is a schematic diagram for explaining the outline of the processing of the image correction processing unit 120.

B1において、入力されたRGB信号を、輝度信号Y、色差信号CrCbに変換する。そして、信号平滑化部B2、B3において、色差信号に対して平滑化処理を行い、B4において、RGB信号に逆変換する。   In B1, the input RGB signal is converted into a luminance signal Y and a color difference signal CrCb. Then, the signal smoothing sections B2 and B3 perform a smoothing process on the color difference signal, and in B4, inversely convert it into an RGB signal.

本実施例では、輝度信号を保持しつつ、色差信号の急激な変化を滑らかにすることによって、色ノイズの低減を図っている。   In this embodiment, the color noise is reduced by smoothing the rapid change of the color difference signal while holding the luminance signal.

次に、輝度信号を保持しつつ、色差信号の急激な変化を滑らかにすることによって、色ノイズを低減する動作について説明する。   Next, an operation for reducing color noise by smoothing a sudden change in the color difference signal while holding the luminance signal will be described.

色ノイズ低減処理部では、輝度信号Y(i,j)を維持したまま、色差信号Cr(i,j)、Cb(i,j)について、図5に示すローパスフィルタを用いることによって、下記の式(5)に示すように、色差信号の急激な変化を滑らかにする。   The color noise reduction processing unit uses the low-pass filter shown in FIG. 5 for the color difference signals Cr (i, j) and Cb (i, j) while maintaining the luminance signal Y (i, j). As shown in the equation (5), the rapid change of the color difference signal is smoothed.

図5は、ローパスフィルタの重み構成を示す図である。   FIG. 5 is a diagram illustrating a weight configuration of the low-pass filter.

なお、図5に示すように、注目画素(i,j)を取り囲むようにフィルタを構成することによって、入力画像の向きに依らず、安定した色ノイズ低減処理を行うことができる。なお、注目画素は、図中、○で囲まれている数の部分の画素である。   As shown in FIG. 5, by configuring the filter so as to surround the target pixel (i, j), stable color noise reduction processing can be performed regardless of the orientation of the input image. Note that the target pixel is the number of pixels surrounded by a circle in the drawing.

Figure 2005235238
ここで、m(・,・)は、フィルタを示し、f(・,・)は、信号を示している。なお、ここでは、Cr(i,j)、Cb(i,j)信号の代わりに、f(・)と記述している。
Figure 2005235238
Here, m (•, •) indicates a filter, and f (•, •) indicates a signal. Here, f (•) is described instead of the Cr (i, j) and Cb (i, j) signals.

また、式(5)に示すフィルタ処理をそのまま用いる場合、画像周縁部に対しては、フィルタ処理を実施することができない。このときは、特願平11−189637号公報に示してあるように、適切な周縁部処理を行えばよい。   Further, when the filter process shown in Expression (5) is used as it is, the filter process cannot be performed on the peripheral edge portion of the image. At this time, as shown in Japanese Patent Application No. 11-189637, appropriate peripheral edge processing may be performed.

上記実施例では、NTSCのY、Cr、Cb信号を用いているが、輝度信号の代わりに、たとえばRGB信号のG信号を用い、色度信号として、Cr’=R/(R+G+B)、Cb’=B/(R+G+B)等を用いるようにしてもよい。   In the above embodiment, the NTSC Y, Cr, and Cb signals are used, but instead of the luminance signal, for example, the G signal of the RGB signal is used, and the chromaticity signal is Cr ′ = R / (R + G + B), Cb ′. = B / (R + G + B) or the like may be used.

、Yxy等の座標系を用い、上記色ノイズ低減処理を行っても、上記と同様の効果を得ることができる。L、HLS等の円筒座標系について、上記と同様の処理を行うことが考えられ、この場合、上記円筒座標系での座標値を直交座標に変換する処理を行った後に、スムージングするようにしてもよい。 Even if the color noise reduction processing is performed using a coordinate system such as L * a * b * or Yxy, the same effect as described above can be obtained. For cylindrical coordinate systems such as L * c * h * and HLS, it is conceivable to perform the same processing as described above. In this case, after performing processing for converting coordinate values in the cylindrical coordinate system to orthogonal coordinates, Smoothing may be performed.

また、色の歪みのみを補正すれば足りる場合には、色相角の変化についてスムージングするようにしてもよい。これと同様に、彩度についてスムージングしても、上記と類似の効果を有する。   Further, when it is sufficient to correct only the color distortion, the change of the hue angle may be smoothed. Similarly, smoothing the saturation has an effect similar to the above.

Figure 2005235238
また、他の実施例では、式(5)を実行した後に、式(6)に示すように、色差信号についてスムージングした後の値を、原画像の信号側にフィードバックする。このようにすることによって、スムージング効果をさらに高めることができる。
Figure 2005235238
In another embodiment, after executing Expression (5), as shown in Expression (6), the value after smoothing the color difference signal is fed back to the signal side of the original image. By doing so, the smoothing effect can be further enhanced.

上記フィードバック処理を行う場合、図6に示すように、処理済みの信号値については、未処理の信号値に較べて高い重みが割り当てられるフィルタを用いてもよい。このようにすることによって、色差信号のスムージング効果をさらに高めることができる。   When the feedback processing is performed, as shown in FIG. 6, a filter that is assigned a higher weight than the unprocessed signal value may be used for the processed signal value. By doing so, the smoothing effect of the color difference signal can be further enhanced.

さらに、図6等に用いるフィルタの重みについて、その分母が2のべき乗となるように構成することによって、レジスタのシフト演算機構を用いることができ、上り高速に処理することが可能となる。   Further, by configuring the filter weight used in FIG. 6 and the like so that the denominator is a power of 2, a register shift operation mechanism can be used, and it is possible to perform high-speed processing.

フィルタは、5×5サイズや、上下左右方向の対象なものに限定されるものではなく、ローパス特性をもつものであれば、同様の色ノイズ低減効果を得ることができる。勿論、メディアンフィルタを使用するようにしてもよく、このようにしても、上記と同様の効果を有する。   The filter is not limited to a 5 × 5 size or an object in the vertical and horizontal directions, and a similar color noise reduction effect can be obtained as long as it has a low-pass characteristic. Of course, a median filter may be used, and even in this case, the same effect as described above is obtained.

また、フィルタサイズを、画像解像度に応じて適当に変化させても構わない。フィルタサイズを変えることによって、画像解像度に依ることなく、安定した処理結果を得ることができる。   Further, the filter size may be appropriately changed according to the image resolution. By changing the filter size, a stable processing result can be obtained without depending on the image resolution.

実空間、実時間領域、空間周波数領域について、輝度信号Yを除く信号について、高周波成分を低減させるような処理を行うことによって、同様の効果を得ることができる。   In the real space, the real time region, and the spatial frequency region, the same effect can be obtained by performing a process for reducing the high frequency component on the signal excluding the luminance signal Y.

図4は、色ノイズ低減処理の動作を示すフローチャートである。   FIG. 4 is a flowchart showing the operation of the color noise reduction process.

イメージ描画命令で示される同一の画像におけるイメージ画像データ部分に対して、色ノイズ低減処理を行う。したがって、たとえば同一の出力画像の中に、グラフィックス画像とイメージ画像とが含まれている場合、描画命令を解析した結果に応じてイメージ画像部分を抽出し、色ノイズ低減処理を行う。   Color noise reduction processing is performed on the image image data portion in the same image indicated by the image drawing command. Therefore, for example, when a graphics image and an image image are included in the same output image, the image image portion is extracted according to the result of analyzing the drawing command, and the color noise reduction process is performed.

色ノイズ低減処理単体では、輝度についてのエッジ部や、急激な色度変化の感じられる色エッジ部において、見た目の解像度が劣化する場合がある。そこで、本実施例では、エッジ判定部、色エッジ判定部、エッジ強調部等を加え、エッジ、色エッジにおける見た目の解像度の劣化を防いでいる。   In the case of the color noise reduction processing alone, the resolution of the appearance may be deteriorated at an edge portion with respect to luminance or a color edge portion where a sudden chromaticity change is felt. Therefore, in this embodiment, an edge determination unit, a color edge determination unit, an edge enhancement unit, and the like are added to prevent degradation of the apparent resolution at the edges and color edges.

抽出されたイメージ画像データに対して行われる色ノイズ低減処理について詳細に説明する。   A color noise reduction process performed on the extracted image data will be described in detail.

(エッジ算出部)
エッジ算出部では、輝度信号Yについて、たとえばラプラシアンフィルタ等を用い、エッジを算出し、算出された値D_Yを保持する(S1)。
(Edge calculation part)
The edge calculation unit calculates an edge of the luminance signal Y using, for example, a Laplacian filter, and holds the calculated value D_Y (S1).

後の工程であるエッジ判定部と、エッジ強調部との両方で、上記算出した値D_Yを利用することができる。また、エッジ強調を行わない場合や、エッジ強調専用の高速なユニットが利用可能である場合には、上記求めた値D_Yを、エッジ判定終了と同時に破棄するようにしてもよい。   The calculated value D_Y can be used in both the edge determination unit and the edge enhancement unit, which are subsequent processes. Further, when edge enhancement is not performed or when a high-speed unit dedicated to edge enhancement is available, the obtained value D_Y may be discarded simultaneously with the end of edge determination.

上記実施例ではラプラシアンフィルタを用いているが、エッジ算出のために、空間周波数領域でのハイパスフィルタの通過成分を用いてもよく、動画を仮定し、実時間領域での差分値を用いてもよく、上記と同様の効果を得ることができる。   In the above embodiment, a Laplacian filter is used. However, in order to calculate an edge, a pass component of a high-pass filter in the spatial frequency domain may be used, a moving image may be assumed, and a difference value in the real-time domain may be used. Well, the same effect as above can be obtained.

(エッジ判定部)
エッジ判定部では、上記エッジ算出部で保持された値D_Yと、エッジ判定のために使用する閾値TH_Edgeとを比較し、エッジを判定する(S2)。
(Edge judgment part)
The edge determination unit compares the value D_Y held by the edge calculation unit with a threshold TH_Edge used for edge determination, and determines an edge (S2).

閾値TH_Edgeの設定は、入力画像のヒストグラムを分析する等し、処理対象毎に設定するようにしてもよい。この場合には、たとえば、原画像の輝度信号についての微分値を保存するフレームメモリを用意し、上記微分値を保存したフレームメモリについて再度ヒストグラムを取り、求められたヒストグラムをたとえば判別分析法等の手法を用いて分析し、画素値のクラスタリングを行って、その都度、適切な閾値を求めるようにしてもよい。ヒストグラム算出/分析部が必要になる。   The threshold TH_Edge may be set for each processing target, for example, by analyzing a histogram of the input image. In this case, for example, a frame memory for storing the differential value for the luminance signal of the original image is prepared, a histogram is again taken for the frame memory for storing the differential value, and the obtained histogram is obtained, for example, by discriminant analysis method or the like. Analysis may be performed using a technique, pixel values may be clustered, and an appropriate threshold value may be obtained each time. A histogram calculation / analysis unit is required.

エッジ判定部の判定の結果、注目画素f(i,j)がエッジであると判定された場合は、色度変化判定部(S3)に進む。また、エッジと判定されなかった場合には、エッジ強調部(S5)における見た目の解像度の劣化を問題としない場合には、この上記エッジ判定工程を省略するようにしてもよい。   As a result of the determination by the edge determination unit, when it is determined that the target pixel f (i, j) is an edge, the process proceeds to the chromaticity change determination unit (S3). If it is not determined to be an edge, this edge determination step may be omitted if deterioration of the apparent resolution in the edge enhancement unit (S5) is not a problem.

(エッジ強調部)
エッジ強調部では、上記保持された値D_Yに、輝度信号値Y(i,j)を加えることにより、エッジ強調を行う(S5)。
(Edge enhancement part)
The edge enhancement unit performs edge enhancement by adding the luminance signal value Y (i, j) to the held value D_Y (S5).

すなわち、
Y’(i,j)=Y(i,j)+D_Y ………式(1)
の処理を行う。
That is,
Y ′ (i, j) = Y (i, j) + D_Y (1)
Perform the process.

色ノイズ低減処理後、または色ノイズ低減処理とともに、エッジ強調を行うことによって、色ノイズを強調することなく、エッジ強調を行うことができる。   Edge enhancement can be performed without enhancing color noise by performing edge enhancement after color noise reduction processing or in combination with color noise reduction processing.

ここでは、エッジ判定のために求めたデータを用いて、エッジ強調を行うことによって、処理の高速化、簡略化を図っているが、図4に示すフローチャートにおける他の段階で、エッジ強調処理を実行するようにしてもよい。   Here, the edge enhancement is performed by using the data obtained for the edge determination to speed up and simplify the process, but the edge enhancement process is performed at another stage in the flowchart shown in FIG. You may make it perform.

なお、入力機器側で既にエッジ強調が行われている場合には、この段階でエッジ強調を行わなくてもよい。   If edge enhancement has already been performed on the input device side, it is not necessary to perform edge enhancement at this stage.

また、注目画素を含む1画素以上のエッジ領域について、エッジ強調を行うことなく、原画像のデータを処理せずに通過させるようにしてもよい。この場合には、色ノイズ領域以外の画像領域について、原画像の忠実な再現を行うことができる。   Further, the edge area of one or more pixels including the target pixel may be passed without processing the original image data without performing edge enhancement. In this case, the original image can be faithfully reproduced in the image area other than the color noise area.

(色度変化判定部)
色度変化判定部では、輝度信号Yの変化からは検出できない「色エッジ」(色度の急激な変化部分)を検出する(S3)。
(Chromaticity change judgment part)
The chromaticity change determination unit detects a “color edge” (a rapidly changing portion of chromaticity) that cannot be detected from a change in the luminance signal Y (S3).

D_col_CrL(i,j)=|{Cr(i−2,j−1)+Cr(i−1,j−1)+Cr(i,j−1)}−{Cr(i+2,j+1)+Cr(i+1,j+1)+Cr(i,j+1)}| ………式(2)
D_col_CrR(i,j)=|{Cr(i+2,j+1)+Cr(i+1,j+1)+Cr(i,j+1)}−{Cr(i−2,j−1)+Cr(i−1,j−1)+Cr(i,j−1)}| ………式(3)
とする。上記と同様に、Cb成分についても求め、
D_col(i,j)=D_col_CrL(i,j)+D_col_CrR(i,j)+D_col_CbL(i,j)+D_col_CbR(i,j) ………式(4)
ここで、上記算出された値D_col(i,j)を、色度変化判定するための閾値TH_colと比較し、色度変化判定を行う。
D_col_CrL (i, j) = | {Cr (i−2, j−1) + Cr (i−1, j−1) + Cr (i, j−1)} − {Cr (i + 2, j + 1) + Cr (i + 1, j + 1) + Cr (i, j + 1)} |
D_col_CrR (i, j) = | {Cr (i + 2, j + 1) + Cr (i + 1, j + 1) + Cr (i, j + 1)}-{Cr (i-2, j-1) + Cr (i-1, j-1) + Cr (i, j-1)} |... (3)
And Similar to the above, the Cb component is also obtained.
D_col (i, j) = D_col_CrL (i, j) + D_col_CrR (i, j) + D_col_CbL (i, j) + D_col_CbR (i, j) (4)
Here, the calculated value D_col (i, j) is compared with a threshold TH_col for determining chromaticity change, and chromaticity change determination is performed.

上記実施例では、閾値TH_colを固定値としたが、入力画像のヒストグラム等の特徴量を算出し、この算出された特徴量に基づいて、色度変化判定を行うようにしてもよい。この他、色差信号についての微分値を用いて上記色度変化値D_col(i,j)を構成しても類似の効果が得られる。なお、ここでの閾値のTH_colの自動設定方法は、「エッジ判定部」で述べた判別分析法等の手法を適宜用いればよい。   In the above-described embodiment, the threshold value TH_col is a fixed value, but a feature amount such as a histogram of the input image may be calculated, and chromaticity change determination may be performed based on the calculated feature amount. In addition, a similar effect can be obtained by configuring the chromaticity change value D_col (i, j) using a differential value for the color difference signal. Here, as the method for automatically setting the threshold TH_col, a method such as the discriminant analysis method described in the “edge determination unit” may be appropriately used.

また、上記実施例における色度変化判定処理は、閾値TH_colの値によっては、色ノイズ部を色エッジとして判定してしまうことがある。このような場合には、色エッジの周波数特性を考慮し、色エッジのみを通すよう構成したバンドパスフィルタを、上記判定に用いる値D_col(i,j)の代わりに使用するようにしてもよい。   In the chromaticity change determination process in the above-described embodiment, the color noise portion may be determined as a color edge depending on the value of the threshold value TH_col. In such a case, considering the frequency characteristics of the color edge, a bandpass filter configured to pass only the color edge may be used instead of the value D_col (i, j) used for the determination. .

なお、輝度Yの変化に関わらず、色差信号だけから、色度の急激な変化を検出するような他の方式を用いてもよい。エッジ部および色エッジ部に対しては、見た目の解像度の劣化を防ぐために色ノイズ低減処理を行わず、次画素の処理に移る(S6)。ここで、上記エッジ部または色エッジ部と判定された場合、エッジ周辺部の画像上の整合性を保つために、数画素分スキップするようにしてもよい。エッジ部および色エッジ部ではない画素については、S4で色ノイズ低減処理を行う。これらの処理を、イメージ画像として抽出された部分に対して順次行う。   It should be noted that other methods may be used in which a sudden change in chromaticity is detected only from the color difference signal regardless of the change in luminance Y. For the edge portion and the color edge portion, the color noise reduction processing is not performed in order to prevent deterioration of the apparent resolution, and the processing proceeds to the next pixel processing (S6). Here, when it is determined as the edge portion or the color edge portion, several pixels may be skipped in order to maintain the consistency of the edge peripheral portion on the image. For pixels that are not edge portions or color edge portions, color noise reduction processing is performed in S4. These processes are sequentially performed on the part extracted as an image.

ここでは、記述の煩雑さを避けるために、第2の実施例の説明において、第1の実施例と異なる部分についてのみ、部分的に説明する。   Here, in order to avoid the complexity of the description, only the parts different from the first embodiment in the description of the second embodiment will be partially described.

(エッジ判定部/色度変化判定部)
第1の実施例では、エッジ判定部または色度変化判定部によって、それぞれエッジ、色エッジと判定されたものについては、入力画像データに処理を加えないようにしている。
(Edge determination unit / chromaticity change determination unit)
In the first embodiment, input image data is not subjected to processing for those determined to be edges and color edges by the edge determination unit or the chromaticity change determination unit, respectively.

しかし、上記エッジ判定後の処理、上記色度変化判定後の処理では、エッジ部と非エッジ部とのつなぎ部分が目立ち過ぎることがある。   However, in the processing after the edge determination and the processing after the chromaticity change determination, the connecting portion between the edge portion and the non-edge portion may be too conspicuous.

このような場合には、処理対象となる色度データCol(i,j)(=Cr(i,j),Cb(i,j))ついて、
E(i,j)=D_Y(i,j)*H( D_Y(i,j)−TH_Edge )/TH_Edge ………式(7)
というように、エッジ度E(i,j)を定義する。これを用いて、
Col(i,j)=E(i,j)*Col(i,j)+(1−E(i,j))*Low(Col(i,j)) ………式(8)
のように、対象となる色度データと、ローパスフィルタ通過後の色度データとの荷重平均を求めることによって、エッジ部と非エッジ部とのつなぎ部分が目立たないようにすることができる。
In such a case, the chromaticity data Col (i, j) (= Cr (i, j), Cb (i, j)) to be processed is
E (i, j) = D_Y (i, j) * H (D_Y (i, j) −TH_Edge) / TH_Edge (7)
Thus, the edge degree E (i, j) is defined. Using this,
Col (i, j) = E (i, j) * Col (i, j) + (1-E (i, j)) * Low (Col (i, j)) Expression (8)
As described above, by obtaining a weighted average of the target chromaticity data and the chromaticity data after passing through the low-pass filter, the connecting portion between the edge portion and the non-edge portion can be made inconspicuous.

なお、ここでH(・)は、ヘビサイドの階段関数であり、Low(・)は、ローパスフィルタである。   Here, H (•) is a snake side step function, and Low (•) is a low-pass filter.

(その他の判定部、高彩度判定部)
色ノイズは、低彩度の領域で目立つことが多い。したがって、注目画素の彩度S(i,j)(=sqrt(Cr^2+Cb^2))を算出し、この彩度S(i,j)が、たとえばTH_Saturationを越える場合には、色ノイズ低減処理を行わないようにする。このようにすることによって、高彩度部の忠実再現と、処理の高速化とを実現することができる。
(Other determination unit, high saturation determination unit)
Color noise is often noticeable in low chroma areas. Accordingly, when the saturation S (i, j) (= sqrt (Cr ^ 2 + Cb ^ 2)) of the pixel of interest is calculated and this saturation S (i, j) exceeds, for example, TH_Saturation, the color noise is reduced. Do not perform processing. By doing so, it is possible to realize faithful reproduction of the high saturation portion and speeding up of the processing.

無彩色の領域における色ノイズによって無彩色の領域に一部に色がついて見えることがある。したがって、注目画素が無彩色である場合には、色ノイズ低減処理を行わないようにする。このようにすることによって、無彩色部の忠実再現と処理の高速化とを図ることができる。   Color noise may appear in the achromatic region due to color noise in the achromatic region. Therefore, when the target pixel is an achromatic color, the color noise reduction process is not performed. By doing so, it is possible to achieve faithful reproduction of the achromatic color portion and to increase the processing speed.

(変形例)
上記実施例では、色ノイズ低減処理を注目画素が色ノイズであるか否かに関わらず、一律に行っている。
(Modification)
In the above embodiment, the color noise reduction process is uniformly performed regardless of whether or not the target pixel is color noise.

しかし、色ノイズの検出または色ノイズ度の検出の処理を行い、検出された色ノイズ部分または色ノイズ度に応じて、色ノイズ低減処理を行うことによって、効果をさらに高めることができる。   However, the effect can be further enhanced by performing color noise detection or color noise level detection processing, and performing color noise reduction processing according to the detected color noise portion or color noise level.

色ノイズの検出法としては、たとえば色度平面での微分値を用いる方法がある。ユーザのマニュアルによる色ノイズ領域の指定に基づき、色ノイズの低減を行うモードを設けるようにしてもよい。   As a method for detecting color noise, for example, there is a method using a differential value on a chromaticity plane. A mode for reducing color noise may be provided based on the specification of the color noise region by the user's manual.

処理対象領域が色ノイズである割合を、色ノイズ度と定義すると、色ノイズ度Cn(i,j)は、以下の式で求めることができる。   If the ratio that the processing target area is color noise is defined as the color noise level, the color noise level Cn (i, j) can be obtained by the following equation.

Cn(i,j)=|( Col(i,j)− med( Col(i,j)) )|/(| med( Col(i,j))| ) ………式(9)
ここで、med(・)は、注目画素と注目画素に隣接する8画素の色度の中間値である。
Cn (i, j) = | (Col (i, j) −med (Col (i, j))) | / (| med (Col (i, j)) |) ............ Formula (9)
Here, med (•) is an intermediate value of the chromaticity of the target pixel and eight pixels adjacent to the target pixel.

色ノイズ度Cn(i,j)の高いデータについては、図7に示すような注目画素から離れた画素に高い重みをおいたフィルタを用い、上記色ノイズ低減処理を行うことによって、より高い色ノイズ低減効果を得ることができる。   For data with a high degree of color noise Cn (i, j), a higher weight can be obtained by performing the above color noise reduction processing using a filter having a high weight on the pixels away from the target pixel as shown in FIG. A noise reduction effect can be obtained.

なお、ここで、中間値med(・)を算出するための対象領域は、注目画素を含む領域であれば、その形状、大きさを問わない。さらに、中間値med(・)を用いる代わりに、平均値を用いるようにしてもよく、このようにしても、上記と同様の効果を得ることができる。   Here, the shape and size of the target region for calculating the intermediate value med (•) are not limited as long as it is a region including the target pixel. Furthermore, instead of using the intermediate value med (•), an average value may be used. Even in this case, the same effect as described above can be obtained.

ここでは、記述の煩雑さを避けるために、第1の実施例と同様の処理部については、同一の符号を付け説明を割愛する。   Here, in order to avoid complication of description, the same reference numerals are assigned to the same processing units as those in the first embodiment, and description thereof is omitted.

図8は、本実施例の色ノイズ低減処理の動作を示すフローチャートである。   FIG. 8 is a flowchart showing the operation of the color noise reduction process of this embodiment.

(ハイライト判定部)
インクジェットプリンタを始めとするハードコピー装置では、白色として、紙白を代用する方式をとっている。このため、白色部(R=G=B=255)は紙白だが、白色でない部分には、たとえばインクジェットプリンタではドットが打たれることになり、色味としては似ているが、ドットの有無によって不連続に感じられることがある。
(Highlight judgment part)
Hard copy apparatuses such as ink jet printers use a system that substitutes paper white as white. For this reason, the white portion (R = G = B = 255) is paper white, but in the non-white portion, for example, an ink jet printer has dots, which are similar in color, but the presence or absence of dots May feel discontinuous.

図14は、画像データの分割処理時に、分割された領域毎に色味が異なってフィルタ処理される画像データと、画像の分割方法とを示す模式図である。   FIG. 14 is a schematic diagram illustrating image data that is subjected to filter processing with different colors for each divided area and a method for dividing the image during the image data dividing process.

ところで、図14に示すように、白色のブロック(図14−11)と、白色のブロックだが一部に白色でないテクスチャを含むブロック(図14−12)が存在している場合、上記色ノイズ低減処理によって、注目画素と周囲画素との平滑化を行うと、上記白色のブロックと、上記白色でないブロックとの間で微妙に色味が異なることがある。上記白色のブロックは紙白であり、上記白色でないブロックにはドットが打たれることがある。   By the way, as shown in FIG. 14, when there are a white block (FIGS. 14-11) and a block (FIG. 14-12) including a white block but partially non-white texture (FIG. 14-12), the above color noise reduction is performed. When the target pixel and surrounding pixels are smoothed by the processing, the color may be slightly different between the white block and the non-white block. The white block is paper white, and dots may be hit on the non-white block.

そこで、ハイライト判定部では、紙白になるべき点を判定し(S11)、上記判定した紙白になるべき点については、色ノイズ低減処理を行わないようにしている(S6)。なお、ここでのハイライト判定法は、(R≧250)AND(G≧250)AND(B≧250)や、Y≧250等ハイライトを判定する方法を適宜用いればよい。   Therefore, the highlight determination unit determines a point that should become paper white (S11), and does not perform color noise reduction processing on the determined point that should become paper white (S6). As a highlight determination method here, a method of determining a highlight such as (R ≧ 250) AND (G ≧ 250) AND (B ≧ 250) or Y ≧ 250 may be appropriately used.

また、色ノイズ低減処理を行った後に、図13等に示す明度補正曲線を用い、明度補正処理等の画像処理を行いたいことがある。この場合も、上記と同様に、色ノイズ低減処理における平滑化処理によって、本来235の画素値を持っていた画素が234や236なる画素値に変更されることになり、上記のような紙白部とドットの打たれるバンドむら領域とが生じる。   In addition, after performing the color noise reduction processing, it may be desired to perform image processing such as brightness correction processing using the brightness correction curve shown in FIG. Also in this case, similarly to the above, the pixel having the pixel value of 235 is changed to the pixel value of 234 or 236 by the smoothing process in the color noise reduction process. And an uneven band region where dots are struck.

このような場合には、上記定めた明度補正曲線からハイライトポイントHLを求め(S11)、この求められたハイライトポイントHL付近の画素値の画素については、上記色ノイズ低減処理を行わない(S6)ようにすればよい。   In such a case, the highlight point HL is obtained from the determined brightness correction curve (S11), and the color noise reduction processing is not performed on the pixels having pixel values near the obtained highlight point HL ( S6)

また、昇華型プリンタ等のように十分に階調のとれるプリンタでは、上記バンドむらは、あまり目立たないことが多い。このような場合には、上記ハイライト判定処理を行わないようにしてもよい。   Further, in a printer capable of obtaining sufficient gradation, such as a sublimation printer, the band unevenness is often not noticeable. In such a case, the highlight determination process may not be performed.

色ノイズ低減処理単体では、輝度についてのエッジ部や、輝度変化が少ないにも関わらず急激な色度変化の感じられる色エッジ部の見た目の解像度が劣化する場合がある。そこで、本実施例では、エッジ判定部、色エッジ判定部、エッジ強調部等を加え、エッジ、色エッジの見た目の解像度の劣化を防いでいる。   In the case of the color noise reduction processing alone, the apparent resolution of the edge portion with respect to the luminance or the color edge portion where a sudden chromaticity change is felt although the luminance change is small may be deteriorated. Therefore, in this embodiment, an edge determination unit, a color edge determination unit, an edge enhancement unit, and the like are added to prevent the resolution of the appearance of edges and color edges from being deteriorated.

(シーン切り替わり判定部:行間の色差判定部)
上記実施例では、図5に示す5×5フィルタを用いて色ノイズ低減処理を行っている。
(Scene change judgment part: Color difference judgment part between lines)
In the above embodiment, the color noise reduction processing is performed using the 5 × 5 filter shown in FIG.

この構成では、図12の番号3,8として送られてくる画像データに対しても、他の画像処理単位ブロックと同様にフィルタ処理を行うこととなり、たとえば、風景写真等の画像データを処理する場合に、元の画像データの中では不連続な地面の茶色と空の青色を用いて平滑化を行うことになり(図12の太破線部)、フィルタ処理後の画像の色味が変わるという改善の余地がある。   In this configuration, the image data sent as numbers 3 and 8 in FIG. 12 are also subjected to filter processing in the same manner as other image processing unit blocks. For example, image data such as landscape photographs is processed. In this case, smoothing is performed using discontinuous ground brown and sky blue in the original image data (the thick broken line portion in FIG. 12), and the color of the image after filtering is changed. There is room for improvement.

そこで、上記実施例においては、行間の色差判定部で、処理対象となるラインと、上記処理対象行の1行上のラインとでの平均色差が、色差閾値Th_ColDiff_Line以下でない場合は、上記画像処理モジュールへの入力画像データが不連続となっていると見なし、入力画像データを不連続点として検出する(S12)。   Therefore, in the above embodiment, when the average color difference between the line to be processed and the line one line above the processing target line is not less than or equal to the color difference threshold Th_ColDiff_Line in the inter-row color difference determination unit, the image processing is performed. The input image data to the module is regarded as discontinuous, and the input image data is detected as a discontinuous point (S12).

本実施例では、不連続点として検出されたラインと対象画像データの位置関係とに基づきフィルタの種類を切り替える。   In this embodiment, the type of filter is switched based on the line detected as a discontinuous point and the positional relationship between the target image data.

図9は、ローパスフィルタの重み構成を示す図である。図9(a)が3行処理用、図9(b)が2行処理用、図9(c)が1行処理用のフィルタである。   FIG. 9 is a diagram illustrating a weight configuration of the low-pass filter. FIG. 9A shows a filter for 3-line processing, FIG. 9B shows a filter for 2-line processing, and FIG. 9C shows a filter for 1-line processing.

図10は、シーン切り替わり判定部を備え、処理対象の画像中での位置に応じて、画像を処理するフィルタを切り替える場合における処理シークエンスを示す状態遷移図である。   FIG. 10 is a state transition diagram showing a processing sequence when a scene switching determination unit is provided and a filter for processing an image is switched according to a position in the processing target image.

図11は、処理対象の画像中での位置に応じて、色ノイズ低減処理で用いるフィルタを切り替える場合におけるフィルタの切り替え方を示す模式図である。   FIG. 11 is a schematic diagram illustrating how to switch the filters when the filters used in the color noise reduction processing are switched according to the position in the processing target image.

色ノイズ低減処理は、図11に示すように、入力画像の1行目を処理するときは、画像の1行目のみを用いて図9(c)のフィルタによって色差信号の平滑化を行い(図11−L1、図10−P1)、入力画像の2行目を処理するときは、画像の2行目と、その1つ上の1行目とを用いて図9(b)のフィルタによって色差信号の平滑化を行い(図11−L2、図10−P2)、入力画像の3行目を処理するときは、画像の3行目と、その1つ上の2行目と、2つ上の1行目とを用いて図9(a)のフィルタによって(図11−L3、図10−P3)平滑化を行う(S13)。   As shown in FIG. 11, in the color noise reduction process, when the first line of the input image is processed, the color difference signal is smoothed by the filter of FIG. 9C using only the first line of the image ( 11-L1 and FIG. 10-P1), when processing the second line of the input image, the filter of FIG. 9B is used by using the second line of the image and the first line above it. When the color difference signal is smoothed (FIG. 11-L2, FIG. 10-P2) and the third line of the input image is processed, the third line of the image, the second line above it, two Smoothing is performed using the upper first row and the filter of FIG. 9A (FIG. 11-L3, FIG. 10-P3) (S13).

つまり、上記行間の色差判定部で、入力画像データの不連続点が検出された場合は、図10−T21,T31のように、フィルタ処理領域を、現在の図10−P3の3行処理、または図10−P2の2行処理から、図10−P1の1行処理に切り替える動作(メモリリフレッシュ動作)を行っている。   In other words, when the discontinuity point of the input image data is detected by the color difference determination unit between the rows, the filter processing area is set to the current three-row processing of FIG. 10-P3 as shown in FIGS. Alternatively, an operation (memory refresh operation) for switching from the two-row processing in FIG. 10-P2 to the one-row processing in FIG. 10-P1 is performed.

このようなフィルタ構成を用いてフィルタ処理を行うことによって、たとえば、図12に示すように、1枚の画像データがアプリケーションで分割され、画像処理モジュールに入力される場合にも、適切なフィルタ処理を行うことができる。ここで、図12の番号1〜10は、画像処理モジュールに分割し、入力される画像データの範囲を示している。また、図11の矢印は、○で示される注目行を平滑化する際に用いる画像データの範囲を示している。   By performing filter processing using such a filter configuration, for example, as shown in FIG. 12, even when one piece of image data is divided by an application and input to the image processing module, appropriate filter processing is performed. It can be performed. Here, numbers 1 to 10 in FIG. 12 indicate ranges of input image data divided into image processing modules. Moreover, the arrow of FIG. 11 has shown the range of the image data used when smoothing the attention line shown by (circle).

さらに、このようなフィルタ構成を用いてフィルタ処理を行うことによって、画像データの入力に際し、毎回出力が得られることとなり、画像データの入力に対して、処理後の画像データの出力に遅れの生じないフィルタ処理を行うことができる。   Further, by performing the filtering process using such a filter configuration, an output is obtained every time image data is input, and a delay occurs in the output of the processed image data with respect to the input of the image data. There can be no filtering.

なお、上記平均色差を求めるに当たって、上記平均色差は必ずしも正確な平均色差である必要はなく、たとえば、画像上の注目行の10画素分を適当にサンプリングし、この10画素分について求めた平均色差を用いるようにしてもよい。さらに上記色差は、たとえばRGBデータのR成分のみ、YCrCbデータのY成分のみを用いて求めるようにしてもよい。   In calculating the average color difference, the average color difference does not necessarily need to be an accurate average color difference. For example, the average color difference obtained by sampling 10 pixels of the target line on the image appropriately and calculating the average color difference is obtained. May be used. Further, the color difference may be obtained by using only the R component of RGB data and only the Y component of YCrCb data, for example.

上記実施例の機能を実現するように、各種のデバイスを動作させる各種デバイスと接続された装置またはシステムに、実施例機能を実現するためのプログラムコード自体、そのプログラムコードをコンピュータに供給するための手段、たとえばかかるプログラムコードを、格納している記憶媒体も、本発明の実施例である。   In order to realize the functions of the above-described embodiment, the program code itself for realizing the functions of the embodiment, and the program code for supplying the computer code to the computer are connected to various devices that operate various devices. Means, for example, a storage medium storing such program code is also an embodiment of the present invention.

上記プログラムコードを格納する記憶媒体として、たとえばフロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for storing the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが供給されたプログラムコードを実行することによって、上記実施例の機能が実現されるだけではなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)、または他のアプリケーションソフトなどと共同して上記実施例の機能が実現される場合にも、このようなプログラムコードは、本発明の実施例である。   Further, by executing the program code supplied by the computer, not only the functions of the above embodiments are realized, but also the OS (operating system) in which the program code is running on the computer, or other application software, etc. Such a program code is an embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the above-described embodiment.

さらに、供給されたプログラムコードが、コンピュータの機能拡張ボードや、コンピュータに接続された機能拡張ユニットに備わるメモリに格納された後に、そのプログラムコードの指示に基づいて、その機能拡張ボードや機能格納ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって、上記実施例の機能が実現される場合も、本発明の実施例である。また、上記複数の実施例を組み合わせてもよい。   Further, after the supplied program code is stored in a memory provided in a function expansion board of a computer or a function expansion unit connected to the computer, the function expansion board or function storage unit is based on an instruction of the program code. The case where the functions of the above-described embodiment are realized by the CPU or the like provided in the above-described processing by performing part or all of the actual processing is also an embodiment of the present invention. Moreover, you may combine the said several Example.

つまり、上記実施例は、明るさを示す信号と色味を示す信号とによって構成されるカラー画像データを入力する入力手順と、上記明るさを示す信号を保持しつつ、上記色味を示す信号に対してスムージング処理を行うスムージング処理手順とをコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体の例である。   That is, in the above-described embodiment, an input procedure for inputting color image data composed of a signal indicating brightness and a signal indicating color, and a signal indicating the color while holding the signal indicating brightness 5 is an example of a computer-readable recording medium recording a program that causes a computer to execute a smoothing process procedure for performing a smoothing process on the computer.

また、上記実施例は、出力カラー画像を示す描画命令を入力する入力手順と、上記描画命令に基づき、イメージ画像データ部分を検出する検出手順と、上記イメージ画像データ部分に対して色ノイズ低減処理を行う色ノイズ低減処理手順とをコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体の例である。   In the embodiment, an input procedure for inputting a drawing command indicating an output color image, a detection procedure for detecting an image image data portion based on the drawing command, and a color noise reduction process for the image image data portion. 5 is an example of a computer-readable recording medium on which a program for causing a computer to execute a color noise reduction processing procedure for performing the above is recorded.

さらに、上記実施例は、カラー画像データに対してフィルタ処理を行う画像処理方法であって、上記カラー画像データと周辺のカラー画像データとに応じて、シーン切り替わり部を検出する検出手順と、上記検出の結果に応じて、フィルタサイズを切り換えるフィルタサイズ切り換え手順とをコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体の例である。
Further, the embodiment is an image processing method for performing filter processing on color image data, and a detection procedure for detecting a scene switching unit according to the color image data and surrounding color image data, It is an example of the computer-readable recording medium which recorded the program which makes a computer perform the filter size switching procedure which switches a filter size according to the detection result.

本発明の第1の実施例である画像処理装置100の概略を示す図である。1 is a diagram schematically showing an image processing apparatus 100 according to a first embodiment of the present invention. 上記実施例におけるプリンタドライバ103を示す図である。It is a figure which shows the printer driver 103 in the said Example. 上記実施例における画像補正処理部120を示すブロック図である。It is a block diagram which shows the image correction process part 120 in the said Example. 上記実施例において、画像補正処理部120で行われる色ノイズ低減処理の動作を示すフローチャートである。6 is a flowchart illustrating an operation of color noise reduction processing performed by the image correction processing unit 120 in the embodiment. ローパスフィルタの重み構成を示す図である。It is a figure which shows the weight structure of a low-pass filter. 未処理の信号値に較べて高い重みが割り当てられるフィルタを示す図である。It is a figure which shows the filter by which high weight is assigned compared with an unprocessed signal value. 注目画素から離れた画素に高い重みをおいたフィルタを示す図である。It is a figure which shows the filter which put the high weight in the pixel away from the attention pixel. エッジ判定等を加えた、色ノイズ低減処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the color noise reduction process which added edge determination etc. ローパスフィルタの重み構成を示す図である。It is a figure which shows the weight structure of a low-pass filter. シーン切り替わり判定部を備え、処理対象の画像中での位置に応じて、画像を処理するフィルタを切り替える場合における処理シークエンスを示す状態遷移図である。It is a state transition diagram showing a processing sequence when a scene switching determination unit is provided and a filter for processing an image is switched according to a position in a processing target image. 処理対象の画像中での位置に応じて、画像を処理するフィルタを切り替える場合におけるフィルタの切り替え方を示す模式図である。It is a schematic diagram which shows how to switch the filter in the case of switching the filter which processes an image according to the position in the image of a process target. 画像データを分割して処理する場合における画像データの分割方法を示す模式図である。It is a schematic diagram which shows the division | segmentation method of the image data in the case of dividing | segmenting and processing image data. 明度補正を行う場合の明度補正曲線の図である。It is a figure of the brightness correction curve in the case of performing brightness correction. 画像データの分割処理時に、分割された領域毎に色味が異なってフィルタ処理される画像データと、画像の分割方法とを示す模式図である。FIG. 5 is a schematic diagram illustrating image data that is subjected to filter processing with different colors for each divided area and a method for dividing an image during image data division processing.

符号の説明Explanation of symbols

100…画像処理装置、
101…アプリケーションソフトウエア、
102…OS、
103…プリンタドライバ、
104…モニタドライバ、
105…モニタ、
106…プリンタ、
107…ハードディスクドライバ、
120…画像補正処理部、
121…プリンタ用補正処理部。
100: Image processing apparatus,
101 ... Application software,
102 ... OS,
103 ... Printer driver,
104: Monitor driver,
105. Monitor,
106: Printer,
107: Hard disk driver,
120. Image correction processing unit,
121 A printer correction processing unit.

Claims (10)

出力カラー画像を示す描画命令を入力する入力段階と;
上記描画命令に基づき、イメージ画像データ部分を検出する検出段階と;
上記イメージ画像データ部分に対して色ノイズ低減処理を行う色ノイズ低減処理段階と;
を有することを特徴とする画像処理方法。
An input stage for inputting a drawing command indicating an output color image;
A detection step of detecting an image data portion based on the drawing command;
A color noise reduction processing stage for performing color noise reduction processing on the image image data portion;
An image processing method comprising:
請求項1において、
上記色ノイズ低減処理は、明るさを示す信号と色味を示す信号とによって構成されるカラー画像データに対して、上記明るさを示す信号を保持しつつ、上記色味を示す信号に対して行うスムージング処理であることを特徴とする画像処理方法。
In claim 1,
The color noise reduction processing is performed on the color image data configured by the signal indicating brightness and the signal indicating color with respect to the signal indicating color while holding the signal indicating brightness. An image processing method, characterized by performing smoothing processing.
請求項1において、
上記描画命令に基づき、グラフィック画像データ部分が検出された場合、上記色ノイズ低減処理を行わないことを特徴とする画像処理方法。
In claim 1,
An image processing method, wherein when the graphic image data portion is detected based on the drawing command, the color noise reduction processing is not performed.
カラー画像データに対してフィルタ処理を行う画像処理方法であって、
上記カラー画像データと周辺のカラー画像データとに応じて、シーン切り替わり部を検出する検出段階と;
上記検出の結果に応じて、フィルタサイズを切り換えるフィルタサイズ切り換え段階と;
を有することを特徴とする画像処理方法。
An image processing method for performing filter processing on color image data,
A detection step of detecting a scene switching portion in accordance with the color image data and surrounding color image data;
A filter size switching step of switching the filter size according to the detection result;
An image processing method comprising:
請求項4において、
上記フィルタ処理で使用されるフィルタは、注目画素が属する注目ラインと、上記注目ラインよりも前のラインを参照するフィルタであることを特徴とする画像処理方法。
In claim 4,
The image processing method according to claim 1, wherein the filter used in the filter processing is a filter that refers to a target line to which a target pixel belongs and a line preceding the target line.
請求項4において、
出力画像を示す描画命令群を入力する描画命令群入力段階と;
上記描画命令群に基づき、出力画像を示す出力画像データを生成する画像データ生成段階と;
複数の描画命令によって同一の画像を分割する分割段階と;
上記分割された複数の画像を入力する分割画像入力段階と;
を有することを特徴とする画像処理方法。
In claim 4,
A drawing command group input stage for inputting a drawing command group indicating an output image;
An image data generation stage for generating output image data indicating an output image based on the drawing command group;
A division step of dividing the same image by a plurality of drawing commands;
A divided image input stage for inputting the plurality of divided images;
An image processing method comprising:
出力カラー画像を示す描画命令を入力する入力手段と;
上記描画命令に基づき、イメージ画像データ部分を検出する検出手段と;
上記イメージ画像データ部分に対して色ノイズ低減処理を行う色ノイズ低減処理手段と;
画像形成手段と;
を有することを特徴とする画像処理装置。
Input means for inputting a drawing command indicating an output color image;
Detecting means for detecting an image data portion based on the drawing command;
Color noise reduction processing means for performing color noise reduction processing on the image image data portion;
An image forming means;
An image processing apparatus comprising:
カラー画像データに対してフィルタ処理を行う画像処理装置であって、
上記カラー画像データと周辺のカラー画像データとに応じて、シーン切り替わり部を検出する検出手段と;
上記検出の結果に応じて、フィルタサイズを切り換えるフィルタサイズ切り換え手段と;
画像形成手段と;
を有することを特徴とする画像処理装置。
An image processing apparatus that performs filter processing on color image data,
Detecting means for detecting a scene switching portion according to the color image data and surrounding color image data;
Filter size switching means for switching the filter size according to the detection result;
An image forming means;
An image processing apparatus comprising:
出力カラー画像を示す描画命令を入力する入力手順と;
上記描画命令に基づき、イメージ画像データ部分を検出する検出手順と;
上記イメージ画像データ部分に対して色ノイズ低減処理を行う色ノイズ低減処理手順と;
をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体。
An input procedure for inputting a drawing command indicating an output color image;
A detection procedure for detecting an image data portion based on the drawing command;
A color noise reduction processing procedure for performing color noise reduction processing on the image data portion;
The computer-readable recording medium which recorded the program which makes a computer perform.
カラー画像データに対してフィルタ処理を行う画像処理方法であって、
上記カラー画像データと周辺のカラー画像データとに応じて、シーン切り替わり部を検出する検出手順と;
上記検出の結果に応じて、フィルタサイズを切り換えるフィルタサイズ切り換え手順と;
をコンピュータに実行させるプログラムを記録したコンピュータ読み取り可能な記録媒体。
An image processing method for performing filter processing on color image data,
A detection procedure for detecting a scene switching portion according to the color image data and the surrounding color image data;
A filter size switching procedure for switching the filter size according to the detection result;
The computer-readable recording medium which recorded the program which makes a computer perform.
JP2005108597A 2005-04-05 2005-04-05 Method and apparatus of image processing and storage medium Pending JP2005235238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005108597A JP2005235238A (en) 2005-04-05 2005-04-05 Method and apparatus of image processing and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005108597A JP2005235238A (en) 2005-04-05 2005-04-05 Method and apparatus of image processing and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP35619799A Division JP3689607B2 (en) 1999-12-15 1999-12-15 Image processing method, apparatus, and storage medium

Publications (1)

Publication Number Publication Date
JP2005235238A true JP2005235238A (en) 2005-09-02

Family

ID=35018053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005108597A Pending JP2005235238A (en) 2005-04-05 2005-04-05 Method and apparatus of image processing and storage medium

Country Status (1)

Country Link
JP (1) JP2005235238A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010113709A (en) * 2008-11-05 2010-05-20 Magnachip Semiconductor Ltd Sharpness correction apparatus and method
JP2010187270A (en) * 2009-02-13 2010-08-26 Fuji Xerox Co Ltd Image-processing device, image-reading device, and image-forming device
JP2013132032A (en) * 2011-12-22 2013-07-04 Sharp Corp Image processing apparatus, image forming apparatus, digital camera, image processing method, computer program, and recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010113709A (en) * 2008-11-05 2010-05-20 Magnachip Semiconductor Ltd Sharpness correction apparatus and method
JP2010187270A (en) * 2009-02-13 2010-08-26 Fuji Xerox Co Ltd Image-processing device, image-reading device, and image-forming device
US8493615B2 (en) 2009-02-13 2013-07-23 Fuji Xerox Corporation Image-processing device, image-reading device, and image-forming device
JP2013132032A (en) * 2011-12-22 2013-07-04 Sharp Corp Image processing apparatus, image forming apparatus, digital camera, image processing method, computer program, and recording medium

Similar Documents

Publication Publication Date Title
US6980326B2 (en) Image processing method and apparatus for color correction of an image
JP4902837B2 (en) How to convert to monochrome image
JP4725057B2 (en) Generation of image quality adjustment information and image quality adjustment using image quality adjustment information
JP4498233B2 (en) Image processing apparatus and image processing method
JP2000013623A (en) Image processing method, device and recording medium
JP3689607B2 (en) Image processing method, apparatus, and storage medium
JP4262151B2 (en) Image processing method, image processing apparatus, computer program, and storage medium
JP2008017365A (en) Apparatus and method for processing picture, and program
JP6127877B2 (en) Image processing apparatus and computer program
JP2007036560A (en) Image processor, image processing method, and its program
JP5151708B2 (en) Image processing apparatus and image processing program
JP2001189862A (en) Image processing method and image processing device
JP2001177731A (en) Image processing method, image processor and storage medium
JP4164215B2 (en) Image processing method, apparatus, and recording medium
JP2005235238A (en) Method and apparatus of image processing and storage medium
JP6736299B2 (en) Printing device, printing method, and program
US7817303B2 (en) Image processing and image forming with modification of a particular class of colors
JP2003219180A (en) Image processing method, image processing device, recording medium capable of reading computer and computer program
JP2003274180A (en) Image processor, image processing method, printer driver, computer readable storage medium and computer program
JP4792893B2 (en) Image processing apparatus and program
JPH09247483A (en) Picture emphasizing device
JP4100848B2 (en) Image processing method and image processing apparatus
JP2005260404A (en) Image processor
JP2000105820A (en) Device and method for monotone conversion and medium where monotone converting program is recorded
JP2001024872A (en) Method and device for image processing, image processing system and recording medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080328

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080527

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080819

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080926