JP2013219589A - Image processing device, image processing method and program - Google Patents

Image processing device, image processing method and program Download PDF

Info

Publication number
JP2013219589A
JP2013219589A JP2012089304A JP2012089304A JP2013219589A JP 2013219589 A JP2013219589 A JP 2013219589A JP 2012089304 A JP2012089304 A JP 2012089304A JP 2012089304 A JP2012089304 A JP 2012089304A JP 2013219589 A JP2013219589 A JP 2013219589A
Authority
JP
Japan
Prior art keywords
image processing
moving image
image data
processing
reproduction
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
JP2012089304A
Other languages
Japanese (ja)
Inventor
Shinji Onishi
慎二 大西
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 JP2012089304A priority Critical patent/JP2013219589A/en
Publication of JP2013219589A publication Critical patent/JP2013219589A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve a reproduction frame rate by image processing having a low processing load while image moving data is reproduced, and to enable confirmation of a processing result similar to a final file output, while the reproduction is suspended.SOLUTION: When performing image processing on the moving image data by adjusting a plurality of image processing parameters, an image processing device displays an operation screen to set the plurality of image processing parameters, to reproduce the moving image data on a display unit as a moving image, on the basis of the image processing parameters. On the basis of the image processing parameters set on the operation screen, the image processing device image processes the moving image data to generate a moving image file having a predetermined file format. During reproduction operation, the image processing device makes at least a portion of the image processing parameters on the operation screen into an inoperable state, whereas during the suspension of the reproduction operation, the image processing device makes the image processing parameters, which are made into the inoperable state during the reproduction operation, into an operable state.

Description

本発明は、動画像データの処理を行うための画像処理装置、画像処理方法、およびプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program for processing moving image data.

一般に、撮像装置の一つであるデジタルカメラにおいて、撮影の結果得られた静止画データを記録する際、高画質モードによる撮影の場合には、イメージセンサーの出力をA/D変換した後直ちに記録するか又は必要最小限の画像処理を行って記録するRAW記録が行われる。   In general, when recording still image data obtained as a result of shooting in a digital camera, which is one of the imaging devices, in the case of shooting in a high image quality mode, the image sensor output is recorded immediately after A / D conversion. RAW recording is performed, or recording is performed with the minimum necessary image processing.

ビデオカメラにおいて動画像データを記録する際には、一般に、フラッシュメディア又はハードディスクなどのランダムアクセスメディアに動画像ファイルとして記録している。動画像データはそのデータサイズが大きいので、記録の際には画像圧縮によってそのデータサイズを小さくして記録している。   When moving image data is recorded in a video camera, it is generally recorded as a moving image file on a random access medium such as a flash medium or a hard disk. Since moving image data has a large data size, recording is performed by reducing the data size by image compression.

一方、記録メディアの大容量化および高速化により、動画像データを高画質記録する際に各フレームをRAW記録するようにしたビデオカメラがある。以下、動画像データがRAW記録されたファイルをRAW動画像ファイルと呼ぶ。   On the other hand, there is a video camera in which each frame is RAW-recorded when moving image data is recorded with high image quality due to an increase in capacity and speed of recording media. Hereinafter, a file in which moving image data is RAW recorded is referred to as a RAW moving image file.

ところで、RAW動画像ファイルを用いて映像作品を作成する場合、まず、RAW動画像ファイルの現像処理を行う、そして、現像処理後のRAW動画像ファイルを、その後の編集処理および色調整などの画像処理を行うための画像処理装置において読み込むことのできるファイル形式に変換する必要がある。また、RAW動画像ファイルを現像処理を行う際には、RAW動画像ファイルの素材の確認および画質調整を行うために再生処理を行う必要がある。   By the way, when creating a video work using a RAW moving image file, first, development processing of the RAW moving image file is performed, and then the RAW moving image file after development processing is subjected to subsequent editing processing, color adjustment, and the like. It is necessary to convert to a file format that can be read by an image processing apparatus for processing. Further, when performing development processing on a RAW moving image file, it is necessary to perform reproduction processing in order to confirm the material of the RAW moving image file and to adjust the image quality.

ところが、RAW動画像ファイルはそのデータサイズは大きいので、上記の各画像処理を行うための処理負荷が高く、当該画像処理を全てのフレームについて行うと、不可避的に再生フレームレートが低下してしまう。   However, since the data size of the RAW moving image file is large, the processing load for performing each of the above image processing is high, and if the image processing is performed for all the frames, the reproduction frame rate is inevitably lowered. .

RAW動画像ファイルを再生する際の処理負荷を低くするため、例えば、再生動作の状態に応じて処理速度を優先させる速度優先モードと画質を優先させる画質優先モードとを切り替えて、再生停止の際に画質優先モードによる高画質処理を行うようにしたものがある(特許文献1参照)。   In order to reduce the processing load when playing back a RAW moving image file, for example, when playback is stopped by switching between a speed priority mode that prioritizes processing speed and an image quality priority mode that prioritizes image quality according to the state of the playback operation. In some cases, high image quality processing is performed in the image quality priority mode (see Patent Document 1).

特開2004−56264号公報JP 2004-56264 A

ところで、画像処理を行った結果である画像ファイルを出力する場合、再生停止の際に画面表示される画像に係る処理を、当該画像ファイルを出力する際の画像処理と一致させることが望ましい。ところが、特許文献1に記載の画像処理においては、画像ファイルの出力設定に応じた処理を行っておらず、この結果、画像処理を行った後の画像ファイル(最終ファイル出力)とはその処理内容が異なる画像が再生表示されることがある。   By the way, when outputting an image file as a result of image processing, it is desirable to match the processing related to the image displayed on the screen when playback is stopped with the image processing when outputting the image file. However, in the image processing described in Patent Document 1, the processing according to the output setting of the image file is not performed. As a result, the image file after the image processing (final file output) is the processing content Different images may be played back and displayed.

つまり、特許文献1に記載の画像処理では、再生停止中において最終ファイル出力と同様の処理結果を確認できないことがある。   In other words, in the image processing described in Patent Document 1, the same processing result as that of the final file output may not be confirmed while reproduction is stopped.

従って、本発明の目的は、再生中においては処理負荷の低い画像処理によって再生フレームレートを向上させて、再生停止中においては最終ファイル出力と同様の処理結果の確認を行うことのできる画像処理装置、画像処理方法、およびプログラムを提供することにある。   Accordingly, an object of the present invention is to improve the reproduction frame rate by image processing with a low processing load during reproduction, and to confirm the processing result similar to the final file output when reproduction is stopped. An image processing method and a program are provided.

上記の目的を達成するため、本発明による画像処理装置は、動画像データを読み込んで、複数の画像処理パラメータを調節することにより当該動画像データに対して画像処理を行う画像処理装置であって、前記複数の画像処理パラメータを設定するための操作画面を表示部に表示させる画面表示制御手段と、前記複数の画像処理パラメータに基づき前記動画像データを表示部に動画像として再生する再生処理手段と、前記操作画面で設定された画像処理パラメータに基づき、前記動画像データを画像処理して所定のファイル形式の動画像ファイルを生成するファイル生成手段とを有し、前記画面表示制御手段は、前記再生処理手段により前記表示部に動画像を再生する再生動作中は、前記操作画面の少なくとも一部の画像処理パラメータの操作を不可能状態とし、前記再生動作の停止中は、再生動作中に前記操作画面において操作が不可能状態であった画像処理パラメータを操作可能状態とすることを特徴とする。   In order to achieve the above object, an image processing apparatus according to the present invention is an image processing apparatus that reads moving image data and performs image processing on the moving image data by adjusting a plurality of image processing parameters. A screen display control unit for displaying an operation screen for setting the plurality of image processing parameters on a display unit, and a reproduction processing unit for reproducing the moving image data as a moving image on the display unit based on the plurality of image processing parameters. And a file generation means for generating a moving image file in a predetermined file format by performing image processing on the moving image data based on the image processing parameters set on the operation screen, and the screen display control means, During a reproduction operation in which a moving image is reproduced on the display unit by the reproduction processing means, operation of at least some image processing parameters on the operation screen is performed. It was impossible state, the stopped playback operation, characterized in that the image processing parameter operation is impossible state in the operation screen during playback operation and operational.

本発明による制御方法は、動画像データを読み込んで、複数の画像処理パラメータを調節することにより当該動画像データに対して画像処理を行う画像処理装置の制御方法であって、前記複数の画像処理パラメータを設定するための操作画面を表示部に表示させる画面表示制御ステップと、前記複数の画像処理パラメータに基づき前記動画像データを表示部に動画像として再生する再生処理ステップと、前記操作画面で設定された画像処理パラメータに基づき、前記動画像データを画像処理して所定のファイル形式の動画像ファイルを生成するファイル生成ステップとを有し、前記画面表示制御ステップでは、前記再生処理ステップで前記表示部に動画像を再生する再生動作中は、前記操作画面の少なくとも一部の画像処理パラメータの操作を不可能状態とし、前記再生動作の停止中は、再生動作中に前記操作画面において操作が不可能状態であった画像処理パラメータを操作可能状態とすることを特徴とする。   A control method according to the present invention is a method for controlling an image processing apparatus that reads moving image data and performs image processing on the moving image data by adjusting a plurality of image processing parameters. A screen display control step for displaying an operation screen for setting parameters on the display unit, a reproduction processing step for reproducing the moving image data as a moving image on the display unit based on the plurality of image processing parameters, and the operation screen. A file generation step for generating a moving image file in a predetermined file format by performing image processing on the moving image data based on the set image processing parameter, and in the screen display control step, During a reproduction operation for reproducing a moving image on the display unit, operation of at least a part of the image processing parameters on the operation screen is performed. It was impossible state, the stopped playback operation, characterized in that the image processing parameter operation is impossible state in the operation screen during playback operation and operational.

本発明によるプログラムは、動画像データを読み込んで、複数の画像処理パラメータを調節することにより当該動画像データに対して画像処理を行う画像処理装置で用いられるプログラムであって、前記画像処理装置が備えるコンピュータに、前記複数の画像処理パラメータを設定するための操作画面を表示部に表示させる画面表示制御ステップと、前記複数の画像処理パラメータに基づき前記動画像データを表示部に動画像として再生する再生処理ステップと、前記操作画面で設定された画像処理パラメータに基づき、前記動画像データを画像処理して所定のファイル形式の動画像ファイルを生成するファイル生成ステップとを実行させ、前記画面表示制御ステップでは、前記再生処理ステップで前記表示部に動画像を再生する再生動作中は、前記操作画面の少なくとも一部の画像処理パラメータの操作を不可能状態とし、前記再生動作の停止中は、再生動作中に前記操作画面において操作が不可能状態であった画像処理パラメータを操作可能状態とすることを特徴とする。   The program according to the present invention is a program used in an image processing apparatus that reads moving image data and performs image processing on the moving image data by adjusting a plurality of image processing parameters. A screen display control step for causing the computer to display an operation screen for setting the plurality of image processing parameters on a display unit; and reproducing the moving image data as a moving image on the display unit based on the plurality of image processing parameters. The screen display control is performed by executing a reproduction processing step and a file generation step of generating an image file of a predetermined file format by performing image processing on the moving image data based on an image processing parameter set on the operation screen. In the step, during the reproduction operation of reproducing the moving image on the display unit in the reproduction processing step The operation of at least a part of the image processing parameters on the operation screen is disabled, and the image processing parameters that cannot be operated on the operation screen can be operated during the playback operation while the playback operation is stopped. It is characterized by being in a state.

本発明によれば、再生中においては処理負荷の低い画像処理によって再生フレームレートを向上させて、再生停止中においては最終ファイル出力と同様の処理結果の確認を行うことができる。   According to the present invention, it is possible to improve the playback frame rate by image processing with a low processing load during playback, and to check the processing result similar to the final file output while playback is stopped.

本発明の実施の形態による画像処理装置の構成を示すロック図である。1 is a lock diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention. 図1に示すPCで処理される画像データを説明するための図であり、(a)はベイヤー配列された6行×6列の画素値(RAW画像データ)を示す図、(b)はRAWデータに対して補間処理を行った後の赤(R)画像データを示す図、(c)はRAWデータに対して補間処理を行った後の緑(G)画像データを示す図、(d)はRAWデータに対して補間処理を行った後の青(B)画像データを示す図である。2A and 2B are diagrams for explaining image data processed by the PC shown in FIG. 1, in which FIG. 1A is a diagram showing pixel values (RAW image data) of 6 rows × 6 columns arranged in a Bayer array, and FIG. The figure which shows the red (R) image data after performing the interpolation process with respect to data, (c) is the figure which shows the green (G) image data after performing the interpolation process with respect to RAW data, (d) FIG. 4 is a diagram showing blue (B) image data after performing interpolation processing on RAW data. 図1に示すPCで実行される画像処理アプリケーションが表示する画面構成の一例を示す図である。It is a figure which shows an example of the screen structure which the image processing application performed with PC shown in FIG. 1 displays. 図1に示すPCで動作する画像処理アプリケーションによる処理を説明するためのフローチャートである。3 is a flowchart for explaining processing by an image processing application operating on the PC shown in FIG. 1. 図4に示す現像UI表示処理を詳細に説明するためのフローチャートである。5 is a flowchart for explaining in detail a development UI display process shown in FIG. 4. 図3に示す現像UI表示画面においてファイル選択状態、現像モード設定、および再生動作状態の相違によるスライダーコントロール、現像モードチェックボックス、およびファイル出力ボタンのUI表示を説明するための図であり、(a)はUI示す表示の第1の状態を示す図、(b)はUI示す表示の第2の状態を示す図、(c)はUI示す表示の第3の状態を示す図、(d)はUI示す表示の第4の状態を示す図、(e)はUI示す表示の第5の状態を示す図である。FIG. 4 is a diagram for explaining UI display of a slider control, a development mode check box, and a file output button according to a difference in a file selection state, a development mode setting, and a reproduction operation state on the development UI display screen shown in FIG. ) Is a diagram showing a first state of the UI display, (b) is a diagram showing a second state of the UI display, (c) is a diagram showing a third state of the UI display, and (d) is a diagram showing the third state of the UI display. The figure which shows the 4th state of the display which shows UI, (e) is a figure which shows the 5th state of the display which shows UI. 図4に示す現像処理を詳細に説明するためのフローチャートである。5 is a flowchart for explaining in detail the development processing shown in FIG. 4. 図7に示す簡易補間処理および補間処理を説明するための図であり、(a)はベイヤー配列のRAW画像データの一部を示す図、(b)はRAW画像データに対して補間処理を行った結果であるR画像データを示す図、(c)はRAW画像データに対して補間処理を行った結果であるおよびG画像データを示す図である。8A and 8B are diagrams for explaining the simple interpolation process and the interpolation process shown in FIG. 7, in which FIG. 7A is a diagram illustrating a part of RAW image data with a Bayer array, and FIG. FIG. 7C is a diagram showing R image data as a result of the above, and FIG. 8C is a diagram showing G image data as a result of performing interpolation processing on RAW image data.

以下、本発明の実施の形態による画像処理装置の一例について図面を参照して説明する。   Hereinafter, an example of an image processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態による画像処理装置の構成を示すロック図である。   FIG. 1 is a lock diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention.

図1において、図示の画像処理装置は、例えば、パーソナルコンピュータ(PC)100であり、当該PC100にインストールされた画像処理アプリケーションが画像処理を実行する。   In FIG. 1, the illustrated image processing apparatus is, for example, a personal computer (PC) 100, and an image processing application installed in the PC 100 executes image processing.

PC100はCPU101を備えており、ROM102にはCPU101で実行される処理の手順を記述した制御プログラムが記憶されている。また、RAM103はワークメモリとして用いられ、一時的に制御プログラムおよびデータを格納する。   The PC 100 includes a CPU 101, and the ROM 102 stores a control program that describes the procedure of processing executed by the CPU 101. The RAM 103 is used as a work memory and temporarily stores control programs and data.

PC100はHDD104を有しており、HDD104にはアプリケーションおよびオペレーティングシステム(OS)などの各種プログラム、そして、データが格納される。PC100には、フラッシュメモリカード150又は外付HDD160などの外部記録媒体111を接続するための外部インタフェース(IF)105が備えられている。PC100には、マウス113およびキーボード114などの入力デバイス112から与えられるユーザ入力を処理するためのユーザIF106が備えられている。   The PC 100 has an HDD 104, and various programs such as an application, an operating system (OS), and data are stored in the HDD 104. The PC 100 is provided with an external interface (IF) 105 for connecting an external recording medium 111 such as a flash memory card 150 or an external HDD 160. The PC 100 is provided with a user IF 106 for processing user input given from an input device 112 such as a mouse 113 and a keyboard 114.

図示のように、PC100はVRAM107、画像処理部108、表示制御部109、および液晶ディスプレイなどのディスプレイ110(表示部)を備えており、VRAM107にはディスプレイ110に画像として表示される画像データが格納される。そして、上述の構成要素(ブロック)は、制御信号およびデータ信号のための伝送路である内部バス115によって相互に接続されている。   As illustrated, the PC 100 includes a VRAM 107, an image processing unit 108, a display control unit 109, and a display 110 (display unit) such as a liquid crystal display. The VRAM 107 stores image data to be displayed as an image on the display 110. Is done. The above-described components (blocks) are connected to each other by an internal bus 115 that is a transmission path for control signals and data signals.

図2は、図1に示すPC100で処理される画像データを説明するための図である。そして、図2(a)はベイヤー配列された6行×6列の画素値(RAW画像データ)を示す図であり、図2(b)はRAWデータに対して補間処理を行った後の赤(R)画像データを示す図である。また、図2(c)はRAW画像データに対して補間処理を行った後の緑(G)画像データを示す図であり、図2(d)はRAWデータに対して補間処理を行った後の青(B)画像データを示す図である。   FIG. 2 is a view for explaining image data processed by the PC 100 shown in FIG. FIG. 2A is a diagram showing pixel values (RAW image data) of 6 rows × 6 columns arranged in a Bayer array, and FIG. 2B is a red color after interpolation processing is performed on the RAW data. (R) It is a figure which shows image data. FIG. 2C is a diagram showing the green (G) image data after the interpolation processing is performed on the RAW image data, and FIG. 2D is a diagram after the interpolation processing is performed on the RAW data. It is a figure which shows blue (B) image data.

図2(a)において、イメージセンサー(撮像素子:図示せず)の各画素には、R(赤色)、G(緑色)、およびB(青色)のカラーフィルターが交互にされている。そして、4画素が一組となる所謂ベイヤー配列が形成される。なお、図2(a)に示すR、G、およびBは赤色,緑色,および青色のカラーフィルターを備える光電変換部(受光部)である。   In FIG. 2A, R (red), G (green), and B (blue) color filters are alternately arranged in each pixel of an image sensor (imaging device: not shown). Then, a so-called Bayer array in which a set of four pixels is formed is formed. Note that R, G, and B shown in FIG. 2A are photoelectric conversion units (light receiving units) including red, green, and blue color filters.

ベイヤー配列された受光部において光電変換された画素値はデジタル化された後画像処理が施される。ベイヤー配列における画素値データは一般にRAW画像データと呼ばれる。RAW画像データに対して、通常の画像データは各画素値がR、G、Bの値で構成されるデータであり、図2(b)〜図2(d)に示すように、6列×6行の画素は6列×6行のR、G、B画素で構成される。   The pixel values photoelectrically converted in the Bayer-arrayed light receiving units are digitized and then subjected to image processing. The pixel value data in the Bayer array is generally called RAW image data. In contrast to the RAW image data, normal image data is data in which each pixel value is composed of R, G, and B values. As shown in FIGS. 2 (b) to 2 (d), 6 columns × Six rows of pixels are composed of 6 columns × 6 rows of R, G, and B pixels.

図2(b)〜図2(d)に示す6列×6行の画像データを作成するためには、図2(a)に示す6列×6行の画素値に対して補間処理を行う必要がある。RAW画像データに対する補間処理はディベイヤー処理と呼ばれる。また、RAW画像データに対してディベイヤー処理および色処理などの画像処理を行って、通常の画像データを生成する処理は現像処理と呼ばれる。   In order to create the image data of 6 columns × 6 rows shown in FIGS. 2B to 2D, interpolation processing is performed on the pixel values of 6 columns × 6 rows shown in FIG. There is a need. Interpolation processing for RAW image data is called debayer processing. Further, processing for generating normal image data by performing image processing such as debayer processing and color processing on RAW image data is called development processing.

RAW動画像ファイルに対して、編集、特殊効果の付加、および色調整などの処理を行う場合には、RAW画像データ(動画像データ)のままでは当該処理ができない。このため、現像処理を行った後、一般的なファイル形式とする必要がある。図1に示す画像処理装置で用いられる画像処理アプリケーションは、RAW画像データ(動画像データ)について現像処理を行って、ファイル出力を行うアプリケーションである。   When processing such as editing, addition of special effects, and color adjustment is performed on a RAW moving image file, the processing cannot be performed with RAW image data (moving image data) as it is. For this reason, it is necessary to use a general file format after development processing. The image processing application used in the image processing apparatus shown in FIG. 1 is an application that performs development processing on RAW image data (moving image data) and outputs a file.

図3は、図1に示すPC100で実行される画像処理アプリケーションが表示する画面構成の一例を示す図である。なお、この画像処理アプリケーションはCPU101で実行され、CPU101は画像処理部108を制御して表示制御部109を介して図3に示す画像処理画面(現像UI表示画面ともいう)300をディスプレイ110に表示する。   FIG. 3 is a diagram showing an example of a screen configuration displayed by the image processing application executed on the PC 100 shown in FIG. This image processing application is executed by the CPU 101, and the CPU 101 controls the image processing unit 108 to display the image processing screen (also referred to as a development UI display screen) 300 shown in FIG. 3 on the display 110 via the display control unit 109. To do.

画像処理画面(つまり、操作画面)300は、動画像ファイル選択エリア301を有している。この動画像ファイル選択エリア301には、例えば、HDD104に記録されたRAW動画像ファイルが表示され、ユーザは動画像ファイル選択エリア301に表示された動画像ファイルから所望のRAW動画像ファイルを選択する。図示の例では、動画像ファイル選択エリア301には、RAW動画像ファイルが記録されたフォルダ”Folder1”〜”Folder3”が表示され、フォルダ”Folder1”〜”Folder3”のいずれかを選択することによって、ユーザ所望のRAW動画像ファイルが選択される。   The image processing screen (that is, the operation screen) 300 has a moving image file selection area 301. In this moving image file selection area 301, for example, a RAW moving image file recorded in the HDD 104 is displayed, and the user selects a desired RAW moving image file from the moving image files displayed in the moving image file selection area 301. . In the illustrated example, folders “Folder1” to “Folder3” in which RAW moving image files are recorded are displayed in the moving image file selection area 301. By selecting any of the folders “Folder1” to “Folder3”, A user-desired RAW moving image file is selected.

プレビューエリア302は、動画像ファイル選択エリア301で選択されたRAW動画像ファイルをプレビュー表示するためのエリアである。情報表示エリア303は、選択されたRAW動画像ファイルに関する情報が表示されるエリアである。例えば、情報表示エリア303には、プレビュー再生中のフレームに関するタイムコードおよびRAW動画像ファイルの長さが表示される。   The preview area 302 is an area for displaying a preview of the RAW moving image file selected in the moving image file selection area 301. The information display area 303 is an area where information regarding the selected RAW moving image file is displayed. For example, the information display area 303 displays the time code and the length of the RAW moving image file relating to the frame being previewed.

さらに、画像処理画面(操作画面)300には、RAW動画像ファイル用再生ボタン304および再生一時停止ボタン305が表示されるとともに、スライダーコントロール306〜309が表示される。スライダーコントロール(現像UIともいう)306、307、308、および309はそれぞれRAW画像ファイルを現像処理した際の明るさ、色合い、シャープネス、およびノイズに関する処理を規定する複数の画質パラメータ(画像処理パラメータともいう)を調整又は調節するためのものである。   Further, on the image processing screen (operation screen) 300, a RAW moving image file playback button 304 and a playback pause button 305 are displayed, and slider controls 306 to 309 are displayed. Slider controls (also referred to as development UIs) 306, 307, 308, and 309 are each a plurality of image quality parameters (also referred to as image processing parameters) that define processing relating to brightness, hue, sharpness, and noise when a RAW image file is developed. For adjusting or adjusting).

現像モードチェックボックス310は、動画像ファイルの出力の際に適用する現像処理のモードを切り替えるためのチェックボックスである。画像処理部108で動作する画像処理アプリケーションは、処理速度を優先させるための高速現像モードと画質を優先させるための高画質現像モードとを有している。現像モードチェックボックス310がチェック状態であると、画像処理アプリケーションは高速現像処理を行う。一方、現像モードチェックボックス310が未チェック状態であると、画像処理アプリケーションは高画質現像処理を行う。高速現像処理および高画質現像処理については後述する。   The development mode check box 310 is a check box for switching a development processing mode to be applied when a moving image file is output. An image processing application operating in the image processing unit 108 has a high-speed development mode for giving priority to processing speed and a high-quality development mode for giving priority to image quality. When the development mode check box 310 is checked, the image processing application performs high-speed development processing. On the other hand, if the development mode check box 310 is unchecked, the image processing application performs high-quality development processing. High-speed development processing and high-quality development processing will be described later.

ファイル出力ボタン311は、選択されたRAW動画像ファイルを一般的な所定のファイル形式(つまり、動画像ファイル)で出力する際に用いられる。   The file output button 311 is used when outputting the selected RAW moving image file in a general predetermined file format (that is, a moving image file).

図4は、図1に示すPC100で動作する画像処理アプリケーションによる処理を説明するためのフローチャートである。   FIG. 4 is a flowchart for explaining processing by the image processing application operating on the PC 100 shown in FIG.

いま、画像処理アプリケーションが起動されると、CPU101は動画像ファイル選択エリア301においてユーザがHDD104に記録されたRAW動画像ファイルを選択したか否かを判定する(ステップS401)。RAW動画像ファイルが選択されないと(ステップS401において、NO)CPU101は待機する。   When the image processing application is activated, the CPU 101 determines whether or not the user has selected a RAW moving image file recorded in the HDD 104 in the moving image file selection area 301 (step S401). If no RAW moving image file is selected (NO in step S401), the CPU 101 stands by.

一方、RAW動画像ファイルが選択されると(ステップS401において、YES)、CPU101は、当該選択されたRAW動画像ファイルから先頭フレームのRAW画像データ(動画像データ)をRAM103に確保したRAW画像フレームメモリに読み込む(ステップS402)。続いて、CPU101は動画再生における内部状態を示す変数Playに再生停止中であることを示す値FALSEをセットする(ステップS403)。   On the other hand, when a RAW moving image file is selected (YES in step S401), the CPU 101 determines a RAW image frame in which the RAW image data (moving image data) of the first frame is secured in the RAM 103 from the selected RAW moving image file. The data is read into the memory (step S402). Subsequently, the CPU 101 sets a value FALSE indicating that the reproduction is stopped to a variable Play indicating the internal state in the moving image reproduction (step S403).

次に、CPU101は図3に示す現像UI306〜311の表示処理を行う(ステップS404)。なお、ステップS404の処理については後述する。その後、CPU101はRAW画像フレームメモリに読み込んだRAW画像データの現像処理を行って、現像処理後の画像データをRAM103に確保した画像データフレームメモリに書き込む(ステップS405)。ステップS405の現像処理については後述する。   Next, the CPU 101 performs display processing of the development UIs 306 to 311 shown in FIG. 3 (step S404). The process of step S404 will be described later. Thereafter, the CPU 101 performs development processing of the raw image data read into the raw image frame memory, and writes the developed image data in the image data frame memory secured in the RAM 103 (step S405). The developing process in step S405 will be described later.

続いて、CPU101は、画像処理部108を制御して表示制御部109を介して画像フレームメモリに書き込んだ画像データをプレビューエリア302に表示する(ステップS406)。   Subsequently, the CPU 101 controls the image processing unit 108 to display the image data written in the image frame memory via the display control unit 109 in the preview area 302 (step S406).

次に、CPU101は再生ボタン304が押されたか否かを判定する(ステップS407)。再生ボタン304が押されないと(ステップS407において、NO)、CPU101はスライダーコントロール306、307、308、および309のいずれかが操作されたか否かを判定する(ステップS408)。つまり、CPU101は画質パラメータが操作されたか否かを判定することになる。   Next, the CPU 101 determines whether or not the playback button 304 has been pressed (step S407). If play button 304 is not pressed (NO in step S407), CPU 101 determines whether any of slider controls 306, 307, 308, and 309 has been operated (step S408). That is, the CPU 101 determines whether or not the image quality parameter has been operated.

画質パラメータが操作されると(ステップS408において、YES)、CPU101はステップS405の処理に戻って、画質パラメータの操作に対応する現像処理を行って、プレビューエリア302を更新する。画質パラメータが操作されないと(ステップS408において、NO)、CPU101は現像モードチェックボックス310がチェックされているか否かを判定する(ステップS409)。   When the image quality parameter is operated (YES in step S408), the CPU 101 returns to the process of step S405, performs a development process corresponding to the operation of the image quality parameter, and updates the preview area 302. If the image quality parameter is not operated (NO in step S408), the CPU 101 determines whether or not the development mode check box 310 is checked (step S409).

現像モードチェックボックス310がチェックされていると(ステップS409において、YES)、CPU101はステップS404の処理に戻って、現像UI表示の更新を行う。そして、CPU101は選択された現像モードに応じた現像処理を行って、プレビューエリア302を更新する。   If development mode check box 310 is checked (YES in step S409), CPU 101 returns to the processing in step S404 and updates the development UI display. Then, the CPU 101 performs development processing according to the selected development mode, and updates the preview area 302.

現像モードチェックボックス310がチェックされていないと(ステップS409において、NO)、CPU101は動画像ファイル選択エリア301においてユーザが別のRAW動画像ファイルを選択したか否かを判定する(ステップS410)。別のRAW動画像ファイルが選択された場合(ステップS410において、YES)、CPU101はステップS402の処理に戻って、選択されたRAW動画像ファイルの先頭フレームを読み込んでの現像処理を行い、プレビューエリア302を更新する。   If development mode check box 310 is not checked (NO in step S409), CPU 101 determines whether or not the user has selected another RAW moving image file in moving image file selection area 301 (step S410). If another RAW moving image file has been selected (YES in step S410), the CPU 101 returns to the processing in step S402, performs development processing by reading the first frame of the selected RAW moving image file, and performs a preview area. 302 is updated.

別のRAW動画像ファイルが選択されていない場合(ステップS410において、NO)、CPU101はファイル出力ボタン311が押されたか否かを判定する(ステップS411)。ファイル出力ボタン311が押されないと(ステップS411において、NO)、CPU101はステップS407の処理に戻る。   When another RAW moving image file has not been selected (NO in step S410), CPU 101 determines whether or not file output button 311 has been pressed (step S411). If file output button 311 is not pressed (NO in step S411), CPU 101 returns to the process in step S407.

一方、ファイル出力ボタンが押されると(ステップS411において、YES)、CPU101は先頭フレームのRAW画像データをRAM103に確保したRAW画像フレームメモリに読み込む(ステップS412)。そして、CPU101はRAW画像フレームメモリに読み込んだRAW画像データの現像処理を行って、RAM103に確保した画像データフレームメモリに現像後の画像データを書き込む(ステップS413)。   On the other hand, when the file output button is pressed (YES in step S411), the CPU 101 reads the RAW image data of the first frame into the RAW image frame memory secured in the RAM 103 (step S412). Then, the CPU 101 develops the RAW image data read into the RAW image frame memory, and writes the developed image data in the image data frame memory secured in the RAM 103 (step S413).

次に、CPU101は画像フレームメモリに書き込んだ画像データを所定のファイル形式でHDD104に出力する(ステップS414)。そして、CPU101は現像したフレームが選択されたRAW動画像ファイルの最終フレームであるか否かを判定する(ステップS415)。最終フレームではないと(ステップS415において、NO)、CPU101はステップS412の処理に戻って、次のフレームの処理を行う。最終フレームである場合には(ステップS415において、YES)、CPU101はファイル出力処理を終了して、ステップS407の処理に進む。   Next, the CPU 101 outputs the image data written in the image frame memory to the HDD 104 in a predetermined file format (step S414). Then, the CPU 101 determines whether or not the developed frame is the last frame of the selected RAW moving image file (step S415). If it is not the last frame (NO in step S415), the CPU 101 returns to the process of step S412 and performs the process of the next frame. If it is the last frame (YES in step S415), the CPU 101 ends the file output process and proceeds to the process of step S407.

ステップS407において、再生ボタン304が押されると(ステップS407において、YES)、CPU101は動画再生の内部状態を示す変数Playに再生中であることを示す値TRUEをセットする(ステップS416)。そして、CPU101は現像UI表示の更新を行う(ステップS417)。   When the playback button 304 is pressed in step S407 (YES in step S407), the CPU 101 sets a value TRUE indicating that playback is in progress to a variable Play indicating the internal state of moving image playback (step S416). Then, the CPU 101 updates the development UI display (step S417).

続いて、CPU101はプレビュー表示されているフレームの次フレームのRAW画像データをRAM103に確保したRAW画像フレームメモリに読み込む(ステップS418)。そして、CPU101はRAW画像フレームメモリに読み込んだRAW画像データの現像処理を行って、RAM103に確保した画像データフレームメモリに現像済みの画像データを書き込む(ステップS419)。   Subsequently, the CPU 101 reads the RAW image data of the next frame of the frame displayed in the preview display into the RAW image frame memory secured in the RAM 103 (step S418). Then, the CPU 101 develops the RAW image data read into the RAW image frame memory, and writes the developed image data in the image data frame memory secured in the RAM 103 (step S419).

次に、CPU101は画像フレームメモリに書き込んだ画像データをプレビューエリア302に表示する(ステップS420)。そして、CPU101は、当該表示したフレームが選択されたRAW動画像ファイルの最終フレームであるか否かを判定する(ステップS421)。   Next, the CPU 101 displays the image data written in the image frame memory in the preview area 302 (step S420). Then, the CPU 101 determines whether or not the displayed frame is the last frame of the selected RAW moving image file (step S421).

最終フレームではないと(ステップS421において、NO)、CPU101は再生一時停止ボタン305が押されたか否かを判定する(ステップS422)。再生一時停止ボタン305が押されないと(ステップS422において、NO)、CPU101はステップS418の処理に戻って、次フレームについてプレビューエリア302への表示処理を行う。   If it is not the last frame (NO in step S421), the CPU 101 determines whether or not the playback pause button 305 has been pressed (step S422). If playback pause button 305 is not pressed (NO in step S422), CPU 101 returns to the process in step S418 and performs a display process on preview area 302 for the next frame.

表示したフレームが最終フレームであると(ステップS421において、YES)、COU101はステップS403の処理に戻って、動画再生の状態を再生停止状態として現像UI表示の更新およびプレビューエリア302の更新を行う。同様に、再生一時停止ボタン305が押されると(ステップS422において、YES)、CPU101はステップS403の処理に戻って、動画再生の状態を再生停止状態として現像UI表示の更新およびプレビューエリア302の更新を行う。   If the displayed frame is the final frame (YES in step S421), the COU 101 returns to the processing of step S403, updates the development UI display and updates the preview area 302 with the moving image playback state set to the playback stopped state. Similarly, when playback pause button 305 is pressed (YES in step S422), CPU 101 returns to the processing of step S403, updates the development UI display, and updates preview area 302 with the playback state of the movie set as the playback stop state. I do.

図5は、図4に示すステップS404およびS417で説明した現像UI表示処理を詳細に説明するためのフローチャートである。   FIG. 5 is a flowchart for explaining in detail the development UI display process described in steps S404 and S417 shown in FIG.

現像UI表示処理を開始すると、CPU101は画像処理対象のRAW動画像ファイルが選択されているか否かを判定する(ステップS501)。RAW動画像ファイルが選択されていないと(ステップS501において、NO)、まず、CPU101は明るさを調整するためスライダーコントロール306を操作不可能状態に設定する(ステップS502:Disable)。さらに、CPU101は色合いを調整するためスライダーコントロール307を操作不可能な状態に設定する(ステップS503:Disable)。そして、CPU101はシャープネスを調整するためスライダーコントロール308を操作不可能な状態に設定し(ステップS504:Disable)、ノイズを調整するためスライダーコントロール309を操作不可能な状態に設定する(ステップS505:Disable)。   When the development UI display process is started, the CPU 101 determines whether or not a RAW moving image file to be processed is selected (step S501). If no RAW moving image file has been selected (NO in step S501), first, the CPU 101 sets the slider control 306 to an inoperable state in order to adjust the brightness (step S502: Disable). Further, the CPU 101 sets the slider control 307 to an inoperable state in order to adjust the hue (step S503: Disable). Then, the CPU 101 sets the slider control 308 in an inoperable state in order to adjust sharpness (step S504: Disable), and sets the slider control 309 in an inoperable state in order to adjust noise (step S505: Disable). ).

加えて、CPU101は現像モードチェックボックス310を操作不可能な状態に設定した後(ステップS506:Disable)、ファイル出力ボタン311を操作不可能な状態に設定する(ステップS507:Disable)。そして、CPU101は、図4に示すステップS405の現像処理又はステップS418のフレーム読み込みに進む。   In addition, after setting the development mode check box 310 to an inoperable state (step S506: Disable), the CPU 101 sets the file output button 311 to an inoperable state (step S507: Disable). Then, the CPU 101 proceeds to the development processing in step S405 or the frame reading in step S418 shown in FIG.

図6(a)〜(e)は、図3に示す現像UI表示画面においてファイル選択状態、現像モード設定、および再生動作状態の相違によるスライダーコントロール306〜309、現像モードチェックボックス310、およびファイル出力ボタン311のUI表示を示す図である。   6A to 6E show slider controls 306 to 309, a development mode check box 310, and a file output according to differences in the file selection state, the development mode setting, and the reproduction operation state on the development UI display screen shown in FIG. It is a figure which shows UI display of the button 311. FIG.

このように、RAW動画像ファイルが選択されないと、ステップS502〜S507の処理が行われて、現像UI表示は、図6(a)に示す第1の状態となる。この第1の状態では、明るさ、色合い、シャープネス、ノイズ、現像モード、およびファイル出力の全てが操作不可能に設定される。なお、図6(a)において、ハッチングは操作不可能な状態であることを示している。   As described above, when the RAW moving image file is not selected, the processing in steps S502 to S507 is performed, and the development UI display is in the first state shown in FIG. In this first state, brightness, hue, sharpness, noise, development mode, and file output are all set to be inoperable. In FIG. 6 (a), hatching indicates that the operation is impossible.

RAW動画像ファイルが選択されると(ステップS501において、YES)、CPU101は明るさを調整するためスライダーコントロール306を操作可能な状態(つまり、調整可能な状態)に設定する(ステップS508:Enable)。さらに、CPU101は色合いを調整するためスライダーコントロール307を操作可能な状態に設定する(ステップS509:Enable)。なお、明るさおよび色合いは、高速現像処理および高画質現像処理の双方で共通に調整が行われる調整項目である。   When the RAW moving image file is selected (YES in step S501), the CPU 101 sets the slider control 306 to an operable state (that is, an adjustable state) in order to adjust the brightness (step S508: Enable). . Further, the CPU 101 sets the slider control 307 to an operable state in order to adjust the hue (step S509: Enable). Note that brightness and hue are adjustment items that are commonly adjusted in both high-speed development processing and high-quality development processing.

続いて、CPU101は現像モードが高速現像および高画質現像モードのいずれのモードに設定されているかを判定する(ステップS510)。現像モードが高速現像モード(第1の画像処理モード)であると(ステップS501において、高速現像)、CPU101はシャープネスを調整するためスライダーコントロール308を操作不可能な状態に設定する(ステップS511:Disable)。さらに、CPU101はノイズを調整するためスライダーコントロール309を操作不可能な状態(つまり、調整不可の状態)に設定する(ステップS512:Disable)。   Subsequently, the CPU 101 determines which of the high-speed development mode and the high-quality development mode is set as the development mode (step S510). When the development mode is the high-speed development mode (first image processing mode) (high-speed development in step S501), the CPU 101 sets the slider control 308 to an inoperable state in order to adjust the sharpness (step S511: Disable). ). Further, the CPU 101 sets the slider control 309 to an inoperable state (that is, an unadjustable state) in order to adjust noise (step S512: Disable).

次に、CPU101は現在の再生動作の状態を判定する。つまり、CPU101は再生動作中であるか否かを判定する(ステップS513)、再生動作中であると(ステップS513において、TRUE)、CPU101は前述のステップS506およびS507の処理を行う。   Next, the CPU 101 determines the state of the current reproduction operation. That is, the CPU 101 determines whether or not the reproduction operation is being performed (step S513). If the reproduction operation is being performed (TRUE in step S513), the CPU 101 performs the processes of steps S506 and S507 described above.

このように、RAW動画像ファイルが選択されて、高速現像モードであってかつ再生動作中であると、ステップS508〜S509、S511〜S512、およびS506〜S507の処理が行われて、現像UI表示は、図6(b)に示す第2の状態となる。この第2の状態では、明るさおよび色合いが操作可能な状態(操作可能状態)に設定され、シャープネス、ノイズ、現像モード、およびファイル出力が操作不可能な状態(操作不可能状態)に設定される。   As described above, when the RAW moving image file is selected and the high-speed development mode is selected and the reproduction operation is being performed, the processes of steps S508 to S509, S511 to S512, and S506 to S507 are performed, and the development UI display is performed. Is in the second state shown in FIG. In this second state, the brightness and hue are set to an operable state (operable state), and the sharpness, noise, development mode, and file output are set to an inoperable state (inoperable state). The

再生停止中であると(ステップS513において、FALSE)、CPU101は現像モードチェックボックス310を操作可能な状態とする(ステップS514:Enable)。さらに、CPU101はファイル出力ボタン311を操作可能な状態に設定する(ステップS515:Enable)。つまり、CPU101はRAW動画像データを画像処理して動画像ファイルとして出力可能な状態とする。   When playback is stopped (FALSE in step S513), the CPU 101 sets the development mode check box 310 in an operable state (step S514: Enable). Further, the CPU 101 sets the file output button 311 to an operable state (step S515: Enable). That is, the CPU 101 performs image processing on the RAW moving image data so that it can be output as a moving image file.

このように、RAW動画像ファイルが選択されて、高速現像モードであってかつ再生停止中であると、ステップS508〜S509、S511〜S512、およびS514〜S515の処理が行われて、現像UI表示は、図6(c)に示す第3の状態となる。この第3の状態では、明るさ、色合い、現像モード、およびファイル出力が操作可能に設定され、シャープネスおよびノイズが操作不可能に設定される。   As described above, when the RAW moving image file is selected, and in the high-speed development mode and the reproduction is stopped, the processes of steps S508 to S509, S511 to S512, and S514 to S515 are performed, and the development UI display is performed. Will be in the third state shown in FIG. In this third state, brightness, hue, development mode, and file output are set to be operable, and sharpness and noise are set to be inoperable.

現像モードが高画質現像モード(第2の画像処理モード)であると(ステップS510において、高画質現像)、CPU101はシャープネスを調整するためのスライダーコントロール308を操作可能な状態に設定する(ステップS516:Enable)。さらに、CPU101はノイズを調整するためのスライダーコントロール309を操作可能な状態に設定する(ステップS517:Enable)。そして、CPU101はステップS513の処理に進む。   When the development mode is the high image quality development mode (second image processing mode) (high image quality development in step S510), the CPU 101 sets the slider control 308 for adjusting the sharpness to an operable state (step S516). : Enable). Further, the CPU 101 sets the slider control 309 for adjusting noise to an operable state (step S517: Enable). Then, the CPU 101 proceeds to the process of step S513.

従って、RAW動画像ファイルが選択されて、高画質現像モードであってかつ再生動作中であると、ステップS508〜S509、S516〜S517、およびS506〜S507の処理が行われて、現像UI表示は、図6(d)に示す第4の状態となる。この第4の状態では、明るさおよび色合いがシャープネス、およびノイズが操作可能に設定され、現像モードおよびファイル出力が操作不可能に設定される。   Accordingly, when a RAW moving image file is selected, and in the high image quality development mode and during the reproduction operation, the processes of steps S508 to S509, S516 to S517, and S506 to S507 are performed, and the development UI display is performed. The fourth state shown in FIG. In this fourth state, the brightness and hue are set so that sharpness and noise can be manipulated, and the development mode and file output are set so as not to be manipulated.

また、RAW動画像ファイルが選択されて、高画質現像モードであってかつ再生停止中であると、ステップS508〜S509、S516〜S517、およびS514〜S515の処理が行われて、現像UI表示は、図6(e)に示す第5の状態となる。この第5の状態では、明るさ、色合い、シャープネス、およびノイズ、現像モード、ファイル出力が操作可能に設定される。   If the RAW moving image file is selected and the playback mode is stopped in the high image quality development mode, the processes of steps S508 to S509, S516 to S517, and S514 to S515 are performed, and the development UI display is performed. Then, the fifth state shown in FIG. In the fifth state, brightness, hue, sharpness, noise, development mode, and file output are set to be operable.

このようにして、図5で説明した現像UI表示処理を行えば、RAW動画像ファイルの選択状態、設定されている現像モード、および再生モードに応じて必要とする機能のみを有効とした現像UIをユーザに提供することができる。   In this way, when the development UI display process described with reference to FIG. 5 is performed, the development UI in which only the necessary functions are enabled according to the selection state of the RAW moving image file, the set development mode, and the reproduction mode. Can be provided to the user.

図7は、図4に示すステップS405、S413、およびS419で説明した現像処理を詳細に説明するためのフローチャートである。   FIG. 7 is a flowchart for explaining in detail the development processing described in steps S405, S413, and S419 shown in FIG.

現像処理を開始すると、CPU101は明るさ調整用のスライダーコントロール306で設定された明るさパラメータを取得する。そして、CPU101はRAM103に確保したRAW画像フレームメモリに読み込んだ1フレームのベイヤー配列のRAW画像データの各画素に対して明るさパラメータの値に応じた係数を乗算する。これによって、CPU101は1フレームのRAW画像データの明るさを調整する(ステップS601)。   When the development process is started, the CPU 101 acquires the brightness parameter set by the brightness adjustment slider control 306. Then, the CPU 101 multiplies each pixel of the RAW image data in the Bayer array of one frame read into the RAW image frame memory secured in the RAM 103 by a coefficient corresponding to the value of the brightness parameter. Thus, the CPU 101 adjusts the brightness of one frame of RAW image data (step S601).

続いて、CPU101は色合い調整用のスライダーコントロール307で設定された色合いパラメータを取得する。そして、CPU101は1フレームのRAW画像データの各画素に対して、色合いパラメータの値に応じた係数を乗算する。これによって、CPU101はホワイトバランスの調整を行って色合いの調整を行う(ステップS602)。   Subsequently, the CPU 101 acquires a hue parameter set by the slider control 307 for hue adjustment. The CPU 101 multiplies each pixel of one frame of RAW image data by a coefficient corresponding to the value of the hue parameter. Thereby, the CPU 101 adjusts the hue by adjusting the white balance (step S602).

次に、CPU101は現像モードチェックボックス310の状態を取得して、現像モードの判定を行う。つまり、CPU101は現像モードが高速現像モードであるか又は高画質現像モードであるかを判定する(ステップS603)。現像モードが高速現像モードであると(ステップS603において、高速現像)、CPU101はベイヤー配列のRAW画像データに対して簡易補間フィルタ処理を行って、RGB画像データを生成する(ステップS604)。   Next, the CPU 101 acquires the state of the development mode check box 310 and determines the development mode. That is, the CPU 101 determines whether the development mode is the high speed development mode or the high image quality development mode (step S603). If the development mode is the high-speed development mode (high-speed development in step S603), the CPU 101 performs simple interpolation filter processing on the RAW image data in the Bayer array to generate RGB image data (step S604).

そして、CPU101はRAM103に確保した画像データフレームメモリにRGB画像データを書き込んで(ステップS605)、現像処理を終了する。その後、CPU101はステップS406、S414、又はS420の処理に進む。   Then, the CPU 101 writes RGB image data into the image data frame memory secured in the RAM 103 (step S605), and ends the development process. Thereafter, the CPU 101 proceeds to the process of step S406, S414, or S420.

現像モードが高画質現像モードであると(ステップS603において、高画質現像)、CPU101はベイヤー配列のRAW画像データに対して補間フィルタ処理を行って、RGB画像データを生成する(ステップS606)。その後、CPU101はシャープネス調整用のスライダーコントロール308で設定されたシャープネスパラメータを取得する。そして、CPU101は上記のRGB画像データに対して、シャープネスパラメータの値に応じたエッジ強調処理を施す(ステップS607:シャープネス処理)。   If the development mode is the high image quality development mode (high image quality development in step S603), the CPU 101 performs interpolation filter processing on the RAW image data in the Bayer array to generate RGB image data (step S606). Thereafter, the CPU 101 acquires the sharpness parameter set by the slider control 308 for sharpness adjustment. Then, the CPU 101 performs edge enhancement processing corresponding to the sharpness parameter value on the RGB image data (step S607: sharpness processing).

続いて、CPU101はノイズ調整用のスライダーコントロール309で設定されたノイズパラメータを取得する。そして、CPU101はシャープネス処理後のRGB画像データに対して、ノイズパラメータの値に応じたノイズ除去処理を施す(ステップS608)。その後、CPU101はステップS605の処理に進む。   Subsequently, the CPU 101 acquires the noise parameter set by the slider control 309 for noise adjustment. Then, the CPU 101 performs noise removal processing corresponding to the value of the noise parameter on the RGB image data after the sharpness processing (step S608). Thereafter, the CPU 101 proceeds to the process of step S605.

図8は、図7に示すステップS604およびS606でそれぞれ説明した簡易補間処理および補間処理を説明するための図である。そして、図8(a)はベイヤー配列のRAW画像データの一部を示す図であり、図8(b)はRAW画像データに対して補間処理を行った結果であるR画像データを示す図である。また、図8(c)はRAW画像データに対して補間処理を行った結果であるおよびG画像データを示す図である。   FIG. 8 is a diagram for explaining the simple interpolation process and the interpolation process described in steps S604 and S606 shown in FIG. FIG. 8A is a diagram illustrating a part of the RAW image data in the Bayer array, and FIG. 8B is a diagram illustrating R image data that is a result of performing interpolation processing on the RAW image data. is there. FIG. 8C is a diagram showing the G image data as a result of the interpolation processing performed on the RAW image data.

図8(b)および図8(c)において、大文字の”R”、”G”で示す画素は、図8(a)に示す”R”、”G”画素と同一の位置にある画素であり、これらの画素については補間処理が行われず、RAW画像データと同一の値となる。一方、小文字の”r”、”g”で示す画素は、補間処理によって生成される画素である。   In FIG. 8B and FIG. 8C, the pixels indicated by capital letters “R” and “G” are pixels at the same positions as the “R” and “G” pixels shown in FIG. Yes, these pixels are not interpolated and have the same value as the RAW image data. On the other hand, pixels indicated by lowercase letters “r” and “g” are pixels generated by interpolation processing.

図8(b)に示す”r11”、”r15”、”r16”および図8(c)に示す”g8”の画素値を補間処理によって生成する際、図7に示すステップS604の簡易補間処理においては処理速度を優先するため、画素数を制限して、次の式(1)によって画素値を算出する。   When the pixel values of “r11”, “r15”, “r16” shown in FIG. 8B and “g8” shown in FIG. 8C are generated by interpolation processing, the simple interpolation processing in step S604 shown in FIG. In order to give priority to the processing speed, the number of pixels is limited and the pixel value is calculated by the following equation (1).

Figure 2013219589
一方、ステップS606の補間処理においては画質を向上させるため画素数を簡易補間処理よりも多くして、次の式(2)によって画素値を算出する。
Figure 2013219589
On the other hand, in the interpolation process in step S606, the number of pixels is increased as compared with the simple interpolation process in order to improve the image quality, and the pixel value is calculated by the following equation (2).

Figure 2013219589
このようにして、簡易補間処理および補間処理を選択的に行う際で、使用する画素数および計算式を変更することによって、高速な処理と高画質な処理とを切り替えることができる。
Figure 2013219589
In this way, when the simple interpolation process and the interpolation process are selectively performed, the high-speed process and the high-quality process can be switched by changing the number of pixels to be used and the calculation formula.

以上説明したように、本発明の実施の形態では、再生動作状態およびファイル出力の際の現像モード設定に応じて、画像処理項目の変更を行うとともに、簡易補間処理と補間処理とを切り替えるようにしたので、ファイル再生中は高速な現像処理を行って、フレームレートの低下を防ぎ、再生停止中はファイル出力の設定に応じた最終出力画像のプレビュー表示を行うことができる。   As described above, in the embodiment of the present invention, the image processing item is changed according to the reproduction operation state and the development mode setting at the time of file output, and the simple interpolation process and the interpolation process are switched. Therefore, it is possible to perform high-speed development processing during file reproduction to prevent a decrease in frame rate, and to display a preview of the final output image according to the file output setting while reproduction is stopped.

上述の説明から明らかなように、図1に示す例においては、CPU101、画像処理部108、および表示制御部109が画面表示制御手段および再生処理手段として機能し、CPU101および画像処理部108はファイル生成手段として機能する。   As is clear from the above description, in the example shown in FIG. 1, the CPU 101, the image processing unit 108, and the display control unit 109 function as a screen display control unit and a reproduction processing unit, and the CPU 101 and the image processing unit 108 are a file. It functions as a generation means.

以上、本発明について実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。   As mentioned above, although this invention was demonstrated based on embodiment, this invention is not limited to these embodiment, Various forms of the range which does not deviate from the summary of this invention are also contained in this invention. .

例えば、上記の実施の形態の機能を画像処理方法として、この画像処理方法をPCなどの画像処理装置に実行させるようにすればよい。また、上述の実施の形態の機能を有するプログラムを画像処理装置が備えるコンピュータに実行させるようにしてもよい。なお、プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。   For example, the functions of the above embodiments may be used as an image processing method, and this image processing method may be executed by an image processing apparatus such as a PC. Further, a computer having the function of the above-described embodiment may be executed by a computer included in the image processing apparatus. The program is recorded on a computer-readable recording medium, for example.

この際、画像処理方法およびプログラムの各々は、少なくとも画面表示制御ステップ、再生処理ステップ、およびファイル生成ステップを有することになる。   At this time, each of the image processing method and the program has at least a screen display control step, a reproduction processing step, and a file generation step.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記録媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) for realizing the functions of the above-described embodiments is supplied to a system or apparatus via a network or various recording media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

101 CPU
102 ROM
103 RAM
105 外部IF
106 ユーザIF
108 画像処理部
109 表示制御部
110 ディスプレイ
111 記憶媒体
112 入力デバイス
101 CPU
102 ROM
103 RAM
105 External IF
106 User IF
108 Image Processing Unit 109 Display Control Unit 110 Display 111 Storage Medium 112 Input Device

Claims (8)

動画像データを読み込んで、複数の画像処理パラメータを調節することにより当該動画像データに対して画像処理を行う画像処理装置であって、
前記複数の画像処理パラメータを設定するための操作画面を表示部に表示させる画面表示制御手段と、
前記複数の画像処理パラメータに基づき前記動画像データを表示部に動画像として再生する再生処理手段と、
前記操作画面で設定された画像処理パラメータに基づき、前記動画像データを画像処理して所定のファイル形式の動画像ファイルを生成するファイル生成手段と
を有し、
前記画面表示制御手段は、
前記再生処理手段により前記表示部に動画像を再生する再生動作中は、前記操作画面の少なくとも一部の画像処理パラメータの操作を不可能状態とし、
前記再生動作の停止中は、再生動作中に前記操作画面において操作が不可能状態であった画像処理パラメータを操作可能状態とすることを特徴とする画像処理装置。
An image processing apparatus that reads moving image data and performs image processing on the moving image data by adjusting a plurality of image processing parameters,
Screen display control means for displaying an operation screen for setting the plurality of image processing parameters on a display unit;
Reproduction processing means for reproducing the moving image data as a moving image on a display unit based on the plurality of image processing parameters;
File generating means for generating a moving image file in a predetermined file format by performing image processing on the moving image data based on an image processing parameter set on the operation screen;
The screen display control means includes
During the reproduction operation for reproducing the moving image on the display unit by the reproduction processing unit, the operation of at least a part of the image processing parameters on the operation screen is disabled.
While the reproduction operation is stopped, an image processing parameter that is in an operation impossible state on the operation screen during the reproduction operation is set to an operable state.
再生動作中は前記操作を不可能状態とした画像処理パラメータに対応する画像処理が行われないことを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein image processing corresponding to an image processing parameter that disables the operation is not performed during a reproduction operation. 前記再生動作中に前記操作画面で操作可能な画像処理パラメータは、前記再生動作の停止中よりも少ないことを特徴とする請求項1又は2に記載の画像処理装置。   3. The image processing apparatus according to claim 1, wherein image processing parameters operable on the operation screen during the reproduction operation are smaller than those during the reproduction operation being stopped. 前記動画像データは、画素がベイヤー配列された撮像素子の出力を、ディベイヤー処理を行わずにメモリに記録した動画像データであることを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   4. The moving image data according to claim 1, wherein the moving image data is moving image data in which an output of an image pickup device in which pixels are arranged in a Bayer array is recorded in a memory without performing a debayer process. 5. Image processing apparatus. 前記動画像データについて補間処理を行う場合、前記ファイル生成手段は、前記再生処理手段によりも補間処理に用いる画素数を多くすることを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。   5. The file processing unit according to claim 1, wherein when the interpolation processing is performed on the moving image data, the file generation unit increases the number of pixels used for the interpolation processing as compared with the reproduction processing unit. Image processing device. 前記画像処理パラメータとして、少なくとも前記動画像データにおける明るさの処理を規定する明るさパラメータ、前記動画像データにおける色合いの処理を規定する色合いパラメータ、前記動画像データにおけるシャープネスの処理を規定するシャープネスパラメータ、および前記動画像データにおけるノイズの処理を規定するノイズパラメータがあることを特徴とする請求項1乃至5のいずれか1項に記載の画像処理装置。   As the image processing parameters, at least a brightness parameter that defines brightness processing in the moving image data, a hue parameter that defines hue processing in the moving image data, and a sharpness parameter that defines sharpness processing in the moving image data The image processing apparatus according to claim 1, further comprising: a noise parameter that defines noise processing in the moving image data. 動画像データを読み込んで、複数の画像処理パラメータを調節することにより当該動画像データに対して画像処理を行う画像処理装置の制御方法であって、
前記複数の画像処理パラメータを設定するための操作画面を表示部に表示させる画面表示制御ステップと、
前記複数の画像処理パラメータに基づき前記動画像データを表示部に動画像として再生する再生処理ステップと、
前記操作画面で設定された画像処理パラメータに基づき、前記動画像データを画像処理して所定のファイル形式の動画像ファイルを生成するファイル生成ステップと
を有し、
前記画面表示制御ステップでは、
前記再生処理ステップで前記表示部に動画像を再生する再生動作中は、前記操作画面の少なくとも一部の画像処理パラメータの操作を不可能状態とし、
前記再生動作の停止中は、再生動作中に前記操作画面において操作が不可能状態であった画像処理パラメータを操作可能状態とすることを特徴とする制御方法。
A control method of an image processing apparatus that reads moving image data and adjusts a plurality of image processing parameters to perform image processing on the moving image data,
A screen display control step for displaying an operation screen for setting the plurality of image processing parameters on a display unit;
A reproduction processing step of reproducing the moving image data as a moving image on a display unit based on the plurality of image processing parameters;
A file generating step for generating a moving image file in a predetermined file format by performing image processing on the moving image data based on an image processing parameter set on the operation screen;
In the screen display control step,
During the reproduction operation of reproducing the moving image on the display unit in the reproduction processing step, the operation of at least some image processing parameters on the operation screen is disabled,
While the reproduction operation is stopped, an image processing parameter that has been inoperable on the operation screen during the reproduction operation is set to an operable state.
動画像データを読み込んで、複数の画像処理パラメータを調節することにより当該動画像データに対して画像処理を行う画像処理装置で用いられるプログラムであって、
前記画像処理装置が備えるコンピュータに、
前記複数の画像処理パラメータを設定するための操作画面を表示部に表示させる画面表示制御ステップと、
前記複数の画像処理パラメータに基づき前記動画像データを表示部に動画像として再生する再生処理ステップと、
前記操作画面で設定された画像処理パラメータに基づき、前記動画像データを画像処理して所定のファイル形式の動画像ファイルを生成するファイル生成ステップと
を実行させ、
前記画面表示制御ステップでは、
前記再生処理ステップで前記表示部に動画像を再生する再生動作中は、前記操作画面の少なくとも一部の画像処理パラメータの操作を不可能状態とし、
前記再生動作の停止中は、再生動作中に前記操作画面において操作が不可能状態であった画像処理パラメータを操作可能状態とすることを特徴とするプログラム。
A program used in an image processing apparatus that reads moving image data and performs image processing on the moving image data by adjusting a plurality of image processing parameters,
In the computer provided in the image processing apparatus,
A screen display control step for displaying an operation screen for setting the plurality of image processing parameters on a display unit;
A reproduction processing step of reproducing the moving image data as a moving image on a display unit based on the plurality of image processing parameters;
Based on the image processing parameters set on the operation screen, a file generation step of performing image processing on the moving image data to generate a moving image file in a predetermined file format is executed.
In the screen display control step,
During the reproduction operation of reproducing the moving image on the display unit in the reproduction processing step, the operation of at least some image processing parameters on the operation screen is disabled,
A program characterized in that, during the stop of the reproduction operation, an image processing parameter that has been inoperable on the operation screen during the reproduction operation is set in an operable state.
JP2012089304A 2012-04-10 2012-04-10 Image processing device, image processing method and program Pending JP2013219589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012089304A JP2013219589A (en) 2012-04-10 2012-04-10 Image processing device, image processing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012089304A JP2013219589A (en) 2012-04-10 2012-04-10 Image processing device, image processing method and program

Publications (1)

Publication Number Publication Date
JP2013219589A true JP2013219589A (en) 2013-10-24

Family

ID=49591230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012089304A Pending JP2013219589A (en) 2012-04-10 2012-04-10 Image processing device, image processing method and program

Country Status (1)

Country Link
JP (1) JP2013219589A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015179910A (en) * 2014-03-18 2015-10-08 キヤノン株式会社 Image processing system and control method of the same
JP2015188130A (en) * 2014-03-26 2015-10-29 キヤノン株式会社 Image processing system, imaging apparatus, control method of image processing system, and program
JP2015195571A (en) * 2014-03-25 2015-11-05 キヤノン株式会社 Imaging apparatus and control method of the same
JP2016082309A (en) * 2014-10-10 2016-05-16 キヤノン株式会社 Image processing device, imaging apparatus, method for controlling image processing device, and computer program
JP2019087779A (en) * 2017-11-01 2019-06-06 キヤノン株式会社 Image processing system, control method and program of image processing system
US10410674B2 (en) * 2014-12-25 2019-09-10 Canon Kabushiki Kaisha Imaging apparatus and control method for combining related video images with different frame rates
JP7483386B2 (en) 2020-01-21 2024-05-15 キヤノン株式会社 Image Processing System

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015179910A (en) * 2014-03-18 2015-10-08 キヤノン株式会社 Image processing system and control method of the same
JP2015195571A (en) * 2014-03-25 2015-11-05 キヤノン株式会社 Imaging apparatus and control method of the same
JP2015188130A (en) * 2014-03-26 2015-10-29 キヤノン株式会社 Image processing system, imaging apparatus, control method of image processing system, and program
JP2016082309A (en) * 2014-10-10 2016-05-16 キヤノン株式会社 Image processing device, imaging apparatus, method for controlling image processing device, and computer program
US10410674B2 (en) * 2014-12-25 2019-09-10 Canon Kabushiki Kaisha Imaging apparatus and control method for combining related video images with different frame rates
JP2019087779A (en) * 2017-11-01 2019-06-06 キヤノン株式会社 Image processing system, control method and program of image processing system
JP7005284B2 (en) 2017-11-01 2022-01-21 キヤノン株式会社 Image processing device, control method of image processing device, and program
JP7483386B2 (en) 2020-01-21 2024-05-15 キヤノン株式会社 Image Processing System

Similar Documents

Publication Publication Date Title
JP2013219589A (en) Image processing device, image processing method and program
JP5006727B2 (en) Image processing apparatus and digital camera
JP4844664B2 (en) Image processing apparatus, image processing method, and program
JP4818031B2 (en) Image processing apparatus and image processing method
JP2005275977A (en) Image display method, image display device, and image display program
US11194993B2 (en) Display apparatus and display control method for displaying images
JP2005227897A (en) Method, device, and program for image display
JP2012244337A (en) Image processing apparatus, image processing method, program, and imaging apparatus
JP2014216734A (en) Imaging apparatus and imaging system
JP2005250847A (en) Method, device and program for image reproduction
JP2017175319A (en) Image processing apparatus, image processing method, and program
JP7254477B2 (en) Display device and its control method
JP6049425B2 (en) Imaging apparatus, image processing apparatus, and control method
KR101434897B1 (en) Image processing apparatus and method for controlling image processing apparatus
JP2019057862A (en) Image processing apparatus and image processing method
JP2017201749A (en) Image processing apparatus and control method thereof
CN110012212B (en) Image processing apparatus, control method of image processing apparatus, and storage medium
JP5705027B2 (en) Image processing apparatus, image processing apparatus control method, program, and recording medium
JP5952573B2 (en) Image processing apparatus and control method thereof
JP5791244B2 (en) Image processing apparatus, display apparatus, and control method thereof
JP6202238B2 (en) Image processing apparatus, image processing method, and program
JP6087720B2 (en) Imaging apparatus and control method thereof
WO2023127674A1 (en) Imaging device that generates raw image, control method, and program
JP4807446B2 (en) Imaging apparatus, recording control method, and program
JP2004227402A (en) Image correction device and method for specifying correction value thereof