JP6103942B2 - Image data processing apparatus and image data processing program - Google Patents

Image data processing apparatus and image data processing program Download PDF

Info

Publication number
JP6103942B2
JP6103942B2 JP2013001294A JP2013001294A JP6103942B2 JP 6103942 B2 JP6103942 B2 JP 6103942B2 JP 2013001294 A JP2013001294 A JP 2013001294A JP 2013001294 A JP2013001294 A JP 2013001294A JP 6103942 B2 JP6103942 B2 JP 6103942B2
Authority
JP
Japan
Prior art keywords
image data
enlargement
reduction ratio
unit
gloss
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.)
Expired - Fee Related
Application number
JP2013001294A
Other languages
Japanese (ja)
Other versions
JP2014134890A (en
Inventor
奈保 澁久
奈保 澁久
北浦 竜二
竜二 北浦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2013001294A priority Critical patent/JP6103942B2/en
Publication of JP2014134890A publication Critical patent/JP2014134890A/en
Application granted granted Critical
Publication of JP6103942B2 publication Critical patent/JP6103942B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は画像データ処理装置に係り、特に画像データの拡大縮小率に応じて、画像の光沢及び陰影制御を行う技術に関する。   The present invention relates to an image data processing apparatus, and more particularly to a technique for performing gloss and shadow control of an image in accordance with the enlargement / reduction ratio of the image data.

従来、デジタルカメラ等の撮像装置では、撮像位置はそのままでも、被写体に近づいたかのような画像データを撮像するために、光学ズームやデジタルズームの機能が搭載されることが多い。光学ズームはレンズを動かすことによって焦点距離を変化させ、光学的に拡大して画像データを撮像している。これに対しデジタルズームでは、レンズ自体は動かさず、画像データの一部を拡大することで被写体の大きさを変えて画像データを撮像している。また、画像データを撮像するときだけでなく、画像データを表示するときにデジタル処理により画像データを拡大・縮小等して表示することで、あたかも被写体と撮像装置との位置関係を変えたかのような画像データを生成することもデジタルズーム機能の一つである。   Conventionally, an imaging apparatus such as a digital camera is often equipped with an optical zoom function or a digital zoom function in order to capture image data as if it were close to a subject without changing the imaging position. In the optical zoom, the focal length is changed by moving a lens, and image data is captured by optically enlarging. On the other hand, in the digital zoom, the lens itself is not moved, and the image data is picked up by changing the size of the subject by enlarging a part of the image data. Moreover, not only when capturing image data, but also by displaying the image data enlarged or reduced by digital processing when displaying the image data, as if the positional relationship between the subject and the imaging device was changed. Generating image data is also one of digital zoom functions.

近年、拡大された画像データに画像データ処理を施し、好適な画像データを生成する技術が開発されている。例えば、特許文献1では、光学ズームによって得られる画質変化と、デジタルズームによって得られる画質変化とに共通性を持たせることで、デジタルズーム実行時に、光学ズームを利用して得たかのようなボケを出力画像データに発生させる方法が開示されている。   In recent years, techniques for performing image data processing on enlarged image data to generate suitable image data have been developed. For example, in Japanese Patent Application Laid-Open No. 2004-228688, by giving a commonality to the image quality change obtained by the optical zoom and the image quality change obtained by the digital zoom, the output image is blurred as if it was obtained by using the optical zoom when executing the digital zoom. A method for generating data is disclosed.

特開2012−160863号公報JP 2012-160863 A

しかしながら、特許文献1に記載された方法では、被写体の質感を表す光沢や、陰影のある領域がそのまま拡大されてしまうため、質感が損なわれるという問題があった。また、画像の一部を拡大あるいは縮小するだけでは、被写体までの距離が変わったような印象を得られず、臨場感が損なわれてしまっていた。例えば、撮影画像データでは影だとわかる領域も、拡大画像データでは全体が真っ暗になったり、コントラストの高い影領域と非影領域との境目の領域が、そのまま拡大されたりと、好適な拡大画像データを生成することが困難であった。   However, the method described in Patent Document 1 has a problem in that the texture is deteriorated because the glossy or shaded area representing the texture of the subject is enlarged as it is. Also, just by enlarging or reducing a part of the image, the impression that the distance to the subject has changed cannot be obtained, and the sense of reality has been impaired. For example, an area that is known to be a shadow in the captured image data, but the enlarged image data is entirely dark, or the boundary area between the shadow area and the non-shadow area having a high contrast is enlarged as it is. It was difficult to generate data.

本発明は上記課題を鑑みて発明されたものであり、画像データの拡大縮小率に応じて、適切な画像の光沢及び陰影制御を行う画像データ処理技術を提供することを目的とする。   The present invention has been invented in view of the above problems, and an object of the present invention is to provide an image data processing technique for appropriately controlling gloss and shadow of an image according to the enlargement / reduction ratio of the image data.

本発明は上述した課題を解決するために、以下の技術手段を備えている。
本発明の一観点によれば、画像データの拡大縮小指示を取得し、前記拡大縮小指示から前記画像データの拡大縮小率を算出する拡大縮小率算出部と、前記拡大縮小率に基づいて前記画像データの一部画像データを拡大または縮小する画像データ生成部と、を備える画像データ処理装置であって、前記画像データから、例えば、画素ごとまたは領域ごとに、被写体表面の三次元形状を取得する被写体形状推定部と、前記画像データと、前記三次元形状とに基づいて、画素または領域ごとに被写体表面の光源からの入射光情報を取得する光源環境推定部と、前記三次元形状と、前記入射光情報と、前記拡大縮小率とに基づいて、前記画像データの高輝度領域又は低輝度領域の少なくともいずれか一方の輝度値を制御する光沢/陰影制御部と、を備え、前記光沢/陰影制御部は、前記拡大縮小率に応じて、前記画像データの高輝度領域又は低輝度領域の少なくともいずれか一方の領域を強調または抑制する輝度補正を行う光沢/陰影輝度補正部を有することを特徴とする画像データ処理装置が提供される。
In order to solve the above-described problems, the present invention includes the following technical means.
According to an aspect of the present invention, an enlargement / reduction ratio calculation unit that acquires an enlargement / reduction instruction for image data and calculates an enlargement / reduction ratio of the image data from the enlargement / reduction instruction, and the image based on the enlargement / reduction ratio An image data processing apparatus comprising: an image data generation unit that enlarges or reduces partial image data of the data, and acquires a three-dimensional shape of a subject surface from the image data, for example, for each pixel or for each region Based on the subject shape estimation unit, the image data, and the three-dimensional shape, a light source environment estimation unit that acquires incident light information from the light source on the subject surface for each pixel or region, the three-dimensional shape, A gloss / shadow control unit that controls a luminance value of at least one of a high luminance region and a low luminance region of the image data based on the incident light information and the enlargement / reduction ratio. The gloss / shadow control unit performs brightness correction that enhances or suppresses at least one of a high-brightness region and a low-brightness region of the image data according to the enlargement / reduction ratio. An image data processing device is provided.

上記の発明によれば、被写体形状と光源情報と拡大縮小率に基づいて、画像を拡大するときは、光沢及び陰影領域を抑制する輝度補正を、縮小するときは、光沢及び陰影領域を強調する輝度補正を行う。   According to the above invention, based on the subject shape, the light source information, and the enlargement / reduction ratio, the luminance correction for suppressing the gloss and shadow areas is performed when the image is enlarged, and the gloss and shadow areas are emphasized when the image is reduced. Perform brightness correction.

本発明の画像データ処理装置によれば、入力画像データの陰影及び光沢を、画像データの拡大縮小率に応じて調整し、適切に画像データの光沢及び陰影制御を施した画像データを生成することができる。   According to the image data processing apparatus of the present invention, the shading and gloss of the input image data are adjusted according to the enlargement / reduction ratio of the image data, and the image data appropriately performing the gloss and shading control of the image data is generated. Can do.

本発明の第1の実施の形態による画像データ処理装置を備える撮像部付き画像データ表示装置の一構成例を示す機能ブロック図である。It is a functional block diagram which shows the example of 1 structure of the image data display apparatus with an imaging part provided with the image data processing apparatus by the 1st Embodiment of this invention. 光沢/陰影制御部の一構成例を示す機能ブロック図である。It is a functional block diagram which shows one structural example of a glossiness / shadow control part. 入力画像データと法線ベクトルとを説明する図である。It is a figure explaining input image data and a normal vector. 法線ベクトルを説明する図である。It is a figure explaining a normal vector. 光源ベクトルを説明する図である。It is a figure explaining a light source vector. 鏡面反射を説明する図である。It is a figure explaining specular reflection. 拡大縮小指示の入力方法を説明する図である。It is a figure explaining the input method of the expansion / contraction instruction. 法線ベクトルと光源ベクトルとのなす角を説明する図である。It is a figure explaining the angle | corner which a normal vector and a light source vector make. 拡大縮小率と光沢及び陰影の強調・抑制度合との関係を示す図である。It is a figure which shows the relationship between an enlarging / reducing rate and the emphasis / suppression degree of gloss and shadow. 画像データを拡大する際の変更結果を説明する図である。It is a figure explaining the change result at the time of enlarging image data. 画像データを縮小する際の変更結果を説明する図である。It is a figure explaining the change result at the time of reducing image data. 本発明の第1の実施の形態における画像処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the image processing in the 1st Embodiment of this invention. 拡大した画像データと画像データもしくは縮小した画像データやメニュー画面を同時に表示した様子を示す図である。It is a figure which shows a mode that the enlarged image data and image data or the reduced image data, and the menu screen were displayed simultaneously. 本発明の第2の実施の形態による画像データ処理装置を備える撮像部付き画像データ表示装置の一構成例を示す機能ブロック図である。It is a functional block diagram which shows one structural example of the image data display apparatus with an imaging part provided with the image data processing apparatus by the 2nd Embodiment of this invention. 図13Aの要部の構成例を示す機能ブロック図である。It is a functional block diagram which shows the structural example of the principal part of FIG. 13A. 第2の実施の形態による画像データ表示装置の傾きを拡大縮小の関係を説明する図である。It is a figure explaining the relationship of the expansion / contraction of the inclination of the image data display apparatus by 2nd Embodiment. 第2の実施の形態による画像データ表示装置の傾き角を示す軸を表す図である。It is a figure showing the axis | shaft which shows the inclination angle of the image data display apparatus by 2nd Embodiment. 第2の実施の形態による画像データ表示装置を横から見た図である。It is the figure which looked at the image data display apparatus by 2nd Embodiment from the side. 第2の実施の形態による画像データ表示装置を上から見た図である。It is the figure which looked at the image data display apparatus by 2nd Embodiment from the top.

以下、添付図面を参照して本発明の実施の形態について詳細に説明する。なお、添付図面は本発明の原理に則った具体的な実施例と実装例を示しているが、これらは本発明の理解のためのものであり、決して本発明を限定的に解釈するために用いられるものではない。また、各図における構成は、理解しやすいように誇張して記載しており、実際の間隔や大きさとは異なる。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The accompanying drawings show specific embodiments and implementation examples according to the principle of the present invention, but these are for understanding the present invention and are not intended to limit the present invention. Not used. The configuration in each drawing is exaggerated for easy understanding, and is different from the actual interval and size.

また、以下の説明において、異なる図面においても同じ符号を付した構成のものであるとして、その説明を省略することとする。また、以下で述べる画像データとは、静止画像データと動画像データの両方を示すものとし、コンテンツデータとは、静止画像データと動画像データを示し、さらに動画像データに音声データがある場合は、音声データも含むものとする。また、撮像部と表示部とが、別体に構成されていても良い。   In the following description, the same reference numerals are used in different drawings to omit the description. The image data described below indicates both still image data and moving image data. Content data indicates still image data and moving image data. Further, when the moving image data includes audio data. It also includes audio data. Moreover, the imaging unit and the display unit may be configured separately.

<第1の実施の形態>
図1Aは、本発明の第1の実施の形態による画像データ処理装置を備える撮像部付き画像データ表示装置の一構成例を示す機能ブロック図である。撮像部付き画像データ表示装置で被写体を撮像して、撮像した画像データから被写体の拡大縮小率に応じて適切な光沢及び陰影制御が施された画像データを生成し、生成画像データを表示部に表示する場合の例を示す図である。
<First Embodiment>
FIG. 1A is a functional block diagram illustrating a configuration example of an image data display device with an imaging unit including the image data processing device according to the first embodiment of the present invention. The subject is imaged by an image data display device with an imaging unit, image data that is appropriately glossy and shaded according to the enlargement / reduction ratio of the subject is generated from the captured image data, and the generated image data is displayed on the display unit. It is a figure which shows the example in the case of displaying.

以下、本発明の第1の実施の形態におけるシステム構成及び動作の詳細を、図1A、図1Bを用いて説明する。本実施の形態に係る画像データ処理装置を備える撮像部付き画像データ表示装置100は、入出力装置101と、画像データ処理装置102と、表示部103とを備え、また、入出力装置101内には、カメラなどの撮像部104と、送受信部105と、画像データ入出力部106と、記憶部107と、のうち少なくとも1つ以上の画像ソースと、入出力部(操作部等)108とを備え、さらに、画像データ処理装置102内には、被写体形状推定部109、光源環境推定部110、拡大縮小率算出部111、光沢/陰影制御部112、画像データ生成部113、を備える。   Details of the system configuration and operation in the first embodiment of the present invention will be described below with reference to FIGS. 1A and 1B. An image data display device 100 with an imaging unit including the image data processing device according to the present embodiment includes an input / output device 101, an image data processing device 102, and a display unit 103. Includes an imaging unit 104 such as a camera, a transmission / reception unit 105, an image data input / output unit 106, and a storage unit 107, at least one image source, and an input / output unit (such as an operation unit) 108. Furthermore, the image data processing apparatus 102 includes a subject shape estimation unit 109, a light source environment estimation unit 110, an enlargement / reduction rate calculation unit 111, a gloss / shadow control unit 112, and an image data generation unit 113.

また、第1の実施の形態による画像データ処理システムの具体的な例としては、例えば、画像データの表示を行うことができる、テレビジョン受信装置や、モニタ、携帯電話、スマートフォン、タブレットPC、PC、携帯ゲーム機、電子フォトフレーム、デジタルスチルカメラ、ビデオカメラ等があげられる。   Further, specific examples of the image data processing system according to the first embodiment include, for example, a television receiver, a monitor, a mobile phone, a smartphone, a tablet PC, and a PC that can display image data. Mobile game machines, electronic photo frames, digital still cameras, video cameras, and the like.

まず、入出力装置101の内部の構成要素と、表示部103と、について説明する。撮像部104は、撮像レンズ及びCCD(Charge Coupled Device)等の撮像素子を備えており、被写体の静止画や動画を撮像し、撮像した画像データを入力画像データとして出力する。   First, the internal components of the input / output device 101 and the display unit 103 will be described. The imaging unit 104 includes an imaging lens and an imaging device such as a CCD (Charge Coupled Device), captures a still image or a moving image of the subject, and outputs the captured image data as input image data.

送受信部105は、テレビ放送波や、インターネットやその他の通信回線を通じて入力された画像データを受け付け、入力画像データとして出力する一般的なコンテンツ等のインターフェイスである。例えば、送受信部105は、テレビ放送の放送波を受信するテレビ信号受信装置等により、放送波に含まれるコンテンツデータを入力して、再生する装置であってもよい。また、インターネットやその他の通信回線から配信されるコンテンツデータを受信して、再生する装置であってもよい。   The transmission / reception unit 105 is an interface for general contents or the like that receives image data input through a television broadcast wave, the Internet, or other communication lines, and outputs it as input image data. For example, the transmission / reception unit 105 may be a device that inputs and reproduces content data included in a broadcast wave by a television signal receiving device that receives a broadcast wave of a television broadcast. Further, it may be a device that receives and reproduces content data distributed from the Internet or other communication lines.

画像データ入出力部106は、外部から入力された画像データを受け付け、入力画像データとして出力する一般的なものである。例えば、入出力部108は、ディスクプレイヤー等の外部機器からの画像データ信号を受け付けるレシーバ等により、コンテンツデータを受け付けて、再生する装置であってもよい。コンテンツデータを入力するための装置であれば、どのような装置であっても構わない。   The image data input / output unit 106 is a general one that receives image data input from the outside and outputs it as input image data. For example, the input / output unit 108 may be a device that receives and reproduces content data by a receiver or the like that receives an image data signal from an external device such as a disc player. Any device for inputting content data may be used.

記憶部107は、コンテンツデータを記憶したり、記憶した画像データを出力したりする一般的なメモリ等である。例えば、記憶部107は、記録媒体からコンテンツデータを読み込んで、再生する装置であってもよい。記録媒体としては、市販のビデオカメラ内の記憶装置と、取り外し可能な記憶装置(光磁気ディスクや半導体メモリ等の電子媒体)と、が例示的に挙げられる。   The storage unit 107 is a general memory that stores content data or outputs stored image data. For example, the storage unit 107 may be a device that reads content data from a recording medium and reproduces it. Examples of the recording medium include a storage device in a commercially available video camera and a removable storage device (an electronic medium such as a magneto-optical disk or a semiconductor memory).

入出力部108は、キーボタンやマイクやスピーカー等の音声入出力装置や人の動きを検知する赤外線照射装置等、ユーザの命令や音声などを画像データ処理装置に入力したり音声を出力したりする。   The input / output unit 108 inputs user commands and voices to the image data processing apparatus and outputs voices, such as voice input / output devices such as key buttons, microphones and speakers, and infrared irradiation devices that detect human movement. To do.

ここで、入出力装置101を構成する、撮像部104と、送受信部105と、画像データ入出力部106と、記憶部107は、それぞれ異なる方法で、画像データを入力するための手段であり、入出力装置101は、撮像部104と、送受信部105と、画像データ入出力部106と、記憶部107のうち少なくとも一つと、入出力部108とを備えていればよい。以下の説明では、入出力装置101内に、撮像部104と、記憶部107と、入出力部108とを備えた例について説明する。   Here, the imaging unit 104, the transmission / reception unit 105, the image data input / output unit 106, and the storage unit 107 constituting the input / output device 101 are means for inputting image data by different methods, respectively. The input / output device 101 only needs to include the imaging unit 104, the transmission / reception unit 105, the image data input / output unit 106, at least one of the storage units 107, and the input / output unit 108. In the following description, an example in which the imaging unit 104, the storage unit 107, and the input / output unit 108 are provided in the input / output device 101 will be described.

表示部103は、一般的なLCD(Liquid Crystal Display:液晶ディスプレイ)などで構成されており、外部から入力された画像データや文字データ等を表示する。   The display unit 103 is configured by a general LCD (Liquid Crystal Display) or the like, and displays image data, character data, and the like input from the outside.

また、上記で述べた、入出力装置101と、表示部103は、それぞれ一般的なものであり、本発明の内容とは直接関係がないため、それらの詳細な説明については省略する。   Moreover, since the input / output device 101 and the display unit 103 described above are general ones and are not directly related to the contents of the present invention, their detailed description is omitted.

次に、画像データ処理装置102の構成例について説明する。
画像データ処理装置102は、被写体形状推定部109と、光源環境推定部110と、拡大縮小率算出部111と、光沢/陰影制御部112と、画像データ生成部113とを備え、撮像部104、画像データ入出力部106等から入力された入力画像データに対して、入出力部108から入力された拡大縮小指示に基づいて画像データ処理を行い、出力画像データを生成し、生成した出力画像データを、表示部103、または、画像データ入出力部106等へ出力する。ここで、例えば、画像データ処理装置102は、CPU(Central Processing Unit:中央処理装置)やGPU(Graphic Processing Unit:画像データ処理用処理装置)等で構成することができる。
Next, a configuration example of the image data processing apparatus 102 will be described.
The image data processing apparatus 102 includes a subject shape estimation unit 109, a light source environment estimation unit 110, an enlargement / reduction ratio calculation unit 111, a gloss / shadow control unit 112, and an image data generation unit 113, and includes an imaging unit 104, The input image data input from the image data input / output unit 106 or the like is subjected to image data processing based on the enlargement / reduction instruction input from the input / output unit 108 to generate output image data, and the generated output image data Are output to the display unit 103, the image data input / output unit 106, or the like. Here, for example, the image data processing apparatus 102 can be configured by a CPU (Central Processing Unit), a GPU (Graphic Processing Unit), or the like.

被写体形状推定部109は、入力された画像データに基づいて、例えば、画像データにおける被写体表面の三次元形状を表す法線ベクトルを推定し、法線ベクトル情報として出力する。   The subject shape estimation unit 109 estimates, for example, a normal vector representing the three-dimensional shape of the subject surface in the image data based on the input image data, and outputs it as normal vector information.

光源環境推定部110は、入力された画像データと、被写体形状推定部109で推定された法線ベクトルと、に基づいて、被写体表面に入射する光の向きを推定し、推定された入射光情報を光源ベクトル情報として出力する。   The light source environment estimation unit 110 estimates the direction of light incident on the subject surface based on the input image data and the normal vector estimated by the subject shape estimation unit 109, and estimated incident light information Is output as light source vector information.

拡大縮小率算出部111は、入出力部108から入力される画像データの拡大もしくは縮小の指示に基づき、画像データ生成部113で生成する画像データの拡大縮小率を算出し、出力する。   The enlargement / reduction rate calculation unit 111 calculates and outputs the enlargement / reduction rate of the image data generated by the image data generation unit 113 based on an instruction to enlarge or reduce the image data input from the input / output unit 108.

光沢/陰影制御部112は、入力された法線ベクトル情報と、光源ベクトル情報と、拡大縮小率と、に基づいて、拡大縮小率に応じた適切な光沢制御及び/又は陰影制御処理を行う。このとき、拡大縮小率で算出した拡大縮小率の数値が所定の値より大きくなるに従い、光沢及び/又は陰影効果が抑制されるように調整されて生成される。また、拡大縮小率の数値が所定の値より小さくなるに従い、光沢及び/又は陰影効果が強調されるように調整されて生成される。光沢/陰影制御部112は、光沢の抑制又は強調制御の少なくともいずれか一方と、陰影の抑制又は強調制御の少なくともいずれか一方を独立して行うことができても良いし、セットで制御を行うようにしても良い。   The gloss / shadow control unit 112 performs appropriate gloss control and / or shadow control processing according to the scaling ratio based on the input normal vector information, light source vector information, and scaling ratio. At this time, as the numerical value of the enlargement / reduction ratio calculated by the enlargement / reduction ratio becomes larger than a predetermined value, it is adjusted and generated so that the gloss and / or shadow effect is suppressed. In addition, as the numerical value of the enlargement / reduction ratio becomes smaller than a predetermined value, it is generated by adjusting so that the gloss and / or shadow effect is enhanced. The gloss / shadow control unit 112 may be able to independently perform at least one of gloss suppression or enhancement control and at least one of shadow suppression or enhancement control, or perform control as a set. You may do it.

画像データ生成部113は、拡大縮小率に応じて画像データを拡大もしくは縮小して出力画像データを生成する。   The image data generation unit 113 generates output image data by enlarging or reducing the image data according to the enlargement / reduction ratio.

図1Bは、光沢/陰影制御部112の詳細な構成例を示す機能ブロック図である。図1Bに示すように、拡大縮小率算出部111からの出力を受けて法線ベクトルと光源ベクトルとの内積を演算する法線ベクトル/光源ベクトル内積演算部112−1と、演算結果に基づいて、領域の輝度値を求める内積結果判定部112−2と、判定結果に基づいて、光沢領域と陰影領域とを推定する光沢領域・陰影領域推定部112−3と、拡大縮小率算出部111からの出力を受けて、光沢領域・陰影領域の輝度を補正する光沢陰影領域輝度補正部112−4と、を有しており、その出力が、表示部103に送られる。
以上が第1の実施の形態によるシステム構成例の詳細である。
FIG. 1B is a functional block diagram illustrating a detailed configuration example of the gloss / shadow control unit 112. As shown in FIG. 1B, a normal vector / light source vector inner product calculation unit 112-1 that receives the output from the enlargement / reduction ratio calculation unit 111 and calculates the inner product of the normal vector and the light source vector, and based on the calculation result From the inner product result determination unit 112-2 for obtaining the luminance value of the region, the gloss region / shadow region estimation unit 112-3 for estimating the gloss region and the shadow region based on the determination result, and the enlargement / reduction ratio calculation unit 111 And a glossy shadow area luminance correction unit 112-4 that corrects the luminance of the glossy area / shadow area, and the output is sent to the display unit 103.
The above is the details of the system configuration example according to the first embodiment.

次に、第1の実施の形態による撮像部付き画像データ表示装置の動作について図2から図10までを用いて詳しく説明する。まず、被写体形状推定の動作について、図2と図3を用いて説明をする。図2は、入力画像データ(上図)と入力画像データの被写体形状を表す三次元ベクトルである法線ベクトルを入力データに重畳した図(下図)である。図3は法線ベクトルを説明する図である。   Next, the operation of the image data display device with an imaging unit according to the first embodiment will be described in detail with reference to FIGS. First, the subject shape estimation operation will be described with reference to FIGS. FIG. 2 is a diagram (bottom diagram) in which input image data (upper diagram) and a normal vector that is a three-dimensional vector representing a subject shape of the input image data are superimposed on the input data. FIG. 3 is a diagram for explaining a normal vector.

被写体形状推定部109は、画像データから、被写体表面の法線ベクトルを推定する。法線ベクトルとは、被写体表面の向きを表す単位ベクトルである。図2に示すように、被写体Hが平面の場合、法線ベクトルVは同じ向きであるが、被写体Hが球面の場合、法線ベクトルVの向きは異なる向きとなる。この法線ベクトル301は、図3に示すように、画像データの横方向をx軸、縦方向をy軸、奥行方向、すなわち撮像装置から被写体に向かう方向をz軸としたとき、xyz座標系において、法線ベクトルのx成分(nx)を符号302で、y成分(ny)を符号303で、z成分(nz)を符号304で示し、画素を符号305で、領域を符号306で示すと、ベクトル302、303、304の合成成分の三次元ベクトル301として表すことができる。   The subject shape estimation unit 109 estimates a normal vector of the subject surface from the image data. The normal vector is a unit vector representing the direction of the subject surface. As shown in FIG. 2, when the subject H is a plane, the normal vector V has the same direction, but when the subject H is a spherical surface, the normal vector V has a different direction. As shown in FIG. 3, the normal vector 301 has an xyz coordinate system when the horizontal direction of the image data is the x axis, the vertical direction is the y axis, and the depth direction, that is, the direction from the imaging device to the subject is the z axis. , The x component (nx) of the normal vector is denoted by reference numeral 302, the y component (ny) is denoted by reference numeral 303, the z component (nz) is denoted by reference numeral 304, the pixel is denoted by reference numeral 305, and the region is denoted by reference numeral 306. , Vectors 302, 303, and 304 can be represented as a three-dimensional vector 301.

画像データから法線ベクトルを推定する方法としては、対象とする座標とその近傍に存在する複数の座標とから導かれる近似的な平面の直交ベクトルを法線ベクトルとして推定する方法、物体の陰影を用いて推定する方法(R.Zhang, P.Tsai,J.Cryer,M.Shah,“Shape from Shading:A
Survey、IEEE Transactions on Pattern Analysis and Machine Intelligence,pp.690−706,1999参照)、被写体の画像データとその三次元形状が大量に格納されたデータベースをあらかじめ用意しておき、画像データとデータベース中の画像データとを照合することで推定する方法(T.Hassner、R.Basri、“Example Based 3D Reconstruction Single 2D
Images”, Conference on Computer Vision
and Pattern Recognition Workshop,pp,15−23,2006参照)等が知られており、上述した方法を用いてもよい。
As a method for estimating a normal vector from image data, a method of estimating an orthogonal vector of an approximate plane derived from a target coordinate and a plurality of coordinates existing in the vicinity thereof as a normal vector, an object shadow is calculated. Method of estimation using (R. Zhang, P. Tsai, J. Cryer, M. Shah, “Shape from Shading: A
Survey, IEEE Transactions on Pattern Analysis and Machine Intelligence, pp. 690-706, 1999), a method in which a database in which a large amount of image data of a subject and its three-dimensional shape are stored is prepared in advance, and the estimation is performed by comparing the image data with the image data in the database (T Hassner, R. Basri, “Example Based 3D Reconstruction Single 2D
Images ", Conference on Computer Vision
and Pattern Recognition Worksshop, pp, 15-23, 2006) and the like, and the method described above may be used.

以上により、法線ベクトルの推定がなされる。この法線ベクトルは画素ごとまたは領域ごとに算出される。算出された法線ベクトルをまとめて法線ベクトル情報とし、光源環境推定部110に出力する。   As described above, the normal vector is estimated. This normal vector is calculated for each pixel or region. The calculated normal vectors are collected as normal vector information and output to the light source environment estimation unit 110.

次に、光源環境推定部110における光源環境推定の動作について、図4と図5を用いて説明をする。図4は、光源ベクトルを説明する図である。図5は鏡面反射物体の場合の光源ベクトルと反射ベクトルとの関係を説明する図である。画像データと法線ベクトル情報に基づいて、被写体表面に入射する光の向き、すなわち光源ベクトルを推定する。光源ベクトルは、被写体表面に入射する光の向きを表す単位ベクトルである。   Next, the operation of light source environment estimation in the light source environment estimation unit 110 will be described with reference to FIGS. FIG. 4 is a diagram for explaining a light source vector. FIG. 5 is a diagram for explaining the relationship between the light source vector and the reflection vector in the case of a specular reflection object. Based on the image data and the normal vector information, the direction of light incident on the subject surface, that is, the light source vector is estimated. The light source vector is a unit vector representing the direction of light incident on the subject surface.

図4に示すように、光源ベクトルは、図3に示す法線ベクトルと同じ座標軸を用い、三次元ベクトル401として表す。光源ベクトルのx成分(l)を符号402で、y成分(l)を符号403で、z成分(l)を符号404で、画素を符号405で、領域を符号406で示すと、また、光源ベクトル401は、ベクトル402、403、404の合成ベクトルで表される。 As shown in FIG. 4, the light source vector is represented as a three-dimensional vector 401 using the same coordinate axis as the normal vector shown in FIG. The x component (l x ) of the light source vector is denoted by reference numeral 402, the y component (l y ) is denoted by reference numeral 403, the z component (l z ) is denoted by reference numeral 404, the pixel is denoted by reference numeral 405, and the region is denoted by reference numeral 406. The light source vector 401 is represented by a combined vector of vectors 402, 403, and 404.

画像データと法線ベクトル情報とから光源ベクトルを推定する方法は、図5に示すように被写体を鏡面反射物体(入射角度501と反射角度502が同じ)503と仮定し、入射光の向きを変えて各々生成された画像データと画像データの輝度情報を照合することにより、最も誤差の少なかった入射光の向きを光源ベクトルとして推定する方法や、画像データ中に観測される影の明度と、被写体の影の法線ベクトルからどの方向の光源が遮蔽されているかを考慮することで光源輝度が未知数となる連立方程式を導き出し、それを解くことで推定する方法(佐藤いまり、佐藤洋一、池内克史、“物体の陰影に基づく光源環境の推定”、情報処理学会論文誌、Vol.41、pp.31−40、2000参照)が知られており、上述した方法を用いてもよい。   As shown in FIG. 5, the method of estimating the light source vector from the image data and the normal vector information assumes that the subject is a specular reflection object (incident angle 501 and reflection angle 502 are the same) 503, and changes the direction of incident light. By comparing the generated image data with the luminance information of the image data, the direction of the incident light with the least error is estimated as the light source vector, the brightness of the shadow observed in the image data, the subject A method of deriving simultaneous equations in which the light source luminance is unknown by considering which direction the light source is shielded from the normal vector of the shadow of, and estimating it by solving it (Imari Sato, Yoichi Sato, Katsushi Ikeuchi , "Estimation of the light source environment based on the shadow of the object", Journal of Information Processing Society of Japan, Vol. 41, pp. 31-40, 2000) is known, and the method described above is used. It may be.

以上により光源ベクトルの算出がなされる。この光源ベクトルは画素ごとまたは領域ごとに算出される。算出された光源ベクトルをまとめて光源ベクトル情報として、光沢/陰影制御部112に出力する。   The light source vector is calculated as described above. This light source vector is calculated for each pixel or region. The calculated light source vectors are collectively output to the gloss / shadow control unit 112 as light source vector information.

次に、拡大縮小率算出処理の動作について図6を用いて説明をする。図6は、タッチパネルもしくはジェスチャ認識による拡大縮小指示の入力方法を説明する図である。入出力部108から入力される拡大縮小指示に基づき、画像データの拡大縮小率を算出する。拡大縮小率とは、画像データの一部を拡大もしくは縮小するときに、元の画像データの大きさと、拡大もしくは縮小後の画像データの大きさとの比を表す値である。例えば、拡大縮小率が1のとき、拡大縮小率に基づいて拡大もしくは縮小された画像データの大きさと元の画像データの大きさとは等しくなる。拡大縮小率が0.5のとき、拡大縮小率に基づいて拡大縮小後の画像データの大きさは、元画像の大きさに対し、0.5倍された大きさとなる。すなわち、2分の1に縮小された画像データが拡大縮小後の画像データとなる。拡大縮小率が3のとき、拡大縮小後の画像データの大きさは、元画像の大きさと比較して、3倍された大きさとなる。   Next, the operation of the enlargement / reduction ratio calculation process will be described with reference to FIG. FIG. 6 is a diagram for explaining an input method of an enlargement / reduction instruction by touch panel or gesture recognition. Based on the enlargement / reduction instruction input from the input / output unit 108, the enlargement / reduction ratio of the image data is calculated. The enlargement / reduction ratio is a value representing a ratio between the size of the original image data and the size of the image data after enlargement or reduction when a part of the image data is enlarged or reduced. For example, when the enlargement / reduction ratio is 1, the size of the image data enlarged or reduced based on the enlargement / reduction ratio is equal to the size of the original image data. When the enlargement / reduction ratio is 0.5, the size of the image data after enlargement / reduction based on the enlargement / reduction ratio is 0.5 times the size of the original image. That is, the image data reduced by a half becomes the image data after enlargement / reduction. When the enlargement / reduction ratio is 3, the size of the image data after enlargement / reduction is three times the size of the original image.

すなわち、拡大縮小率が1より大きければ画像は拡大され、1より小さければ画像は縮小されることになる。ここで、「画像の大きさ」とは、画像の縦画素数や横画素数、画像の対角線上の長さ等で表される値のことである。すなわち、対角線上の長さが長くなると、縦または横画素数も大きくなる。   That is, if the enlargement / reduction ratio is greater than 1, the image is enlarged, and if it is less than 1, the image is reduced. Here, the “image size” is a value represented by the number of vertical and horizontal pixels of the image, the length of the image on the diagonal line, and the like. That is, as the length on the diagonal increases, the number of vertical or horizontal pixels also increases.

拡大縮小指示の入力方法は、リモコン装置で拡大縮小率を数値で入力しても良いし、表示部またはリモコン装置に備えられているタッチパネルのピンチ操作で入力しても良いし、使用者の両手の動きからジェスチャを認識して入力しても良い。   As an input method of the enlargement / reduction instruction, the enlargement / reduction ratio may be input numerically with the remote control device, may be input with a pinch operation of a touch panel provided on the display unit or the remote control device, or both hands of the user. It is also possible to recognize and input a gesture from the movement of

リモコン装置で入力する場合、拡大縮小率Kを「1.2」や「0.2」などの数値で入力することができる。このとき、拡大縮小中心座標601を数値あるいは拡大対象となる画像データ上にポインタとして表示したり、拡大縮小範囲を枠で表示したりすると、ユーザが拡大縮小率を指定しやすくなるため好適である。また、拡大縮小中心座標も入力できるようにしておくと、拡大縮小率を変えずに拡大縮小位置だけを変えることができるため好適である。   When inputting with the remote control device, the enlargement / reduction ratio K can be input as a numerical value such as “1.2” or “0.2”. At this time, it is preferable to display the enlargement / reduction center coordinates 601 as a pointer on the numerical value or the image data to be enlarged, or to display the enlargement / reduction range with a frame because the user can easily specify the enlargement / reduction ratio. . Further, it is preferable that the enlargement / reduction center coordinates can also be input because only the enlargement / reduction position can be changed without changing the enlargement / reduction ratio.

タッチパネルを用いたピンチ操作の場合、ユーザは2本の指で画面を抑え、つまむように指を近づける場合、拡大縮小率Kを1以下に設定し、指を遠ざける場合、拡大縮小率Kを1以上に設定することができる。拡大縮小率Kの値は、2本の指の開始点602と603と終点604と605との比率から求める。また、拡大縮小中心座標601は、二本の指の開始点602と604が結ぶ直線の中点601とする。   In the case of a pinch operation using a touch panel, the user holds the screen with two fingers, sets the enlargement / reduction ratio K to 1 or less when the fingers are moved close together, and sets the enlargement / reduction ratio K to 1 when the finger is moved away. It can be set above. The value of the enlargement / reduction ratio K is obtained from the ratio between the start points 602 and 603 and the end points 604 and 605 of two fingers. The enlargement / reduction center coordinate 601 is a midpoint 601 of a straight line connecting the start points 602 and 604 of two fingers.

ジェスチャ操作の場合、左手と右手を用いて操作をし、左手と右手を近づける場合、拡大縮小率Kを1以下に設定し、遠ざける場合、拡大縮小率Kを1以上に設定する。Kの値は、左手の開始点603と右手の開始点602、左手の終点605と右手の終点604との比率から求める。拡大縮小中心座標601は、左手の開始点603と右手の開始点602とが結ぶ直線の中点601とする。以上により拡大縮小率の算出がなされる。   In the case of a gesture operation, the left hand and the right hand are used for the operation. When the left hand and the right hand are brought close to each other, the enlargement / reduction ratio K is set to 1 or less, and when it is moved away, the enlargement / reduction ratio K is set to 1 or more. The value of K is obtained from the ratio of the start point 603 of the left hand and the start point 602 of the right hand, and the end point 605 of the left hand and the end point 604 of the right hand. The enlargement / reduction center coordinate 601 is a midpoint 601 of a straight line connecting the start point 603 of the left hand and the start point 602 of the right hand. Thus, the enlargement / reduction ratio is calculated.

次に、光沢及び陰影制御の動作について図7を用いて説明をする。図7は、法線ベクトルと光源ベクトルとのなす角度を説明する図である。光沢/陰影制御部112は、例えば、法線ベクトル情報と光源ベクトル情報と拡大縮小率とに基づいて、拡大縮小率が1より大きくなるに従い、光沢及び陰影効果が抑制されるようにパラメータを調整し、拡大縮小率が1より小さくなるに従い、光沢及び陰影効果が強調されるようにパラメータを調整する。具体的には、画像データ中の光沢領域と陰影領域を推定し、拡大縮小率が1より大きくなる場合には光沢領域の輝度を低く、陰影領域の輝度を高くし、拡大縮小率が1より小さくなる場合には光沢領域の輝度を高く、陰影領域の輝度を低くする。   Next, the operation of gloss and shadow control will be described with reference to FIG. FIG. 7 is a diagram for explaining the angle formed between the normal vector and the light source vector. For example, the gloss / shadow control unit 112 adjusts parameters so that the gloss and shadow effects are suppressed as the scaling ratio becomes larger than 1, based on the normal vector information, the light source vector information, and the scaling ratio. Then, as the enlargement / reduction ratio becomes smaller than 1, the parameters are adjusted so that the gloss and shadow effects are enhanced. Specifically, the gloss area and shadow area in the image data are estimated, and when the enlargement / reduction ratio is greater than 1, the brightness of the gloss area is lowered, the brightness of the shadow area is increased, and the enlargement / reduction ratio is greater than 1. When it is smaller, the brightness of the glossy area is increased and the brightness of the shadow area is decreased.

まず、画像データ中の光沢領域と陰影領域を推定する方法について詳しく説明する。法線ベクトルN=(n、n、n)と光源ベクトルL=(l、l、l)との内積Iを以下の(式1)で算出する。このとき、光源ベクトルの向きを反転させ、光源ベクトルと始点を一致させる。 First, a method for estimating a glossy area and a shadow area in image data will be described in detail. The inner product I of the normal vector N = (n x , n y , n z ) and the light source vector L = (l x , l y , l z ) is calculated by the following (formula 1). At this time, the direction of the light source vector is reversed, and the light source vector and the start point are matched.

Figure 0006103942
Figure 0006103942

法線ベクトルNと光源ベクトルLは単位ベクトルであるため、(式1)で算出される内積Lは[−1、1]となる。図7に示すように、(a)内積が1に近いほど光源ベクトルと法線ベクトルとのなす角701が0度に近いことを表し、(b)0に近いほど光源ベクトルと法線ベクトルのなす角702が90度に近いことを表し、(c)−1に近いほど光源ベクトルと法線ベクトルとのなす角703が180度に近いことを表す。この内積演算結果に基づき、光源ベクトルと法線ベクトルとのなす角が0〜90度となる高輝度領域、すなわち内積の結果が0〜1となる高輝度領域を光沢領域と推定する。また、光源ベクトルと法線ベクトルとのなす角が90〜180度となる低輝度領域、すなわち内積の結果が−1〜0となる低輝度領域を陰影領域と推定する。   Since the normal vector N and the light source vector L are unit vectors, the inner product L calculated by (Equation 1) is [−1, 1]. As shown in FIG. 7, (a) the closer the inner product is to 1, the closer the angle 701 between the light source vector and the normal vector is to 0 degrees, and (b) the closer to 0, the light source vector and the normal vector. The angle 702 formed is closer to 90 degrees, and the closer to (c) −1, the closer the angle 703 formed between the light source vector and the normal vector is to 180 degrees. Based on the inner product calculation result, a high luminance region in which the angle between the light source vector and the normal vector is 0 to 90 degrees, that is, a high luminance region in which the inner product result is 0 to 1 is estimated as a glossy region. Further, a low luminance region where the angle between the light source vector and the normal vector is 90 to 180 degrees, that is, a low luminance region where the inner product is −1 to 0 is estimated as a shadow region.

画像データの高輝度領域と低輝度領域は、あらかじめ設定された所定の値により抽出しても良いし、画像データ中の輝度の分布に基づき、高輝度画素10%の領域を高輝度領域、低輝度画素15%の領域を低輝度領域というようにして抽出しても良い。
以上により、画像データ中の光沢領域と陰影領域の推定がなされる。
The high luminance region and the low luminance region of the image data may be extracted with a predetermined value set in advance, or based on the luminance distribution in the image data, the region of 10% of the high luminance pixel is the high luminance region and the low luminance region. An area of 15% luminance pixels may be extracted as a low luminance area.
As described above, the glossy area and the shadow area in the image data are estimated.

次に、拡大縮小率が1より大きい場合の光沢/陰影制御について詳しく説明する。図8に拡大縮小率と光沢/陰影制御の強調もしくは抑制制御との関係の一例を表したグラフである。図8に示すように、拡大縮小率が1より大きくなるに従い、光沢及び陰影の効果を抑制し、拡大縮小率が1より小さくなるに従い、光沢及び陰影の効果を強調するように制御する。そして、拡大縮小率の最大値Kmax801と最小値Kmin802との範囲内で、光沢及び陰影の効果を変更する。光沢及び陰影効果の変更は、図8において、線形関数803により行ってもよいし、非線形関数804、805によって行っても良い。ここでは、線形関数803により変更を行う場合の処理例を詳しく説明する。 Next, the gloss / shadow control when the enlargement / reduction ratio is greater than 1 will be described in detail. FIG. 8 is a graph showing an example of the relationship between the enlargement / reduction ratio and the enhancement or suppression control of gloss / shadow control. As shown in FIG. 8, control is performed such that the effect of gloss and shadow is suppressed as the enlargement / reduction ratio becomes larger than 1, and the effect of gloss and shadow is enhanced as the enlargement / reduction ratio becomes smaller than 1. Then, the effect of gloss and shadow is changed within the range of the maximum value K max 801 and the minimum value K min 802 of the enlargement / reduction ratio. The change of the gloss and shadow effect may be performed by the linear function 803 or the nonlinear functions 804 and 805 in FIG. Here, a processing example in the case of performing the change by the linear function 803 will be described in detail.

画像データの対象画素が有する輝度をV,光沢及び陰影制御後の画像データの対象画素が有する輝度をVo、対象画素が有する内積Lと周辺画素が有する内積Lの差が所定の値以下である周辺画素が有する輝度Vとの差の絶対値をVsub(L)=|V−V|とすると、光沢領域の場合は(式2)を、陰影領域の場合は(式3)を用いて、光沢及び陰影領域の輝度を補正する。 The luminance of the target pixel of the image data is V i , the luminance of the target pixel of the image data after gloss and shadow control is V o, and the difference between the inner product L of the target pixel and the inner product L of the surrounding pixels is equal to or less than a predetermined value Assuming that the absolute value of the difference from the luminance V s of the surrounding pixels is V sub (L) = | V i −V s |, (Equation 2) is used for a glossy area, and (Equation 2) is used for a shadow area. 3) is used to correct the brightness of the gloss and shadow areas.

Figure 0006103942
Figure 0006103942

輝度Vは、対象画素が有する内積Lと周辺画素が有する内積Lの差が所定の値以下である周辺画素の輝度値の平均値とする。以上により、拡大縮小率が1より大きい場合の光沢及び陰影制御がなされる。次に、拡大縮小率が1より小さい場合の光沢及び陰影制御について詳しく説明する。光沢領域の場合は(式3)を用いて、陰影領域の場合は(式2)を用いて、光沢/陰影領域の輝度を補正する。以上により、拡大縮小率が1より小さい場合の光沢/陰影制御処理がなされる。 The luminance V s is an average value of luminance values of peripheral pixels in which the difference between the inner product L of the target pixel and the inner product L of the peripheral pixel is equal to or less than a predetermined value. As described above, gloss and shadow control when the enlargement / reduction ratio is greater than 1 are performed. Next, gloss and shadow control when the enlargement / reduction ratio is smaller than 1 will be described in detail. The luminance of the gloss / shadow area is corrected using (Equation 3) for the glossy area and (Equation 2) for the shadow area. As described above, the gloss / shadow control process when the enlargement / reduction ratio is smaller than 1 is performed.

最後に、画像データ生成の動作について図9及び図10を用いて説明をする。図9は、拡大縮小率が1以上のときの、光沢/陰影効果の変更結果を説明する図である。図10は、拡大縮小率が1以下のときの、光沢/陰影効果の変更結果を説明する図である。   Finally, the image data generation operation will be described with reference to FIGS. FIG. 9 is a diagram for explaining the change result of the gloss / shadow effect when the enlargement / reduction ratio is 1 or more. FIG. 10 is a diagram for explaining the change result of the gloss / shadow effect when the enlargement / reduction ratio is 1 or less.

図9を参照して、まず、拡大縮小率が1以上のときの画像データ生成部113の動作を詳しく説明する。画像データ生成部113は、図9において入力画像データ901上の拡大縮小中心座標902と拡大縮小率Kとを用いて、光沢/陰影制御後の画像データ903を拡大する。画像データから拡大範囲904を切り出し、その拡大範囲をK倍し、拡大画像データ905を出力する。   With reference to FIG. 9, first, the operation of the image data generation unit 113 when the enlargement / reduction ratio is 1 or more will be described in detail. The image data generation unit 113 uses the enlargement / reduction center coordinates 902 and the enlargement / reduction ratio K on the input image data 901 in FIG. 9 to enlarge the image data 903 after the gloss / shadow control. An enlarged range 904 is cut out from the image data, the enlarged range is multiplied by K, and enlarged image data 905 is output.

図10を参照して、次に、拡大縮小率が1以下のときの画像データ生成部113の動作を詳しく説明する。画像データ生成部113は、図10において入力画像データ1001上の縮小中心座標1002と拡大縮小率Kとを用いて、光沢/陰影制御後の画像データ1003を縮小する。画像データから縮小範囲1003を切り出し、その縮小範囲をK倍し、縮小画像データ1004を出力する。画像データを縮小することで画角外領域1005が表れた場合は、画角外領域に黒色を表示する方法や、画像データ端を引き延ばす方法、画像データ端付近領域を折り返して表示する方法を用いて、画角外領域の補間を行う。   Next, the operation of the image data generation unit 113 when the enlargement / reduction ratio is 1 or less will be described in detail with reference to FIG. The image data generation unit 113 reduces the image data 1003 after the gloss / shadow control using the reduction center coordinates 1002 and the enlargement / reduction ratio K on the input image data 1001 in FIG. A reduced range 1003 is cut out from the image data, the reduced range is multiplied by K, and reduced image data 1004 is output. When the non-viewing area 1005 appears by reducing the image data, a method of displaying black in the non-viewing area, a method of extending the image data edge, or a method of displaying the area near the image data by folding back is used. To interpolate the area outside the angle of view.

以下、上記第1の実施の形態によるデータ処理動作の流れを図11に示すフローチャート図を用いて説明をする。   The flow of the data processing operation according to the first embodiment will be described below with reference to the flowchart shown in FIG.

まず、処理を開始し(START)、ステップS1101において、画像データ処理装置102は、撮像部104や送受信部105等から撮像画像データを取り込む。次に、ステップS1102において、被写体形状推定部109が、撮像画像データから被写体の法線ベクトルを推定する。例えば、1枚の画像から得られる2次元情報から、陰影分布解析やデータベース照合を用いて、3次元形状を推定する手法は公知である。次に、ステップS1103において、光源環境推定部110が、画像データと法線ベクトル情報とを用いて光源ベクトルを推定する。次に、ステップS1104において、画像データ処理装置102は、入出力部108から拡大指示情報を取り込む。次に、ステップS1105において、拡大縮小率算出部111が、拡大指示情報を用いて、画像データの拡大縮小率を算出する。次に、ステップS1106において、法線ベクトル情報と光源ベクトル情報と拡大縮小率とに基づいて、画像データの輝度補正を行う。   First, processing is started (START), and in step S1101, the image data processing apparatus 102 captures captured image data from the imaging unit 104, the transmission / reception unit 105, and the like. Next, in step S1102, the subject shape estimation unit 109 estimates the normal vector of the subject from the captured image data. For example, a technique for estimating a three-dimensional shape from two-dimensional information obtained from one image using shadow distribution analysis or database collation is known. Next, in step S1103, the light source environment estimation unit 110 estimates a light source vector using image data and normal vector information. In step S <b> 1104, the image data processing apparatus 102 captures enlargement instruction information from the input / output unit 108. In step S1105, the enlargement / reduction ratio calculation unit 111 calculates the enlargement / reduction ratio of the image data using the enlargement instruction information. In step S1106, the luminance correction of the image data is performed based on the normal vector information, the light source vector information, and the enlargement / reduction ratio.

具体的には、拡大縮小率が所定の値より大きければ、光沢/陰影制御部112は画像データの光沢/陰影を抑制する処理を行う。拡大縮小率が所定の値より小さければ、光沢/陰影制御部は画像データの光沢/陰影を強調する処理を行う。次に、ステップS1107において、画像データ生成部113が拡大縮小率を用いて、光沢及び陰影制御後の画像データを拡大もしくは縮小した画像データを生成する。   Specifically, if the enlargement / reduction ratio is larger than a predetermined value, the gloss / shadow control unit 112 performs processing to suppress the gloss / shadow of the image data. If the enlargement / reduction ratio is smaller than a predetermined value, the gloss / shadow control unit performs a process of enhancing the gloss / shadow of the image data. In step S1107, the image data generation unit 113 generates image data obtained by enlarging or reducing the image data after the gloss and shadow control using the enlargement / reduction ratio.

より詳細には、光沢/陰影制御部112は、図1Bの各機能部が上記のように機能している。そして、ステップS1108において、画像データ生成部113が生成した画像データを表示部に出力する。以上のようにして、第1の実施の形態による画像データ表示装置100は動作する。   More specifically, in the gloss / shadow control unit 112, each functional unit in FIG. 1B functions as described above. In step S1108, the image data generated by the image data generation unit 113 is output to the display unit. As described above, the image data display apparatus 100 according to the first embodiment operates.

本実施の形態では、画像データ生成部113から出力された拡大画像データを、表示装置の画面全体に表示したが、図12に示すように、入力画像データ上に拡大画像データ1201を重畳して表示するようにしても良いし、入力画像データを縮小して空いたスペースに拡大画像データ1202を表示するようにしても良い。このとき、入力画像データの拡大率に応じて、入力画像データ全体の縮小率を算出し、縮小率に応じて入力画像データの光沢/陰影を強調すると、拡大画像データと縮小された入力画像データともに適切な効果を付与できるため好適である。さらに、化粧する様子を撮像する際に、拡大された画像データと、縮小された画像データと、化粧手順などが記されたメニュー画面(1203)とを同時に表示すると、ユーザが化粧手順を確認しながら目元や唇等の細かな領域を拡大された画像データで、全体的な雰囲気を縮小された画像データで確認しながら手順を進めていくこともできるため、画像処理の適用対象として好適である。或いは、模型の作製手順、手術などを含む変化の様子を見ながら手順を進めていくことも簡単になる。   In this embodiment, the enlarged image data output from the image data generation unit 113 is displayed on the entire screen of the display device. However, as shown in FIG. 12, the enlarged image data 1201 is superimposed on the input image data. It may be displayed, or the input image data may be reduced and the enlarged image data 1202 may be displayed in an empty space. At this time, when the reduction ratio of the entire input image data is calculated according to the enlargement ratio of the input image data and the gloss / shade of the input image data is emphasized according to the reduction ratio, the enlarged image data and the reduced input image data are Both are suitable because appropriate effects can be imparted. Furthermore, when imaging the state of makeup, when the enlarged image data, the reduced image data, and the menu screen (1203) on which the makeup procedure is described are displayed at the same time, the user confirms the makeup procedure. However, it is possible to proceed with the procedure while confirming the overall atmosphere with the reduced image data with the enlarged image data such as the eyes and lips. . Alternatively, it is also easy to proceed with the procedure while looking at the state of change, including the model production procedure and surgery.

本実施の形態では、画像データ表示装置100が有する画像データ処理装置102で生成された画像データを表示部103に表示したが、画像データ処理装置102を有する他の画像データ表示装置で生成された画像データを送受信部105において受信し、表示部103に表示するような構成としてもよい。この構成によれば、送受信部105を介して遠隔地とのテレビ会議やビデオチャット等の画像データ処理が可能になるため好適である。   In the present embodiment, the image data generated by the image data processing device 102 included in the image data display device 100 is displayed on the display unit 103, but is generated by another image data display device including the image data processing device 102. The image data may be received by the transmission / reception unit 105 and displayed on the display unit 103. This configuration is preferable because image data processing such as a video conference and video chat with a remote place can be performed via the transmission / reception unit 105.

本実施の形態では、拡大縮小率算出部111において、画像データの拡大したい領域の右上隅602と左下隅603のポイントを指定する例を説明したが、左上隅と右下隅のピントを指定する方法でも同様の効果を得ることができる。もちろん。全体の領域を引き延ばすようにしても良い。   In the present embodiment, the example in which the enlargement / reduction ratio calculation unit 111 designates the upper right corner 602 and the lower left corner 603 of the area to be enlarged of the image data has been described, but the method of designating the upper left corner and the lower right corner focus However, the same effect can be obtained. of course. You may make it extend the whole area | region.

上述した本実施の形態による画像データ処理装置を備える画像データ表示装置によれば、被写体の拡大縮小率に応じて適切に光沢/陰影制御を施した拡大画像データを表示することができる。   According to the image data display device including the image data processing device according to the present embodiment described above, it is possible to display enlarged image data appropriately subjected to gloss / shadow control according to the enlargement / reduction ratio of the subject.

従って、デジタル画像をデジタルズームにより拡大縮小した場合においても、あたかも光学ズームで拡大縮小した場合と同様の質感を付与することができる。例えば、化粧の確認をする場合などの繊細な画像をデジタル処理で確認することができる。また、ズームレンズなどの光学的な機構を簡単にできるため、コストを削減することができるという利点がある。   Therefore, even when a digital image is enlarged / reduced by digital zoom, the same texture as when enlarged / reduced by optical zoom can be provided. For example, a delicate image such as when confirming makeup can be confirmed by digital processing. Further, since an optical mechanism such as a zoom lens can be simplified, there is an advantage that the cost can be reduced.

<第2の実施の形態>
次に、本発明の第2の実施の形態による画像データ表示装置の構成について、図13Aを用いて説明する。図13Aにおいて、図1と同じ構成要素には同じ番号を付しており、これらの構成要素は図1の実施の形態と同じ処理を行うため説明を省略する。
<Second Embodiment>
Next, the configuration of the image data display device according to the second embodiment of the present invention will be described with reference to FIG. 13A. In FIG. 13A, the same reference numerals are given to the same components as those in FIG. 1, and these components perform the same processing as in the embodiment of FIG.

本実施の形態と第1の実施の形態との違いは、本実施の形態では、表示の傾きを検出する傾き角検出部1301を備えた構成になっていることである。動作は第1実施の形態とほぼ同様で、表示部103を備える表示装置の傾きを画像データの拡大縮小率に変換し、画像データ生成部113において拡大縮小処理を施さないことで、表示装置の傾き角に応じた適切な光沢/陰影制御が可能となる。第1実施の形態では、画像データの一部分を拡大したり、縮小したりしたが、第2実施の形態では画像データ中のx軸あるいはy軸の位置に応じて画像データの傾きに基づく拡大縮小を推定して光沢/陰影制御を行う。   The difference between the present embodiment and the first embodiment is that the present embodiment includes a tilt angle detector 1301 that detects the tilt of the display. The operation is almost the same as in the first embodiment, and the inclination of the display device including the display unit 103 is converted into the enlargement / reduction rate of the image data, and the image data generation unit 113 does not perform the enlargement / reduction processing, thereby Appropriate gloss / shadow control according to the tilt angle becomes possible. In the first embodiment, a part of the image data is enlarged or reduced. In the second embodiment, enlargement / reduction based on the inclination of the image data according to the position of the x-axis or the y-axis in the image data. Gloss / shadow control is performed by estimating.

以下に、光沢/陰影制御の概要を説明する。図14に示すように画像データ表示装置1401が表示装置中心1402は大きく移動せずに傾いた(回動した)状態1403であるとき、画像データと視聴者との位置が近づく領域1404と、画像データを視聴者の位置が遠ざかる領域1405とが生じる。画像データと視聴者の位置が近づく領域1404は、画像データが拡大されたとみなすことができ、光沢/陰影制御を抑制する。また、画像データと視聴者の位置が遠ざかる領域1405は、画像データが縮小されたとみなすことができ、光沢/陰影制御を強調する。   The outline of gloss / shadow control will be described below. As shown in FIG. 14, when the image data display device 1401 is in a tilted (rotated) state 1403 without moving the display device center 1402 greatly, a region 1404 where the position of the image data and the viewer approaches, and the image An area 1405 in which the viewer moves away from the data is generated. A region 1404 in which the image data and the viewer's position are close can be regarded as an enlargement of the image data, and the gloss / shadow control is suppressed. Further, an area 1405 where the image data and the viewer's position move away from each other can be regarded as the image data being reduced, and the gloss / shadow control is emphasized.

図13Bは、光沢/陰影制御部112の一構成例を示す機能ブロック図である。第1の実施の形態の図1Bとの相違点は、図1Bの拡大縮小率算出部111に代えて、図13Bでは、傾き角検出部1301と、検出結果である傾き角を入力とし、領域毎の拡大縮小率に変換する拡大縮小率変換部111aを設けた点である。   FIG. 13B is a functional block diagram illustrating a configuration example of the gloss / shadow control unit 112. The difference from FIG. 1B of the first embodiment is that, instead of the enlargement / reduction ratio calculation unit 111 of FIG. 1B, in FIG. 13B, an inclination angle detection unit 1301 and an inclination angle as a detection result are input. An enlargement / reduction rate conversion unit 111a is provided for converting each enlargement / reduction rate.

すなわち、第2の実施の形態では、画像データ処理装置102が傾き角検出部1301から出力される傾き角を取得し、拡大縮小率算出部111において傾き角を拡大縮小率に変換する。傾き角検出部1301は、画像データ表示装置(表示部)103のオイラー角情報を検出するオイラー角情報検出部1301−1を有する。オイラー角情報検出部1301−1が検出するオイラー角情報は、図15に示すように、表示装置のロール角1501、ピッチ角1502、ヨ−角1503で構成される。表示装置の縦向きのディスプレイ画面を正面から見る視点において、ロール角は表示装置のデバイス上部から下部方向への垂直方向の軸を中心とした回転角度、ピッチ角は表示装置のデバイス左右を通る水平の軸を中心とした回転角度、ピッチ角は表示装置のデバイス左右を通る水平方向の軸を中心とした回転角度、ヨ−角は表示装置のデバイス前面から背面へと通る軸を中心とした回転角度を表している。基本となる姿勢は表示装置のデバイス前面が上を向いた状態でデバイスと地面が水平になっている状態、つまり画面を上にして机などに置いた状態で、このときロール角とピッチ角の測定値が0付近を示す。ヨ−角については磁北や真北を0として設定する。   In other words, in the second embodiment, the image data processing apparatus 102 acquires the inclination angle output from the inclination angle detection unit 1301, and the enlargement / reduction ratio calculation unit 111 converts the inclination angle into an enlargement / reduction ratio. The tilt angle detection unit 1301 includes an Euler angle information detection unit 1301-1 that detects Euler angle information of the image data display device (display unit) 103. The Euler angle information detected by the Euler angle information detection unit 1301-1 includes a roll angle 1501, a pitch angle 1502, and a yaw angle 1503 of the display device as shown in FIG. From the viewpoint of viewing the display screen in the vertical direction from the front, the roll angle is the rotation angle around the vertical axis from the upper part to the lower part of the display device, and the pitch angle is horizontal across the left and right devices of the display device The rotation angle and pitch angle around the axis of the display device is the rotation angle around the horizontal axis passing through the left and right of the display device, and the yaw angle is the rotation around the axis passing from the front to the back of the display device It represents an angle. The basic posture is that the device front of the display device is facing up and the device and the ground are horizontal, that is, the screen is placed on a desk or the like with the roll angle and pitch angle The measured value shows around 0. For the yaw angle, magnetic north and true north are set to zero.

図16は画像データ表示装置を横から見た図である。図16は、表示装置のロール角が0度1601、ロール角が正の値1602、ロール角が負の値1603を表す。図17は画像データ表示装置を上から見た図である。図17は、ピッチ角が0度1701、ピッチ角が正の値1702、ピッチ角が負の値1703を表す。傾き角検出は継続的に行われ、検出された傾き角は電気信号として拡大縮小率算出部111へと出力される。   FIG. 16 is a side view of the image data display device. FIG. 16 shows a roll angle of the display device of 0 degree 1601, a roll angle having a positive value 1602, and a roll angle having a negative value 1603. FIG. 17 is a top view of the image data display device. FIG. 17 shows a pitch angle of 0 degrees 1701, a pitch angle having a positive value 1702, and a pitch angle having a negative value 1703. The tilt angle is continuously detected, and the detected tilt angle is output to the enlargement / reduction ratio calculation unit 111 as an electrical signal.

拡大縮小率算出部111のロール角/ピッチ角拡大縮小率変換部111−1では、ロール角φ、ピッチ角θを拡大縮小率に変換する。まず、ロール角がピッチ角よりも大きく(|φ|>|θ|)、ロール角が正の値の場合について詳しく説明する。この場合、(式4)を用いて拡大縮小率Kを算出する。拡大縮小率はy軸の位置に応じて変化する。   The roll angle / pitch angle enlargement / reduction rate conversion unit 111-1 of the enlargement / reduction rate calculation unit 111 converts the roll angle φ and the pitch angle θ into an enlargement / reduction rate. First, the case where the roll angle is larger than the pitch angle (| φ |> | θ |) and the roll angle is a positive value will be described in detail. In this case, the enlargement / reduction ratio K is calculated using (Equation 4). The enlargement / reduction ratio changes according to the position of the y-axis.

Figure 0006103942
Figure 0006103942

ここで、画像データの縦解像度をH、画像中のy軸上の位置をyとする。また、拡大縮小率の最大値Kmaxと最小値Kminは、ロール角の値を用いて、(式5)と(式6)を用いて各々求める。 Here, the vertical resolution of the image data is H, and the position on the y-axis in the image is y. Further, the maximum value K max and the minimum value K min of the enlargement / reduction ratio are obtained using (Equation 5) and (Equation 6), respectively, using the roll angle value.

Figure 0006103942
Figure 0006103942

ここで、ロール角の最大値をφmaxとする。ロール角の角度が大きくなるほど、拡大縮小率の最大値が大きく、最小値が小さくなり、光沢/陰影制御の効果が大きくなる。すなわち、ロール角が正の値の場合、y軸上の位置が2/Hよりも小さい画素は、視聴者に近づいている、すなわち拡大されたとみなし、拡大縮小率Kを1以上に設定する。また、y軸上の位置が2/Hよりも大きい画素は、視聴者から遠ざかっている、すなわち縮小されたとみなし、拡大縮小率Kを1以下に設定する。以上により、ロール角がピッチ角よりも大きく(|φ|>|θ|)、ロール角が正の値の場合の拡大縮小率Kが算出される。 Here, the maximum value of the roll angle is φ max . As the roll angle increases, the maximum value of the enlargement / reduction ratio increases, the minimum value decreases, and the effect of gloss / shadow control increases. That is, when the roll angle is a positive value, a pixel whose position on the y-axis is smaller than 2 / H is regarded as approaching the viewer, that is, enlarged, and the enlargement / reduction ratio K is set to 1 or more. Further, a pixel whose position on the y axis is larger than 2 / H is regarded as being away from the viewer, that is, reduced, and the enlargement / reduction ratio K is set to 1 or less. As described above, the enlargement / reduction ratio K when the roll angle is larger than the pitch angle (| φ |> | θ |) and the roll angle is a positive value is calculated.

次に、ロール角がピッチ角よりも大きく(|φ|>|θ|)、ロール角が負の値の場合について詳しく説明する。この場合、(式7)を用いて拡大縮小率Kを算出する。   Next, the case where the roll angle is larger than the pitch angle (| φ |> | θ |) and the roll angle is a negative value will be described in detail. In this case, the enlargement / reduction ratio K is calculated using (Equation 7).

Figure 0006103942
Figure 0006103942

拡大縮小率の最大値Kmaxと最小値Kminは、(式5)と(式6)により算出する。以上により、ロール角がピッチ角よりも大きく(|φ|>|θ|)、ロール角が負の値の場合の拡大縮小率Kが算出される。 The maximum value K max and the minimum value K min of the enlargement / reduction ratio are calculated by (Expression 5) and (Expression 6). As described above, the enlargement / reduction ratio K when the roll angle is larger than the pitch angle (| φ |> | θ |) and the roll angle is a negative value is calculated.

次に、ロール角がピッチ角よりも小さく(|φ|<|θ|)、ピッチ角が正の値の場合について詳しく説明する。この場合、(式8)を用いて拡大縮小率を算出する。拡大縮小率Kはx軸の位置に応じて変化する。   Next, the case where the roll angle is smaller than the pitch angle (| φ | <| θ |) and the pitch angle is a positive value will be described in detail. In this case, the enlargement / reduction ratio is calculated using (Equation 8). The enlargement / reduction ratio K changes according to the position of the x-axis.

Figure 0006103942
Figure 0006103942

ここで、画像データの横解像度をW、画像中のx軸上の位置をxとする。また、拡大縮小率の最大値Kmaxと最小値Kminは、ピッチ角の値を用いて、(式9)と(式10)を用いて各々求める。 Here, the horizontal resolution of the image data is W, and the position on the x-axis in the image is x. Further, the maximum value K max and the minimum value K min of the enlargement / reduction ratio are obtained using (Equation 9) and (Equation 10), respectively, using the pitch angle value.

Figure 0006103942
Figure 0006103942

ここで、ピッチ角の最大値をθmaxとする。ピッチ角の角度が大きくなるほど、拡大縮小率の最大値が大きく、最小値が小さくなり、光沢及び陰影制御の効果が大きくなる。すなわち、ピッチ角が正の値の場合、x軸上の位置がW/2よりも大きい画素は、視聴者に近づいている、すなわち拡大されたとみなし、拡大縮小率Kを1以上に設定する。また、x軸上の位置が2/Hよりも小さい画素は、視聴者から遠ざかっている、すなわち縮小されたとみなし、拡大縮小率を1以下に設定する。以上により、ロール角がピッチ角よりも小さく(|φ|<|θ|)、ピッチ角が正の値の場合の拡大縮小率Kが算出される。 Here, the maximum value of the pitch angle is θ max . As the pitch angle increases, the maximum value of the enlargement / reduction ratio increases, the minimum value decreases, and the effect of gloss and shadow control increases. That is, when the pitch angle is a positive value, a pixel whose position on the x-axis is larger than W / 2 is considered to be close to the viewer, that is, enlarged, and the enlargement / reduction ratio K is set to 1 or more. Further, a pixel whose position on the x-axis is smaller than 2 / H is regarded as being away from the viewer, that is, reduced, and the enlargement / reduction ratio is set to 1 or less. As described above, the enlargement / reduction ratio K when the roll angle is smaller than the pitch angle (| φ | <| θ |) and the pitch angle is a positive value is calculated.

次に、ロール角がピッチ角よりも小さく(|φ|<|θ|)、ピッチ角が負の値の場合について詳しく説明する。この場合、(式11)を用いて拡大縮小率を算出する。   Next, the case where the roll angle is smaller than the pitch angle (| φ | <| θ |) and the pitch angle is a negative value will be described in detail. In this case, the enlargement / reduction ratio is calculated using (Equation 11).

Figure 0006103942
拡大縮小率の最大値Kmaxと最小値Kminは、(式9)と(式10)により算出する。
Figure 0006103942
The maximum value K max and the minimum value K min of the enlargement / reduction ratio are calculated by (Expression 9) and (Expression 10).

以上により、ロール角がピッチ角よりも小さく(|φ|<|θ|)、ピッチ角が負の値の場合の拡大縮小率Kが算出される。以上により、傾き角を拡大縮小率に変換する。このように表示装置が傾くことにより、視聴者に近づいている、すなわち拡大されているとみなされた領域は光沢/陰影を抑制し、視聴者から遠ざかっている、すなわち縮小されているとみなされる領域は、光沢/陰影を強調することで、好適な光沢及び陰影処理を行うことができる。   As described above, the enlargement / reduction ratio K when the roll angle is smaller than the pitch angle (| φ | <| θ |) and the pitch angle is a negative value is calculated. As described above, the tilt angle is converted into the enlargement / reduction ratio. By tilting the display device in this way, the area that is considered to be closer to the viewer, i.e., enlarged, is considered to suppress gloss / shade and away from the viewer, i.e., reduced. The area can be subjected to suitable gloss and shadow processing by enhancing the gloss / shade.

画像データ生成部113では、光沢/陰影制御後の画像データをそのまま表示部103に出力する。   The image data generation unit 113 outputs the image data after the gloss / shadow control to the display unit 103 as it is.

本実施の形態における傾き角検出部1301は、傾きセンサーによって傾き角を取得したが、加速度センサーから得られる画像データ表示装置100のα、β、γ方向の加速度を検出し、検出された加速度を画像データ表示装置100のオイラー角に変換することで算出しても良い。   The tilt angle detection unit 1301 in this embodiment acquires the tilt angle by the tilt sensor, but detects the accelerations in the α, β, and γ directions of the image data display device 100 obtained from the acceleration sensor, and uses the detected accelerations. You may calculate by converting into the Euler angle of the image data display apparatus 100. FIG.

以上のように、画像データ処理装置102を備えた画像データ表示装置100によれば、表示装置の傾き角を拡大縮小率に変換し、変換した拡大縮小率に応じて適切な光沢及び陰影処理を行うことができる。   As described above, according to the image data display device 100 including the image data processing device 102, the inclination angle of the display device is converted into an enlargement / reduction ratio, and appropriate gloss and shadow processing is performed according to the converted enlargement / reduction ratio. It can be carried out.

なお、本発明は、上述した実施の形態によって限定的に解釈されるものではなく、特許請求の範囲に記載した事項の範囲内で、種々の変更が可能であり本発明の技術的範囲に含まれる。
尚、本発明の各構成要素は、任意に取捨選択が可能である。
Note that the present invention is not construed as being limited by the above-described embodiments, and various modifications are possible within the scope of the matters described in the claims, and are included in the technical scope of the present invention. It is.
Each component of the present invention can be arbitrarily selected.

本発明による画像データ処理装置で動作するプログラムは、本発明に関わる上記実施例の機能を実現するように、CPU等を制御するプログラム(コンピュータを機能させるプログラム)であっても良い。そして、これら装置で取り扱われる情報は、その処理時に一時的にRAM(Random Access Memory)に蓄積され、その後、ROM(Read Only Memory)などの各種ROMやHDDに格納され、必要に応じてCPUによって読み出し、修正・書き込みが行われる。   The program that operates in the image data processing apparatus according to the present invention may be a program that controls a CPU or the like (a program that causes a computer to function) so as to realize the functions of the above-described embodiments relating to the present invention. Information handled by these devices is temporarily accumulated in a RAM (Random Access Memory) during the processing, and then stored in various ROMs and HDDs such as a ROM (Read Only Memory), and as required by the CPU. Reading, correction and writing are performed.

また、図1の各構成の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、CPUなどが実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OS(Operating System)や周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。   1 is recorded on a computer-readable recording medium, the program recorded on the recording medium is read into a computer system, and executed by a CPU or the like. You may perform the process of. Here, the “computer system” includes hardware such as an OS (Operating System) and peripheral devices. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included.

また、上述した実施例における画像データ処理装置の一部、または全部を典型的には集積回路であるLSIとして実現してもよい。画像データ処理装置の各機能ブロックは個別にチップ化してもよいし、一部、または全部を集積してチップ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、または汎用プロセッサで実現しても良い。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いることも可能である。   Further, part or all of the image data processing apparatus in the above-described embodiments may be realized as an LSI that is typically an integrated circuit. Each functional block of the image data processing apparatus may be individually chipped, or a part or all of them may be integrated into a chip. Further, the method of circuit integration is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. In addition, when an integrated circuit technology that replaces LSI appears due to progress in semiconductor technology, an integrated circuit based on the technology can also be used.

また、上述の実施例において、制御線や情報線は、説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。全ての構成が相互に接続されていてもよい。   Further, in the above-described embodiments, the control lines and information lines indicate what is considered necessary for the explanation, and do not necessarily indicate all the control lines and information lines on the product. All the components may be connected to each other.

(付記)
本発明は、以下の開示を含む。
(1)
画像データの拡大縮小指示を取得し、前記拡大縮小指示から前記画像データの拡大縮小率を算出する拡大縮小率算出部と、前記拡大縮小率に基づいて前記画像データの一部画像データを拡大または縮小する画像データ生成部と、を備える画像データ処理装置であって、
前記画像データから被写体表面の三次元形状を取得する被写体形状推定部と、
前記画像データと、前記三次元形状とに基づいて、被写体表面の光源からの入射光情報を取得する光源環境推定部と、
前記三次元形状と、前記入射光情報と、前記拡大縮小率とに基づいて、前記画像データの高輝度領域又は低輝度領域の少なくともいずれか一方の輝度値を制御する光沢/陰影制御部と、を備え、
前記光沢/陰影制御部は、
前記拡大縮小率に応じて、前記画像データの高輝度領域又は低輝度領域の少なくともいずれか一方の領域を強調または抑制する輝度補正を行う光沢/陰影輝度補正部を有することを特徴とする画像データ処理装置。
(2)
前記光沢/陰影制御部は、
前記拡大縮小率が1以上のとき、前記画像データの高輝度領域及び低輝度領域を強調する輝度補正を行い、
前記拡大縮小率が1以下のとき、前記画像データの高輝度領域及び低輝度領域を抑制する輝度補正を行うことを特徴とする(1)に記載の画像データ処理装置。
画像データの拡大縮小率に応じて、適切な画像の光沢及び陰影制御を行うことができる。
(Appendix)
The present invention includes the following disclosure.
(1)
An enlargement / reduction ratio calculation unit that acquires an enlargement / reduction instruction of image data and calculates an enlargement / reduction ratio of the image data from the enlargement / reduction instruction, and enlarges or reduces a part of the image data of the image data based on the enlargement / reduction ratio An image data processing device comprising:
A subject shape estimation unit that acquires a three-dimensional shape of the subject surface from the image data;
A light source environment estimation unit that acquires incident light information from a light source on the surface of the subject based on the image data and the three-dimensional shape;
A gloss / shadow control unit for controlling a luminance value of at least one of a high luminance region and a low luminance region of the image data based on the three-dimensional shape, the incident light information, and the enlargement / reduction ratio; With
The gloss / shadow control unit
Image data comprising a gloss / shadow luminance correction unit that performs luminance correction that emphasizes or suppresses at least one of a high luminance region and a low luminance region of the image data in accordance with the enlargement / reduction ratio. Processing equipment.
(2)
The gloss / shadow control unit
When the enlargement / reduction ratio is equal to or greater than 1, brightness correction is performed to emphasize the high brightness area and the low brightness area of the image data,
The image data processing apparatus according to (1), wherein when the enlargement / reduction ratio is 1 or less, luminance correction is performed to suppress a high luminance region and a low luminance region of the image data.
Appropriate gloss and shadow control of the image can be performed according to the enlargement / reduction ratio of the image data.

(3)
前記光沢/陰影制御部は、
前記拡大縮小率算出部からの出力を受けて法線ベクトルと光源ベクトルとの内積を演算する法線ベクトル/光源ベクトル内積演算部と、
前記法線ベクトル/光源ベクトル内積演算部の演算結果に基づいて、輝度値を求める内積結果判定部と、
前記内積結果判定部の判定結果に基づいて、光沢領域と陰影領域とを推定する光沢領域・陰影領域推定部と、
前記拡大縮小率算出部からの出力を受けて、光沢領域/陰影領域の輝度を補正する光沢陰影領域輝度補正部と、を有することを特徴とする(1)又は(2)に記載の画像データ処理装置。
(4)
前記画像データ生成部は、
前記拡大縮小率が1以上のとき、前記画像データ全体の縮小率を算出し、
前記拡大縮小率に基づいて前記画像データの高輝度領域又は低輝度領域の少なくともいずれか一方を抑制する輝度補正を行い、
輝度補正後の画像データの一部画像データを拡大した第1の画像データと、前記縮小率に基づいて前記画像データの高輝度領域又は低輝度領域の少なくともいずれか一方を強調する輝度補正を行い、前記輝度補正を行った後の画像データの一部画像データを縮小した第2の画像データと、を生成することを特徴とする(1)から(3)までのいずれか1に記載の画像データ処理装置。
拡大縮小率が1以上の場合でも、全体の画像を表示させることができる。
(3)
The gloss / shadow control unit
A normal vector / light source vector inner product calculation unit that receives an output from the scaling factor calculation unit and calculates an inner product of a normal vector and a light source vector;
An inner product result determination unit for obtaining a luminance value based on a calculation result of the normal vector / light source vector inner product calculation unit;
Based on the determination result of the inner product result determination unit, a gloss region / shadow region estimation unit that estimates a gloss region and a shadow region;
The image data according to (1) or (2), further comprising: a glossy shadow region luminance correction unit that receives the output from the enlargement / reduction ratio calculation unit and corrects the luminance of the glossy region / shadow region Processing equipment.
(4)
The image data generation unit
When the enlargement / reduction ratio is 1 or more, the reduction ratio of the entire image data is calculated,
Performing luminance correction that suppresses at least one of the high luminance region and the low luminance region of the image data based on the enlargement / reduction ratio,
The first image data obtained by enlarging the partial image data of the image data after the luminance correction and the luminance correction for enhancing at least one of the high luminance region and the low luminance region of the image data based on the reduction ratio. The image according to any one of (1) to (3), wherein second image data obtained by reducing partial image data of the image data after performing the luminance correction is generated. Data processing device.
Even when the enlargement / reduction ratio is 1 or more, the entire image can be displayed.

(5)
表示装置の傾き角を検出する傾き角検出部を備え、
前記拡大縮小率算出部が、
前記傾き角に基づいて、前記画像データの拡大縮小率を算出することを特徴とする(1)から(4)までのいずれか1に記載の画像データ処理装置。
表示装置の傾きに基づいて算出する拡大縮小率に基づいて、適切な画像の光沢及び陰影制御を行うことができる。
(5)
An inclination angle detection unit for detecting the inclination angle of the display device;
The enlargement / reduction ratio calculation unit includes:
The image data processing apparatus according to any one of (1) to (4), wherein an enlargement / reduction ratio of the image data is calculated based on the tilt angle.
Based on the enlargement / reduction ratio calculated based on the inclination of the display device, appropriate gloss and shadow control of the image can be performed.

(6)
被写体を撮像する撮像部と、
前記撮像部で撮像された前記被写体の画像データを処理する(1)から(5)までのずれか1に記載の画像データ処理装置と、を備えることを特徴とする画像データ表示装置。
(7)
画像データの拡大縮小指示を取得し、前記拡大縮小指示から前記画像データの拡大縮小率を算出する拡大縮小率算出部と、前記拡大縮小率に基づいて前記画像データの一部画像データを拡大または縮小する画像データ生成部と、を備える画像データ処理装置を用いた画像データ処理方法あって、
前記画像データから被写体表面の三次元形状を取得する被写体形状推定ステップと、
前記画像データと、前記三次元形状とに基づいて、被写体表面の光源からの入射光情報を取得する光源環境推定ステップと、
前記三次元形状と、前記入射光情報と、前記拡大縮小率とに基づいて、前記画像データの高輝度領域又は低輝度領域の少なくともいずれか一方の輝度値を制御する光沢/陰影制御ステップと、を有し、
前記光沢/陰影制御ステップは、
前記拡大縮小率に応じて、前記画像データの高輝度領域又は低輝度領域の少なくともいずれか一方の領域を強調または抑制する輝度補正を行う光沢/陰影輝度補正ステップを有することを特徴とする画像データ処理方法。
(8)
コンピュータに(7)に記載の画像データ処理方法を実行させるためのプログラム。
(6)
An imaging unit for imaging a subject;
An image data display device comprising: the image data processing device according to any one of (1) to (5) that processes image data of the subject imaged by the imaging unit.
(7)
An enlargement / reduction ratio calculation unit that acquires an enlargement / reduction instruction of image data and calculates an enlargement / reduction ratio of the image data from the enlargement / reduction instruction, and enlarges or reduces a part of the image data of the image data based on the enlargement / reduction ratio An image data processing method using an image data processing device including an image data generation unit to reduce,
A subject shape estimation step for obtaining a three-dimensional shape of the subject surface from the image data;
A light source environment estimation step for acquiring incident light information from a light source on the surface of the subject based on the image data and the three-dimensional shape;
Gloss / shadow control step for controlling the brightness value of at least one of the high brightness area and the low brightness area of the image data based on the three-dimensional shape, the incident light information, and the enlargement / reduction ratio; Have
The gloss / shadow control step includes:
Gloss / shadow luminance correction step for performing luminance correction for emphasizing or suppressing at least one of a high luminance region and a low luminance region of the image data according to the enlargement / reduction ratio. Processing method.
(8)
A program for causing a computer to execute the image data processing method according to (7).

A…画像データ処理装置、100…画像データ表示装置、101…入出力装置、102…画像データ処理装置、103…表示部、104…撮像部、105…送受信部、106…画像データ入出力部、107…記憶部、108…入出力部(操作部等)、109…被写体形状推定部、110…光源環境推定部、111…拡大縮小率算出部、112…光沢/陰影制御部、113…画像データ生成部、104…撮像部、105…送受信部、106…画像データ入出力部、107…記憶部、108…入出力部、109…被写体形状推定部、110…光源環境推定部、111…拡大縮小率算出部、112…光沢/陰影制御部、112−1…法線ベクトル/光源ベクトル内積演算部、112−2…内積結果判定部、112−3…光沢領域・陰影領域推定部、112−4…光沢陰影領域輝度補正部、113…画像データ生成部、1301…傾き角検出部。 DESCRIPTION OF SYMBOLS A ... Image data processing apparatus, 100 ... Image data display apparatus, 101 ... Input / output device, 102 ... Image data processing apparatus, 103 ... Display part, 104 ... Imaging part, 105 ... Transmission / reception part, 106 ... Image data input / output part DESCRIPTION OF SYMBOLS 107 ... Memory | storage part, 108 ... Input / output part (operation part etc.), 109 ... Subject shape estimation part, 110 ... Light source environment estimation part, 111 ... Enlargement / reduction rate calculation part, 112 ... Gloss / shadow control part, 113 ... Image data Generation unit 104 ... Imaging unit 105 ... Transmission / reception unit 106 ... Image data input / output unit 107 ... Storage unit 108 ... Input / output unit 109 ... Subject shape estimation unit 110 ... Light source environment estimation unit 111 ... Enlargement / reduction Rate calculation unit 112 ... Gloss / shadow control unit 112-1 Normal vector / light source vector inner product calculation unit 112-2 ... Inner product result determination unit 112-3 ... Gloss area / shadow area estimation unit 12-4 ... glossy shadow area luminance correction unit, 113 ... image data generation unit, 1301 ... inclination angle detection unit.

本発明は、画像処理装置に利用可能である。   The present invention can be used for an image processing apparatus.

Claims (8)

画像データの拡大縮小率に基づいて、前記画像データの高輝度領域及び低輝度領域の少なくとも一方の輝度値を制御する光沢/陰影制御部を備え、
前記光沢/陰影制御部は、
前記拡大縮小率が1より大きいとき、前記画像データの高輝度領域及び低輝度領域の少なくとも一方を抑制する輝度補正を行い、
前記拡大縮小率が1より小さいとき、前記画像データの高輝度領域及び低輝度領域の少なくとも一方を強調する輝度補正を行う、
ことを特徴とする画像データ処理装置。
Based on expanding large reduction ratio of the image data, also with a gloss / shadow controller that controls the luminance value of the hand with fewer of the high luminance region and low luminance region of the image data,
The gloss / shadow control unit
When the enlargement / reduction ratio is greater than 1, brightness correction is performed to suppress at least one of the high brightness area and the low brightness area of the image data,
When the enlargement / reduction ratio is smaller than 1, brightness correction is performed to enhance at least one of the high brightness area and the low brightness area of the image data.
An image data processing apparatus.
画像データから被写体表面の三次元形状を取得する被写体形状推定部と、
前記画像データと、前記三次元形状とに基づいて、被写体表面の光源からの入射光情報を取得する光源環境推定部と、
前記画像データの拡大縮小率に基づいて、前記画像データの高輝度領域及び低輝度領域の少なくとも一方の輝度値を制御する光沢/陰影制御部とを備え、
前記光沢/陰影制御部は、
線ベクトルと光源ベクトルとの内積を演算する法線ベクトル/光源ベクトル内積演算部と、
前記法線ベクトル/光源ベクトル内積演算部の演算結果に基づいて、輝度値を求める内積結果判定部と、
前記内積結果判定部の判定結果に基づいて、光沢領域と陰影領域とを推定する光沢領域・陰影領域推定部と、
沢領域/陰影領域の輝度を補正する光沢陰影領域輝度補正部と、を有することを特徴とする画像データ処理装置。
A subject shape estimation unit for obtaining a three-dimensional shape of the subject surface from image data;
A light source environment estimation unit that acquires incident light information from a light source on the surface of the subject based on the image data and the three-dimensional shape;
A gloss / shadow control unit that controls at least one luminance value of a high-luminance region and a low-luminance region of the image data based on an enlargement / reduction ratio of the image data,
The gloss / shadow control unit
A normal vector / source vector inner product calculator for calculating inner products modulo normal vector and the light source vector,
An inner product result determination unit for obtaining a luminance value based on a calculation result of the normal vector / light source vector inner product calculation unit;
Based on the determination result of the inner product result determination unit, a gloss region / shadow region estimation unit that estimates a gloss region and a shadow region;
And luster shadow area luminance correction unit for correcting the luminance of the luster region / shadow area, images data processing apparatus, comprising a.
画像データの拡大縮小率に基づいて前記画像データの一部画像データを拡大または縮小する画像データ生成部を備える画像データ処理装置であって、
前記拡大縮小率に基づいて、前記画像データの高輝度領域及び低輝度領域の少なくとも一方の輝度値を制御する光沢/陰影制御部を更に備え、
前記光沢/陰影制御部は、
前記拡大縮小率に応じて、前記画像データの高輝度領域及び低輝度領域の少なくとも一方の領域を強調または抑制する輝度補正を行う光沢/陰影輝度補正部を有し、
前記画像データ生成部は、
前記拡大縮小率が1より大きいとき、前記画像データ全体の縮小率を算出し、
前記拡大縮小率に基づいて前記画像データの高輝度領域又は低輝度領域の少なくとも一方を抑制する輝度補正を行い、
輝度補正後の画像データの一部画像データを拡大した第1の画像データと、前記縮小率に基づいて前記画像データの高輝度領域及び低輝度領域の少なくとも一方を強調する輝度補正を行い、前記輝度補正を行った後の画像データの一部画像データを縮小した第2の画像データと、を生成することを特徴とする画像データ処理装置。
An image data processing apparatus including an image data generation unit that enlarges or reduces a part of image data of the image data based on an enlargement / reduction ratio of the image data,
A gloss / shade controller that controls a brightness value of at least one of a high brightness area and a low brightness area of the image data based on the enlargement / reduction ratio;
The gloss / shadow control unit
In accordance with the enlargement / reduction ratio, a gloss / shadow luminance correction unit that performs luminance correction that emphasizes or suppresses at least one of a high luminance region and a low luminance region of the image data,
The image data generation unit
When the enlargement / reduction ratio is greater than 1, the reduction ratio of the entire image data is calculated,
Performs least well suppressing luminance correcting hand of the high luminance region or low luminance region of the image data based on the scaling factor,
A first image data obtained by enlarging a part image data of the image data after luminance correction, the least even emphasizes luminance correcting hand of the high luminance region and low luminance region of the image data based on the reduction ratio performed, the luminance correcting the second image data and, images the data processing apparatus you and generates a obtained by reducing the partial image data of the image data after.
表示装置の傾き角を検出する傾き角検出部を更に備え、
記傾き角に基づいて、前記画像データの拡大縮小率算出されることを特徴とする請求項1または2に記載の画像データ処理装置。
Further comprising a tilt angle detection unit which detects the tilt angle of the display device,
Before Symbol Based on the tilt angle, the image data processing apparatus according to claim 1 or 2 scaling ratio of said image data and said Rukoto calculated.
前記拡大縮小率に基づいて前記画像データの一部画像データを拡大または縮小する画像データ生成部を更に備えていることを特徴とする請求項1または2に記載の画像データ処理装置。The image data processing apparatus according to claim 1, further comprising an image data generation unit that enlarges or reduces a part of the image data based on the enlargement / reduction ratio. 前記画像データから被写体表面の三次元形状を取得する被写体形状推定部と、A subject shape estimation unit that acquires a three-dimensional shape of the subject surface from the image data;
前記画像データと、前記三次元形状とに基づいて、被写体表面の光源からの入射光情報を取得する光源環境推定部とを更に備えていることを特徴とする請求項1または3に記載の画像データ処理装置。The image according to claim 1, further comprising: a light source environment estimating unit that acquires incident light information from a light source on a subject surface based on the image data and the three-dimensional shape. Data processing device.
前記画像データを取得する撮像部と、An imaging unit for acquiring the image data;
前記画像データの拡大縮小指示を受け付ける拡大縮小指示入力部と、An enlargement / reduction instruction input unit for receiving an enlargement / reduction instruction of the image data;
前記光沢/陰影制御部によって輝度補正され、且つ、前記拡大縮小率に基づいて前記画像データの一部画像データが拡大または縮小された画像を表示する表示装置と、を更に備えていることを特徴とする請求項1から3までのいずれか1項に記載の画像データ処理装置。A display device that displays an image that has been subjected to luminance correction by the gloss / shadow control unit and that is obtained by enlarging or reducing a part of the image data based on the enlargement / reduction ratio. The image data processing apparatus according to any one of claims 1 to 3.
請求項1から7までの何れか1項に記載の画像データ処理装置としてコンピュータを機能させるための画像データ処理プログラムであって、前記光沢/陰影制御部としてコンピュータを機能させるための画像データ処理プログラム。8. An image data processing program for causing a computer to function as the image data processing apparatus according to claim 1, wherein the image data processing program causes the computer to function as the gloss / shadow control unit. .
JP2013001294A 2013-01-08 2013-01-08 Image data processing apparatus and image data processing program Expired - Fee Related JP6103942B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013001294A JP6103942B2 (en) 2013-01-08 2013-01-08 Image data processing apparatus and image data processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013001294A JP6103942B2 (en) 2013-01-08 2013-01-08 Image data processing apparatus and image data processing program

Publications (2)

Publication Number Publication Date
JP2014134890A JP2014134890A (en) 2014-07-24
JP6103942B2 true JP6103942B2 (en) 2017-03-29

Family

ID=51413120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013001294A Expired - Fee Related JP6103942B2 (en) 2013-01-08 2013-01-08 Image data processing apparatus and image data processing program

Country Status (1)

Country Link
JP (1) JP6103942B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017104042A1 (en) * 2015-12-17 2017-06-22 三菱電機株式会社 Background image generating device and object detection device
JP7351165B2 (en) 2019-09-24 2023-09-27 カシオ計算機株式会社 Image processing device, makeup simulation device, image processing method and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4152340B2 (en) * 2004-03-26 2008-09-17 富士フイルム株式会社 Image processing system and method
JP2007328555A (en) * 2006-06-08 2007-12-20 Hitachi Ltd Image correction device

Also Published As

Publication number Publication date
JP2014134890A (en) 2014-07-24

Similar Documents

Publication Publication Date Title
US11140339B2 (en) Video image processing method, apparatus and terminal
JP5450739B2 (en) Image processing apparatus and image display apparatus
US10129462B2 (en) Camera augmented reality based activity history tracking
JP6499583B2 (en) Image processing apparatus and image display apparatus
CN109644231B (en) Method, system, and medium providing improved video stability for mobile devices
US10497140B2 (en) Hybrid depth sensing pipeline
US10437545B2 (en) Apparatus, system, and method for controlling display, and recording medium
WO2017033853A1 (en) Image processing device and image processing method
WO2014083721A1 (en) Information processing device and information processing method
JP6330036B2 (en) Image processing apparatus and image display apparatus
WO2014064870A1 (en) Image processing device and image processing method
JP5793975B2 (en) Image processing apparatus, image processing method, program, and recording medium
KR20210010930A (en) Method, system and computer program for remote control of a display device via head gestures
JP2010072813A (en) Image processing device and image processing program
JP2019028912A (en) Image processing apparatus and image processing method
JP6103942B2 (en) Image data processing apparatus and image data processing program
WO2011096571A1 (en) Input device
JP5820716B2 (en) Image processing apparatus, image processing method, computer program, recording medium, and stereoscopic image display apparatus
JP4930304B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP5478533B2 (en) Omnidirectional image generation method, image generation apparatus, and program
JPWO2018189880A1 (en) Information processing apparatus, information processing system, and image processing method
JP7118383B1 (en) Display system, display method, and display program
US9832377B2 (en) Data acquiring method and electronic device thereof
JP2013223133A (en) Guiding device, guiding method, and guiding program
JP2014060667A (en) Image processing apparatus, image processing system, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151001

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20160816

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160923

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161004

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20161205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161226

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170228

R150 Certificate of patent or registration of utility model

Ref document number: 6103942

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees