JP2020072390A - Image encoding device, control method thereof, and program - Google Patents

Image encoding device, control method thereof, and program Download PDF

Info

Publication number
JP2020072390A
JP2020072390A JP2018205617A JP2018205617A JP2020072390A JP 2020072390 A JP2020072390 A JP 2020072390A JP 2018205617 A JP2018205617 A JP 2018205617A JP 2018205617 A JP2018205617 A JP 2018205617A JP 2020072390 A JP2020072390 A JP 2020072390A
Authority
JP
Japan
Prior art keywords
compressed
image
subbands
layer
color difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018205617A
Other languages
Japanese (ja)
Other versions
JP7242246B2 (en
JP2020072390A5 (en
Inventor
東 克彦
Katsuhiko Azuma
克彦 東
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 JP2018205617A priority Critical patent/JP7242246B2/en
Publication of JP2020072390A publication Critical patent/JP2020072390A/en
Publication of JP2020072390A5 publication Critical patent/JP2020072390A5/ja
Application granted granted Critical
Publication of JP7242246B2 publication Critical patent/JP7242246B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide an image encoding device capable of generating a compressed RAW image in an image recording format capable of displaying reduced-size images and performing streaming reproduction at high speed.SOLUTION: An image encoding device 100 includes: a plane conversion unit 105 that converts a RAW image into plane images of color components; a wavelet transform unit 106 that performs hierarchical frequency decomposition on the plane images to generate a plurality of subbands; a quantization unit 107 that compresses and encodes the plurality of subbands to generate a plurality of compressed subbands; an entropy coding unit 108; and a recording processing unit 111 that collectively arranges the plurality of compressed subbands and compressed subband information for each group based on the number of layers in frequency decomposition, and generates a recording file including a compressed RAW area in which the plurality of compressed subbands arranged are stored, and an information management area in which information on the plurality of compressed subbands is stored.SELECTED DRAWING: Figure 1

Description

本発明は、画像符号化装置、及びこれらの制御方法、並びにプログラムに関し、特に、RAW画像を圧縮する画像符号化装置、及びこれらの制御方法、並びにプログラムに関する。   The present invention relates to an image encoding device, a control method thereof, and a program, and more particularly, to an image encoding device that compresses a RAW image, a control method thereof, and a program.

近年、CMOSイメージセンサーの高画素化により、デジタルカメラやデジタルカムコーダによる動画の1フレームあたりの記録画素数が、フルハイビジョンやQFHDといった従来の規格の領域から、6Kや8Kなどのより高い領域に到達している。   In recent years, due to the increase in the number of pixels of CMOS image sensors, the number of recorded pixels per frame of moving images by digital cameras and digital camcorders has reached higher areas such as 6K and 8K from the areas of conventional standards such as Full HD and QFHD. is doing.

それに伴い、画像1枚当たりのデータサイズが増大しており、イメージセンサーから出力されるRAW画像から表示画像を生成するための現像処理における処理量が増大してしまい、表示画像の出画までに時間がかかるという問題がある。   Along with this, the data size per image has increased, and the processing amount in the developing process for generating the display image from the RAW image output from the image sensor has increased, leading to the output of the display image. There is a problem that it takes time.

また、表示画像やRAW画像そのものをデジタルカメラなどの撮像機器から表示用ディスプレイなどの機器に伝送する際に伝送路の帯域を今まで以上に圧迫してしまう。場合によっては画像をリアルタイムで出画する上で伝送路の帯域が足りずに、画像の出画に遅延が出てしまう、コマ落ちが発生するなど問題がある。   Further, when transmitting a display image or a RAW image itself from an imaging device such as a digital camera to a device such as a display for display, the band of the transmission path is pressed more than ever. In some cases, there are problems in that the bandwidth of the transmission path is insufficient in displaying an image in real time, the image is delayed, and dropped frames occur.

これらの問題は、インターネットなどのネットワークを介して画像を外部端末に送り、外部端末側で画像を表示するストリーミング再生に影響する。また、撮影アシストのためデジタルカメラの背面モニタにプレビューとして被写体の画像を表示する際に用いられる縮小画像の生成にも影響する。   These problems affect streaming reproduction in which an image is sent to an external terminal via a network such as the Internet and the image is displayed on the external terminal side. It also affects the generation of a reduced image used when displaying the image of the subject as a preview on the back monitor of the digital camera for shooting assistance.

ストリーミング再生やプレビューにおいては、外部端末であるスマートフォンの画面やデジタルカメラの背面モニタに画像を表示する際、撮影した画像に対して解像度が小さいため、画像を縮小処理した縮小画像を表示させることが一般的である。   In streaming playback or preview, when displaying an image on the screen of a smartphone, which is an external terminal, or on the rear monitor of a digital camera, it is possible to display a reduced image obtained by reducing the image because the resolution is smaller than the captured image. It is common.

しかしながら、RAW画像から現像処理や縮小処理をする場合、すでに述べたとおり、現像処理の処理量が非常に多く、縮小画像の表示までに遅延が発生してしまう。   However, when the development processing or the reduction processing is performed from the RAW image, as described above, the processing amount of the development processing is very large, and a delay occurs until the reduced image is displayed.

そこで、ベイヤー配列でR(赤)、G(緑)、B(青)のカラーフィルタが配置される撮像素子の各画素からの出力信号に対してRGBの多重化を行った後に、縮小処理をして縮小画像を作り、表示をする方法が特許文献1に記載されている。   Therefore, reduction processing is performed after RGB multiplexing is performed on the output signal from each pixel of the image sensor in which the R (red), G (green), and B (blue) color filters are arranged in the Bayer array. Japanese Patent Application Laid-Open No. 2004-242242 describes a method of making a reduced image and displaying it.

その一方で、昨今では画像センサーから取得したRAW画像を圧縮して記録する技術が公知となっている。   On the other hand, recently, a technique for compressing and recording a RAW image acquired from an image sensor has been known.

圧縮RAW画像が扱われるようになった背景としては、先に述べた高画素化の流れで記録するRAW画像のサイズが肥大化してしまったことで、記録メディアのコストも増大してしまったことが挙げられる。   The reason why compressed RAW images have come to be handled is that the size of the RAW image to be recorded has increased due to the above-described flow of increasing the number of pixels, and the cost of recording media has also increased. Is mentioned.

また映画製作において色修正などのポストプロダクションによる画像編集への耐性を持たせるため、通常の撮影機器では捨てていた画像センサーの情報を余さず持っているRAW画像を扱うニーズが高まっている。しかしその一方で、RAW画像のデータサイズがさらに肥大化してしまうという点も挙げられる。   In addition, in order to have resistance to image editing by post-production such as color correction in movie production, there is an increasing need to handle RAW images that have all the information of the image sensor that was thrown away by ordinary photographing equipment. However, on the other hand, the data size of the RAW image is further enlarged.

さらに、ストリーミング再生の際、表示画像をRAW画像ではなく圧縮RAW画像の形で外部端末に送り、外部端末側で現像、縮小処理した後、表示するようにすると、外部端末に画像を送る際に要求される転送ビットレートが少なく済む。このため、転送遅延による縮小表示のコマ落ちを防ぐことなども期待できる。   Furthermore, during streaming playback, the display image is sent in the form of a compressed RAW image instead of the RAW image to the external terminal, and after being developed and reduced on the external terminal side, it is displayed, so that the image is sent to the external terminal. The required transfer bit rate is low. For this reason, it can be expected to prevent dropped frames from being displayed due to transfer delay.

例えば、特許文献2に記載の技術では、RAW画像からの圧縮RAW画像の生成は、図9に示すように撮像部103からのRAW画像から色成分毎にサブサンプリングしてプレーン画像を生成した後に各プレーン画像を圧縮(符号化)することにより行われる。   For example, in the technique described in Patent Document 2, the compressed RAW image is generated from the RAW image after the sub-sampling is performed for each color component from the RAW image from the imaging unit 103 to generate a plane image as shown in FIG. This is performed by compressing (encoding) each plane image.

特許第6049481号公報Japanese Patent No. 6049481 特開2003−125209号公報JP, 2003-125209, A

しかしながら、縮小処理の処理時間は撮像素子の画素数が多いほど処理時間が増大するため、特許文献1に記載の技術を用いても依然として撮像装置での縮小画像の表示までに遅延が発生してしまうことが考えられる。   However, since the processing time of the reduction processing increases as the number of pixels of the image pickup element increases, even if the technique described in Patent Document 1 is used, a delay occurs until the reduced image is displayed on the image pickup apparatus. It is possible that it will end up.

また、特許文献2に記載の技術で生成した圧縮RAW画像のストリーミング再生を行う場合、圧縮RAW画像の伸長処理も縮小画像表示の過程で必要となり、処理量がさらに増大するため、ストリーミング再生に遅延が発生してしまうことが考えられる。   Further, when performing streaming playback of a compressed RAW image generated by the technique described in Patent Document 2, decompression processing of the compressed RAW image is also required in the process of displaying the reduced image, and the processing amount further increases, so that the streaming playback is delayed. Is likely to occur.

本発明は上記の問題点に鑑み、縮小画像の表示やストリーミング再生を高速に行うことが可能な画像記録フォーマットの圧縮RAW画像を生成できる画像符号化装置、及びこれらの制御方法、並びにプログラムを提供することを目的とする。   In view of the above problems, the present invention provides an image encoding device capable of generating a compressed RAW image in an image recording format capable of displaying a reduced image and streaming reproduction at high speed, a control method thereof, and a program. The purpose is to do.

本発明の請求項1に係る画像符号化装置は、RAW画像を、輝度成分と、第1〜第3の色差成分の、4つのプレーン画像に変換する変換手段と、前記4つのプレーン画像に対して階層的な周波数分解を行い夫々複数のサブバンドを生成する第1の生成手段と、前記複数のサブバンドを圧縮符号化して複数の圧縮サブバンドを生成する第2の生成手段と、前記複数の圧縮サブバンドを前記周波数分解における階層数に基づいたグループ毎にまとめて配置する配置手段と、前記配置された複数の圧縮サブバンドが格納される圧縮RAW領域と、前記複数の圧縮サブバンドに関する情報が格納される情報管理領域とを含む記録ファイルを生成する第3の生成手段とを備えることを特徴とする。   An image coding apparatus according to claim 1 of the present invention is configured to convert a RAW image into four plane images of a luminance component and first to third color difference components, and for the four plane images. A plurality of sub-bands each of which is hierarchically decomposed into a plurality of sub-bands, and a second generation unit that compresses and encodes the plurality of sub-bands to generate a plurality of compressed sub-bands; Arranging means for collectively arranging the compressed subbands for each group based on the number of layers in the frequency decomposition, a compressed RAW area storing the arranged compressed subbands, and the plurality of compressed subbands. And a third generation unit that generates a recording file including an information management area in which information is stored.

本発明によれば、縮小画像の表示やストリーミング再生を高速に行うことが可能な画像記録フォーマットの圧縮RAW画像を生成できる。   According to the present invention, it is possible to generate a compressed RAW image in an image recording format capable of displaying a reduced image and streaming reproduction at high speed.

実施例1に係る画像符号化装置のハードウェア構成を示すブロック図である。3 is a block diagram showing a hardware configuration of an image encoding device according to Embodiment 1. FIG. 実施例1に係るRAW画像の符号化処理の概略構成を示す図である。FIG. 3 is a diagram showing a schematic configuration of RAW image encoding processing according to the first embodiment. 図2におけるウェーブレット変換処理によるウェーブレット回数が2回である場合に生成されたサブバンドを示す図である。FIG. 3 is a diagram showing subbands generated when the number of wavelets by the wavelet transform process in FIG. 2 is 2. 図2における量子化処理で用いられる量子化ステップサイズの算出例を示す図である。It is a figure which shows the example of calculation of the quantization step size used by the quantization process in FIG. 実施例1に係るRAW画像の階層表示を示す図である。FIG. 6 is a diagram showing hierarchical display of a RAW image according to the first embodiment. 実施例1に係るプレーン画像の多重化による縮小画像の生成方法について説明するための図である。FIG. 6 is a diagram for explaining a method of generating a reduced image by multiplexing plain images according to the first embodiment. 実施例1に係る画像記録フォーマットを示す図である。FIG. 3 is a diagram showing an image recording format according to the first embodiment. 図7Aにおける解像度ヘッダに格納される、RAW画像を階層表示する際に用いられるパラメタを示す表である。7B is a table showing parameters stored in the resolution header in FIG. 7A and used when hierarchically displaying a RAW image. 画像記録フォーマット毎の、縮小画像の表示に必要な記録ファイルからの圧縮サブバンドの読み出し回数を説明するための図である。It is a figure for explaining the number of times of reading a compressed subband from a recording file required for displaying a reduced image for every image recording format. 図2における色分離処理によりRAW画像からプレーン画像に分離する例を示す図である。FIG. 3 is a diagram showing an example of separating a RAW image into a plain image by the color separation processing in FIG. 2. 実施例1に係る画像符号化処理の手順を示すフローチャートである。6 is a flowchart illustrating a procedure of image encoding processing according to the first embodiment. 実施例2に係るRAW画像の階層表示を示す図である。FIG. 8 is a diagram showing a hierarchical display of a RAW image according to the second embodiment. 実施例2に係る色差成分の解像度拡張方法を示す図である。FIG. 9 is a diagram illustrating a method of expanding the resolution of color difference components according to the second embodiment. 実施例2に係る色差成分の解像度拡張方法の変形例を示す図である。FIG. 9 is a diagram showing a modification of the color difference component resolution expanding method according to the second embodiment. 実施例2に係る画像記録フォーマットを示す図である。FIG. 8 is a diagram showing an image recording format according to a second embodiment. 図13Aにおける解像度ヘッダに格納される、RAW画像を階層表示する際に用いられるパラメタを示す表である。FIG. 13B is a table showing parameters used when hierarchically displaying a RAW image, which is stored in the resolution header in FIG. 13A. FIG.

以下、本発明の好ましい実施の形態を添付の図面を参照して詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

図1は、実施例1に係る画像符号化装置のハードウェア構成を示すブロック図である。   FIG. 1 is a block diagram of the hardware configuration of the image coding apparatus according to the first embodiment.

図1において、画像符号化装置100は、CPU101、光学部102、撮像部103、色分離部104、プレーン変換部105、ウェーブレット変換部106、量子化部107、及びエントロピー符号化部108を備える。さらに、画像符号化装置100は、メモリI/F109、メモリ110、記録処理部111、記録媒体112を備える。   In FIG. 1, the image encoding device 100 includes a CPU 101, an optical unit 102, an image capturing unit 103, a color separation unit 104, a plane conversion unit 105, a wavelet conversion unit 106, a quantization unit 107, and an entropy encoding unit 108. Further, the image coding apparatus 100 includes a memory I / F 109, a memory 110, a recording processing unit 111, and a recording medium 112.

CPU101は、CPU101が実行する制御プログラムを格納するメモリを持ち、画像符号化装置100の全体の処理を制御する。また、CPU101は、メモリI/F109にアクセスし、メモリ110に格納された符号化ストリーム(圧縮RAWデータ)を並べ替えるプログラムも持つ。   The CPU 101 has a memory that stores a control program executed by the CPU 101, and controls the entire processing of the image encoding device 100. The CPU 101 also has a program for accessing the memory I / F 109 and rearranging the coded streams (compressed RAW data) stored in the memory 110.

光学部102は、光学レンズ、絞り、フォーカス制御及びレンズ駆動部を含む光学ズームが可能なレンズ光学系で構成されており、レンズ光学系を通して取得した光情報を、撮像部103に送る。   The optical unit 102 is composed of a lens optical system capable of optical zoom including an optical lens, diaphragm, focus control, and lens driving unit, and sends the optical information acquired through the lens optical system to the image capturing unit 103.

撮像部103は、光学部102から送られた光情報を電気信号に変換する撮像素子を含み、CPU101から撮影命令を受けて撮像素子により得られた電気信号をデジタル信号へ変換してRAW画像を生成する。撮像部103はその生成されたRAW画像をメモリI/F109を介してメモリ110に記憶させると共に、色分離部104に読み出し許可信号を送る。色分離部104は撮像部103から受け取った読み出し許可信号を合図として動作を開始する。尚、撮像部103の撮像素子は、光情報を電気信号に変換する素子であればよく、例えば、CCDイメージセンサーやCMOSセンサー等が例示される。   The image pickup unit 103 includes an image pickup device that converts the optical information sent from the optical unit 102 into an electric signal, receives a shooting instruction from the CPU 101, converts the electric signal obtained by the image pickup device into a digital signal, and forms a RAW image. To generate. The imaging unit 103 stores the generated RAW image in the memory 110 via the memory I / F 109 and sends a read permission signal to the color separation unit 104. The color separation unit 104 starts the operation by using the read permission signal received from the image pickup unit 103 as a signal. The image pickup device of the image pickup unit 103 may be any device that converts optical information into an electric signal, and examples thereof include a CCD image sensor and a CMOS sensor.

色分離部104は、撮像部103からの読み出し許可信号を受けてメモリ110からRAW画像を読み出し、そのRAW画像からR,B,G1,G2成分のプレーン画像を生成する色プレーン分離を行う。色分離部104はその生成された各プレーン画像をプレーン変換部105に送る。   The color separation unit 104 receives a read permission signal from the image pickup unit 103, reads a RAW image from the memory 110, and performs color plane separation for generating a plane image of R, B, G1, and G2 components from the RAW image. The color separation unit 104 sends each generated plane image to the plane conversion unit 105.

プレーン変換部105は、色分離部104から送られた各プレーン画像に対してプレーン変換を実施し、輝度(Y)成分のプレーン画像、および色差(C1,C2,C3)成分のプレーン画像を生成する。プレーン変換部105は、その生成された各プレーン画像をウェーブレット変換部106に送る。尚、プレーン変換部105は、複数の計算式を実装しておき、CPU101で実際に使用する計算式を選択してもよい。   The plane conversion unit 105 performs plane conversion on each plane image sent from the color separation unit 104 to generate a plane image of a luminance (Y) component and a plane image of a color difference (C1, C2, C3) component. To do. The plane conversion unit 105 sends each generated plane image to the wavelet conversion unit 106. Note that the plane conversion unit 105 may be mounted with a plurality of calculation formulas and the calculation formula actually used by the CPU 101 may be selected.

ウェーブレット変換部106は、プレーン変換部105から送られた各プレーン画像に対し階層的な周波数分解を行い、複数のサブバンドを生成するウェーブレット変換を行う。ウェーブレット変換部106は、その生成された各サブバンドをウェーブレット変換部106に送る。尚、ウェーブレット変換部106によるウェーブレット変換の回数(以下、「ウェーブレット回数」という。)は、CPU101で設定される。   The wavelet transform unit 106 performs hierarchical frequency decomposition on each plane image sent from the plane transform unit 105 and performs wavelet transform to generate a plurality of subbands. The wavelet transform unit 106 sends the generated subbands to the wavelet transform unit 106. The number of wavelet transforms performed by the wavelet transform unit 106 (hereinafter referred to as “wavelet count”) is set by the CPU 101.

量子化部107は、ウェーブレット変換部106より送られた各サブバンドに対して、所定の量子化ステップサイズに基づいて夫々を量子化する。量子化部107は、その量子化された各サブバンドをエントロピー符号化部108に送る。ここで、量子化部107で用いられる量子化ステップサイズは、CPU101より与えられた1つのベースとなる量子化ステップサイズから各サブバンドで異なる重みづけをしつつ設定してもよい。また、CPU101により各サブバンドで個別に量子化ステップサイズを設定してもよい。   The quantization unit 107 quantizes each subband sent from the wavelet transform unit 106 based on a predetermined quantization step size. The quantizing unit 107 sends the quantized subbands to the entropy coding unit 108. Here, the quantization step size used in the quantization unit 107 may be set while weighting differently for each subband from the one quantization step size given by the CPU 101. Further, the quantization step size may be set individually for each subband by the CPU 101.

エントロピー符号化部108は、量子化部107から送られた量子化された各サブバンドに対してハフマン符号や算術符号等を用いたエントロピー符号化を行って符号化ストリームを生成する。また、エントロピー符号化部108は、符号化ストリームをメモリI/F109を介してメモリ110に記憶する。   The entropy coding unit 108 performs entropy coding using a Huffman code, arithmetic code, or the like on each quantized subband sent from the quantization unit 107 to generate a coded stream. Further, the entropy coding unit 108 stores the coded stream in the memory 110 via the memory I / F 109.

メモリI/F109は、CPU101、撮像部103、色分離部104、エントロピー符号化部108、記録処理部111等の画像符号化装置100の各処理部からのメモリ・アクセス要求を調停し、メモリ110に対する読み出し・書き込み制御を行う。   The memory I / F 109 arbitrates a memory access request from each processing unit of the image encoding device 100 such as the CPU 101, the image capturing unit 103, the color separation unit 104, the entropy encoding unit 108, and the recording processing unit 111, and the memory 110. Read / write control for.

メモリ110は、CPU101、撮像部103、エントロピー符号化部108等の画像符号化装置100の各処理部から出力される各種データを格納するための例えば揮発性メモリで構成される記憶領域である。   The memory 110 is a storage area configured by, for example, a volatile memory for storing various data output from each processing unit of the image encoding device 100 such as the CPU 101, the image capturing unit 103, and the entropy encoding unit 108.

記録処理部111は、CPU101からの記録命令に従い、メモリ110へ格納された符号化ストリーム等の各種データを記録媒体112へ記録する。またCPU101からの読出命令に従い、その各種データを読み出す。   The recording processing unit 111 records various data such as an encoded stream stored in the memory 110 on the recording medium 112 according to a recording command from the CPU 101. Further, according to the read instruction from the CPU 101, the various data are read.

記録媒体112は、例えば不揮発性メモリで構成される記録メディアである。   The recording medium 112 is a recording medium including a non-volatile memory, for example.

次に、RAW画像を実施例1に係る画像記録フォーマットに符号化して圧縮RAW画像を生成する符号化処理200について、図2を参照して説明する。   Next, an encoding process 200 for encoding a RAW image into the image recording format according to the first embodiment to generate a compressed RAW image will be described with reference to FIG.

図2に示すように、符号化処理200は、色分離処理201、プレーン変換処理202、ウェーブレット変換処理203、量子化処理204、エントロピー符号化処理205で構成されている。   As shown in FIG. 2, the encoding process 200 includes a color separation process 201, a plane conversion process 202, a wavelet conversion process 203, a quantization process 204, and an entropy encoding process 205.

色分離処理201は、色分離部104により実行される処理であり、図9に示すように、入力されたRAW画像からR,B,G1,G2成分の4つのプレーン画像を生成する。   The color separation process 201 is a process executed by the color separation unit 104, and as shown in FIG. 9, generates four plane images of R, B, G1, and G2 components from the input RAW image.

プレーン変換処理202は、プレーン変換部105により実行される処理である。具体的には、色分離処理201によって生成された各プレーン画像に対して、プレーン変換を実施し、輝度(Y)成分のプレーン画像、および色差(C1,C2,C3)成分の4つのプレーン画像を生成する。ここで、プレーン変換は、例えば以下の数式(1)に基づいて生成される。また数式1のC3成分のように色差成分の内の1つをG1,G2成分の差分成分としている計算式であるのならば、以下の数式(2)に則った行列を用いた計算式を複数用意してもよい。   The plane conversion process 202 is a process executed by the plane conversion unit 105. Specifically, plane conversion is performed on each plane image generated by the color separation processing 201 to obtain a plane image of a luminance (Y) component and four plane images of color difference (C1, C2, C3) components. To generate. Here, the plane conversion is generated based on the following mathematical expression (1), for example. In addition, if the calculation formula uses one of the color difference components as the difference component of the G1 and G2 components like the C3 component of Formula 1, a calculation formula using a matrix according to the following Formula (2) is used. You may prepare more than one.

Figure 2020072390
Figure 2020072390

Figure 2020072390
Figure 2020072390

ウェーブレット変換処理203は、ウェーブレット変換部106により実行される処理であり、プレーン変換処理202によって生成された輝度色差成分の各プレーン画像のウェーブレット変換を実施し、図3で示すようなサブバンドを生成する。   The wavelet transform process 203 is a process executed by the wavelet transform unit 106. The wavelet transform process is performed on each plane image of the luminance and color difference components generated by the plane transform process 202 to generate subbands as shown in FIG. To do.

図3は、ウェーブレット変換処理203によるウェーブレット回数が2回である場合に生成されたサブバンドを示す図である。   FIG. 3 is a diagram showing subbands generated when the number of wavelets by the wavelet transform process 203 is two.

プレーン変換処理202によって生成された輝度色差成分の各プレーン画像に対するウェーブレット回数が1回の場合、1LL、1HL、1LH、1HHの4つのサブバンドが各プレーン画像から生成される。ここで、Lが低域、Hが高域を表す。L、Hの前の数字が分解レベルを表す。例えば、1HLは、水平方向が高域成分で、垂直方向が低域成分である分解レベル(ウェーブレット回数)=1のサブバンド画像を表す。なお、ウェーブレット回数に制限はない。また、2回目以降のウェーブレット変換は、直前のウェーブレット変換で得られたサブバンドLLに対して再帰的に行うことになる。それ故、予定した回数のウェーブレット変換を行った際のサブバンドLLは1つしか存在しない。図3は、ウェーブレット回数が2回である場合を示しているので、1HL、1LH、1HH、2HL、2LH、2HH、2LLの7つのサブバンドが生成される。 図2に戻り、量子化処理204は、量子化部107により実行される処理であり、ウェーブレット変換処理203で生成された各サブバンドを所定の量子化ステップサイズに基づいて量子化する。ここで、量子化処理204で用いられる量子化ステップサイズは、図4で示すように、予め設定されたベース量子化ステップサイズとサブバンド毎の重み係数から算出する。以下、図4を用いて、ウェーブレット回数が1回であって、ベース量子化ステップサイズが4に設定されている場合を例にして、Yプレーン画像から生成されたサブバンド(以下、「Y成分のサブバンド」という。)の量子化を説明する。   When the number of wavelets for each plane image of the luminance and color difference components generated by the plane conversion processing 202 is one, four subbands 1LL, 1HL, 1LH, and 1HH are generated from each plane image. Here, L represents a low range and H represents a high range. The numbers before L and H represent the decomposition level. For example, 1HL represents a subband image having a decomposition level (the number of wavelets) = 1 in which the horizontal direction is a high frequency component and the vertical direction is a low frequency component. There is no limit to the number of wavelets. The second and subsequent wavelet transforms are recursively performed on the subband LL obtained by the immediately preceding wavelet transform. Therefore, there is only one sub-band LL when the wavelet transform is performed a predetermined number of times. Since FIG. 3 shows the case where the number of wavelets is 2, seven subbands 1HL, 1LH, 1HH, 2HL, 2LH, 2HH, and 2LL are generated. Returning to FIG. 2, the quantization process 204 is a process executed by the quantization unit 107, and quantizes each subband generated by the wavelet transform process 203 based on a predetermined quantization step size. Here, the quantization step size used in the quantization processing 204 is calculated from a preset base quantization step size and a weighting coefficient for each subband, as shown in FIG. Hereinafter, with reference to FIG. 4, a subband (hereinafter, referred to as “Y component”) generated from a Y plane image will be described as an example in which the number of wavelets is 1 and the base quantization step size is set to 4. Of sub-bands.)).

量子化処理204において、Y成分の1LL、1HL,1LH,1HHの4つのサブバンドに設定された重み係数1,1.5,1.5.2にベース量子化ステップサイズである4が夫々乗算される。これにより、Y成分の1LL、1HL,1LH,1HHの4つのサブバンドの量子化ステップサイズは、4,6,6,8と算出される。尚、本実施例では、量子化処理204で用いられる量子化ステップサイズは、各サブバンドで同一の値である4が設定されていたが、各サブバンドで個別にその値が設定されていてもよい。   In the quantization processing 204, the weighting factors 1, 1.5 and 1.5.2 set in the four sub-bands 1LL, 1HL, 1LH and 1HH of the Y component are respectively multiplied by 4 which is the base quantization step size. To be done. As a result, the quantization step sizes of the four subbands 1LL, 1HL, 1LH, and 1HH of the Y component are calculated as 4, 6, 6, and 8. In the present embodiment, the quantization step size used in the quantization processing 204 is set to the same value of 4 in each subband, but the value is set individually in each subband. Good.

図2に戻り、エントロピー符号化処理205は、エントロピー符号化部108で実行される処理であり、量子化処理204で量子化された各サブバンドに対してハフマン符号や算術符号等を用いたエントロピー符号化を行う。これにより、各サブバンドが圧縮符号化され、複数の圧縮サブバンドが生成される。   Returning to FIG. 2, the entropy coding process 205 is a process executed by the entropy coding unit 108, and uses entropy using Huffman code, arithmetic code, or the like for each subband quantized by the quantization process 204. Encode. As a result, each subband is compression-coded to generate a plurality of compressed subbands.

ここで、前述した圧縮RAW画像は、エントロピー符号化処理205で生成した複数の圧縮サブバンドで構成されているものとする。   Here, it is assumed that the compressed RAW image described above is composed of a plurality of compressed subbands generated by the entropy coding processing 205.

続いて、図2の符号化処理200により生成された複数の圧縮サブバンドを用いてRAW画像の縮小表示を行う方法を図5を参照して説明する。   Next, a method of performing reduced display of a RAW image using a plurality of compressed subbands generated by the encoding process 200 of FIG. 2 will be described with reference to FIG.

図5は、水平8192画素、垂直4320ラインのサイズを持つRAW画像の階層的なサイズの画像表示(以下、「階層表示」という。)を示す図である。尚、図5の例は、ウェーブレット回数を1回としている。   FIG. 5 is a diagram showing an image display of a RAW image having a size of 8192 pixels in the horizontal direction and 4320 lines in the vertical direction in a hierarchical size (hereinafter, referred to as “hierarchical display”). In the example of FIG. 5, the number of wavelets is one.

図5は、3階層(階層1〜3)の表示サイズの画像500a〜cと、その画像を生成するために使用される輝度色差成分のサブバンドを示す。   FIG. 5 shows images 500a to 500c having display sizes of three layers (layers 1 to 3) and the subbands of the luminance and color difference components used to generate the images.

階層3における画像500aは、RAW画像そのままのサイズである水平8192画素、垂直4320ラインの表示サイズの画像であり、図5ではその右に、画像500aを生成するために使用される輝度色差成分のサブバンドを示す。   The image 500a in the layer 3 is an image having a display size of 8192 pixels in the horizontal direction and 4320 lines in the vertical direction, which is the size of the RAW image as it is. To the right of FIG. 5, the luminance and color difference components used to generate the image 500a are displayed. Indicates a subband.

階層2における画像500bは、RAW画像に対して水平方向に2分の1、垂直方向に2分の1に縮小した水平4096画素、垂直2160ラインの表示サイズの画像である。図5ではその右に、画像500bを生成するために使用される輝度色差成分のサブバンドを示す。   The image 500b in the layer 2 is an image having a display size of horizontal 4096 pixels and vertical 2160 lines, which is reduced by half in the horizontal direction and by half in the vertical direction with respect to the RAW image. To the right of FIG. 5, the sub-bands of the luma color difference components used to generate the image 500b are shown.

階層1における画像500cは、RAW画像に対して水平方向に4分の1、垂直方向に4分の1に縮小した水平2048画素、垂直1080ラインの表示サイズの画像である。図5ではその右に、画像500cを生成するために使用される輝度色差成分のサブバンドを示す。   The image 500c in the layer 1 is an image having a display size of horizontal 2048 pixels and vertical 1080 lines, which is reduced to a quarter in the horizontal direction and a quarter in the vertical direction with respect to the RAW image. To the right of FIG. 5, the sub-bands of the luma color difference components used to generate the image 500c are shown.

画像500aのような、水平8192画素、垂直4320ラインのRAW画像そのままの表示サイズの画像は、圧縮RAW画像をデコードし、デコードしたRAW画像の現像処理を行なって生成される。ここで、現像処理とはRAW画像に対してデベイヤー処理(デモザイク処理)を施し、輝度と色差から成る信号に変換、各信号に含まれるノイズを除去、光学的な歪を補正し、画像を適正化するなどの処理のことを指す。尚、このようなRAW画像そのままの表示サイズの画像500aの生成には、RAW画像から生成された全ての圧縮サブバンドのデコードが必要となる。   An image having the same display size as the RAW image of horizontal 8192 pixels and vertical 4320 lines, such as the image 500a, is generated by decoding the compressed RAW image and developing the decoded RAW image. Here, the development processing applies debayer processing (demosaic processing) to the RAW image, converts it into a signal composed of luminance and color difference, removes noise included in each signal, corrects optical distortion, and corrects the image. Refers to processing such as conversion. It should be noted that in order to generate such an image 500a having the display size as it is, it is necessary to decode all the compressed subbands generated from the RAW image.

画像500bのような、水平4096画素、垂直2160ラインの表示サイズの縮小画像は、後述するようにRAW画像の現像処理は行わず、RAW画像のY成分、および2つの色差成分のプレーン画像を多重化して生成する。これにより、1画素毎に3成分の輝度色差成分を持った画像として画像500bが生成される。ここで、本実施例において、CPU101は、C1〜C3の3つの色差成分のうち上記2つの縮小画像の表示を行うための色差成分(表示用色差成分)としてC1,C2成分を選択している(選択手段)。尚、このような水平4096画素、垂直2160ラインの表示サイズの画像500bの生成には、RAW画像から生成されたY、C1、C2成分の全ての圧縮サブバンドのデコードが必要となる。尚、CPU101が選択する表示用色差成分は、C1〜C3の3つの色差成分のうちの2つであればこれに限定されない。   A reduced image having a display size of 4096 horizontal pixels and 2160 vertical lines, such as the image 500b, is not subjected to RAW image development processing as described later, and the Y component of the RAW image and the plain image of two color difference components are multiplexed. Generate and generate. As a result, the image 500b is generated as an image having a three-component luminance color difference component for each pixel. Here, in the present embodiment, the CPU 101 selects the C1 and C2 components as the color difference components (display color difference components) for displaying the two reduced images among the three color difference components C1 to C3. (Selection means). It should be noted that generation of such an image 500b having a display size of 4096 horizontal pixels and 2160 vertical lines requires decoding of all compressed subbands of Y, C1, and C2 components generated from the RAW image. The display color difference component selected by the CPU 101 is not limited to this as long as it is two of the three color difference components C1 to C3.

画像500cのような、水平2048画素、垂直1080ラインの表示サイズの縮小画像は、画像500bと同様にRAW画像の現像処理は行わず、RAW画像から生成されたY、C1、C2成分1LLのサブバンドを多重化して生成する。これにより、1画素毎にY、C1、C2の3成分を持った1LLのサイズの画像として画像500cが生成される。尚、このような水平2048画素、垂直1080ラインの表示サイズの画像500cの生成には、RAW画像から生成されたY、C1、C2成分の1LLの圧縮サブバンドのデコードが必要となる。   A reduced image having a display size of 2048 horizontal pixels and 1080 vertical lines, such as the image 500c, is not subjected to the RAW image development process as in the image 500b, and is a sub-component of Y, C1, C2 components 1LL generated from the RAW image. Generate by multiplexing the bands. As a result, the image 500c is generated as an image having a size of 1LL having three components of Y, C1, and C2 for each pixel. In order to generate the image 500c having the display size of horizontal 2048 pixels and vertical 1080 lines, it is necessary to decode the 1LL compressed subband of the Y, C1, and C2 components generated from the RAW image.

次に、Y、C1、C2成分のプレーン画像の多重化による縮小画像の生成方法を、図6を用いて説明する。すなわち、図6では、生成される縮小画像が水平4096画素、垂直2160ラインの表示サイズの画像500bである場合を例示する。尚、ここでの説明ではC1、C2成分のプレーン画像は上記数式(1)、または数式(2)に基づいてプレーン変換される。すなわち、C1成分は、青系統の色の色相と彩度を表わすCb成分に対応する成分であり、C2成分は、赤系統の色の色相と彩度を表わすCr成分に対応する成分である。   Next, a method of generating a reduced image by multiplexing plane images of Y, C1, and C2 components will be described with reference to FIG. That is, FIG. 6 exemplifies a case where the generated reduced image is an image 500b having a display size of 4096 horizontal pixels and 2160 vertical lines. In the description here, the plane images of the C1 and C2 components are plane-converted based on the above formula (1) or formula (2). That is, the C1 component is a component corresponding to the Cb component that represents the hue and saturation of blue colors, and the C2 component is the component that corresponds to the Cr component that represents the hue and saturation of red colors.

上記数式(1),(2)で示すように、本実施例におけるプレーン変換で用いる計算式は、RAW画像を構成する色成分の内、G1、G2成分の平均、R成分、およびB成分を用いて輝度(Y)成分と2つの色差(C1、C2)成分を生成する。また、G1、G2成分の差分を3つめの色差(C3)成分として生成する。   As shown in the above equations (1) and (2), the calculation formula used in the plane conversion in this embodiment is the average of the G1 and G2 components, the R component, and the B component of the color components forming the RAW image. It is used to generate a luminance (Y) component and two color difference (C1, C2) components. Further, the difference between the G1 and G2 components is generated as the third color difference (C3) component.

また輝度成分、色差成分の夫々のプレーン画像の画素数は等しいため、プレーン画像のサイズにおいては、同画素位置に各プレーン画像の輝度成分と色差成分が配置されるとみなすことができる。   Further, since the number of pixels of each plane image of the luminance component and the color difference component is the same, it can be considered that the luminance component and the color difference component of each plane image are arranged at the same pixel position in the size of the plane image.

そのため、プレーン画像の同画素位置の輝度成分、およびG1、G2成分の差分であるC3成分以外の色差成分(C1,C2成分)を用いる。これにより、画像500bの各画素位置に対してRGBの3成分を揃えることができ、そのまま表示に用いることが可能となる。   Therefore, the color difference components (C1 and C2 components) other than the luminance component at the same pixel position of the plain image and the C3 component which is the difference between the G1 and G2 components are used. As a result, the three RGB components can be aligned with each pixel position of the image 500b, and can be used for display as they are.

図6の例では、RAW画像を色分離、プレーン変換により、Y、C1、C2、C3の各プレーン画像が生成される。さらに、図6では不図示であるが、その後、1回のウェーブレット変換を行った場合Y、C1、C2、C3の各プレーン画像から夫々1LL、1HL、1LH、1HHのサブバンドが生成される。   In the example of FIG. 6, each of the Y, C1, C2, and C3 plane images is generated by performing color separation and plane conversion on the RAW image. Further, although not shown in FIG. 6, when the wavelet transform is performed once, sub-bands 1LL, 1HL, 1LH, and 1HH are respectively generated from the Y, C1, C2, and C3 plane images.

縮小画像生成の際には、まず、その生成されたサブバンドが合成されてY、C1、C2成分のプレーン画像に戻される。その後、そのY、C1、C2成分のプレーン画像を多重化して、1画素にY成分、C1(≒Cb)成分、C2(≒Cr)成分の3成分を持ったプレーン画像と同じ解像度を持つ画像を生成する。その後、その生成された画像のY、C1、C2の3成分をR、G、Bの3成分に変換することで、1画素にR成分、G成分、B成分を持った画像500bを生成する。この画像500bを表示することにより、RAW画像の階層2の表示サイズでの縮小表示をすることができる。   When generating a reduced image, first, the generated subbands are combined and returned to a plane image of Y, C1, and C2 components. After that, the plane images of the Y, C1, and C2 components are multiplexed, and an image having the same resolution as the plane image having three components of the Y component, C1 (≈Cb) component, and C2 (≈Cr) component in one pixel To generate. Then, by converting the three components of Y, C1, and C2 of the generated image into the three components of R, G, and B, an image 500b having an R component, a G component, and a B component in one pixel is generated. .. By displaying this image 500b, it is possible to reduce the display size of the RAW image in the display size of Layer 2.

尚、本実施例ではY成分とC1,C2の2つの色差成分の3つの成分を持った縮小画像を生成しているが、これに限定されない。例えば、全ての成分、すなわち、Y成分とC1〜C3の3つの色差成分を持った縮小画像を生成してもよい。例えば、Y、C1、C2、C3成分の1LLのサブバンドから縮小サイズのRAW画像を生成し、その縮小サイズのRAW画像を現像することで、縮小画像を生成してもよい。また、上述の通り、画像500aの生成の際にY、C1,C2、C3成分の圧縮RAW画像をデコードしてRAW画像に戻す処理が入るが、Y、C1,C2、C3成分の1LLサイズの圧縮RAW画像に対して同様の処理を行って、縮小画像を生成してもよい。   In this embodiment, the reduced image having three components of the Y component and the two color difference components C1 and C2 is generated, but the present invention is not limited to this. For example, a reduced image having all the components, that is, the Y component and the three color difference components C1 to C3 may be generated. For example, a reduced image may be generated by generating a reduced size RAW image from 1LL subbands of Y, C1, C2, and C3 components and developing the reduced size RAW image. Further, as described above, when the image 500a is generated, the process of decoding the compressed RAW image of the Y, C1, C2, and C3 components and returning it to the RAW image is performed. Similar processing may be performed on the compressed RAW image to generate a reduced image.

続いて、実施例1に係る画像記録フォーマットについて図7A,Bを用いて説明する。   Next, the image recording format according to the first embodiment will be described with reference to FIGS. 7A and 7B.

図7Aに示す画像記録フォーマット700は、情報管理部701と、圧縮RAW部702で構成される。   The image recording format 700 shown in FIG. 7A includes an information management unit 701 and a compression RAW unit 702.

情報管理部701は、メインヘッダ703、解像度ヘッダ704、サブバンドヘッダ705で構成される。   The information management unit 701 includes a main header 703, a resolution header 704, and a subband header 705.

圧縮RAW部702は、RAW画像を圧縮して生成した各サブバンドの圧縮データ、すなわち、圧縮サブバンドを、後述するサブバンドヘッダ705と同様にRAW画像の階層表示に基づいた階層のグループ毎にまとめて格納する。   The compression RAW unit 702 compresses the compressed data of each sub-band generated by compressing the RAW image, that is, the compressed sub-band, for each group of layers based on the hierarchical display of the RAW image similarly to the sub-band header 705 described later. Store all at once.

メインヘッダ703は、撮影したRAW画像の画像サイズや画素ビット数、ウェーブレット回数、およびプレーン変換に用いる数式等の情報を格納している。   The main header 703 stores information such as the image size of the captured RAW image, the number of pixel bits, the number of wavelets, and a mathematical formula used for plane conversion.

解像度ヘッダ704は、RAW画像を階層表示する際に用いられるパラメタ、すなわち、圧縮RAW画像を復号するための復号情報を格納する。具体的には、復号画像(縮小画像)の表示サイズ、ウェーブレット回数、縮小画像を生成するのに使用するサブバンド数、読み出しデータサイズ、復号画像がRAW画像であるか否かのフラグ(図7Bの表の「現像」が該当)を格納する。ここで、読み出しデータサイズとは、縮小画像を生成する際に必要な圧縮サブバンドのデータサイズを指す。尚、解像度ヘッダ704がRAW画像であるか否かのフラグを持つのは、縮小画像を表示する際にこのフラグを参照して、デコード後に現像処理をするか否か判断するためである。すなわち、解像度ヘッダ704は、図5に示す各表示階層に関する情報をパラメタとして格納する。   The resolution header 704 stores parameters used when hierarchically displaying a RAW image, that is, decoding information for decoding a compressed RAW image. Specifically, the display size of the decoded image (reduced image), the number of wavelets, the number of subbands used to generate the reduced image, the read data size, and a flag indicating whether the decoded image is a RAW image (FIG. 7B). "Development" in the table corresponds to) is stored. Here, the read data size refers to the data size of the compressed subband required when generating the reduced image. The resolution header 704 has a flag indicating whether or not it is a RAW image, in order to determine whether or not to perform development processing after decoding by referring to this flag when displaying a reduced image. That is, the resolution header 704 stores information regarding each display layer shown in FIG. 5 as a parameter.

ここで例として、解像度ヘッダ704で格納されるパラメタのうち画像500bの表示に使用される階層2の情報を図7Bの表を用いて説明する。   Here, as an example, of the parameters stored in the resolution header 704, the information of the layer 2 used for displaying the image 500b will be described with reference to the table of FIG. 7B.

階層2の情報は、表示サイズが4096画素×2160ライン、ウェーブレット回数が1回、使用サブバンド数が12となっている。また、読み出しデータサイズが圧縮RAW部702の階層1,2のグループでまとめられた圧縮サブバンドの合計サイズ、また表示の際に現像処理は不要となっている。尚、階層2の画像500bは、Y、C1、C2成分の夫々の1LL、1HL、1LH、1HHの4つのサブバンドを使用して生成されるので使用サブバンド数は12となる。また、上記12個のサブバンドのうち、Y、C1、C2成分の夫々の1LLのサブバンドは圧縮RAW部702で階層1のグループの圧縮サブバンドとしてまとめられる。一方、残りのサブバンドは圧縮RAW部702で階層2のグループの圧縮サブバンドとしてまとめられる。よって、読み出しデータサイズは圧縮RAW部702で階層1,2のグループにまとめられる圧縮サブバンドのデータサイズの総和となる。   In the information of the layer 2, the display size is 4096 pixels × 2160 lines, the number of wavelets is 1, and the number of used subbands is 12. Further, the read data size is the total size of the compressed sub-bands grouped in the groups of layers 1 and 2 of the compression RAW unit 702, and the development process is not necessary at the time of display. Note that the image 500b of the layer 2 is generated using four subbands of 1LL, 1HL, 1LH, and 1HH of the Y, C1, and C2 components, respectively, so the number of used subbands is 12. Further, among the 12 subbands, the 1LL subbands of the Y, C1, and C2 components are combined by the compression RAW unit 702 as compressed subbands of the layer 1 group. On the other hand, the remaining subbands are combined by the compression RAW unit 702 as compressed subbands of the layer 2 group. Therefore, the read data size is the sum of the data sizes of the compressed subbands that are grouped in the layers 1 and 2 by the compression RAW unit 702.

すなわち、ウェーブレット回数がN回の場合、階層n(1≦n≦N+1)の情報に含まれる読み出しデータサイズは、階層1〜nまでにまとめられる圧縮サブバンドのデータサイズの総和となる。   That is, when the number of wavelets is N, the read data size included in the information of the layer n (1 ≦ n ≦ N + 1) is the sum of the data sizes of the compressed subbands grouped in the layers 1 to n.

図7Aに戻り、サブバンドヘッダ705は、圧縮RAW部702で保持される圧縮サブバンド毎のパラメタ(圧縮サブバンド情報)を格納する。このパラメタは、圧縮サブバンド毎のデータサイズや量子化パラメタ、ウェーブレット分解におけるどのサブバンドであるのか(例えば、図3に示す2HLのサブバンドである等)、またY、C1、C2、C成分のいずれであるかの情報を含む。   Returning to FIG. 7A, the subband header 705 stores parameters (compressed subband information) for each compressed subband held in the compression RAW unit 702. This parameter is the data size of each compressed subband, the quantization parameter, which subband in the wavelet decomposition (for example, the 2HL subband shown in FIG. 3), and the Y, C1, C2, and C components. Including information of which of

圧縮RAW部702における各圧縮サブバンドの並びは、ウェーブレット回数がN回の場合、図7Aに示すようになる。すなわち、階層1のグループにはY、C1、C2成分の順に、NLLの圧縮サブバンドが並べられ、階層2のグループには、Y、C1、C2成分の順に、NHL、NLH、NHHの圧縮サブバンド群が並べられる。階層3のグループには、Y、C1、C2成分の順に(N−1)HL、(N−1)LH、(N−1)HHの圧縮サブバンド群が並べられる。また、階層4のグループには、Y、C1、C2成分の順に(N−2)HL、(N−2)LH、(N−2)HHの圧縮サブバンド群が並べられる。同様の方法で階層5〜N−1のグループにおいても複数の圧縮サブバンドが並べられる。階層NのグループにはY、C1、C2成分の順に2HL、2LH、2HHの圧縮サブバンド群が並べられる。また、階層N+1のグループにはY、C1、C2成分の順に1HL、1LH、1HHの圧縮サブバンド群が並べられ、最後の階層N+2のグループには縮小表示には使用されないC3の全圧縮サブバンドが並べられる。サブバンドヘッダ705に保持される圧縮サブバンドの夫々に関するパラメタも、かかる圧縮RAW部702における各圧縮サブバンドの並びと同様に階層のグループ毎にまとめられる。   The arrangement of the compression subbands in the compression RAW unit 702 is as shown in FIG. 7A when the number of wavelets is N. That is, the NLL compression subbands are arranged in the order of Y, C1, and C2 components in the layer 1 group, and the NHL, NLH, and NHH compression subbands are arranged in the order of Y, C1, and C2 components in the layer 2 group. Bands are arranged. In the layer 3 group, compressed subband groups of (N-1) HL, (N-1) LH, and (N-1) HH are arranged in the order of Y, C1, and C2 components. In the layer 4 group, the compressed subband groups of (N-2) HL, (N-2) LH, and (N-2) HH are arranged in the order of Y, C1, and C2 components. In the same way, a plurality of compressed subbands are arranged in the groups of layers 5 to N-1. In the group of hierarchy N, 2HL, 2LH, and 2HH compressed subband groups are arranged in the order of Y, C1, and C2 components. Further, the compressed subband groups of 1HL, 1LH, and 1HH are arranged in the order of Y, C1, and C2 components in the group of hierarchical layer N + 1, and all the compressed subbands of C3 that are not used for reduced display in the final group of hierarchical layer N + 2. Are lined up. The parameters relating to each compressed subband held in the subband header 705 are also grouped into hierarchical groups in the same manner as the arrangement of the compressed subbands in the compression RAW unit 702.

以上のように、圧縮RAW部702では、まず、縮小表示で用いる成分、すなわちY成分及び表示用色差成分(C1、C2成分)の圧縮サブバンドのグループが縮小表示の階層1〜N+1の順で階層のグループ毎にまとめて並べられる。すなわち、Y、C1、C2成分の圧縮サブバンドのグループが低階層のグループから高階層のグループの順で配置される。またこの際、各グループ内において、Y成分の圧縮サブバンドが先に配置される。その後、縮小表示で用いない色差成分(C3成分)の圧縮サブバンドが縮小表示の階層のグループとは異なるグループ(RAW再構成用データグループ)にまとめて並べられる。   As described above, in the compression RAW unit 702, first, the groups of compressed subbands of the components used in the reduced display, that is, the Y component and the display color difference components (C1 and C2 components) are arranged in the order of the reduced display layers 1 to N + 1. It is arranged together for each group of layers. That is, the groups of compressed subbands of the Y, C1, and C2 components are arranged in order from the group of the lower hierarchy to the group of the higher hierarchy. At this time, the compressed subband of the Y component is arranged first in each group. After that, the compressed subbands of the color difference component (C3 component) that are not used in the reduced display are collectively arranged in a group (RAW reconstruction data group) different from the group of the reduced display hierarchy.

図5の縮小表示を例とすると、圧縮RAW部702において、階層1のグループにY、C1、C2成分の順に1LLの圧縮サブバンドが配置され、階層2のグループにY、C1、C2成分の順に1HL、1LH、1HHの圧縮サブバンド群が配置される。また、最後の階層3のグループにC3の全サブバンド夫々が配置される。   Taking the reduced display of FIG. 5 as an example, in the compression RAW unit 702, 1LL compressed subbands are arranged in the order of Y, C1, and C2 components in the layer 1 group, and Y, C1, and C2 components are arranged in the layer 2 group. Compressed subband groups of 1HL, 1LH, and 1HH are arranged in order. Further, all subbands of C3 are arranged in the last layer 3 group.

尚、解像度ヘッダ704で読み出しデータサイズとして格納される情報は、縮小画像を生成する際に圧縮RAW部702から読み取る圧縮サブバンドのデータサイズの総和でなくてもよい。例えば、その縮小画像の表示階層に対応する圧縮RAW部702の階層のグループにまとめられた圧縮サブバンドのデータサイズの総和としてもよい。また、この場合、この情報を表示に必要な圧縮サブバンドの読み出しの際に使用してもよい。   The information stored as the read data size in the resolution header 704 does not have to be the sum of the data sizes of the compressed subbands read from the compression RAW unit 702 when the reduced image is generated. For example, it may be the sum of the data sizes of the compressed subbands that are grouped into the layers of the compression RAW unit 702 corresponding to the display layer of the reduced image. Also, in this case, this information may be used when reading out the compressed subband necessary for display.

図7Aに示す解像度ヘッダ704を例に示すとすれば、階層1の読み出しデータサイズは、圧縮RAW部702の階層1のグループにまとめられているY、C1、C2成分のNLLの圧縮サブバンドのデータサイズの総和となる。また、階層2の読み出しデータサイズは、圧縮RAW部702の階層2のグループにまとめられるY,C1,C2成分のNHL/NLH/NHHの圧縮サブバンド群のデータサイズの総和となる。階層3の読み出しデータサイズは、圧縮RAW部702の階層3のグループにまとめられるY,C1,C2成分の夫々の(N−1)HL/(N−1)LH/(N−1)HHの圧縮サブバンド群のデータサイズの総和となる。階層4の読み出しデータサイズは、圧縮RAW部702の階層4のグループにまとめられるY,C1,C2成分の夫々の(N−2)HL/(N−2)LH/(N−2)HHの圧縮サブバンド群のデータサイズの総和となる。同様の方法で階層5〜N−1の読み出しデータサイズも階層5〜N−1のグループの圧縮サブバンド群のデータサイズの総和となる。また、階層Nの読み出しデータサイズは、圧縮RAW部702の階層NのグループにまとめられるY,C1,C2成分の夫々の2HL/2LH/2HHの圧縮サブバンド群のデータサイズの総和となる。同様に、階層N+1の読み出しデータサイズは、圧縮RAW部702の階層N+1のグループにまとめられるY,C1,C2成分の夫々の1HL/1LH/1HHの圧縮サブバンド群のデータサイズの総和となる。   If the resolution header 704 shown in FIG. 7A is taken as an example, the read data size of layer 1 is the NLL compressed subbands of the Y, C1, and C2 components that are grouped into the group of layer 1 of the compression RAW unit 702. It is the sum of the data sizes. The read data size of the layer 2 is the sum of the data sizes of the NHL / NLH / NHH compressed subband groups of Y, C1, and C2 components that are grouped into the layer 2 group of the compression RAW unit 702. The read data size of the layer 3 is (N-1) HL / (N-1) LH / (N-1) HH of each of the Y, C1, and C2 components that are grouped into the layer 3 group of the compression RAW unit 702. It is the sum of the data sizes of the compressed subband group. The read data size of the layer 4 is (N−2) HL / (N−2) LH / (N−2) HH for each of the Y, C1, and C2 components that are grouped into the layer 4 group of the compression RAW unit 702. It is the sum of the data sizes of the compressed subband group. In the same manner, the read data size of layers 5 to N-1 also becomes the sum of the data sizes of the compressed subband groups of the groups of layers 5 to N-1. The read data size of the layer N is the sum of the data sizes of the 2HL / 2LH / 2HH compressed subband groups of the Y, C1, and C2 components that are grouped into the layer N group of the compression RAW unit 702. Similarly, the read data size of the layer N + 1 is the sum of the data sizes of the 1HL / 1LH / 1HH compressed subband groups of the Y, C1, and C2 components that are combined into the layer N + 1 group of the compression RAW unit 702.

以上、実施例1によれば、RAW画像を図7Aに示す画像記録フォーマット700に従って圧縮RAW画像に符号化して記録ファイルを生成し、生成した記録ファイルを記録媒体112に格納する。これにより、記録ファイルを記録媒体112から読み出して画像符号化装置100で縮小画像を再生する場合に必要な圧縮サブバンドを効率的に取り出すことができる。また、外部の表示機器に転送してストリーミング再生する場合においては、必要な圧縮サブバンドを効率的に取り出してスマートフォンなどの表示機器に転送することができる。ここで、記録ファイルとは、画像記録フォーマット700に従い、圧縮RAW画像を構成する複数の圧縮サブバンド、圧縮RAW画像を復号するための復号情報などを格納したデータのことを指す。   As described above, according to the first embodiment, the RAW image is encoded into the compressed RAW image according to the image recording format 700 shown in FIG. 7A to generate the recording file, and the generated recording file is stored in the recording medium 112. As a result, it is possible to efficiently extract the compressed sub-band required when the recording file is read from the recording medium 112 and the reduced image is reproduced by the image encoding device 100. Further, in the case of transferring to an external display device for streaming reproduction, it is possible to efficiently take out a necessary compressed subband and transfer it to a display device such as a smartphone. Here, the recording file refers to data that stores a plurality of compressed subbands forming a compressed RAW image, decoding information for decoding the compressed RAW image, and the like according to the image recording format 700.

図8を参照して、本実施例の画像記録フォーマット700及び公知の2つの画像記録フォーマット毎の、縮小画像の表示に必要な記録ファイルからの圧縮サブバンドの読み出し回数について説明する。   With reference to FIG. 8, the number of times of reading the compressed subband from the recording file necessary for displaying the reduced image for each of the image recording format 700 of this embodiment and two known image recording formats will be described.

図8は、本実施例の画像記録フォーマット及び公知の2つの画像記録フォーマット毎の、記録ファイルに圧縮サブバンドを記録する際の並べ方を表す。   FIG. 8 shows how to arrange compressed subbands in a recording file for each of the image recording format of this embodiment and two known image recording formats.

記録ファイル800aは、解像度⊃プレーン⊃サブバンドの包含関係となる画像記録フォーマットで並べられた圧縮サブバンドを有する。解像度⊃プレーン⊃サブバンドの包含関係は、JPEG2000などの公知の画像記録フォーマットで規定されている。   The recording file 800a has compression subbands arranged in an image recording format having an inclusion relation of resolution⊃plane⊃subband. The inclusion relation of resolution⊃plane⊃subband is defined by a known image recording format such as JPEG2000.

記録ファイル800bは、プレーン⊃解像度⊃サブバンドの包含関係となる画像記録フォーマットで並べられた圧縮サブバンドを有する。プレーン⊃解像度⊃サブバンドの包含関係は、記録ファイル800aと同様に、JPEG2000などの公知の画像記録フォーマットで規定されている。   The recording file 800b has compressed subbands arranged in an image recording format that has an inclusion relation of plane⊃resolution⊃subband. The inclusion relation of plane⊃resolution⊃subband is defined by a known image recording format such as JPEG2000 as in the recording file 800a.

記録ファイル800cは、図7Aの画像記録フォーマット700で並べられた圧縮サブバンドを有する。   The recording file 800c has compressed subbands arranged in the image recording format 700 of FIG. 7A.

図5に示す水平4096画素、垂直2160ラインの表示サイズの画像500bを表示する場合を例とすると、図8に示す点線で示す部分の圧縮サブバンドを記録ファイル800a〜cで読み出す必要がある。   Taking the case of displaying the image 500b having the display size of horizontal 4096 pixels and vertical 2160 lines shown in FIG. 5 as an example, it is necessary to read the compressed subbands in the portion shown by the dotted line in FIG. 8 from the recording files 800a to 800c.

具体的には、記録ファイル800aでは、Y,C1、C2成分の1LLのサブバンド、およびY、C1、C2成分の1HL、1LH、1HHのサブバンド群で2回の読み出しが必要となる。また、記録ファイル800bでは、Y成分の1LL、1HL、1LH、1HHのサブバンド群、C1成分の1LL、1HL、1LH、1HHのサブバンド群、C2成分の1LL、1HL、1LH、1HHのサブバンド群で3回の読み出しが必要となる。このように、記録ファイル800a,800bでは複数回、圧縮サブバンドの読み出し処理が必要となる。これに対して、記録ファイル800cではY、C1、C2成分の1LL、1HL、1LH、1HHのサブバンド群がひとまとめとなっている。このため、CPU101(読出手段)は、画像500bの表示に必要な圧縮サブバンドを記録媒体112に記録された記録ファイル800cから読み出す際、1回の読み出し処理で済む。   Specifically, in the recording file 800a, it is necessary to read twice for the 1LL subband of the Y, C1, and C2 components and the 1HL, 1LH, and 1HH subband groups of the Y, C1, and C2 components. Further, in the recording file 800b, the Y-component 1LL, 1HL, 1LH, and 1HH subband groups, the C1 component 1LL, 1HL, 1LH, and 1HH subband groups, and the C2 component 1LL, 1HL, 1LH, and 1HH subbands. The group requires three reads. As described above, in the recording files 800a and 800b, it is necessary to read the compressed subband a plurality of times. On the other hand, in the recording file 800c, the 1LL, 1HL, 1LH, and 1HH subband groups of the Y, C1, and C2 components are grouped together. Therefore, when the CPU 101 (reading unit) reads the compressed sub-band necessary for displaying the image 500b from the recording file 800c recorded on the recording medium 112, the reading process is performed only once.

さらに、外部の表示機器で圧縮RAW画像を動画として再生するストリーム再生を行う場合は、上記の読み出し処理が動画に含まれる圧縮RAW画像の枚数だけ発生する。   Furthermore, when performing stream reproduction in which an external display device reproduces a compressed RAW image as a moving image, the above-described read processing is performed for the number of compressed RAW images included in the moving image.

すなわち、1つの記録ファイルからの読み出し処理の回数が多い程、画像符号化装置100のハードウェア、特にCPU101に負荷がかかり、画像表示のための処理を圧迫し、縮小画像の表示やストリーム再生の際の遅延の原因となってしまう。このため、1つの記録ファイルからの読み出し処理の回数は少ないほうがよい。   That is, as the number of times of reading processing from one recording file increases, the load on the hardware of the image encoding device 100, particularly the CPU 101, stresses the processing for image display, and displays reduced images and stream reproduction. It will cause a delay in the case. For this reason, it is preferable that the number of reading processes from one recording file is small.

そこで、本実施例では、記録ファイル800cのように、画像記録フォーマット700の圧縮RAW部702の並べ方で圧縮サブバンドを並べる。これにより、縮小画像の表示の際に、記録媒体112に保存された記録ファイルから表示に必要な圧縮サブバンドを読み出す読み出し処理の回数を減らすことができる。また、上記ストリーミング再生で必要な圧縮サブバンドを外部の表示機器に送る際に、必要な圧縮サブバンドを記録媒体112に保存された記録ファイルから効率的に読み出すことができる。   Therefore, in the present embodiment, the compressed subbands are arranged according to the arrangement of the compression RAW unit 702 of the image recording format 700 like the recording file 800c. As a result, when displaying the reduced image, the number of times of read processing for reading the compressed subband necessary for display from the recording file stored in the recording medium 112 can be reduced. In addition, when the compressed subband required for the streaming reproduction is sent to the external display device, the required compressed subband can be efficiently read from the recording file stored in the recording medium 112.

以上、実施例1に係る画像記録フォーマット700を記録ファイルに適用することで、記録ファイルからの読み出し処理に起因する表示遅延を軽減することができる。   As described above, by applying the image recording format 700 according to the first embodiment to the recording file, it is possible to reduce the display delay caused by the reading process from the recording file.

続いて、実施例1に係る画像符号化処理を図10のフローチャートを参照して説明する。   Next, the image coding processing according to the first embodiment will be described with reference to the flowchart in FIG.

まず始めに、CPU101が撮像部103に撮像開始指示を行う(ステップS1001)。   First, the CPU 101 gives an image capturing start instruction to the image capturing unit 103 (step S1001).

その後、撮像部103がRAW画像を取得し、メモリ110に一時的に記憶する(ステップS1002)。   After that, the imaging unit 103 acquires the RAW image and temporarily stores it in the memory 110 (step S1002).

続いて、色分離部104(変換手段)がメモリ110に記憶されたRAW画像を読み出し、その読み出したRAW画像から、R、B、G1、G2の4つの成分のプレーン画像を生成する色プレーン分離を行う(ステップS1003)。   Subsequently, the color separation unit 104 (conversion means) reads the RAW image stored in the memory 110, and color plane separation for generating a plane image of four components of R, B, G1, and G2 from the read RAW image. Is performed (step S1003).

その後、プレーン変換部105(変換手段)により、R、B、G1、G2成分のプレーン画像に対してプレーン変換を実施し、Y、C1、C2、C3の4つの成分のプレーン画像を生成する(ステップS1004)。   After that, the plane conversion unit 105 (conversion means) performs plane conversion on the plane images of R, B, G1, and G2 components to generate plane images of four components of Y, C1, C2, and C3 ( Step S1004).

続いて、ウェーブレット変換部106(第1の生成手段)が、Y、C1、C2、C3成分のプレーン画像から複数のサブバンドを生成するウェーブレット変換を行う(ステップS1005)。この際、生成された複数のサブバンドが、ウェーブレット分解におけるどのサブバンドであるか、またY、C1、C2、C成分のいずれであるかをメモリ110に一時記憶させる。   Subsequently, the wavelet transform unit 106 (first generation unit) performs wavelet transform for generating a plurality of subbands from the Y, C1, C2, and C3 component plane images (step S1005). At this time, the memory 110 temporarily stores which subband in the wavelet decomposition the generated subbands are, and which of Y, C1, C2, and C components.

その後、量子化部107が各サブバンドを量子化する(ステップS1006)。この際、各サブバンドの量子化パラメタをメモリ110に一時記憶させる。   Then, the quantization unit 107 quantizes each subband (step S1006). At this time, the quantization parameter of each subband is temporarily stored in the memory 110.

続いて、エントロピー符号化部108(第2の生成手段)が量子化後の各サブバンドを圧縮して符号化ストリームを生成するエントロピー符号化を行った後、その符号化ストリームをメモリ110に一時記憶させる(ステップS1007)。この際、圧縮サブバンド毎のデータサイズもメモリ110に一時記憶させる。   Subsequently, the entropy coding unit 108 (second generation unit) performs entropy coding in which each quantized subband is compressed to generate a coded stream, and then the coded stream is temporarily stored in the memory 110. It is stored (step S1007). At this time, the data size of each compressed subband is also temporarily stored in the memory 110.

その後、CPU101(並替手段)が、メモリ110に一時記憶された符号化ストリームに含まれる各サブバンドの符号化データ(圧縮サブバンド)を図7Aに示す順に並べ替える(ステップS1008)。   After that, the CPU 101 (sorting means) sorts the encoded data (compressed subbands) of each subband included in the encoded stream temporarily stored in the memory 110 in the order shown in FIG. 7A (step S1008).

続いて、CPU101が、図7Aの画像記録フォーマット700の情報管理部701に則ったヘッダの情報の生成を行う(ステップS1009)。具体的には、CPU101(並替手段)は、メモリ110に一時記憶されている圧縮サブバンドの夫々に関する情報についても図7Aに示す順に並べ替えて、ヘッダの情報を生成する。   Subsequently, the CPU 101 generates header information according to the information management unit 701 of the image recording format 700 of FIG. 7A (step S1009). Specifically, the CPU 101 (rearranging means) rearranges the information regarding each compressed subband temporarily stored in the memory 110 in the order shown in FIG. 7A, and generates header information.

最後に、CPU101(第4の生成手段)は、記録ファイルを生成し記録媒体112に記録する(ステップS1010)。すなわち、記録媒体112上に、ステップS1008で並べ替えられた符号化データが圧縮RAW部702に対応する記録ファイルの圧縮RAW領域に書き込まれる。また、ステップS1009で生成されたヘッダの情報が情報管理部701に対応する記録ファイルの情報管理領域に書き込まれる。その後、本処理を終了する。   Finally, the CPU 101 (fourth generation unit) generates a recording file and records it in the recording medium 112 (step S1010). That is, the encoded data rearranged in step S1008 is written on the recording medium 112 in the compressed RAW area of the recording file corresponding to the compressed RAW unit 702. Further, the information of the header generated in step S1009 is written in the information management area of the recording file corresponding to the information management unit 701. Then, this process is completed.

以上、実施例1に係る画像記録フォーマット700を記録ファイルに適用することで、縮小画像表示の際に、記録媒体112に保存された記録ファイルから表示に必要な圧縮サブバンドを1回の読み出し処理で読み出すことが可能となる。また、実施例1に係る画像記録フォーマット700を記録ファイルに適用することで、ストリーミング再生の際に、必要な圧縮サブバンドを、必要最低限の転送回数で表示機器に送ることが可能となる。   As described above, by applying the image recording format 700 according to the first embodiment to the recording file, when the reduced image is displayed, the compressed subband required for the display is read once from the recording file stored in the recording medium 112. Can be read with. Further, by applying the image recording format 700 according to the first embodiment to a recording file, it is possible to send a required compressed subband to the display device at the minimum required number of transfers during streaming reproduction.

このように、実施例1に係る画像記録フォーマット700を記録ファイルに適用することで、記録ファイルからの読み出し処理やストリーミングによる転送処理による負荷を低減でき、ひいては縮小表示やストリーミング再生を高速に行うことができる。   As described above, by applying the image recording format 700 according to the first embodiment to a recording file, it is possible to reduce the load due to the reading process from the recording file and the transfer process by streaming, and thus the reduced display and the streaming reproduction can be performed at high speed. You can

次に、実施例2に係る画像記録フォーマットについて説明する。   Next, the image recording format according to the second embodiment will be described.

実施例2に係る画像記録フォーマットは、縮小画像生成時に色差成分の解像度を輝度成分の解像度以下とすることを可能にする。これにより、実施例1に係る画像記録フォーマット700を使用する場合よりも、圧縮サブバンドの読み出し量をさらに削減することが期待できる。   The image recording format according to the second embodiment enables the resolution of the color difference component to be equal to or lower than the resolution of the luminance component when the reduced image is generated. As a result, it can be expected that the read amount of the compressed subband will be further reduced as compared with the case of using the image recording format 700 according to the first embodiment.

実施例1に係る画像記録フォーマット700は、階層2の縮小画像(画像500b)の生成時にY、C1(≒Cb)、C2(≒Cr)の3成分のプレーン画像を多重化する。その後、1画素にY成分、C1成分、C2成分の3成分を持ったYCbCr444(YUV444)の形式の画像を生成する。   The image recording format 700 according to the first embodiment multiplexes the three-component plane image of Y, C1 (≈Cb), and C2 (≈Cr) when the reduced image (image 500b) of the layer 2 is generated. After that, an image in the format of YCbCr444 (YUV444) having three components of Y component, C1 component, and C2 component in one pixel is generated.

一方、実施例2に係る画像記録フォーマットは、階層2の縮小画像の生成に使用されるC1、C2成分のプレーン画像の解像度をYプレーン画像の解像度に対し、水平方向、あるいは水平/垂直方向で半分となるように間引き(以下「色差間引き」という。)する。これにより、YUV422、YUV420の形式の画像生成も可能とする。尚、本実施例では、C1、C2成分のプレーン画像の解像度をYプレーン画像の解像度に対し水平方向で半分となる色差間引きを行っているが、水平又は垂直のいずれか一方の方向の色差間引きが行わればよい。   On the other hand, in the image recording format according to the second embodiment, the resolution of the C1 and C2 component plane images used to generate the layer 2 reduced image is set in the horizontal direction or the horizontal / vertical direction with respect to the Y plane image resolution. Thinning is performed so as to be half (hereinafter referred to as "color difference thinning"). This enables image generation in the YUV422 and YUV420 formats. In the present embodiment, the color difference thinning is performed so that the resolution of the C1 and C2 component plane images is half the resolution of the Y plane image in the horizontal direction. However, color difference thinning in either the horizontal or vertical direction is performed. Should be done.

階層2の縮小画像の生成に際し、Yプレーン画像に対し、C1、C2プレーン画像の解像度を落とした場合について図11を用いて説明する。   A case where the resolutions of the C1 and C2 plane images are reduced with respect to the Y plane image when generating the reduced image of the layer 2 will be described with reference to FIG.

図11は、水平8192画素、垂直4320ラインのサイズを持つRAW画像の階層表示を示す図である。尚、図11の例は、ウェーブレット回数を1回としている。   FIG. 11 is a diagram showing hierarchical display of a RAW image having a size of 8192 pixels in the horizontal direction and 4320 lines in the vertical direction. In the example of FIG. 11, the number of wavelets is one.

図11は、3階層(階層1〜3)の表示サイズの画像1100a〜cと、その画像を生成するために使用される輝度色差成分のサブバンドを示す。尚、階層2の画像1100bを生成するために使用される輝度色差成分のサブバンドは、図11に示すように、画像1100bの生成時に用いる色差成分の圧縮サブバンドの数を定義するサブ階層1〜3により構成される。   FIG. 11 shows images 1100a to 1100c having display sizes of three layers (layers 1 to 3) and subbands of the luminance and color difference components used to generate the images. It should be noted that, as shown in FIG. 11, the sub-band of the luminance / chrominance component used to generate the image 1100b of the layer 2 defines the number of compression sub-bands of the color-difference component used when the image 1100b is generated. ~ 3.

階層3における画像1100aは、RAW画像そのままのサイズである水平8192画素、垂直4320ラインの表示サイズの画像であり、図11ではその右に、画像1100aを生成するために使用される輝度色差成分のサブバンドを示す。   The image 1100a in the layer 3 is an image having a display size of 8192 pixels in the horizontal direction and 4320 lines in the vertical direction, which is the size of the RAW image as it is. To the right of FIG. 11, the luminance and color difference components used for generating the image 1100a are displayed. Indicates a subband.

階層2における画像1100bは、RAW画像に対して水平方向に2分の1、垂直方向に2分の1に縮小した水平4096画素、垂直2160ラインの表示サイズの画像である。図11ではその右に、画像1100bを生成するために使用される輝度色差成分のサブバンドを示す。具体的には、サブバンド群1101は、サブ階層1に対応する3つの成分のサブバンドを示し、サブバンド群1102は、サブ階層2に対応する3つ成分のサブバンドを示し、サブバンド群1103は、サブ階層3に対応する3つ成分のサブバンドを示す。   The image 1100b in the layer 2 is an image having a display size of horizontal 4096 pixels and vertical 2160 lines, which is reduced by half in the horizontal direction and by half in the vertical direction with respect to the RAW image. In FIG. 11, on the right side, the subbands of the luminance and color difference components used to generate the image 1100b are shown. Specifically, the sub-band group 1101 shows three component sub-bands corresponding to the sub-layer 1, the sub-band group 1102 shows three component sub-bands corresponding to the sub-layer 2, and the sub-band group Reference numeral 1103 indicates sub-bands of three components corresponding to sub-layer 3.

階層1における画像1100cは、RAW画像に対して水平方向に4分の1、垂直方向に4分の1に縮小した水平2048画素、垂直1080ラインの表示サイズの画像である。図11ではその右に、画像1100cを生成するために使用される輝度色差成分のサブバンドを示す。   The image 1100c in the layer 1 is an image having a display size of horizontal 2048 pixels and vertical 1080 lines, which is a quarter of the RAW image in the horizontal direction and a quarter in the vertical direction. In FIG. 11, on the right side thereof, the sub-bands of the luminance and color difference components used for generating the image 1100c are shown.

画像1100aのような、水平8192画素、垂直4320ラインの表示サイズの画像の生成は、実施例1と同様の方法で行われる。   Generation of an image having a display size of horizontal 8192 pixels and vertical 4320 lines, such as the image 1100a, is performed by the same method as in the first embodiment.

画像1100bのような、水平4096画素、垂直2160ラインの表示サイズの縮小画像は、RAW画像の現像処理は行わず、Y、C1、C2成分のプレーン画像を多重化して生成する。これにより、1画素毎にY、C1、C2の3成分の輝度色差成分を持った画像として画像1100bが生成される。ここで、本実施例では、サブ階層1〜3で夫々異なるサブバンド群1101〜1103を用いて画像1100bを生成する。   A reduced image having a display size of 4096 horizontal pixels and 2160 vertical lines, such as the image 1100b, is generated by multiplexing the plain images of the Y, C1, and C2 components without developing the RAW image. As a result, the image 1100b is generated as an image having three color components of Y, C1, and C2 for each pixel. Here, in this embodiment, the image 1100b is generated by using the different subband groups 1101 to 1103 in the sublayers 1 to 3.

具体的には、サブ階層1については、サブバンド群1101に示すように、Y成分の1LL、1HL、1LH、1HHのサブバンド、およびC1、C2成分の1LLのサブバンドを用いて、YUV420形式の縮小画像を画像1100bとして生成する。   Specifically, for sub-tier 1, as shown in sub-band group 1101, using YLL 1LL, 1HL, 1LH, 1HH subbands, and C1, C2 component 1LL subbands, YUV420 format The reduced image of 1 is generated as the image 1100b.

また、サブ階層2については、サブバンド群1102に示すように、Y成分の1LL、1HL、1LH、1HHのサブバンド、およびC1、C2成分の1LL、1LHのサブバンドを用いて、YUV422形式の縮小画像を画像1100bとして生成する。   Also, for sub-layer 2, as shown in sub-band group 1102, using YLL 1LL, 1HL, 1LH, 1HH subbands, and C1, C2 component 1LL, 1LH subbands, the YUV422 format is used. A reduced image is generated as the image 1100b.

また、サブ階層3については、サブバンド群1103に示すように、Y、C1、C2成分の1LL、1HL、1LH、1HHのサブバンドを用いて、YUV444形式の縮小画像を画像1100bとして生成する。   For sub-layer 3, as shown in sub-band group 1103, a YUV444 format reduced image is generated as image 1100b using the sub-bands of 1LL, 1HL, 1LH, and 1HH of Y, C1, and C2 components.

画像1100cのような、水平2048画素、垂直1080ラインの表示サイズの画像の表示は、実施例1と同様の方法で行われる。   Display of an image having a display size of 2048 horizontal pixels and 1080 vertical lines, such as the image 1100c, is performed by the same method as in the first embodiment.

ここで、図11に示す階層2の各サブ階層1〜3における縮小画像の生成について、図12A,Bを用いて説明する。   Here, generation of reduced images in each of the sub-layers 1 to 3 of the layer 2 shown in FIG. 11 will be described with reference to FIGS. 12A and 12B.

図11に示す階層2のサブ階層1のサブバンド群1101は、Y成分のプレーン画像の画素数に対して、C1、C2成分のプレーン画像の画素数が水平/垂直方向で2分の1に間引かれている。そこで、図12A(a)に示すように、サブ階層1のサブバンド群1101からYUV420形式の縮小画像のRGBの3成分を生成する際に、C1、C2成分のプレーン画像を水平・垂直方向ともに2倍のアップサンプリング(解像度拡張)をする必要がある。   In the subband group 1101 of the sublayer 1 of the layer 2 shown in FIG. 11, the number of pixels of the C1 and C2 component plane images is halved in the horizontal / vertical direction with respect to the number of pixels of the Y component plane image. Thinned out. Therefore, as shown in FIG. 12A (a), when the three RGB components of the reduced image in the YUV420 format are generated from the subband group 1101 of the sublayer 1, the plane images of the C1 and C2 components are horizontally and vertically aligned. It is necessary to perform double upsampling (resolution expansion).

一方、図11に示す階層2のサブ階層2のサブバンド群1102は、Y成分のプレーン画像の画素数に対して、C1、C2成分のプレーン画像の画素数が水平方向で2分の1に間引かれている。そこで、図12A(b)に示すように、サブ階層2のサブバンド群1102からYUV422形式の縮小画像におけるRGBの3成分を生成する際に、C1、C2成分のプレーン画像を水平方向で2倍のアップサンプリングをする必要がある。   On the other hand, in the subband group 1102 of the sublayer 2 of the layer 2 shown in FIG. 11, the number of pixels of the C1 and C2 component plane images is halved in the horizontal direction with respect to the number of pixels of the Y component plane image. Thinned out. Therefore, as shown in FIG. 12A (b), when the three RGB components in the YUV422 format reduced image are generated from the subband group 1102 of the sublayer 2, the plane images of the C1 and C2 components are doubled in the horizontal direction. Need to up-sample.

尚、サブバンド群1102の間引く方向は水平方向ではなく、垂直方向であってもよい。但しその場合は、アップサンプリングはC1、C2成分のサブバンドを垂直方向で行う必要がある。   The subband group 1102 may be thinned out in the vertical direction instead of the horizontal direction. In that case, however, upsampling needs to be performed in the vertical direction on the subbands of the C1 and C2 components.

次に、図12A(a),(b)で、アップサンプリングの際に、隣接画素をそのままコピーしている例を示す。また、図12A(a),(b)では、Y成分の各画素を(水平座標、垂直座標)と表記し、C1、C2成分の各画素を[水平座標、垂直座標]と表記している。   Next, FIGS. 12A and 12B show an example in which adjacent pixels are copied as they are at the time of upsampling. In addition, in FIGS. 12A (a) and 12 (b), each pixel of the Y component is described as (horizontal coordinate, vertical coordinate), and each pixel of the C1 and C2 component is described as [horizontal coordinate, vertical coordinate]. ..

図12A(a)では、アップサンプリングによって、例えば[1,0]の画素を右、下、右下の方向にコピーしている。一方、図12A(b)では、アップサンプリングによって、例えば[1,0]の画素を右方向にコピーしている。   In FIG. 12A (a), the pixel [1,0], for example, is copied in the right, lower, and lower right directions by upsampling. On the other hand, in FIG. 12A (b), for example, the pixel of [1, 0] is copied to the right by upsampling.

また、図11のサブバンド群1101,1102を用いてYUV422形式の縮小画像およびYUV420形式の縮小画像が生成できれば、アップサンプリング方法は図12A(a),(b)に示す方法に限定されない。例えば、図12B(a),(b)で示すように、ウェーブレット合成の段階でC1、C2成分のプレーン画像の解像度をアップサンプリングするようにしてもよい。   The upsampling method is not limited to the methods shown in FIGS. 12A (a) and 12 (b) as long as the YUV422 format reduced image and the YUV420 format reduced image can be generated using the subband groups 1101 and 1102 of FIG. For example, as shown in FIGS. 12B (a) and 12B (b), the resolution of the plane image of C1 and C2 components may be upsampled at the stage of wavelet synthesis.

すなわち、サブバンド群1101については、図12B(a)で示すように、読み出さないサブバンドの係数、具体的には、C1、C2成分のプレーン画像の1HL、1LH、1HHのサブバンドの夫々の係数が全て0で構成されているものとみなす。この状態でウェーブレット合成を行う。   That is, for the subband group 1101, as shown in FIG. 12B (a), the coefficients of the subbands that are not read, specifically, the 1HL, 1LH, and 1HH subbands of the C1 and C2 component plane images, respectively. It is assumed that the coefficients are all zero. Wavelet synthesis is performed in this state.

同様に、サブバンド群1102についても、図12B(b)で示すように、読み出さないサブバンドの係数、具体的にはC1、C2成分のプレーン画像の1HL、1HHのサブバンド夫々の係数が全て0で構成されているものとみなす。この状態でウェーブレット合成を行う。   Similarly, for the subband group 1102, as shown in FIG. 12B (b), all the coefficients of the subbands that are not read, specifically, the coefficients of the 1HL and 1HH subbands of the C1 and C2 component plane images are all Considered to be composed of zero. Wavelet synthesis is performed in this state.

ここで、5/3タップのフィルタによるウェーブレット変換を例として、図12B(a),(b)で示した、読み出さないサブバンドの係数が全て0で構成されるものとみなした場合の計算を説明する。   Here, as an example of the wavelet transform using a 5 / 3-tap filter, the calculation shown in FIGS. 12B (a) and 12B assuming that the coefficients of the sub-bands that are not read are all configured with 0s. explain.

水平方向、あるいは垂直方向に対するウェーブレット変換は次のフィルタ計算となる。   The wavelet transform for the horizontal direction or the vertical direction is the following filter calculation.

Figure 2020072390
sはウェーブレット変換の対象となる信号、ここではプレーン画像の画素値を表す。
Figure 2020072390
s represents a signal to be subjected to the wavelet transform, here, a pixel value of a plane image.

また、水平方向、あるいは垂直方向に対するウェーブレット合成は次の計算となる。   The wavelet synthesis in the horizontal direction or the vertical direction is the following calculation.

Figure 2020072390
Figure 2020072390

ここで、C1/C2の1HLと1HHのサブバンドをウェーブレット変換係数値がすべて0であるものとする、つまり水平方向におけるウェーブレット合成の計算におけるHが0である場合、

Figure 2020072390
となる。 Here, it is assumed that the wavelet transform coefficient values of the 1HL and 1HH subbands of C1 / C2 are all 0, that is, when H in the calculation of wavelet synthesis in the horizontal direction is 0,
Figure 2020072390
Becomes

計算式より、C1、C2成分のプレーン画像のサブバンドは水平方向において、奇数位置の画素値は両隣の偶数位置の画素値の平均である。つまり、読み出さないサブバンドの係数が全て0で構成されるものとみなしてウェーブレット合成することで、C1、C2成分のプレーン画像の解像度をY成分のプレーン画像相当にするためのアップサンプリング処理をするのと同等の処理が可能となる。   From the calculation formula, in the horizontal direction of the sub-bands of the C1 and C2 component plane images, the pixel value at the odd position is the average of the pixel values at the even positions on both sides. That is, it is assumed that all the sub-band coefficients that are not read are composed of 0s, and the wavelet synthesis is performed, so that the upsampling process is performed to make the resolution of the C1 and C2 component plane images correspond to the Y component plane image. Processing equivalent to that of is possible.

続いて、実施例2に係る画像記録フォーマット1300について図13A,Bを用いて説明する。尚、実施例2に係る画像記録フォーマットの構成において、実施例1に係る画像記録フォーマットと同様のものについては、同じ符号を付した上で説明を省略する。   Next, the image recording format 1300 according to the second embodiment will be described with reference to FIGS. 13A and 13B. In addition, in the configuration of the image recording format according to the second embodiment, the same components as those of the image recording format according to the first embodiment are denoted by the same reference numerals and description thereof will be omitted.

図13Aに示す画像記録フォーマット1300は、情報管理部1301と、圧縮RAW部1302で構成される。   The image recording format 1300 shown in FIG. 13A includes an information management unit 1301 and a compression RAW unit 1302.

情報管理部1301は、メインヘッダ1303、解像度ヘッダ1304、サブバンドヘッダ1305で構成される。   The information management unit 1301 includes a main header 1303, a resolution header 1304, and a subband header 1305.

圧縮RAW部1302は、RAW画像を圧縮して生成した各サブバンドの圧縮データ、すなわち、圧縮サブバンドを後述するサブバンドヘッダ1305と同様にRAW画像の階層表示に基づいた階層のグループ毎にまとめて格納する。   The compression RAW unit 1302 collects the compressed data of each subband generated by compressing the RAW image, that is, the compressed subband for each group of layers based on the hierarchical display of the RAW image similarly to the subband header 1305 described later. To store.

メインヘッダ1303は、実施例1の画像記録フォーマット700のメインヘッダ703と同様に、撮影したRAW画像の画像サイズや画素ビット数、ウェーブレット回数、およびプレーン変換に用いる数式等の情報を格納している。   Like the main header 703 of the image recording format 700 of the first embodiment, the main header 1303 stores information such as the image size of the captured RAW image, the number of pixel bits, the number of wavelets, and a mathematical formula used for plane conversion. ..

解像度ヘッダ1304は、RAW画像を階層表示する際に用いられるパラメタを格納する。具体的には、復号画像の表示サイズ、輝度に対して色差が間引かれているか否かのフラグ(図13Bの表の「色差間引き」が該当)、ウェーブレット回数、使用するサブバンド数、読み出しデータサイズ、復号画像がRAW画像であるか否かのフラグを格納する。   The resolution header 1304 stores parameters used when hierarchically displaying a RAW image. Specifically, the display size of the decoded image, a flag indicating whether or not color differences are thinned out with respect to luminance (corresponding to “color difference thinning out” in the table of FIG. 13B), the number of wavelets, the number of subbands used, and reading The data size and a flag indicating whether or not the decoded image is a RAW image are stored.

階層2のように、輝度に対して色差が間引かれているか否かのフラグが1、つまり輝度に対して色差の画素が間引かれている場合は、使用するサブバンド数、読み出しデータサイズ、復号画像がRAW画像であるか否かのフラグが無効となる。この場合、後述のサブ解像度ヘッダ1306を参照することになる。   If the flag indicating whether the color difference is thinned out with respect to the luminance is 1 as in the layer 2, that is, the pixels with the color difference are thinned out with respect to the luminance, the number of subbands to be used and the read data size are used. The flag indicating whether the decoded image is a RAW image is invalid. In this case, the sub resolution header 1306 described later will be referred to.

尚、輝度/色差間の解像度が同じか否かのフラグが1の場合は、復号画像がRAW画像ではないとみなし、表示画像生成時の現像処理は実施しない、すなわち無効とする。   When the flag indicating whether the resolutions between luminance / color difference are the same is 1, it is considered that the decoded image is not a RAW image, and the development process at the time of generating the display image is not performed, that is, invalidated.

すなわち、図13Bに示すように、解像度ヘッダ1304は、図7Bの解像度ヘッダ704と同様、図13Aに示す各表示階層に関する情報をパラメタとして格納する。   That is, as shown in FIG. 13B, the resolution header 1304 stores information regarding each display layer shown in FIG. 13A as a parameter, like the resolution header 704 of FIG. 7B.

サブ解像度ヘッダ1306は、各表示階層の内、輝度に対して色差の画素が間引かれている階層に含まれるサブ階層で用いられるパラメタを格納する。具体的には、サブ階層毎に、C1、C2の色差成分のデータサイズ、水平方向のウェーブレット合成の有無、垂直方向のウェーブレット合成の有無、使用するサブバンド数、読み出しデータサイズが含まれる。   The sub-resolution header 1306 stores parameters used in sub-layers included in a layer in which pixels of color difference with respect to luminance are thinned out of each display layer. Specifically, for each sub-layer, the data size of the color difference components of C1 and C2, the presence / absence of wavelet synthesis in the horizontal direction, the presence / absence of wavelet synthesis in the vertical direction, the number of sub-bands used, and the read data size are included.

ここで例として、解像度ヘッダ1304で格納されるパラメタのうち画像1100a〜cの表示に使用される階層1〜3の情報を図13Bの表を用いて説明する。   Here, as an example, of the parameters stored in the resolution header 1304, information of layers 1 to 3 used for displaying the images 1100a to 1100c will be described with reference to the table of FIG. 13B.

階層1の情報は、表示サイズが2048画素×1080ライン、輝度に対して色差の画素が間引かれていない、ウェーブレット回数が0回、使用サブバンド数が3となっている。また、読み出しデータサイズが圧縮RAW部1302の階層1でまとめられた圧縮サブバンドの合計サイズ、また表示の際に現像処理は不要となっている。尚、階層1の画像1100cは、Y、C1、C2成分の1LLのサブバンドを使用して生成されるので使用サブバンド数は3となる。また、上記3個のサブバンドはいずれも圧縮RAW部1302で階層1の圧縮サブバンドとしてまとめられるので、読み出しデータサイズは階層1の合計サイズとなる。   The information of layer 1 has a display size of 2048 pixels × 1080 lines, pixels of color difference with respect to luminance are not thinned, the number of wavelets is 0, and the number of used subbands is 3. Further, the read data size is the total size of the compressed subbands grouped in the layer 1 of the compression RAW unit 1302, and the development process is not necessary at the time of display. Since the image 1100c of the layer 1 is generated by using 1LL subbands of Y, C1, and C2 components, the number of used subbands is three. Further, since the above three subbands are all combined as a compressed subband of layer 1 by the compression RAW unit 1302, the read data size is the total size of layer 1.

また、階層2の情報は、表示サイズが4096画素×2160ライン、輝度に対して色差の画素が間引かれている、ウェーブレット回数が1回となっている。また、使用するサブバンド数、使用するサブバンドのデータサイズの総和などについては、図13Bに示すように階層2に従属しているサブ解像度ヘッダの表に示す情報を参照することになる。   In the information of the layer 2, the display size is 4096 pixels × 2160 lines, pixels with color difference with respect to luminance are thinned, and the number of wavelets is one. As for the number of used subbands, the sum of the data sizes of the used subbands, etc., the information shown in the table of sub resolution headers subordinate to layer 2 as shown in FIG. 13B will be referred to.

階層2に従属しているサブ階層の内、サブ階層2の情報は、水平ウェーブレット無、垂直ウェーブレット有、使用するサブバンド数が8、読み出しデータサイズが階層1、サブ階層1、サブ階層2の夫々でまとめられた圧縮サブバンドの合計サイズとなっている。尚、サブ階層2の縮小画像として生成される画像1100bは、Y成分の1LL、1HL、1LH、1HHのサブバンド、およびC1、C2成分の1LL、1LHのサブバンドを使用して生成されるので使用サブバンド数は8となる。また、上記8個のサブバンドのうち、Y、C1、C2成分の1LLのサブバンドは圧縮RAW部1302の階層1のグループの圧縮サブバンドとしてまとめられる。また、Y成分の1HL、1LH、1HHのサブバンド、及びC1、C2成分の1LHのサブバンドは、夫々圧縮RAW部1302の階層2のサブ階層1,2のグループの圧縮サブバンドとしてまとめられる。よって。読み出しデータサイズは圧縮RAW部702で階層1、サブ階層1、サブ階層2のグループにまとめられる圧縮サブバンドのデータサイズの総和となる。   Of the sub-layers subordinate to the layer 2, the information of the sub-layer 2 is that horizontal wavelet is not present, vertical wavelet is present, the number of sub-bands used is 8, read data size is layer 1, sub-layer 1, sub-layer 2 It is the total size of the compressed subbands collected by each. The image 1100b generated as the reduced image of the sub-layer 2 is generated by using the sub-bands of 1LL, 1HL, 1LH, 1HH of Y component and the sub-bands of 1LL, 1LH of C1, C2 components. The number of used subbands is eight. Also, among the above eight subbands, 1LL subbands of Y, C1, and C2 components are combined as a compressed subband of the layer 1 group of the compression RAW unit 1302. In addition, the 1HL sub-bands of the Y component and the 1LH sub-bands of the C1 and C2 components are combined as compressed subbands of the sub-layers 1 and 2 of the layer 2 of the compression RAW unit 1302. Therefore. The read data size is the sum of the data sizes of the compressed subbands that are grouped by the compression RAW unit 702 into groups of layer 1, sublayer 1, and sublayer 2.

すなわち、ウェーブレット回数がN回の場合、階層M(2≦M≦N+1)のサブ階層1の情報に含まれる読み出しデータサイズは、階層1〜M−1及び階層Mのサブ階層1にまとめられた圧縮サブバンドのデータサイズの総和となる。また、階層Mのサブ階層2の情報に含まれる読み出しデータサイズは、階層Mのサブ階層1の情報に含まれる読み出しデータサイズと階層Mのサブ階層2にまとめられた圧縮サブバンドのデータサイズの総和となる。同様に、階層Mのサブ階層3の情報に含まれる読み出しデータサイズは、階層Mのサブ階層2の情報に含まれる読み出しデータサイズと階層Mのサブ階層3にまとめられた圧縮サブバンドのデータサイズの総和となる。ここで、階層Mとは、言い換えると、縮小画像の表示の際に使用される階層1〜N+1のうち、最小階層数である階層1を除く階層数を指す。   That is, when the number of wavelets is N, the read data size included in the information of sub-layer 1 of layer M (2 ≦ M ≦ N + 1) is summarized in sub-layer 1 of layers 1 to M-1 and layer M. It is the sum of the data sizes of the compressed subbands. The read data size included in the information of the sub-layer 2 of the layer M is the read data size included in the information of the sub-layer 1 of the layer M and the data size of the compressed sub-bands combined in the sub-layer 2 of the layer M. It becomes the sum. Similarly, the read data size included in the information of the sub-layer 3 of the layer M is the read data size included in the information of the sub-layer 2 of the layer M and the data size of the compressed sub-bands combined in the sub-layer 3 of the layer M. Is the sum of Here, in other words, the tier M refers to the number of tiers among tiers 1 to N + 1 used when displaying the reduced image, excluding the tier 1, which is the minimum tier.

図13Aに戻り、サブバンドヘッダ1305は、圧縮RAW部1302で保持される圧縮サブバンド毎のパラメタを格納する。このパラメタは、圧縮サブバンド毎のデータサイズや量子化パラメタ、ウェーブレット分解におけるどのサブバンドであるのか(例えば、図3に示す2HLのサブバンドである等)、またY、C1、C2、C3成分のいずれであるかの情報を含む。   Returning to FIG. 13A, the subband header 1305 stores parameters for each compressed subband held by the compression RAW unit 1302. This parameter is the data size of each compressed subband, the quantization parameter, which subband in the wavelet decomposition (for example, the 2HL subband shown in FIG. 3), and the Y, C1, C2, and C3 components. Including information of which of

圧縮RAW部1302における各圧縮サブバンドの並びは、ウェーブレット回数がN回の場合、図13Aに示すようになる。すなわち、階層1のグループにはY、C1、C2成分の順に、NLLの圧縮サブバンドが並べられる。階層2のグループにおいては、そのサブ階層1のグループにはY成分のNHL、NLH、NHHの圧縮サブバンドが、そのサブ階層2のグループにはC1、C2成分のNLHの圧縮サブバンドが並べられる。また、そのサブ階層3のグループにはC1、C2成分のNHL、NHHの圧縮サブバンドが並べられる。階層3のグループにおいては、そのサブ階層1のグループにはY成分の(N−1)HL、(N−1)LH、(N−1)HHの圧縮サブバンドが、そのサブ階層2にのグループはC1、C2成分の(N−1)LHの圧縮サブバンドが並べられる。また、そのサブ階層3のグループにはC1、C2成分の(N−1)HL、(N−1)HHの圧縮サブバンドが並べられる。同様の方法で階層4〜N−1のグループにおいても複数の圧縮サブバンドが並べられる。また、階層Nのグループにおいては、そのサブ階層1のグループにはY成分の2HL、2LH、2HHの圧縮サブバンドが、そのサブ階層2にはC1、C2成分の2LHの圧縮サブバンドが並べられる。また、そのサブ階層3のグループにはC1、C2成分の2HL、2HHの圧縮サブバンドが並べられる。階層N+1のグループにおいては、そのサブ階層1のグループにはY成分の1HL、1LH、1HHの圧縮サブバンドが、そのサブ階層2のグループにはC1、C2成分の1LHの圧縮サブバンドが並べられる。また、そのサブ階層3のグループにはC1、C2成分の1HL、1HHの圧縮サブバンドが並べられる。最後の階層N+2のグループにはC3の全サブバンドが並べられる。サブバンドヘッダ1305に保持される圧縮サブバンドの夫々に関するパラメタも、かかる圧縮RAW部1302における各圧縮サブバンドの並びと同様に階層及びサブ階層のグループ毎にまとめられる。   The arrangement of the compression subbands in the compression RAW unit 1302 is as shown in FIG. 13A when the number of wavelets is N. That is, NLL compressed subbands are arranged in the group of Layer 1 in the order of Y, C1, and C2 components. In the layer 2 group, the Y component NHL, NLH, and NHH compressed subbands are arranged in the sublayer 1 group, and the C1 and C2 component NLH compressed subbands are arranged in the sublayer 2 group. .. Further, the compressed subbands of NHL and NHH of C1 and C2 components are arranged in the group of the sub layer 3. In the layer 3 group, the (N-1) HL, (N-1) LH, and (N-1) HH compressed subbands of the Y component are included in the sublayer 2 in the sublayer 1 group. In the group, (N-1) LH compressed subbands of C1 and C2 components are arranged. In addition, the compressed subbands of (N-1) HL and (N-1) HH of C1 and C2 components are arranged in the group of the sub-layer 3. In the same way, a plurality of compressed subbands are arranged in the groups of layers 4 to N-1. In the group of the layer N, the compressed subbands of 2HL, 2LH, and 2HH of the Y component are arranged in the group of the sublayer 1, and the compressed subbands of 2LH of the C1 and C2 components are arranged in the sublayer 2. .. In addition, 2HL and 2HH compressed subbands of C1 and C2 components are arranged in the sub-layer 3 group. In the group of the layer N + 1, the compressed subbands of 1HL, 1LH, and 1HH of the Y component are arranged in the group of the sublayer 1, and the compressed subbands of 1LH of the C1 and C2 components are arranged in the group of the sublayer 2. .. In addition, 1HL compressed subbands of C1 and C2 components are arranged in the sub-layer 3 group. All subbands of C3 are arranged in the last group N + 2. The parameters relating to each of the compressed subbands held in the subband header 1305 are also grouped into layers and groups of sublayers in the same manner as the arrangement of the compressed subbands in the compression RAW unit 1302.

以上のように、圧縮RAW部1302では、縮小表示で用いる成分(Y、C1、C2成分)の圧縮サブバンドが縮小表示の階層1〜N+1の順で階層のグループ毎にまとめて並べられる。また、縮小画像生成時に色差間引きを行う場合を考慮して、階層M(2≦M≦N+1)のグループはサブ階層1〜3のグループにより構成する。具体的には、水平/垂直方向のアップサンプリングを必要とする、YUV420の形式の縮小画像の表示に使用されるサブ階層1(第1のサブ階層)のグループとしてY成分のMHL、MLH、MHHの圧縮サブバンドがまとめられる。また、水平方向のアップサンプリングを必要とする、YUV422の形式の縮小画像の表示に使用されるサブ階層2(第1の色差階層)のグループとしてC1,C2成分のMLHの圧縮サブバンドがまとめられる。さらに、アップサンプリングは不要であるYUV444の形式の縮小画像の表示に使用されるサブ階層3(第2の色差階層)のグループとしてMHL,MHHの圧縮サブバンドがまとめられる。その後、縮小表示で用いない成分(C3成分)の全圧縮サブバンドがまとめて並べられる。尚、図12A(b)を用いて説明した通り、サブバンド群1102の間引く方向は水平方向ではなく、垂直方向であってもよい。その場合は、サブ階層2のグループには垂直方向のアップサンプリング用いる圧縮サブバンドがまとめられる。   As described above, in the compression RAW unit 1302, the compressed subbands of the components (Y, C1, and C2 components) used in the reduced display are collectively arranged for each group of layers in the order of the reduced display layers 1 to N + 1. Further, in consideration of the case where color difference thinning is performed at the time of generating a reduced image, the group of the hierarchy M (2 ≦ M ≦ N + 1) is composed of the groups of sub-tiers 1 to 3. Specifically, as a group of sub-layer 1 (first sub-layer) used for displaying a reduced image of YUV420 format that requires upsampling in the horizontal / vertical directions, MHL, MLH, and MHH of Y components. The compressed subbands of are grouped together. In addition, the compressed subbands of the MLH of the C1 and C2 components are grouped together as a group of sublayer 2 (first color difference layer) used for displaying a reduced image in the YUV422 format that requires horizontal upsampling. .. Furthermore, the compressed subbands of MHL and MHH are grouped together as a group of sublayer 3 (second color difference layer) used for displaying a reduced image in the YUV444 format that does not require upsampling. After that, all the compressed subbands of the component (C3 component) not used in the reduced display are collectively arranged. As described with reference to FIG. 12A (b), the subband group 1102 may be thinned out in the vertical direction instead of the horizontal direction. In that case, the sub-layer 2 group includes compressed sub-bands for vertical up-sampling.

このような画像記録フォーマット1300を用いることで、実施例1に係る画像記録フォーマット700ではYUV444の形式の縮小画像生成のみができたのに対し、YUV422の形式やYUV420の形式の縮小画像の生成も可能となる。すなわち、色差間引きを許容することで、縮小画像生成の必要な圧縮サブバンドのデータサイズを実施例1の場合よりさらに削減できる。   By using such an image recording format 1300, in the image recording format 700 according to the first embodiment, only the reduced image in the YUV444 format can be generated, while the reduced image in the YUV422 format or the YUV420 format can also be generated. It will be possible. That is, by allowing the color difference thinning-out, the data size of the compressed subband required to generate the reduced image can be further reduced as compared with the first embodiment.

以上、実施例2によれば、RAW画像を図13Aに示す画像記録フォーマット1300の圧縮RAW画像に符号化する。これにより、色差成分に関わる圧縮サブバンドの読み出し量を少なくし、記録ファイルからの必要な圧縮サブバンドの読み出し処理や外部の表示機器でのストリーミング再生の際に必要な圧縮サブバンドの転送処理による負荷が実施例1よりさらに低減できる。すなわち、記録ファイルからの読み出し処理に起因する表示遅延を実施例1よりさらに軽減できる。   As described above, according to the second embodiment, the RAW image is encoded into the compressed RAW image of the image recording format 1300 shown in FIG. 13A. This reduces the read amount of compressed subbands related to color difference components, and enables the read processing of the required compressed subbands from the recording file and the transfer processing of the compressed subbands required for streaming playback on an external display device. The load can be further reduced as compared with the first embodiment. That is, the display delay due to the reading process from the recording file can be further reduced as compared with the first embodiment.

尚、本実施例では、YUV422、YUV420のいずれの形式の画像生成も可能としたが、いずれか一方の画像生成のみを可能としてもよい。この場合、画像生成を可能とする形式に対応するサブ階層の圧縮サブバンド及びそれに関する情報のみが画像記録フォーマット1300に格納される。   It should be noted that in the present embodiment, it is possible to generate an image in either format of YUV422 or YUV420, but it is also possible to generate only one of the images. In this case, only the compressed sub-band of the sub-layer corresponding to the format that enables image generation and the information related thereto are stored in the image recording format 1300.

[その他の実施例]
本発明の目的は、前述した実施例の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、装置に供給することによっても、達成されることは言うまでもない。このとき、供給された装置の制御部を含むコンピュータ(またはCPUやMPU)は、記憶媒体に格納されたプログラムコードを読み出し実行する。
[Other Examples]
Needless to say, the object of the present invention can be achieved by supplying a storage medium storing a program code of software for realizing the functions of the above-described embodiments to the apparatus. At this time, the computer (or CPU or MPU) including the control unit of the supplied device reads and executes the program code stored in the storage medium.

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

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As the storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM or the like can be used.

また、上述のプログラムコードの指示に基づき、装置上で稼動しているOS(基本システムやオペレーティングシステム)などが処理の一部又は全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。   An OS (basic system or operating system) running on the device performs some or all of the processing based on the instructions of the program code, and the processing realizes the functions of the above-described embodiments. It goes without saying that cases are included.

さらに、記憶媒体から読み出されたプログラムコードが、装置に挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれ、前述した実施例の機能が実現される場合も含まれることは言うまでもない。このとき、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行う。   Further, the program code read from the storage medium may be written in a memory provided in a function expansion board inserted in the device or a function expansion unit connected to the computer to realize the functions of the above-described embodiments. Needless to say, it is included. At this time, the CPU or the like included in the function expansion board or function expansion unit performs a part or all of the actual processing based on the instruction of the program code.

101 CPU
102 光学部
103 撮像部
104 色分離部
105 プレーン変換部
106 ウェーブレット変換部
107 量子化部
108 エントロピー符号化部
109 メモリI/F
110 メモリ
111 記録処理部
112 記録媒体
101 CPU
102 optical section 103 image pickup section 104 color separation section 105 plane conversion section 106 wavelet conversion section 107 quantization section 108 entropy encoding section 109 memory I / F
110 memory 111 recording processing unit 112 recording medium

Claims (10)

RAW画像を、輝度成分と、第1〜第3の色差成分の、4つのプレーン画像に変換する変換手段と、
前記4つのプレーン画像に対して階層的な周波数分解を行い夫々複数のサブバンドを生成する第1の生成手段と、
前記複数のサブバンドを圧縮符号化して複数の圧縮サブバンドを生成する第2の生成手段と、
前記複数の圧縮サブバンドを前記周波数分解における階層数に基づいたグループ毎にまとめて配置する配置手段と、
前記配置された複数の圧縮サブバンドが格納される圧縮RAW領域と、前記複数の圧縮サブバンドに関する情報が格納される情報管理領域とを含む記録ファイルを生成する第3の生成手段とを備えることを特徴とする画像符号化装置。
Conversion means for converting the RAW image into four plane images of a luminance component and first to third color difference components;
First generation means for performing hierarchical frequency decomposition on the four plane images to generate a plurality of subbands, respectively;
Second generation means for compression-encoding the plurality of subbands to generate a plurality of compressed subbands;
Arrangement means that collectively arranges the plurality of compressed subbands for each group based on the number of layers in the frequency decomposition,
A third generation means for generating a recording file including a compressed RAW area in which the plurality of arranged compressed subbands are stored, and an information management area in which information about the plurality of compressed subbands is stored. An image coding device characterized by the above.
前記配置手段は、前記4つのプレーン画像のうちの前記輝度成分、前記第1の色差成分、及び、前記第2の色差成分の圧縮サブバンドの前記周波数分解における階層数に基づくグループを、低階層のグループから高階層のグループの順で配置し、前記4つのプレーン画像のうちの前記第3の色差成分は、前記輝度成分、前記第1の色差成分、及び、前記第2の色差成分の圧縮サブバンドの後に配置することを特徴とする請求項1記載の画像符号化装置。   The arranging means assigns a group based on the number of layers in the frequency decomposition of the compression subbands of the luminance component, the first color difference component, and the second color difference component of the four plane images to a lower layer. In order from the group of higher hierarchy to the group of higher layers, and the third color difference component of the four plane images is compressed of the luminance component, the first color difference component, and the second color difference component. The image coding apparatus according to claim 1, wherein the image coding apparatus is arranged after the subband. 前記配置手段は、各グループ内において、輝度成分の圧縮サブバンドを先に配置することを特徴とする請求項1又は2記載の画像符号化装置。   3. The image coding apparatus according to claim 1, wherein the arranging unit arranges the compression subband of the luminance component first in each group. 前記配置手段は、
前記第1〜第3の色差成分の内、2つの色差成分を表示用色差成分として選択する選択手段を更に備え、
前記複数の圧縮サブバンドのうち、前記輝度成分及び前記選択された表示用色差成分の圧縮サブバンドを前記階層数に基づいたグループ毎にまとめて配置し、
前記複数の圧縮サブバンドのうち、前記第1〜第3の色差成分の内、前記表示用色差成分として選択されなかった色差成分の圧縮サブバンドを前記階層数に基づいたグループとは異なるRAW再構成用データグループにまとめて配置することを特徴とする請求項1乃至3のいずれか1項に記載の画像符号化装置。
The arranging means is
A selection unit that selects two color difference components as display color difference components from the first to third color difference components;
Of the plurality of compression subbands, the compression subbands of the luminance component and the selected display color difference component are collectively arranged for each group based on the number of layers,
Of the plurality of compressed subbands, the compressed subbands of the color difference components that are not selected as the display color difference components among the first to third color difference components are different from the RAW reproduction different from the group based on the number of layers. The image coding apparatus according to claim 1, wherein the image coding apparatus is arranged in a configuration data group.
前記周波数分解における夫々の階層数に対応する複数の表示階層の1つの縮小画像の表示に必要な圧縮サブバンドを前記記録ファイルから読み出す読出手段を更に備え、
前記複数の表示階層は、対応する前記周波数分解における階層数が高いほど前記表示される縮小画像の表示サイズが大きくなり、
前記情報管理領域は、前記圧縮RAW画像を復号するための復号情報として、前記複数の表示階層の夫々の縮小画像の表示に必要な圧縮サブバンドのデータサイズの情報を格納し、
前記周波数分解における階層nに対応する表示階層の縮小画像の表示に必要な圧縮サブバンドの前記データサイズは、階層1〜nの夫々に基づくグループにまとめて配置される圧縮サブバンドのデータサイズの総和であることを特徴とする請求項4記載の画像符号化装置。
Further comprising a reading unit for reading, from the recording file, a compressed subband necessary for displaying one reduced image of a plurality of display layers corresponding to the respective number of layers in the frequency decomposition.
The plurality of display layers, the higher the number of layers in the corresponding frequency decomposition, the larger the display size of the reduced image displayed,
The information management area stores, as decoding information for decoding the compressed RAW image, information on a data size of a compressed subband necessary for displaying each reduced image of the plurality of display layers,
The data size of the compressed subbands necessary for displaying the reduced image of the display layer corresponding to the layer n in the frequency decomposition is the data size of the compressed subbands collectively arranged in groups based on each of the layers 1 to n. The image coding device according to claim 4, wherein the image coding device is a total sum.
前記階層数の最小階層数を除く階層Mに基づくグループは、前記輝度成分の圧縮サブバンドがまとめて配置される第1のサブ階層に基づくグループと、前記表示用色差成分の圧縮サブバンドがまとめて配置される第2のサブ階層に基づくグループから構成されることを特徴とする請求項5記載の画像符号化装置。   The group based on the layer M excluding the minimum number of layers of the number of layers is a group based on the first sub-layer in which the compression subbands of the luminance component are collectively arranged and a compression subband of the color difference component for display are combined. 6. The image coding apparatus according to claim 5, wherein the image coding apparatus is configured by a group based on the second sub-layer arranged in the same manner. 前記第2のサブ階層は、
前記表示用色差成分の水平又は垂直のいずれか一方の方向の画素のアップサンプリングに用いる圧縮サブバンドがまとめられた第1の色差階層と、
前記表示用色差成分の画素のアップサンプリングは不要である圧縮サブバンドがまとめられた第2の色差階層で構成されることを特徴とする請求項6記載の画像符号化装置。
The second sub-tier is
A first color difference layer in which compressed subbands used for upsampling pixels in either the horizontal direction or the vertical direction of the display color difference component are collected;
7. The image coding apparatus according to claim 6, wherein the image coding apparatus is configured by a second color difference layer in which compressed subbands that do not require upsampling of pixels of the display color difference component are collected.
前記復号情報は、
前記第1のサブ階層、前記第1及び第2の色差階層に対応する表示階層の夫々の縮小画像の表示に必要な圧縮サブバンドのデータサイズを含み、
前記第1のサブ階層に対応する表示階層の縮小画像の表示に必要な圧縮サブバンドの前記データサイズは、前記階層Mの前記第1のサブ階層に基づくグループ及び前記階層1〜M−1の夫々に基づくグループにまとめて配置される圧縮サブバンドのデータサイズの総和であり、
前記第1の色差階層に対応する表示階層の縮小画像の表示に必要な圧縮サブバンドの前記データサイズは、前記第1のサブ階層に対応する表示階層の縮小画像の表示に必要な圧縮サブバンドの前記データサイズと前記階層Mの前記第1の色差階層に基づくグループにまとめて配置される圧縮サブバンドのデータサイズの総和であり、
前記第2の色差階層に対応する表示階層の縮小画像の表示に必要な圧縮サブバンドの前記データサイズは、前記第1の色差階層に対応する表示階層の縮小画像の表示に必要な圧縮サブバンドの前記データサイズと前記階層Mの前記第2の色差階層に基づくグループにまとめて配置される圧縮サブバンドのデータサイズの総和であることを特徴とする請求項7記載の画像符号化装置。
The decryption information is
The data size of the compressed sub-band necessary for displaying the reduced image of each of the display layers corresponding to the first sub-layer and the first and second color difference layers,
The data size of the compressed sub-band required for displaying the reduced image of the display layer corresponding to the first sub-layer is equal to that of the group based on the first sub-layer of the layer M and the layers 1 to M-1. It is the sum of the data sizes of the compressed subbands that are collectively arranged in groups based on each
The data size of the compressed subband necessary for displaying the reduced image of the display layer corresponding to the first color difference layer is the compressed subband required for displaying the reduced image of the display layer corresponding to the first sublayer. And a data size of compressed subbands collectively arranged in a group based on the first color difference layer of the layer M,
The data size of the compressed sub-band required for displaying the reduced image in the display layer corresponding to the second color difference layer is the compressed sub-band required for displaying the reduced image in the display layer corresponding to the first color difference layer. 9. The image coding apparatus according to claim 7, wherein the data size is the sum of the data size of compressed subbands that are collectively arranged in a group based on the second color difference layer of the layer M.
RAW画像を、輝度成分と、第1〜第3の色差成分の、4つのプレーン画像に変換する変換ステップと、
前記4つのプレーン画像に対して階層的な周波数分解を行い夫々複数のサブバンドを生成する第1の生成ステップと、
前記複数のサブバンドを圧縮符号化して複数の圧縮サブバンドを生成する第2の生成ステップと、
前記複数の圧縮サブバンドを前記周波数分解における階層数に基づいたグループ毎にまとめて配置する配置ステップと、
前記配置された複数の圧縮サブバンドが格納される圧縮RAW領域と、前記複数の圧縮サブバンドに関する情報が格納される情報管理領域とを含む記録ファイルを生成する第3の生成ステップとを有することを特徴とする制御方法。
A conversion step of converting the RAW image into four plane images of a luminance component and first to third color difference components;
A first generation step of performing hierarchical frequency decomposition on the four plane images to generate a plurality of subbands, respectively;
A second generating step of compression-encoding the plurality of subbands to generate a plurality of compressed subbands;
An arrangement step of collectively arranging the plurality of compressed subbands for each group based on the number of layers in the frequency decomposition,
A third generation step of generating a recording file including a compressed RAW area in which the plurality of arranged compressed subbands are stored, and an information management area in which information regarding the plurality of compressed subbands is stored. Control method characterized by.
請求項9記載の制御方法を実行することを特徴とするプログラム。
A program for executing the control method according to claim 9.
JP2018205617A 2018-10-31 2018-10-31 Image encoding device, control method thereof, and program Active JP7242246B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018205617A JP7242246B2 (en) 2018-10-31 2018-10-31 Image encoding device, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018205617A JP7242246B2 (en) 2018-10-31 2018-10-31 Image encoding device, control method thereof, and program

Publications (3)

Publication Number Publication Date
JP2020072390A true JP2020072390A (en) 2020-05-07
JP2020072390A5 JP2020072390A5 (en) 2021-12-09
JP7242246B2 JP7242246B2 (en) 2023-03-20

Family

ID=70548148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018205617A Active JP7242246B2 (en) 2018-10-31 2018-10-31 Image encoding device, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP7242246B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003179759A (en) * 2001-12-11 2003-06-27 Ricoh Co Ltd Still image decompression device
JP2017085319A (en) * 2015-10-27 2017-05-18 キヤノン株式会社 Image processing apparatus and control method of the same, computer program, and storage medium
JP2017085247A (en) * 2015-10-23 2017-05-18 キヤノン株式会社 Encoding method, encoding device, imaging apparatus and program
JP2018019239A (en) * 2016-07-27 2018-02-01 キヤノン株式会社 Imaging apparatus, control method therefor and program
JP2018050263A (en) * 2016-09-23 2018-03-29 キヤノン株式会社 Encoder, control method of encoder, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003179759A (en) * 2001-12-11 2003-06-27 Ricoh Co Ltd Still image decompression device
JP2017085247A (en) * 2015-10-23 2017-05-18 キヤノン株式会社 Encoding method, encoding device, imaging apparatus and program
JP2017085319A (en) * 2015-10-27 2017-05-18 キヤノン株式会社 Image processing apparatus and control method of the same, computer program, and storage medium
JP2018019239A (en) * 2016-07-27 2018-02-01 キヤノン株式会社 Imaging apparatus, control method therefor and program
JP2018050263A (en) * 2016-09-23 2018-03-29 キヤノン株式会社 Encoder, control method of encoder, and program

Also Published As

Publication number Publication date
JP7242246B2 (en) 2023-03-20

Similar Documents

Publication Publication Date Title
US10574898B2 (en) Compression and decoding of single sensor color image data
JP6722995B2 (en) Encoding method, encoding device, imaging device, and program
JP5640371B2 (en) Camera system and image processing method
US8254707B2 (en) Encoding device, encoding method, encoding program, decoding device, decoding method, and decoding program in interlace scanning
EP2094018B1 (en) Encoding apparatus for high frame rate videos, method and program
US8031960B2 (en) Wavelet transformation device and method, wavelet inverse transformation device and method, program, and recording medium
JP5640370B2 (en) Image processing apparatus, image processing method, and imaging apparatus
JP2015536108A (en) Video compression method
JP2002247580A (en) Image processing method, and image encoding device and image decoding device capable of using the method
US9064294B2 (en) Image processing apparatus and method
JP7242246B2 (en) Image encoding device, control method thereof, and program
JP4143471B2 (en) Image encoding method, image encoding apparatus, and recording apparatus
JP6460691B2 (en) Video compression apparatus, video compression method, and video compression program
US11765366B2 (en) Method for processing transform coefficients
JP2004194030A (en) Device and method for processing image, program, and recording medium
JP2018006999A (en) Image encoding device and control method therefor
JP5858099B2 (en) Image processing apparatus, image processing method, and imaging apparatus
JP2008228327A (en) Decoding method and apparatus
JP2005136671A (en) Image recorder
JP5858098B2 (en) Camera system and image processing method
JPH10215454A (en) Encoding device and method
CN112911311A (en) Encoding method, encoding device, storage medium, and electronic apparatus
JP2020077918A (en) Imaging apparatus, control method of the same, and program
JP2005159859A (en) Image encoding method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211027

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211027

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221122

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230105

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: 20230207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230308

R151 Written notification of patent or utility model registration

Ref document number: 7242246

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151