JP2012209967A - Imaging apparatus, image recording program, image processor, and image processing program - Google Patents
Imaging apparatus, image recording program, image processor, and image processing program Download PDFInfo
- Publication number
- JP2012209967A JP2012209967A JP2012154616A JP2012154616A JP2012209967A JP 2012209967 A JP2012209967 A JP 2012209967A JP 2012154616 A JP2012154616 A JP 2012154616A JP 2012154616 A JP2012154616 A JP 2012154616A JP 2012209967 A JP2012209967 A JP 2012209967A
- Authority
- JP
- Japan
- Prior art keywords
- wavelength
- encoding
- image
- dominant wavelength
- color
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Image Processing (AREA)
- Color Television Image Signal Generators (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
【課題】人間の可視範囲内の色を過不足なく表現可能な画像データを出力する撮像装置を提供する。
【解決手段】撮像手段から入力される画像データで表された画像を形成する各画素の色を、可視領域全体を表現可能な色度空間において可視領域内に予め決められた基準点と前記色度空間における可視光スペクトルの軌跡とに基づいて決定される主波長あるいは補色主波長と刺激純度とを用いて符号化し、得られた符号化データを出力する符号化手段を備える。
【選択図】 図1An image pickup apparatus that outputs image data capable of expressing colors within a human visible range without excess or deficiency is provided.
The color of each pixel forming the image represented by the image data input from the image pickup means is set to a reference point predetermined in the visible region and the color in a chromaticity space capable of expressing the entire visible region. There is provided an encoding means for encoding using the dominant wavelength or complementary dominant wavelength determined based on the visible light spectrum locus in the degree space and the stimulus purity, and outputting the obtained encoded data.
[Selection] Figure 1
Description
本発明は、デジタルカメラを含む撮像装置、この撮像装置から出力された画像データを記録する画像データ記録媒体および画像データの表示や印刷を含む処理を行う画像処理装置ならびにこれらの装置において画像データの処理を行う画像記録プログラムおよび画像処理プログラムに関する。 The present invention relates to an imaging device including a digital camera, an image data recording medium for recording image data output from the imaging device, an image processing device for performing processing including display and printing of image data, and image data in these devices. The present invention relates to an image recording program and an image processing program for performing processing.
デジタルカメラなどの撮像装置では、撮像素子で得られたR、G、B成分に対応する電気信号について、撮像素子の特性やフィルタの特性とともに表示装置の特性を考慮した補間処理を行うことによって各画素の色を示す画像データが生成され、更に、JPEG方式などに従う符号化処理を経た後に画像データがメモリカードなどの記録媒体に記録される。 In an imaging device such as a digital camera, each of the electrical signals corresponding to the R, G, and B components obtained by the imaging device is subjected to interpolation processing in consideration of the characteristics of the display device as well as the characteristics of the imaging device and the filter. Image data indicating the color of the pixel is generated, and the image data is recorded on a recording medium such as a memory card after an encoding process according to the JPEG method or the like.
この符号化の過程で、補間処理で得られたR、G、B信号からなる画像データは、符号化処理に適合する信号系(例えば、Y、Cb、Cr信号)に変換された後に符号化されており、一方、符号化された画像データを復元してディスプレイ装置を介して表示する際には、上述したY、Cb、Cr信号を再びR、G、B信号に変換する処理が行われる。 In this encoding process, image data composed of R, G, B signals obtained by interpolation processing is converted into a signal system (for example, Y, Cb, Cr signals) suitable for the encoding processing and then encoded. On the other hand, when the encoded image data is restored and displayed through the display device, the above-described processing of converting the Y, Cb, and Cr signals into R, G, and B signals again is performed. .
この画像再生の際の変換処理は、IEC(International Electrotechnical Commission)によって規定された標準的なディスプレイの特性に関するsRGB標準に基づいて、こ
のsRGB標準に準拠したディスプレイで画像が再生されることを想定して実行されている。
The conversion process at the time of image reproduction assumes that an image is reproduced on a display compliant with the sRGB standard based on the sRGB standard regarding the characteristics of a standard display specified by the IEC (International Electrotechnical Commission). Is running.
しかしながら、このsRGB標準で規定された色域は、人間の可視範囲を完全には含んでいないため、人間の可視範囲内であって、sRGB標準で規定された色域に含まれない色が存在する。このような色は、sRGB標準に従う画像データでは表現することができないため、sRGB標準で規定された色域内部の色で近似されていた。 However, since the color gamut defined by the sRGB standard does not completely include the human visible range, there are colors that are within the human visible range and are not included in the color gamut defined by the sRGB standard. To do. Since such a color cannot be expressed by image data according to the sRGB standard, it is approximated by a color within the color gamut defined by the sRGB standard.
このようなsRGB標準の色域の制限を避けるために、画像データにディスプレイの特性としてより広い色域特性を記述したカラープロファイルを付加し、このカラープロファイルに基づいて、R、G、B信号への変換を行う方法により、sRGB標準よりも広い色域を再現可能とする技術も実現されている。 In order to avoid such restrictions on the color gamut of the sRGB standard, a color profile describing a wider color gamut characteristic is added to the image data as a display characteristic, and based on this color profile, R, G, B signals are converted. By the method of performing the conversion, a technology that can reproduce a color gamut wider than the sRGB standard is also realized.
また一方、上述したIECによって、sRGB標準を拡張したscRGB標準が規定されている(非特許文献1参照)。このscRGB標準の色域は、人間の可視範囲を完全に含む半面、可視範囲の外側、つまり、人間が「色」として認識しない範囲にある点も定義可能となっている。 On the other hand, the scRGB standard that is an extension of the sRGB standard is defined by the IEC described above (see Non-Patent Document 1). The scRGB standard color gamut can also define a point that completely includes the human visible range, but outside the visible range, that is, in a range that humans do not recognize as “color”.
上述したカラープロファイルを画像データに付加する方法では、色域特性を表す三原色(R、G、B)の色度点を可視光領域の外側に設定することにより、R、G、B成分の組み合わせで可視光領域全体を表現可能とすることができる反面、scRGB標準と同様に、可視光領域の外側の点も「色」として定義可能となってしまう。 In the method of adding the color profile described above to image data, the combination of R, G, and B components is established by setting the chromaticity points of the three primary colors (R, G, B) representing the color gamut characteristics outside the visible light region. While the entire visible light region can be expressed by this, as with the scRGB standard, points outside the visible light region can also be defined as “colors”.
このような可視光領域の外側に定義された「色」については、ディスプレイ装置やプリンタを介して出力処理においてどのように扱うべきか明確な指針が示されていないため、いずれの方法によって画像データが表現されている場合でも、この画像データの処理段階
における混乱を招くおそれがある。
For these “colors” defined outside the visible light region, there is no clear guideline on how to handle them in output processing via a display device or printer. Even if the image is expressed, there is a risk of confusion in the processing stage of the image data.
また、いずれの場合でも、可視光領域の外側の領域にも可視光領域の内部と同様にデータ領域が割り当てられるため、定義可能ではあっても実際の色を表す有効なデータとして利用されることのない値の範囲が発生してしまう。 In any case, since the data area is allocated to the area outside the visible light area in the same manner as the inside of the visible light area, it can be defined and used as effective data representing the actual color. A range of values with no is generated.
本発明は、人間の可視範囲内の色を過不足なく表現可能な画像データを出力する撮像装置、画像記録プログラム、画像データ記録媒体、画像処理装置および画像処理プログラムを提供することを目的とする。 An object of the present invention is to provide an imaging device, an image recording program, an image data recording medium, an image processing device, and an image processing program that output image data that can express colors within a human visible range without excess or deficiency. .
本発明にかかわる第1の撮像装置は、撮像手段から入力される画像データで表された画像を形成する各画素の色を、可視領域全体を表現可能な色度空間において可視領域内に予め決められた基準点と色度空間における可視光スペクトルの軌跡とに基づいて決定される主波長あるいは補色主波長と刺激純度とを用いて符号化し、得られた符号化データを出力する符号化手段を備える。 In a first imaging apparatus according to the present invention, the color of each pixel forming an image represented by image data input from an imaging unit is determined in advance in a visible region in a chromaticity space that can represent the entire visible region. Encoding means for encoding using the dominant wavelength or complementary dominant wavelength determined based on the obtained reference point and the locus of the visible light spectrum in the chromaticity space and the stimulus purity, and outputting the obtained encoded data Prepare.
本発明にかかわる第2の撮像装置は、上述した第1の撮像装置において、符号化手段に、色度空間において可視領域の内部に設定された基準点に基づいて、各画素に対応する主波長あるいは補色主波長と刺激純度とを算出する第1パラメータ算出手段と、第1パラメータ算出手段で得られた値と値が主波長であるか補色主波長であるかを示す判別フラグとから波長パラメータを形成する波長パラメータ形成手段とを備える。 The second imaging apparatus according to the present invention is the main imaging wavelength corresponding to each pixel based on a reference point set in the visible region in the chromaticity space in the encoding means in the first imaging apparatus described above. Alternatively, a wavelength parameter is obtained from first parameter calculation means for calculating the complementary color dominant wavelength and stimulus purity, and a determination flag indicating whether the value obtained by the first parameter calculation means is a dominant wavelength or a complementary color dominant wavelength. Wavelength parameter forming means for forming
本発明にかかわる第3の撮像装置は、上述した第1の撮像装置において、符号化手段に、色度空間において可視光スペクトルの軌跡の長波長側端点と短波長側端点とを結ぶ赤紫線上に設定された基準点に基づいて、各画素に対応する主波長と刺激純度とを算出する第2パラメータ算出手段を備える。 The third imaging device according to the present invention is the above-described first imaging device, wherein the encoding means is arranged on a red-violet line connecting the long-wavelength side end point and the short-wavelength side end point of the locus of the visible light spectrum in the chromaticity space. And a second parameter calculating means for calculating the dominant wavelength and the stimulation purity corresponding to each pixel based on the reference point set to.
本発明にかかわる第4の撮像装置は、上述した第1乃至第3の撮像装置のいずれかにおいて、符号化手段により、各画素の色に関する符号化に用いられた基準点および可視光スペクトルの軌跡を示す情報を符号化データに付加して出力する。 According to a fourth imaging device of the present invention, in any of the first to third imaging devices described above, the reference point used for encoding the color of each pixel and the locus of the visible light spectrum by the encoding unit. Is added to the encoded data and output.
本発明にかかわる第5の撮像装置は、上述した第1の撮像装置において、符号化手段は、符号化の際に得られる主波長あるいは補色主波長の範囲と刺激純度の範囲とをそれぞれ符号長で表現可能な数値の全範囲に対応付ける。 According to a fifth imaging device of the present invention, in the first imaging device described above, the encoding unit encodes a range of the dominant wavelength or complementary dominant wavelength obtained at the time of encoding and a range of stimulation purity, respectively. Corresponds to the entire range of numerical values that can be represented by.
本発明にかかわる第6の撮像装置は、上述した第2の撮像装置において、符号化手段は、色度空間において可視領域の内部に設定された基準点と可視光スペクトルの軌跡とによって限定される補色主波長の範囲をそれぞれパラメータの値を表す符号長で表現可能な数値の全範囲に対応付ける。 According to a sixth imaging device of the present invention, in the second imaging device described above, the encoding unit is limited by a reference point set inside the visible region and a locus of the visible light spectrum in the chromaticity space. The range of the complementary dominant wavelength is associated with the entire range of numerical values that can be expressed by the code length representing the parameter value.
本発明にかかわる第7の撮像装置は、上述した第1の撮像装置において、符号化手段に、入力される画像データをxy色度図上の座標データに変換する色度変換手段と、座標データと基準点の座標および可視光スペクトルの軌跡に関する情報とに基づいて、主波長あるいは補色主波長と刺激純度とを算出する演算手段とを備える。 According to a seventh imaging device of the present invention, in the first imaging device described above, a chromaticity conversion unit that converts input image data into coordinate data on an xy chromaticity diagram, and coordinate data in the encoding unit. And calculating means for calculating the dominant wavelength or complementary dominant wavelength and the stimulus purity based on the coordinates of the reference point and the information on the locus of the visible light spectrum.
本発明にかかわる第8の撮像装置は、上述した第1乃至第7の撮像装置のいずれかにおいて、符号化手段は、各画素の色に対応する符号化データに輝度を示すパラメータを加えて画像データを形成し、形成した画像データを出力する。 An eighth imaging device according to the present invention is the image pickup device according to any one of the first to seventh imaging devices described above, wherein the encoding unit adds a parameter indicating luminance to encoded data corresponding to the color of each pixel. Data is formed and the formed image data is output.
本発明にかかわる画像データ記録媒体は、視覚対象となる画像を表す画像データを、可視領域全体を表現可能な色度空間において可視領域内に予め決められた基準点と画像データで表された画像を形成する各画素の色を色度空間において表す点とを結ぶ直線と色度空間における可視光スペクトルの軌跡との交点で示される主波長と補色主波長との少なくと
も一方と主波長あるいは補色主波長に関する各画素の色の刺激純度とを含むパラメータを用いて符号化された符号化データを記録する。
An image data recording medium according to the present invention provides image data representing an image to be viewed as a reference point and image data determined in advance in the visible region in a chromaticity space that can represent the entire visible region. At least one of a main wavelength and a complementary main wavelength indicated by an intersection of a straight line connecting a point representing the color of each pixel forming the color in the chromaticity space and a locus of the visible light spectrum in the chromaticity space, and a main wavelength or a complementary color main Coded data encoded using parameters including the stimulus purity of the color of each pixel with respect to the wavelength is recorded.
本発明にかかわる画像処理装置は、可視領域全体を表現可能な色度空間における可視光スペクトルの軌跡上の主波長あるいは補色主波長と刺激純度とを含むパラメータに対応する符号情報からなる符号化データから、画像を形成する各画素の色を示す色度を復元する復号手段を備える。 An image processing apparatus according to the present invention is encoded data comprising code information corresponding to a parameter including a dominant wavelength or complementary dominant wavelength and stimulus purity on a locus of a visible light spectrum in a chromaticity space capable of expressing the entire visible region. To decoding means for restoring the chromaticity indicating the color of each pixel forming the image.
本発明にかかわる撮像装置および画像データ記録プログラムによれば、可視光領域外の色を定義することなく可視光領域内の全ての色を表現可能な形式の画像データを生成してメモリカードなどの記憶媒体への記録処理に供することができる。 According to the imaging device and the image data recording program according to the present invention, image data in a format that can express all the colors in the visible light region without defining the colors outside the visible light region is generated to generate a memory card or the like. It can be used for recording processing on a storage medium.
また、本発明にかかわる画像データ記憶媒体によれば、上述した本発明にかかわる形式の画像データを記録し、パーソナルコンピュータやプリンタなどの処理に供することができる。 Further, according to the image data storage medium according to the present invention, the image data in the format according to the present invention described above can be recorded and used for processing of a personal computer, a printer or the like.
更に、本発明にかかわる画像処理装置および画像処理プログラムによれば、このような画像データによって可視光領域全体を用いて表された色を復元し、表示装置やプリンタ装置を介する出力処理に供することにより、画像を記録する側が意図した色を忠実に再現することができる。 Furthermore, according to the image processing apparatus and the image processing program according to the present invention, the color represented by using the entire visible light region is restored by such image data, and is provided for output processing via the display device or the printer device. Thus, the color intended by the image recording side can be faithfully reproduced.
以下、図面に基づいて、本発明の実施形態について詳細に説明する。
(デジタルカメラの実施形態)
図1に、本発明にかかわるデジタルカメラの実施形態を示す。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(Embodiment of digital camera)
FIG. 1 shows an embodiment of a digital camera according to the present invention.
図1に示したデジタルカメラにおいて、画像の撮影の際に撮影光学系21によって撮像素子22上に結像された光は、この撮像素子22によってその強度に応じた電気信号に変換され、更に、アナログ/デジタル(A/D)変換器23によってデジタルデータに変換されてメモリ24に保持される。
In the digital camera shown in FIG. 1, the light imaged on the
図1に示したメモリ24は、バスを介して画像処理部25、記録処理部26および撮影制御部28に接続されている。上述したようにしてメモリ24に格納されたデジタルデータについて、画像処理部25により、符号化処理を含む画像処理が行われ、この画像処理結果として得られた圧縮画像データがバスを介して記録処理部26に渡されて、記憶媒体27に記録される。また、これらの各部の動作は、撮影制御部28によって制御されている。
The
以下、撮影によって得られたデジタルデータから符号化データを生成する処理について詳細に説明する。 Hereinafter, processing for generating encoded data from digital data obtained by photographing will be described in detail.
図2に、符号化データ生成動作を表す流れ図を示す。 FIG. 2 is a flowchart showing the encoded data generation operation.
ステップS1に示した撮影によって得られたデジタルデータは、メモリ24を介して、図1に示した画像処理部25に備えられた補間処理部31による補間処理に供され(ステ
ップS2)、これにより、各画素の色をR、G、B成分の組み合わせで表す画像データが
得られる。
The digital data obtained by the photographing shown in step S1 is subjected to interpolation processing by the interpolation processing unit 31 provided in the image processing unit 25 shown in FIG. 1 via the memory 24 (step S2). Image data representing the color of each pixel by a combination of R, G, and B components is obtained.
この各画素の画像データは、図1に示した色度算出部32により、まず、一般的な変換式を用いて、CIEの3刺激値を示すXYZデータに変換され(ステップS3)、次いで、式(1)、(2)を用いて、このXYZデータから色度x、yが算出される(ステップS4)。
The image data of each pixel is first converted into XYZ data indicating CIE tristimulus values using a general conversion formula by the
x=X/(X+Y+Z) ・・・(1)
y=Y/(X+Y+Z) ・・・(2)
また、上述したステップS3あるいはステップS4の過程で、RGBデータあるいはXYZデータに基づいて、各画素の輝度値Yが求められ、符号化処理部35に渡される。
x = X / (X + Y + Z) (1)
y = Y / (X + Y + Z) (2)
Further, in the process of step S3 or step S4 described above, the luminance value Y of each pixel is obtained based on the RGB data or XYZ data, and is passed to the
ここで、図1に示した画像処理部25において、基準情報保持部34には、xy色度図において、例えば、標準光源の一つであるD65の色度を示す座標W(xw、yw)と、xy色度図におけるスペクトル光の軌跡(図3参照)を示す色度座標データが保持されている。この色度座標データとしては、例えば、波長380nmから700nmまで5nmステップでサンプリングしたスペクトル光について、それぞれの色度座標を保持しておくことで実現することができる(例えば、「色彩工学の基礎」朝倉書店、池田光男著参照)。なお、波長700nmから780nmまでのスペクトル光に対応する色度座標は同一の点となるので、上述した例では、波長380nmから700nmまでのスペクトル光に対応する色度座標データを基準情報保持部34に格納している。
Here, in the image processing unit 25 illustrated in FIG. 1, the reference
ここで、主波長、補色主波長および刺激純度といった量は、白色点に基づいて算出されるのが一般的である。しかし、本発明では、これらの量を算出する際の基準となる白色点が等エネルギー白色やD65などのいわゆる白色である場合に限らず、可視光域内であればどこにあっても目的を達成することができ、また、後述するように、通常は白色と呼ばれない赤紫線上の点をこれらの量の算出に用いて、特有の効果を得る形態も含んでいる。 Here, the quantities such as dominant wavelength, complementary dominant wavelength, and stimulus purity are generally calculated based on the white point. However, in the present invention, the purpose is not limited to the case where the white point which is a reference for calculating these amounts is an equal energy white color or a so-called white color such as D65. In addition, as will be described later, a point on the magenta line, which is not usually called white, is used for calculation of these amounts to obtain a specific effect.
そこで、本明細書では、いわゆる「白色点」の代わりに、「基準点」という語を用いる。また、主波長、補色主波長および刺激純度の算出においては、基準点を白色点として用いる。 Therefore, in this specification, the term “reference point” is used instead of the so-called “white point”. Further, in calculating the dominant wavelength, the complementary dominant wavelength, and the stimulation purity, the reference point is used as the white point.
以下の説明では、図3において、スペクトル光の軌跡の長波長側端点(図3において符
号Rを付して示した)と基準点Wとを結ぶ線分と、この基準点Wとスペクトル光の軌跡の
短波長側端点(図3において符号Vを付して示した)とを結ぶ線分と、スペクトル光の軌跡とで囲まれた領域を主波長領域と称し、上述した2つの線分とスペクトル光の軌跡の両端を結んだ赤紫線とで囲まれる三角形の領域を補色主波長領域と称する。
In the following description, in FIG. 3, a line segment connecting a long wavelength side end point (indicated by reference symbol R in FIG. 3) of the locus of the spectral light and the reference point W, and the reference point W and the spectral light A region surrounded by the short-wavelength side end point of the locus (indicated by reference numeral V in FIG. 3) and the locus of the spectral light is referred to as a main wavelength region, and the two line segments described above A triangular region surrounded by a magenta line connecting both ends of the locus of the spectrum light is referred to as a complementary main wavelength region.
上述したステップS4において得られたxy色度座標(x、y)に基づいて、図1に示したパラメータ算出部33は、まず、この色度座標(x、y)が主波長領域に含まれるか否かを判定する(ステップS5)。
Based on the xy chromaticity coordinates (x, y) obtained in step S4 described above, the
例えば、図3に示した点A1は、主波長領域に含まれると判断され(ステップS5の肯
定判定)、このとき、パラメータ算出部33により、点A1の色度座標(xa1、ya1)
で示される色を表すパラメータとして、主波長WLMと刺激純度Peとが算出される(ス
テップS6、S7)。
For example, A 1 point shown in FIG. 3, it is determined to be included in the main wavelength region (affirmative determination in step S5), and this time, the
In as a parameter representing the color represented, the main wavelength WL M and excitation purity Pe is calculated (step S6, S7).
図1に示したパラメータ算出部33により、まず、点A1の色度座標(xa1、ya1)と基準点Wの色度座標(xw、yw)とから点A1と基準点Wとを結ぶ直線とスペクトル光の軌跡との交点が求められ、この交点に対応する波長が主波長WLMとして符号化処理部35に渡される。
The
具体的には、パラメータ算出部33は、上述した直線の式を求め、この直線の式(例え
ば,y=px+q)にスペクトル光の軌跡を示す色度座標データの中からスペクトル光の
軌跡において隣接する2つの点のx座標xi,xi+1を代入して得られた式の値(つま
り、pxi+q,pxi+1+q)それぞれと上述した2つの点のy座標yi,yi+1
それぞれとの差の積が負となる色度座標データ(xk、yk),(xk+1、yk+1)を探索する。そして、この探索で得られた二つの色度座標データで示されるスペクトル光の軌跡上の点を結ぶ直線と点A1と基準点Wとを結ぶ直線(例えば,y=px+q)との交点を、点A1と基準点Wとを結ぶ直線とスペクトル光の軌跡との交点(図3において、符号D
1Mを付して示した)の座標とこれに対応する主波長WLMを求めることができる。また
刺激純度Peは、基準点Wから点A1までの距離を基準点Wから交点D1Mまでの距離で
除算することによって得られる。
Specifically, the
Search for chromaticity coordinate data (x k , y k ), (x k + 1 , y k + 1 ) for which the product of the difference from each is negative. Then, the intersection of the straight line (e.g., y = px + q) connecting the straight line and the point A 1 and the reference point W connecting the points on the locus of the spectrum light indicated by two chromaticity coordinate data obtained in this search , The intersection of the line connecting the point A 1 and the reference point W and the locus of the spectral light (in FIG.
Can be obtained a dominant wavelength WL M corresponding coordinates and thereto indicated) afforded the 1M. The excitation purity Pe is obtained by dividing the distance from the reference point W to the point A 1 at a distance from the reference point W to the intersection D 1M.
このようにして、図1に示したパラメータ算出部33により、各画素の色を表すパラメータとして主波長WLMと刺激純度Peが得られ、これらのパラメータが、符号化処理部35に渡される。
In this way, the
次いで、符号化処理部35は、パラメータ算出部33から受け取った主波長WLと刺激純度Peと、上述した色度算出部32から渡された輝度値Yとを含む符号データを形成し(ステップS8)、全ての画素について処理を終了したか否かを判定する(ステップS9)。
Next, the
このステップS9の否定判定の場合は、ステップS3に戻って、次の画素に関する処理を開始する。 In the case of negative determination in step S9, the process returns to step S3 to start processing for the next pixel.
例えば、次の画素の色が、図3に符号A2を付して示したように、補色主波長領域に含まれている場合は、上述したステップS5の否定判定となり、パラメータ算出部33により、ステップS10〜ステップS12の処理が行われる。
For example, when the color of the next pixel is included in the complementary dominant wavelength region as indicated by reference numeral A 2 in FIG. 3, the negative determination is made in
まず、パラメータ算出部33は、基準点Wと符号化対象の点A2とを結ぶ直線の式を求め、この直線とスペクトル光の軌跡の両端を結ぶ線分との交点D2Sの色度座標を算出する(ステップS10)。
First, the
次いで、パラメータ算出部33は、上述したステップS6と同様にして基準点Wと符号化対象の点A2とを結ぶ直線とスペクトル光の軌跡との交点D2Mを求め、この交点D2Mに対応する波長を補色主波長WLSとするとともに、基準点Wから点A2までの距離を基準点Wから交点D2Sまでの距離で除算することによって、符号化対象の点A2に関する刺激純度Peを算出する(ステップS11、S12)。
Next, the
このようにして得られた補色主波長WLSと刺激純度Peとが符号化処理部35に渡され、ステップS8の符号データ生成処理に供される。
Thus the complementary main wavelength WL S obtained and excitation purity Pe is passed to the
符号化処理部35は、ステップS8において、例えば、図4(b)に示すように、波長を示す波長パラメータWLと、この波長パラメータが主波長であるか補色主波長であるかを示す判別フラグと、輝度値Yおよび刺激純度Peとから各画素対応の符号データを形成することができる。
In step S8, the
このとき、波長パラメータWLの範囲(380nm〜700nm)の上限および下限ならびに刺激純度Peの範囲(数値0〜1)の上限および下限と、波長パラメータWLおよび刺激純度Peに割り当てた符号長で表現可能な数値範囲の上限および下限とを一致させるように、波長パラメータWLおよび刺激純度Peの値に対応する符号を決定することにより、符号データが表現可能な数値範囲の全体を過不足なく利用して、可視光領域内の全ての色を表現することが可能となる。
At this time, the upper and lower limits of the wavelength parameter WL range (380 nm to 700 nm), the upper and lower limits of the stimulation purity Pe range (
また、波長パラメータWLが補色主波長を示している場合に、補色主波長に関する波長範囲の制限を符号データの決定に反映させることも可能である。具体的には、図3において、基準点Wとスペクトル光の軌跡の端点R,Vとをそれぞれ結ぶ線分(図3において破
線で示した)の延長とスペクトル光の軌跡との交点に対応する波長で示される補色主波長
の範囲の上限および下限を波長パラメータWLに割り当てられた符号長で表される数値の上限および下限に対応付けて個々の符号を決定することもできる。
In addition, when the wavelength parameter WL indicates the complementary main wavelength, it is possible to reflect the limitation on the wavelength range regarding the complementary main wavelength in the determination of the code data. Specifically, in FIG. 3, it corresponds to the intersection of the extension of the line segment (indicated by a broken line in FIG. 3) connecting the reference point W and the end points R and V of the spectrum light locus and the locus of the spectrum light. It is also possible to determine individual codes by associating the upper limit and lower limit of the complementary color main wavelength range indicated by the wavelength with the upper limit and lower limit of the numerical value represented by the code length assigned to the wavelength parameter WL.
このようにして、全ての画素に関する処理が完了した後に(ステップS9の肯定判定)、符号化処理部35により、図4(a)に示すように、1フレーム分の各画素に対応する符号データに、スペクトル光の軌跡を示す色度座標データと基準点Wの色度座標とからなる基準情報を付加することにより、1フレーム分の画像データに対応する符号データが形成され、記録処理部26を介して、メモリカードなどの記憶媒体27に記録される(ステップ
S13)。
In this way, after the processing related to all the pixels is completed (affirmative determination in step S9), the
なお、上述したようにして符号化された画像データに基づいて、画像を出力するディスプレイ装置やプリンタ装置などにおいて、スペクトル光の軌跡を示す色度座標データや基準点の色度座標データが共有されている場合には、これらの情報からなる基準情報の付加を省略することができる。 It should be noted that, based on the image data encoded as described above, the chromaticity coordinate data indicating the locus of the spectrum light and the chromaticity coordinate data of the reference point are shared by a display device or a printer device that outputs an image. In this case, it is possible to omit the addition of reference information made up of these pieces of information.
また、図4(c)に示すように、各画素に対応して主波長、補色主波長、刺激純度および輝度値からなる符号データを形成しても良い。この場合に、符号化処理部35は、各画素の色が主波長領域にあるか補色主波長領域にあるかに応じて、符号データの主波長に対応するフィールドあるいは補色主波長に対応するフィールドに、パラメータ算出部33で得られた波長パラメータに対応する符号を設定する。
Further, as shown in FIG. 4C, code data including a main wavelength, a complementary color main wavelength, stimulus purity, and a luminance value may be formed corresponding to each pixel. In this case, the
また一方、図5に示すように、基準点Wをスペクトル光の軌跡の両端を結ぶ赤紫線上に設定した場合には、可視光領域に含まれる全ての色を示す色度座標について、スペクトル光の軌跡上の主波長と刺激純度とを求めることができる。 On the other hand, as shown in FIG. 5, when the reference point W is set on a magenta line connecting both ends of the locus of the spectral light, the spectral light is shown for the chromaticity coordinates indicating all the colors included in the visible light region. It is possible to obtain the dominant wavelength and the stimulation purity on the trajectory.
したがって、この場合は、図4(d)に示すように、各画素の色を主波長と刺激純度との組み合わせで表すことが可能となる。 Therefore, in this case, as shown in FIG. 4D, the color of each pixel can be expressed by a combination of the dominant wavelength and the stimulation purity.
上述したようにして、撮像素子を用いた撮像処理によって得られたRGBデータから、各画素の色を主波長あるいは補色主波長と刺激純度とを用いて表す符号データを生成する処理は、ソフトウェアによって実現可能であり、このようなソフトウェアは、デジタルカメラによる撮影の際に得られるRGBデータに限らず、測光機で得られた画像データや画像データベースなどに蓄積された画像データについても適用することができる。
(画像処理装置の実施形態)
図6に、本発明にかかわる画像処理装置の実施形態を示す。
As described above, the process of generating code data that represents the color of each pixel using the dominant wavelength or complementary dominant wavelength and stimulation purity from the RGB data obtained by the imaging process using the imaging device is performed by software. Such software can be applied not only to RGB data obtained at the time of photographing with a digital camera, but also to image data obtained by a photometer or image data stored in an image database. it can.
(Embodiment of Image Processing Device)
FIG. 6 shows an embodiment of an image processing apparatus according to the present invention.
図6に示したメモリカード41には、図4に示したような形式に従って上述した符号化データからなる画像ファイルが格納されており、カードリーダ42は、画像処理部43に備えられた復元制御部51からの指示に応じて、このメモリカード41から指定された画像ファイルを読み出して、画像処理部43の処理に供する。 The memory card 41 shown in FIG. 6 stores the image file composed of the above-described encoded data according to the format shown in FIG. 4, and the card reader 42 is provided with the restoration control provided in the image processing unit 43. In response to an instruction from the unit 51, the designated image file is read from the memory card 41 and used for processing by the image processing unit 43.
以下、この画像処理部43により、上述した構成の画像ファイルから画像データを再生する方法について説明する。 Hereinafter, a method for reproducing image data from the image file having the above-described configuration by the image processing unit 43 will be described.
図7に、画像データ再生動作を表す流れ図を示す。 FIG. 7 is a flowchart showing the image data reproduction operation.
図6に示した画像処理部43において、復元制御部51は、まず、カードリーダ42を介して画像ファイルを読み出し(ステップS21)、受け取った画像ファイルから基準情報を抽出して基準情報保持部52に格納する(ステップS22)。
In the image processing unit 43 shown in FIG. 6, the restoration control unit 51 first reads out an image file via the card reader 42 (step S21), extracts the reference information from the received image file, and stores the reference
上述した画像ファイルを構成する各画素に対応する符号データのうち、判別フラグ、波長パラメータおよび刺激純度は、復元制御部51を介して色度値復元部53に渡され、輝度値は、画像データ再生部54に渡される。
Among the code data corresponding to each pixel constituting the image file described above, the discrimination flag, wavelength parameter, and stimulus purity are passed to the chromaticity
判別フラグによって主波長領域であることが示されている場合に(図7のステップ23
の肯定判定)、図6に示した色度値復元部53は、波長パラメータで示された主波長に対
応する色度座標と基準点Wの色度座標とに基づいて、これらを結ぶ直線の式を求め、この直線の式と刺激純度とから符号データで表された画素の色を示す色度座標を復元する(ス
テップS24)。
When the discrimination flag indicates the main wavelength region (
6), the chromaticity
一方、判別フラグによって補色主波長領域であることが示されている場合に(図7のス
テップ23の否定判定)、色度値復元部53は、波長パラメータで示された主波長に対応
する色度座標と基準点Wの色度座標とに基づいて、これらを結ぶ直線の式を求め、この直
線と赤紫線との交点の色度座標を特定する(ステップS27)。次いで、色度値復元部53は、ステップ27で特定された色度座標と刺激純度および基準点Wの色度座標とに基づいて、符号データで表された画素の色を示す色度座標を復元する(ステップS28)。
On the other hand, when the discrimination flag indicates that it is the complementary color main wavelength region (negative determination at
このようにして復元された色度座標と復元制御部51から受け取った輝度値とに基づいて、画像データ再生部54は、該当する画素の色を明るさも含めて再現するためのXYZデータを復元する(ステップS25)。
Based on the chromaticity coordinates restored in this way and the luminance value received from the restoration control unit 51, the image
上述したステップS23からステップS28を繰り返し、全ての画素に対応する符号データからXYZデータを復元した後に(ステップS26の肯定判定)、画像データ生成部54は、1フレーム分のXYZデータをバスに出力し、表示制御部44あるいはプリンタ制御部46を介して、表示部45あるいはプリンタ47による出力処理に供する(ステップ
S29)。
After the above steps S23 to S28 are repeated and the XYZ data is restored from the code data corresponding to all the pixels (affirmative determination in step S26), the image
上述したようにして表示制御部44あるいはプリンタ制御部46の処理に供されたXYZデータは、確実に可視光域内に限定されているので、表示部45による表示のための表示データあるいはプリンタ47による出力のための出力データに変換する際に、どのように変換すべきかが明瞭となる。
As described above, the XYZ data provided to the processing of the display control unit 44 or the
なお、画像処理部43に備えられた基準情報保持部52に、予め画像ファイルの生成に用いられた基準情報が共有されている場合は、上述したステップS22を省略し、共有された基準情報を利用してxy色度座標の復元処理を行うことができる。
When the reference information used for generating the image file in advance is shared by the reference
また、基準情報で示された基準点Wが赤紫線上の点である場合は、全ての画素に対応する符号データから上述したステップS24の処理によってxy色度座標を復元することができる。 Further, when the reference point W indicated by the reference information is a point on the magenta line, the xy chromaticity coordinates can be restored from the code data corresponding to all the pixels by the process of step S24 described above.
本発明にかかわる撮像装置、画像記録プログラム、画像データ記録媒体、画像処理装置および画像処理プログラムによれば、可視光領域内のあらゆる色が表現可能であって、しかも、可視光領域の外側については符号データが定義されていないので、表示あるいは印刷が不可能な符号データを考慮する必要がない。 According to the imaging apparatus, the image recording program, the image data recording medium, the image processing apparatus, and the image processing program according to the present invention, any color in the visible light region can be expressed, and the outside of the visible light region is Since the code data is not defined, there is no need to consider code data that cannot be displayed or printed.
つまり、本発明にかかわる画像データの符号化方法では、可視光領域内の色の範囲と画像の記録に用いる符号データの範囲との間に高い整合性を持たせることができ、画像の記録に用いられた符号データに対し明確な解釈ができる。 That is, in the image data encoding method according to the present invention, it is possible to provide high consistency between the color range in the visible light region and the code data range used for image recording. A clear interpretation can be made on the code data used.
以上説明したように、本発明にかかわる撮像装置、画像記録プログラム、画像データ記録媒体、画像処理装置および画像処理プログラムによれば、可視光領域外を示すデータに対する考慮の必要なしに、可視光領域内のあらゆる色を表現可能とするので、微妙な色彩表現が必要とされるカタログやポスターの印刷や芸術作品のデジタルデータ化などの分野において、極めて有用である。 As described above, according to the imaging device, the image recording program, the image data recording medium, the image processing device, and the image processing program according to the present invention, the visible light region can be obtained without considering the data indicating the outside of the visible light region. It is extremely useful in fields such as catalogs, poster printing, and digitalization of artworks that require subtle color expression.
21…光学系、22…撮像素子、23…A/D変換器、24…メモリ、25,43…画像処理部、26…記録処理部、27…記憶媒体、28…撮影制御部、31…補間処理部、32…色度算出部、33…パラメータ算出部、34,52…基準情報保持部、35…符号化処理部、41…メモリカード、42…カードリーダ、44…表示制御部、45…表示部、46…プリンタ制御部、47…プリンタ、51…復元制御部、53…色度値復元部、54…画像データ再生部。
DESCRIPTION OF
本発明は、デジタルカメラを含む撮像装置、および画像データの表示や印刷を含む処理を行う画像処理装置ならびにこれらの装置において画像データの処理を行う画像記録プログラムおよび画像処理プログラムに関する。 The present invention relates to an imaging apparatus including a digital camera, and processing of image data to an image recording program, and an image processing program for performing the image processing apparatus and of these devices to perform processing including a display and printing of the image data.
本発明にかかわる第1の撮像装置は、可視領域全体を表現可能な色度空間において可視領域内の白色点を基準点として設定する設定手段と、撮像手段から、色度空間における各画素の色度データを入力する入力手段と、基準点と色度データとを結ぶ直線と、色度空間における可視光スペクトルの軌跡との交点に対応する主波長あるいは補色主波長と、基準点と交点との距離と基準点と各画素の色度データとの距離との比を算出するパラメータ算出手段と、波長パラメータが主波長であるか補足主波長であるかを示す判別フラグと、主波長あるいは補色主波長に対応する波長パラメータと、距離比とからなる符号化データを生成する符号化手段と、1フレーム分の各画素に対応する符号化データと可視光スペクトルの軌跡の色度データと基準点の色度データとを記憶媒体に記録する記録手段とを備え、記録手段は、波長パラメータが主波長または補色波長のいずれであっても符号化データの同じフィールドに記録する。 A first imaging apparatus according to the present invention includes a setting unit that sets a white point in a visible region as a reference point in a chromaticity space that can represent the entire visible region, and a color of each pixel in the chromaticity space from the imaging unit. An input means for inputting degree data, a straight line connecting the reference point and the chromaticity data, and a dominant wavelength or complementary dominant wavelength corresponding to the intersection of the locus of the visible light spectrum in the chromaticity space, and the reference point and the intersection A parameter calculating means for calculating a ratio between the distance and the distance between the reference point and the chromaticity data of each pixel; a discrimination flag indicating whether the wavelength parameter is a dominant wavelength or a complementary dominant wavelength; and a dominant wavelength or a complementary color dominant and wavelength parameters corresponding to the wavelength, and encoding means for generating encoded data composed of the distance ratio, chromaticity data and the reference point of the coded data and the visible light spectrum locus corresponding to each pixel of one frame And recording means for recording the chroma data in a storage medium, recording means, also wavelength parameters either a main wavelength or complementary wavelength that records the same field of the encoded data.
本発明にかかわる第2の撮像装置は、可視領域全体を表現可能な色度空間において、可視光スペクトルの軌跡と可視光スペクトルの軌跡の長波長側端点と短波長側端点とを結ぶ赤紫線上に基準点を設定する設定手段と、撮像手段から、色度空間における各画素の色度データを入力する入力手段と、基準点と色度データとを結ぶ直線と、色度空間における可視光スペクトルの軌跡との交点に対応する主波長と、基準点と交点との距離と基準点と各画素の色度データとの距離との比を算出するパラメータ算出手段と、主波長に対応する波長パラメータと、距離比とからなる符号化データを生成する符号化手段と、1フレーム分の各画素に対応する符号化データと可視光スペクトルの軌跡の色度データと前記基準点の色度データとを記憶媒体に記録する記録手段とを備える。 The second imaging apparatus according to the present invention is a violet line connecting a long-wavelength side end point and a short-wavelength side end point of a visible light spectrum locus and a visible light spectrum locus in a chromaticity space that can represent the entire visible region. setting means for setting a reference point, from the imaging means, an input means for inputting the chromaticity data of each pixel in the chromaticity space, and a straight line connecting the reference point and the chromaticity data, Keru Contact chromaticity space visible a dominant wavelength corresponding to the intersection of the locus of the light spectrum, a parameter calculating means that to calculate the ratio of the distance between the distance and the reference point and the chromaticity data of each pixel between the reference point and the intersection corresponding to the dominant wavelength Encoding means for generating encoded data comprising a wavelength parameter to be transmitted and a distance ratio, encoded data corresponding to each pixel for one frame, chromaticity data of a locus of visible light spectrum, and chromaticity of the reference point Record data on storage media And a that recording means.
本発明にかかわる第3の撮像装置は、上述した第1の撮像装置において、符号化手段は、主波長あるいは補色主波長の範囲を波長データの記録に用いるデータ長で表現可能な数値の全範囲に対応付け、距離の比として得られる値の範囲を距離の比の記録に用いるデータ長で表現可能な数値の全範囲に対応付けて符号化データを生成する。 According to a third imaging device of the present invention, in the first imaging device described above, the encoding means has a whole range of numerical values that can be expressed by a data length that uses a wavelength range of the dominant wavelength or complementary dominant wavelength for recording wavelength data. correspondence, that generates encoded data in association with the full range of representable numerical range of the resulting value as the ratio of the distance data length to be used for recording of the ratio of the distance.
本発明にかかわる第4の撮像装置は、上述した第2の撮像装置において、符号化手段は、主波長の範囲を波長データの記録に用いるデータ長で表現可能な数値の全範囲に対応付け、距離の比として得られる値の範囲を距離の比の記録に用いるデータ長で表現可能な数値の全範囲に対応付けて符号化データを生成する。 Fourth imaging apparatus according to the present invention, Oite the second imaging device described above, encoding means, corresponding to the entire range of representable numbers in the data length using the range of dominant wavelength to the recording wavelength data In addition, encoded data is generated by associating the range of values obtained as the distance ratio with the entire range of numerical values that can be expressed by the data length used for recording the distance ratio .
本発明にかかわる第5の撮像装置は、上述した第1乃至第4の撮像装置のいずれかにおいて、入力手段は、入力される画像データをxy色度図上の座標データに変換する色度変換手段を有する。 Imaging device of the fifth according to the present invention, in any one of the first to fourth imaging device described above, input means, chromaticity converter for converting image data to be input to the coordinate data on the xy chromaticity diagram that having a means.
本発明にかかわる第6の撮像装置は、上述した第1乃至第5の撮像装置のいずれかにおいて、記録手段は、各画素の色を表す波長データと距離の比とに画素の輝度を示すパラメータを加えて記録する。 In a sixth imaging device according to the present invention, in any one of the first to fifth imaging devices described above, the recording unit includes a parameter indicating the luminance of the pixel in the wavelength data representing the color of each pixel and the ratio of the distance. Add and record .
本発明にかかわる画像処理装置は、上述した第1乃至第6の撮像装置のいずれかの符号化手段により生成された符号化データから、画像を形成する各画素の色を示す色度を復元する復号手段を備える。 An image processing apparatus according to the present invention restores chromaticity indicating the color of each pixel forming an image from the encoded data generated by the encoding means of any of the first to sixth imaging apparatuses described above. Decoding means is provided.
Claims (19)
を備えたことを特徴とする撮像装置。 The color of each pixel forming the image represented by the image data input from the imaging means is determined in advance in the chromaticity space that can represent the entire visible region, and visible in the chromaticity space. An imaging apparatus comprising: encoding means for encoding using a dominant wavelength or complementary dominant wavelength determined based on a locus of an optical spectrum and stimulus purity, and outputting the obtained encoded data.
前記符号化手段は、
前記色度空間において可視領域の内部に設定された基準点に基づいて、各画素に対応する主波長あるいは補色主波長と刺激純度とを算出する第1パラメータ算出手段と、
前記第1パラメータ算出手段で得られた値と前記値が主波長であるか補色主波長であるかを示す判別フラグとから波長パラメータを形成する波長パラメータ形成手段とを備えた
ことを特徴とする撮像装置。 The imaging device according to claim 1,
The encoding means includes
First parameter calculating means for calculating a dominant wavelength or complementary dominant wavelength and stimulation purity corresponding to each pixel based on a reference point set inside a visible region in the chromaticity space;
Wavelength parameter forming means for forming a wavelength parameter from the value obtained by the first parameter calculating means and a discrimination flag indicating whether the value is a dominant wavelength or a complementary color dominant wavelength. Imaging device.
前記符号化手段は、前記色度空間において前記可視光スペクトルの軌跡の長波長側端点と短波長側端点とを結ぶ赤紫線上に設定された基準点に基づいて、各画素に対応する主波長と刺激純度とを算出する第2パラメータ算出手段を備えた
ことを特徴とする撮像装置。 The imaging device according to claim 1,
The encoding means includes a main wavelength corresponding to each pixel based on a reference point set on a magenta line connecting a long wavelength side end point and a short wavelength side end point of the visible light spectrum locus in the chromaticity space. An imaging apparatus comprising: second parameter calculation means for calculating the stimulus purity.
前記符号化手段は、前記各画素の色に関する符号化に用いられた前記基準点および前記可視光スペクトルの軌跡を示す情報を前記符号化データに付加して出力する
ことを特徴とする撮像装置。 The imaging apparatus according to any one of claims 1 to 3,
The encoding device adds the information indicating the reference point used for encoding regarding the color of each pixel and the locus of the visible light spectrum to the encoded data and outputs the added data.
前記符号化手段は、前記符号化の際に得られる主波長あるいは補色主波長の範囲と刺激純度の範囲とをそれぞれ符号長で表現可能な数値の全範囲に対応付ける
ことを特徴とする撮像装置。 The imaging device according to claim 1,
The encoding device associates the range of the dominant wavelength or complementary dominant wavelength obtained at the time of encoding and the range of stimulus purity with the entire range of numerical values that can be expressed by code lengths.
前記符号化手段は、前記色度空間において可視領域の内部に設定された基準点と前記可視光スペクトルの軌跡とによって限定される補色主波長の範囲をそれぞれパラメータの値を表す符号長で表現可能な数値の全範囲に対応付ける
ことを特徴とする撮像装置。 The imaging device according to claim 2,
The encoding means can express a complementary color dominant wavelength range defined by a reference point set inside a visible region in the chromaticity space and a locus of the visible light spectrum by a code length representing a parameter value. An imaging device characterized by corresponding to the entire range of numerical values.
前記符号化手段は、
入力される画像データをxy色度図上の座標データに変換する色度変換手段と、
前記座標データと前記基準点の座標および前記可視光スペクトルの軌跡に関する情報とに基づいて、主波長あるいは補色主波長と刺激純度とを算出する演算手段とを備えた
ことを特徴とする撮像装置。 The imaging device according to claim 1,
The encoding means includes
Chromaticity conversion means for converting input image data into coordinate data on an xy chromaticity diagram;
An imaging apparatus, comprising: an arithmetic unit that calculates a main wavelength or a complementary main wavelength and stimulus purity based on the coordinate data, the coordinates of the reference point, and information on the locus of the visible light spectrum.
前記符号化手段は、前記各画素の色に対応する符号化データに輝度を示すパラメータを加えて画像データを形成し、形成した画像データを出力する
ことを特徴とする撮像装置。 The imaging device according to any one of claims 1 to 7,
The image pickup apparatus, wherein the encoding unit forms image data by adding a parameter indicating luminance to encoded data corresponding to the color of each pixel, and outputs the formed image data.
前記符号化ステップによって得られた符号化データを記録する記録ステップと
を備えたことを特徴とする画像記録プログラム。 The color of each pixel forming the image represented by the input image data is determined based on the reference point predetermined in the visible region in the chromaticity space that can represent the entire visible region and the visible light spectrum in the chromaticity space. An encoding step of encoding using the dominant wavelength or complementary dominant wavelength determined based on the locus and the stimulation purity;
An image recording program comprising: a recording step for recording the encoded data obtained by the encoding step.
前記符号化ステップは、
前記色度空間において可視領域の内部に設定された基準点に基づいて、各画素に対応する主波長あるいは補色主波長と刺激純度とを算出する第1パラメータ算出ステップと、
前記第1パラメータ算出ステップで得られた値と前記値が主波長であるか補色主波長であるかを示す判別フラグとから波長パラメータを形成する波長パラメータ形成ステップとを備えた
ことを特徴とする画像記録プログラム。 The image recording program according to claim 9, wherein
The encoding step includes
A first parameter calculating step of calculating a dominant wavelength or complementary dominant wavelength and stimulation purity corresponding to each pixel based on a reference point set inside a visible region in the chromaticity space;
A wavelength parameter forming step of forming a wavelength parameter from the value obtained in the first parameter calculating step and a determination flag indicating whether the value is a dominant wavelength or a complementary dominant wavelength. Image recording program.
前記符号化ステップは、前記色度空間において前記可視光スペクトルの軌跡の長波長側端点と短波長側端点とを結ぶ赤紫線上に設定された基準点に基づいて、各画素に対応する主波長と刺激純度とを算出する第2パラメータ算出ステップを備えた
ことを特徴とする画像記録プログラム。 The image recording program according to claim 9, wherein
The encoding step includes a main wavelength corresponding to each pixel based on a reference point set on a magenta line connecting a long wavelength side end point and a short wavelength side end point of the visible light spectrum locus in the chromaticity space. And a second parameter calculating step for calculating the stimulation purity.
前記記録ステップは、前記各画素の色に関する符号化に用いられた前記基準点および前記可視光スペクトルの軌跡を示す情報を符号化データに加えて記録する符号化条件付加ステップを備えた
ことを特徴とする画像記録プログラム。 The image recording program according to any one of claims 9 to 11,
The recording step includes an encoding condition adding step of recording information indicating the reference point used for encoding regarding the color of each pixel and the locus of the visible light spectrum in addition to encoded data. An image recording program.
前記符号化ステップは、前記符号化の際に得られる主波長あるいは補色主波長の範囲と刺激純度の範囲とをそれぞれ符号長で表現可能な数値の全範囲に対応付けて符号化する
ことを特徴とする画像記録プログラム。 The image recording program according to claim 9, wherein
In the encoding step, encoding is performed by associating the range of the dominant wavelength or complementary dominant wavelength and the range of stimulus purity obtained at the time of encoding in correspondence with the entire range of numerical values that can be expressed by code lengths, respectively. An image recording program.
前記符号化ステップは、前記色度空間において可視領域の内部に設定された基準点と前記可視光スペクトルの軌跡とによって限定される補色主波長の範囲をそれぞれ符号長で表現可能な数値の全範囲に対応付けて符号化する
ことを特徴とする画像記録プログラム。 The image recording program according to claim 10,
In the encoding step, a full range of numerical values that can each express a complementary color dominant wavelength range defined by a reference point set in a visible region in the chromaticity space and a locus of the visible light spectrum by a code length. An image recording program characterized in that encoding is performed in association with.
前記符号化ステップは、
入力される画像データをxy色度図上の座標データに変換する色度変換ステップと、
前記座標データと前記基準点の座標および前記可視光スペクトルの軌跡に関する情報とに基づいて、主波長あるいは補色主波長と刺激純度とを算出する演算ステップとを備えた
ことを特徴とする画像記録プログラム。 The image recording program according to claim 9, wherein
The encoding step includes
A chromaticity conversion step of converting input image data into coordinate data on an xy chromaticity diagram;
An image recording program comprising: a calculation step of calculating a dominant wavelength or a complementary dominant wavelength and a stimulus purity based on the coordinate data, the coordinates of the reference point, and information on the locus of the visible light spectrum .
前記符号化ステップは、前記各画素の色に対応する符号化データに輝度を示すパラメータを加えて画像データを形成し、形成した画像データを出力する
ことを特徴とする撮像装置。 The imaging device according to any one of claims 9 to 15,
The encoding step includes forming image data by adding a parameter indicating luminance to encoded data corresponding to the color of each pixel, and outputting the formed image data.
ことを特徴とする画像データ記録媒体。 Image data representing an image to be viewed is represented by a reference point predetermined in the visible region in the chromaticity space that can represent the entire visible region and the color of each pixel forming the image represented by the image data. At least one of a dominant wavelength and a complementary dominant wavelength indicated by an intersection of a straight line connecting points represented in the chromaticity space and a locus of the visible light spectrum in the chromaticity space, and each pixel relating to the dominant wavelength or the complementary dominant wavelength. An image data recording medium in which encoded data encoded using parameters including color stimulus purity is recorded.
ことを特徴とする画像処理装置。 Form an image from encoded data consisting of code information corresponding to parameters including principal wavelength or complementary color dominant wavelength and stimulus purity corresponding to points on the locus of visible light spectrum in chromaticity space that can represent the entire visible region An image processing apparatus comprising decoding means for restoring chromaticity indicating the color of each pixel.
ことを特徴とする画像処理プログラム。 Form an image from encoded data consisting of code information corresponding to parameters including principal wavelength or complementary color dominant wavelength and stimulus purity corresponding to points on the locus of visible light spectrum in chromaticity space that can represent the entire visible region An image processing program comprising: a decoding step for restoring chromaticity indicating a color of each pixel to be performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012154616A JP5464238B2 (en) | 2012-07-10 | 2012-07-10 | Imaging apparatus, image recording program, image processing apparatus, and image processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012154616A JP5464238B2 (en) | 2012-07-10 | 2012-07-10 | Imaging apparatus, image recording program, image processing apparatus, and image processing program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007007394A Division JP2008176415A (en) | 2007-01-16 | 2007-01-16 | Imaging apparatus, image recording program, image data recording medium, image processing apparatus, and image processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012209967A true JP2012209967A (en) | 2012-10-25 |
| JP5464238B2 JP5464238B2 (en) | 2014-04-09 |
Family
ID=47189291
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012154616A Expired - Fee Related JP5464238B2 (en) | 2012-07-10 | 2012-07-10 | Imaging apparatus, image recording program, image processing apparatus, and image processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5464238B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06109545A (en) * | 1992-09-30 | 1994-04-19 | Idemitsu Petrochem Co Ltd | Color tone inspecting method |
| JPH0846989A (en) * | 1994-07-29 | 1996-02-16 | Toppan Printing Co Ltd | Color conversion method and apparatus |
| JP2000347786A (en) * | 1999-06-04 | 2000-12-15 | Nippon Telegr & Teleph Corp <Ntt> | Pointer display color generation method and apparatus in color display, recording medium |
| JP2003287733A (en) * | 2002-03-28 | 2003-10-10 | Matsushita Electric Ind Co Ltd | Liquid crystal display device and driving method thereof |
| JP2005507588A (en) * | 2001-10-26 | 2005-03-17 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Coding |
-
2012
- 2012-07-10 JP JP2012154616A patent/JP5464238B2/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06109545A (en) * | 1992-09-30 | 1994-04-19 | Idemitsu Petrochem Co Ltd | Color tone inspecting method |
| JPH0846989A (en) * | 1994-07-29 | 1996-02-16 | Toppan Printing Co Ltd | Color conversion method and apparatus |
| JP2000347786A (en) * | 1999-06-04 | 2000-12-15 | Nippon Telegr & Teleph Corp <Ntt> | Pointer display color generation method and apparatus in color display, recording medium |
| JP2005507588A (en) * | 2001-10-26 | 2005-03-17 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Coding |
| JP2003287733A (en) * | 2002-03-28 | 2003-10-10 | Matsushita Electric Ind Co Ltd | Liquid crystal display device and driving method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| JP5464238B2 (en) | 2014-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4196845B2 (en) | Image processing device | |
| JP4375781B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
| JP6316074B2 (en) | Image processing apparatus, image processing method, and program | |
| KR101990956B1 (en) | Device for converting color gamut and method thereof | |
| EP2391113B1 (en) | Image processing method, image processing device and recording medium | |
| US7697165B2 (en) | Gamut compression method, program, and gamut compression device | |
| JP2008176415A (en) | Imaging apparatus, image recording program, image data recording medium, image processing apparatus, and image processing program | |
| KR100921037B1 (en) | Image signal processing method and image signal processing apparatus | |
| JP4105426B2 (en) | Image information transmission method and image information processing apparatus | |
| JP2013225802A (en) | Digital camera, color conversion information generating program, color conversion program, and recording control program | |
| JPH1084487A (en) | Image processing apparatus and method | |
| CN101226730A (en) | Color management method and device for mobile terminal | |
| JP2005354372A (en) | Apparatus and method for image recording device, method and system for image processing | |
| WO2015029633A1 (en) | Liquid crystal display device, and image display method for liquid crystal display device | |
| US7965427B2 (en) | Color processing apparatus and its method | |
| JP2008271303A (en) | Color processing method and apparatus | |
| JP2007288470A (en) | Unit and method for color adjustment, unit and method for generating color conversion parameter, unit and method for color conversion, color adjustment program, color conversion parameter generation program, color conversion program, and recording medium | |
| JP5464238B2 (en) | Imaging apparatus, image recording program, image processing apparatus, and image processing program | |
| JP6535222B2 (en) | Image processing apparatus and image forming system | |
| US20100158367A1 (en) | Modeling spectral characteristics of an input imaging device | |
| JP2005269443A (en) | Image processing method, image processing apparatus, program, and recording medium | |
| JP2004199193A (en) | Image processing method and image processing apparatus | |
| KR100735562B1 (en) | Host device, system and color reproduction method for color reproduction by light source | |
| JP4545995B2 (en) | Image processing method and image processing apparatus | |
| CN119232901B (en) | Color correction methods, color correction devices, media and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120808 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120808 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130726 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130813 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130917 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20131224 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140106 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5464238 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |