Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5693766B2 - Client device, server device, control method thereof, and program - Google Patents
[go: Go Back, main page]

JP5693766B2 - Client device, server device, control method thereof, and program - Google Patents

Client device, server device, control method thereof, and program Download PDF

Info

Publication number
JP5693766B2
JP5693766B2 JP2014042081A JP2014042081A JP5693766B2 JP 5693766 B2 JP5693766 B2 JP 5693766B2 JP 2014042081 A JP2014042081 A JP 2014042081A JP 2014042081 A JP2014042081 A JP 2014042081A JP 5693766 B2 JP5693766 B2 JP 5693766B2
Authority
JP
Japan
Prior art keywords
image
processing
image processing
reduced
client device
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.)
Active
Application number
JP2014042081A
Other languages
Japanese (ja)
Other versions
JP2014123399A (en
Inventor
史明 高橋
史明 高橋
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 JP2014042081A priority Critical patent/JP5693766B2/en
Publication of JP2014123399A publication Critical patent/JP2014123399A/en
Application granted granted Critical
Publication of JP5693766B2 publication Critical patent/JP5693766B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、クライアント装置、サーバ装置及びこれらの制御方法並びにプログラムに関する。 The present invention relates to a client device, a server device, a control method thereof, and a program .

近年、画像データを記録する際に、一般的なJPEGフォーマットとともに、CCDやCMOSなどの撮像素子から得られたデータを、そのままに近い形で記録するRAWフォーマットの画像データが使われるようになってきた。RAWフォーマットは、デジタルカメラメーカー毎に独自のフォーマットである。   In recent years, when recording image data, RAW format image data that records data obtained from an image sensor such as a CCD or CMOS as it is is used together with a general JPEG format. It was. The RAW format is a format unique to each digital camera manufacturer.

このため、ユーザは、RAWフォーマットの画像データを現像するためには、各メーカーが提供する専用のソフトウェアプログラム(現像ソフトウェア)を情報機器にインストールする必要がある。即ち、情報機器が現像ソフトウェアをインストールしなければ、RAWフォーマットの画像データ(RAW画像データ)を現像できず、ディスプレイに表示できないという問題があった。   For this reason, in order to develop RAW format image data, the user needs to install a dedicated software program (development software) provided by each manufacturer in the information device. That is, there is a problem in that image data in the RAW format (RAW image data) cannot be developed and cannot be displayed on the display unless the information device has the development software installed.

この問題の解決策として、クライアント装置がネットワークを介してRAW画像データをサーバ装置へ送信すると、サーバ装置がRAW画像データを現像し、クライアントへ汎用フォーマットの画像データを返送することが行われている(特許文献1参照)。これにより、クライアントはサーバ装置から返送された画像データを使って表示や印刷を行うことができる。   As a solution to this problem, when a client device transmits RAW image data to a server device via a network, the server device develops the RAW image data and returns image data in a general format to the client. (See Patent Document 1). As a result, the client can display or print using the image data returned from the server device.

しかしながら、RAW画像データはデータサイズが大きいため、ネットワークを介してクライアント装置からサーバ装置へ送信するのに多くの時間がかかってしまう。現在、一般的なRAW画像データでは、CCDやCMOSの撮像素子のサイズが横:4000、縦:3000ピクセル程度である。このデータの各ピクセルを14ビットでデジタル化して保存した場合、被写体の複雑度にも依存するが、一枚あたり20Mバイト程度となってしまうのが一般的である。   However, since the RAW image data has a large data size, it takes a lot of time to transmit it from the client device to the server device via the network. At present, in general RAW image data, the size of a CCD or CMOS image sensor is about 4000 pixels horizontally and 3000 pixels vertically. When each pixel of this data is digitized and stored with 14 bits, it is generally about 20 Mbytes per sheet, depending on the complexity of the subject.

また、現在一般的なネットワークの通信速度は、例えば上り方向で1Mbps程度である。1Mbpsの通信速度で20MバイトのRAW画像データを送信した場合、20MByte=160Mbitなので、160Mbit/1Mbps=160秒(2分40秒)もの時間がかかってしまう。   Moreover, the communication speed of a currently common network is, for example, about 1 Mbps in the upstream direction. When 20 Mbytes of RAW image data is transmitted at a communication speed of 1 Mbps, since 20 MByte = 160 Mbit, it takes 160 Mbit / 1 Mbps = 160 seconds (2 minutes and 40 seconds).

さらに、ユーザが大量のRAW画像データを現像したい場合には、大変多くの時間を費やしてしまい、ユーザビリティが低下する。   Furthermore, when a user wants to develop a large amount of RAW image data, a great amount of time is spent, and usability is reduced.

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

本発明は、クライアント装置からサーバ装置へRAW画像を送信し、該サーバ装置がRAW画像データを現像してクライアント装置へ送信する場合に、クライアント装置でRAW現像結果を表示するまでに要する時間を短縮することができるクライアント装置、サーバ装置及びこれらの制御方法並びにプログラムを提供することを目的とする。 According to the present invention , when a RAW image is transmitted from a client apparatus to a server apparatus, and the server apparatus develops RAW image data and transmits the RAW image data to the client apparatus, the time required for displaying the RAW development result on the client apparatus is reduced. It is an object of the present invention to provide a client device, a server device, a control method thereof, and a program .

上記目的を達成するために、請求項1記載のクライアント装置は、サーバ装置とネットワークを介して接続されたクライアント装置であって、元画像を縮小することによって縮小画像を生成する縮小手段と、前記縮小画像を前記サーバ装置へ送信する送信手段と、前記サーバ装置が縮小画像を画像処理した結果を、前記サーバ装置から受信する第1の受信手段と、前記縮小画像の画像処理の結果を画面に表示する表示手段と、前記表示手段が前記縮小画像の画像処理の結果を画面に表示した後、前記元画像に対する画像処理の実行指示を前記サーバ装置へ発行する発行手段と、前記送信手段が前記縮小画像を前記サーバ装置へ送信するとき、前記元画像の前記サーバ装置への送信処理を開始する開始手段を有することを特徴とする。
また、請求項8記載のサーバ装置は、クライアント装置とネットワークを介して接続されたサーバ装置であって、縮小画像を前記クライアント装置から受信する受信手段と、前記縮小画像に対して画像処理を実行する画像処理手段と、前記画像処理手段が前記縮小画像に対して画像処理を実行した結果を、前記クライアント装置へ送信する送信手段と、前記受信手段が前記縮小画像を前記クライアント装置から受信するとき、前記元画像の前記クライアント装置からの受信処理を開始する開始手段を備え、前記画像処理手段は、前記縮小画像に対して画像処理を実行し、前記元画像に対する画像処理の実行指示を前記クライアント装置から受け付けた後、前記縮小画像に対する画像処理に用いた調整値を用いて、前記元画像に対する画像処理を実行することを特徴とする。
In order to achieve the above object, a client device according to claim 1 is a client device connected to a server device via a network, and a reduction unit that generates a reduced image by reducing an original image; Transmission means for transmitting a reduced image to the server device, first receiving means for receiving the result of image processing of the reduced image by the server device from the server device, and the result of image processing of the reduced image on the screen Display means for displaying, issuing means for issuing an image processing execution instruction for the original image to the server device after the display means displays the image processing result of the reduced image on the screen, and the transmitting means includes the When the reduced image is transmitted to the server device, the image processing device includes start means for starting transmission processing of the original image to the server device .
The server device according to claim 8 is a server device connected to the client device via a network, wherein the server device receives a reduced image from the client device, and executes image processing on the reduced image. An image processing means for performing transmission, a transmission means for transmitting the result of image processing performed on the reduced image by the image processing means to the client device, and a receiving means for receiving the reduced image from the client device. Start means for starting reception processing of the original image from the client device, wherein the image processing means executes image processing on the reduced image, and issues an instruction to execute image processing on the original image to the client After receiving from the apparatus, the image processing for the original image is performed using the adjustment value used for the image processing for the reduced image. Characterized in that it run.

本発明によれば、クライアント装置からサーバ装置に画像を送信し、該サーバ装置において画像処理された結果をクライアント装置で受信して表示エリアに表示する際に、該結果を表示するまでに要する時間を短縮することができる。   According to the present invention, when an image is transmitted from a client device to a server device, and the result of image processing in the server device is received by the client device and displayed in the display area, the time required to display the result is displayed. Can be shortened.

本発明の一実施形態に係る画像処理システムの構成を示す模式図である。1 is a schematic diagram illustrating a configuration of an image processing system according to an embodiment of the present invention. 本発明の一実施形態に係るクライアント装置の構成を示すブロック図である。It is a block diagram which shows the structure of the client apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係るサーバ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the server apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係るRAW画像データを示す図である。It is a figure which shows the raw image data which concern on one Embodiment of this invention. 本発明の一実施形態に係るクライアント装置の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the client apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係るクライアント装置の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the client apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係るサーバ装置の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the server apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係るサーバ装置の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the server apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係る画像表示ウィンドウを示す図である。It is a figure which shows the image display window which concerns on one Embodiment of this invention. 第2の実施の形態における画像表示状態を示す画面図である。It is a screen figure which shows the image display state in 2nd Embodiment. 第2の実施の形態における画像表示状態を示す画面図である。It is a screen figure which shows the image display state in 2nd Embodiment. 第2の実施の形態におけるクライアント装置側の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence by the side of the client apparatus in 2nd Embodiment. 元RAW画像データから切り出した縮小RAW画像データを説明するための概念図である。It is a conceptual diagram for demonstrating the reduction RAW image data cut out from the original RAW image data. 元RAW画像データから切り出した縮小RAW画像データを説明するための概念図である。It is a conceptual diagram for demonstrating the reduction RAW image data cut out from the original RAW image data. 第2の実施の形態におけるサーバ装置側の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence by the side of the server apparatus in 2nd Embodiment. ユーザが等倍を指示した際の画像表示状態を示す画面図である。It is a screen figure which shows the image display state when a user instruct | indicates equal magnification. ユーザが等倍を指示した際のシーケンス図である。FIG. 10 is a sequence diagram when the user instructs equal magnification. ユーザがスクロール操作を行った際の画像表示状態を示す画面図である。It is a screen figure which shows the image display state at the time of a user performing scroll operation. ユーザがスクロール操作を行った際のシーケンス図である。It is a sequence diagram at the time of a user performing scroll operation.

[第1の実施の形態]
<画像処理システムの構成>
図1は、本発明の実施の形態に係る画像処理システムの概略構成を示す模式図である。
[First Embodiment]
<Configuration of image processing system>
FIG. 1 is a schematic diagram showing a schematic configuration of an image processing system according to an embodiment of the present invention.

この画像処理システムは、図1に示すように、クライアント装置101、デジタルカメラ102、及びサーバ装置105を備えている。そして、デジタルカメラ102は、USBケーブル103でクライアント装置101と接続され、クライアント装置101とサーバ装置105はインターネット回線104を介して接続されている。   As shown in FIG. 1, this image processing system includes a client device 101, a digital camera 102, and a server device 105. The digital camera 102 is connected to the client device 101 via the USB cable 103, and the client device 101 and the server device 105 are connected via the Internet line 104.

クライアント装置101は現在一般的に使用されているPC(パーソナルコンピュータ)と同様のもので構わず、ネットワークカードアダプタを装備し、インターネット回線104に接続されているものとする。   The client device 101 may be the same as a PC (personal computer) that is generally used at present, and is equipped with a network card adapter and connected to the Internet line 104.

デジタルカメラ102は、撮影した画像をRAWフォーマットで記録し、USBケーブル103を介して、RAWフォーマットの画像ファイル(RAW画像ファイル)をクライアント装置101へ送信する。   The digital camera 102 records the captured image in the RAW format, and transmits the RAW format image file (RAW image file) to the client device 101 via the USB cable 103.

サーバ装置105は、オンライン現像サービスを行うためのサーバ用ソフトウェアがインストールされ、実行されている。通常、サーバ装置105は、高速に大量のデータ処理とネットワーク通信を行うため、高速なCPUや大量の記憶媒体を備えているが、ハードウェア構成としてはクライアント装置101と同様のもので構わない。   The server device 105 is installed and executed with server software for performing an online development service. Normally, the server device 105 includes a high-speed CPU and a large amount of storage media in order to perform a large amount of data processing and network communication at high speed. However, the hardware configuration may be the same as that of the client device 101.

<クライアント装置101とサーバ装置105の内部構成>
まず、図2は、クライアント装置101の内部構成を示すブロック図である。
<Internal Configuration of Client Device 101 and Server Device 105>
First, FIG. 2 is a block diagram showing an internal configuration of the client apparatus 101.

クライアント装置101は、液晶ディスプレイ等から成る表示部201、マウスとキーボードから成る入力部202、不揮発性記憶媒体であるハードディスク203、揮発性記憶媒体であるDRAM204、及び中央演算処理装置であるCPU205を備えている。そして、これらが内部バス221に接続されている。   The client device 101 includes a display unit 201 composed of a liquid crystal display, an input unit 202 composed of a mouse and a keyboard, a hard disk 203 as a nonvolatile storage medium, a DRAM 204 as a volatile storage medium, and a CPU 205 as a central processing unit. ing. These are connected to the internal bus 221.

内部バス221は、表示部201、入力部202、ハードディスク203、CPU205、DRAM204、及びインターネット回線104と、図示されてない他のユニット同士とを直接または間接的に結線し、互いにデータ送受信を可能とするバスである。   The internal bus 221 directly or indirectly connects the display unit 201, the input unit 202, the hard disk 203, the CPU 205, the DRAM 204, and the Internet line 104 to other units not shown, and can send and receive data to and from each other. It is a bus to do.

ハードディスク203は、オペレーティングシステム(OS)やプログラム、RAW画像ファイルを記憶する。プログラムは、クライアント装置101を画像処理システムのクライアント装置として動作させるためのものであり、CPU205はハードディスク203のプログラムをDRAM204に読み込んで、逐次実行することにより、後述する機能及び処理を実現する。   The hard disk 203 stores an operating system (OS), a program, and a RAW image file. The program is for operating the client apparatus 101 as a client apparatus of the image processing system, and the CPU 205 reads the program of the hard disk 203 into the DRAM 204 and executes it sequentially, thereby realizing functions and processing described later.

なお、RAW画像ファイルは、デジタルカメラ102により撮影され、デジタルカメラ102から受信されたものである。そして、CPU205はオペレーティングシステムにより、撮影毎に生成されたRAW画像データをファイル単位で管理する。   The RAW image file is taken by the digital camera 102 and received from the digital camera 102. Then, the CPU 205 manages the RAW image data generated for each photographing in units of files by the operating system.

DRAM204は、上述のプログラムやRAW画像ファイル、RAW画像ファイルの画像データの実体である元画像データ(元RAW画像データ)、縮小RAW画像データ、元RAW現像結果、縮小RAW現像結果、現像条件、及び元RAW送信済フラグを記憶する。   The DRAM 204 includes the above-described program, RAW image file, original image data (original RAW image data) that is the actual image data of the RAW image file, reduced RAW image data, original RAW development result, reduced RAW development result, development conditions, and The original RAW transmission completion flag is stored.

なお、DRAM204は、ハードディスク203のプログラムの中から、必要とされるプログラムを読み込み、記憶する。また、DRAM204はハードディスク203のRAW画像ファイルの中から、入力部202を介してユーザによって選択されたRAW画像ファイルを読み込んで記憶する。   Note that the DRAM 204 reads and stores a required program from among the programs of the hard disk 203. The DRAM 204 reads and stores a RAW image file selected by the user via the input unit 202 from the RAW image files on the hard disk 203.

また、DRAM204は現像条件の初期値として、コントラスト=0、明るさ=0を格納し、ユーザが入力部202を介して現像条件の変更を行った場合には、その値に更新して格納する。ここで現像条件とは、RAW画像データを現像する際に用いる画質調整パラメータのセットであり、本実施形態では、コントラストと明るさに関して−5から+5までの11段階の調整値を指定できるものとする。   The DRAM 204 stores contrast = 0 and brightness = 0 as initial values of the development conditions. When the user changes the development conditions via the input unit 202, the DRAM 204 updates and stores the values. . Here, the development condition is a set of image quality adjustment parameters used when developing RAW image data. In the present embodiment, eleven levels of adjustment values from −5 to +5 can be designated for contrast and brightness. To do.

また、DRAM204は、元RAW送信済フラグの初期値として、未完了を示す“0”を格納し、選択対象のRAW画像ファイル全てについてサーバ装置105へ送信を完了した際に、完了を示す“1”に更新して格納する。   The DRAM 204 stores “0” indicating incomplete as an initial value of the original RAW transmission completion flag, and indicates “1” indicating completion when transmission to all the RAW image files to be selected is completed. Update to "" and store.

CPU205はファイルIO、メモリIOや表示部201への表示処理、画像処理、入力部202からのユーザ入力受付処理、インターネット回線104を介したサーバ装置105とのコマンドやデータの送受信処理などのPCとしての基本的な処理の制御を行う。また、CPU205は各処理順序の制御、その他、現在一般的なPCで必要とされる処理を実行する。   The CPU 205 is a PC for file IO, memory IO, display processing on the display unit 201, image processing, user input acceptance processing from the input unit 202, and command / data transmission / reception processing with the server device 105 via the Internet line 104. Control the basic processing. In addition, the CPU 205 executes control of each processing order and other processing that is currently required for a general PC.

次に、サーバ装置105の内部構成について図3を参照して説明する。図3は、サーバ装置105の内部構成を詳細に示すブロック図である。   Next, the internal configuration of the server device 105 will be described with reference to FIG. FIG. 3 is a block diagram showing the internal configuration of the server device 105 in detail.

サーバ装置105は、不揮発性記憶媒体であるハードディスク222、揮発性記憶媒体であるDRAM239、及び中央演算処理装置であるCPU224を備え、これらが内部バス243に接続されている。   The server device 105 includes a hard disk 222 that is a nonvolatile storage medium, a DRAM 239 that is a volatile storage medium, and a CPU 224 that is a central processing unit, and these are connected to an internal bus 243.

内部バス243は、ハードディスク222、CPU224、DRAM239、インターネット回線104と、図示されてない他のユニット同士を直接または間接的に結線し、互いにデータ送受信を可能とするバスである。   The internal bus 243 is a bus that directly or indirectly connects the hard disk 222, the CPU 224, the DRAM 239, the Internet line 104, and other units not shown, and enables data transmission / reception with each other.

ハードディスク222は、オペレーティングシステム(OS)や、サーバ装置105を画像処理システムのサーバ装置105として動作させるためのプログラムが記憶されている。なお、CPU224はハードディスク222のプログラムをDRAM239に読み込まんで、逐次実行することにより、後述する機能及び処理を実現する。   The hard disk 222 stores an operating system (OS) and a program for operating the server device 105 as the server device 105 of the image processing system. Note that the CPU 224 implements functions and processes to be described later by reading the program of the hard disk 222 into the DRAM 239 and sequentially executing the program.

DRAM239は、上述のプログラムや後述する元RAW画像データ、縮小RAW画像データ、元RAW現像結果、縮小RAW現像結果、元RAWデータ受信済フラグを記憶する。   The DRAM 239 stores the above-described program, original RAW image data, reduced RAW image data, an original RAW development result, a reduced RAW development result, and an original RAW data received flag which will be described later.

なお、DRAM239は、ハードディスク222のプログラムの中から、必要とされるプログラムを読み込み、記憶する。また、DRAM239は、インターネット回線104を介して、クライアント装置101より受信した元RAW画像データや縮小RAW画像データを記憶する。   Note that the DRAM 239 reads and stores a required program from among the programs of the hard disk 222. The DRAM 239 stores original RAW image data and reduced RAW image data received from the client apparatus 101 via the Internet line 104.

また、DRAM239は元RAW受信済フラグの初期値として未完了を示す“0”を格納し、元RAW画像データの受信が完了した時点で、受信完了を示す“1”に更新して格納する。   The DRAM 239 stores “0” indicating incomplete as an initial value of the original RAW received flag, and updates and stores “1” indicating reception completion when reception of the original RAW image data is completed.

CPU224は、ファイルIO、メモリIO、画像処理、インターネット回線104を介したサーバ装置105とのコマンドやデータの送受信処理やPCとしての基本的な処理の制御を行う。また、CPU224は各処理順序の制御、その他、現在一般的なPCで必要とされる処理を実行する。   The CPU 224 controls file IO, memory IO, image processing, command / data transmission / reception processing with the server device 105 via the Internet line 104, and basic processing as a PC. In addition, the CPU 224 executes control of each processing order and other processing required for a general PC.

<クライアント装置101の処理手順>
次に、本実施の形態に係るクライアント装置101の処理手順について、図5及び図6のフローチャートを参照して説明する。
<Processing Procedure of Client Device 101>
Next, the processing procedure of the client apparatus 101 according to the present embodiment will be described with reference to the flowcharts of FIGS.

まず、ステップS501では、ユーザがクライアント装置101を操作し、サーバ装置105のURLを指定すると、CPU205はインターネット回線104を介してサーバ装置105へアクセスし、現像サービスを要求する。このとき、CPU205はユーザアカウントやパスワードなど、現像サービスのために必要な情報もサーバ装置105へ送信する。   First, in step S501, when the user operates the client apparatus 101 and specifies the URL of the server apparatus 105, the CPU 205 accesses the server apparatus 105 via the Internet line 104 and requests a development service. At this time, the CPU 205 also transmits information necessary for the development service, such as a user account and a password, to the server device 105.

次に、ステップS502において、ユーザの操作に応答して、CPU205はハードディスク203に存在する複数のRAW画像ファイルの中から、現像処理対象のRAW画像ファイルを選択する。   In step S <b> 502, in response to a user operation, the CPU 205 selects a RAW image file to be developed from a plurality of RAW image files existing on the hard disk 203.

なお、クライアント装置101には、RAW画像ファイルを現像して表示可能なフォーマットへと変換するソフトウェアがインストールされていないため、ユーザはファイル名や撮影日時などの属性情報から画像内容を想像して、RAW画像ファイルを選択する。したがって、ユーザがRAW画像ファイルの選択を誤る可能性が高いため、選択操作のトライアンドエラーを軽減するために早く内容の分かる表示をする必要がある。   Since the client device 101 is not installed with software for developing and converting a RAW image file into a displayable format, the user imagines the image content from attribute information such as the file name and the shooting date and time. Select a RAW image file. Therefore, since there is a high possibility that the user will erroneously select the RAW image file, it is necessary to display the content quickly so as to reduce the trial and error of the selection operation.

ステップS503では、CPU205は、サーバ装置105と通信し、ネゴシエーション処理を行い、それが完了すると、元RAW画像データを送信するための元RAW送信スレッドを起動する。ここで、スレッドとは、現在一般的なオペレーティングシステムと同様のものであり、プログラムの実行におけるプロセスよりも細かい並行処理の実行単位である。以後、CPU205はメインスレッド処理のバックグランドで元RAW送信スレッド処理を実行する。そして、CPU205はメインスレッドでは、ステップS504へ処理を進める。一方、元RAW送信スレッドでは、後述の図6のフローチャートに示す処理に進む。   In step S <b> 503, the CPU 205 communicates with the server device 105, performs negotiation processing, and when the processing is completed, activates an original RAW transmission thread for transmitting original RAW image data. Here, the thread is the same as that of a general operating system at present, and is an execution unit of parallel processing that is finer than the process in program execution. Thereafter, the CPU 205 executes the original RAW transmission thread process in the background of the main thread process. Then, the CPU 205 advances the process to step S504 in the main thread. On the other hand, in the original RAW transmission thread, the process proceeds to the process shown in the flowchart of FIG.

なお、ステップS503におけるネゴシエーション処理では、CPU205は元RAW画像データの縮小処理に必要な情報も送受信する。CPU205は、サーバ装置105とのネゴシエーション時に、現像処理対象とするRAW画像ファイルのヘッダ部のデータをサーバ装置105へ送信する。サーバ装置105はヘッダ部のデータを解析し、詳細フォーマット及びデジタルカメラ102の機種を特定するための情報を取得する。そして、該当するフォーマット及び機種に対応したデコーダプログラム及び縮小処理プログラムをクライアント装置101へ送信する。なお、本実施の形態ではサーバ装置105はフォーマット及び機種に対応したデコーダ及び縮小処理プログラムのみをクライアント装置101へ送信するが、この限りではない。例えば、サーバ装置105は、あらかじめサポートする全フォーマット及び機種に対応したデコーダプログラム及び縮小処理プログラムをクライアント装置101へと送信しておく。そして、CPU205はRAW画像ファイルのフォーマット及び機種に応じてプログラムを選択的に用いるようにしても構わない。   In the negotiation process in step S503, the CPU 205 also transmits / receives information necessary for the original RAW image data reduction process. The CPU 205 transmits the data of the header part of the RAW image file to be developed to the server device 105 when negotiating with the server device 105. The server device 105 analyzes the data in the header part, and acquires information for specifying the detailed format and the model of the digital camera 102. Then, a decoder program and a reduction processing program corresponding to the corresponding format and model are transmitted to the client apparatus 101. In this embodiment, the server apparatus 105 transmits only the decoder and reduction processing program corresponding to the format and model to the client apparatus 101, but this is not restrictive. For example, the server apparatus 105 transmits to the client apparatus 101 a decoder program and a reduction processing program corresponding to all formats and models supported in advance. The CPU 205 may selectively use the program according to the format and model of the RAW image file.

ステップS504では、CPU205は、ステップS503のネゴシエーション処理で取得したデコーダプログラムや縮小処理プログラムにしたがって、元RAW画像データの縮小処理を行う。本実施の形態においては、表示部201における図9に示すような画像表示ウィンドウ750の画像表示エリア751のサイズが、横方向640ピクセル、縦方向480ピクセル(以下単に、640×480と表現する)とする。また、元RAW画像データは図4(a)のようにR(赤)、G(緑)、G(緑)、B(青)フィルタの各コンポーネントから構成されるベイヤー配列で、横5120ピクセル、縦3840ピクセルとする。CPU205は、この画像表示エリアの表示サイズを検知し、表示サイズに合わせて、元RAW画像データを縮小処理して縮小RAW画像データを生成する。即ち、図4(a)に示すような元RAW画像データを縦横それぞれ1/8に間引いて、図4(b)に示すような横方向640ピクセル、縦方向480ピクセルの縮小RAW画像データを生成する。縦横それぞれ1/8のサイズとなるので、縮小RAW画像データのサイズは、元RAW画像データのサイズの1/64となる。そして、CPU205は、生成された縮小RAW画像データをハードディスク203に格納する。   In step S504, the CPU 205 performs original RAW image data reduction processing according to the decoder program and reduction processing program acquired in the negotiation processing in step S503. In the present embodiment, the size of the image display area 751 of the image display window 750 as shown in FIG. 9 in the display unit 201 is 640 pixels in the horizontal direction and 480 pixels in the vertical direction (hereinafter simply expressed as 640 × 480). And Also, the original RAW image data is a Bayer array composed of R (red), G (green), G (green), and B (blue) filter components as shown in FIG. The height is 3840 pixels. The CPU 205 detects the display size of this image display area, and reduces the original RAW image data according to the display size to generate reduced RAW image data. That is, the original RAW image data as shown in FIG. 4A is thinned out to 1/8 in the vertical and horizontal directions to generate reduced RAW image data of 640 pixels in the horizontal direction and 480 pixels in the vertical direction as shown in FIG. To do. Since each of the vertical and horizontal sizes is 1/8, the size of the reduced RAW image data is 1/64 of the size of the original RAW image data. Then, the CPU 205 stores the generated reduced RAW image data in the hard disk 203.

なお、本実施の形態における縮小処理では、図4(a)、(b)中の矢印P1、P2、P3のように、ベイヤー配列の隣接パターンが乱れないよう、隣接するR、G、G、Bピクセルを一つのブロックとして扱い、ブロック単位で間引き処理を行うものとする。   In the reduction processing in the present embodiment, adjacent R, G, G, and so on are arranged so that the adjacent patterns of the Bayer array are not disturbed as indicated by arrows P1, P2, and P3 in FIGS. A B pixel is handled as one block, and thinning processing is performed in units of blocks.

次に、ステップS505において、CPU205はハードディスク203に格納されている640×480サイズの縮小RAW画像データをインターネット回線104を介して、サーバ装置105へ送信する(第1の送信処理)。その後、ステップS506においてCPU205は、ステップS505でサーバ装置105へ送信した縮小RAW画像データの現像結果をサーバ装置105から受信し(第1の受信処理)、ハードディスク203に格納する。   Next, in step S505, the CPU 205 transmits the reduced RAW image data of 640 × 480 size stored in the hard disk 203 to the server device 105 via the Internet line 104 (first transmission process). Thereafter, in step S506, the CPU 205 receives the development result of the reduced RAW image data transmitted to the server apparatus 105 in step S505 from the server apparatus 105 (first reception process), and stores it in the hard disk 203.

本実施の形態において、縮小RAW画像データの現像結果は、サーバ装置105においてJPEGフォーマットで圧縮されている。このため、ステップS507においてCPU205は縮小RAW画像データの現像結果に対してJPEGデコード処理を行う。そして、ステップS508で、CPU205は表示部201の画像表示エリア751に、デコード処理を施された縮小RAW画像データの現像結果を表示する。   In the present embodiment, the development result of the reduced RAW image data is compressed in the JPEG format in the server device 105. Therefore, in step S507, the CPU 205 performs JPEG decoding processing on the development result of the reduced RAW image data. In step S508, the CPU 205 displays the development result of the reduced RAW image data subjected to the decoding process in the image display area 751 of the display unit 201.

この時点で、ユーザはステップS502で選択したRAW画像ファイルの画像内容を表示部201上で確認することができる。よって、ユーザはRAW画像ファイルを間違って選択していても、気が付くことができる。   At this point, the user can confirm the image content of the RAW image file selected in step S502 on the display unit 201. Therefore, even if the user selects the RAW image file by mistake, it can be noticed.

ステップS509では、CPU205はユーザが入力部202を介して、ファイル再選択コマンドを入力したか否かを判定する。ステップS508で表示されたRAW画像ファイルがユーザの意図する画像でなかった場合には、ユーザは入力部202を操作して、ファイル再選択コマンドを入力することができる。ステップS509の判定がYESの場合には、CPU205はステップS510において元RAW送信スレッドのリセット処理を行った後、ステップS502へと処理を戻す。   In step S509, the CPU 205 determines whether the user has input a file reselection command via the input unit 202. If the RAW image file displayed in step S508 is not an image intended by the user, the user can input a file reselection command by operating the input unit 202. If the determination in step S509 is yes, the CPU 205 resets the original RAW transmission thread in step S510, and then returns the process to step S502.

ステップS510での元RAW送信スレッドのリセット処理では、CPU205はDRAM204の元RAW送信済フラグを“0”に初期化し、サーバ装置105へ選択RAW変更通知を送った後、元RAW送信スレッドを終了する。   In the reset process of the original RAW transmission thread in step S510, the CPU 205 initializes the original RAW transmission flag of the DRAM 204 to “0”, sends a selection RAW change notification to the server device 105, and then ends the original RAW transmission thread. .

一方、ステップS509の判定がNOの場合には、ステップS511で、CPU205は現在、表示中の縮小RAW現像結果の現像処理時に用いた現像条件と新たに入力された現像条件をDRAM204から読み出し、変更有無を判断する。本実施の形態においては、ユーザが入力部202よりスライダコントロールを操作して、コントラストと明るさの2つの調整項目を現像条件として入力できる。ステップS511の判断がYESの場合には、ステップS523においてCPU205はサーバ装置105へ現像条件を送信した後、ステップS506へと処理を戻す。   On the other hand, if the determination in step S509 is NO, in step S511, the CPU 205 reads from the DRAM 204 the development conditions used during the development processing of the currently displayed reduced RAW development result and the newly entered development conditions from the DRAM 204, and changes them. Judgment is made. In the present embodiment, the user can input two adjustment items of contrast and brightness as development conditions by operating the slider control from the input unit 202. If the determination in step S511 is YES, in step S523, the CPU 205 transmits the development conditions to the server device 105, and then returns the process to step S506.

例えば、現在、表示部201に表示している縮小RAW現像結果の現像処理時に用いた現像条件が<コントラスト=0、明るさ=0>であり、新たに入力された現像条件が<コントラスト=2、明るさ=1>であった場合には、現像条件の変更があると判断する。   For example, the development condition used during the development process of the reduced RAW development result currently displayed on the display unit 201 is <contrast = 0, brightness = 0>, and the newly input development condition is <contrast = 2. If brightness = 1>, it is determined that there is a change in development conditions.

一方、新たに入力された現像条件も<コントラスト=0、明るさ=0>である場合には、現像条件の変更がなされていないと判断する。   On the other hand, if the newly input development condition is also <contrast = 0, brightness = 0>, it is determined that the development condition has not been changed.

ステップS512では、ユーザの操作に応答して、CPU205は元RAW画像の現像に対する実行指示の入力があるか否かを判断する。ユーザが縮小RAW現像結果に満足すると、ユーザは入力部202を介して元RAW画像データの現像処理の実行指示を入力し、それに応答してCPU205は実行指示をサーバ装置105へ発行する。ステップS512の判断がNOの場合には、CPU205はステップS511へと処理を戻す。   In step S512, in response to a user operation, the CPU 205 determines whether or not an execution instruction for the development of the original RAW image has been input. When the user is satisfied with the reduced RAW development result, the user inputs an execution instruction for the development processing of the original RAW image data via the input unit 202, and in response thereto, the CPU 205 issues an execution instruction to the server device 105. If the determination in step S512 is no, the CPU 205 returns the process to step S511.

一方、ステップS512の判断がYESの場合、ステップS513でCPU205は、DRAM204の元RAW送信済フラグを参照し、元RAW画像データのサーバ装置105への送信が完了したか否かを判定する。CPU205はステップS513で、元RAW送信済フラグの値が“1”の場合には、全ての元RAW画像データの送信が完了したと判定する。その後、ステップS514においてCPU205は、元RAW画像データの現像結果をサーバ装置105から受信し、ハードディスク203に記憶する。そして、全ての元RAW画像データの現像結果の受信が完了すると、ステップS515においてCPU205はサーバ装置105との間でのサービス終了処理を行った後、本処理手順を終了する。その後、CPU205はハードディスク203から元RAW画像データの現像結果を読み出し、JPEGデーコード処理を実行し、表示部201に表示する。   On the other hand, if the determination in step S512 is YES, in step S513, the CPU 205 refers to the original RAW transmission completion flag in the DRAM 204, and determines whether transmission of the original RAW image data to the server device 105 has been completed. In step S513, if the value of the original RAW transmission completion flag is “1”, the CPU 205 determines that transmission of all the original RAW image data has been completed. Thereafter, in step S <b> 514, the CPU 205 receives the development result of the original RAW image data from the server device 105 and stores it in the hard disk 203. When reception of the development results of all the original RAW image data is completed, the CPU 205 performs service end processing with the server device 105 in step S515, and then ends this processing procedure. Thereafter, the CPU 205 reads the development result of the original RAW image data from the hard disk 203, executes JPEG data code processing, and displays it on the display unit 201.

次に、ステップS503でCPU205が起動した元RAW画像送信スレッドの処理手順について、図6のフローチャートを参照して説明する。   Next, the processing procedure of the original RAW image transmission thread activated by the CPU 205 in step S503 will be described with reference to the flowchart of FIG.

CPU205は上述したメインスレッドと並列に、図6のステップS517以降の元RAW送信スレッドの処理を行う。なお、現在一般的なシングルCPUのPCにおける並列処理では、実際に並列に処理されるわけではない。CPU205はオペレーティングシステムにしたがって各スレッドの処理を細切れに順番に処理を行うことにより、擬似的に並列処理が行われる。本実施の形態における並列処理もこれと同様で構わない。   In parallel with the main thread described above, the CPU 205 performs processing of the original RAW transmission thread after step S517 in FIG. Note that parallel processing in a single CPU with a general single CPU is not actually performed in parallel. The CPU 205 performs pseudo parallel processing by processing the processing of each thread in order according to the operating system. The parallel processing in the present embodiment may be the same as this.

ステップS517では、CPU205はサーバ装置105とネゴシエーションを行い、元RAW画像データの送信を開始することをサーバ装置105へ通知する。ステップS518では、CPU205は、メインスレッドがサーバ装置105とデータ送受信中か否かの判定を行う。メインスレッドがサーバ装置105とデータ送受信中である場合には、所定の待ち時間の後、再度ステップS518の判定を行う。   In step S517, the CPU 205 negotiates with the server apparatus 105 and notifies the server apparatus 105 that transmission of the original RAW image data is started. In step S518, the CPU 205 determines whether or not the main thread is transmitting / receiving data to / from the server device 105. If the main thread is transmitting / receiving data to / from the server device 105, the determination in step S518 is performed again after a predetermined waiting time.

一方、メインスレッドがサーバ装置105とデータ送受信中でない場合には、ステップS519において、CPU205は元RAW画像データを小さな単位に分割してサーバ装置105へ送信する。   On the other hand, if the main thread is not transmitting / receiving data to / from the server apparatus 105, the CPU 205 divides the original RAW image data into small units and transmits the divided data to the server apparatus 105 in step S519.

このように本実施の形態においては、メインスレッドによる縮小RAW画像データ及び縮小RAW現像結果の送受信に優先的にネットワークリソース(帯域)を割り当てる。その結果、元RAW画像データをバックグランドで送信していても、縮小RAW画像データの表示及び表示更新のレスポンスがよくなる。また、ステップS519での元RAW画像データを小さな単位に分割して部分毎に送信することで、送受信のデータ量が少なくなり、送受信の処理や表示のための画像処理にかかる負荷が軽減される。   As described above, in this embodiment, network resources (bandwidth) are preferentially allocated to transmission / reception of reduced RAW image data and reduced RAW development results by the main thread. As a result, even if the original RAW image data is transmitted in the background, the response of the display of the reduced RAW image data and the display update is improved. In addition, by dividing the original RAW image data in step S519 into small units and transmitting each part, the amount of data to be transmitted / received is reduced, and the load on the image processing for transmission / reception processing and display is reduced. .

次に、ステップS520では、CPU205は元RAW画像データの全てをサーバ装置105へ送信し終わったか否かの判定を行う。未送信データがある場合には、ステップS520の判定はNOとなり、CPU205はステップS518へと処理を戻す。元RAW画像データ全てをサーバ装置105へ送信し終わると、ステップS520の判定はYESとなり、ステップS521においてCPU205はDRAM204の元RAW送信済フラグを“1”に更新した後、元RAW送信スレッドの処理を終了する。   In step S520, the CPU 205 determines whether all of the original RAW image data has been transmitted to the server apparatus 105. If there is untransmitted data, the determination in step S520 is NO, and the CPU 205 returns the process to step S518. When all the original RAW image data has been transmitted to the server apparatus 105, the determination in step S520 is YES, and in step S521, the CPU 205 updates the original RAW transmission completion flag of the DRAM 204 to “1”, and then the processing of the original RAW transmission thread. Exit.

<サーバ装置105の処理手順>
次に、本実施の形態に係るサーバ装置105の処理手順について、図7及び図8のフローチャートを参照して説明する。
<Processing Procedure of Server Device 105>
Next, the processing procedure of the server apparatus 105 according to the present embodiment will be described with reference to the flowcharts of FIGS.

ステップS601でCPU224は、現像サービスの要求や現像サービスに必要な情報をクライアント装置101から受信し、現像サービスの開始処理を行う。現像サービスの開始処理では、サーバ装置105はクライアント装置101のユーザの認証などを行うとともに、元RAW受信済フラグの初期化処理なども行う。   In step S601, the CPU 224 receives a request for a development service and information necessary for the development service from the client apparatus 101, and performs a development service start process. In the development service start processing, the server device 105 performs authentication of the user of the client device 101 and initialization processing of the original RAW received flag.

次にステップS602において、CPU224は、クライアント装置101とネゴシエーション処理を行い、それが完了すると、ステップS603において元RAW受信スレッドを起動する。そして、CPU224はメインスレッド処理のバックグランドで元RAW受信スレッド処理を実行する(第2の受信処理)。そして、CPU224はメインスレッドでは、ステップS604へ処理を進める。一方、元RAW受信スレッドでは、後述の図8のフローチャートに示す処理に進む。   Next, in step S602, the CPU 224 performs a negotiation process with the client apparatus 101. When the process is completed, the CPU 224 activates the original RAW reception thread in step S603. Then, the CPU 224 executes the original RAW reception thread process in the background of the main thread process (second reception process). Then, the CPU 224 advances the process to step S604 in the main thread. On the other hand, the original RAW reception thread proceeds to the process shown in the flowchart of FIG.

ステップS604において、CPU224は、縮小RAW画像データをクライアント装置101から受信し、ハードディスク222に格納する。ステップS605において、CPU224は、ハードディスク222の縮小RAW画像データに対して、DRAM239から現像条件を読み出し、それにしたがって現像処理を行い、現像結果をハードディスク222に格納する。なお、DRAM239の現像条件の初期値は<コントラスト=0、明るさ=0>とする。   In step S <b> 604, the CPU 224 receives the reduced RAW image data from the client apparatus 101 and stores it in the hard disk 222. In step S <b> 605, the CPU 224 reads development conditions from the DRAM 239 for the reduced RAW image data on the hard disk 222, performs development processing accordingly, and stores the development results in the hard disk 222. Note that the initial value of the development condition of the DRAM 239 is <contrast = 0, brightness = 0>.

ステップS606においてCPU224はステップS605で現像された結果をJPEGフォーマットで圧縮し、ステップS607でクライアント装置101へ送信する(第2の送信処理)。ステップS608では、CPU224はクライアント装置101から現像条件の更新を受信したか否かを判定する。本判定がYESの場合は、CPU224はステップS605へと処理を戻し、受信した現像条件の調整値でDRAM239を更新し、更新された現像条件を用いて再度、RAW縮小画像データに対して現像処理を行う。   In step S606, the CPU 224 compresses the result developed in step S605 in the JPEG format, and transmits it to the client apparatus 101 in step S607 (second transmission process). In step S <b> 608, the CPU 224 determines whether the development condition update has been received from the client apparatus 101. If this determination is YES, the CPU 224 returns the process to step S605, updates the DRAM 239 with the adjustment value of the received development condition, and again performs the development process on the RAW reduced image data using the updated development condition. I do.

例えば、CPU224はクライアント装置101から初期値とは異なる、<コントラスト=2、明るさ=1>の現像条件を受信すると、DRAM239の現像条件の調整値を更新し、新たな調整値を用いてRAW縮小画像データの現像を行う。   For example, when the CPU 224 receives a development condition <contrast = 2, brightness = 1>, which is different from the initial value, from the client apparatus 101, the CPU 224 updates the adjustment value of the development condition of the DRAM 239 and uses the new adjustment value. Development of reduced image data is performed.

ステップS608での判定がNOの場合には、ステップS609でCPU224は、クライアント装置101から選択RAW変更通知を受信したか否かを判定する。本判定がYESの場合には、ステップS610においてCPU224は、元RAW受信済フラグなどの初期化を行った後、ステップS602へと処理を戻す。   If the determination in step S608 is NO, in step S609, the CPU 224 determines whether a selection RAW change notification has been received from the client apparatus 101. If this determination is YES, in step S610, the CPU 224 initializes the original RAW received flag and the like, and then returns the process to step S602.

次のステップS611では、CPU224はクライアント装置101より元RAW現像の実行指示を受け付けたか否かを判定する。ステップS611の判定がNOの場合、CPU224は、ステップS608へと処理を戻す。ステップS611の判定がYESの場合には、ステップS612においてCPU224は、元RAW受信済フラグを参照し、全ての元RAW画像データの受信が完了したか否かの判定を行う。本判定の判断がNOの場合には、所定の待ち時間の後、CPU224は再度ステップS612の判定を行う。ステップS612の判定がYESの場合には、ステップS613においてCPU224はステップS605で用いた現像処理条件をDRAM239から読み出し、それを用いて元RAW画像データの現像を行い、結果をハードディスク222に格納する。   In the next step S611, the CPU 224 determines whether or not an instruction to execute the original RAW development has been received from the client apparatus 101. If the determination in step S611 is no, the CPU 224 returns the process to step S608. When the determination in step S611 is YES, in step S612, the CPU 224 refers to the original RAW received flag and determines whether or not reception of all the original RAW image data has been completed. If the determination is NO, the CPU 224 performs the determination in step S612 again after a predetermined waiting time. If the determination in step S612 is YES, in step S613, the CPU 224 reads out the development processing conditions used in step S605 from the DRAM 239, develops the original RAW image data using it, and stores the result in the hard disk 222.

次のステップS614で、CPU224はハードディスク222の元RAW画像データの現像結果に対して、JPEGエンコード処理を施す。ステップS615においてCPU224はJPEGエンコード処理した、元RAW画像データの現像結果をクライアント装置101へ送信する。送信が完了するとステップS616でCPU224はサービス終了処理を行った後、本フローにおけるメインスレッドの処理を終了する。   In the next step S 614, the CPU 224 performs JPEG encoding processing on the development result of the original RAW image data on the hard disk 222. In step S615, the CPU 224 transmits the development result of the original RAW image data subjected to JPEG encoding processing to the client apparatus 101. When the transmission is completed, in step S616, the CPU 224 performs a service end process, and then ends the main thread process in this flow.

次に、ステップS603でCPU224が起動した元RAW受信スレッドの処理手順について、図8のフローチャートを参照して説明する。   Next, the processing procedure of the original RAW reception thread activated by the CPU 224 in step S603 will be described with reference to the flowchart of FIG.

まず、ステップS617において、CPU224はメインスレッドがデータ送受信中か否かを判定する。本判定がYESの場合は、CPU224は、所定の待ち時間の後、再度ステップS617の判定を行う。本判定がNOの場合には、ステップS618でCPU224は、元RAW画像データの一部データを受信する。続くステップS619でCPU224は、クライアント装置101からの選択RAW変更通知の有無を判定する。ステップS619での判定がYESの場合には、CPU224は現在受信中の元RAW画像データは使用されないデータであるため、元RAW受信スレッドを終了する。   First, in step S617, the CPU 224 determines whether the main thread is transmitting / receiving data. If this determination is YES, the CPU 224 performs the determination in step S617 again after a predetermined waiting time. If this determination is NO, in step S618, the CPU 224 receives partial data of the original RAW image data. In subsequent step S <b> 619, the CPU 224 determines whether there is a selection RAW change notification from the client apparatus 101. If the determination in step S619 is YES, the CPU 224 ends the original RAW reception thread because the original RAW image data currently being received is unused data.

ステップS619での判定がNOの場合には、ステップS620でCPU224は元RAW画像データを全て受信したか否かを判定する。全ての元RAW画像データの受信が完了した場合には、ステップS621においてCPU224は元RAW受信済フラグを“1”に更新した後、元RAW受信スレッドを終了する。ステップS620の判定がNOの場合には、CPU224はステップS617へと処理を戻す。   When the determination in step S619 is NO, in step S620, the CPU 224 determines whether or not all the original RAW image data has been received. If reception of all the original RAW image data is completed, the CPU 224 updates the original RAW reception flag to “1” in step S621, and then ends the original RAW reception thread. If the determination in step S620 is no, the CPU 224 returns the process to step S617.

以下、各処理にかかる時間の一例を説明する。次の式(1)、式(2)は、各ピクセルのビット深度が16ビット(2バイト)の場合の元RAW画像データ及び縮小RAW画像データそれぞれのデータサイズを示す。   Hereinafter, an example of the time required for each process will be described. The following equations (1) and (2) indicate the data sizes of the original RAW image data and the reduced RAW image data when the bit depth of each pixel is 16 bits (2 bytes).

元RAW画像データのデータサイズ:
5120×3840×2バイト=39、321、600バイト(約40Mバイト)
・・・式(1)
縮小RAW画像データのデータサイズ:
640×480×2バイト=614400バイト(約614Kバイト)
・・・式(2)
Data size of original RAW image data:
5120 x 3840 x 2 bytes = 39, 321, 600 bytes (approximately 40 Mbytes)
... Formula (1)
Data size of reduced RAW image data:
640 × 480 × 2 bytes = 614400 bytes (about 614K bytes)
... Formula (2)

ステップS504のRAW画像データの縮小処理は、前述のとおり単純な間引き処理であり、処理内容は614Kバイトのメモリ上のデータのメモリ上におけるコピーであり、現在一般的なPCにおいては、コンマ1秒以下の短時間の処理である。   The reduction processing of the RAW image data in step S504 is a simple thinning process as described above, and the processing content is a copy of the data on the memory of 614 Kbytes on the memory. The following short-time processing.

また、ステップS505の縮小RAW画像データの送信処理にかかる時間は、インターネット回線104の上り方向の通信速度が、現在一般的な2Mbps程度とすると、式(3)のとおり、2.5秒程度となる。   Further, the time required for the transmission processing of the reduced RAW image data in step S505 is about 2.5 seconds as shown in the equation (3) when the upstream communication speed of the Internet line 104 is about 2 Mbps. Become.

縮小RAW画像データ送信時間:
614Kバイト=614、000×8bits=4、912、000bits
4、912、000bits÷2、000、000bps=2.456s
(約2.5秒) ・・・ 式(3)
Reduced RAW image data transmission time:
614 Kbytes = 614,000 × 8 bits = 4, 912,000 bits
4,912,000 bits / 2,000,000 bps = 2.456 s
(About 2.5 seconds) ... Formula (3)

一方、ステップS503で元RAW画像データの送信処理にかかる時間は、式(4)のとおり、約160秒となる。   On the other hand, the time taken for the transmission processing of the original RAW image data in step S503 is about 160 seconds as shown in equation (4).

元RAW画像データ送信時間:
40Mバイト=40、000、000×8bits=320、000、000bits
320、000、000bits÷2、000、000bps=160s(約160秒) ・・・式(4)
Original RAW image data transmission time:
40 Mbytes = 40,000,000 × 8 bits = 320,000,000 bits
320,000,000 bits / 2,000,000 bps = 160 s (about 160 seconds) (4)

また、ステップS605で縮小RAW画像データの現像にかかる時間は、現在一般的なPC上の現在一般的な現像ソフトウェアでは、約1秒程度である。   In addition, the time required for developing the reduced RAW image data in step S605 is about 1 second in the currently general development software on the currently general PC.

また、ステップS507とステップS614のJPEGのエンコード・デコード処理にかかる時間は、現在一般的なPCにおいては、コンマ1秒以下のオーダーであり、無視できる。   Further, the time required for the JPEG encoding / decoding process in steps S507 and S614 is on the order of a comma 1 second or less in a general PC, and can be ignored.

また、縮小RAW現像結果のデータサイズは、式(5)のとおり、約92Kバイト程度となる。これは、RGB3コンポーネントの8ビットデータとし、JPEG圧縮率を一般的な1/10程度とした場合の値である。   The data size of the reduced RAW development result is about 92 Kbytes as shown in equation (5). This is a value when 8-bit data of RGB3 component is used and the JPEG compression rate is set to about 1/10 of a general rate.

元データ:640×480×3×1=921、600バイト
JPEG圧縮後:921、600バイト÷10=92、160バイト(約92Kバイト) ・・・式(5)
Original data: 640 × 480 × 3 × 1 = 921, 600 bytes After JPEG compression: 921, 600 bytes ÷ 10 = 92, 160 bytes (about 92 Kbytes) (5)

また、ステップS607で縮小RAW現像結果を送信する際にかかる時間は、式(6)のとおり、約0.14秒程度となる。これは、インターネット回線104の下り方向の通信速度が現在一般的な5Mbps程度とした場合の値である。   Also, the time taken to transmit the reduced RAW development result in step S607 is about 0.14 seconds as shown in equation (6). This is a value when the communication speed in the downstream direction of the Internet line 104 is about 5 Mbps, which is currently typical.

縮小RAW現像結果送信時間:
92、160バイト×8bit=737、280bit
737、280bit÷5、000、000bps=0.14s(約0.14秒)
・・・式(6)
Reduced RAW development result transmission time:
92, 160 bytes x 8 bits = 737, 280 bits
737, 280 bits / 5,000,000 bps = 0.14 s (about 0.14 seconds)
... Formula (6)

以上から、RAW画像ファイルを選択した後、その画像内容がクライアント装置101の表示部201の画像表示エリア751に表示されるまでにかかる時間T1は、式(7)のとおり、3.64秒程度である。   From the above, after selecting a RAW image file, the time T1 required for the image content to be displayed in the image display area 751 of the display unit 201 of the client apparatus 101 is about 3.64 seconds as shown in Equation (7). It is.

ステップS505での縮小RAW送信時間=約2.5秒
ステップS605での縮小RAW現像時間=約1.0秒
ステップS607での縮小RAW現像結果送信時間=約0.14秒
T1=2.5秒+1.0秒+0.14秒=3.64秒
・・・式(7)
Reduced RAW transmission time in step S505 = about 2.5 seconds Reduced RAW development time in step S605 = about 1.0 seconds Reduced RAW development result transmission time in step S607 = about 0.14 seconds
T1 = 2.5 seconds + 1.0 seconds + 0.14 seconds = 3.64 seconds
... Formula (7)

なお、ステップS523の更新された現像条件の送信にかかる時間は、送信すべきデータがコントラストと明るさに関する2つの整数値であり、データ量が数十バイト程度のオーダーであり、無視できる。   The time taken to transmit the updated development condition in step S523 is negligible because the data to be transmitted is two integer values relating to contrast and brightness, and the data amount is on the order of several tens of bytes.

以上より、現像条件の変更を反映した現像結果が画像表示エリア751へと表示されるまでにかかる時間T2は、後述する式(8)のとおり、1.14秒程度となる。   As described above, the time T2 required until the development result reflecting the change in the development conditions is displayed in the image display area 751 is about 1.14 seconds as shown in the equation (8) described later.

縮小RAW現像時間=約1.0秒(S605と同様)
縮小RAW現像結果送信時間=約0.14秒(S607と同様)
T2=1.0秒+0.14秒=1.14秒 ・・・式(8)
Reduced RAW development time = about 1.0 second (same as S605)
Reduced RAW development result transmission time = about 0.14 seconds (same as S607)
T2 = 1.0 seconds + 0.14 seconds = 1.14 seconds (8)

なお、ステップS612で元RAW画像データの受信を完了するまでの待ち時間は、ユーザがRAW画像データの調整作業にかける時間によって異なるが、例えば2分間程度かかった場合、式(9)のとおり、40秒程度となる。   Note that the waiting time until the reception of the original RAW image data in step S612 differs depending on the time taken by the user to adjust the RAW image data. For example, when it takes about 2 minutes, as shown in Expression (9), It takes about 40 seconds.

元RAW画像データの受信時間=元RAW画像データ送信時間−調整作業時間
=160秒−120秒=40秒
・・・式(9)
Original RAW image data reception time = Original RAW image data transmission time−Adjustment work time
= 160 seconds-120 seconds = 40 seconds
... Formula (9)

なお、元RAW画像データの現像処理にかかる時間は、現在一般的なPC上で、およそ10秒程度である。   It should be noted that the time required for the development processing of the original RAW image data is about 10 seconds on a current general PC.

以上、本実施の形態によれば、サーバ装置105は、元RAW画像データより前に縮小RAW画像データをクライアント装置101から受信して現像処理を行うので、ユーザが現像結果の概要を確認するまでに送受信するデータ量が少なく済む。   As described above, according to the present embodiment, the server apparatus 105 receives the reduced RAW image data from the client apparatus 101 before the original RAW image data and performs the development process. Therefore, until the user confirms the outline of the development result. The amount of data sent and received can be reduced.

サーバ装置105は元RAW画像データを現像処理する前に、縮小RAW画像データを現像処理し、その結果をクライアント装置101に提供するので、クライアント装置101のユーザは画像の現像結果の概要を早く確認することができる。   Since the server apparatus 105 develops the reduced RAW image data and provides the result to the client apparatus 101 before developing the original RAW image data, the user of the client apparatus 101 quickly confirms the outline of the image development result. can do.

また、サーバ装置105は縮小RAW画像データを受信し、現像処理を行うのと並行して元RAW画像データをクライアント装置101から受信するので、ユーザが現像結果の概要を確認するとすぐに、元RAW画像データの現像処理を行うこともできる。   Further, since the server apparatus 105 receives the reduced RAW image data and receives the original RAW image data from the client apparatus 101 in parallel with the development processing, the server apparatus 105 receives the original RAW as soon as the user confirms the outline of the development result. Image data development processing can also be performed.

なお、本実施の形態において、クライアント装置101のCPU205は、各プログラムをハードディスク203からロードすることとした。しかし、この限りではなく、Webブラウザのプラグインとして、CPU205はサーバ装置105からダウンロードしてもよい。   In the present embodiment, the CPU 205 of the client apparatus 101 loads each program from the hard disk 203. However, the present invention is not limited to this, and the CPU 205 may be downloaded from the server device 105 as a plug-in of the Web browser.

[第2の実施の形態]
第2の実施の形態における画像処理システムでは、画像表示エリア751に表示しているRAW画像データの拡大機能を提供する。この拡大機能を利用することによって、ユーザが画像中の特定部位の詳細を確認できる。クライアント装置101は、ユーザが画像表示エリア751内をマウスカーソルでクリックすることにより、RAW画像データを1/8縮小表示から等倍表示へ切り替える。以下、第1の実施の形態と同様の部分については説明を省略し、本実施形態に特有の構成を詳細に説明する。
[Second Embodiment]
The image processing system according to the second embodiment provides an enlargement function for the RAW image data displayed in the image display area 751. By using this enlargement function, the user can confirm details of a specific part in the image. When the user clicks the image display area 751 with a mouse cursor, the client apparatus 101 switches the RAW image data from the 1/8 reduced display to the equal display. Hereinafter, description of the same parts as those in the first embodiment will be omitted, and a configuration unique to the present embodiment will be described in detail.

<画像表示>
以下、図10(a)、(b)及び図11(a)、(b)を参照して、本実施の形態による画像表示の様子について説明する。図10(a)、(b)及び図11(a)、(b)は、第2の実施の形態における画像表示状態を示す画面図である。
<Image display>
Hereinafter, with reference to FIGS. 10A and 10B and FIGS. 11A and 11B, the state of image display according to the present embodiment will be described. FIGS. 10A and 10B and FIGS. 11A and 11B are screen views showing an image display state in the second embodiment.

本実施の形態における画像表示ウィンドウ750では、図10(a)に示すような拡大ボタン1001及び縮小ボタン1002を有する。ユーザが拡大ボタン1001をマウスカーソルでクリックすると、マウスカーソルが拡大ボタンマークに変化する。この状態で、画像表示エリア751上の任意の位置で、マウスの左ボタンをクリックすると、クリック位置を中心とした等倍表示へと切り替わる。   The image display window 750 in this embodiment has an enlarge button 1001 and a reduce button 1002 as shown in FIG. When the user clicks on the enlarge button 1001 with the mouse cursor, the mouse cursor changes to an enlarge button mark. When the left button of the mouse is clicked at an arbitrary position on the image display area 751 in this state, the display is switched to the same magnification display centered on the click position.

図10(b)は、ユーザが花の部分をクリックした後、花部分が等倍で表示されている様子を示すものである。この状態では、茎の部分や葉の部分など表示されていないエリアが存在するが、図中の1101、1102は非表示部分を表示するためのスクロールボタンである。図11(a)に示すようにユーザがスクロールボタン1101を下方向へドラッグすることにより、画像表示エリア751の表示状態が変更される。図11(b)はユーザがスクロールボタン1101を下方向にスクロールした際に、花の下にある葉のエリアが表示されたことを示すものである。   FIG. 10B shows a state in which the flower part is displayed at the same magnification after the user clicks on the flower part. In this state, there are areas that are not displayed such as a stem portion and a leaf portion, but reference numerals 1101 and 1102 in the figure denote scroll buttons for displaying a non-display portion. As shown in FIG. 11A, when the user drags the scroll button 1101 downward, the display state of the image display area 751 is changed. FIG. 11B shows that the leaf area under the flower is displayed when the user scrolls the scroll button 1101 downward.

<クライアント装置101側の処理手順>
次に、本実施の形態におけるクライアント装置101側の処理手順について、図12、図13及び図14を参照して説明する。図12は本実施の形態におけるクライアント装置101側の処理手順を示すフローチャートである。図13及び図14は、元RAW画像データから切り出した縮小RAW画像データを説明するための概念図である。
<Processing Procedure on Client Device 101 Side>
Next, a processing procedure on the client apparatus 101 side in the present embodiment will be described with reference to FIGS. FIG. 12 is a flowchart showing a processing procedure on the client apparatus 101 side in the present embodiment. 13 and 14 are conceptual diagrams for explaining the reduced RAW image data cut out from the original RAW image data.

図12に示すように、本実施の形態におけるクライアント装置101の処理手順は、第1の実施の形態の処理手順とほぼ同様であり、ステップS801及びステップS802の手順のみ異なる。   As shown in FIG. 12, the processing procedure of the client apparatus 101 in the present embodiment is almost the same as the processing procedure of the first embodiment, and only the steps S801 and S802 are different.

ステップS801でCPU205は、画像表示エリア751の状態により、元RAW画像データに対して、縮小処理または部分切り出し処理を行う。現在表示すべき倍率が等倍表示の場合には、まず、CPU205は表示対象エリアの算出を行う。例えば、ユーザが拡大ボタン1001をクリックした座標が、画像左上隅を原点として、X、Y=(200、200)の場合には、以下のように算出する。   In step S <b> 801, the CPU 205 performs reduction processing or partial cutout processing on the original RAW image data depending on the state of the image display area 751. When the magnification to be displayed at present is the same magnification display, the CPU 205 first calculates the display target area. For example, when the coordinates at which the user clicks the enlarge button 1001 is X, Y = (200, 200) with the upper left corner of the image as the origin, the following calculation is performed.

始めに、クリック座標をオリジナル座標系に変換する。即ち、1/8座標系での(200、200)は、オリジナル座標系では8倍して(1600、1600)となる。そして、表示エリア各頂点の座標は、次のとおり算出される。つまり、(1600、1600)座標を中心とした640×480サイズの各頂点の座標は、式(11)〜式(14)により算出される。   First, click coordinates are converted to the original coordinate system. That is, (200, 200) in the 1/8 coordinate system is multiplied by 8 (1600, 1600) in the original coordinate system. Then, the coordinates of each vertex of the display area are calculated as follows. That is, the coordinates of the vertices having a size of 640 × 480 with the (1600, 1600) coordinates as the center are calculated by the equations (11) to (14).

左上隅のX座標=1600−(640/2)=1280 ・・・式(11)
左上隅のY座標=1600−(480/2)=1360 ・・・式(12)
右下隅のX座標=1280+640−1=1919 ・・・式(13)
右下隅のY座標=1360+480−1=1839 ・・・式(14)
X coordinate of upper left corner = 1600− (640/2) = 1280 (11)
Y coordinate of upper left corner = 1600− (480/2) = 1360 (12)
X coordinate of lower right corner = 1280 + 640-1 = 1919 (13)
Y coordinate of lower right corner = 1360 + 480-1 = 1840 39 (14)

以上の算出した座標を用いて、ステップS801でCPU205は、図13に示すように、元RAW画像データから切り出した縮小RAW画像データを生成する。なお、現在表示すべき倍率が640×480サイズの縮小表示の場合は、第1の実施の形態と同様の縮小処理を行う。   Using the calculated coordinates, in step S801, the CPU 205 generates reduced RAW image data cut out from the original RAW image data as shown in FIG. Note that when the magnification to be displayed is reduced display of 640 × 480 size, the same reduction process as in the first embodiment is performed.

続いて、画像表示エリア751を、式(11)〜式(14)=(1280、1360、1919、1839)の状態からユーザがスクロール操作を行った場合について説明する。   Next, a case where the user performs a scroll operation on the image display area 751 from the state of Expression (11) to Expression (14) = (1280, 1360, 1919, 1839) will be described.

本実施の形態においては、ユーザがスクロールボタン1101を1ドット動かした際に、エリアを20ドットスクロールして表示する。この場合、ユーザがスクロールボタンを下方向に50ドットのドラッグ操作をすると、元RAW画像データの座標系でのエリアを100ピクセル下にずらすことになるので、CPU205はエリアの座標を次のとおり計算する。   In this embodiment, when the user moves the scroll button 1101 by 1 dot, the area is scrolled and displayed by 20 dots. In this case, if the user drags the scroll button downward by 50 dots, the area in the coordinate system of the original RAW image data is shifted down by 100 pixels, so the CPU 205 calculates the coordinates of the area as follows: To do.

左上隅のX座標 = 式(11) ・・・式(15)
左上隅のY座標 = 式(12)+100 =1460 ・・・式(16)
右下隅のX座標 = 式(13) ・・・式(17)
右下隅のY座標 = 式(14)+100 =1939 ・・・式(18)
X coordinate of upper left corner = Formula (11)... Formula (15)
Y coordinate of upper left corner = formula (12) + 100 = 1460 (formula 16)
X coordinate of the lower right corner = Formula (13) ... Formula (17)
Y coordinate of lower right corner = Formula (14) + 100 = 1939 (Formula (18))

以上の算出した座標を用いて、ステップS801でCPU205は、図14に示すように元RAW画像データから切り出した縮小RAW画像データを生成する。   Using the calculated coordinates, in step S801, the CPU 205 generates reduced RAW image data cut out from the original RAW image data as shown in FIG.

ステップS802でCPU205は、入力部202より拡大・縮小・スクロール操作などの表示状態を変更する操作をユーザが行ったか否かを判定する。ユーザが表示状態変更操作を行った場合には、CPU205はステップS801へと処理を戻し、縮小RAW画像データの作成処理を再度行う。   In step S <b> 802, the CPU 205 determines whether the user has performed an operation for changing the display state, such as an enlargement / reduction / scroll operation, from the input unit 202. When the user performs a display state change operation, the CPU 205 returns the process to step S801, and performs the process of creating reduced RAW image data again.

<第2の実施の形態におけるサーバ装置105側の処理手順>
次に、本実施の形態におけるサーバ装置105側の処理手順について、図15のフローチャートを参照して説明する。
<Processing procedure on the server device 105 side in the second embodiment>
Next, the processing procedure on the server device 105 side in the present embodiment will be described with reference to the flowchart of FIG.

図15に示すように、本実施の形態におけるクライアント装置101の処理手順は、第1の実施の形態の処理手順とほぼ同様であり、ステップS901の手順のみ異なる。   As shown in FIG. 15, the processing procedure of the client apparatus 101 in the present embodiment is substantially the same as the processing procedure of the first embodiment, and only the procedure of step S901 is different.

ステップS901においてCPU224は、クライアント装置101からの縮小RAW画像データの再送信要求があるか否かを判定する。判定がYESの場合には、CPU224はステップS604へと処理を戻し、縮小RAW画像データを再度、クライアント装置101から受信する。判定がNOの場合には、CPU224はステップS608へ処理を進める。   In step S <b> 901, the CPU 224 determines whether there is a request for retransmission of the reduced RAW image data from the client apparatus 101. If the determination is YES, the CPU 224 returns the process to step S604 and receives the reduced RAW image data from the client device 101 again. If the determination is NO, the CPU 224 advances the process to step S608.

<画像処理システムのシーケンス>
次に、図12及び図15のフローチャートにより説明したクライアント装置101及びサーバ装置105の各処理手順のシーケンスについて更に詳しく説明する。
<Sequence of image processing system>
Next, the sequence of each processing procedure of the client apparatus 101 and the server apparatus 105 described with reference to the flowcharts of FIGS. 12 and 15 will be described in more detail.

(A)ユーザが等倍を指示した際のシーケンス
まず、ユーザが等倍を指示した際のシーケンスについて、図16及び図17を参照して説明する。図16(a)、(b)は、ユーザが等倍を指示した際の画像表示状態を示す画面図であり、図17は、その際のシーケンス図である。
(A) Sequence when User Instructs Same Magnification First, a sequence when the user instructs equal magnification will be described with reference to FIGS. 16 and 17. FIGS. 16A and 16B are screen diagrams showing an image display state when the user instructs the same size, and FIG. 17 is a sequence diagram at that time.

ユーザが図16(a)に示すような縮小表示状態から、拡大ボタン1001で画像表示エリア751上をクリックした場合について説明する。ユーザがクリックすると、クライアント装置101はステップS1601において、上記の式(11)〜式(14)のとおり元RAW画像データの切り出しエリアを算出する。そして、算出結果に基づき花部分の元RAW画像データの切り出し処理を行って縮小RAW画像データを生成した後、サーバ装置105へ縮小RAW画像データを送信する。   A case where the user clicks on the image display area 751 with the enlarge button 1001 from the reduced display state as shown in FIG. When the user clicks, in step S1601, the client apparatus 101 calculates a cut-out area of the original RAW image data according to the above expressions (11) to (14). Then, after cutting out the original RAW image data of the flower portion based on the calculation result to generate reduced RAW image data, the reduced RAW image data is transmitted to the server device 105.

サーバ装置105は縮小RAW画像データをクライアント装置101から受信すると、ステップS1602において縮小RAW画像データに対して現像処理を行う。そして、ステップS1603においてサーバ装置105はその結果をJPEGエンコードした後、クライアント装置101へ送信する。   When the server apparatus 105 receives the reduced RAW image data from the client apparatus 101, the server apparatus 105 performs development processing on the reduced RAW image data in step S1602. In step S1603, the server apparatus 105 JPEG-encodes the result and transmits the result to the client apparatus 101.

クライアント装置101は現像結果をサーバ装置105から受信すると、ステップS1604において、画像表示エリア751の表示更新を行うことにより、図16(b)に示すような花部分が等倍で表示された状態とする。   When the client apparatus 101 receives the development result from the server apparatus 105, in step S1604, the display update of the image display area 751 is performed, so that the flower part as shown in FIG. To do.

(B)ユーザがスクロール操作を行った場合のシーケンス
次に、ユーザがスクロール操作を行った場合のシーケンスについて、図18及び図19を参照して説明する。図18(a)、(b)は、ユーザがスクロール操作を行った際の画像表示状態を示す画面図であり、図19は、その際のシーケンス図である。
(B) Sequence when user performs scroll operation Next, a sequence when the user performs a scroll operation will be described with reference to FIGS. 18 and 19. FIGS. 18A and 18B are screen diagrams showing an image display state when the user performs a scroll operation, and FIG. 19 is a sequence diagram at that time.

図18(a)に示すような表示状態から、ユーザがスクロールボタン1101を下方向にドラッグすると、クライアント装置101はステップS1701において、式(15)〜式(18)のとおり元RAW画像データの切り出しエリアを算出する。次に、算出結果に基づき草部分の元RAW画像データの切り出し処理を行って縮小RAW画像データを生成した後、サーバ装置105へと縮小RAW画像データを送信する。   When the user drags the scroll button 1101 downward from the display state as shown in FIG. 18A, the client apparatus 101 extracts the original RAW image data as shown in Expressions (15) to (18) in Step S1701. Calculate the area. Next, after the raw RAW image data of the grass portion is cut out based on the calculation result to generate reduced RAW image data, the reduced RAW image data is transmitted to the server device 105.

サーバ装置105は縮小RAW画像データをクライアント装置101から受信すると、ステップS1702において縮小RAW画像データに対して現像を行い、その結果をステップS1703においてJPEGエンコードした後、クライアント装置101へ送信する。クライアント装置101は現像結果をサーバ装置105から受信すると、ステップS1704において、画像表示エリア751の表示更新を行うことにより、図18(b)に示すような草部分が等倍で表示された状態とする。   When the server apparatus 105 receives the reduced RAW image data from the client apparatus 101, the server apparatus 105 develops the reduced RAW image data in step S1702, and JPEG-encodes the result in step S1703, and transmits the result to the client apparatus 101. When the client apparatus 101 receives the development result from the server apparatus 105, in step S1704, by updating the display of the image display area 751, the grass portion as shown in FIG. To do.

以上説明したとおり、本実施の形態では、ユーザによる拡大・縮小・スクロール操作といった画像表示状態の変更にともなって、クライアント装置101は元RAW画像データを切り出して縮小RAW画像データを生成し、サーバ装置105へ再送信する。そして、サーバ装置105は再送信された縮小RAW画像データに対して現像処理を行い、その結果をクライアント装置101へ送信する。このことにより、ユーザが等倍でのRAW現像結果を部分的に確認できる。   As described above, in the present embodiment, the client apparatus 101 cuts out the original RAW image data to generate reduced RAW image data in accordance with the change in the image display state such as the enlargement / reduction / scroll operation by the user, and the server apparatus Retransmit to 105. Then, the server apparatus 105 performs development processing on the retransmitted reduced RAW image data, and transmits the result to the client apparatus 101. Thus, the user can partially confirm the RAW development result at the same magnification.

また、クライアント装置101は等倍表示時には、表示エリアを考慮して元RAW画像データに対して切り出し処理を行い、必要最小限の元RAW画像データをサーバ装置105へと送信する。したがって、高解像度画像での確認を画像表示更新のレスポンスを維持して行うことができる。これは、ユーザが合焦点位置の詳細を確認する必要がある場合において、画像全体で確認する必要はないときに、ユーザ所望する箇所をより高速で高画質に表示することができ、ユーザビリティが向上する。   Further, at the same magnification display, the client apparatus 101 performs a clipping process on the original RAW image data in consideration of the display area, and transmits the minimum necessary original RAW image data to the server apparatus 105. Therefore, confirmation with a high-resolution image can be performed while maintaining a response to image display update. This is because when the user needs to check the details of the in-focus position, it is possible to display the portion desired by the user at higher speed and higher image quality when there is no need to check the entire image, and the usability is improved. To do.

[他の実施の形態]
なお、本発明の目的は、以下の処理を実行することによっても達成される。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。
[Other embodiments]
The object of the present invention can also be achieved by executing the following processing. That is, a storage medium that records a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. This is the process of reading the code.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.

また、プログラムコードを供給するための記憶媒体としては、次のものを用いることができる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等である。または、プログラムコードをネットワークを介してダウンロードしてもよい。   Moreover, the following can be used as a storage medium for supplying the program code. For example, floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM or the like. Alternatively, the program code may be downloaded via a network.

また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現される場合も本発明に含まれる。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, the present invention includes a case where the function of the above-described embodiment is realized by executing the program code read by the computer. In addition, an OS (operating system) running on the computer performs part or all of the actual processing based on an instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Is also included.

更に、前述した実施形態の機能が以下の処理によって実現される場合も本発明に含まれる。即ち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う場合である。   Furthermore, a case where the functions of the above-described embodiment are realized by the following processing is also included in the present invention. That is, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing.

101 クライアント装置
102 デジタルカメラ
104 インターネット回線
105 サーバ装置
101 Client Device 102 Digital Camera 104 Internet Line 105 Server Device

Claims (20)

サーバ装置とネットワークを介して接続されたクライアント装置であって、
画像を縮小することによって縮小画像を生成する縮小手段と、
前記縮小画像を前記サーバ装置へ送信する送信手段と、
前記サーバ装置が縮小画像を画像処理した結果を、前記サーバ装置から受信する第1の受信手段と、
前記縮小画像の画像処理の結果を画面に表示する表示手段と、
前記表示手段が前記縮小画像の画像処理の結果を画面に表示した後、前記元画像に対する画像処理の実行指示を前記サーバ装置へ発行する発行手段と、
前記送信手段が前記縮小画像を前記サーバ装置へ送信するとき、前記元画像の前記サーバ装置への送信処理を開始する開始手段を有することを特徴とするクライアント装置
A client apparatus connected via the server apparatus and the network,
Reduction means for generating a reduced image by reducing the original image;
A transmit unit that sends the reduced image to the server apparatus,
First receiving means for receiving, from the server device, a result of image processing of the reduced image by the server device;
Display means for displaying a result of image processing of the reduced image on a screen;
An issuing means for issuing an image processing execution instruction for the original image to the server device after the display means displays the image processing result of the reduced image on the screen;
A client device , comprising: a start unit that starts transmission processing of the original image to the server device when the transmission unit transmits the reduced image to the server device .
前記縮小手段は、前記画面の表示サイズに合わせて前記元画像を縮小することを特徴とする請求項1に記載のクライアント装置The client device according to claim 1, wherein the reduction unit reduces the original image according to a display size of the screen. 前記縮小手段は、前記画面に表示される画像のエリアの変更の指示があると、前記元画像の前記エリアと対応する部分を切り出して前記縮小画像を生成することを特徴とする請求項1または2に記載のクライアント装置2. The reduction unit according to claim 1, wherein when there is an instruction to change an area of an image displayed on the screen, the reduction unit generates a reduced image by cutting out a portion corresponding to the area of the original image. 3. The client device according to 2. 前記元画像はRAW画像データであり、前記画像処理は前記RAW画像データの現像処理であることを特徴とする請求項1乃至3のいずれか1項に記載のクライアント装置4. The client apparatus according to claim 1, wherein the original image is RAW image data, and the image processing is development processing of the RAW image data. 前記縮小画像を生成するために用いるデコーダプログラムおよび縮小処理プログラムのうち少なくとも1つを前記サーバ装置から受信するプログラム受信手段をさらに備えたことを特徴とする請求項1乃至4のいずれか1項に記載のクライアント装置。5. The apparatus according to claim 1, further comprising a program receiving unit configured to receive at least one of a decoder program and a reduction processing program used for generating the reduced image from the server device. The client device described. 前記縮小画像に対する画像処理に用いられた調整値を用いて、前記元画像に対して画像処理が実行された結果を前記サーバ装置から受信する受信手段をさらに備えたことを特徴とする請求項1乃至5のいずれか1項に記載のクライアント装置。2. The image processing apparatus according to claim 1, further comprising a receiving unit configured to receive, from the server device, a result of image processing performed on the original image using an adjustment value used for image processing on the reduced image. 6. The client device according to any one of items 1 to 5. 前記元画像の前記サーバ装置への送信処理が完了したか否かを判定する判定手段をさらに備え、A determination unit for determining whether or not the transmission process of the original image to the server device is completed;
前記受信手段は、前記送信処理が完了していると判定されれば、前記縮小画像に対する画像処理に用いた調整値を用いて、前記元画像に対して画像処理が実行された結果を前記サーバ装置から受信することを特徴とする請求項6に記載のクライアント装置。If it is determined that the transmission processing has been completed, the reception unit uses the adjustment value used for the image processing on the reduced image to indicate the result of image processing performed on the original image on the server. The client device according to claim 6, wherein the client device receives the information from the device.
クライアント装置とネットワークを介して接続されたサーバ装置であって、A server device connected to a client device via a network,
縮小画像を前記クライアント装置から受信する受信手段と、Receiving means for receiving a reduced image from the client device;
前記縮小画像に対して画像処理を実行する画像処理手段と、Image processing means for performing image processing on the reduced image;
前記画像処理手段が前記縮小画像に対して画像処理を実行した結果を、前記クライアント装置へ送信する送信手段と、Transmitting means for transmitting the result of image processing performed on the reduced image by the image processing means to the client device;
前記受信手段が前記縮小画像を前記クライアント装置から受信するとき、前記元画像の前記クライアント装置からの受信処理を開始する開始手段を備え、When the receiving unit receives the reduced image from the client device, the receiving unit includes a starting unit that starts reception processing of the original image from the client device,
前記画像処理手段は、前記縮小画像に対して画像処理を実行し、前記元画像に対する画像処理の実行指示を前記クライアント装置から受け付けた後、前記縮小画像に対する画像処理に用いた調整値を用いて、前記元画像に対する画像処理を実行することを特徴とするサーバ装置。The image processing unit performs image processing on the reduced image, receives an instruction to perform image processing on the original image from the client device, and then uses the adjustment value used for image processing on the reduced image. A server device that performs image processing on the original image.
前記元画像はRAW画像データであり、前記画像処理は前記RAW画像データの現像処理であることを特徴とする請求項8に記載のサーバ装置。9. The server apparatus according to claim 8, wherein the original image is RAW image data, and the image processing is development processing of the RAW image data. サーバ装置とネットワークを介して接続されたクライアント装置の制御方法であって、A method of controlling a client device connected to a server device via a network,
元画像を縮小することによって縮小画像を生成する縮小工程と、A reduction process for generating a reduced image by reducing the original image;
前記縮小画像を前記サーバ装置へ送信する送信工程と、A transmission step of transmitting the reduced image to the server device;
前記サーバ装置が縮小画像を画像処理した結果を、前記サーバ装置から受信する第1の受信工程と、A first receiving step of receiving, from the server device, a result of image processing of the reduced image by the server device;
前記縮小画像の画像処理の結果を画面に表示する表示工程と、  A display step of displaying a result of image processing of the reduced image on a screen;
前記表示工程で前記縮小画像の画像処理の結果を画面に表示した後、前記元画像に対する画像処理の実行指示を前記サーバ装置へ発行する発行工程と、An issue step of issuing an image processing execution instruction for the original image to the server device after the image processing result of the reduced image is displayed on the screen in the display step;
前記送信工程で前記縮小画像を前記サーバ装置へ送信するとき、前記元画像の前記サーバ装置への送信処理を開始する開始工程を有することを特徴とするクライアント装置の制御方法。A method for controlling a client device, comprising: a start step of starting transmission processing of the original image to the server device when the reduced image is transmitted to the server device in the transmission step.
前記縮小工程では、前記画面の表示サイズに合わせて前記元画像を縮小することを特徴とする請求項10に記載のクライアント装置の制御方法。The method according to claim 10, wherein in the reduction step, the original image is reduced in accordance with a display size of the screen. 前記縮小工程では、前記画面に表示される画像のエリアの変更の指示があると、前記元画像の前記エリアと対応する部分を切り出して前記縮小画像を生成することを特徴とする請求項10または11に記載のクライアント装置の制御方法。The reduced image is generated by cutting out a portion corresponding to the area of the original image when there is an instruction to change the area of the image displayed on the screen in the reducing step. 11. A method for controlling a client device according to 11. 前記元画像はRAW画像データであり、前記画像処理は前記RAW画像データの現像処理であることを特徴とする請求項10乃至12のいずれか1項に記載のクライアント装置の制御方法。13. The method of controlling a client device according to claim 10, wherein the original image is RAW image data, and the image processing is development processing of the RAW image data. 前記縮小画像を生成するために用いるデコーダプログラムおよび縮小処理プログラムのうち少なくとも1つを前記サーバ装置から受信するプログラム受信工程をさらに備えることを特徴とする請求項10乃至13のいずれか1項に記載のクライアント装置の制御方法。The program receiving step of receiving at least one of a decoder program and a reduction processing program used for generating the reduced image from the server device, further comprising: Client device control method. 前記縮小画像に対する画像処理に用いられた調整値を用いて、前記元画像に対して画像処理が実行された結果を前記サーバ装置から受信する受信工程をさらに備えることを特徴とする請求項10乃至14のいずれか1項に記載のクライアント装置の制御方法。11. The method according to claim 10, further comprising: a reception step of receiving, from the server device, a result of image processing performed on the original image using an adjustment value used for image processing on the reduced image. 14. The method for controlling a client device according to claim 14. 前記元画像の前記サーバ装置への送信処理が完了したか否かを判定する判定工程をさらに備え、A determination step of determining whether transmission processing of the original image to the server device is completed;
前記受信工程は、前記送信処理が完了していると判定されれば、前記縮小画像に対する画像処理に用いた調整値を用いて、前記元画像に対して画像処理が実行された結果を前記サーバ装置から受信することを特徴とする請求項15に記載のクライアント装置の制御方法。If it is determined that the transmission process has been completed, the reception step uses the adjustment value used for the image processing on the reduced image, and the result of executing the image processing on the original image is the server. 16. The method of controlling a client device according to claim 15, wherein the method is received from the device.
クライアント装置とネットワークを介して接続されたサーバ装置の制御方法であって、A method for controlling a server device connected to a client device via a network,
縮小画像を前記クライアント装置から受信する受信工程と、Receiving a reduced image from the client device;
前記縮小画像に対して画像処理を実行する画像処理工程と、An image processing step of performing image processing on the reduced image;
前記画像処理工程で前記縮小画像に対して画像処理を実行した結果を、前記クライアント装置へ送信する送信工程と、A transmission step of transmitting a result of image processing performed on the reduced image in the image processing step to the client device;
前記受信工程で前記縮小画像を前記クライアント装置から受信するとき、前記元画像の前記クライアント装置からの受信処理を開始する開始工程を備え、When receiving the reduced image from the client device in the receiving step, the method includes a start step of starting reception processing of the original image from the client device,
前記画像処理工程は、前記縮小画像に対して画像処理を実行し、前記元画像に対する画像処理の実行指示を前記クライアント装置から受け付けた後、前記縮小画像に対する画像処理に用いた調整値を用いて、前記元画像に対する画像処理を実行することを特徴とするサーバ装置の制御方法。The image processing step executes image processing on the reduced image, receives an instruction to execute image processing on the original image from the client device, and then uses the adjustment value used for image processing on the reduced image. A method for controlling a server apparatus, comprising performing image processing on the original image.
前記元画像はRAW画像データであり、前記画像処理は前記RAW画像データの現像処理であることを特徴とする請求項17に記載のサーバ装置の制御方法。The server device control method according to claim 17, wherein the original image is RAW image data, and the image processing is development processing of the RAW image data. サーバ装置とネットワークを介して接続されたクライアント装置の制御方法をコンピュータに実行させるためのプログラムであって、A program for causing a computer to execute a control method of a client device connected to a server device via a network,
前記クライアント装置の制御方法は、The control method of the client device is:
元画像を縮小することによって縮小画像を生成する縮小工程と、A reduction process for generating a reduced image by reducing the original image;
前記縮小画像を前記サーバ装置へ送信する送信工程と、A transmission step of transmitting the reduced image to the server device;
前記サーバ装置が縮小画像を画像処理した結果を、前記サーバ装置から受信する第1の受信工程と、A first receiving step of receiving, from the server device, a result of image processing of the reduced image by the server device;
前記縮小画像の画像処理の結果を画面に表示する表示工程と、A display step of displaying a result of image processing of the reduced image on a screen;
前記表示工程で前記縮小画像の画像処理の結果を画面に表示した後、前記元画像に対する画像処理の実行指示を前記サーバ装置へ発行する発行工程と、An issue step of issuing an image processing execution instruction for the original image to the server device after the image processing result of the reduced image is displayed on the screen in the display step;
前記送信工程で前記縮小画像を前記サーバ装置へ送信するとき、前記元画像の前記サーバ装置への送信処理を開始する開始工程を有することを特徴とするプログラム。A program comprising: a start step of starting transmission processing of the original image to the server device when the reduced image is transmitted to the server device in the transmission step.
クライアント装置とネットワークを介して接続されたサーバ装置の制御方法をコンピュータに実行させるためのプログラムであって、A program for causing a computer to execute a control method of a server device connected to a client device via a network,
前記サーバ装置の制御方法は、The control method of the server device is:
縮小画像を前記クライアント装置から受信する受信工程と、Receiving a reduced image from the client device;
前記縮小画像に対して画像処理を実行する画像処理工程と、An image processing step of performing image processing on the reduced image;
前記画像処理工程で前記縮小画像に対して画像処理を実行した結果を、前記クライアント装置へ送信する送信工程と、A transmission step of transmitting a result of image processing performed on the reduced image in the image processing step to the client device;
前記受信工程で前記縮小画像を前記クライアント装置から受信するとき、前記元画像の前記クライアント装置からの受信処理を開始する開始工程を備え、When receiving the reduced image from the client device in the receiving step, the method includes a start step of starting reception processing of the original image from the client device,
前記画像処理工程は、前記縮小画像に対して画像処理を実行し、前記元画像に対する画像処理の実行指示を前記クライアント装置から受け付けた後、前記縮小画像に対する画像処理に用いた調整値を用いて、前記元画像に対する画像処理を実行することを特徴とするプログラム。The image processing step executes image processing on the reduced image, receives an instruction to execute image processing on the original image from the client device, and then uses the adjustment value used for image processing on the reduced image. A program for executing image processing on the original image.
JP2014042081A 2009-04-30 2014-03-04 Client device, server device, control method thereof, and program Active JP5693766B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014042081A JP5693766B2 (en) 2009-04-30 2014-03-04 Client device, server device, control method thereof, and program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2009110718 2009-04-30
JP2009110718 2009-04-30
JP2014042081A JP5693766B2 (en) 2009-04-30 2014-03-04 Client device, server device, control method thereof, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010068620A Division JP5495879B2 (en) 2009-04-30 2010-03-24 Image processing system

Publications (2)

Publication Number Publication Date
JP2014123399A JP2014123399A (en) 2014-07-03
JP5693766B2 true JP5693766B2 (en) 2015-04-01

Family

ID=51403758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014042081A Active JP5693766B2 (en) 2009-04-30 2014-03-04 Client device, server device, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP5693766B2 (en)

Also Published As

Publication number Publication date
JP2014123399A (en) 2014-07-03

Similar Documents

Publication Publication Date Title
JP5495879B2 (en) Image processing system
US20040021909A1 (en) Image information distributing method, image information distributing system, central apparatus, terminal apparatus, scanner apparatus, and computer memory product
JP2006505862A (en) Method and system for performing image processing from mobile client device
EP3026919A1 (en) Image generation system and image generation-purpose program
JP2005327258A (en) Web service application based optical character recognition system and method
US8717589B2 (en) Image processing system, job execution method, and non-transitory computer-readable recording medium encoded with job execution program
CN101479783A (en) Image data providing device, image display system, image data providing device control method, image display device control method, control program, and storage medium
JP2009124316A (en) Information processing apparatus, information processing method, program, and recording medium
EP2750029B1 (en) Display processing apparatus, image forming apparatus, display processing system of a remote screen, and display processing method
CN107181888B (en) Image processing method and image forming system
JP6089454B2 (en) Image distribution apparatus, display apparatus, and image distribution system
JP2010176579A (en) Printing method, image forming apparatus, and web server
JP2009193248A (en) Image processing system
CN112035082B (en) Image processing method, device, system, and electronic device
JP6107246B2 (en) Image processing apparatus, image processing apparatus control method, and image processing apparatus control program
JP5693766B2 (en) Client device, server device, control method thereof, and program
CN112684990B (en) Printing system, printing method, and information processing apparatus
CN103227807B (en) Information processing system and method, information processor and method, information output apparatus and method
JP6977384B2 (en) Information processing equipment, programs and image output systems
JP2016066164A (en) Information processing device, information processing system, display device, and program
JP6175880B2 (en) Document output device, document output device control method, and document output device control program
US20070050830A1 (en) Image data transmission apparatus and method, remote display control apparatus and control method thereof, program, and storage medium
JP2007141152A (en) Digital camera, printing device, image supply device
CN112684989B (en) Printing system, printing method and information processing device
JP2007156357A (en) Screen operation device, server device, method thereof, program, and storage medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140402

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141226

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150203

R151 Written notification of patent or utility model registration

Ref document number: 5693766

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151