[go: up one dir, main page]

JP2004260572A - Digital camera and control method thereof - Google Patents

Digital camera and control method thereof Download PDF

Info

Publication number
JP2004260572A
JP2004260572A JP2003049209A JP2003049209A JP2004260572A JP 2004260572 A JP2004260572 A JP 2004260572A JP 2003049209 A JP2003049209 A JP 2003049209A JP 2003049209 A JP2003049209 A JP 2003049209A JP 2004260572 A JP2004260572 A JP 2004260572A
Authority
JP
Japan
Prior art keywords
color space
digital camera
image
printer
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.)
Pending
Application number
JP2003049209A
Other languages
Japanese (ja)
Inventor
Mitsuteru Honda
充輝 本田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2003049209A priority Critical patent/JP2004260572A/en
Publication of JP2004260572A publication Critical patent/JP2004260572A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

【課題】デジタルカメラの画像をダイレクトプリントする場合、撮影画像の色空間とダイレクトプリンタの色空間が一致せずに、正しい色彩で画像がプリントされない。
【解決手段】デジタルカメラに直結接続可能な第一の色空間に対応したプリンタと、第一の色空間よりも広い第二の色空間で画像を撮影することが可能なデジタルカメラにおいて、前記第二の色空間で撮影された画像は、第一の色空間に変換する画像処理を行った後に前記プリンタに出力することを特徴とする。
【選択図】 図2
When directly printing an image of a digital camera, a color space of a photographed image does not match a color space of a direct printer, and an image is not printed in a correct color.
A printer compatible with a first color space that can be directly connected to a digital camera, and a digital camera capable of capturing an image in a second color space wider than the first color space, An image captured in the second color space is output to the printer after performing image processing for converting the image into the first color space.
[Selection] Fig. 2

Description

【0001】
【発明の属する技術分野】
本発明は、プリンタに直接画像データを出力可能なデジタルカメラに関する。
【0002】
【従来の技術】
デジタルカメラは、sRGB色空間が標準的な色空間として用いられている。しかし、現在一眼レフタイプのデジタルカメラを中心にsRGB色空間より広い色空間をもつAdobeRGB色空間などの拡張色空間を利用可能なカメラが増加している。
【0003】
また、デジタルカメラをケーブルによりプリンタに直接接続し、デジタルカメラで撮影された画像を直接プリントアウトするダイレクトプリント方式が普及し始めている。ダイレクトプリント方式の中でも、プリンタ側には画像処理機能回路が内蔵されていないもしくは非常に簡略化されているもので、小型で携帯性に優れるものが普及し始めている。このタイプのダイレクトプリンタでは、色空間変換処理等は含まれておらず、デジタルカメラの標準的な色空間であるsRGB色空間を利用できるのが一般的である。
【0004】
【特許文献1】
特開2001−195208
【0005】
【発明が解決しようとする課題】
しかし、従来では色空間の変換は行われず、プリンタの色空間にあわせてカメラで撮影しなければならなかった。そして、sRGB色空間しか持たないダイレクトプリンタでは、AdobeRGB色空間で撮影されたデジタルカメラの画像をダイレクトプリントする場合、撮影画像の色空間とダイレクトプリンタの色空間が一致せずに、正しい色彩で画像がプリントされないという問題点がある。
【0006】
【課題を解決するための手段】
本発明は、デジタルカメラに直結接続可能な第一の色空間に対応したプリンタと、第一の色空間よりも広い第二の色空間で画像を撮影することが可能なデジタルカメラにおいて、前記第二の色空間で撮影された画像は、第一の色空間に変換する画像処理を行った後に前記プリンタに出力することを特徴とするダイレクトプリント対応のデジタルカメラであることを特徴としている。
【0007】
本発明のダイレクトプリント対応のデジタルカメラにおいて、第一の色空間はsRGB色空間であることを特徴とする。
【0008】
本発明のダイレクトプリント対応のデジタルカメラにおいて、第二の色空間はAdobeRGB色空間であることを特徴とする。
【0009】
【発明の実施の形態】
(第一の実施例)
以下に本発明にかかわる実施形態を図面を参照して説明する。
【0010】
図1はデジタルカメラ100の概略構成を示すブロック図であり、101は、動作モード選択部である。選択可能な動作モードとしては、撮影を行う撮影モード、撮影した画像を再生する再生モード、印刷を行う印刷モード等があげられる。なお、動作モード選択部101は、モードダイヤル、モード決定スイッチ等、特に限定はしない。
【0011】
102は撮影レンズ、撮像素子及びその駆動回路、A/Dコンバータ等で構成される撮像部である。撮影レンズにより結像する光学像を撮像素子により電気信号に変換され、出力信号はA/Dコンバータによってデジタル信号に変換される。デジタルカメラ制御回路103は、撮像部102、ならびに後述するメモリ104、記録媒体105、画像処理回路106、JPEG符号化回路107、色空間変換部108、画像表示部109、転送制御部110、フォーマット変換部115等の各ブロックの制御や各ブロック間のデータバス等を含む。メモリ104は撮像部102の撮像素子から読み出された1画面分の撮像データを1つの単位として、これを複数分、記憶できる容量を備えている。撮像部102から出力されるデジタル信号は、デジタルカメラ制御回路103からメモリ104に記録される。メモリ104の容量は、短時間に複数回の撮影動作を行う連写動作が、後段の処理(フォーマット変換、圧縮符号化、記録媒体への記録)の速度で制限されないように、大きめに設定される。
【0012】
記録媒体105は、半導体メモリのカードなどで、主にリムーバルな媒体が好んで使用される。画像処理回路106は、ホワイトバランス調整、画素補間処理、階調処理、色変換処理などを施す。JPEG符号化回路107は、ベースラインJPEG方式により画像データを圧縮、伸長するための回路で、図示しない公知のDCT、量子化回路、ハフマン符号・複合回路等で構成されている。
【0013】
色空間変換部108は、AdobeRGB色空間で撮影された画像をダイレクトプリンタ120により直接印刷する際に印刷対象の画像データをsRGB色空間に変換するためのブロックである。詳しくは、AdobeRGB色空間から標準色空間XYZに変換するブロックと標準色空間XYZからsRGB色空間に変換するブロックからなる。画像表示部109は、液晶ディスプレイ等により構成され、記録媒体105に記録された再生画像の表示や後述の印刷画像の選択等に利用される。転送制御部110は、デジタルカメラ100とダイレクトプリンタ120をケーブル121で直接接続し、デジタルカメラ100で撮影された画像をダイレクトプリンタ120により直接印刷する際に、印刷対象の画像データをダイレクトプリンタ120に転送する制御を行う。
【0014】
115はデータフォーマット変換部で、メモリ114に保存されているRGBをダイレクトプリンタ120に適合するデータフォーマットに変換を行う。
【0015】
次に、印刷モード時の処理を図2のフローチャートに従って説明する。
【0016】
動作モード選択部101により印刷モードが選択されると(ステップS101)、デジタルカメラ制御回路103は、画像表示部109に撮影画像を表示した印刷画像の選択画面を表示して、ユーザーに印刷画像を選択させる(ステップS102)。この印刷画像の選択方法は、これに限るものでなく任意である。
【0017】
印刷画像が選択された後に、ユーザーにより印刷開始が指示されると(ステップS103)、デジタルカメラ制御回路103は印刷画像の画像データを記録媒体105からメモリ104に読み出す(ステップS104)。次に、メモリ104に読み出された画像データにつけられている色空間を検出する(ステップS105)。なお、色空間の検出はEXIFで定められた色空間を示すタグの検出など公知の方法で行う。次に、色空間がAdobeRGB色空間であるか否かを判定し(ステップS106)、AdobeRGB色空間ならば、ステップS107の色空間変換処理を含む画像処理に進む。
【0018】
図3にステップS107の詳細のフローチャートを示す。メモリ104に読み出された画像は、JPEG符号化回路107においてJPEG伸長によりYCbCrに変換され、さらにYCbCrからRGBに変換される(ステップS201)。この時の画像データの色空間はsRGBよりも色空間の広いAdobeRGBである。次に、AdobeRGBは、色空間変換部108において標準色空間XYZへと変換され(ステップS202)、さらに標準色空間XYZからダイレクトプリンタ120の色空間であるsRGBに変換される(ステップS203)。さらにsRGBは、データフォーマット変換部115においてダイレクトプリンタ120が適合するデータフォーマットに変換される(ステップS204)。この際、データフォーマット変換された画像データはメモリ104の別エリアに保存される。ただし、データフォーマット変換された画像データは、逐次転送制御部110に送出してもよい。
【0019】
また、ステップS106でメモリ104の画像の色空間がsRGBの場合は、ステップS108に進む。図4にステップS108の詳細のフローチャートを示す。メモリ104に蓄えられた画像は、JPEG符号化回路107でJPEG伸長しYCbCrに変換され、さらにYCbCrからRGBに変換される(ステップS301)。この時の画像データの色空間はsRGBである。sRGBは、データフォーマット変換部115においてダイレクトプリンタ120が適合するデータフォーマットに変換される(ステップS302)。データフォーマット変換された画像データはメモリ104の別エリアに保存される。ただし、データフォーマット変換された画像データは、逐次転送制御部110に送出してもよい。
【0020】
再び図2のフローチャートに戻るが、転送制御部110により、データフォーマット変換された画像データをダイレクトプリンタ120に出力する(ステップS109)。
【0021】
このように、画像データの色空間がAdobeRGBであった場合、AdobeRGBはダイレクトプリンタ120の色空間であるsRGBに変換される。こうすることで、ダイレクトプリンタ120に画像処理機能がなくとも、ダイレクトプリンタ120の色空間に合わせて印刷を行うことが可能となる。
【0022】
次に、ダイレクトプリンタ120に転送された画像の印刷が終了したか否かを判別し(ステップS110)、終了してなければステップS109に戻り、画像データの転送を継続する。印刷が終了した場合は、次の印刷画像が有るか否かを判定し(ステップS111)、次の印刷画像があれば、ステップS104に戻り、次の印刷画像について同様の処理を行わせる。次の印刷画像がなければ、印刷モードの処理を終了する。
【0023】
なお、本実施例では、色空間変換部108は標準色空間XYZを介して、AdobeRGB色空間からsRGB色空間への変換を行っていたが、この標準色空間XYZの変わりにAdobeRGB色空間よりも広い色空間(例えばLab均等色空間等)を用いてもよい。
【0024】
また、本実施例では、ダイレクトプリンタ120をsRGB色空間、デジタルカメラ100をAdobeRGB色空間としたが、これに限るものでなく、デジタルカメラ100で撮影された画像の色空間がダイレクトプリンタ120の色空間よりも広い場合に適応される。
【0025】
(第二の実施例)
第二の実施例では、AdobeRGB色空間からsRGB色空間への変換にルックアップテーブルを用いたものを示す。図1、図2は第一の実施例と共通のため、ここでは詳細な説明は省略し、図5のフローチャートを用いて説明を行う。
【0026】
図5にステップS107の詳細のフローチャートを示す。メモリ104に読み出された画像は、JPEG符号化回路107においてJPEG伸長によりYCbCrに変換され、さらにYCbCrからRGBに変換される(ステップS401)。この時の画像データの色空間はsRGBよりも色空間の広いAdobeRGBである。次に、AdobeRGBは、入力色信号がAdobeRGBで出力色信号がsRGBであるルックアップテーブルを参照し、sRGBに変換する(ステップS402)。sRGBは、データフォーマット変換部115においてダイレクトプリンタが適合するデータフォーマットに変換される(ステップS403)。この際、データフォーマット変換された画像データはメモリ104の別エリアに保存される。ただし、データフォーマット変換された画像データは、逐次転送制御部110に送出してもよい。
【0027】
また、ステップS106でメモリ104の画像の色空間がsRGBの場合は、ステップS108に進む。図4にステップS108の詳細のフローチャートを示す。ここでは図4は第一の実施例と共通のため、詳細な説明は省略する。
【0028】
このように、画像データの色空間がAdobeRGBであった場合、AdobeRGBはダイレクトプリンタ120の色空間であるsRGBに変換される。こうすることで、ダイレクトプリンタ120に画像処理機能がなくとも、ダイレクトプリンタ120の色空間に合わせて印刷を行うことが可能となる。
【0029】
本実施例で用いたルックアップテーブルの入力色信号がRGB形式であったが、必ずしもそれに限るものではなく、AdobeRGB色空間に基づくものであればよい。例えば、入力色信号は、ステップS201で行ったRGBに変換される前のYCrCbでもよい。また、本実施例の目的は色空間の変換であることから、輝度レベルの変化は少ないとし、上記のYCrCbからCrCbのみを入力色信号として計算時間を省略することも可能である。
【0030】
本実施例で用いたルックアップテーブルの出力色信号はRGB形式であったが、必ずしもそれに限るものではなく、sRGB色空間に基づくものであればよい。出力色信号は、ダイレクトプリンタ120のデータフォーマットでもよい。その場合、ステップS403が省略されることは言うまでもない。
【0031】
また、本実施例では、ダイレクトプリンタ120をsRGB色空間、デジタルカメラ100をAdobeRGB色空間としたが、これに限るものでなく、デジタルカメラ100で撮影された画像の色空間がダイレクトプリンタ120の色空間よりも広い場合に適応される。
【0032】
(第三の実施例)
第三の実施例は、第一及び第二の実施例の変形例でダイレクトプリンタ120側でデータフォーマット変換機能をもつ場合について説明する。図6を用いて説明を行うが、図6はデータフォーマット変換部115がないのみで図1と共通のため、詳しい説明は省略する。
【0033】
図2は第一の実施例と共通のため、ここでは詳細な説明は省略し、図7、図8のフローチャートを用いて説明を行う。
【0034】
図7に第三の実施例のステップS107の詳細のフローチャートを示す。メモリ104に読み出された画像は、JPEG符号化回路107においてJPEG伸長によりYCbCrに変換され、さらにYCbCrからRGBに変換される(ステップS501)。この時の画像データの色空間はsRGBよりも色空間の広いAdobeRGBである。次に、AdobeRGBは、色空間変換部108において標準色空間XYZへと変換され(ステップS502)、さらに標準色空間XYZからダイレクトダイレクトプリンタの色空間であるsRGBに変換される(ステップS503)。この際、sRGBに変換された画像データはメモリ104の別エリアに保存する。ただし、sRGBに変換された画像データは、逐次転送制御部110に送出してもよい。
【0035】
また、ステップS106でメモリ104の画像の色空間がsRGBの場合は、ステップS108に進む。図4にステップS108の詳細のフローチャートを示す。メモリ104に蓄えられた画像は、JPEG符号化回路107でJPEG伸長したYCbCrに変換され、さらにYCbCrからRGBに変換される(ステップS601)。この時の画像データの色空間はsRGBである。sRGB画像データはメモリ104の別エリアに保存する。ただし、画像データは、逐次転送制御部110に送出してもよい。
【0036】
再び図2のフローチャートに戻るが、転送制御部110により、sRGBに変換された画像データをダイレクトプリンタ120に転送する(ステップS109)。
【0037】
このように、画像データの色空間がAdobeRGBであった場合、AdobeRGBはダイレクトプリンタ120の色空間であるsRGBに変換される。こうすることで、ダイレクトプリンタ120に画像処理機能がなくとも、ダイレクトプリンタ120の色空間に合わせて印刷を行うことが可能となる。
【0038】
なお、本実施例では、色空間変換部108は標準色空間XYZを介して、AdobeRGB色空間からsRGB色空間への変換を行っていたが、この標準色空間XYZの変わりにAdobeRGB色空間よりも広い色空間(例えばLab均等色空間等)を用いてもよい。
【0039】
また、本実施例では、ダイレクトプリンタ120をsRGB色空間、デジタルカメラ100をAdobeRGB色空間としたが、これに限るものでなく、デジタルカメラ100で撮影された画像の色空間がダイレクトプリンタ120の色空間よりも広い場合に適応される。
【0040】
また、本実施例では、第一の実施例の変形例として、標準色空間XYZに変換する方法について示したが、第二の実施例のようにルックアップテーブルを用いてもよい。
【0041】
本発明を実施する構成は、デジタルカメラ内のハード構成、回路で行ってもいるが、色空間変換などの画像処理や、プリンタとのデータのやり取りに関する各処理をデジタルカメラ制御回路内のCPUに実行させる為のプログラムを、内部メモリ(例えばメモリ104や記憶媒体105等)に格納しておき、本発明をソフトウェア的に実行することも本発明の範疇に含まれる。
【0042】
なお、本発明は複数の機器(たとえばホストコンピュータ、インタフェース機器、リーダ、プリンタ等)から構成されるシステムに適用しても、または一つの機器(たとえば複写機、ファクシミリ装置)からなる装置に適用してもよい。
【0043】
また前述した実施形態の機能を実現する様に各種のデバイスを動作させる様に該各種デバイスと接続された装置あるいはシステム内のコンピュータに、前記実施形態機能を実現するためのソフトウエアのプログラムコードを供給し、そのシステムあるいは装置のコンピュータ(CPUあるいはMPU)を格納されたプログラムに従って前記各種デバイスを動作させることによって実施したものも本願発明の範疇に含まれる。
【0044】
またこの場合、前記ソフトウエアのプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコード自体、及びそのプログラムコードをコンピュータに供給するための手段、例えばかかるプログラムコードを格納した記憶媒体は本発明を構成する。
【0045】
かかるプログラムコードを格納する記憶媒体としては例えばフロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることが出来る。
【0046】
またコンピュータが、供給されたプログラムコードを実行することにより、前述の実施形態の機能が実現されるだけではなく、そのプログラムコードが、コンピュータにおいて稼働しているOS(オペレーティングシステム)、あるいは他のアプリケーションソフト等と共同して前述の実施形態の機能が実現される場合にもかかるプログラムコードは本願発明の実施形態に含まれることは言うまでもない。
【0047】
更に供給されたプログラムコードが、コンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後そのプログラムコードの指示に基づいてその機能拡張ボードや機能格納ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も本願発明に含まれることは言うまでもない。
【0048】
【発明の効果】
以上説明したように、本発明によれば、デジタルカメラに直結接続可能な第一の色空間に対応したプリンタと、第一の色空間よりも広い第二の色空間でも画像を撮影することが可能なデジタルカメラにおいて、前記第二の色空間で撮影された画像は、第一の色空間に変換する画像処理を行った後に前記プリンタに出力することを特徴とするダイレクトプリント対応のデジタルカメラであることにより、AdobeRGB色空間で撮影したデジタルカメラの画像をsRGB色空間に対応するダイレクトプリンタで印刷した場合も色情報を正しく伝達することができ、正しい色彩でのプリントを可能にする。
【0049】
そして例えば、デジタルカメラがより広い色空間で撮影可能であるのに、プリンタのより狭い色空間にあわせて撮影しなくても良いので、撮像能力を存分に発揮することが出来るとともに、印刷するときには正しい色情報を伝達することが可能になる。
【図面の簡単な説明】
【図1】本発明の第一、第二の実施例を説明する図である。
【図2】本発明の実施例を説明するためのフローチャートである。
【図3】本発明の第一の実施例を説明するためのフローチャートである。
【図4】本発明の実施例を説明するためのフローチャートである。
【図5】本発明の第二の実施例を説明するためのフローチャートである。
【図6】本発明の第三の実施例を説明する図である。
【図7】本発明の第三の実施例を説明するためのフローチャートである。
【図8】本発明の第三の実施例を説明するためのフローチャートである。
【符号の説明】
100 デジタルカメラ
101 動作モード選択部
102 撮像部
103 メモリ制御回路
104 バッファメモリ
105 記憶媒体
106 画像処理回路
107 JPEG符号化回路
108 色空間変換部
109 画像表示部
110 転送制御部
115 データフォーマット変換部
120 ダイレクトプリンタ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a digital camera capable of directly outputting image data to a printer.
[0002]
[Prior art]
In digital cameras, the sRGB color space is used as a standard color space. However, cameras that can use an extended color space such as Adobe RGB color space, which has a color space wider than the sRGB color space, are increasing, mainly for single-lens reflex digital cameras.
[0003]
In addition, a direct print method in which a digital camera is directly connected to a printer by a cable and an image taken by the digital camera is directly printed out has begun to spread. Among the direct printing methods, those which do not have a built-in image processing function circuit on the printer side or are very simplified, and which are small and excellent in portability, have begun to spread. This type of direct printer does not include a color space conversion process or the like, and can generally use an sRGB color space which is a standard color space of a digital camera.
[0004]
[Patent Document 1]
JP 2001-195208A
[0005]
[Problems to be solved by the invention]
However, conventionally, color space conversion has not been performed, and the camera must be photographed in accordance with the color space of the printer. In a direct printer having only the sRGB color space, when directly printing an image of a digital camera photographed in the Adobe RGB color space, the color space of the photographed image does not match the color space of the direct printer, and the image is displayed in correct colors. Is not printed.
[0006]
[Means for Solving the Problems]
The present invention relates to a printer corresponding to a first color space that can be directly connected to a digital camera, and a digital camera capable of capturing an image in a second color space wider than the first color space. An image captured in the second color space is a digital camera compatible with direct printing, which performs image processing for converting the image into the first color space and then outputs the image to the printer.
[0007]
In the digital camera supporting direct printing according to the present invention, the first color space is an sRGB color space.
[0008]
In the digital camera supporting direct printing according to the present invention, the second color space is an Adobe RGB color space.
[0009]
BEST MODE FOR CARRYING OUT THE INVENTION
(First embodiment)
An embodiment according to the present invention will be described below with reference to the drawings.
[0010]
FIG. 1 is a block diagram showing a schematic configuration of the digital camera 100, and 101 is an operation mode selection unit. The selectable operation modes include a photographing mode for photographing, a reproduction mode for reproducing a photographed image, a print mode for printing, and the like. The operation mode selection unit 101 is not particularly limited, such as a mode dial and a mode determination switch.
[0011]
Reference numeral 102 denotes an imaging unit including a photographic lens, an imaging element and its driving circuit, an A / D converter, and the like. The optical image formed by the taking lens is converted into an electric signal by the image pickup device, and the output signal is converted into a digital signal by the A / D converter. The digital camera control circuit 103 includes an imaging unit 102, and a memory 104, a recording medium 105, an image processing circuit 106, a JPEG encoding circuit 107, a color space conversion unit 108, an image display unit 109, a transfer control unit 110, and a format conversion, which will be described later. Control of each block such as the unit 115 and a data bus between the blocks are included. The memory 104 has a capacity capable of storing a plurality of pieces of image data for one screen read from the image sensor of the image capturing unit 102 as one unit. The digital signal output from the imaging unit 102 is recorded in the memory 104 from the digital camera control circuit 103. The capacity of the memory 104 is set large so that the continuous shooting operation in which a plurality of shooting operations are performed in a short time is not limited by the speed of the subsequent processing (format conversion, compression encoding, recording on a recording medium). You.
[0012]
The recording medium 105 is preferably a removable medium such as a semiconductor memory card. The image processing circuit 106 performs white balance adjustment, pixel interpolation processing, gradation processing, color conversion processing, and the like. The JPEG encoding circuit 107 is a circuit for compressing and decompressing image data according to the baseline JPEG method, and includes a well-known DCT, a quantization circuit, a Huffman code / composite circuit, and the like (not shown).
[0013]
The color space conversion unit 108 is a block for converting image data to be printed into an sRGB color space when an image photographed in the Adobe RGB color space is directly printed by the direct printer 120. More specifically, it includes a block for converting the Adobe RGB color space to the standard color space XYZ and a block for converting the standard color space XYZ to the sRGB color space. The image display unit 109 is configured by a liquid crystal display or the like, and is used for displaying a reproduced image recorded on the recording medium 105, selecting a print image described later, and the like. The transfer control unit 110 connects the digital camera 100 and the direct printer 120 directly with the cable 121, and when the image captured by the digital camera 100 is directly printed by the direct printer 120, the image data to be printed is transmitted to the direct printer 120. Control the transfer.
[0014]
A data format conversion unit 115 converts RGB stored in the memory 114 into a data format compatible with the direct printer 120.
[0015]
Next, processing in the print mode will be described with reference to the flowchart of FIG.
[0016]
When the print mode is selected by the operation mode selection unit 101 (step S101), the digital camera control circuit 103 displays a print image selection screen on which the captured image is displayed on the image display unit 109, and displays the print image to the user. The user is selected (step S102). The method of selecting the print image is not limited to this, and is arbitrary.
[0017]
When the user instructs to start printing after the print image is selected (step S103), the digital camera control circuit 103 reads the image data of the print image from the recording medium 105 to the memory 104 (step S104). Next, the color space attached to the image data read into the memory 104 is detected (step S105). The detection of the color space is performed by a known method such as detection of a tag indicating the color space defined by EXIF. Next, it is determined whether or not the color space is the Adobe RGB color space (step S106). If the color space is the Adobe RGB color space, the process proceeds to image processing including the color space conversion process of step S107.
[0018]
FIG. 3 shows a detailed flowchart of step S107. The image read to the memory 104 is converted into YCbCr by JPEG expansion in the JPEG encoding circuit 107, and further converted from YCbCr to RGB (step S201). At this time, the color space of the image data is AdobeRGB having a wider color space than sRGB. Next, AdobeRGB is converted into the standard color space XYZ by the color space conversion unit 108 (step S202), and further converted from the standard color space XYZ into sRGB which is the color space of the direct printer 120 (step S203). Further, the sRGB is converted into a data format compatible with the direct printer 120 by the data format converter 115 (step S204). At this time, the image data whose data format has been converted is stored in another area of the memory 104. However, the image data whose data format has been converted may be sent to the sequential transfer control unit 110.
[0019]
If the color space of the image in the memory 104 is sRGB in step S106, the process proceeds to step S108. FIG. 4 shows a detailed flowchart of step S108. The image stored in the memory 104 is JPEG decompressed by the JPEG encoding circuit 107, converted into YCbCr, and further converted from YCbCr to RGB (step S301). The color space of the image data at this time is sRGB. The sRGB is converted by the data format converter 115 into a data format compatible with the direct printer 120 (step S302). The image data whose data format has been converted is stored in another area of the memory 104. However, the image data whose data format has been converted may be sent to the sequential transfer control unit 110.
[0020]
Returning to the flowchart of FIG. 2 again, the transfer control unit 110 outputs the image data whose data format has been converted to the direct printer 120 (step S109).
[0021]
As described above, when the color space of the image data is AdobeRGB, AdobeRGB is converted to sRGB which is the color space of the direct printer 120. This makes it possible to perform printing in accordance with the color space of the direct printer 120, even if the direct printer 120 does not have an image processing function.
[0022]
Next, it is determined whether or not printing of the image transferred to the direct printer 120 has been completed (step S110). If not completed, the process returns to step S109 to continue the transfer of the image data. When printing is completed, it is determined whether or not there is a next print image (step S111). If there is a next print image, the process returns to step S104, and the same processing is performed on the next print image. If there is no next print image, the print mode process ends.
[0023]
In the present embodiment, the color space conversion unit 108 performs conversion from the Adobe RGB color space to the sRGB color space via the standard color space XYZ, but instead of the standard color space XYZ, the color space conversion unit 108 performs a conversion from the Adobe RGB color space. A wide color space (for example, a Lab uniform color space or the like) may be used.
[0024]
In the present embodiment, the direct printer 120 is in the sRGB color space, and the digital camera 100 is in the Adobe RGB color space. However, the present invention is not limited to this. It is applied when it is wider than space.
[0025]
(Second embodiment)
In the second embodiment, a conversion from the Adobe RGB color space to the sRGB color space using a lookup table will be described. FIGS. 1 and 2 are common to the first embodiment, and therefore, detailed description is omitted here, and description will be made using the flowchart of FIG.
[0026]
FIG. 5 shows a detailed flowchart of step S107. The image read to the memory 104 is converted into YCbCr by JPEG expansion in the JPEG encoding circuit 107, and further converted from YCbCr to RGB (step S401). At this time, the color space of the image data is AdobeRGB having a wider color space than sRGB. Next, AdobeRGB refers to a look-up table in which the input color signal is AdobeRGB and the output color signal is sRGB, and converts it into sRGB (step S402). The sRGB is converted into a data format compatible with the direct printer by the data format conversion unit 115 (step S403). At this time, the image data whose data format has been converted is stored in another area of the memory 104. However, the image data whose data format has been converted may be sent to the sequential transfer control unit 110.
[0027]
If the color space of the image in the memory 104 is sRGB in step S106, the process proceeds to step S108. FIG. 4 shows a detailed flowchart of step S108. Here, FIG. 4 is common to the first embodiment, and therefore detailed description is omitted.
[0028]
As described above, when the color space of the image data is AdobeRGB, AdobeRGB is converted to sRGB which is the color space of the direct printer 120. This makes it possible to perform printing in accordance with the color space of the direct printer 120, even if the direct printer 120 does not have an image processing function.
[0029]
Although the input color signal of the lookup table used in the present embodiment is in the RGB format, the input color signal is not limited to the RGB format, and may be any format based on the Adobe RGB color space. For example, the input color signal may be YCrCb before being converted into RGB performed in step S201. Further, since the purpose of this embodiment is to convert the color space, it is assumed that the change in the luminance level is small, and it is possible to omit the calculation time by using only the above YCrCb to CrCb as input color signals.
[0030]
The output color signal of the look-up table used in the present embodiment is in the RGB format, but is not limited thereto, and may be based on the sRGB color space. The output color signal may be in the data format of the direct printer 120. In this case, it goes without saying that step S403 is omitted.
[0031]
In the present embodiment, the direct printer 120 is in the sRGB color space, and the digital camera 100 is in the Adobe RGB color space. However, the present invention is not limited to this. It is applied when it is wider than space.
[0032]
(Third embodiment)
In the third embodiment, a case where the direct printer 120 has a data format conversion function in a modification of the first and second embodiments will be described. The description will be given with reference to FIG. 6, but FIG. 6 is the same as FIG.
[0033]
Since FIG. 2 is common to the first embodiment, a detailed description thereof will be omitted here, and the description will be made with reference to the flowcharts of FIGS.
[0034]
FIG. 7 shows a detailed flowchart of step S107 of the third embodiment. The image read to the memory 104 is converted into YCbCr by JPEG expansion in the JPEG encoding circuit 107, and further converted from YCbCr to RGB (step S501). At this time, the color space of the image data is AdobeRGB having a wider color space than sRGB. Next, AdobeRGB is converted to a standard color space XYZ by the color space conversion unit 108 (step S502), and further converted from the standard color space XYZ to sRGB which is a color space of a direct printer (step S503). At this time, the image data converted to sRGB is stored in another area of the memory 104. However, the image data converted to sRGB may be sent to the sequential transfer control unit 110.
[0035]
If the color space of the image in the memory 104 is sRGB in step S106, the process proceeds to step S108. FIG. 4 shows a detailed flowchart of step S108. The image stored in the memory 104 is converted into JC-extended YCbCr by the JPEG encoding circuit 107, and further converted from YCbCr to RGB (step S601). The color space of the image data at this time is sRGB. The sRGB image data is stored in another area of the memory 104. However, the image data may be sent to the sequential transfer control unit 110.
[0036]
Returning to the flowchart of FIG. 2 again, the transfer control unit 110 transfers the image data converted to sRGB to the direct printer 120 (step S109).
[0037]
As described above, when the color space of the image data is AdobeRGB, AdobeRGB is converted to sRGB which is the color space of the direct printer 120. This makes it possible to perform printing in accordance with the color space of the direct printer 120, even if the direct printer 120 does not have an image processing function.
[0038]
In the present embodiment, the color space conversion unit 108 performs conversion from the Adobe RGB color space to the sRGB color space via the standard color space XYZ, but instead of the standard color space XYZ, the color space conversion unit 108 performs a conversion from the Adobe RGB color space. A wide color space (for example, a Lab uniform color space or the like) may be used.
[0039]
In the present embodiment, the direct printer 120 is in the sRGB color space, and the digital camera 100 is in the Adobe RGB color space. However, the present invention is not limited to this. It is applied when it is wider than space.
[0040]
Further, in the present embodiment, as a modification of the first embodiment, a method of converting into the standard color space XYZ has been described, but a look-up table may be used as in the second embodiment.
[0041]
Although the configuration for implementing the present invention is performed by a hardware configuration and a circuit in the digital camera, image processing such as color space conversion and each process related to data exchange with a printer are performed by a CPU in a digital camera control circuit. The scope of the present invention includes storing a program to be executed in an internal memory (for example, the memory 104 or the storage medium 105) and executing the present invention as software.
[0042]
The present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) or to an apparatus composed of one device (for example, a copying machine, a facsimile machine). You may.
[0043]
In order to operate various devices so as to realize the functions of the above-described embodiments, software programs for realizing the functions of the above-described embodiments are stored in a device or a computer in a system connected to the various devices. The present invention also includes those which are supplied and executed by operating the various devices according to a stored program in a computer (CPU or MPU) of the system or the apparatus.
[0044]
In this case, the program code of the software implements the functions of the above-described embodiment, and the program code itself and a unit for supplying the program code to the computer, for example, the program code is stored. The storage medium constitutes the present invention.
[0045]
As a storage medium for storing such a program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, magnetic tape, nonvolatile memory card, ROM, or the like can be used.
[0046]
When the computer executes the supplied program code, not only the functions of the above-described embodiments are realized, but also the program code is stored in an operating system (OS) running on the computer or another application. Needless to say, even when the functions of the above-described embodiments are realized in cooperation with software or the like, such program codes are included in the embodiments of the present invention.
[0047]
Further, the supplied program code is stored in a memory provided in a function expansion board of the computer or a function expansion unit connected to the computer, and then, based on an instruction of the program code, a CPU or the like provided in the function expansion board or the function storage unit. It is needless to say that the present invention includes a case where the functions of the above-described embodiments are implemented by performing a part or all of the actual processing.
[0048]
【The invention's effect】
As described above, according to the present invention, it is possible to capture an image in a printer compatible with a first color space that can be directly connected to a digital camera and in a second color space wider than the first color space. In a possible digital camera, an image captured in the second color space is output to the printer after performing image processing for converting to the first color space, and is output to the printer by a direct print-compatible digital camera. With this configuration, even when an image of a digital camera photographed in the Adobe RGB color space is printed by a direct printer compatible with the sRGB color space, color information can be transmitted correctly, and printing in a correct color can be performed.
[0049]
For example, while a digital camera can shoot in a wider color space, it is not necessary to shoot in accordance with a narrower color space of a printer, so that it is possible to fully utilize the imaging ability and print. Sometimes it is possible to transmit correct color information.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating first and second embodiments of the present invention.
FIG. 2 is a flowchart for explaining an embodiment of the present invention.
FIG. 3 is a flowchart for explaining a first embodiment of the present invention.
FIG. 4 is a flowchart for explaining an embodiment of the present invention.
FIG. 5 is a flowchart for explaining a second embodiment of the present invention.
FIG. 6 is a diagram illustrating a third embodiment of the present invention.
FIG. 7 is a flowchart for explaining a third embodiment of the present invention.
FIG. 8 is a flowchart for explaining a third embodiment of the present invention.
[Explanation of symbols]
Reference Signs List 100 Digital camera 101 Operation mode selection unit 102 Imaging unit 103 Memory control circuit 104 Buffer memory 105 Storage medium 106 Image processing circuit 107 JPEG encoding circuit 108 Color space conversion unit 109 Image display unit 110 Transfer control unit 115 Data format conversion unit 120 Direct Printer

Claims (8)

デジタルカメラに直結接続可能な第一の色空間に対応したプリンタと、第一の色空間よりも広い第二の色空間で画像を撮影することが可能なデジタルカメラにおいて、
前記第二の色空間で撮影された画像は、第一の色空間に変換する画像処理を行った後に前記プリンタに出力することを特徴とするダイレクトプリント対応のデジタルカメラ。
In a printer corresponding to a first color space that can be directly connected to a digital camera, and in a digital camera capable of shooting an image in a second color space wider than the first color space,
A digital camera compatible with direct printing, wherein an image captured in the second color space is output to the printer after image processing for converting the image into a first color space.
前記第一の色空間はsRGB色空間であることを特徴とする請求項1記載のデジタルカメラ。The digital camera according to claim 1, wherein the first color space is an sRGB color space. 前記第二の色空間はAdobeRGB色空間であることを特徴とする請求項1ないし2のいずれか1項に記載のデジタルカメラ。The digital camera according to claim 1, wherein the second color space is an Adobe RGB color space. 前記第一の色空間に変換する画像処理は、前記第二の色空間で撮影された画像をデバイスに依存しない第三の色空間に変換し、前記デバイスに依存しない第三の色空間から第一の色空間に変換する処理であることを特徴とする請求項1記載のデジタルカメラ。The image processing for converting to the first color space converts an image captured in the second color space to a third color space that does not depend on a device, and converts the image that has been captured in the second color space into a third color space that does not depend on the device. 2. The digital camera according to claim 1, wherein the digital camera converts the color space into one color space. 前記第一の色空間に変換する画像処理は、前記第二の色空間に基づく入力色信号と前記第一の色空間に基づく出力色信号からなるルックアップテーブルにより行うことを特徴とする請求項1記載のデジタルカメラ。The image processing for converting to the first color space is performed by a lookup table including an input color signal based on the second color space and an output color signal based on the first color space. The digital camera according to 1. 前記第二の色空間に基づく入力色信号は、RGBもしくはYCbCrもしくはCbCrであることを特徴とする請求項5記載のデジタルカメラ。The digital camera according to claim 5, wherein the input color signal based on the second color space is RGB, YCbCr, or CbCr. 前記第一の色空間に基づく出力色信号は、RGBもしくは前記プリンタの出力フォーマットであることを特徴とする請求項5記載のデジタルカメラ。The digital camera according to claim 5, wherein the output color signal based on the first color space is an RGB or an output format of the printer. デジタルカメラに直結接続可能な第一の色空間に対応したプリンタと、第一の色空間よりも広い第二の色空間で画像を撮影することが可能なデジタルカメラの制御方法であって、
前記第二の色空間で撮影された画像をプリント出力指示する指示工程と、
前記指示工程で指示がなされた事に応じて、第一の色空間に変換する画像処理を行う画像処理工程と、
前記画像処理工程で色空間の変換がなされた画像データを、前記プリンタに出力することを特徴とするデジタルカメラの制御方法。
A printer corresponding to a first color space that can be directly connected to a digital camera, and a control method of a digital camera capable of capturing an image in a second color space wider than the first color space,
An instruction step of instructing a print output of an image captured in the second color space,
An image processing step of performing image processing for converting to the first color space in response to the instruction being given in the instruction step;
A method for controlling a digital camera, comprising: outputting image data whose color space has been converted in the image processing step to the printer.
JP2003049209A 2003-02-26 2003-02-26 Digital camera and control method thereof Pending JP2004260572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003049209A JP2004260572A (en) 2003-02-26 2003-02-26 Digital camera and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003049209A JP2004260572A (en) 2003-02-26 2003-02-26 Digital camera and control method thereof

Publications (1)

Publication Number Publication Date
JP2004260572A true JP2004260572A (en) 2004-09-16

Family

ID=33114983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003049209A Pending JP2004260572A (en) 2003-02-26 2003-02-26 Digital camera and control method thereof

Country Status (1)

Country Link
JP (1) JP2004260572A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009241554A (en) * 2008-03-31 2009-10-22 Dainippon Printing Co Ltd Sublimation type thermal transfer sheet
JP2010011191A (en) * 2008-06-27 2010-01-14 Sony Corp Recording device and recording control method, reproduction device and reproduction control method, output device and output control method, and program
US8736899B2 (en) 2006-08-18 2014-05-27 Samsung Electronics Co., Ltd. Color translation method for color-space with wide-color range

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8736899B2 (en) 2006-08-18 2014-05-27 Samsung Electronics Co., Ltd. Color translation method for color-space with wide-color range
JP2009241554A (en) * 2008-03-31 2009-10-22 Dainippon Printing Co Ltd Sublimation type thermal transfer sheet
JP2010011191A (en) * 2008-06-27 2010-01-14 Sony Corp Recording device and recording control method, reproduction device and reproduction control method, output device and output control method, and program
CN102209178A (en) * 2008-06-27 2011-10-05 索尼株式会社 Recording device and recording control method, output device and output control method
CN102209178B (en) * 2008-06-27 2014-06-04 索尼株式会社 Reproduction device and reproduction control method, output device and output control method
US9270865B2 (en) 2008-06-27 2016-02-23 Sony Corporation Recording device and recording control method, reproduction device and reproduction control method, output device and output control method, and programs

Similar Documents

Publication Publication Date Title
JP3832089B2 (en) Digital camera and printing system
JP2005033468A (en) Imaging apparatus
JP2004096500A (en) Imaging device, image processing device, and image recording device
JP3579902B2 (en) Digital camera
JP2011077654A (en) Imaging apparatus, control method thereof and program
JP2004096400A (en) Photographing device, image recording device, and program
JP4502392B2 (en) Image processing apparatus and control method thereof
JPWO2002041629A1 (en) Image file generation device and digital still camera
JP2004260572A (en) Digital camera and control method thereof
JP3832503B2 (en) Digital camera and printing system
JP4413195B2 (en) Digital camera and printing system
JP3832493B2 (en) Digital camera and printing system
JP4075948B2 (en) Digital camera
JP3832502B2 (en) Digital camera and printing system
JP3649234B2 (en) Digital camera and printing system
JP3649235B2 (en) Digital camera and printing system
JP3649233B2 (en) Digital camera and printing system
JP3879776B2 (en) Digital camera and printing system
JP3832501B2 (en) Digital camera and printing system
JP3832494B2 (en) Digital camera and printing system
JP3649232B2 (en) Digital camera and printing system
JP3864992B2 (en) Digital camera and printing system
JP5071510B2 (en) Digital camera, image output method, and apparatus
JP4085786B2 (en) Digital camera, printing system, and computer-readable recording medium
JP3427838B2 (en) Digital camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090113

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090312

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090407