JP2002369036A - Image processing method - Google Patents

Image processing method

Info

Publication number
JP2002369036A
JP2002369036A JP2001172349A JP2001172349A JP2002369036A JP 2002369036 A JP2002369036 A JP 2002369036A JP 2001172349 A JP2001172349 A JP 2001172349A JP 2001172349 A JP2001172349 A JP 2001172349A JP 2002369036 A JP2002369036 A JP 2002369036A
Authority
JP
Japan
Prior art keywords
image
image processing
digital camera
data
file
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
JP2001172349A
Other languages
Japanese (ja)
Other versions
JP2002369036A5 (en
Inventor
Kazuhiko Takemura
和彦 竹村
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2001172349A priority Critical patent/JP2002369036A/en
Publication of JP2002369036A publication Critical patent/JP2002369036A/en
Publication of JP2002369036A5 publication Critical patent/JP2002369036A5/ja
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reduce image quality deterioration at printing or monitoring caused by a type of a solid-state image pickup element of a digital camera. SOLUTION: When a smart media (R) 23 extracted from a digital camera 22 is set to a card reader 13, an image file memory 14 stores an image file and a DPOF(Digital Print Order Format) file memory 15 stores a DPOF file. A controller 20 reads camera information from the DPOF file to discriminate whether the solid-state image pickup element of the digital camera 22 is of a honeycomb type or a Bayer type, selects a corresponding filtering coefficient from a coefficient memory 16 and gives the selected coefficient to an image processing section 17. The image processing section 17 applies the filtering coefficient to image data read from the image file memory 14 to apply filter processing to the data and displays an image on a liquid crystal display panel 18. When a user operates an operation section 19, the image data subjected to the filter processing are fed to a print section 21, to print out the image.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルカメラの
撮影によって得られた画像データに対して画像処理を施
す画像処理方法に関し、更に詳しくは画質の低下を軽減
する画像処理方法に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method for performing image processing on image data obtained by photographing with a digital camera, and more particularly to an image processing method for reducing deterioration of image quality.

【0002】[0002]

【従来の技術】デジタルカメラは、撮影レンズ後方に配
置したCCDイメージセンサ等の固体撮像素子の光電面
に結像する光学的な被写体画像をデジタル信号に変換し
て内蔵メモリや補助記憶装置に保存する。この補助記憶
装置としては、例えばスマートメディア等のメモリカー
ドが用いられる。メモリカードに記録された画像データ
は、カードリーダ等を介してパーソナルコンピュータ
(以下パソコンという)に保存された後、パソコンに接
続されたインクジェットプリンタ等のプリンタで印刷さ
れるのが一般的である。
2. Description of the Related Art A digital camera converts an optical subject image formed on a photocathode of a solid-state image sensor such as a CCD image sensor disposed behind a photographic lens into a digital signal and stores the digital signal in a built-in memory or an auxiliary storage device. I do. As this auxiliary storage device, for example, a memory card such as a smart media is used. Generally, image data recorded on a memory card is stored in a personal computer (hereinafter referred to as a personal computer) via a card reader or the like, and then printed by a printer such as an inkjet printer connected to the personal computer.

【0003】前記画像データをそのまま信号処理してプ
リントすると、画像の輪郭がぼけて鮮鋭度が低下する場
合が多い。このため、シャープネス補正が行われること
が普通である。このシャープネス補正は、二次微分演算
(ラプラシアン)と称されるフィルタ処理によって行わ
れる。より具体的には、ある画素の濃度値を周辺の画素
の濃度値に応じて変化させることにより、画像の輪郭を
強調するものである。
When the image data is subjected to signal processing as it is and printed, the outline of the image is often blurred and the sharpness is reduced. For this reason, it is common that sharpness correction is performed. This sharpness correction is performed by a filter process called a second derivative operation (Laplacian). More specifically, the contour of an image is enhanced by changing the density value of a certain pixel in accordance with the density values of surrounding pixels.

【0004】一方、被写体の周波数成分が画素ピッチか
ら定まるナイキスト周波数を越えると、モアレが現れ
る。このため、多くのデジタルカメラでは、光学的ロー
パスフィルタと呼ばれる水晶板を複数枚組み合わせて、
高周波成分を除去している。
On the other hand, when the frequency component of the subject exceeds the Nyquist frequency determined from the pixel pitch, moire appears. For this reason, many digital cameras combine multiple quartz plates called optical low-pass filters,
High frequency components are removed.

【0005】[0005]

【発明が解決しようとする課題】ところで、デジタルカ
メラに用いられている固体撮像素子には、一般的なベイ
ヤー型CCDと、本出願人が提案しているハニカム型C
CDとがあり、これらは画素配列の相違により空間周波
数(解像度)に方向依存性を有する。すなわち、ベイヤ
ー型CCDは、正方形の画素が格子状に配列されてお
り、各画素ピッチは水平・垂直方向より斜め方向の方が
狭いため、斜め方向の空間周波数が高い。一方のハニカ
ム型CCDは、ベイヤー型CCDの画素を45度に傾け
て配置したもので、ベイヤー型CCDとは逆に、斜め方
向よりも水平・垂直方向の画素ピッチが狭いので、水平
・垂直方向の空間周波数が高くなっている。したがっ
て、ベイヤー型CCDを用いたデジタルカメラで撮影し
た画像データに適したシャープネス補正を、ハニカム型
CCDを用いたデジタルカメラで撮影した画像データに
そのまま適用した場合、またその逆の適用を行った場合
には、偽色を強調させたり、偽輪郭強調を行ってプリン
トしてしまい、かえって画質が低下するという問題が生
じる。この問題は、画像をモニタに表示する場合にも発
生する。
The solid-state image pickup devices used in digital cameras include a general Bayer type CCD and a honeycomb type CCD proposed by the present applicant.
There are CDs, which have direction dependency on the spatial frequency (resolution) due to the difference in pixel arrangement. That is, in the Bayer CCD, square pixels are arranged in a grid pattern, and the pixel pitch in each diagonal direction is narrower in the diagonal direction than in the horizontal and vertical directions, so that the spatial frequency in the diagonal direction is high. On the other hand, the honeycomb type CCD has the pixels of the Bayer type CCD arranged at an angle of 45 degrees. Contrary to the Bayer type CCD, the pixel pitch in the horizontal and vertical directions is narrower than in the diagonal direction. Has a higher spatial frequency. Therefore, when sharpness correction suitable for image data captured by a digital camera using a Bayer CCD is directly applied to image data captured by a digital camera using a honeycomb CCD, and vice versa. In this case, there is a problem that a false color is emphasized or a false contour is emphasized and printing is performed, and the image quality is rather deteriorated. This problem also occurs when displaying an image on a monitor.

【0006】また、デジタルカメラに組み込まれている
ローパスフィルタは、コスト等の面から理想的なもので
ない場合や、更には全く組み込まれていない場合もあ
る。このような比較的ローコストなデジタルカメラの撮
影によって得られた画像データに対して単にシャープネ
ス補正を施してプリントすると、モアレが強調されて画
質が低下する。
[0006] The low-pass filter incorporated in the digital camera may not be ideal in terms of cost or the like, or may not be incorporated at all. If image data obtained by photographing with such a relatively low-cost digital camera is simply subjected to sharpness correction and printed, moiré is emphasized and image quality deteriorates.

【0007】また、本発明は、デジタルカメラの固体撮
像素子の種類やローパスフィルタの有無等に起因するプ
リント又はモニタ時の画質低下を軽減する画像処理方法
を提供することを目的とするものである。
Another object of the present invention is to provide an image processing method for reducing deterioration in image quality during printing or monitoring due to the type of solid-state imaging device of a digital camera, the presence or absence of a low-pass filter, and the like. .

【0008】[0008]

【課題を解決するための手段】上記問題を解決するため
に、本発明の画像処理方法は、デジタルカメラによって
撮影して得られた画像データに対して画像処理を施す画
像処理方法において、前記デジタルカメラのカメラ情報
に起因する画質劣化を軽減する複数のフィルタリング係
数を用意しておき、この複数のフィルタリング係数から
前記カメラ情報に応じたフィルタリング係数を選択し、
前記画像処理に使用するものである。また、前記カメラ
情報は、前記デジタルカメラに用いられている固体撮像
素子の種類を示す情報としたものである。また、前記カ
メラ情報は、ローパスフィルタの有無を示す情報とした
ものである。また、前記画像処理は、前記画像データか
ら作成した輝度データ,色差データのそれぞれに異なる
フィルタリング係数を適用するフィルタ処理を含むもの
である。
According to another aspect of the present invention, there is provided an image processing method for performing image processing on image data obtained by photographing with a digital camera. Preparing a plurality of filtering coefficients for reducing image quality deterioration caused by camera information of the camera, selecting a filtering coefficient according to the camera information from the plurality of filtering coefficients,
It is used for the image processing. The camera information is information indicating a type of a solid-state imaging device used in the digital camera. Further, the camera information is information indicating the presence or absence of a low-pass filter. Further, the image processing includes a filter processing for applying different filtering coefficients to each of luminance data and color difference data created from the image data.

【0009】[0009]

【発明の実施の形態】本発明を実施したプリンタの構成
を示す図1において、プリンタ10は、カードリーダ1
3,画像ファイル用メモリ14,DPOFファイル用メ
モリ15,係数メモリ16,画像処理部17,デジタル
式の液晶パネル18,操作部19,コントローラ20及
びプリント部21からなる。カードリーダ13には、デ
ジタルカメラ22で使用されるスマートメディア23が
セットされ、このスマートメディア23に記録されてい
る画像ファイルとDPOFファイル(図2参照)が読み
出される。なお、このDPOFファイルとは、デジタル
カメラで撮影した画像のうち所望の画像を写真プリンタ
等の画像出力装置で自動的にプリントするための規格D
POF(Digital Print Order Format)に準拠したファ
イルである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the configuration of a printer embodying the present invention.
3, an image file memory 14, a DPOF file memory 15, a coefficient memory 16, an image processing unit 17, a digital liquid crystal panel 18, an operation unit 19, a controller 20, and a printing unit 21. The smart media 23 used in the digital camera 22 is set in the card reader 13, and the image file and the DPOF file (see FIG. 2) recorded on the smart media 23 are read. The DPOF file is a standard D for automatically printing a desired image from an image taken by a digital camera by an image output device such as a photo printer.
This file is based on the POF (Digital Print Order Format).

【0010】スマートメディア23のディレクトリ構造
を示す図2において、ルートディレクトリ「Root」
の下には、「IM_1」,「IM_2」,・・・,「I
M_n」及び「MISC」のサブディレクトリがそれぞ
れ作成される。サブディレクトリ「IM_1」〜「IM
_n」には撮影した各画像の画像ファイル25a〜25
nが1画面毎に記録され、サブディレクトリ「MIS
C」にはDPOFファイル26が記録される。
In FIG. 2 showing the directory structure of the smart media 23, a root directory "Root" is shown.
, "IM_1", "IM_2", ..., "I
M_n ”and“ MISC ”subdirectories are created. Subdirectories “IM_1” to “IM”
_N ”is an image file 25a to 25 of each captured image.
n is recorded for each screen, and the sub-directory “MIS
The DPOF file 26 is recorded in "C".

【0011】画像ファイル25は、デジタルカメラ22
の画像データ処理回路で所定の信号処理が行われた画像
データ27aと、この画像データ27aに対応する画像
付帯情報27bとから構成される。前記画像データ27
aは、R(赤),G(緑),B(青)の各画像データか
らなる。画像付帯情報27bとしては、撮影日時、撮影
者、撮影場所、撮影条件(露光条件、シャッタースピー
ド等)、撮影装置のID番号等が記録される。画像付帯
情報27bは撮影前に設定した情報を基に、撮影した被
写体画像の画像データ27aをスマートメディア23に
記録するときに自動的に記録されるほか、撮影後に操作
パネルを用いてユーザーが手動で記録することもでき
る。
The image file 25 is stored in the digital camera 22.
The image data processing circuit has a predetermined signal processing performed by the image data 27a, and image accompanying information 27b corresponding to the image data 27a. The image data 27
a is composed of R (red), G (green), and B (blue) image data. As the image accompanying information 27b, a photographing date and time, a photographer, a photographing place, photographing conditions (exposure conditions, shutter speed, and the like), an ID number of the photographing device, and the like are recorded. The image accompanying information 27b is automatically recorded when the image data 27a of the photographed subject image is recorded on the smart media 23 based on the information set before the photographing, and is manually operated by the user using the operation panel after the photographing. Can also be recorded.

【0012】DPOFファイル26には、カメラ情報,
プリントジョブ情報,画像ソース情報等の画像再生情報
26aが記録される。カメラ情報には、デジタルカメラ
22に用いている固体撮像素子がハニカム型CCDかベ
イヤー型CCDかを示す固体撮像素子の種類情報と、デ
ジタルカメラ22にローパスフィルタが使われているか
否かを示すローパスフィルタの有無情報とがある。な
お、これらの固体撮像素子の種類情報やローパスフィル
タの有無情報は、カメラの機種名,例えば「FinePix 68
00z 」(商品名)から分かるので、カメラ情報としてカ
メラの機種名だけを記録してもよい。また、本実施形態
のデジタルカメラ22には、ローパスフィルタが使われ
ているとする。また、プリントジョブ情報は、プリント
枚数,サイズ等のプリント条件を示す。また、画像ソー
ス情報は、ファイルフォーマットの種類等を示す。
The DPOF file 26 contains camera information,
Image reproduction information 26a such as print job information and image source information is recorded. The camera information includes type information of the solid-state imaging device indicating whether the solid-state imaging device used in the digital camera 22 is a honeycomb CCD or a Bayer-type CCD, and a low-pass indicating whether or not a low-pass filter is used in the digital camera 22. There is information on the presence or absence of a filter. The type information of these solid-state imaging devices and the information on the presence / absence of a low-pass filter are stored in the camera model name, for example, “FinePix
00z "(product name), only the camera model name may be recorded as camera information. It is assumed that a low-pass filter is used in the digital camera 22 of the present embodiment. The print job information indicates print conditions such as the number of prints and the size. The image source information indicates the type of the file format and the like.

【0013】ベイヤー型CCDの一部を示す図3におい
て、ベイヤー型CCD30は、水平方向(X方向),垂
直方向(Y方向)の画素間の各配列ピッチをPとし、各
画素31の受光部32の形状を正方形にしてある。この
ベイヤー型CCD30では、斜め45度方向の画素間隔
がP/√2となり、水平・垂直方向より斜め45度方向
の解像度が高くなっている。また、各受光部32の上に
は、R,G,Bそれぞれの色を持つ色フィルタが装着し
てある。1個の画素には一つの色フィルタしか装着でき
ないため、最終的なカラー画像のデータは、周りにある
画素の情報をもとに計算により導き出される。
In FIG. 3, which shows a part of a Bayer type CCD, a Bayer type CCD 30 has a light receiving portion of each pixel 31 where P is an arrangement pitch between pixels in a horizontal direction (X direction) and a vertical direction (Y direction). 32 has a square shape. In the Bayer-type CCD 30, the pixel interval in the diagonal 45-degree direction is P / √2, and the resolution in the diagonal 45-degree direction is higher than in the horizontal and vertical directions. A color filter having each of R, G, and B colors is mounted on each light receiving section 32. Since only one color filter can be attached to one pixel, the final color image data is derived by calculation based on information on surrounding pixels.

【0014】ハニカム型CCDの一部を示す図4におい
て、ハニカム型CCD35は、ベイヤー型CCDの画素
を45度回転させてX方向,Y方向の画素間の各配列ピ
ッチをP/√2とすることにより、斜め45度方向より
水平・垂直方向の解像度が高くなっている。また、各画
素36の受光部37の形状を円形に近い八角形として受
光部37の面積を大きくしているため、同サイズのベイ
ヤー型CCDより感度が高くなっている。各受光部37
の上には、R,G,Bそれぞれの色を持つ色フィルタが
装着してあり、前記ベイヤー型CCD30と同様に、最
終的なカラー画像のデータは周りにある画素の情報をも
とに計算により導き出される。
In FIG. 4, which shows a part of a honeycomb CCD, a honeycomb CCD 35 rotates pixels of the Bayer CCD 45 degrees and sets each arrangement pitch between pixels in the X and Y directions to P / √2. As a result, the resolution in the horizontal and vertical directions is higher than that in the 45 ° oblique direction. Further, since the shape of the light receiving portion 37 of each pixel 36 is an octagon close to a circle and the area of the light receiving portion 37 is increased, the sensitivity is higher than that of a Bayer type CCD of the same size. Each light receiving section 37
A color filter having each of R, G, and B colors is mounted on the top, and similar to the Bayer type CCD 30, final color image data is calculated based on information of surrounding pixels. Is derived by

【0015】デジタルカメラ22によって撮影された画
像を記録したスマートメディア23をカードリーダ13
にセットすると、スマートメディア23の画像ファイル
25は画像ファイル用メモリ14に、またDPOFファ
イル26はDPOFファイル用メモリ15にそれぞれ読
み込まれる。
The smart media 23 on which the image photographed by the digital camera 22 is recorded is transferred to the card reader 13.
, The image file 25 of the smart media 23 is read into the image file memory 14 and the DPOF file 26 is read into the DPOF file memory 15.

【0016】係数メモリ16には、3×3の画素の位置
を(i,j)としたときの空間フィルタの係数(フィル
タリング係数)を示す下記の数式1,2が記憶されてい
る。
The coefficient memory 16 stores the following mathematical expressions 1 and 2 indicating the coefficients (filtering coefficients) of the spatial filter when the position of the 3 × 3 pixel is (i, j).

【0017】[0017]

【数1】 (Equation 1)

【0018】[0018]

【数2】 (Equation 2)

【0019】数式1で表されるf1(i,j)は、デジ
タルカメラ22の固体撮像素子がハニカム型CCDの場
合に適用されるフィルタリング係数であり、水平・垂直
方向より解像度が低い斜め方向の画素の濃度値を低く用
いることでシャープネス補正を行い、偽色と偽輪郭強調
を軽減する。
F1 (i, j) represented by equation (1) is a filtering coefficient applied when the solid-state image pickup device of the digital camera 22 is a honeycomb type CCD, and is an oblique direction having a lower resolution than the horizontal and vertical directions. Sharpness correction is performed by using a low pixel density value to reduce false color and false contour enhancement.

【0020】ハニカム型CCD35を用いたデジタルカ
メラによって撮影して得られた画像データの一部を示す
図5において、この画像データに対して数式1を適用し
てフィルタ処理を行うと、シャープネス補正する画素4
0の斜め45度の位置にある4個の画素41〜44の濃
度値に係数「−1/4」をそれぞれ乗算し、これらを画
素40の原濃度値に加算して画素40のシャープネス補
正された濃度値が得られる。なお、図面に示すX,Y方
向は、図4に示すハニカム型CCD35のX,Y方向と
対応しているとともに、後述するプリント部21のサー
マルヘッドの発熱素子がライン状に配列された主走査方
向と、これに直交する紙送り方向である副走査方向とに
それぞれ対応している。
In FIG. 5, which shows a part of image data obtained by photographing with a digital camera using a honeycomb type CCD 35, a sharpness correction is performed by applying a filtering process by applying Equation 1 to the image data. Pixel 4
The density values of the four pixels 41 to 44 at the position of 45 degrees oblique to 0 are multiplied by a coefficient “− /”, respectively, and these are added to the original density value of the pixel 40 to correct the sharpness of the pixel 40. Density values are obtained. The X and Y directions shown in the drawing correspond to the X and Y directions of the honeycomb CCD 35 shown in FIG. 4, and the main scanning in which heating elements of a thermal head of the printing unit 21 described later are arranged in a line. Direction and a sub-scanning direction, which is a paper feed direction orthogonal to the direction.

【0021】数式2で表されるf2(i,j)は、前記
固体撮像素子がベイヤー型CCDの場合に適用されるフ
ィルタリング係数であり、前記ハニカム型CCDの場合
とは逆に、斜め方向より解像度が低い水平・垂直方向の
画素の濃度値を低く用いることでシャープネス補正を行
い、偽色と偽輪郭強調を軽減する。
F2 (i, j) represented by Expression 2 is a filtering coefficient applied when the solid-state image pickup device is a Bayer type CCD, and is opposite to the case of the honeycomb type CCD in a diagonal direction. Sharpness correction is performed by using low density values of pixels in the horizontal and vertical directions with low resolution to reduce false color and false contour enhancement.

【0022】ベイヤー型CCD30を用いたデジタルカ
メラによって撮影して得られた画像データの一部を示す
図6において、この画像データに対して数式2を適用し
てフィルタ処理を行うと、シャープネス補正する画素5
0のX,Y方向の位置にある4個の画素51〜54の濃
度値に係数「−1/4」をそれぞれ乗算し、これらを画
素50の原濃度値に加算して画素50のシャープネス補
正された濃度値が得られる。
In FIG. 6 showing a part of image data obtained by photographing with a digital camera using the Bayer type CCD 30, a sharpness correction is performed by applying a filtering process to the image data by applying Expression 2. Pixel 5
The sharpness correction of the pixel 50 is performed by multiplying the density values of the four pixels 51 to 54 at the X and Y directions of 0 by a coefficient “− 係数”, respectively, and adding these to the original density value of the pixel 50. The obtained density value is obtained.

【0023】画像ファイル用メモリ14は、コントロー
ラ20の制御に従って読出動作を行い、画像ファイル2
5から画像データ27aをR,G,B毎に順次に読み出
し、画像処理部17に送る。この画像処理部17は、
R,G,Bの各画像データに対して、係数メモリ16か
ら固体撮像素子の種類に対応したフィルタリング係数を
読み込んで、前記フィルタ処理を行った後、液晶パネル
18に画像ファイル25a〜25nの各画像データ27
aをサムネイル表示する。
The image file memory 14 performs a reading operation under the control of the controller 20, and stores the image file 2
5, the image data 27a is sequentially read out for each of R, G, and B, and sent to the image processing unit 17. This image processing unit 17
For each of the R, G, and B image data, a filtering coefficient corresponding to the type of the solid-state imaging device is read from the coefficient memory 16 and the filtering process is performed. Image data 27
a is displayed as a thumbnail.

【0024】液晶パネル18に表示された画像からプリ
ントを希望する画像を選択し、操作部19の選択キーを
操作してプリントスタートキーを操作すると、フィルタ
処理済みの画像データが画像処理部17からプリント部
21に送られる。プリント部21としては、例えば、イ
エロー,マゼンタ,シアンにそれぞれ発色する感熱発色
層を積層したカラー感熱記録紙を用いて3色面順次でカ
ラー画像を発色記録する周知のカラー感熱プリンタが用
いられる。なお、この場合、画像処理部17からプリン
ト部21に送られる前に、画像データはRGBからYM
Cに色変換される。
When an image desired to be printed is selected from the images displayed on the liquid crystal panel 18 and the print start key is operated by operating the selection key of the operation unit 19, the filtered image data is transmitted from the image processing unit 17. It is sent to the print unit 21. As the print unit 21, for example, a well-known color thermal printer that color-records a color image in three color planes sequentially using color thermal recording paper in which thermal color layers that respectively develop yellow, magenta, and cyan colors are laminated is used. In this case, the image data is converted from RGB to YM before being sent from the image processing unit 17 to the printing unit 21.
The color is converted to C.

【0025】このように構成されたプリンタ10の作用
を説明する。ユーザーは、デジタルカメラ22で撮影を
行った後、使用したスマートメディア23をプリンタ1
0のカードリーダ13にセットする。カードリーダ13
で読み込まれたスマートメディア23の画像ファイル2
5は、画像ファイル用メモリ14に記憶され、DPOF
ファイル26は、DPOFファイル用メモリ15に記憶
される。
The operation of the thus constructed printer 10 will be described. After photographing with the digital camera 22, the user puts the used smart media 23 into the printer 1.
0 is set in the card reader 13. Card reader 13
File 2 of smart media 23 read by
5 is stored in the image file memory 14 and stored in the DPOF
The file 26 is stored in the DPOF file memory 15.

【0026】コントローラ20は、DPOFファイル用
メモリ15の画像再生情報26aのうちからカメラ情報
を読み出す。デジタルカメラ22に使われている固体撮
像素子がハニカム型CCDである場合には、係数メモリ
16から数式1で表されるフィルタリング係数を読み出
して画像処理部17に入力する。
The controller 20 reads camera information from the image reproduction information 26a in the DPOF file memory 15. When the solid-state imaging device used in the digital camera 22 is a honeycomb CCD, the filtering coefficient represented by Expression 1 is read from the coefficient memory 16 and input to the image processing unit 17.

【0027】画像処理部17は、画像ファイル用メモリ
14から画像ファイル25aの画像データ27aをRG
B毎に読み出して、前記数式1で表されるフィルタリン
グ係数によるフィルタ処理を施し、液晶パネル18に縮
小表示する。続いて、画像ファイル用メモリ14から画
像ファイル25bの画像データ27aをRGB毎に読み
出して、前記数式1で表されるフィルタリング係数によ
るフィルタ処理を施し、液晶パネル18に縮小表示す
る。以下、同様に画像ファイル25c〜25nの各画像
データ27aをフィルタ処理して液晶パネル18に縮小
表示する。
The image processing unit 17 converts the image data 27a of the image file 25a from the image file memory 14 into RG
The data is read out for each B, filtered by the filtering coefficient represented by the above-described formula 1, and reduced and displayed on the liquid crystal panel 18. Subsequently, the image data 27a of the image file 25b is read out from the image file memory 14 for each of RGB, subjected to a filtering process using the filtering coefficient represented by the above formula 1, and displayed on the liquid crystal panel 18 in a reduced size. Hereinafter, similarly, each of the image data 27a of the image files 25c to 25n is subjected to the filter processing and reduced and displayed on the liquid crystal panel 18.

【0028】ユーザーは、液晶パネル18にマトリック
ス状に縮小表示(サムネイル表示)された画像ファイル
25a〜25nの各画像データ27aからプリントした
い画像を操作部19により選択し、濃度補正,色補正,
プリントサイズ,プリント枚数等の設定を行ってからプ
リントスタートキーを操作する。これにより、選択され
たフィルタ処理済みのRGBの画像データが画像処理部
17によってYMCの画像データに変換されてから、1
ライン分ずつプリント部21のサーマルヘッドに転送さ
れる。
The user selects an image to be printed from the image data 27a of the image files 25a to 25n reduced (thumbnail display) in a matrix form on the liquid crystal panel 18 by using the operation unit 19, and performs density correction, color correction,
After setting the print size, number of prints, etc., operate the print start key. As a result, after the selected filtered RGB image data is converted into YMC image data by the image processing unit 17,
Each line is transferred to the thermal head of the printing unit 21.

【0029】プリント部21では、3色面順次でイエロ
ー,マゼンタ,シアンの各画像が順次に発色記録され、
フルカラー画像がカラー感熱記録紙に発色記録される。
なお、イエロー画像が発色記録された後には、所定の紫
外線が照射されてカラー感熱記録紙のイエロー感熱発色
層が光定着される。また、マゼンタ画像が発色記録され
た後には、所定の紫外線が照射されてカラー感熱記録紙
のマゼンタ感熱発色層が光定着される。また、シアン感
熱発色層は、通常の保存状態では発色することがないた
め、光定着性は与えられていない。
In the printing section 21, yellow, magenta, and cyan images are sequentially recorded in three color planes.
A full-color image is color-recorded on a color thermosensitive recording paper.
After the yellow image is color-recorded, a predetermined ultraviolet ray is irradiated to fix the yellow thermosensitive coloring layer of the color thermosensitive recording paper with light. After the magenta image is color-recorded, a predetermined ultraviolet ray is applied to fix the magenta thermosensitive coloring layer of the color thermosensitive recording paper with light. Further, the cyan thermosensitive coloring layer does not develop a color in a normal storage state, and thus does not have light fixing properties.

【0030】デジタルカメラ22に使われている固体撮
像素子がベイヤー型CCDである場合には、コントロー
ラ20は、係数メモリ16から数式2で表されるフィル
タリング係数を読み出して画像処理部17に入力する。
他は、ハニカム型CCDの場合と同様であるから説明を
省略する。
When the solid-state image pickup device used in the digital camera 22 is a Bayer type CCD, the controller 20 reads out the filtering coefficient represented by Expression 2 from the coefficient memory 16 and inputs the filtering coefficient to the image processing unit 17. .
The rest is the same as the case of the honeycomb type CCD, and thus the description is omitted.

【0031】上記実施形態では、前記画像処理部17
は、RGBの画像データにフィルタ処理を施したが、図
7に示すように、RGBの各画像データから輝度データ
(Yデータ)と色差データ(CRデータ,CBデータ)
とを作成し、それぞれに画像処理を施した後、これらか
らRGBの各画像データを作成するようにしてもよい。
Yデータ,CRデータ,CBデータは、それぞれ以下の
数式3,4,5で表される。
In the above embodiment, the image processing unit 17
Applied the filtering process to the RGB image data. As shown in FIG. 7, the luminance data (Y data) and the color difference data (CR data, CB data) were obtained from each of the RGB image data.
After performing image processing on each of them, RGB image data may be created from these.
The Y data, CR data, and CB data are represented by the following equations 3, 4, and 5, respectively.

【0032】[0032]

【数3】 (Equation 3)

【0033】[0033]

【数4】 (Equation 4)

【0034】[0034]

【数5】 (Equation 5)

【0035】また、本実施形態では、固体撮像素子の種
類情報の他、ローパスフィルタの有無情報によってもフ
ィルタリング係数を変更する。デジタルカメラ22の固
体撮像素子がハニカム型CCDであり、かつローパスフ
ィルタが使われている場合には、CRデータ,CBデー
タに対しては、下記の数式6で表すフィルタリング係数
f3(i,j)を適用し、Yデータに対しては、数式7
で表すフィルタリング係数f4(i,j)を適用する。
In the present embodiment, the filtering coefficient is changed not only by the type information of the solid-state imaging device but also by the presence / absence information of the low-pass filter. When the solid-state imaging device of the digital camera 22 is a honeycomb CCD and a low-pass filter is used, a filtering coefficient f3 (i, j) represented by the following Expression 6 is applied to CR data and CB data. Is applied, and for Y data, Equation 7
Apply the filtering coefficient f4 (i, j) represented by.

【0036】[0036]

【数6】 (Equation 6)

【0037】[0037]

【数7】 (Equation 7)

【0038】また、固体撮像素子がベイヤー型CCDで
あり、かつローパスフィルタが使われている場合には、
CRデータ,CBデータに対しては、下記の数式8で表
すフィルタリング係数f5(i,j)を適用し、Yデー
タに対しては、数式9で表すフィルタリング係数f6
(i,j)を適用する。
When the solid-state imaging device is a Bayer CCD and a low-pass filter is used,
For CR data and CB data, a filtering coefficient f5 (i, j) expressed by the following equation 8 is applied, and for Y data, a filtering coefficient f6 expressed by an equation 9 is applied.
Apply (i, j).

【0039】[0039]

【数8】 (Equation 8)

【0040】[0040]

【数9】 (Equation 9)

【0041】また、固体撮像素子がハニカム型CCDで
あり、かつローパスフィルタが使われていない場合に
は、CRデータ,CBデータに対しては、下記の数式1
0で表すフィルタリング係数f7(i,j)を適用し、
Yデータに対しては、数式11で表すフィルタリング係
数f8(i,j)を適用する。
When the solid-state image sensor is a honeycomb CCD and a low-pass filter is not used, the following equation 1 is used for CR data and CB data.
Applying a filtering coefficient f7 (i, j) represented by 0,
For Y data, a filtering coefficient f8 (i, j) expressed by Expression 11 is applied.

【0042】[0042]

【数10】 (Equation 10)

【0043】[0043]

【数11】 [Equation 11]

【0044】また、固体撮像素子がベイヤー型CCDで
あり、かつローパスフィルタが使われていない場合に
は、CRデータ,CBデータに対しては、下記の数式1
2で表すフィルタリング係数f9(i,j)を適用し、
Yデータに対しては、数式13で表すフィルタリング係
数f10(i,j)を適用する。
When the solid-state imaging device is a Bayer type CCD and no low-pass filter is used, the following equation 1 is used for CR data and CB data.
Applying a filtering coefficient f9 (i, j) represented by 2
For Y data, a filtering coefficient f10 (i, j) represented by Expression 13 is applied.

【0045】[0045]

【数12】 (Equation 12)

【0046】[0046]

【数13】 (Equation 13)

【0047】本実施形態では、前記フィルタリング係数
f7(i,j)〜f10(i,j)を用いることによ
り、ローパスフィルタが使われていないローコストなデ
ジタルカメラで撮影された画像でも、モニタに表示され
たとき又はプリンタでプリントしたときに、偽色や偽輪
郭強調を軽減してモアレの発生を少なくし、画質の低下
を防止できる。
In the present embodiment, by using the filtering coefficients f7 (i, j) to f10 (i, j), an image photographed by a low-cost digital camera not using a low-pass filter can be displayed on a monitor. When printing is performed or when printing is performed by a printer, false colors and false contour emphasis are reduced to reduce the occurrence of moire and prevent deterioration in image quality.

【0048】以上説明した実施形態では、輝度データ
(Yデータ)と色差データ(CRデータ,CBデータ)
の両方にフィルタ処理を施したが、どちらか一方に施し
てもよい。この場合、輝度データにフィルタ処理を施せ
ば、偽輪郭強調を軽減でき、また色差データにフィルタ
処理を施せば、偽色を軽減できる。なお、上記実施形態
で示したカラー感熱プリンタ以外でも、例えばレーザ走
査露光装置を有し、感光材料を露光してカラー画像を記
録するデジタル写真プリンタでもよいし、普通紙にイン
クを吐出してカラー画像を記録するインクジェットプリ
ンタなどでもよい。また、モニタとして液晶パネルを用
いたが、CRT,プラズマディスプレイでもよい。
In the embodiment described above, luminance data (Y data) and color difference data (CR data, CB data)
Were subjected to the filtering process, but may be applied to either one of them. In this case, false contour enhancement can be reduced by performing filter processing on the luminance data, and false color can be reduced by performing filter processing on the color difference data. In addition to the color thermal printer described in the above embodiment, a digital photographic printer having, for example, a laser scanning exposure device and exposing a photosensitive material to record a color image may be used. An ink jet printer for recording an image may be used. Although a liquid crystal panel is used as a monitor, a CRT or a plasma display may be used.

【0049】[0049]

【発明の効果】以上詳細に説明したように、本発明の画
像処理方法は、デジタルカメラのカメラ情報に起因する
プリント時又はモニタ表示時の画質劣化を軽減するフィ
ルタ処理用に複数のフィルタリング係数を用意してお
き、カメラ情報に応じたフィルタリング係数を選択して
使用するので、デジタルカメラの撮影によって得られた
画像データの画質低下を軽減することができる。また、
前記カメラ情報として固体撮像素子の種類を示す情報を
用いれば、画素配列の相違により空間周波数に方向依存
性を有する場合にも最適なフィルタ処理を行うことがで
き、プリント又は表示の画質低下を軽減することができ
る。また、前記カメラ情報としてローパスフィルタの有
無を示す情報を用いれば、ローパスフィルタを有しない
ローコストなデジタルカメラによる画像データに対して
も最適なフィルタ処理を行うことができ、画質の低下を
軽減することができる。また、前記画像処理は、前記画
像データから作成した輝度データ,色差データのそれぞ
れに異なるフィルタリング係数を適用するフィルタ処理
を含むので、偽色軽減と偽輪郭強調軽減のそれぞれに最
適なフィルタ処理を行うことができる。
As described above in detail, the image processing method according to the present invention uses a plurality of filtering coefficients for filtering to reduce image quality deterioration at the time of printing or monitor display caused by camera information of a digital camera. Since the filtering coefficients are prepared and used in accordance with the camera information, deterioration in image quality of image data obtained by photographing with the digital camera can be reduced. Also,
If information indicating the type of the solid-state imaging device is used as the camera information, optimal filter processing can be performed even when the spatial frequency has direction dependency due to a difference in pixel arrangement, and reduction in print or display image quality is reduced. can do. In addition, if information indicating the presence or absence of a low-pass filter is used as the camera information, optimal filter processing can be performed even on image data obtained by a low-cost digital camera that does not have a low-pass filter, thereby reducing degradation in image quality. Can be. Further, since the image processing includes a filter processing for applying different filtering coefficients to each of the luminance data and the color difference data created from the image data, optimal filter processing is performed for each of false color reduction and false contour enhancement reduction. be able to.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の画像処理方法を実施したプリンタの概
略的な構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a printer that implements an image processing method of the present invention.

【図2】スマートメディアのディレクトリ構造を示す説
明図である。
FIG. 2 is an explanatory diagram showing a directory structure of a smart media.

【図3】ベイヤー型CCDの概略的な構成を示す説明図
である。
FIG. 3 is an explanatory diagram showing a schematic configuration of a Bayer CCD.

【図4】ハニカム型CCDの概略的な構成を示す説明図
である。
FIG. 4 is an explanatory diagram illustrating a schematic configuration of a honeycomb CCD.

【図5】ハニカム型CCDを用いたデジタルカメラの撮
影によって得られる画像データの一部を示す説明図であ
る。
FIG. 5 is an explanatory diagram showing a part of image data obtained by photographing with a digital camera using a honeycomb CCD.

【図6】ベイヤー型CCDを用いたデジタルカメラの撮
影によって得られる画像データの一部を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing a part of image data obtained by photographing with a digital camera using a Bayer-type CCD.

【図7】輝度データと色差データのそれぞれに画像処理
を施す実施形態の画像処理部を示すブロック図である。
FIG. 7 is a block diagram illustrating an image processing unit according to an embodiment that performs image processing on each of luminance data and color difference data.

【符号の説明】[Explanation of symbols]

10 プリンタ 15 DPOFファイル用メモリ 16 係数メモリ 17 画像処理部 21 プリント部 22 デジタルカメラ 23 スマートメディア 30 ベイヤー型CCD 35 ハニカム型CCD Reference Signs List 10 Printer 15 Memory for DPOF file 16 Coefficient memory 17 Image processing unit 21 Printing unit 22 Digital camera 23 Smart media 30 Bayer type CCD 35 Honeycomb type CCD

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE03 CE06 CH08 5C021 PA36 PA37 PA38 PA51 PA78 PA82 PA83 XB12 XB16 YA01 YA22 YC00 5C077 LL08 LL09 MM03 MP01 MP08 PP03 PP32 PP34 PP48 PP68 PQ08 PQ12 TT09 5C079 HB01 HB04 JA23 LA15 LA31 MA11 NA02 NA04  ──────────────────────────────────────────────────続 き Continued on front page F term (reference) 5B057 BA02 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE03 CE06 CH08 5C021 PA36 PA37 PA38 PA51 PA78 PA82 PA83 XB12 XB16 YA01 YA22 YC00 5C077 LL08 LL09 MM03 PP01 PQ08 PQ12 TT09 5C079 HB01 HB04 JA23 LA15 LA31 MA11 NA02 NA04

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 デジタルカメラによって撮影して得られ
た画像データに対して画像処理を施す画像処理方法にお
いて、 前記デジタルカメラのカメラ情報に起因する画質劣化を
軽減する複数のフィルタリング係数を用意しておき、こ
の複数のフィルタリング係数から前記カメラ情報に応じ
たフィルタリング係数を選択し、前記画像処理に使用す
ることを特徴とする画像処理方法。
1. An image processing method for performing image processing on image data obtained by photographing with a digital camera, wherein a plurality of filtering coefficients for reducing image quality deterioration due to camera information of the digital camera are prepared. An image processing method, wherein a filtering coefficient according to the camera information is selected from the plurality of filtering coefficients and used for the image processing.
【請求項2】 前記カメラ情報は、前記デジタルカメラ
に用いられている固体撮像素子の種類を示す情報である
ことを特徴とする請求項1記載の画像処理方法。
2. The image processing method according to claim 1, wherein the camera information is information indicating a type of a solid-state imaging device used in the digital camera.
【請求項3】 前記カメラ情報は、ローパスフィルタの
有無を示す情報であることを特徴とする請求項1記載の
画像処理方法。
3. The image processing method according to claim 1, wherein the camera information is information indicating presence / absence of a low-pass filter.
【請求項4】 前記画像処理は、前記画像データから作
成した輝度データ,色差データのそれぞれに異なるフィ
ルタリング係数を適用するフィルタ処理を含むことを特
徴とする請求項1ないし3いずれか記載の画像処理方
法。
4. The image processing according to claim 1, wherein the image processing includes a filtering process for applying different filtering coefficients to each of luminance data and chrominance data created from the image data. Method.
JP2001172349A 2001-06-07 2001-06-07 Image processing method Pending JP2002369036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001172349A JP2002369036A (en) 2001-06-07 2001-06-07 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001172349A JP2002369036A (en) 2001-06-07 2001-06-07 Image processing method

Publications (2)

Publication Number Publication Date
JP2002369036A true JP2002369036A (en) 2002-12-20
JP2002369036A5 JP2002369036A5 (en) 2007-11-01

Family

ID=19013984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001172349A Pending JP2002369036A (en) 2001-06-07 2001-06-07 Image processing method

Country Status (1)

Country Link
JP (1) JP2002369036A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004084551A1 (en) * 2003-03-20 2004-09-30 Canon Kabushiki Kaisha Information processing method, apparatus, program and storage medium storing said program
JP2006004365A (en) * 2004-06-21 2006-01-05 Noritsu Koki Co Ltd Output method and device of photography image with incidental information
WO2013183379A1 (en) * 2012-06-08 2013-12-12 富士フイルム株式会社 Image processing device, image pickup device, computer, image processing method and program
WO2013187132A1 (en) * 2012-06-11 2013-12-19 富士フイルム株式会社 Image-processing device, imaging-capturing device, computer, image-processing method, and program
WO2014030390A1 (en) * 2012-08-23 2014-02-27 富士フイルム株式会社 Image processing device, imaging device, computer, image processing method, and program

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004084551A1 (en) * 2003-03-20 2004-09-30 Canon Kabushiki Kaisha Information processing method, apparatus, program and storage medium storing said program
US7466351B2 (en) 2003-03-20 2008-12-16 Canon Kabushiki Kaisha Information processing method, apparatus, program and storage medium storing said program for digital image data generated from an image sensing device
JP2006004365A (en) * 2004-06-21 2006-01-05 Noritsu Koki Co Ltd Output method and device of photography image with incidental information
WO2013183379A1 (en) * 2012-06-08 2013-12-12 富士フイルム株式会社 Image processing device, image pickup device, computer, image processing method and program
US9363435B2 (en) 2012-06-08 2016-06-07 Fujifilm Corporation Apparatus and method of determining how to perform low-pass filter processing as a reduction association processing when moire is suppressed in a captured image represented by image capture data according to an array of color filters and when the moire appears in the reduced image after processing the reduction processing on the image pickup data, on the basis of an acquisition result of the shooting condition data
JP5702891B2 (en) * 2012-06-08 2015-04-15 富士フイルム株式会社 Image processing apparatus, imaging apparatus, computer, image processing method and program
CN104380706A (en) * 2012-06-11 2015-02-25 富士胶片株式会社 Image-processing device, imaging-capturing device, computer, image-processing method, and program
US9351002B2 (en) 2012-06-11 2016-05-24 Fujifilm Corporation Image processing apparatus, image pickup apparatus, computer, image processing method and computer readable non-transitory medium
WO2013187132A1 (en) * 2012-06-11 2013-12-19 富士フイルム株式会社 Image-processing device, imaging-capturing device, computer, image-processing method, and program
CN104380706B (en) * 2012-06-11 2016-06-08 富士胶片株式会社 Image processing apparatus, camera head, computer and image processing method
WO2014030390A1 (en) * 2012-08-23 2014-02-27 富士フイルム株式会社 Image processing device, imaging device, computer, image processing method, and program
CN104584532A (en) * 2012-08-23 2015-04-29 富士胶片株式会社 Image processing device, imaging device, computer, image processing method, and program
US9350962B2 (en) 2012-08-23 2016-05-24 Fujifilm Corporation Image processing device, imaging apparatus, computer, image processing method, and non-transitory computer readable medium
CN104584532B (en) * 2012-08-23 2017-07-28 富士胶片株式会社 Image processing apparatus, camera device, computer, image processing method and program

Similar Documents

Publication Publication Date Title
KR100823796B1 (en) Digital camera providing image processing for an attachable printer
JP3826741B2 (en) Image file generation device, image processing device, image file generation method, image processing method, computer program, and recording medium
US20100111408A1 (en) Image processing aparatus
US6205245B1 (en) Method and apparatus for rapid down-scaling of color images directly from sensor color filter array space
JPH1188672A (en) Image-processing method, its device, image reproduction method and its device and image-confirming device used for the method
JPH1146331A (en) Digital camera and print system
JP2006333477A (en) System and method for processing images using integrated image correction data
US20080151073A1 (en) Apparatus, Method and Program for Information Processing
JP2002369036A (en) Image processing method
JPH06286324A (en) Color video printing method
JP4096828B2 (en) Image processing device
JP2000232618A (en) Photo-finishing method, system therefor and recording medium
JP4936035B2 (en) Photo printing device
US20090037475A1 (en) Image Processing Device, Image Processing Method, and Image Processing Program
JP3035964B2 (en) Printing equipment
JP5018828B2 (en) Image photographing apparatus and image photographing program
JPH11275362A (en) Method for converting digital image into linear and computer program product
JP4067555B2 (en) Image confirmation device
JP2006272729A (en) Image printing device, memory card, image printing method, image printing program and recording medium
JP2001197352A (en) Main object extracting method
JP2008141771A (en) Image confirmation system
JP4978669B2 (en) Image processing apparatus, electronic camera, and image processing program
JP3968645B2 (en) Image processing device for photographic printer
JP2009038583A (en) Image correction effect display method, and image correction effect display device
JP2002237988A (en) Electronic camera and electronic camera system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060110

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070913

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080423

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080528

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080724

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080806

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080905