JP2007166406A - Image processing method, image processing apparatus, computer program, and storage medium - Google Patents
Image processing method, image processing apparatus, computer program, and storage medium Download PDFInfo
- Publication number
- JP2007166406A JP2007166406A JP2005362012A JP2005362012A JP2007166406A JP 2007166406 A JP2007166406 A JP 2007166406A JP 2005362012 A JP2005362012 A JP 2005362012A JP 2005362012 A JP2005362012 A JP 2005362012A JP 2007166406 A JP2007166406 A JP 2007166406A
- Authority
- JP
- Japan
- Prior art keywords
- tile
- group
- image processing
- encoded data
- important
- 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.)
- Withdrawn
Links
Images
Landscapes
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
【課題】 あらかじめ画像にROIを設定し、画像データを送信することで、重要領域をいち早く提示する画像通信方法があるが、従来のこのような方法では、受信側でROIを先に処理するために、通常のデコード方法とは異なる動作が必要になったり、動的に重要領域を変更するのが難しかった。
【解決手段】 JPEG2000のタイルパートを利用することで、ROIを擬似的に作成する。これにより、受信側は通常のJPEG2000と同様のデコード方法で、自動的に重要領域を先に表示することが可能になる。さらに、タイルパートの作成は容易に行うことができるため、クライアントに応じて、動的にROIを変更することも可能にする。
【選択図】 図1
PROBLEM TO BE SOLVED: To provide an image communication method for promptly presenting an important region by setting an ROI in an image in advance and transmitting image data. In such a conventional method, the ROI is first processed on the receiving side. In addition, an operation different from the normal decoding method is required, and it is difficult to dynamically change the important area.
An ROI is created in a pseudo manner by using a tile part of JPEG2000. As a result, the receiving side can automatically display the important area first by a decoding method similar to that of ordinary JPEG2000. Furthermore, since the tile part can be easily created, the ROI can be dynamically changed according to the client.
[Selection] Figure 1
Description
本発明は、画像データの作成技術に関するものである。 The present invention relates to image data creation technology.
近年、急速に普及したデジタルカメラは、画素数も膨大になり、200万画素から500万画素程度のものが、一般的になっている。さらに、プロ向けのデジタルカメラになると、1000万画素クラスのものも存在する。 In recent years, digital cameras that have spread rapidly have an enormous number of pixels, and those with about 2 to 5 million pixels have become common. Furthermore, when it comes to professional digital cameras, there are 10 million pixel class cameras.
さらに、デジタルカメラで撮影した画像を、オンラインのアルバムサービスにアップロードして楽しむユーザも増えている。画像データのサイズが大きくなる一方で、このような高精細画像をダウンロードするには、モバイル通信環境などの細いデータ回線では、ダウンロードに時間がかかる。画像を左上から右下に向かって詳細な画像を順に表示するラスタ表示では、ユーザがダウンロードした画像が必要な画像であったか判断できるようになるまでに、非常に大きな時間がかかる。 Furthermore, an increasing number of users enjoy uploading images taken with a digital camera to an online album service. While the size of the image data increases, it takes time to download such a high-definition image on a thin data line such as a mobile communication environment. In raster display in which detailed images are displayed in order from the upper left to the lower right, it takes a very long time until the user can determine whether the downloaded image is a necessary image.
そこで、ユーザが画像全体を把握するまでの時間を短縮する画像表示方法として、プログレッシブ表示がある。プログレッシブ表示とは画像全体をまず、低解像度で表示し、その後徐々に詳細な表示をしていくものである。 Therefore, there is progressive display as an image display method for shortening the time until the user grasps the entire image. Progressive display means that the entire image is first displayed at a low resolution and then displayed in detail gradually.
代表的なものとして、プログレッシブJPEGやインターレースGIFが挙げられる。この方法を使えば、ユーザは比較的早い段階で、その画像が必要な画像であるか判断できる。しかし、この方法では、中央部分や画面の下半分に重要な領域がある場合には、重要な領域の詳細を見るには、やはり画像の全体が表示される必要がある、そのため、重要な領域の詳細が、その画像の要・不要を左右する場合には、結局、画像全体を表示し終えない限り判断できない。 Typical examples include progressive JPEG and interlaced GIF. By using this method, the user can determine whether the image is a necessary image at a relatively early stage. However, with this method, if there is an important area in the center part or the lower half of the screen, the entire image still needs to be displayed in order to see the details of the important area. If the details of the image affect the necessity / unnecessity of the image, it cannot be determined unless the entire image is displayed.
このような問題に対応するために、画像の指定された部分だけを拡大して表示する方法や、重要な領域を先に送信する方法が提案されている。 In order to cope with such a problem, a method for enlarging and displaying only a designated portion of an image and a method for transmitting an important region first have been proposed.
画像の指定された部分だけを拡大表示する方法は、ISOで標準化されたJPEG2000 Part 9: Interactivity tools, APIs and protocols(以下、JPIP)を使うことで実現できる。JPIPとJPEG2000を利用すれば、部分領域の拡大画像を見ることができる。しかしながら、このような部分表示である場合には、全体のどの部分に位置しているのか、把握するのが難しくなる。さらに、JPIPを用いた場合には、断片的に受信したデータをキャッシュしたり、JPIP特有のデータ構造を解析しなくてはならないため、通常のJPEG2000デコーダだけでは、ダウンロードした画像を表示できない。 A method for enlarging and displaying only a specified portion of an image can be realized by using JPEG2000 Part 9: Interactivity tools, APIs and protocols (hereinafter, JPIP) standardized by ISO. If you use JPIP and JPEG2000, you can see an enlarged image of the partial area. However, in the case of such a partial display, it is difficult to grasp which part of the whole is located. In addition, when JPIP is used, the received data must be cached and the data structure unique to JPIP must be analyzed, so that the downloaded image cannot be displayed only with a normal JPEG2000 decoder.
重要な領域の画像データをその他の領域よりも先に伝送する方法として以下の文献が知られている。 The following documents are known as methods for transmitting image data of an important area before other areas.
文献1では、画像データと共に重要領域の位置を送信し、その画像データ送信順序は、重要な領域の低解像度、重要領域以外の低解像度、重要な領域の高解像度、そして重要領域以外の高解像度という順序である。この方法であれば、画像の全体における重要領域の位置の把握も容易になり、かつ、重要領域が画像の中央や下半分の領域にあっても、詳細の確認までの時間を短縮することができる。しかしながら、位置情報と、受信データのレンダリング位置を合わせる必要がある。つまり、プログレッシブJPEGやインターレースGIFなどのように、単純に、受信データに対して通常のデコード処理をするだけでは、画像の表示がうまくいかないという問題が残る。
In
もう一つの重要な領域を先に送信する方法は、JPEG2000のROIを使った方法である。JPEG2000では、ROI指定した領域をビットシフトすることで、画像データの先頭からデータを送ると、結果的に、ビットシフトされたROI領域が他のデータより早く伝送されることになる。この方法であれば、特開2003-333593と同様に、画像の全体における重要領域の位置の把握も容易になり、かつ、重要領域が画像の中央や下半分の領域にあっても、詳細の確認までの時間を短縮することができる。しかし、ROIを変更するためには、再符号化が必要になり、動的にROIを変えるような場合には、サーバ側に大きな負荷がかかる。
本発明では、ユーザのリクエストに応じて、重要領域を、再符号化をせず、データの並び替えのみで、動的に変更することができ、なおかつ、受信データを先頭から単純にデコードすることで、重要領域を他の領域よりも早く表示できる送信画像データを作成する。 In the present invention, an important region can be dynamically changed only by rearranging data without re-encoding in response to a user request, and the received data is simply decoded from the top. Thus, the transmission image data that can display the important area earlier than the other areas is created.
さらに、そのレンダリングには特別な処理を必要とせず、通常のデコードと同様の動作で、重要領域を他の領域よりも、早い段階で表示できる送信画像データを作成する。 Further, special processing is not required for rendering, and transmission image data that can display an important area at an earlier stage than other areas is created by an operation similar to normal decoding.
例えば本発明の画像処理方法によれば、タイル分割されており、一つ以上の階層を有する一連の階層符号化データを、1つ以上の論理的なグループに分けて格納する画像処理方法であって、重要な領域を特定する重要領域特定工程と、前記重要領域特定工程によって特定された重要領域を含むタイルを特定する重要タイル特定工程と、各タイルを構成する複数の物理的な符号化データをそれぞれ複数のグループに振り分ける所属グループ特定工程と、グループ毎に各グループを識別するグループ識別手段と共に、各タイルの符号化データを前記所属グループ特定工程によって特定されたグループへ出力する符号出力工程とを備え、各タイルの先頭グループのうち、前記重要タイル特定工程によって特定されたタイルには、それ以外のタイルよりも多くの階層の符号化データを格納することを特徴とする。 For example, according to the image processing method of the present invention, a series of hierarchically encoded data that is divided into tiles and has one or more layers is stored in one or more logical groups. An important area specifying step for specifying an important area, an important tile specifying process for specifying a tile including the important area specified by the important area specifying process, and a plurality of physical encoded data constituting each tile. And a group output unit that outputs the encoded data of each tile to the group specified by the group belonging step, together with a group identification unit that identifies each group for each group. The tiles identified by the important tile identification step in the first group of tiles are the other tiles. Characterized by also storing the encoded data of many hierarchy.
以上の構成によれば、重要な部分領域から順に画像が高精細になるように表示できる。そのため、画像全体の表示が終了する前に、重要な部分について高解像度の画像が表示されるようになる。 According to the above configuration, images can be displayed in high definition sequentially from the important partial areas. Therefore, before the display of the entire image is finished, a high-resolution image is displayed for the important part.
(実施例1)
以下、図面を用いて具体的に説明する。
Example 1
Hereinafter, it demonstrates concretely using drawing.
図1は、本実施例を実現するシステムの概略を示した図である。CPU101は、システム全体の動作をコントロールし、一次記憶102に格納されたプログラムの実行などを行う。一次記憶102は、主にメモリであり、二次記憶103に記憶されたプログラムなどを読み込んで格納する。
FIG. 1 is a diagram showing an outline of a system for realizing the present embodiment. The
二次記憶103は例えば、ハードディスクなどがこれに該当する。一般に一次記憶の容量は二次記憶の容量より小さく、一次記憶に格納しきれないプログラムやデータなどは二次記憶に格納される。また、長時間記憶しなければならないデータなども二次記憶に格納される。本実施例では、プログラムを二次記憶103に格納し、プログラム実行時に一次記憶102に読み込んでCPU101が実行処理を行う。
The
入力デバイス104とは、例えば、マウスやキーボードなどがこれに該当する。プログラムなどに割り込み信号を送ったりするために用いる。出力デバイス105とは例えば、モニタやプリンタなどが考えられる。ネットワーク・インタフェース106を介して画像などのデータを送受信する。この装置の構成方法は他にも様々な形態が考えられるが、本発明の主眼ではないので説明を省略する。
Examples of the
図2は、本実施例を実現するシステムの概略を示した図である。201はユーザ1、202はユーザ2をあらわしており、図1で説明したシステムを有する。ユーザ1またはユーザ2のような複数のユーザが、有線、無線を問わず、ネットワーク203によって、サーバ204と通信することが可能である。
FIG. 2 is a diagram showing an outline of a system for realizing the present embodiment. 201 represents a
サーバ204は画像ファイルを蓄積する大容量の記憶装置205を持っている。大容量の記憶装置205はたとえば、ハードディスクなどがこれに該当する。このハードディスクには、JPEG2000符号化方式により符号化された画像データが数多く格納されている。ユーザ201、202は、サーバ204が格納しているJPEG2000画像データから、JPEG2000ファイルを受信し、表示デバイスに表示する。
The
次に、一般的なJPEG2000の符号化データについて、図3を用いて説明する。JPEG2000符号化データは、main headerデータ301と呼ばれる、resolution level数、layer数など画像全体の符号化条件について記述されたデータを先頭部分に持ち、その後ろに、タイルのデータが並ぶ。
Next, general JPEG2000 encoded data will be described with reference to FIG. The JPEG2000 encoded data has data describing the encoding conditions of the entire image, such as the resolution level number and the layer number, called
タイルデータは、タイルパートヘッダ(Tile-part header)302と呼ばれるタイルのヘッダデータを持ち、その後ろにタイルの符号化データを構成するpacket 303と呼ばれる符号化単位データを持っている。各タイルは独立に符号化されているため、タイル単位でデコードすることができる。
The tile data has tile header data called a tile part header (Tile-part header) 302, and has encoded unit data called
図3は、Layer-resolution level-component-position progression(LRCP)に沿ってpacketデータが記録されたJPEG2000ファイルの構成である。 FIG. 3 shows a configuration of a JPEG2000 file in which packet data is recorded in accordance with Layer-resolution level-component-position progression (LRCP).
LRCPに準じた場合、layer / resolution / component / positionの順に記録される。 When conforming to LRCP, it is recorded in the order of layer / resolution / component / position.
このようなデータの並び方はprogression orderと呼ばれる。 This way of arranging data is called progress order.
また、ここで記されているpositionとは、JPEG2000符号化データにおけるprecinctのことである。 The position described here is a precinct in JPEG2000 encoded data.
図3のようにprogression orderがLRCPなら、各layer内は、resolution番号の小さい順にデータが格納されている。Layer番号は復元する画像の原画に対するS/N比に対応し、layer番号が小さいほどS/N比が悪くなる。 If the progression order is LRCP as shown in FIG. 3, each layer stores data in ascending order of resolution number. The layer number corresponds to the S / N ratio with respect to the original image of the image to be restored. The smaller the layer number, the worse the S / N ratio.
一つのJPEG2000ファイル内でのresolution番号とlayer番号、component番号の最大値は、エンコーダによって予め設定され、そのパラメータにしたがってエンコードされており、その情報は符号化データの中に格納されている。 The maximum values of resolution number, layer number, and component number in one JPEG2000 file are preset by the encoder, encoded according to the parameters, and the information is stored in the encoded data.
図3では、JPEG2000の構造について説明を簡単にするために、タイルは一つのまとまったデータの塊としてあらわしているが、実際には、各タイルを複数のタイルパート(tile-part)に分割することができる。タイルとタイルパートの関係を図4に示す。図3では、図4(a)のように、すべてのタイルデータを一つのタイルパートヘッダ400を使って、一塊にしている。
In FIG. 3, to simplify the explanation of the structure of JPEG2000, tiles are represented as a single chunk of data, but in reality, each tile is divided into a plurality of tile-parts. be able to. Figure 4 shows the relationship between tiles and tile parts. In FIG. 3, as shown in FIG. 4 (a), all tile data are grouped together using one
図4(a)のタイルデータを3つの部分、410, 411, 412, に分割し、それぞれに、タイルパートヘッダ、420, 421, 422をつけることで、図4(b)に示すようなタイルパート分割ができる。タイルデータを分割する際には、パケットを単位として分割する。つまり、パケットの途中でタイルデータを分割することはできない。
The tile data shown in Fig. 4 (a) is divided into three parts, 410, 411, 412, and
図4(c)にタイルパートヘッダの構造を示す。図4(c)に示すように、タイルパートヘッダには、タイル番号とそのタイルパートのデータ長、タイルパート番号、そして、そのタイルのタイルパート総数が記述されている。 FIG. 4 (c) shows the structure of the tile part header. As shown in FIG. 4 (c), the tile part header describes the tile number, the data length of the tile part, the tile part number, and the total number of tile parts of the tile.
また、JPEG2000符号化データの中で、すべてのタイルに関するタイルパート 0は、タイル順に並べ、main headerの直後におく必要がある。しかし、それ以外のタイルパートについては、各タイルに関係するタイルパートは昇順に並んでいる必要はあるが、その個々のタイルパートが連続して現れる必要はない。タイルパートの並び順の例を図5に示す。
Also, in JPEG2000 encoded data,
<サーバに画像を登録する際のROIを決定する方法>
本実施例では、サーバ204の大容量ハードディスク205にJPEG2000画像を格納する際に、画像提供者がROIを指定し、その部分を他の領域よりも先にクライアントが受信し、デコードできるような画像データに変換する。
<How to determine the ROI when registering images on the server>
In this embodiment, when storing a JPEG2000 image on the large-capacity
画像提供者が、大容量ハードディスク205に登録する画像は、次のようなデコード条件でJPEG2000符号化データとしてエンコードされている。
An image registered by the image provider in the large-capacity
画像サイズ:1600×1200[pixel]
タイルサイズ:256×256[pixel]
resolution level数:4
resolution level 0 … 200×150[pixel]
resolution level 1 … 400×300[pixel]
resolution level 2 … 800×600[pixel]
resolution level 3 … 1600×1200[pixel]
layer数:1
position数:1 tileにつき1 position (i.e. position分割なし)
component数:3
図6に本実施例における画像のタイル分割の様子を示す。画像提供者は、図6の領域601に含まれる教会をROIとして指定したものとする。この場合、領域601を他の領域よりも先にクライアントがダウンロードできるファイルに変換することになる。
Image size: 1600 × 1200 [pixel]
Tile size: 256 x 256 [pixel]
Number of resolution levels: 4
Number of layers: 1
Number of positions: 1 position per tile (ie no position division)
Number of components: 3
FIG. 6 shows the tile division of the image in this embodiment. Assume that the image provider designates the church included in the
画像ファイルの変換方法について図7を用いて説明する。 The image file conversion method will be described with reference to FIG.
まず、ステップS701でファイル変換をする画像を取得する。ステップS702では、ステップS701で取得した画像のmain headerを解析し、resolution level数Roとタイル総数Ttotalを取得する。本実施例の場合、Ro = 4, Ttotal = 35 (= 7×5)である。ステップS703では、画像提供者が指定したROI領域を取得する。
指定方法は、マウスを使って画面上で指定する方法や、数値で指定する方法など様々な方法が考えられるが、本件の主眼ではないので、詳しい説明を割愛する。本実施例では、図6の領域601に含まれる教会部分をROIとして指定したものとする。
First, in step S701, an image to be converted is acquired. In step S702, the main header of the image acquired in step S701 is analyzed, and the resolution level number Ro and the tile total number Ttotal are acquired. In this embodiment, Ro = 4, Ttotal = 35 (= 7 × 5). In step S703, the ROI area designated by the image provider is acquired.
Various methods can be considered, such as a method of specifying on the screen using a mouse or a method of specifying with a numerical value, but since it is not the main point of this case, a detailed description is omitted. In the present embodiment, it is assumed that the church portion included in the
ステップS704では、ステップS703で取得したROI領域を含むタイル番号群Troiに変換する。タイル番号の変換は、ステップS703で指定された座標を最大解像度における値に変換して、タイルサイズで割れば、簡単に求められる。 In step S704, the tile number group Troi including the ROI area acquired in step S703 is converted. The conversion of the tile number can be easily obtained by converting the coordinates specified in step S703 into a value at the maximum resolution and dividing by the tile size.
本実施例では、Troi={ 7, 8, 14, 15, 21, 22}となる。ステップS705では、タイルパート用カウンタTPnに0を代入して初期化する。ステップS706では、タイル用カウンタTに0を代入して初期化する。ステップS707では、タイルパートのデータを作成する。このタイルパートの作成の詳細な説明は、図8を用いて後に示す。 In this embodiment, Troi = {7, 8, 14, 15, 21, 22}. In step S705, initialization is performed by substituting 0 into the tile part counter TPn. In step S706, 0 is assigned to the tile counter T to be initialized. In step S707, tile part data is created. Detailed description of the creation of the tile part will be given later with reference to FIG.
ステップS708では、タイル用カウンタTに1を加える。ステップS709では、タイル用カウンタTをタイル総数Ttotalと比較し、同じであれば、すべてのタイルについてタイルパートTPnを作成し終えたとして、ステップS710へすすみ、タイル総数Ttotalに満たなければ、ステップS707へ進む。 In step S708, 1 is added to the tile counter T. In step S709, the tile counter T is compared with the total number of tiles Ttotal. If they are the same, it is determined that the tile part TPn has been created for all the tiles, and the process proceeds to step S710. Proceed to
本実施例の場合、ステップS707、S708を35回繰り返すとT=35となり、ステップS710へ進むことになる。ステップS710では、タイルパート用カウンタTPnに1を加える。ステップS711では、タイルパート用カウンタTPnをresolution level数Roと比較し、TPnがRo以下ならステップS706へ戻り、TPnが Roより大きな値であれば、すべてのTPnを作成し終えたとして、このフローを終了する。 In the case of the present embodiment, when steps S707 and S708 are repeated 35 times, T = 35, and the process proceeds to step S710. In step S710, 1 is added to the tile part counter TPn. In step S711, the tile part counter TPn is compared with the resolution level number Ro.If TPn is less than or equal to Ro, the process returns to step S706.If TPn is greater than Ro, all the TPn has been created. Exit.
本実施例の場合、ステップS706〜ステップS710を5回繰り返すと、TPn = 5 > 4 = Roとなり、このフローを終了する。つまり、各タイルに対して、タイルパートは、resolution level数Roより一つ多い数だけ作成される。 In the case of the present embodiment, when step S706 to step S710 are repeated five times, TPn = 5> 4 = Ro, and this flow is finished. That is, for each tile, as many tile parts as the resolution level number Ro are created.
次に、図8を用いて、タイルパートの作成方法を説明する。 Next, a method for creating a tile part will be described with reference to FIG.
ステップS801では、タイルカウンタTがステップS703で取得したTroiに含まれているかどうか判断する。Troiに含まれていれば、ステップS802へ進み、含まれていなければステップS806へ進む。 In step S801, it is determined whether or not the tile counter T is included in the Troi acquired in step S703. If it is included in Troi, the process proceeds to step S802, and if not included, the process proceeds to step S806.
本実施例の場合、Troi={ 7, 8, 14, 15, 21, 22}であるので、Tが7, 8, 14, 15, 21, 22のいずれかの値の場合ステップS802へ進む。ステップS802では、タイルパート用カウンタTPnの値が0であるか調べ、0であれば、ステップS803へ進み、0以外であれば、ステップS804へ進む。ステップS803では、resolution level 0 〜 (Ro-2)のデータを使って、タイルパート0を作成する。
In the case of this embodiment, Troi = {7, 8, 14, 15, 21, 22}. Therefore, if T is any value of 7, 8, 14, 15, 21, 22, the process proceeds to step S802. In step S802, it is checked whether the value of the tile part counter TPn is 0. If it is 0, the process proceeds to step S803, and if it is not 0, the process proceeds to step S804. In step S803,
本実施例であれば、T = 7, TPn = 0のときにステップS803の処理を行うことになる。符号化データの中から、タイル7のresolution level 0, 1, 2のデータを抜き出し、そのデータ長を取得し、図4のIsot 431にタイル番号7を、Psot 432にresolution level 0, 1, 2のデータ長+タイルヘッダのデータ長(=14)を、Tpsot 433にタイルパート番号0を、Tnsot 434にタイルパートの総数(Ro + 1) = 5を書き込み、タイルヘッダを作成する。
In this embodiment, the process of step S803 is performed when T = 7 and TPn = 0. Extract data of
そして、そのタイルヘッダの後ろに先ほど抜きだした、タイル7のresolution level 0, 1, 2のデータを続ける。したがって、タイル7のresolution level 3だけが残ることになる。
Then, the data of the
ステップS802で、タイルパート用カウンタTPnの値が0でなければ、ステップS804へ進む。ステップS804では、タイルパート用カウンタTPnの値が1であるか判断し、TPn = 1であればステップS805へ進み、TPnが1でなければ、ステップS807へ進む。 If the value of the tile part counter TPn is not 0 in step S802, the process proceeds to step S804. In step S804, it is determined whether the value of the tile part counter TPn is 1. If TPn = 1, the process proceeds to step S805, and if TPn is not 1, the process proceeds to step S807.
本実施例の場合、T = 7, TPn = 1となると、ステップS804へ進むことになる。この場合、タイル7のタイルパート0に含まれなかったresolution level 3のデータのみをタイルパート1のデータとなる。
In this embodiment, when T = 7 and TPn = 1, the process proceeds to step S804. In this case, only data of
このときも、上述したように、Isot 431にタイル番号7を、Psot 432にresolution level 3のデータ長+タイルヘッダのデータ長を、Tpsot 433にタイルパート番号1を、Tnsot 434にタイルパートの総数(Ro + 1) = 5を書き込み、タイルヘッダを作成し、その後ろにresolution level 3のデータを続けることになる。したがって、ROIに含まれるタイルTroiのデータは、すべてタイルパート0とタイルパート1に分割される。
At this time, as described above,
ステップS801でタイルカウンタTがタイル群Troiに含まれない場合には、ステップS806へ進むことになる。ステップS806では、タイルパート用カウンタTPnが0であれば、ステップS807へ進み、0でなければステップS808へ進むことになる。 If the tile counter T is not included in the tile group Troi in step S801, the process proceeds to step S806. In step S806, if the tile part counter TPn is 0, the process proceeds to step S807, and if not 0, the process proceeds to step S808.
つまり、Troiに含まれるタイルのうちタイルパート番号が2以上の場合と、Troiに含まれないタイルのうちタイルパート番号が0の場合に、ステップS807の処理が行われる。ステップS807では、タイルT、タイルパートTPnのタイルパートヘッダのみ作成する。 That is, the process of step S807 is performed when the tile part number is 2 or more among tiles included in Troi and when the tile part number is 0 among tiles not included in Troi. In step S807, only tile part headers of tile T and tile part TPn are created.
本実施例では、ROIに含まれるタイル7のタイルパート2、3、4の時や、ROIの外にあるタイル0のタイルパート0の時にステップS807の処理が行われる。タイル7のタイルパート2であれば、Isot 431にタイル番号7を、Psot 432にタイルヘッダのデータ長である14を、Tpsot 433にタイルパート番号2を、Tnsot 434にタイルパートの総数(Ro + 1) = 5を書き込み、タイルヘッダを作成する。
In the present embodiment, the process of step S807 is performed when the
ステップS806でTPnが0でなければ、ステップS808へ進む。ステップS808では、resolution level (TPn - 1)のデータからタイルパートTPnを作成する。 If TPn is not 0 in step S806, the process proceeds to step S808. In step S808, a tile part TPn is created from the data of resolution level (TPn-1).
本実施例の場合、タイル0、タイルパート1の時にステップS808を通ることになる。したがって、タイル0のresolution level 0のデータ長を取得し、Isot 431にタイル番号0を、Psot 432にresolution level 0のデータ長+タイルヘッダのデータ長(=14)を、Tpsot 433にタイルパート番号1を、Tnsot 434にタイルパートの総数(Ro + 1) = 5を書き込み、タイルヘッダを作成し、タイルヘッダの後ろにresolution level 0のデータを続ける。
In the case of the present embodiment, step S808 is passed when
したがって、ROIに含まれないタイルは、タイルパート0には、データが入っておらず、タイルパート1以降に、1 resolution levelずつデータが格納されることになる。
Therefore, tiles that are not included in the ROI do not contain data in
以上より、本実施例のデータは図5(a)のようにタイルパート順に並び、ROIに含まれるタイルのresolutionデータは、図9(a)に示すように各タイルパートに分割され、ROIに含まれないタイルのresolutionデータは、図9(b)に示すように各タイルパートに分割される。 As described above, the data of this embodiment is arranged in the tile part order as shown in FIG. 5 (a), and the resolution data of the tiles included in the ROI is divided into each tile part as shown in FIG. The resolution data of the tile not included is divided into tile parts as shown in FIG. 9 (b).
このようなデータを、ファイルの先頭から受信し、タイルパート毎にデコードすると、クライアント側での表示は、次のようになる。 When such data is received from the beginning of the file and decoded for each tile part, the display on the client side is as follows.
1. ROIに含まれる最高解像度の一つ下のresolution levelの画像
2. ROI以外の領域のresolution level 0の画像とROIに含まれる最高解像度の画像
3. ROI以外の領域の高精細画像のプログレッシブ表示
したがって、クライアントはダウンロードの早い段階で、重要領域のある程度高精細な画像を見ることができ、さらに、次の段階では、画像全体の大まかな様子も見ることが出来る。しかも、この符号化データは、JPEG2000の標準的なデコーダを使ってデコードできる。
1. An image with a resolution level one level below the highest resolution included in the ROI
2. Non-ROI
3. Progressive display of high-definition images in areas other than ROI Therefore, the client can see some high-definition images in the important areas at an early stage of downloading, and in the next stage, a rough view of the entire image. Can also be seen. Moreover, the encoded data can be decoded using a standard JPEG 2000 decoder.
(実施例2)
上記実施例1では、画像提供者がサーバ側の大容量ハードディスク205に画像を登録する際に、画像提供者の判断でROIを作成したが、これをクライアントに応じて動的にROIを生成しても良い。
(Example 2)
In the first embodiment, when the image provider registers an image on the large-capacity
たとえば、画像の部分領域にキーワードを付与し、画像検索システムにおいて、ユーザの検索キーワードと画像の部分領域のキーワードを比較して、ROI領域を動的に変更し、送信直前にデータの並び替えを行っても良い。 For example, a keyword is assigned to a partial area of an image, and in the image search system, the search keyword of the user is compared with the keyword of the partial area of the image, the ROI area is dynamically changed, and the data is rearranged immediately before transmission. You can go.
たとえば、「教会」というキーワードで検索した場合には、領域601をROIとし、人物の名前がキーワードであれば、人物を含む領域602をROIとし、さらに、「花」というキーワードで検索した場合には、領域603をROIとして、データを並び替えて送信しても良い。
For example, when searching with the keyword “church”, if the
また、実施例1では、ROIの領域を1つにしたが、複数のROI領域を指定しても良い。たとえば、図6(a)の教会を含む領域601とチューリップを含む領域603の2箇所をROIと指定することも可能である。
In the first embodiment, one ROI area is used, but a plurality of ROI areas may be designated. For example, it is possible to designate two locations, ROI, of the
また、実施例1では、resolution levelでデータを分割したが、layerで分割しても良い。つまり、ROI領域に含まれるタイルのタイルパート0には、ある程度画質の良いデータのみを含み、タイルパート1ですべてのlayerデータを含み、ROI領域以外のタイルのタイルパート0には、データが格納されておらず、タイルパート1から順にlayerデータを格納していくようにする。
In the first embodiment, the data is divided at the resolution level, but may be divided at the layer. In other words,
以上で説明した実施例によれば、重要な部分領域から順に画像が高精細になるように表示できる。そのため、画像全体の表示が終了する前に、重要な部分について高解像度の画像が表示されるようになる。 According to the embodiment described above, images can be displayed so as to become high definition sequentially from the important partial areas. Therefore, before the display of the entire image is finished, a high-resolution image is displayed for the important part.
また、重要な部分領域以外も、早い段階で粗く表示されるので、重要な部分領域の次に全体像を把握できる。また、最終的には、重要な部分領域以外も高解像度で画像が表示される。 In addition, since areas other than the important partial areas are displayed roughly at an early stage, the entire image can be grasped next to the important partial areas. Finally, an image is displayed at a high resolution other than the important partial area.
さらに、重要な部分領域のデータの作成は、JPEG2000のタイルパートを使い、さらに、すべてのタイルパート0のデータがメインヘッダのすぐ後ろに並ぶので、通常のデコード処理をし、タイル順にレンダリングするだけで、自然に重要領域から表示される。
Furthermore, the data of important partial areas is created using JPEG2000 tile parts, and all
さらに、タイルパートによって重要領域データを作成は、画像データの再符号化せずに、データを並べかえるだけで容易に実現できる。そのため、クライアントのリクエストに応じて動的にROIを変更することも容易に実現できる。 Furthermore, the generation of the important area data by the tile part can be easily realized only by rearranging the data without re-encoding the image data. Therefore, it is possible to easily change the ROI dynamically according to the client request.
Claims (13)
重要な領域を特定する重要領域特定工程と、
前記重要領域特定工程によって特定された重要領域を含むタイルを特定する重要タイル特定工程と、
各タイルを構成する複数の物理的な符号化データをそれぞれ複数のグループに振り分ける所属グループ特定工程と、
グループ毎に各グループを識別するグループ識別手段と共に、各タイルの符号化データを前記所属グループ特定工程によって特定されたグループへ出力する符号出力工程とを備え、
各タイルの先頭グループのうち、前記重要タイル特定工程によって特定されたタイルには、それ以外のタイルよりも多くの階層の符号化データを格納することを特徴とする画像処理方法。 An image processing method in which a series of hierarchically encoded data divided into tiles and having one or more layers is divided and stored in one or more logical groups,
An important area identification process for identifying an important area;
An important tile specifying step for specifying a tile including the important region specified by the important region specifying step;
Belonging group specifying step of distributing a plurality of physical encoded data constituting each tile into a plurality of groups,
A code output step for outputting the encoded data of each tile to the group specified by the belonging group specifying step together with group identification means for identifying each group for each group,
An image processing method characterized in that, among the leading groups of each tile, encoded data of a higher layer is stored in a tile specified by the important tile specifying step than in other tiles.
重要な領域を特定する重要領域特定手段と、
前記重要領域特定手段によって特定された重要領域を含むタイルを特定する重要タイル特定手段と、
各タイルを構成する複数の物理的な符号化データをそれぞれ複数のグループに振り分ける所属グループ特定手段と、
グループ毎に各グループを識別するグループ識別手段と共に、各タイルの符号化データを前記所属グループ特定手段によって特定されたグループへ出力する符号出力手段とを持ち、
各タイルの先頭グループのうち、前記重要タイル特定手段によって特定されたタイルには、それ以外のタイルよりも多くの階層の符号化データが格納することを特徴とする画像処理装置。 An image processing apparatus that is divided into tiles and stores a series of hierarchically encoded data having one or more layers divided into one or more logical groups,
An important area identification means for identifying an important area;
An important tile specifying means for specifying a tile including an important area specified by the important area specifying means;
Belonging group specifying means for allocating a plurality of physical encoded data constituting each tile to a plurality of groups,
Along with a group identifying means for identifying each group for each group, a code output means for outputting the encoded data of each tile to the group specified by the belonging group specifying means,
An image processing apparatus characterized in that, among the head group of each tile, encoded data of a higher hierarchy is stored in a tile specified by the important tile specifying means than in other tiles.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005362012A JP2007166406A (en) | 2005-12-15 | 2005-12-15 | Image processing method, image processing apparatus, computer program, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005362012A JP2007166406A (en) | 2005-12-15 | 2005-12-15 | Image processing method, image processing apparatus, computer program, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2007166406A true JP2007166406A (en) | 2007-06-28 |
Family
ID=38248768
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005362012A Withdrawn JP2007166406A (en) | 2005-12-15 | 2005-12-15 | Image processing method, image processing apparatus, computer program, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2007166406A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013132048A (en) * | 2011-11-21 | 2013-07-04 | Canon Inc | Image coding apparatus, image coding method, and program, and image decoding apparatus, image decoding method, and program |
| CN112131857A (en) * | 2020-09-11 | 2020-12-25 | 安徽中科新辰技术有限公司 | Ultrahigh-resolution visual self-adaptive typesetting method |
-
2005
- 2005-12-15 JP JP2005362012A patent/JP2007166406A/en not_active Withdrawn
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013132048A (en) * | 2011-11-21 | 2013-07-04 | Canon Inc | Image coding apparatus, image coding method, and program, and image decoding apparatus, image decoding method, and program |
| US10349077B2 (en) | 2011-11-21 | 2019-07-09 | Canon Kabushiki Kaisha | Image coding apparatus, image coding method, image decoding apparatus, image decoding method, and storage medium |
| CN112131857A (en) * | 2020-09-11 | 2020-12-25 | 安徽中科新辰技术有限公司 | Ultrahigh-resolution visual self-adaptive typesetting method |
| CN112131857B (en) * | 2020-09-11 | 2024-05-31 | 安徽中科新辰技术有限公司 | Self-adaptive typesetting method for ultrahigh resolution visualization |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20220400259A1 (en) | Transferring system for huge and high quality images on network and method thereof | |
| JP4603947B2 (en) | Image communication system, server apparatus and control method therefor, and computer program | |
| JP6590925B2 (en) | How to create a video | |
| US7899259B2 (en) | Image processing method and image processing apparatus for images decodable at multiple resolutions | |
| JP4416611B2 (en) | Image processing method and image processing apparatus | |
| CN102196034A (en) | Application sharing with occlusion removal | |
| US20180109585A1 (en) | Information processing apparatus and information processing method | |
| JP2006191159A (en) | Image processing method and image processing apparatus | |
| JPWO2011077550A1 (en) | Screen relay device | |
| JP2017123503A (en) | Video distribution apparatus, video distribution method and computer program | |
| JP2012249145A (en) | Image processing device, image processing method, and program | |
| US20080298698A1 (en) | Image processing apparatus and computer readable medium storing program therefor | |
| JP7442302B2 (en) | Data processing device, its control method, and program | |
| JP2007166406A (en) | Image processing method, image processing apparatus, computer program, and storage medium | |
| JP5331432B2 (en) | Image processing apparatus and image processing method | |
| US11615573B2 (en) | Method, system, and non-transitory computer-readable record medium for providing animation using sprite JPEG | |
| US7456844B2 (en) | Image transmission method, computer-readable image transmission program, recording medium, and image transmission apparatus | |
| JP5520890B2 (en) | Image processing apparatus, image data generation apparatus, image processing method, image data generation method, and data structure of image file | |
| JP2010087904A (en) | Image processing apparatus and image processing method | |
| JP2005012686A (en) | Image processing method and image processing apparatus | |
| JP4956179B2 (en) | Data processing apparatus, data processing method, data processing program, and storage medium | |
| JP6412893B2 (en) | Video distribution system, video transmission device, communication terminal, and program | |
| JP2006339972A (en) | Image processing apparatus, control method therefor, computer program, and storage medium | |
| JP2007133510A (en) | Content display device and content display method | |
| JP2007189552A (en) | Network streaming system and server |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20090303 |