[go: up one dir, main page]

JP2013198095A - Electronic apparatus, method and program - Google Patents

Electronic apparatus, method and program Download PDF

Info

Publication number
JP2013198095A
JP2013198095A JP2012065955A JP2012065955A JP2013198095A JP 2013198095 A JP2013198095 A JP 2013198095A JP 2012065955 A JP2012065955 A JP 2012065955A JP 2012065955 A JP2012065955 A JP 2012065955A JP 2013198095 A JP2013198095 A JP 2013198095A
Authority
JP
Japan
Prior art keywords
video data
external device
range
electronic device
image processing
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
JP2012065955A
Other languages
Japanese (ja)
Inventor
Hironobu Arifuku
浩信 有福
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 JP2012065955A priority Critical patent/JP2013198095A/en
Publication of JP2013198095A publication Critical patent/JP2013198095A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

【課題】 本発明は、外部装置によって表示される映像データを記録装置によって記録する場合、外部装置に対応する色空間の設定に関わらず、記録装置によって適正な映像データが記録されるようにすることを目的とする。
【解決手段】 外部装置から取得した前記外部装置の表示能力に関する情報に応じて、前記外部装置に送信する映像データの色の階調に関するレンジを設定する設定手段と、前記外部装置に送信するための映像データを生成するために、前記設定手段によって設定された色の階調に関するレンジに応じて、画像処理を行う画像処理手段と、前記画像処理手段によって画像処理が行われた映像データを外部装置に送信するための制御を行う制御手段とを有する。
【選択図】 図1
PROBLEM TO BE SOLVED: To record proper video data by a recording device regardless of setting of a color space corresponding to the external device when recording video data displayed by the external device by a recording device. For the purpose.
SOLUTION: Setting means for setting a range relating to a color gradation of video data to be transmitted to the external device in accordance with information relating to display capability of the external device acquired from the external device; and for transmitting to the external device In order to generate the video data, the image processing means for performing image processing according to the range relating to the color gradation set by the setting means, and the video data subjected to the image processing by the image processing means are externally Control means for performing control for transmission to the apparatus.
[Selection] Figure 1

Description

本発明は、外部に映像データを送信する電子機器に関する。   The present invention relates to an electronic device that transmits video data to the outside.

現在、HDMI(High−Definition Multimedia Interface)(登録商標)と呼ばれる通信インターフェースが提案されている。HDMI規格に準拠した通信システムは、ソース(Source)装置とシンク(Sink)装置とを有する。ソース装置は、映像データをHDMIインターフェースを介して外部に送信することができる。シンク装置は、ソース装置からの映像データをHDMIインターフェースを介して受信し、受信した映像データを表示器に表示することができる。   Currently, a communication interface called High-Definition Multimedia Interface (HDMI) (registered trademark) has been proposed. A communication system compliant with the HDMI standard includes a source device and a sink device. The source device can transmit the video data to the outside via the HDMI interface. The sink device can receive the video data from the source device via the HDMI interface and display the received video data on the display.

従来、シンク装置の解像度の情報を含むEDID(Extended Display Identification Data)をシンク装置から取得するソース装置が知られている(特許文献1)。このソース装置は、シンク装置から取得したEDIDを用いてシンク装置に表示させるためのデータを生成する。   2. Description of the Related Art Conventionally, a source device that acquires EDID (Extended Display Identification Data) including resolution information of a sink device from the sink device is known (Patent Document 1). The source device generates data to be displayed on the sink device using the EDID acquired from the sink device.

特開2009−77347号公報JP 2009-77347 A

このような通信システムにおいて、ソース装置からシンク装置に送信される映像データを記録する記録装置が存在する。この場合、記録装置は、シンク装置から取得したEDIDを用いてソース装置で生成された映像データを記録する。   In such a communication system, there is a recording device that records video data transmitted from a source device to a sink device. In this case, the recording device records the video data generated by the source device using the EDID acquired from the sink device.

しかし、ソース装置によってシンク装置に送信される映像データは、シンク装置の表示設定に対応するため、記録装置が記録することができる映像データは、シンク装置の表示設定に限定されてしまう場合があった。例えば、シンク装置において、特定の方式の色空間で表示を行うように設定されている場合、記録装置に記録される映像データの色空間もシンク装置で設定されている色空間の方式に限定されてしまう。このため、記録装置において、適切な映像データを記録することができなかった。   However, since the video data transmitted from the source device to the sink device corresponds to the display settings of the sink device, the video data that can be recorded by the recording device may be limited to the display settings of the sink device. It was. For example, when the sink device is set to display in a specific color space, the color space of the video data recorded in the recording device is also limited to the color space method set in the sink device. End up. For this reason, appropriate video data could not be recorded in the recording device.

そこで、本発明は、外部装置によって表示される映像データを記録装置によって記録する場合、外部装置に対応する色空間の設定に関わらず、記録装置によって適正な映像データが記録されるようにすることを目的とする。   Therefore, according to the present invention, when video data to be displayed by an external device is recorded by a recording device, proper video data is recorded by the recording device regardless of the color space setting corresponding to the external device. With the goal.

本発明に係る電子機器は、外部装置から取得した前記外部装置の表示能力に関する情報に応じて、前記外部装置に送信する映像データの色の階調に関するレンジを設定する設定手段と、前記外部装置に送信するための映像データを生成するために、前記設定手段によって設定された色の階調に関するレンジに応じて、画像処理を行う画像処理手段と、前記画像処理手段によって画像処理が行われた映像データを前記外部装置に送信するための制御を行う制御手段とを有することを特徴とする。   An electronic apparatus according to the present invention includes: a setting unit that sets a range related to a color gradation of video data to be transmitted to the external device according to information about the display capability of the external device acquired from the external device; and the external device In order to generate video data to be transmitted to the image processing unit, image processing is performed according to a range related to the color gradation set by the setting unit, and image processing is performed by the image processing unit. And control means for performing control for transmitting the video data to the external device.

また、本発明に係る方法は、外部装置から取得した前記外部装置の表示能力に関する情報に応じて、前記外部装置に送信する映像データの色の階調に関するレンジを設定するステップと、前記外部装置に送信するための映像データを生成するために、設定された色の階調に関するレンジに応じて、画像処理を行うステップと、画像処理が行われた映像データを前記外部装置に送信するための制御を行うステップとを有することを特徴とする。   In addition, the method according to the present invention includes a step of setting a range relating to a color gradation of video data to be transmitted to the external device according to information relating to the display capability of the external device acquired from the external device; In order to generate video data to be transmitted to the image processing apparatus, a step of performing image processing according to a set color gradation range, and a step of transmitting the image data subjected to the image processing to the external device And a step of performing control.

本発明によれば、外部装置によって表示される映像データを記録装置によって記録する場合、外部装置に対応する色空間の設定に関わらず、記録装置によって適正な映像データが記録されるようにすることができる。   According to the present invention, when video data to be displayed by an external device is recorded by a recording device, proper video data is recorded by the recording device regardless of the color space setting corresponding to the external device. Can do.

実施例1及び2に係る通信システムの一例を示すブロック図である。1 is a block diagram illustrating an example of a communication system according to Embodiments 1 and 2. FIG. 実施例1及び2に係る電子機器によって行われるデータ送信処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of a data transmission process performed by the electronic apparatus according to the first and second embodiments. 実施例1及び2に係る電子機器によって行われる設定処理の一例を示すフローチャートである。6 is a flowchart illustrating an example of setting processing performed by the electronic apparatus according to the first and second embodiments. 実施例2に係る電子機器によって行われる切換処理の一例を示すフローチャートである。10 is a flowchart illustrating an example of a switching process performed by an electronic apparatus according to a second embodiment.

以下、本発明の実施例の説明は図面を参照しながら行う。ただし、以下の実施例はあくまでも一例であって、本発明は以下の実施例に限定されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the following examples are merely examples, and the present invention is not limited to the following examples.

[実施例1]
実施例1に係る通信システムは、図1に示すように、電子機器100と外部装置200とが、接続ケーブル500、分配器400及び接続ケーブル600を介して通信可能に接続されている。また、電子機器100と記録装置300とが、接続ケーブル500、分配器400及び接続ケーブル700を介して通信可能に接続されている。電子機器100、外部装置200、記録装置300及び分配器400は、HDMI(High−Definition Multimedia Interface)(登録商標)規格に対応する通信を行うことができるデバイスである。
[Example 1]
In the communication system according to the first embodiment, as illustrated in FIG. 1, the electronic device 100 and the external device 200 are communicably connected via a connection cable 500, a distributor 400, and a connection cable 600. In addition, the electronic device 100 and the recording apparatus 300 are communicably connected via a connection cable 500, a distributor 400, and a connection cable 700. The electronic device 100, the external device 200, the recording device 300, and the distributor 400 are devices that can perform communication corresponding to the HDMI (High-Definition Multimedia Interface) (registered trademark) standard.

なお、実施例1において、接続ケーブル500、接続ケーブル600及び接続ケーブル700は、HDMI規格に対応する通信インターフェースである。   In the first embodiment, the connection cable 500, the connection cable 600, and the connection cable 700 are communication interfaces corresponding to the HDMI standard.

接続ケーブル500には、DDC(Display Data Channel)ライン501及びTMDS(Transition−Minimized Differential Signaling)ライン502が含まれている。さらに、接続ケーブル500には、CEC(Consumer Electronics Control)ライン503が含まれている。同様に、接続ケーブル600には、DDCライン601、TMDSライン602及びCECライン603が含まれている。同様に、接続ケーブル700には、DDCライン701、TMDSライン702及びCECライン703が含まれている。   The connection cable 500 includes a DDC (Display Data Channel) line 501 and a TMDS (Transition-Minimized Differential Signaling) line 502. Furthermore, the connection cable 500 includes a CEC (Consumer Electronics Control) line 503. Similarly, the connection cable 600 includes a DDC line 601, a TMDS line 602, and a CEC line 603. Similarly, the connection cable 700 includes a DDC line 701, a TMDS line 702, and a CEC line 703.

なお、電子機器100は、デジタル一眼レフカメラ、デジタルスチルカメラやデジタルビデオカメラ等の撮像デバイスであっても良く、携帯電話やスマートフォン等のデバイスであってもよい。また、外部装置200は、テレビ、パーソナルコンピュータやプロジェクタ等のデバイスであってもよく、表示デバイスであっても良い。また、記録装置300は、レコーダやハードディスクドライブ等のデバイスであってもよい。   The electronic device 100 may be an imaging device such as a digital single-lens reflex camera, a digital still camera, or a digital video camera, or may be a device such as a mobile phone or a smartphone. The external device 200 may be a device such as a television, a personal computer, or a projector, or may be a display device. The recording device 300 may be a device such as a recorder or a hard disk drive.

次に、電子機器100について説明する。電子機器100は、CPU(Central Processing Unit)101、メモリ102、通信部103、撮像部104、画像処理部105、記録部106、表示部107及び操作部108を有する。   Next, the electronic device 100 will be described. The electronic device 100 includes a CPU (Central Processing Unit) 101, a memory 102, a communication unit 103, an imaging unit 104, an image processing unit 105, a recording unit 106, a display unit 107, and an operation unit 108.

CPU101は、メモリ102に格納されているコンピュータプログラムに従って、電子機器100の動作を制御する。CPU101は、外部装置200から取得した外部装置200のデバイス情報を解析することにより、外部装置の200の画像表示能力及び音声処理能力を知ることができる。外部装置200のデバイス情報とは、外部装置200に記録されているEDID(Extended display identification data)またはE−EDID(Enhanced EDID)である。EDID及びE−EDIDはいずれも、外部装置200の識別情報、外部装置200がサポートしている解像度、走査周波数、アスペクト比、色空間などに関する情報等が含まれている。E−EDIDは、EDIDを拡張したものであり、EDIDよりも多くの能力情報を含む。例えば、E−EDIDには、外部装置200がサポートしている映像データ及び音声データのフォーマットなどに関する情報が含まれている。以下、EDID及びE−EDIDをいずれも「EDID」と呼ぶ。   The CPU 101 controls the operation of the electronic device 100 according to a computer program stored in the memory 102. The CPU 101 can know the image display capability and audio processing capability of the external device 200 by analyzing the device information of the external device 200 acquired from the external device 200. The device information of the external device 200 is EDID (Extended display identification data) or E-EDID (Enhanced EDID) recorded in the external device 200. Both EDID and E-EDID include identification information of the external device 200, information on resolution, scanning frequency, aspect ratio, color space, and the like supported by the external device 200. E-EDID is an extension of EDID and includes more capability information than EDID. For example, the E-EDID includes information regarding the format of video data and audio data supported by the external apparatus 200. Hereinafter, both EDID and E-EDID are referred to as “EDID”.

外部装置200から接続ケーブル500、分配器400及び接続ケーブル600を介して、EDIDを取得した電子機器100は、DDCライン501を介して取得したEDIDを解析する。電子機器100は、EDIDの解析結果から外部装置200の画像表示能力、音声処理能力などを知ることができる。さらに、電子機器100は、外部装置200の画像表示能力及び音声処理能力に適した映像データ及び音声データを生成することができる。   The electronic device 100 that has acquired the EDID from the external device 200 via the connection cable 500, the distributor 400, and the connection cable 600 analyzes the EDID acquired via the DDC line 501. The electronic device 100 can know the image display capability, audio processing capability, and the like of the external device 200 from the EDID analysis result. Furthermore, the electronic device 100 can generate video data and audio data suitable for the image display capability and audio processing capability of the external device 200.

メモリ102は、CPU101のワークエリアとして機能する。メモリ102には、外部装置200から取得したEDID、電子機器100に関する情報及びCPU101による解析の結果等も格納される。なお、CPU101のワークエリアは、メモリ102に限られるものではなく、ハードディスクドライブ等の外部メモリ等であってもよい。   The memory 102 functions as a work area for the CPU 101. The memory 102 also stores EDID acquired from the external device 200, information on the electronic device 100, the result of analysis by the CPU 101, and the like. The work area of the CPU 101 is not limited to the memory 102 but may be an external memory such as a hard disk drive.

通信部103は、接続ケーブル500を接続するための接続端子(コネクタ)を有する。通信部103は、DDCライン501、分配器400及びDDCライン601を介して外部装置200からEDIDを取得する。外部装置200から取得されたEDIDは、CPU101に供給される。   The communication unit 103 has a connection terminal (connector) for connecting the connection cable 500. The communication unit 103 acquires EDID from the external apparatus 200 via the DDC line 501, the distributor 400, and the DDC line 601. The EDID acquired from the external device 200 is supplied to the CPU 101.

さらに、通信部103は、データ送信部103a及びコマンド処理部103bを有する。   Furthermore, the communication unit 103 includes a data transmission unit 103a and a command processing unit 103b.

データ送信部103aは、外部装置200の画像表示能力に適した映像データ、外部装置200の音声処理能力に適した音声データ及び補助データを、TMDSライン502、分配器400及びTMDSライン602を介して外部装置200に送信する。データ送信部103aによって外部装置200に送信される映像データ及び音声データは、外部装置200から取得されるEDIDに応じて生成される。   The data transmission unit 103a transmits video data suitable for the image display capability of the external device 200, audio data suitable for the audio processing capability of the external device 200, and auxiliary data via the TMDS line 502, the distributor 400, and the TMDS line 602. Transmit to the external device 200. The video data and audio data transmitted to the external device 200 by the data transmission unit 103a are generated according to the EDID acquired from the external device 200.

電子機器100が撮影モードである場合、撮像部104により生成され、かつ、画像処理部105により画像処理が行われた映像データがデータ送信部103aによって外部装置200に送信される。この場合、不図示のマイクロフォンによって生成された音声データも映像データとともにデータ送信部103aによって外部装置200に送信される。   When the electronic device 100 is in the shooting mode, video data generated by the imaging unit 104 and subjected to image processing by the image processing unit 105 is transmitted to the external device 200 by the data transmission unit 103a. In this case, audio data generated by a microphone (not shown) is also transmitted to the external apparatus 200 by the data transmission unit 103a together with the video data.

電子機器100が再生モードである場合、記録部106により記録媒体106aから読み出され、かつ、画像処理部105により画像処理が行われた映像データがデータ送信部103aによって外部装置200に送信される。この場合、記録部106により記録媒体106aから読み出された音声データも映像データとともにデータ送信部103aによって外部装置200に送信される。   When the electronic device 100 is in the playback mode, video data read from the recording medium 106a by the recording unit 106 and subjected to image processing by the image processing unit 105 is transmitted to the external device 200 by the data transmission unit 103a. . In this case, the audio data read from the recording medium 106a by the recording unit 106 is also transmitted to the external apparatus 200 by the data transmission unit 103a together with the video data.

電子機器100が撮影モードであり、かつ、所定の通信モードである場合、撮像部104によるライブビュー撮影によって生成され、かつ、画像処理部105による画像処理が行われた映像データがデータ送信部103aによって、外部装置200に送信される。この場合、データ送信部103aによって映像データとともに音声データが外部装置200に送信されてもよい。なお、電子機器100が撮影モードであり、かつ、所定の通信モードである場合、データ送信部103aによって送信される映像データには、撮影に関する情報等の補助データが重畳されないようにする。なお、撮影に関する情報には、撮影日時を示す情報、撮影地点を示す情報、オートフォーカスに関する情報、自動露出に関する情報、シャッタースピードに関する情報等が含まれる。   When the electronic device 100 is in the shooting mode and in the predetermined communication mode, video data generated by live view shooting by the imaging unit 104 and subjected to image processing by the image processing unit 105 is data transmission unit 103a. Is transmitted to the external device 200. In this case, the audio data may be transmitted to the external device 200 together with the video data by the data transmission unit 103a. When the electronic device 100 is in the shooting mode and in the predetermined communication mode, auxiliary data such as information related to shooting is not superimposed on the video data transmitted by the data transmission unit 103a. Note that the information related to shooting includes information indicating the shooting date and time, information indicating the shooting point, information related to autofocus, information related to automatic exposure, information related to shutter speed, and the like.

電子機器100は、撮影モードであり、かつ、所定の通信モードである場合、スルー映像を外部に送信する。なお、スルー映像とは、撮像部104によるライブビュー撮影によって生成され、かつ、画像処理部105による画像処理が行われた映像データを含む。また、スルー映像は、レリーズの指示が電子機器100に行われる前に、撮像部104及び画像処理部105によって生成される映像データを含む。また、スルー映像は、撮像部104及び画像処理部105によって生成される映像データを記録媒体106aに記録させるための指示が電子機器100に行われる前に、撮像部104及び画像処理部105によって生成される映像データを含む。   When the electronic device 100 is in the shooting mode and in the predetermined communication mode, the electronic device 100 transmits the through video to the outside. Note that the through video includes video data generated by live view shooting by the imaging unit 104 and subjected to image processing by the image processing unit 105. The through video includes video data generated by the imaging unit 104 and the image processing unit 105 before a release instruction is given to the electronic device 100. The through video is generated by the imaging unit 104 and the image processing unit 105 before an instruction for recording the video data generated by the imaging unit 104 and the image processing unit 105 on the recording medium 106a is given to the electronic device 100. Video data to be played.

コマンド処理部103bは、CECライン503、分配器400及びCECライン603を介して接続される外部装置200に、CECプロトコルに対応するコマンドを送信することができる。さらに、コマンド処理部103bは、CECライン503、分配器400及びCECライン603を介して接続される外部装置200からCECプロトコルに対応するコマンドを受信することができる。   The command processing unit 103b can transmit a command corresponding to the CEC protocol to the external device 200 connected via the CEC line 503, the distributor 400, and the CEC line 603. Further, the command processing unit 103b can receive a command corresponding to the CEC protocol from the external device 200 connected via the CEC line 503, the distributor 400, and the CEC line 603.

また、コマンド処理部103bは、CECライン503、分配器400及びCECライン703を介して接続される記録装置300に、CECプロトコルに対応するコマンドを送信することができる。さらに、コマンド処理部103bは、CECライン503、分配器400及びCECライン703を介して接続される記録装置300からCECプロトコルに対応するコマンドを受信することができる。   In addition, the command processing unit 103b can transmit a command corresponding to the CEC protocol to the recording apparatus 300 connected via the CEC line 503, the distributor 400, and the CEC line 703. Further, the command processing unit 103b can receive a command corresponding to the CEC protocol from the recording apparatus 300 connected via the CEC line 503, the distributor 400, and the CEC line 703.

なお、コマンド処理部103bは、外部装置200及び記録装置300のいずれか一つから受信したコマンドをCPU101に供給することができる。CPU101は、コマンド処理部103bから供給されるコマンドを解析し、その解析結果に応じて、電子機器100を制御する。   Note that the command processing unit 103b can supply the CPU 101 with a command received from any one of the external device 200 and the recording device 300. The CPU 101 analyzes the command supplied from the command processing unit 103b, and controls the electronic device 100 according to the analysis result.

なお、外部装置200及び記録装置300のいずれか一つに送信するコマンドは、CPU101によって生成される。CPU101は、コマンド処理部103bから供給されるコマンドを解析し、その解析結果に応じて、電子機器100を制御する。   Note that a command to be transmitted to any one of the external device 200 and the recording device 300 is generated by the CPU 101. The CPU 101 analyzes the command supplied from the command processing unit 103b, and controls the electronic device 100 according to the analysis result.

撮像部104は、不図示のレンズユニットを介して入射した被写体の光学像から静止画データや動画データ等の映像データを生成する。撮像部104によって生成された映像データは、画像処理部105に供給される。   The imaging unit 104 generates video data such as still image data and moving image data from an optical image of a subject incident through a lens unit (not shown). The video data generated by the imaging unit 104 is supplied to the image processing unit 105.

画像処理部105は、撮像部104、メモリ102及び記録部106のいずれか一つから供給される映像データに画素補間処理や色変換処理等の画像処理を行う。さらに、画像処理部105は、適応離散コサイン変換(ADCT)等により映像データを圧縮し、圧縮された映像データを伸長する圧縮伸長手段を有する。なお、映像データを圧縮する方式として、JPEG方式、MPEG方式、RAW方式等が挙げられる。撮像部104、メモリ102及び記録部106のいずれか一つから供給される映像データは、圧縮伸長手段によって、圧縮処理または伸長処理が行われ、記録部106及び通信部103のいずれか一つに出力される。   The image processing unit 105 performs image processing such as pixel interpolation processing and color conversion processing on video data supplied from any one of the imaging unit 104, the memory 102, and the recording unit 106. Further, the image processing unit 105 includes a compression / expansion unit that compresses video data by adaptive discrete cosine transform (ADCT) or the like and decompresses the compressed video data. As a method for compressing video data, there are a JPEG method, an MPEG method, a RAW method, and the like. Video data supplied from any one of the imaging unit 104, the memory 102, and the recording unit 106 is subjected to compression processing or expansion processing by a compression / decompression unit, and is sent to any one of the recording unit 106 and the communication unit 103. Is output.

また、画像処理部105は、外部装置200から取得したEDIDに基づいて、撮像部104、メモリ102及び記録部106のいずれか一つから供給された映像データから外部装置200の画像表示能力に適した映像データを生成する。この場合、画像処理部105は、EDIDに基づいて生成した映像データを通信部103及び記録部106の少なくとも一つに供給する。   Further, the image processing unit 105 is suitable for the image display capability of the external device 200 from the video data supplied from any one of the imaging unit 104, the memory 102, and the recording unit 106 based on the EDID acquired from the external device 200. Generated video data. In this case, the image processing unit 105 supplies video data generated based on EDID to at least one of the communication unit 103 and the recording unit 106.

記録部106は、撮像部104によって生成され、画像処理部105によって画像処理が行われた映像データを記録媒体106aに記録する。さらに、記録部106は、不図示のマイクロフォン部によって生成された音声データを記録媒体106aに記録する。また、記録部106は、記録媒体106aに記録されている映像データ及び音声データの少なくとも一つを記録媒体106aから読み出す。記録部106によって記録媒体106aから読み出された映像データは画像処理部105に供給される。   The recording unit 106 records the video data generated by the imaging unit 104 and subjected to image processing by the image processing unit 105 on the recording medium 106a. Furthermore, the recording unit 106 records audio data generated by a microphone unit (not shown) on the recording medium 106a. The recording unit 106 reads out at least one of video data and audio data recorded on the recording medium 106a from the recording medium 106a. The video data read from the recording medium 106 a by the recording unit 106 is supplied to the image processing unit 105.

記録媒体106aは、電子機器100に内蔵されているメモリあってもよく、電子機器100に着脱可能な外部メモリであってもよい。また、記録媒体106aは、メモリカードであってもよく、ハードディスクドライブであってもよい。   The recording medium 106 a may be a memory built in the electronic device 100 or an external memory that is detachable from the electronic device 100. Further, the recording medium 106a may be a memory card or a hard disk drive.

表示部107は、液晶ディスプレイなどの表示器により構成される。表示部107は、電子機器100が撮影モードである場合、撮像部104によって生成された映像データを表示する。また、電子機器100が再生モードである場合、表示部107は、記録媒体106aから読み出された映像データを表示する。   The display unit 107 includes a display device such as a liquid crystal display. The display unit 107 displays the video data generated by the imaging unit 104 when the electronic device 100 is in the shooting mode. Further, when the electronic device 100 is in the playback mode, the display unit 107 displays the video data read from the recording medium 106a.

操作部108は、電子機器100を操作するためのユーザインターフェースを提供する。操作部108は、電子機器100を操作するための電源ボタン、モード変更ボタン、シャッターボタン、十字ボタン、メニューボタン等を有し、各ボタンはスイッチ、タッチパネル等により構成される。CPU101は、操作部108を介して入力されたユーザの指示に従って電子機器100を制御することができる。ユーザによって操作部108のボタンが操作された場合、操作部108から各ボタンに応じた操作信号がCPU101に入力される。CPU101は、操作部108から入力された操作信号を解析し、解析結果に応じて操作信号に対応した処理を判定する。CPU101は、操作部108から入力された操作信号に対応した処理を実行するように電子機器100を制御する。   The operation unit 108 provides a user interface for operating the electronic device 100. The operation unit 108 includes a power button, a mode change button, a shutter button, a cross button, a menu button, and the like for operating the electronic device 100, and each button includes a switch, a touch panel, and the like. The CPU 101 can control the electronic device 100 in accordance with a user instruction input via the operation unit 108. When a button on the operation unit 108 is operated by the user, an operation signal corresponding to each button is input from the operation unit 108 to the CPU 101. The CPU 101 analyzes the operation signal input from the operation unit 108 and determines processing corresponding to the operation signal according to the analysis result. The CPU 101 controls the electronic device 100 to execute processing corresponding to the operation signal input from the operation unit 108.

ユーザは、操作部108を用いて、電子機器100を撮影モード及び再生モードのいずれか一つに設定することができる。なお、電子機器100が撮影モードである場合、ユーザは、操作部108を用いて、電子機器100を所定の通信モードに設定するか否かを選択することができる。   The user can set the electronic device 100 to one of the shooting mode and the playback mode using the operation unit 108. When the electronic device 100 is in the shooting mode, the user can use the operation unit 108 to select whether to set the electronic device 100 to a predetermined communication mode.

分配器400は、電子機器100から外部装置200に送信される映像データ、音声データ及び補助データをTMDSライン502を介して受信し、受信したデータを外部装置200及び記録装置300に供給する。   The distributor 400 receives video data, audio data, and auxiliary data transmitted from the electronic device 100 to the external device 200 via the TMDS line 502 and supplies the received data to the external device 200 and the recording device 300.

電子機器100によって送信された映像データは、TMDSライン502、分配器400及びTMDSライン602を介して外部装置200に供給される。さらに、電子機器100によって送信された映像データは、TMDSライン502、分配器400及びTMDSライン702を介して記録装置300に供給される。なお、電子機器100によって送信された音声データ及び補助データも、電子機器100によって送信された映像データと同様である。   Video data transmitted by the electronic device 100 is supplied to the external apparatus 200 via the TMDS line 502, the distributor 400, and the TMDS line 602. Further, the video data transmitted by the electronic device 100 is supplied to the recording apparatus 300 via the TMDS line 502, the distributor 400, and the TMDS line 702. Note that the audio data and auxiliary data transmitted by the electronic device 100 are the same as the video data transmitted by the electronic device 100.

次に、外部装置200について説明する。外部装置200は、電子機器100から受信した映像データを不図示のディスプレイに表示し、電子機器100から受信した音声データを不図示のスピーカから出力する。外部装置200は、EDIDを記録する。さらに、外部装置200は、外部装置200の表示設定が変更された場合、変更された後の表示設定に応じて、EDIDに含まれる情報を書き換える。   Next, the external device 200 will be described. The external device 200 displays video data received from the electronic device 100 on a display (not shown), and outputs audio data received from the electronic device 100 from a speaker (not shown). The external device 200 records the EDID. Furthermore, when the display setting of the external device 200 is changed, the external device 200 rewrites information included in the EDID according to the changed display setting.

次に、記録装置300について説明する。記録装置300は、CPU301、画像処理部302、通信部303、記録部304、操作部305及びメモリ306を有する。   Next, the recording apparatus 300 will be described. The recording apparatus 300 includes a CPU 301, an image processing unit 302, a communication unit 303, a recording unit 304, an operation unit 305, and a memory 306.

CPU301は、メモリ306に記録されているコンピュータプログラムに従って記録装置300の動作を制御する。   The CPU 301 controls the operation of the recording device 300 according to the computer program recorded in the memory 306.

画像処理部302は、通信部303から供給される映像データに対してさまざまな画像処理を行う。画像処理部302によって画像処理が行われた映像データは、記録部304に供給される。   The image processing unit 302 performs various image processing on the video data supplied from the communication unit 303. The video data that has been subjected to image processing by the image processing unit 302 is supplied to the recording unit 304.

通信部303は、接続ケーブル700を接続するための接続端子を有する。   The communication unit 303 has a connection terminal for connecting the connection cable 700.

通信部303は、電子機器100から送信された映像データ、音声データ及び補助データをTMDSライン702を介して受信する。通信部303によって電子機器100から受信した映像データは、画像処理部302に供給される。通信部303によって電子機器100から受信した音声データは、特定の処理が行われてから記録部304に供給される。通信部303によって電子機器100から受信した補助データは、CPU301に供給される。   The communication unit 303 receives video data, audio data, and auxiliary data transmitted from the electronic device 100 via the TMDS line 702. Video data received from the electronic device 100 by the communication unit 303 is supplied to the image processing unit 302. The audio data received from the electronic device 100 by the communication unit 303 is supplied to the recording unit 304 after specific processing is performed. The auxiliary data received from the electronic device 100 by the communication unit 303 is supplied to the CPU 301.

記録部304は、画像処理部302で画像処理が行われた映像データを記録媒体304aに記録する。また、記録部304は、通信部303から供給された音声データを記録媒体304aに記録する。記録媒体304aは、記録装置300に内蔵されているメモリであってもよく、記録装置300に取り外し可能な外部のメモリであってもよい。   The recording unit 304 records the video data subjected to the image processing by the image processing unit 302 on the recording medium 304a. Further, the recording unit 304 records the audio data supplied from the communication unit 303 on the recording medium 304a. The recording medium 304 a may be a memory built in the recording apparatus 300 or an external memory that is removable from the recording apparatus 300.

操作部305は、記録装置300を操作するためのユーザインターフェースを提供する。   An operation unit 305 provides a user interface for operating the recording apparatus 300.

なお、実施例1において、電子機器100から外部装置200に送信される映像データ、音声データ及び補助データと同一のデータが記録装置300にも電子機器100から分配器400を介して送信されるものとする。   In the first embodiment, the same data as the video data, audio data, and auxiliary data transmitted from the electronic device 100 to the external device 200 is transmitted from the electronic device 100 to the recording device 300 via the distributor 400. And

なお、分配器400は、外部装置200及び記録装置300に外部接続されるものであってもよい。また、外部装置200は、分配器400及び記録装置300を含むものであってもよい。また、外部装置200は、分配器400を含み、記録装置300と外部接続されるものであってもよい。なお、分配器400は、電子機器100から出力される映像データ、音声データ及び補助データの少なくとも一つを外部装置200及び記録装置300に供給するものであれば良いものとする。   The distributor 400 may be externally connected to the external device 200 and the recording device 300. The external device 200 may include a distributor 400 and a recording device 300. The external device 200 may include a distributor 400 and be externally connected to the recording device 300. The distributor 400 may be any device that supplies at least one of video data, audio data, and auxiliary data output from the electronic device 100 to the external device 200 and the recording device 300.

次に、図2を参照して、実施例1に係る電子機器100で行われるデータ送信処理について説明する。なお、データ送信処理は、電子機器100の動作モードが撮影モードであり、かつ、所定の通信モードである場合に実行される。実施例1では、CPU101が、メモリ102に格納されているコンピュータプログラムに従ってデータ送信処理を制御する場合を説明する。   Next, a data transmission process performed by the electronic device 100 according to the first embodiment will be described with reference to FIG. The data transmission process is executed when the operation mode of the electronic device 100 is the shooting mode and the predetermined communication mode. In the first embodiment, a case where the CPU 101 controls data transmission processing according to a computer program stored in the memory 102 will be described.

S201において、CPU101は、電子機器100が撮影モードであり、かつ、所定の通信モードであるか否かを判定する。CPU101によって、電子機器100が撮影モードであり、かつ、所定の通信モードであると判定された場合(S201でYes)、本フローチャートは、S201からS202に進む。CPU101によって、電子機器100が撮影モードでないと判定された場合(S201でNo)、本フローチャートは、S201に戻る。CPU101によって、電子機器100が所定の通信モードでないと判定された場合(S201でNo)、本フローチャートは、S201に戻る。   In step S201, the CPU 101 determines whether or not the electronic device 100 is in the shooting mode and the predetermined communication mode. If the CPU 101 determines that the electronic device 100 is in the shooting mode and the predetermined communication mode (Yes in S201), the process proceeds from S201 to S202. When the CPU 101 determines that the electronic device 100 is not in the shooting mode (No in S201), the flowchart returns to S201. When the CPU 101 determines that the electronic device 100 is not in the predetermined communication mode (No in S201), the flowchart returns to S201.

S202において、CPU101は、後述の設定処理を行う。設定処理が行われた場合、本フローチャートは、S203に進む。CPU101によって設定処理が行われた場合、データ送信部103aが外部に送信する映像データの色の階調が設定される。   In S202, the CPU 101 performs setting processing described later. When the setting process is performed, the flowchart proceeds to S203. When the setting process is performed by the CPU 101, the color gradation of the video data transmitted from the data transmission unit 103a to the outside is set.

S203において、CPU101は、ライブビュー撮影を開始するための処理を行う。この場合、被写体光が撮像部104に含まれる不図示の撮像素子に導かれ、撮像素子によって撮像データが生成される。撮像素子によって生成された撮像データは、撮像部104に含まれるA/Dコンバータによってデジタルデータに変換され、画像処理部105に供給される。画像処理部105に供給されたデジタルデータは、画像処理部105によって画素補間処理や色変換処理が行なわれる。このとき、画像処理部105によってデジタルデータに対して行われる色変換処理は、S202の設定処理により設定された色の階調のレンジに基づいて行われる。画像処理部105によって画素補間処理や色変換処理が行われたデジタルデータは、映像データとしてメモリ102に格納される。この場合、本フローチャートは、S203からS204に進む。なお、S203において、撮像部104及び画像処理部105は、オートフォーカス処理、自動露出処理やホワイトバランス処理等を行っても良い。なお、画像処理部105は、デジタルデータに対して、S202によって設定された色の階調レンジに応じて、色変換処理を行う。また、画像処理部105は、デジタルデータに対して、外部装置200から取得されたEDIDの解析結果に応じて、色変換処理以外の画像処理を行う。   In step S203, the CPU 101 performs processing for starting live view shooting. In this case, the subject light is guided to an imaging element (not shown) included in the imaging unit 104, and imaging data is generated by the imaging element. Imaging data generated by the imaging element is converted into digital data by an A / D converter included in the imaging unit 104 and supplied to the image processing unit 105. The digital data supplied to the image processing unit 105 is subjected to pixel interpolation processing and color conversion processing by the image processing unit 105. At this time, the color conversion process performed on the digital data by the image processing unit 105 is performed based on the color gradation range set by the setting process of S202. Digital data that has been subjected to pixel interpolation processing and color conversion processing by the image processing unit 105 is stored in the memory 102 as video data. In this case, the flowchart proceeds from S203 to S204. In S203, the imaging unit 104 and the image processing unit 105 may perform autofocus processing, automatic exposure processing, white balance processing, and the like. Note that the image processing unit 105 performs color conversion processing on the digital data according to the color gradation range set in S202. Further, the image processing unit 105 performs image processing other than the color conversion processing on the digital data according to the analysis result of the EDID acquired from the external device 200.

S204において、CPU101は、S203において、メモリ102に格納された映像データを外部装置200に送信するようにデータ送信部103aを制御する。この場合、音声データ及び補助データも、映像データとともに外部装置200に送信されるようにしても良い。映像データの送信が開始された場合、本フローチャートは、S204からS205に進む。なお、S204において、電子機器100から送信された映像データは、分配器400を介して、外部装置200及び記録装置300に供給される。   In S204, the CPU 101 controls the data transmission unit 103a to transmit the video data stored in the memory 102 to the external device 200 in S203. In this case, audio data and auxiliary data may also be transmitted to the external device 200 together with the video data. When transmission of video data is started, the flowchart proceeds from S204 to S205. In step S <b> 204, the video data transmitted from the electronic device 100 is supplied to the external device 200 and the recording device 300 via the distributor 400.

S205において、CPU101は、ライブビュー撮影の終了を指示するための操作が操作部108に対して行われたか否かを判定する。CPU101によって、ライブビュー撮影の終了を指示するための操作が操作部108に対して行われたと判定された場合(S205でYes)、本フローチャートは、S205からS206に進む。CPU101によって、ライブビュー撮影の終了を指示するための操作が操作部108に対して行われていないと判定された場合(S205でNo)、本フローチャートは、S205からS203に戻る。   In step S <b> 205, the CPU 101 determines whether an operation for instructing the end of live view shooting has been performed on the operation unit 108. If the CPU 101 determines that an operation for instructing the end of live view shooting has been performed on the operation unit 108 (Yes in S205), the process proceeds from S205 to S206. When the CPU 101 determines that an operation for instructing the end of the live view shooting is not performed on the operation unit 108 (No in S205), the flowchart returns from S205 to S203.

なお、ライブビュー撮影の終了を指示するための操作が行われていない場合(S205でNo)に、外部装置200の色空間に関する設定や色の階調に関する設定が変更された場合、電子機器100は、再び、外部装置200からEDIDを取得する。その後、CPU101は、S202の設定処理を行ってから外部装置200に映像データを送信する処理を行う。   When the operation for instructing the end of the live view shooting is not performed (No in S205), when the setting related to the color space or the setting related to the color gradation of the external device 200 is changed, the electronic device 100 Obtains the EDID from the external device 200 again. Thereafter, the CPU 101 performs a process of transmitting video data to the external apparatus 200 after performing the setting process of S202.

また、ライブビュー撮影の終了を指示するための操作が行われていない場合(S205でNo)に、外部装置200と異なる装置に映像データを送信する場合、電子機器100は、映像データを送信する対象となる装置からEDIDを取得する。その後、CPU101は、S202の設定処理を行ってから外部に映像データを送信する処理を行う。   When the operation for instructing the end of live view shooting is not performed (No in S205), when transmitting video data to a device different from the external device 200, the electronic device 100 transmits the video data. Obtain the EDID from the target device. After that, the CPU 101 performs processing for transmitting the video data to the outside after performing the setting processing in S202.

S206において、CPU101は、ライブビュー撮影を終了するための処理を行う。この場合、CPU101は、被写体から映像データを生成する処理を停止するように撮像部104及び画像処理部105を制御する。さらにCPU101は、映像データの送信を停止するようにデータ送信部103aを制御する。この場合、本フローチャートは、終了する。   In step S206, the CPU 101 performs a process for ending the live view shooting. In this case, the CPU 101 controls the imaging unit 104 and the image processing unit 105 so as to stop the process of generating video data from the subject. Further, the CPU 101 controls the data transmission unit 103a so as to stop transmission of video data. In this case, this flowchart ends.

なお、電子機器100が一眼レフカメラである場合、S203において、CPU101は、撮像部104に含まれる不図示のミラーをアップさせることによって、被写体からの光が撮像素子に導かれるようにする。さらに、S206において、CPU101は、撮像部104に含まれる不図示のミラーをダウンさせることによって、被写体からの光が撮像素子に導かれないようにする。   When the electronic device 100 is a single-lens reflex camera, in S203, the CPU 101 raises a mirror (not shown) included in the imaging unit 104 so that light from the subject is guided to the imaging element. In step S206, the CPU 101 lowers a mirror (not shown) included in the imaging unit 104 so that light from the subject is not guided to the imaging element.

次に、図3を参照して、実施例1に係る電子機器100で行われる設定処理について説明する。なお、設定処理は、図2のS202において行われる処理である。実施例1では、CPU101が、メモリ102に格納されているコンピュータプログラムに従って設定処理を制御する場合を説明する。   Next, a setting process performed by the electronic device 100 according to the first embodiment will be described with reference to FIG. The setting process is a process performed in S202 of FIG. In the first embodiment, a case where the CPU 101 controls setting processing according to a computer program stored in the memory 102 will be described.

S301において、CPU101は、外部装置200からEDIDを取得したか否かを判定する。CPU101によって、外部装置200からEDIDが取得されたと判定された場合(S301でYes)、本フローチャートは、S301からS302に進む。CPU101によって、外部装置200からEDIDが取得されていないと判定された場合(S301でNo)、本フローチャートは、S301に戻る。外部装置200からEDIDが取得されていない場合(S301でNo)、CPU101は、外部装置200からEDIDを取得するための処理を行う。   In step S <b> 301, the CPU 101 determines whether EDID has been acquired from the external device 200. When the CPU 101 determines that the EDID has been acquired from the external device 200 (Yes in S301), the process proceeds from S301 to S302. When the CPU 101 determines that the EDID has not been acquired from the external device 200 (No in S301), the flowchart returns to S301. When the EDID is not acquired from the external device 200 (No in S301), the CPU 101 performs a process for acquiring the EDID from the external device 200.

S302において、CPU101は、外部装置200から取得されたEDIDを解析する。CPU101によって解析されたEDIDの解析結果は、メモリ102に記録される。この場合、本フローチャートは、S302からS303に進む。   In step S <b> 302, the CPU 101 analyzes the EDID acquired from the external device 200. The EDID analysis result analyzed by the CPU 101 is recorded in the memory 102. In this case, the flowchart proceeds from S302 to S303.

S303において、CPU101は、EDIDの解析結果に応じて、外部装置200によって設定されている色空間がYCbCrであるか、RGBであるかを判定する。CPU101は、外部装置200によって設定されている色空間がRGBであるか否かを判定する。CPU101によって、外部装置200によって設定されている色空間がRGBである場合(S303でYes)、本フローチャートは、S303からS306に進む。CPU101によって、外部装置200によって設定されている色空間がRGBでない、つまり、外部装置200によって設定されている色空間がYCbCrである場合(S303でNo)、本フローチャートは、S303からS304に進む。   In step S303, the CPU 101 determines whether the color space set by the external apparatus 200 is YCbCr or RGB according to the EDID analysis result. The CPU 101 determines whether or not the color space set by the external device 200 is RGB. If the color space set by the external device 200 by the CPU 101 is RGB (Yes in S303), the flowchart proceeds from S303 to S306. If the color space set by the external device 200 is not RGB by the CPU 101, that is, if the color space set by the external device 200 is YCbCr (No in S303), the process proceeds from S303 to S304.

S304において、CPU101は、色の階調の拡張を行うように設定されているか否かを判定する。なお、ユーザは、操作部108を用いて、色の階調の拡張を行うように設定することができる。CPU101によって、色の階調の拡張を行うように設定されていると判定された場合(S304でYes)、本フローチャートは、S304からS307に進む。CPU101によって、色の階調の拡張を行うように設定されていないと判定された場合(S304でNo)、本フローチャートは、S304からS305に進む。   In step S <b> 304, the CPU 101 determines whether it is set to perform color gradation expansion. Note that the user can use the operation unit 108 to set the color gradation expansion. If the CPU 101 determines that the color gradation expansion is set (Yes in S304), the process proceeds from S304 to S307. When it is determined by the CPU 101 that the color gradation expansion is not set (No in S304), the process proceeds from S304 to S305.

S305において、CPU101は、データ送信部103aによって外部に送信される映像データに対応する色の階調が第1のレンジになるように設定する。   In step S305, the CPU 101 sets the color gradation corresponding to the video data transmitted to the outside by the data transmission unit 103a to be in the first range.

第1のレンジとは、白と黒の間を16〜235によって表すことである。CPU101によって色の階調が第1のレンジに設定された場合、本フローチャートは終了し、図2のデータ送信処理のS203に進む。この場合、データ送信部103aによって外部に送信される映像データは、第1のレンジに基づいて色変換処理等の画像処理が行われたデータとなる。   A 1st range is expressing between 16 and 235 between white and black. When the color gradation is set to the first range by the CPU 101, this flowchart ends, and the process proceeds to S203 of the data transmission process in FIG. In this case, the video data transmitted to the outside by the data transmission unit 103a is data that has been subjected to image processing such as color conversion processing based on the first range.

S306において、CPU101は、データ送信部103aによって外部に送信される映像データに対応する色の階調にフルレンジが選択されているか否かを判定する。CPU101によって、データ送信部103aによって外部に送信される映像データに対応する色の階調にフルレンジが選択されていると判定された場合(S306でYes)、本フローチャートは、S306からS307に進む。CPU101によって、データ送信部103aによって外部に送信される映像データに対応する色の階調にフルレンジが選択されていないと判定された場合(S306でNo)、本フローチャートは、S306からS304に進む。   In step S306, the CPU 101 determines whether or not the full range is selected for the color gradation corresponding to the video data transmitted to the outside by the data transmission unit 103a. When the CPU 101 determines that the full range is selected for the color gradation corresponding to the video data transmitted to the outside by the data transmission unit 103a (Yes in S306), the process proceeds from S306 to S307. When the CPU 101 determines that the full range is not selected for the color gradation corresponding to the video data transmitted to the outside by the data transmission unit 103a (No in S306), the process proceeds from S306 to S304.

S307において、CPU101は、データ送信部103aによって外部に送信される映像データに対応する色の階調が第2のレンジになるように設定する。   In step S307, the CPU 101 sets the color gradation corresponding to the video data transmitted to the outside by the data transmission unit 103a to be in the second range.

第2のレンジとは、白と黒の間を0〜255によって表すことである。CPU101によって色の階調が第2のレンジに設定された場合、本フローチャートは終了し、図2のデータ送信処理のS203に進む。この場合、データ送信部103aによって外部に送信される映像データは、第2のレンジに基づいて色変換処理等の画像処理が行われたデータとなる。なお、CPU101は、外部装置200によって設定されている色空間がRGBである場合(S303でYes)、データ送信部103aによって外部に送信される映像データに対応する色の階調は、第1のレンジでも第2のレンジでも良いものとする。   The second range is to express between 0 and 255 between white and black. When the color gradation is set to the second range by the CPU 101, this flowchart ends, and the process proceeds to S203 of the data transmission process of FIG. In this case, the video data transmitted to the outside by the data transmission unit 103a is data that has been subjected to image processing such as color conversion processing based on the second range. When the color space set by the external device 200 is RGB (Yes in S303), the CPU 101 determines the color gradation corresponding to the video data transmitted to the outside by the data transmission unit 103a as the first color tone. Either the range or the second range may be used.

実施例1に係る電子機器100は、外部装置200に対応する色空間に応じて適正な色の階調のレンジを選択し、選択された色の階調のレンジに応じて生成された映像データが外部装置200及び記録装置300に供給されるようにした。このため、記録装置300は、外部装置200によって設定されている色空間に制約を受けずに、電子機器100によって生成された映像データを高品質で記録することができる。さらに、電子機器100は、記録装置300に適正な映像データを記録させるようにするとともに、外部装置200に適正な映像データが表示されるようにすることができる。   The electronic apparatus 100 according to the first embodiment selects an appropriate color gradation range according to the color space corresponding to the external device 200, and the video data generated according to the selected color gradation range. Is supplied to the external device 200 and the recording device 300. Therefore, the recording apparatus 300 can record the video data generated by the electronic device 100 with high quality without being restricted by the color space set by the external apparatus 200. Furthermore, the electronic device 100 can cause the recording device 300 to record appropriate video data and display the appropriate video data on the external device 200.

したがって、電子機器100は、外部装置200による色空間の設定に関わらず、記録装置300に適正な映像データを記録させるようにすることができる。   Therefore, the electronic device 100 can cause the recording device 300 to record appropriate video data regardless of the color space setting by the external device 200.

なお、図2のデータ送信処理及び図3の設定処理は、記録装置300が電子機器100から受信した映像データの記録を行うことが検出されてから行われるようにしてもよい。また、図2のデータ送信処理及び図3の設定処理は、記録装置300が電子機器100から受信した映像データの記録を行う手段を有するか否かに応じて、CPU101によって行われるように制御してもよい。   Note that the data transmission process in FIG. 2 and the setting process in FIG. 3 may be performed after it is detected that the recording apparatus 300 records video data received from the electronic device 100. Further, the data transmission process in FIG. 2 and the setting process in FIG. 3 are controlled so as to be performed by the CPU 101 depending on whether or not the recording apparatus 300 has means for recording the video data received from the electronic device 100. May be.

[実施例2]
実施例2において、実施例1と共通する部分については、その説明を省略し、実施例1と異なる部分について説明する。
[Example 2]
In the second embodiment, description of parts common to the first embodiment will be omitted, and parts different from the first embodiment will be described.

次に、実施例2において、電子機器100によって行われる切換処理について、図4のフローチャートを用いて説明する。実施例2では、CPU101が、メモリ102に格納されているコンピュータプログラムに従って切換処理を制御する場合を説明する。なお、図4の切換処理は、図2のデータ送信処理において、データ送信部103aによって映像データが外部に送信されている間に行われても良いものとする。   Next, switching processing performed by the electronic device 100 in the second embodiment will be described with reference to the flowchart of FIG. In the second embodiment, a case where the CPU 101 controls the switching process according to a computer program stored in the memory 102 will be described. Note that the switching process of FIG. 4 may be performed while the video data is being transmitted to the outside by the data transmission unit 103a in the data transmission process of FIG.

S401において、電子機器100が記録モードであるか否かを判定する。   In S401, it is determined whether or not the electronic device 100 is in the recording mode.

なお、記録モードは、撮像部104及び画像処理部105によって生成される動画データを記録媒体106aに記録するモードである。なお、外部装置200に電子機器100から映像データが送信される場合、電子機器100が記録モードである場合、電子機器100は、外部装置200に送信される映像データに対応するデータを記録媒体106aに記録する。   The recording mode is a mode for recording moving image data generated by the imaging unit 104 and the image processing unit 105 on the recording medium 106a. When video data is transmitted from the electronic device 100 to the external device 200, or when the electronic device 100 is in the recording mode, the electronic device 100 transmits data corresponding to the video data transmitted to the external device 200 to the recording medium 106a. To record.

CPU101によって、電子機器100が記録モードであると判定された場合(S401でYes)、本フローチャートは、S401からS402に進む。CPU101によって、電子機器100が記録モードでないと判定された場合(S401でNo)、本フローチャートは、S401からS405に進む。   When the CPU 101 determines that the electronic device 100 is in the recording mode (Yes in S401), the process proceeds from S401 to S402. When the CPU 101 determines that the electronic device 100 is not in the recording mode (No in S401), the process proceeds from S401 to S405.

S402において、色の階調の拡張を行うように設定されている場合、CPU101は、色の階調の拡張に関する設定をメモリ102に保存した状態で、色の階調の拡張に関する設定を解除する。この場合、色の階調の拡張に関する設定を解除された場合であっても、ユーザが行った色の階調の拡張に関する設定は、メモリ102に格納される。この場合、本フローチャートは、S402からS403に進む。   If it is set in step S <b> 402 to extend the color gradation, the CPU 101 cancels the setting related to the color gradation expansion in a state where the setting related to the color gradation expansion is stored in the memory 102. . In this case, even if the setting related to the color gradation expansion is canceled, the setting related to the color gradation expansion performed by the user is stored in the memory 102. In this case, the flowchart proceeds from S402 to S403.

S403において、CPU101は、図3の設定処理を行う。図3の設定処理が行われた場合、本フローチャートは、S403からS404に進む。   In step S403, the CPU 101 performs the setting process illustrated in FIG. When the setting process of FIG. 3 is performed, the flowchart proceeds from S403 to S404.

S404において、CPU101は、S402において解除された色の階調の拡張に関する設定を元に戻す。この場合、CPU101は、S402においてメモリ102に格納された色の階調の拡張に関する設定に戻す。この場合、本フローチャートは終了する。   In step S <b> 404, the CPU 101 restores the settings related to the color gradation expansion canceled in step S <b> 402. In this case, the CPU 101 returns to the setting relating to the expansion of the gradation of the color stored in the memory 102 in S402. In this case, this flowchart ends.

S405において、CPU101は、図3の設定処理を行う。図3の設定処理が行われた場合、本フローチャートは終了する。   In step S405, the CPU 101 performs the setting process illustrated in FIG. When the setting process of FIG. 3 is performed, this flowchart ends.

実施例2に係る電子機器100は、実施例1と共通する処理や構成については、実施例1と同様の効果を有するものとする。   The electronic device 100 according to the second embodiment has the same effects as those of the first embodiment with respect to processes and configurations common to the first embodiment.

実施例2に係る電子機器100は、電子機器100が映像データの記録を行う場合であっても、外部装置200に対応する色空間の映像データを外部装置200に送信し、外部装置200に適正な色の階調レンジに対応する映像データを表示させることができる。このため、電子機器100によって記録されている映像データを外部装置200によって確認することができる。なお、電子機器100によって映像データの記録が行われる場合に、電子機器100から受信された映像データが記録装置100により記録されていてもよいものとする。   The electronic device 100 according to the second embodiment transmits video data in a color space corresponding to the external device 200 to the external device 200 even when the electronic device 100 records video data, and is appropriate for the external device 200. Video data corresponding to a gradation range of various colors can be displayed. Therefore, the video data recorded by the electronic device 100 can be confirmed by the external device 200. In addition, when video data is recorded by the electronic device 100, the video data received from the electronic device 100 may be recorded by the recording device 100.

なお、S401において、CPU101は、電子機器100が動画データの記録待機中であるか否かを判定してもよい。この場合、CPU101によって、電子機器100が動画データの記録待機中であると判定された場合(S401でYes)、本フローチャートは、S401からS402に進む。CPU101によって、電子機器100が動画データの記録待機中でないと判定された場合(S401でNo)、本フローチャートは、S401からS406に進む。   In S401, the CPU 101 may determine whether or not the electronic device 100 is on standby for recording moving image data. In this case, when the CPU 101 determines that the electronic device 100 is on standby for recording moving image data (Yes in S401), the process proceeds from S401 to S402. If the CPU 101 determines that the electronic device 100 is not waiting to record moving image data (No in S401), the process proceeds from S401 to S406.

実施例1及び2における第1のレンジは、16〜235に限られるものではなく、第2のレンジは、0〜255に限られるものではない。例えば、例えば、10ビット幅で色空間を表すシステムであれば、第1のレンジは、64〜940で表され、第2のレンジは、0〜1023で表されるものであってもよい。   The first range in the first and second embodiments is not limited to 16 to 235, and the second range is not limited to 0 to 255. For example, if the system represents a color space with a 10-bit width, the first range may be represented by 64 to 940, and the second range may be represented by 0 to 1023.

なお、電子機器100、外部装置200、記録装置300、分配器400、接続ケーブル500、接続ケーブル600及び接続ケーブル700は、HDMI規格と互換性のある規格に対応するものであってもよい。   The electronic device 100, the external device 200, the recording device 300, the distributor 400, the connection cable 500, the connection cable 600, and the connection cable 700 may correspond to a standard that is compatible with the HDMI standard.

なお、電子機器100、外部装置200、記録装置300、分配器400、接続ケーブル500、接続ケーブル600及び接続ケーブル700は、DVI(Digital Visual Interface)(登録商標)規格に対応するものであってもよい。   Note that the electronic device 100, the external device 200, the recording device 300, the distributor 400, the connection cable 500, the connection cable 600, and the connection cable 700 may be compatible with the DVI (Digital Visual Interface) (registered trademark) standard. Good.

また、電電子機器100、外部装置200、記録装置300、分配器400、接続ケーブル500、接続ケーブル600及び接続ケーブル700は、Display Port(登録商標)規格に対応するものであってもよい。   The electronic device 100, the external device 200, the recording device 300, the distributor 400, the connection cable 500, the connection cable 600, and the connection cable 700 may correspond to the Display Port (registered trademark) standard.

また、電子機器100、外部装置200、記録装置300及び分配器400は、DiiVa(Digital Interface for Video and Audio)に対応するものであってもよい。さらに、接続ケーブル500、接続ケーブル600及び接続ケーブル700は、DiiVaに対応するものであってもよい。   Further, the electronic device 100, the external device 200, the recording device 300, and the distributor 400 may correspond to DiVa (Digital Interface for Video and Audio). Furthermore, the connection cable 500, the connection cable 600, and the connection cable 700 may correspond to DiVa.

また、電子機器100、外部装置200、記録装置300及び分配器400は、MHL(Mobile High−definition Link)(登録商標)規格に対応するものであってもよい。さらに、接続ケーブル500、接続ケーブル600及び接続ケーブル700は、MHL規格に対応するものであってもよい。   Further, the electronic device 100, the external device 200, the recording device 300, and the distributor 400 may correspond to an MHL (Mobile High-definition Link) (registered trademark) standard. Furthermore, the connection cable 500, the connection cable 600, and the connection cable 700 may correspond to the MHL standard.

また、電子機器100によって生成される映像データは、無線により外部装置200、記録装置300及び分配器400の少なくとも一つに送信されるようにしてもよい。   The video data generated by the electronic device 100 may be transmitted to at least one of the external device 200, the recording device 300, and the distributor 400 wirelessly.

[他の実施例]
本発明に係る電子機器は、実施例1及び2で説明した電子機器に限定されるものではない。本発明に係る電子機器は、例えば、複数の装置から構成されるシステムにより実現することも可能である。
[Other embodiments]
The electronic device according to the present invention is not limited to the electronic device described in the first and second embodiments. The electronic apparatus according to the present invention can be realized by a system including a plurality of devices, for example.

また、実施例1及び2において説明した処理、構成、機能及びシステムは、コンピュータで実行可能なコンピュータプログラムによって実現することもできる。この場合、当該コンピュータプログラムは、コンピュータ読取可能な記録媒体から当該コンピュータによって読み出され、当該コンピュータで実行される。また、この場合、当該コンピュータ読取可能な記録媒体には、ハードディスク装置、光ディスク、CD−ROM、CD−R、メモリカード、ROM等を用いることができる。なお、当該コンピュータプログラムは、通信インターフェースを介して外部装置から当該コンピュータに提供され、当該コンピュータで実行されるようにしてもよい。   Further, the processing, configuration, function, and system described in the first and second embodiments can be realized by a computer program that can be executed by a computer. In this case, the computer program is read from the computer-readable recording medium by the computer and executed by the computer. In this case, a hard disk device, an optical disc, a CD-ROM, a CD-R, a memory card, a ROM, or the like can be used as the computer-readable recording medium. The computer program may be provided from an external device to the computer via a communication interface and executed by the computer.

100 電子機器
200 外部装置
300 記録装置
100 Electronic Device 200 External Device 300 Recording Device

Claims (10)

外部装置から取得した前記外部装置の表示能力に関する情報に応じて、前記外部装置に送信する映像データの色の階調に関するレンジを設定する設定手段と、
前記外部装置に送信するための映像データを生成するために、前記設定手段によって設定された色の階調に関するレンジに応じて、画像処理を行う画像処理手段と、
前記画像処理手段によって画像処理が行われた映像データを外部装置に送信するための制御を行う制御手段とを有することを特徴とする電子機器。
Setting means for setting a range relating to a color gradation of video data to be transmitted to the external device in accordance with information relating to the display capability of the external device acquired from the external device;
Image processing means for performing image processing in accordance with a range relating to the gradation of the color set by the setting means in order to generate video data to be transmitted to the external device;
An electronic apparatus comprising: control means for performing control for transmitting video data subjected to image processing by the image processing means to an external device.
前記設定手段は、前記外部装置に送信する映像データの色の階調に関するレンジを、第1のレンジ及び前記第1のレンジのいずれか一つに設定することを特徴とする請求項1に記載の電子機器。   The said setting means sets the range regarding the gradation of the color of the video data transmitted to the said external apparatus to any one of a 1st range and a said 1st range. Electronic equipment. 色の階調に関するレンジを拡張するように設定されているか否かを判定する判定手段をさらに有し、
色の階調に関するレンジを拡張するように設定されていると判定された場合、設定手段は、前記外部装置に送信する映像データの色の階調に関するレンジを前記第2のレンジに設定し、
色の階調に関するレンジを拡張するように設定されていると判定された場合、設定手段は、前記外部装置に送信する映像データの色の階調に関するレンジを前記第1のレンジに設定することを特徴とする請求項2に記載の電子機器。
A determination means for determining whether or not the range relating to the color gradation is set to be extended;
If it is determined that the range relating to the color gradation is set to be extended, the setting means sets the range relating to the color gradation of the video data to be transmitted to the external device to the second range,
If it is determined that the range relating to the color gradation is set to be extended, the setting means sets the range relating to the color gradation of the video data to be transmitted to the external device to the first range. The electronic device according to claim 2.
前記電子機器によって動画データが記録される場合に、色の階調に関するレンジを拡張するように設定されている場合、前記制御手段は、色の階調に関するレンジの拡張に関する設定を解除することを特徴とする請求項3に記載の電子機器。   When the moving image data is recorded by the electronic device, the control unit cancels the setting related to the expansion of the range related to the color gradation when the setting related to the color gradation is extended. The electronic device according to claim 3, wherein 前記外部装置に対応する色空間がRGBである場合、前記外部装置に送信する映像データの色の階調に関するレンジは、前記第1のレンジ及び前記第2のレンジのいずれか一つであることを特徴とする請求項2から4のいずれか1項に記載の電子機器。   When the color space corresponding to the external device is RGB, the range related to the color gradation of the video data transmitted to the external device is one of the first range and the second range. The electronic device according to claim 2, wherein: 前記第1のレンジは、白と黒の間が16から235によって表され、
前記第2のレンジは、白と黒の間が0から255によって表されることを特徴とする請求項2から5のいずれか1項に記載の電子機器。
The first range is represented by 16 to 235 between white and black,
6. The electronic apparatus according to claim 2, wherein the second range is represented by 0 to 255 between white and black.
前記電子機器は、前記電子機器によって前記外部装置に送信される映像データを記録する記録装置と接続されることを特徴とする請求項1から6のいずれか1項に記載の電子機器。   The electronic device according to claim 1, wherein the electronic device is connected to a recording device that records video data transmitted to the external device by the electronic device. 前記電子機器は、HDMI(High−Definition Multimedia Interface)、DiiVa(Digital Interface for Video and Audio)、Display Port及びDVI(Digital Visual Interface)のいずれか一つを用いて、映像データを前記外部装置に送信することを特徴とする請求項1から7のいずれか1項に記載の電子機器。   The electronic device uses HDMI (High-Definition Multimedia Interface), DiVa (Digital Interface for Video and Audio), Display Port, and DVI (Digital Visual Interface) as one of the external video data. The electronic apparatus according to claim 1, wherein the electronic apparatus is an electronic device. 外部装置から取得した前記外部装置の表示能力に関する情報に応じて、前記外部装置に送信する映像データの色の階調に関するレンジを設定するステップと、
前記外部装置に送信するための映像データを生成するために、設定された色の階調に関するレンジに応じて、画像処理を行うステップと、
画像処理が行われた映像データを外部装置に送信するための制御を行うステップとを有する方法。
Setting a range relating to a color gradation of video data to be transmitted to the external device according to information relating to the display capability of the external device acquired from the external device;
Performing image processing according to a set color gradation range to generate video data for transmission to the external device;
And a step of performing control for transmitting video data subjected to image processing to an external device.
コンピュータを請求項1から7のいずれか1項に記載の電子機器として機能させるためのプログラム。   The program for functioning a computer as an electronic device of any one of Claim 1 to 7.
JP2012065955A 2012-03-22 2012-03-22 Electronic apparatus, method and program Pending JP2013198095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012065955A JP2013198095A (en) 2012-03-22 2012-03-22 Electronic apparatus, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012065955A JP2013198095A (en) 2012-03-22 2012-03-22 Electronic apparatus, method and program

Publications (1)

Publication Number Publication Date
JP2013198095A true JP2013198095A (en) 2013-09-30

Family

ID=49396463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012065955A Pending JP2013198095A (en) 2012-03-22 2012-03-22 Electronic apparatus, method and program

Country Status (1)

Country Link
JP (1) JP2013198095A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014229946A (en) * 2013-05-17 2014-12-08 キヤノン株式会社 Video transmitter, control method, program and storage medium
JP2019118029A (en) * 2017-12-27 2019-07-18 キヤノン株式会社 Electronic apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014229946A (en) * 2013-05-17 2014-12-08 キヤノン株式会社 Video transmitter, control method, program and storage medium
JP2019118029A (en) * 2017-12-27 2019-07-18 キヤノン株式会社 Electronic apparatus
JP7091068B2 (en) 2017-12-27 2022-06-27 キヤノン株式会社 Electronics

Similar Documents

Publication Publication Date Title
US9936180B2 (en) Projector and method for controlling the same
US8269899B2 (en) Electronic device, method for responding to message, and program
JP5335309B2 (en) Communication device
JP2011041204A (en) Communication apparatus
US8913191B2 (en) Communication apparatus and control method
JP2012049825A (en) Communication apparatus
US9058847B2 (en) Communication apparatus, control method, and computer-readable recording medium
US20130308015A1 (en) Transmitting apparatus
JP2012083572A (en) Display system and control method
US20190265847A1 (en) Display apparatus and method for controlling display apparatus
KR102811309B1 (en) Device for secure video streaming
JP7020832B2 (en) Digital video camera, video output device, video output method, program
US9282249B2 (en) Image processing apparatus that transmits image data outside the apparatus
JP2013198095A (en) Electronic apparatus, method and program
EP2849433A1 (en) Relay device
JP5587089B2 (en) Communication apparatus and control method
US9332180B2 (en) Image capture apparatus
JP2019129471A (en) Video display device and display control method
JP2013198097A (en) Electronic apparatus, method and program
JP2016208434A (en) Electronic device, method and program
JP2019012927A (en) Video display device
US20240171696A1 (en) Image processing apparatus, control method and storage medium
US20180262732A1 (en) Display apparatus, method for controlling the same, and non-transitory storage medium
JP2019191442A (en) Video display device
JP2020102785A (en) Image output device