JP6062599B1 - Portable information device, dimension measuring method, and dimension measuring program - Google Patents

Portable information device, dimension measuring method, and dimension measuring program Download PDF

Info

Publication number
JP6062599B1
JP6062599B1 JP2016510545A JP2016510545A JP6062599B1 JP 6062599 B1 JP6062599 B1 JP 6062599B1 JP 2016510545 A JP2016510545 A JP 2016510545A JP 2016510545 A JP2016510545 A JP 2016510545A JP 6062599 B1 JP6062599 B1 JP 6062599B1
Authority
JP
Japan
Prior art keywords
foot
camera
tilt
image
image data
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
JP2016510545A
Other languages
Japanese (ja)
Other versions
JPWO2017022045A1 (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.)
Sizebook
Original Assignee
Sizebook
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 Sizebook filed Critical Sizebook
Application granted granted Critical
Publication of JP6062599B1 publication Critical patent/JP6062599B1/en
Publication of JPWO2017022045A1 publication Critical patent/JPWO2017022045A1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A43FOOTWEAR
    • A43DMACHINES, TOOLS, EQUIPMENT OR METHODS FOR MANUFACTURING OR REPAIRING FOOTWEAR
    • A43D1/00Foot or last measuring devices; Measuring devices for shoe parts
    • A43D1/02Foot-measuring devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/02Measuring arrangements characterised by the use of optical techniques for measuring length, width or thickness
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/117Identification of persons

Abstract

携帯情報装置は、カメラと傾きセンサーと処理部とを有し、処理部は、足を置く領域である足配置領域を示す足位置ガイド画像を、前記カメラにより取り込まれる映像であるカメラ映像に重畳し、前記傾きセンサーを利用することにより、所定の平面に対する前記カメラの傾きを検知し、前記カメラの傾きが所定の傾き閾値以下であるとき、前記平面上で前記足配置領域に置かれた足と所定の形状および大きさを表し前記平面に置かれた基準物とを含む静止画を前記カメラにより撮影して画像データを生成し、前記画像データ内の前記基準物と前記足の領域とに基づいて前記足の寸法を算出する。The portable information device includes a camera, a tilt sensor, and a processing unit, and the processing unit superimposes a foot position guide image indicating a foot placement region, which is a region on which a foot is placed, on a camera video that is a video captured by the camera. Then, by using the tilt sensor, the tilt of the camera with respect to a predetermined plane is detected, and when the tilt of the camera is equal to or less than a predetermined tilt threshold, the foot placed in the foot placement area on the plane A still image including a reference object that represents a predetermined shape and size and is placed on the plane is captured by the camera to generate image data, and the reference object and the foot region in the image data are generated. Based on this, the dimensions of the foot are calculated.

Description

本発明は、携帯情報装置で寸法を測定する技術に関する。   The present invention relates to a technique for measuring dimensions with a portable information device.

人間の足を撮影した画像データからその足の寸法を測定する技術が提案されている。特許文献1には、両足を並列に載置可能な大きさで形成され、それぞれの足を載置される足載置部位が略平面状である足載置台と、当該足載置台の各足載置部位に対して所定角度傾斜させて起立させ、足載置部位横に配設される複数の略平板状の鏡体と、足載置台から上方に離反して配設され、足載置台上に載置された両方の足の上面及び鏡体に映る足側面の鏡像を撮像し、両足の上面及び側面の鏡像の各画像情報を出力する一又は複数の撮像手段と、撮像手段から出力される画像情報を演算処理して両足の所定部分の寸法を導く測定処理手段とを備える足サイズ測定器が開示されている。   A technique for measuring the size of a foot from image data of a human foot has been proposed. Patent Document 1 discloses a foot placement base that is formed in a size that allows both feet to be placed in parallel, and has a substantially flat foot placement portion on which each foot is placed, and each foot of the foot placement base. A plurality of substantially plate-shaped mirrors that are tilted at a predetermined angle with respect to the placement site and are arranged on the side of the foot placement site, and spaced apart upward from the foot placement table. One or a plurality of imaging means for capturing the mirror image of the upper surface of both feet placed on the upper surface and the side surface of the foot reflected in the mirror, and outputting each image information of the upper and lower surfaces of both feet, and outputting from the imaging means There is disclosed a foot size measuring device provided with measurement processing means for computing the image information to be processed and deriving the dimensions of predetermined portions of both feet.

特開2002−81912号公報JP 2002-81912 A

インターネットショッピングの普及により、ユーザは、店舗を訪れること無く自宅などから靴などの履物を購入できるようになっている。自分の足に適合する履物を購入するために、ある程度の精度で自分の足の寸法あるいは靴のサイズが必要である。特許文献1の機器によれば足の寸法を測定することができるが、当該機器は店舗への導入を前提とした専用の機器であり、個人のユーザが自宅などで足の寸法を測定するには大掛かりなものである。   With the spread of Internet shopping, users can purchase footwear such as shoes from home without visiting a store. In order to purchase footwear that fits your foot, you need your foot dimensions or shoe size with some degree of accuracy. According to the device of Patent Document 1, the size of a foot can be measured. However, the device is a dedicated device that is premised on introduction into a store, and an individual user can measure the size of a foot at home or the like. Is a big one.

本発明の目的は、スマートフォンやタブレット端末などの携帯情報装置を利用して寸法を測定する技術を提供することである。   The objective of this invention is providing the technique which measures a dimension using portable information devices, such as a smart phone and a tablet terminal.

本発明の一態様による携帯情報装置は、カメラと傾きセンサーと処理部とを有し、処理部は、足を置く領域である足配置領域を示す足位置ガイド画像を、前記カメラにより取り込まれる映像であるカメラ映像に重畳し、前記傾きセンサーを利用することにより、所定の平面に対する前記カメラの傾きを検知し、前記カメラの傾きが所定の傾き閾値以下であるとき、前記平面上で前記足配置領域に置かれた足と所定の形状および大きさを表し前記平面に置かれた基準物とを含む静止画を前記カメラにより撮影して画像データを生成し、前記画像データ内の前記基準物と前記足の領域とに基づいて前記足の寸法を算出する携帯情報装置。   A portable information device according to an aspect of the present invention includes a camera, a tilt sensor, and a processing unit, and the processing unit captures a foot position guide image indicating a foot placement region, which is a region where a foot is placed, by the camera. The camera is superimposed on the camera image and the tilt sensor is used to detect the tilt of the camera with respect to a predetermined plane, and when the camera tilt is equal to or less than a predetermined tilt threshold, the foot placement on the plane A still image including a foot placed in an area and a reference object representing a predetermined shape and size and placed on the plane is photographed by the camera to generate image data, and the reference object in the image data A portable information device that calculates the size of the foot based on the foot region.

本発明によれば、スマートフォンやタブレット端末などの携帯情報装置を利用して寸法を測定することが可能となる。   ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to measure a dimension using portable information devices, such as a smart phone and a tablet terminal.

携帯情報装置により足の寸法を測定する様子を示す図である。It is a figure which shows a mode that the dimension of a leg | foot is measured with a portable information device. 携帯情報装置のブロック図である。It is a block diagram of a portable information device. 足採寸の処理全体のフローチャートである。It is a flowchart of the whole process of foot measurement. 静止画を撮影する詳細処理例を示すフローチャートである。It is a flowchart which shows the detailed process example which image | photographs a still image. 撮影時にタッチパネルディスプレイに表示される画像の一例を示す図である。It is a figure which shows an example of the image displayed on a touchscreen display at the time of imaging | photography. 傾き表示画像の表示例を示す図である。It is a figure which shows the example of a display of an inclination display image. 足の寸法を算出する処理のフローチャートである。It is a flowchart of the process which calculates the dimension of a leg | foot. 画像データに対して平面的な補正を行う様子を示す図である。It is a figure which shows a mode that planar correction is performed with respect to image data. 足の領域を立体的に補正する様子を示す図である。It is a figure which shows a mode that the area | region of a leg | foot is correct | amended in three dimensions. 爪先線を手動で位置合わせする様子を示す図である。It is a figure which shows a mode that a toe line is manually aligned. 爪先線を自動で位置合わせする様子を示す図である。It is a figure which shows a mode that a toe line is aligned automatically.

本発明の実施形態について図面を参照して説明する。   Embodiments of the present invention will be described with reference to the drawings.

図1は、本実施形態により携帯情報装置による足の寸法を測定する様子を示す図である。   FIG. 1 is a diagram illustrating a state in which the size of a foot is measured by a portable information device according to the present embodiment.

本実施形態による携帯情報装置10は、スマートフォン、タブレット端末に代表されるような手で持った状態で使用する情報処理装置である。携帯情報装置10は、アプリケーションのソフトウェアプログラムをインストールすることができ、アプリケーションを実行することにより動作する。携帯情報装置10は、インストールするアプリケーションにより様々な機能を実現することができる。   The portable information device 10 according to the present embodiment is an information processing device that is used in a state of being held by a hand represented by a smartphone or a tablet terminal. The portable information device 10 can install an application software program and operates by executing the application. The portable information device 10 can realize various functions depending on the application to be installed.

本実施形態の携帯情報装置10は、足FTの寸法を測定することを可能にするアプリケーションがインストールされている。足FTの寸法として典型的には足の前後方向の最も長い部分の長さである。また、足FTの寸法として足FTの横幅が含まれていてもよい。   The portable information device 10 according to the present embodiment is installed with an application that makes it possible to measure the dimensions of the foot FT. Typically, the length of the foot FT is the length of the longest portion of the foot in the front-rear direction. Further, the width of the foot FT may be included as a dimension of the foot FT.

例えば、本アプリケーションで測定した足FTの寸法はECサイト(電子商取引サイト)で靴を購入する際に靴のサイズ選択に利用することができる。また、本アプリケーション自体が、足FTの寸法を測定する機能だけでなく、ECサイトを利用するための各種機能を備えたものであってもよい。   For example, the size of the foot FT measured by this application can be used for shoe size selection when purchasing shoes on an EC site (electronic commerce site). In addition, the application itself may include not only a function of measuring the size of the foot FT but also various functions for using the EC site.

携帯情報装置10で足FTの寸法を測定するとき、所定の形状および大きさを持った基準物CDと足FTとを含むように静止画を撮影する。足FTのサイズはその静止画から算出される。基準物CDは例えば所定の形状、大きさ、および模様を有するカードである。   When the size of the foot FT is measured by the portable information device 10, a still image is photographed so as to include the reference object CD having a predetermined shape and size and the foot FT. The size of the foot FT is calculated from the still image. The reference object CD is, for example, a card having a predetermined shape, size, and pattern.

図2は携帯情報装置のブロック図である。携帯情報装置10は、プロセッサ20、記憶装置12、傾きセンサー13、スピーカー14、タッチパネルディスプレイ15、カメラ16、および通信モジュール17を有している。   FIG. 2 is a block diagram of the portable information device. The portable information device 10 includes a processor 20, a storage device 12, a tilt sensor 13, a speaker 14, a touch panel display 15, a camera 16, and a communication module 17.

プロセッサ20は、オペレーティングシステムおよびアプリケーションを実行する処理装置である。プロセッサ20は、アプリケーションを実行することにより、ガイド部21、傾き検知部22、静止画撮影部23、および計算部24の各部の機能を実現する。これら各部の機能については後述する。   The processor 20 is a processing device that executes an operating system and applications. The processor 20 realizes the functions of the guide unit 21, the tilt detection unit 22, the still image shooting unit 23, and the calculation unit 24 by executing the application. The functions of these units will be described later.

記憶装置12は、アプリケーションプログラム、アプリケーションが動作する上で必要な設定情報、アプリケーションが処理に用いるデータなどを保持する記憶装置である。   The storage device 12 is a storage device that holds an application program, setting information necessary for the application to operate, data used for processing by the application, and the like.

傾きセンサー13は、携帯情報装置10の傾きを検知するセンサーである。携帯情報装置10の傾きはカメラ16の傾きでもある。   The tilt sensor 13 is a sensor that detects the tilt of the portable information device 10. The inclination of the portable information device 10 is also the inclination of the camera 16.

スピーカー14は、プロセッサ20の処理に基づき音声を出力する音声出力装置である。   The speaker 14 is an audio output device that outputs audio based on the processing of the processor 20.

タッチパネルディスプレイ15は、プロセッサ20の処理に基づき画像やテキスト等を画面に表示する出力装置と、ユーザ操作を受け付ける入力装置を一体化した操作表示装置である。出力装置が画面に画像等を表示し、入力装置は画面へのタッチ装置を受け付ける。   The touch panel display 15 is an operation display device in which an output device that displays an image, text, or the like on a screen based on processing of the processor 20 and an input device that receives a user operation are integrated. The output device displays an image or the like on the screen, and the input device accepts a touch device for the screen.

カメラ16はリアルタイムの動画映像を出力するとともに指示により静止画を撮影する。   The camera 16 outputs a real-time moving image and shoots a still image according to an instruction.

通信モジュール17は、携帯電話網あるいはWi−Fiを介する無線通信を行うモジュールである。測定した足FTの寸法を利用してECサイトで靴などを購入する場合、プロセッサ20が通信モジュール17を用いてネットワーク経由でECサイトにアクセスする。   The communication module 17 is a module that performs wireless communication via a mobile phone network or Wi-Fi. When purchasing shoes or the like at the EC site using the measured foot FT dimensions, the processor 20 accesses the EC site via the network using the communication module 17.

上述した構成を有する携帯情報装置10において、記憶装置12には、足FTの寸法を測定することを可能にするアプリケーションが格納されており、プロセッサ20はそのアプリケーションを実行することにより、図3に示す動作を行う。   In the portable information device 10 having the above-described configuration, the storage device 12 stores an application that makes it possible to measure the dimension of the foot FT, and the processor 20 executes the application in FIG. Perform the operation shown.

図3は足採寸の処理全体のフローチャートである。   FIG. 3 is a flowchart of the entire foot measurement process.

まずガイド部21が、足FTを置く領域である足配置領域を示す足位置ガイド画像を、カメラ16により取り込まれる映像であるカメラ映像に重畳してタッチパネルディスプレイ15に表示する(ステップS101)。   First, the guide unit 21 displays a foot position guide image indicating a foot placement region, which is a region where the foot FT is placed, on the touch panel display 15 so as to be superimposed on a camera video that is a video captured by the camera 16 (step S101).

ユーザは、タッチパネルディスプレイ15に表示された足位置ガイド画像によるガイドに従って、足FTが足配置領域に納まるように、足FTの位置とカメラ16の位置および方向を調整する。その際、所定の形状および大きさを表す基準物もカメラ映像に納まるように調整する。基準物は例えば所定のカードであり、カード自体あるいはカードに表示された模様により所定の形状および大きさを表す。   The user adjusts the position of the foot FT and the position and direction of the camera 16 so that the foot FT fits in the foot placement area according to the guide based on the foot position guide image displayed on the touch panel display 15. At that time, adjustment is made so that a reference object representing a predetermined shape and size is also included in the camera image. The reference object is, for example, a predetermined card, and represents a predetermined shape and size by the card itself or a pattern displayed on the card.

ユーザが足FT、基準物、カメラ16の位置あるいは角度を調整しているとき、傾き検知部22が、傾きセンサー13を利用することにより、所定の平面に対するカメラ16の傾きを検知する。所定の平面は一例として床面である。   When the user adjusts the position or angle of the foot FT, the reference object, or the camera 16, the tilt detection unit 22 detects the tilt of the camera 16 with respect to a predetermined plane by using the tilt sensor 13. The predetermined plane is a floor as an example.

そして、静止画撮影部23が、カメラ16の傾きが傾き閾値以下であるとき、平面上で足配置領域に置かれた足FTと、その平面に置かれた基準物とを含む静止画をカメラ16により撮影して画像データを生成する(ステップS102)。傾き閾値は、カメラ16の傾きに関する閾値であり、カメラ16で撮影される画像データに対する傾きに基づく補正により足FTの寸法として所望の精度が得られる値に予め設定しておく。   When the still image capturing unit 23 tilts the camera 16 below the tilt threshold, the still image capturing unit 23 displays a still image including the foot FT placed in the foot placement region on the plane and the reference object placed on the plane. 16 is used to generate image data (step S102). The tilt threshold is a threshold related to the tilt of the camera 16, and is set in advance to a value that can obtain a desired accuracy as the dimension of the foot FT by correction based on the tilt with respect to image data captured by the camera 16.

生成した画像データには基準物と足FTが納まっているので、計算部24が、画像データ内の基準物と足FTの領域を抽出し、基準物と足FTの領域に基づき、足FTの寸法を算出する(ステップS103)。例えば、基準物の示す形状および大きさを基準として、足FTの領域の形状および大きさから得られる足FTの爪先から踵までの長さを算出する。計算部24の処理は図2に示すように平面補正部25、足領域検出部26、および足寸法算出部27の処理を含むが、その詳細は後述する。   Since the reference object and the foot FT are stored in the generated image data, the calculation unit 24 extracts the area of the reference object and the foot FT in the image data, and based on the area of the reference object and the foot FT, The dimensions are calculated (step S103). For example, the length from the toe of the foot FT to the heel obtained from the shape and size of the region of the foot FT is calculated based on the shape and size indicated by the reference object. The processing of the calculation unit 24 includes the processing of the plane correction unit 25, the foot region detection unit 26, and the foot dimension calculation unit 27 as shown in FIG.

足FTの寸法を正確に算出するには画像データにおいてカメラ16の傾きによる歪が少ないことが必要であるが、スマートフォンやタブレット端末などの携帯情報装置10を手で正確に水平に固定するのは難しい。撮影時のカメラ16の傾きが大きいと画像データを補正しても十分な精度で足FTの寸法を算出するのは困難である。しかしながら、本実施形態の構成によれば、まずカメラ16の傾きを補正で精度が確保できる範囲内にした状態で静止画を撮影し、得られた画像データに対して補正をするので、手に持って操作する携帯情報装置10により誤差の少ない足FTの寸法を測定することが可能である。   In order to accurately calculate the size of the foot FT, the image data needs to have little distortion due to the tilt of the camera 16, but the mobile information device 10 such as a smartphone or a tablet terminal is fixed accurately and horizontally by hand. difficult. If the inclination of the camera 16 at the time of shooting is large, it is difficult to calculate the size of the foot FT with sufficient accuracy even if the image data is corrected. However, according to the configuration of the present embodiment, a still image is first shot in a state where the tilt of the camera 16 is within a range in which accuracy can be ensured by correction, and the obtained image data is corrected. It is possible to measure the dimension of the foot FT with few errors by the portable information device 10 that is held and operated.

図4は、静止画を撮影する詳細処理例を示すフローチャートである。   FIG. 4 is a flowchart illustrating an example of detailed processing for capturing a still image.

まず、ガイド部21が足位置ガイド画像を重畳したガイド画像を表示している間、静止画撮影部23は、傾き検知部22の検知結果に基づき、カメラ16の傾きが傾き閾値以下であるか否か判定する(ステップS201)。   First, while the guide unit 21 displays a guide image in which the foot position guide image is superimposed, the still image capturing unit 23 determines whether the tilt of the camera 16 is equal to or less than the tilt threshold based on the detection result of the tilt detection unit 22. It is determined whether or not (step S201).

カメラ16の傾きが傾き閾値より大きければ、静止画撮影部23は、撮影不可の状態である旨をタッチパネルディスプレイ15に表示し(ステップS202)、ステップS201にもどる。なお、撮影不可の状態でユーザによるタッチパネルディスプレイ15上への撮影操作があった場合、静止画撮影部23は、撮影不可の状態であることを示す警告音をスピーカー14から発生させることにしてもよい。   If the tilt of the camera 16 is larger than the tilt threshold, the still image capturing unit 23 displays on the touch panel display 15 that it is incapable of capturing (step S202), and returns to step S201. Note that when the user performs a shooting operation on the touch panel display 15 in a shooting disabled state, the still image shooting unit 23 generates a warning sound from the speaker 14 indicating that shooting is not possible. Good.

ステップS201にて、カメラ16の傾きが傾き閾値以下であれば、静止画撮影部23は、撮影可の状態である旨をタッチパネルディスプレイ15に表示し(ステップS203)、ユーザによるタッチパネルディスプレイ15上への撮影操作があるかどうか判定する(ステップS204)。   If the tilt of the camera 16 is equal to or smaller than the tilt threshold in step S201, the still image capturing unit 23 displays on the touch panel display 15 that the camera is ready to be captured (step S203), and the user touches the touch panel display 15. It is determined whether there is a shooting operation (step S204).

なお、撮影不可の状態および撮影可の状態は、静止画撮影部23からの指示によりガイド部21あるいは傾き検知部22がタッチパネルディスプレイ15に表示することにしてよい。   It should be noted that the shooting disabled state and the shooting enabled state may be displayed on the touch panel display 15 by the guide unit 21 or the tilt detection unit 22 in accordance with an instruction from the still image shooting unit 23.

ユーザによる撮影操作がなければ、静止画撮影部23は、ステップS201に戻り、カメラ16の傾きの監視を継続する。ユーザによる撮影操作があれば、静止画撮影部23は、カメラ16によって静止画を撮影する(ステップS205)。   If there is no shooting operation by the user, the still image shooting unit 23 returns to step S201 and continues monitoring the tilt of the camera 16. If there is a photographing operation by the user, the still image photographing unit 23 photographs a still image with the camera 16 (step S205).

図5は、撮影時にタッチパネルディスプレイに表示される画像の一例を示す図である。なお、ここでは見やすくするためにカメラ映像に平面的な足跡形状だけが示されているが、実際にはカメラ映像に足だけでなく立体的に脚が映る。   FIG. 5 is a diagram illustrating an example of an image displayed on the touch panel display during shooting. Here, only the planar footprint shape is shown in the camera image for easy viewing, but in reality, the camera image shows legs in three dimensions as well as the feet.

ガイド部21は、カメラ16で得られるカメラ映像において踵を前後方向の中央近傍に位置させるような足位置ガイド画像31を表示する。カメラ16の位置と踵の位置が前後方向にずれていると、踵の背後側に膨らんだ部分が高さを持っていることに起因して、画像データから算出する足FTの寸法に踵の部分で誤差が生じうる。これに対して、本構成によれば、足位置ガイド画像31によるガイドにより、前後方向においてカメラ16を踵の位置に合わせることができるので、踵の高さによる足寸法の算出誤差を抑えることができる。   The guide unit 21 displays a foot position guide image 31 that positions the heel in the vicinity of the center in the front-rear direction in the camera image obtained by the camera 16. If the position of the camera 16 and the position of the heel are shifted in the front-rear direction, the size of the foot FT calculated from the image data is different from the size of the foot FT calculated from the image data due to the fact that the bulging part behind the heel has a height. An error may occur in a part. On the other hand, according to the present configuration, the camera 16 can be adjusted to the position of the heel in the front-rear direction by the guide based on the foot position guide image 31, so that the calculation error of the foot dimension due to the height of the heel can be suppressed. it can.

足位置ガイド画像31には、足配置領域32、縦方向直線33、および横方向直線34a、34bが含まれている。   The foot position guide image 31 includes a foot placement region 32, a vertical straight line 33, and horizontal straight lines 34a and 34b.

足配置領域32は、カメラ16で撮影される全体領域30のうち前方側にあり、全体領域30の略半分の長さである。カメラ16で撮影される全体領域30の前方側の略半分の長さの部分を足配置領域32とすることで、踵を全体領域30における前後方向の中央近傍に位置させることができる。全体領域30の中央はカメラ16の略正面に当るので、自然と踵をカメラ16の略正面に位置させることができる。   The foot placement area 32 is on the front side of the entire area 30 photographed by the camera 16 and has a length that is substantially half of the entire area 30. By setting the front half of the entire area 30 photographed by the camera 16 to be the foot placement area 32, the heel can be positioned in the vicinity of the center of the entire area 30 in the front-rear direction. Since the center of the entire region 30 is substantially in front of the camera 16, it is possible to naturally position the eyelid in front of the camera 16.

また、ガイド部21は、右足を撮影するとき足位置ガイド画像31を全体領域30の右前方側に表示し、左足を撮影するとき足位置ガイド画像31を全体領域30の左前方側に表示する。例えば右足を撮影するとき、右足の左側に基準物CDを置いて自然な撮影姿勢で右足と基準物CDの両方を画像データに収めることができ、かつ、前後方向におけるカメラ16の位置を踵に合わせることができる。   The guide unit 21 displays the foot position guide image 31 on the right front side of the entire area 30 when shooting the right foot, and displays the foot position guide image 31 on the left front side of the entire area 30 when shooting the left foot. . For example, when shooting the right foot, the reference object CD can be placed on the left side of the right foot so that both the right foot and the reference object CD can be stored in the image data in a natural shooting posture, and the position of the camera 16 in the front-rear direction is taken into account. Can be matched.

足位置ガイド画像31は、足FTの最も長い部分を合わせる第1の直線(縦方向直線33)と、第1の直線と交差し第1の直線33の延びる方向に移動可能な2本の第2の直線(横方向直線34a、34b)と、を含む。そして、計算部24は、2本の第2の直線34a、34b線と第1の直線33との交点同士の距離に基づいて足の寸法を算出する。第1の直線33に足FTの最も長い部分を位置合わせし、第2の直線34a、34bを足FTの前方および後方の端部(爪先と踵)に位置合わせることにより、容易に足FTの寸法を算出することが可能である。   The foot position guide image 31 includes a first straight line (longitudinal straight line 33) that matches the longest part of the foot FT, and two first movable lines that intersect the first straight line and are movable in the extending direction of the first straight line 33. 2 straight lines (lateral straight lines 34a and 34b). Then, the calculation unit 24 calculates the size of the foot based on the distance between the intersections of the two second straight lines 34 a and 34 b and the first straight line 33. By aligning the longest part of the foot FT with the first straight line 33 and aligning the second straight lines 34a, 34b with the front and rear ends (toe and heel) of the foot FT, It is possible to calculate the dimensions.

傾き検知部22は、傾きセンサー13で検知されるカメラ16の傾きをリアルタイムで視覚的に表す傾き表示画像35をタッチパネルディスプレイ15に表示する。これによれば、ユーザは傾き表示画像35でカメラ16の傾きを視覚的に確認できるので、撮影時のカメラ16の角度を   The tilt detection unit 22 displays a tilt display image 35 on the touch panel display 15 that visually represents the tilt of the camera 16 detected by the tilt sensor 13 in real time. According to this, since the user can visually confirm the tilt of the camera 16 with the tilt display image 35, the angle of the camera 16 at the time of shooting can be determined.

容易に傾き閾値以下に調整することができる。 It can be easily adjusted below the inclination threshold.

図6は、傾き表示画像の表示例を示す図である。傾き検知部22は、カメラ16の傾きが傾き閾値を超えているとき、傾き表示画像35にて静止画の撮影不可の状態であることを表わすとともに、カメラ16による静止画の撮影を許可しない。基準物CDの形状に基づく補正ではカメラ16の傾きが一定以下であれば所望の精度が得られる。本実施形態の構成では、静止画を撮影するときカメラ16の傾きが所定の傾き閾値以下であることが確保されるので、撮影された静止画の画像データを基準物CDの形状に基づいて補正したときに所望の精度を確実に得ることができる。   FIG. 6 is a diagram illustrating a display example of the tilt display image. When the tilt of the camera 16 exceeds the tilt threshold, the tilt detector 22 indicates that the still image cannot be captured in the tilt display image 35 and does not allow the camera 16 to capture a still image. In the correction based on the shape of the reference object CD, a desired accuracy can be obtained as long as the tilt of the camera 16 is below a certain level. In the configuration of the present embodiment, it is ensured that the tilt of the camera 16 is equal to or less than a predetermined tilt threshold when capturing a still image, so that the image data of the captured still image is corrected based on the shape of the reference object CD. The desired accuracy can be obtained with certainty.

図6(A)(B)(C)には、丸型の気泡水準器を模した傾き表示画像35が示されている。携帯情報装置10あるいはカメラ16の傾きが気泡を模した気泡画像35aの位置で表わされる。気泡画像35aが傾き表示画像35の中央近傍に位置していれば、携帯情報装置10あるいはカメラ16が水平であることを示す。図6(A)の状態では、気泡画像35aが傾き表示画像35の中央から大きくずれている。このときカメラ16の傾きが傾き閾値より大きく、静止画の撮影が禁止されるとする。そのため撮影不可の状態である旨が傾き表示画像35の表示によって表わされる。図6(A)の例では傾き表示画像35にハッチングがされている。   6A, 6B, and 6C show an inclination display image 35 simulating a round bubble level. The inclination of the portable information device 10 or the camera 16 is represented by the position of a bubble image 35a that simulates a bubble. If the bubble image 35a is positioned near the center of the tilt display image 35, it indicates that the portable information device 10 or the camera 16 is horizontal. In the state of FIG. 6A, the bubble image 35 a is greatly deviated from the center of the tilt display image 35. At this time, it is assumed that the tilt of the camera 16 is larger than the tilt threshold, and still image shooting is prohibited. For this reason, the display of the tilt display image 35 indicates that photographing is not possible. In the example of FIG. 6A, the tilt display image 35 is hatched.

図6(B)の例では、気泡画像35aが傾き表示画像35の中央近傍に表示されている。また、図6(C)の例では、気泡画像35aが傾き表示画像35の中央に表示されている。図6(B)および(C)の状態ではカメラ16の傾きが傾き閾値以下であり、静止画の撮影が許可されるとする。そのため撮影可の状態である旨が傾き表示画像35の表示によって表される。図6(B)(C)の例では傾き表示画像35は図6(A)の例と異なり、ハッチングがされていない。   In the example of FIG. 6B, the bubble image 35 a is displayed near the center of the tilt display image 35. In the example of FIG. 6C, the bubble image 35a is displayed at the center of the tilt display image 35. In the states of FIGS. 6B and 6C, it is assumed that the tilt of the camera 16 is equal to or smaller than the tilt threshold and still image shooting is permitted. For this reason, the tilt display image 35 indicates that the photographing is possible. In the examples of FIGS. 6B and 6C, the tilt display image 35 is not hatched, unlike the example of FIG.

図7は、足の寸法を算出する処理のフローチャートである。ここで図2を見返すと、計算部24は、平面補正部25、足領域検出部26、および足寸法算出部27を有している。   FIG. 7 is a flowchart of a process for calculating a foot dimension. Here, looking back at FIG. 2, the calculation unit 24 includes a plane correction unit 25, a foot region detection unit 26, and a foot dimension calculation unit 27.

図7を参照すると、平面補正部25が、画像データ内の基準物CDの形状に基づき画像データにおけるカメラの傾きによる歪を補正する(ステップS301)。続いて、足領域検出部26が、平面補正部25による平面補正の後の画像データにおける足FTの領域を検出する(ステップS302)。足FTの領域は画像データにおける各画素の画素値に基づき特定することができる。次に、足寸法算出部27が、足領域検出部26により検出された足FTの領域についての画像データ内の基準物CDに対する相対的な大きさに基づいて足の寸法を算出する。このように、まず画像データにおけるカメラ16の傾きによる歪を補正し、補正後の画像データにおける足FTの領域と、大きさが既知である基準物CDの大きさの相対的関係に基づいて、足FTの寸法を算出するので、精度の高い寸法が得られる。   Referring to FIG. 7, the plane correction unit 25 corrects distortion due to the tilt of the camera in the image data based on the shape of the reference object CD in the image data (step S301). Subsequently, the foot area detection unit 26 detects the area of the foot FT in the image data after the plane correction by the plane correction unit 25 (step S302). The region of the foot FT can be specified based on the pixel value of each pixel in the image data. Next, the foot dimension calculation unit 27 calculates the dimension of the foot based on the relative size of the foot FT region detected by the foot region detection unit 26 with respect to the reference object CD in the image data. In this way, first, distortion due to the tilt of the camera 16 in the image data is corrected, and based on the relative relationship between the area of the foot FT in the corrected image data and the size of the reference object CD whose size is known, Since the dimension of the foot FT is calculated, a highly accurate dimension can be obtained.

図8は、画像データに対して平面的な補正を行う様子を示す図である。図8(A)、(B)には補正前と補正後の静止画が示されている。静止画には、基準物CDと、足配置領域32に配置された足FTとが納まっている。   FIG. 8 is a diagram illustrating a state in which the planar correction is performed on the image data. 8A and 8B show still images before and after correction. In the still image, the reference object CD and the foot FT disposed in the foot placement region 32 are accommodated.

図8(A)には、傾いたカメラ16で撮影された補正前の静止画が示されている。ここでカメラ16の傾きは当然ながら傾き閾値以下である。平面補正部25は、基準物CDの本来の形状および大きさを認識しており、静止画内の基準物CDが本来の形状となるように静止画の画像データを補正する。このとき平面補正部25は例えば既存の台形歪補正技術を用いればよい。図8(B)には、補正後の静止画が示されている。補正後の静止画では基準物CDの歪が解消され、それに伴って足FTの領域の歪も解消されている。   FIG. 8A shows a still image before correction, which is taken by the tilted camera 16. Here, the tilt of the camera 16 is naturally equal to or less than the tilt threshold. The plane correction unit 25 recognizes the original shape and size of the reference object CD, and corrects the still image data so that the reference object CD in the still image has the original shape. At this time, the plane correction unit 25 may use, for example, an existing trapezoidal distortion correction technique. FIG. 8B shows a still image after correction. In the corrected still image, the distortion of the reference object CD is eliminated, and accordingly, the distortion of the foot FT area is also eliminated.

補正後の静止画の画像データから足FTの領域を特定するとき、足領域検出部26は、各画素の画素値に基づき足配置領域を複数の領域に分割し、足配置領域32の中央部分を含み、その中央部分の画素値との差異が所定値以下の画素による領域を足FTの領域とすることにしてもよい。図8では、見やすくするために足FTとして足跡形状が示されているため、足指が足から分離されているが実際には足指を含む足の部分がひと続きの領域となる。また、付け爪やペディキュアにより足FTの中で爪の部分が他の部分と異なる画素値となる場合がある。それを考慮して、足の形状のパターンにより爪の部分を特定し、その特定した部分は画素値が異なっても足FTの領域に含めることにしてもよい。   When the foot FT region is specified from the corrected still image data, the foot region detection unit 26 divides the foot placement region into a plurality of regions based on the pixel value of each pixel, and the center portion of the foot placement region 32 The area of the foot FT may be a region formed by pixels having a difference from the pixel value in the central portion of the pixel value equal to or less than a predetermined value. In FIG. 8, since the footprint shape is shown as the foot FT for easy viewing, the toes are separated from the feet, but actually, the portion of the feet including the toes becomes a continuous region. Further, there are cases where the nail portion of the foot FT has a pixel value different from other portions due to an artificial nail or pedicure. Considering this, the nail portion may be specified by the pattern of the foot shape, and the specified portion may be included in the region of the foot FT even if the pixel value is different.

図9は、足の領域を立体的に補正する様子を示す図である。   FIG. 9 is a diagram illustrating how the foot region is corrected three-dimensionally.

足寸法算出部27は、基準物CDと、足FTの領域と、カメラ16と爪先FTaを結ぶ直線42の床面43に対する角度θと、爪先FTaの高さH1と、に基づいて、足FTの寸法L2を算出する。カメラ16を踵FTbの位置に合わせて、カメラ16と踵FTbを結ぶ直線41を床面43に垂直にすることにより、比較的大きな誤差が出やすい踵側の誤差を低減することができる。また、カメラ16と爪先FTaの位置のずれに起因する比較的小さな爪先側の誤差は、爪先FTaの高さH1を考慮することにより低減することができるので、全体として足FTの寸法L2の誤差を小さく抑えることができる。   The foot size calculation unit 27 calculates the foot FT based on the reference object CD, the region of the foot FT, the angle θ with respect to the floor surface 43 of the straight line 42 connecting the camera 16 and the toe FTA, and the height H1 of the toe FTa. The dimension L2 is calculated. By aligning the camera 16 with the position of the 踵 FTb and making the straight line 41 connecting the camera 16 and the 踵 FTb perpendicular to the floor surface 43, it is possible to reduce the error on the heel side where a relatively large error is likely to occur. Further, since a relatively small error on the toe side caused by the positional deviation between the camera 16 and the toe FTa can be reduced by considering the height H1 of the toe FTa, an error in the dimension L2 of the foot FT as a whole. Can be kept small.

このとき、足寸法算出部27は、足領域検出部26で検出された足FTの領域の見かけ上の寸法L1を式(1)により実際の足FTの寸法L2に補正する。
L2=L1−H1/tanθ …(1)
At this time, the foot dimension calculation unit 27 corrects the apparent dimension L1 of the area of the foot FT detected by the foot area detection unit 26 to the actual dimension L2 of the foot FT using Expression (1).
L2 = L1-H1 / tan θ (1)

ここで爪先FTaの高さH1は固定値としてもよいし、寸法L1に比例する値としてもい。高さH1を固定値とする場合、例えば1.5cm程度とすればよい。また、角度θは爪先FTaが位置する画素の位置から容易に算出できる。   Here, the height H1 of the toe FTa may be a fixed value or a value proportional to the dimension L1. When the height H1 is a fixed value, for example, it may be about 1.5 cm. The angle θ can be easily calculated from the position of the pixel where the toe FTa is located.

次に、足位置ガイド画像31における爪先側の第2の直線(横方向直線、爪先線)34aの位置合わせについて説明する。   Next, the alignment of the second straight line (lateral straight line, toe line) 34a on the toe side in the foot position guide image 31 will be described.

ガイド部21は、第2の直線34aをユーザ操作により手動で移動可能である。ユーザは、例えばタッチパネルディスプレイ15上でドラッグすることにより、第2の直線34aを移動させることができる。また、ガイド部21は、第2の直線34aを、第1の直線33の一部と爪先FTaを含む、定された所定領域における画素値の変化が所定の画素値変化閾値以上ある位置であり、かつ、現在の第2の直線34aに最も近い位置に自動で移動させることが可能である。   The guide unit 21 can be manually moved along the second straight line 34a by a user operation. The user can move the second straight line 34a by dragging on the touch panel display 15, for example. The guide unit 21 is a position where the change of the pixel value in the predetermined region including the part of the first straight line 33 and the toe FTa is equal to or greater than a predetermined pixel value change threshold. In addition, it is possible to automatically move to a position closest to the current second straight line 34a.

足FTの寸法を正確に算出するには、第2の直線34a、34bを足FTの前後の端部(爪先FTaと踵FTb)に正確に位置合わせする必要がある。画像データにおいて画素値が所定値以上変化している位置を足FTの端部として自動検出し、その位置に第2の直線34a、34bを自動で位置合わせすれば、高精度の位置合わせが可能である。一方で、ペディキュアあるいは付け爪などの影響で、画素値による判断では爪先FTaの位置を誤ってしまう可能性がある。これに対して、本実施形態では、手動によって第2の直線34aを大まかに位置合わせした後、画像データの画素値の変化に基づいて第2の直線34aの位置を正確に調整することができる。その結果、高精度の位置合わせと、爪先の誤判断の低減とを両立することが可能となる。   In order to accurately calculate the size of the foot FT, it is necessary to accurately align the second straight lines 34a and 34b with the front and rear ends (toe FTa and heel FTb) of the foot FT. High-precision alignment is possible by automatically detecting the position where the pixel value changes in the image data by a predetermined value or more as the end of the foot FT and automatically aligning the second straight lines 34a and 34b to the position. It is. On the other hand, due to the influence of a pedicure or an artificial nail, there is a possibility that the position of the toe FTa may be wrong in the determination based on the pixel value. On the other hand, in the present embodiment, after the second straight line 34a is roughly aligned manually, the position of the second straight line 34a can be accurately adjusted based on the change in the pixel value of the image data. . As a result, it is possible to achieve both high-accuracy alignment and reduction of toe misjudgment.

図10は、爪先線を手動で位置合わせする様子を示す図である。まず、ユーザはタッチパネルディスプレイ15のカメラ映像を見ながら、第2の直線(爪先線)34aをドラッグで爪先FTaに位置合わせする。ユーザが目視しながら第2の直線34aを位置合わせするので、付け爪やペディキュアがあっても爪先FTaを誤判断することは無い。ただし、タッチパネルディスプレイ15へのドラッグ操作なので、爪先FTaの先端に正確に第2の直線34aを位置合わせするのは難しい。   FIG. 10 is a diagram illustrating a state in which the toe line is manually aligned. First, the user aligns the second straight line (toe line) 34a with the toe FTa by dragging while watching the camera image on the touch panel display 15. Since the user aligns the second straight line 34a while visually observing, the toe FTa is not erroneously determined even if there is an artificial nail or pedicure. However, since it is a drag operation to the touch panel display 15, it is difficult to accurately align the second straight line 34a with the tip of the toe FTa.

そのため次のステップが用意されている。次のステップの判定は、カメラ映像のうち爪先FTaの部分を含む、限定された領域32aが用いられる。   Therefore, the following steps are prepared. In the determination of the next step, a limited area 32a including the toe FTa portion of the camera image is used.

図11は、爪先線を自動で位置合わせする様子を示す図である。ガイド部21は、図11に示すように、領域32aにおいて、画素値の変化が所定の画素値変化閾値以上ある位置であり、かつ、現在の第2の直線34aに最も近い位置に自動で移動させる。これにより、前のステップで手動で第2の直線34aを移動させた際に生じた誤差を解消することができる。   FIG. 11 is a diagram illustrating a state in which the toe lines are automatically aligned. As shown in FIG. 11, the guide unit 21 automatically moves to a position where the change in the pixel value is equal to or greater than a predetermined pixel value change threshold in the region 32a and closest to the current second straight line 34a. Let As a result, it is possible to eliminate an error generated when the second straight line 34a is manually moved in the previous step.

以上、本発明の実施形態について詳細に説明したが、本発明がこの例に限定されることは無い。   As mentioned above, although embodiment of this invention was described in detail, this invention is not limited to this example.

本実施形態では、2本の第2の直線34a、34bのどちらも移動可能としたが、どちらか一方を固定し、他方のみを移動可能としてもよい。例えば、踵側の第2の直線34bは足配置領域32に対して固定し、爪先側の第2の直線34aだけを移動させることにしてもよい。これにより前後方向において踵FTbの位置とカメラ16の位置をより正確に一致させることが可能となる。   In the present embodiment, both of the two second straight lines 34a and 34b are movable, but either one may be fixed and only the other may be movable. For example, the second straight line 34b on the heel side may be fixed to the foot placement region 32 and only the second straight line 34a on the toe side may be moved. This makes it possible to more accurately match the position of the heel FTb and the position of the camera 16 in the front-rear direction.

また、本実施形態では足FTの寸法を測定する例を示したが、他の例として、本実施形態と同様の処理で人体の他の部位の寸法を測定することができる。手の寸法を測定する場合、手首側の端部を本実施形態における踵FTbに対応させ、指先の端部を本実施形態における爪先FTaに対応させる。手首側の端部にカメラ16を位置合わせし、指先側について立体的な補正を行う。   Moreover, although the example which measures the dimension of foot FT was shown in this embodiment, the dimension of the other site | part of a human body can be measured by the process similar to this embodiment as another example. When measuring the dimensions of the hand, the end on the wrist side is made to correspond to the heel FTb in this embodiment, and the end of the fingertip is made to correspond to the toe FTa in this embodiment. The camera 16 is aligned with the wrist end, and three-dimensional correction is performed on the fingertip side.

ガイド部21は、手を置く領域である手配置領域を示す手位置ガイド画像を、カメラ16により取り込まれる映像であるカメラ映像に重畳する。傾き検知部22は、傾きセンサー13を利用することにより、所定の平面、例えばテーブル面に対するカメラ16の傾きを検知する。静止画撮影部23は、カメラ16の傾きが傾き閾値以下であるとき、所定平面上で手配値領域に置かれた手とその平面に置かれた基準物CDとを含む静止画をカメラ16により撮影して画像データを生成する。計算部24は、画像データ内の基準物CDと手の領域とに基づいて手の寸法を算出する。手の寸法は、手全体の長さ、指の長さ、指の太さといった部位の一部または全部の寸法である。   The guide unit 21 superimposes a hand position guide image indicating a hand placement area, which is an area where the hand is placed, on a camera video that is a video captured by the camera 16. The inclination detection unit 22 detects the inclination of the camera 16 with respect to a predetermined plane, for example, a table surface, by using the inclination sensor 13. When the tilt of the camera 16 is equal to or less than the tilt threshold, the still image capturing unit 23 causes the camera 16 to display a still image including the hand placed in the order value area on the predetermined plane and the reference object CD placed on the plane. Shoot and generate image data. The calculation unit 24 calculates the size of the hand based on the reference object CD and the hand region in the image data. The dimension of the hand is a dimension of a part or all of a part such as the length of the entire hand, the length of the finger, and the thickness of the finger.

また、本実施形態では、足という人体の部位の寸法を測定する例を示したが、本発明がこの例に限定されることは無い。   Moreover, although the example which measures the dimension of the site | part of a human body called a leg was shown in this embodiment, this invention is not limited to this example.

他の例として、床面あるいはテーブル面に置いた物品の寸法を測定することも可能である。例えば、携帯情報装置10によって靴の寸法を測定することも可能である。   As another example, the dimensions of an article placed on a floor surface or a table surface can be measured. For example, the size of a shoe can be measured by the portable information device 10.

靴は概ね足と似た形状および大きさを有するので、本実施形態と同様の処理で寸法を測定することが可能である。ガイド部21は、靴を置く領域である靴配置領域を示す靴位置ガイド画像を、カメラ16により取り込まれる映像であるカメラ映像に重畳する。傾き検知部22は、傾きセンサー13を利用することにより、床面あるいはテーブル面などの所定の平面に対するカメラ16きを検知する。静止画撮影部23は、カメラ16の傾きが所定の傾き閾値以下であるとき、その平面上の靴配置領域に置かれた靴とその平面に置かれた基準物CDとを含む静止画をカメラ16により撮影して画像データを生成する。計算部24は、画像データ内の基準物CDと靴の領域とに基づいて靴の寸法を算出する。   Since the shoe has a shape and size approximately similar to those of the foot, it is possible to measure the size by the same processing as in this embodiment. The guide unit 21 superimposes a shoe position guide image indicating a shoe placement area, which is an area for placing shoes, on a camera image that is an image captured by the camera 16. The tilt detection unit 22 uses the tilt sensor 13 to detect the camera 16 with respect to a predetermined plane such as a floor surface or a table surface. When the tilt of the camera 16 is equal to or less than a predetermined tilt threshold, the still image capturing unit 23 displays a still image including shoes placed in the shoe placement area on the plane and the reference object CD placed on the plane. 16 is used to generate image data. The calculation unit 24 calculates the shoe size based on the reference object CD and the shoe region in the image data.

他の例として、携帯情報装置10によって洋服の寸法を測定することも可能である。その場合、ガイド部21は、洋服を置く領域である洋服配置領域を示す洋服位置ガイド画像を、カメラ16により取り込まれる映像であるカメラ映像に重畳する。傾き検知部22は、傾きセンサー13を利用することにより、床面あるいはテーブル面などの所定の平面に対するカメラ16の傾きを検知する。静止画撮影部23は、カメラ16の傾きが所定の傾き閾値以下であるとき、その平面上の洋服配置領域に置かれた洋服とその平面に置かれた基準物CDとを含む静止画をカメラ16により撮影して画像データを生成する。計算部24は、画像データ内の基準物CDと洋服の領域とに基づいて靴の寸法を算出する。一般的な洋服であれば、足などでは考慮する必要のあった高さを無視することができるので、上述にて足寸法算出部27による立体的な補正は行わなくてもよい。   As another example, the size of the clothes can be measured by the portable information device 10. In this case, the guide unit 21 superimposes a clothes position guide image indicating a clothes arrangement area, which is an area where clothes are placed, on a camera image that is an image captured by the camera 16. The inclination detection unit 22 detects the inclination of the camera 16 with respect to a predetermined plane such as a floor surface or a table surface by using the inclination sensor 13. When the tilt of the camera 16 is equal to or less than a predetermined tilt threshold, the still image capturing unit 23 displays a still image including clothes placed in the clothes placement area on the plane and the reference object CD placed on the plane. 16 is used to generate image data. The calculation unit 24 calculates the size of the shoe based on the reference object CD and the clothing region in the image data. In the case of general clothes, the height that needs to be taken into consideration for the foot or the like can be ignored, so that the three-dimensional correction by the foot dimension calculation unit 27 does not have to be performed as described above.

上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の要旨を逸脱することなしに、他の様々な態様で本発明を実施することができる。   The above-described embodiments of the present invention are examples for explaining the present invention, and are not intended to limit the scope of the present invention only to those embodiments. Those skilled in the art can implement the present invention in various other modes without departing from the gist of the present invention.

10…携帯情報装置、12…記憶装置、13…センサー、14…スピーカー、15…タッチパネルディスプレイ、16…カメラ、17…通信モジュール、20…プロセッサ、21…ガイド部、22…検知部、23…静止画撮影部、24…計算部、25…平面補正部、26…足領域検出部、27…足寸法算出部、30…全体領域、31…足位置ガイド画像、32…足配置領域、32a…領域、33…縦方向直線(第1の直線)、34a…横方向直線(第2の直線、爪先線)、34b…横方向直線(第2の直線)、35…傾き表示画像、35a…気泡画像、41…直線、42…直線、43…床面 DESCRIPTION OF SYMBOLS 10 ... Portable information apparatus, 12 ... Memory | storage device, 13 ... Sensor, 14 ... Speaker, 15 ... Touch panel display, 16 ... Camera, 17 ... Communication module, 20 ... Processor, 21 ... Guide part, 22 ... Detection part, 23 ... Stationary Image capturing unit, 24 ... calculation unit, 25 ... planar correction unit, 26 ... foot region detection unit, 27 ... foot size calculation unit, 30 ... entire region, 31 ... foot position guide image, 32 ... foot placement region, 32a ... region 33 ... Vertical straight line (first straight line) 34a ... Horizontal straight line (second straight line, toe line) 34b ... Horizontal straight line (second straight line) 35 ... Tilt display image 35a ... Bubble image 41 ... straight line, 42 ... straight line, 43 ... floor surface

Claims (13)

カメラと傾きセンサーと処理部とを有し、
前記処理部は、
足を置く領域である足配置領域を示す足位置ガイド画像を、前記カメラにより取り込まれる映像であるカメラ映像に重畳し、
前記傾きセンサーを利用することにより、所定の平面に対する前記カメラの傾きを検知し、
前記カメラの傾きが所定の傾き閾値以下であるとき、前記平面上で前記足配置領域に置かれた足と所定の形状および大きさを表し前記平面に置かれた基準物とを含む静止画を前記カメラにより撮影して画像データを生成し、
前記画像データ内の前記基準物と前記足の領域とに基づいて前記足の寸法を算出する、
携帯情報装置。
A camera, a tilt sensor, and a processing unit;
The processor is
A foot position guide image indicating a foot placement area that is a foot placement area is superimposed on a camera video that is a video captured by the camera,
By detecting the tilt of the camera with respect to a predetermined plane by using the tilt sensor,
When the camera tilt is equal to or smaller than a predetermined tilt threshold, a still image including a foot placed on the foot placement area on the plane and a reference object representing a predetermined shape and size and placed on the plane. Shooting with the camera to generate image data,
Calculating the dimensions of the foot based on the reference and the foot region in the image data;
Portable information device.
前記処理部は、前記カメラ映像において踵を前後方向の中央近傍に位置させる前記足位置ガイド画像を表示する、請求項1に記載の携帯情報装置。   The portable information device according to claim 1, wherein the processing unit displays the foot position guide image for positioning a heel near the center in the front-rear direction in the camera image. 前記足配置領域は、前記カメラで撮影される全体領域のうち前方側にあり、前記全体領域の略半分の長さである、請求項2に記載の携帯情報装置。   The portable information device according to claim 2, wherein the foot placement area is on a front side of an entire area photographed by the camera and has a length approximately half of the entire area. 前記処理部は、右足を撮影するとき前記足位置ガイド画像を前記全体領域の右前方側に表示し、左足を撮影するとき前記足位置ガイド画像を前記全体領域の左前方側に表示する、請求項3に記載の携帯情報装置。   The processing unit displays the foot position guide image on the right front side of the whole area when photographing the right foot, and displays the foot position guide image on the left front side of the whole area when photographing the left foot. Item 4. The portable information device according to Item 3. 前記足位置ガイド画像は、足の最も長い部分を合わせる第1の直線と、前記第1の直線と交差し前記第1の直線の延びる方向に移動可能な2本の第2の直線と、を含み、
前記処理部は、2本の前記第2の直線の前記第1の直線との交点同士の距離に基づいて前記足の寸法を算出する、
請求項1に記載の携帯情報装置。
The foot position guide image includes: a first straight line that matches the longest part of the foot; and two second straight lines that intersect the first straight line and are movable in a direction in which the first straight line extends. Including
The processing unit calculates the size of the foot based on a distance between intersections of the two second lines with the first line.
The portable information device according to claim 1.
前記第2の直線は、ユーザ操作により手動で移動可能であり、かつ、画素値の変化が所定の画素値変化閾値以上ある前記第2の直線に最も近い位置に自動で移動可能である、請求項5に記載の携帯情報装置。   The second straight line can be manually moved by a user operation, and can be automatically moved to a position closest to the second straight line where a change in pixel value is equal to or greater than a predetermined pixel value change threshold. Item 6. The portable information device according to Item 5. 前記処理部は、前記傾きセンサーで検知される前記カメラの傾きを視覚的に表す傾き表示画像を表示する、
請求項1に記載の携帯情報装置。
The processing unit displays a tilt display image that visually represents the tilt of the camera detected by the tilt sensor.
The portable information device according to claim 1.
前記処理部は、前記カメラの傾きが前記傾き閾値を超えているとき、前記傾き表示画像にて撮影不可の状態であることを表わすとともに、前記カメラによる静止画の撮影を許可しない、請求項7に記載の携帯情報装置。   The processing unit indicates that when the tilt of the camera exceeds the tilt threshold, it indicates that the tilt display image is incapable of shooting, and does not allow shooting of a still image by the camera. The portable information device described in 1. 前記処理部は、
前記画像データ内の前記基準物の形状に基づき前記画像データにおける前記カメラの傾きによる歪を補正し、
補正後の前記画像データにおける前記足の領域を検出し、
検出された前記足の領域についての前記画像データ内の前記基準物に対する相対的な大きさに基づいて前記足の寸法を算出する、
請求項1に記載の携帯情報装置。
The processor is
Correcting distortion due to the tilt of the camera in the image data based on the shape of the reference object in the image data;
Detecting the area of the foot in the image data after correction;
Calculating the size of the foot based on the relative size of the detected foot region relative to the reference in the image data;
The portable information device according to claim 1.
前記処理部は、前記基準物と、前記足の領域と、前記カメラと爪先を結ぶ直線の前記平面に対する角度と、前記爪先の高さと、に基づいて、前記足の寸法を算出する、請求項9に記載の携帯情報装置。   The processing unit calculates the size of the foot based on the reference object, the foot region, an angle of a straight line connecting the camera and the toe to the plane, and a height of the toe. 9. The portable information device according to 9. 前記処理部は、
足を置く領域である足配置領域を示す足位置ガイド画像を、前記カメラにより取り込まれる映像であるカメラ映像に重畳するガイド部と、
前記傾きセンサーを利用することにより、所定の平面に対する前記カメラの傾きを検知する傾き検知部と、
前記カメラの傾きが前記傾き閾値以下であるとき、前記平面上で前記足配置領域に置かれた足と所定の形状および大きさを表し前記平面に置かれた基準物とを含む静止画を前記カメラにより撮影して画像データを生成する静止画撮影部と、
前記画像データ内の前記基準物の形状に基づき前記画像データにおける前記カメラの傾きによる歪を補正する平面補正部と、
補正後の前記画像データにおける前記足の領域を検出する足領域検出部と、
検出された前記足の領域の大きさと前記画像データにおける前記基準物の大きさとに基づいて前記足の寸法を算出する足寸法算出部と、
を有する、請求項1に記載の携帯情報装置。
The processor is
A guide unit that superimposes a foot position guide image indicating a foot placement area, which is a foot placement area, on a camera image that is an image captured by the camera;
An inclination detector that detects the inclination of the camera with respect to a predetermined plane by using the inclination sensor;
When the tilt of the camera is equal to or less than the tilt threshold, a still image including a foot placed in the foot placement area on the plane and a reference object representing a predetermined shape and size and placed on the plane A still image shooting unit for generating image data by shooting with a camera;
A plane correction unit that corrects distortion due to tilt of the camera in the image data based on the shape of the reference object in the image data;
A foot region detector for detecting the foot region in the image data after correction;
A foot size calculation unit that calculates the size of the foot based on the size of the detected foot region and the size of the reference object in the image data;
The portable information device according to claim 1, comprising:
カメラと傾きセンサーを備えた携帯情報装置による寸法測定方法であって、
ガイド手段が、足を置く領域である足配置領域を示す足位置ガイド画像を、前記カメラにより取り込まれる映像であるカメラ映像に重畳し、
傾き検知手段が、前記傾きセンサーを利用することにより、所定の平面に対する前記カメラの傾きを検知し、
静止画撮影手段が、前記カメラの傾きが所定の傾き閾値以下であるとき、前記平面上で前記足配置領域に置かれた足と所定の形状および大きさを表し前記平面に置かれた基準物とを含む静止画を前記カメラにより撮影して画像データを生成し、
計算手段が、前記画像データ内の前記基準物と前記足の領域とに基づいて前記足の寸法を算出する、
寸法測定方法。
A dimension measurement method using a portable information device including a camera and a tilt sensor
The guide means superimposes a foot position guide image indicating a foot placement area, which is an area where the foot is placed, on a camera video that is a video captured by the camera,
The tilt detection means detects the tilt of the camera with respect to a predetermined plane by using the tilt sensor,
When the still image photographing means has a tilt of the camera equal to or less than a predetermined tilt threshold, the foot placed in the foot placement area on the plane and a reference object placed on the plane representing a predetermined shape and size A still image including the above is taken by the camera to generate image data,
The calculation means calculates the size of the foot based on the reference object and the foot region in the image data.
Dimension measurement method.
カメラと傾きセンサーを備えた携帯情報装置により実行する寸法測定プログラムであって、
足を置く領域である足配置領域を示す足位置ガイド画像を、前記カメラにより取り込まれる映像であるカメラ映像に重畳する手順と、
前記傾きセンサーを利用することにより、所定の平面に対する前記カメラの傾きを検知する手順と、
前記カメラの傾きが所定の傾き閾値以下であるとき、前記平面上で前記足配置領域に置かれた足と所定の形状および大きさを表し前記平面に置かれた基準物とを含む静止画を前記カメラにより撮影して画像データを生成する手順と、
前記画像データ内の前記基準物と前記足の領域とに基づいて前記足の寸法を算出する手順と、をコンピュータに実行させるための寸法測定プログラム。
A dimension measurement program executed by a portable information device having a camera and a tilt sensor,
A procedure for superimposing a foot position guide image indicating a foot placement area, which is a foot placement area, on a camera video that is a video captured by the camera;
Detecting the tilt of the camera relative to a predetermined plane by using the tilt sensor;
When the camera tilt is equal to or smaller than a predetermined tilt threshold, a still image including a foot placed on the foot placement area on the plane and a reference object representing a predetermined shape and size and placed on the plane. A procedure for generating image data by photographing with the camera;
A dimension measurement program for causing a computer to execute a procedure for calculating the dimension of the foot based on the reference object and the foot region in the image data.
JP2016510545A 2015-08-03 2015-08-03 Portable information device, dimension measuring method, and dimension measuring program Expired - Fee Related JP6062599B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/071909 WO2017022045A1 (en) 2015-08-03 2015-08-03 Mobile information apparatus, dimension measuring method, and dimension measuring program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2016242388A Division JP2017075961A (en) 2016-12-14 2016-12-14 Mobile information device, size measurement method, and size measurement program

Publications (2)

Publication Number Publication Date
JP6062599B1 true JP6062599B1 (en) 2017-01-18
JPWO2017022045A1 JPWO2017022045A1 (en) 2017-08-03

Family

ID=57800028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016510545A Expired - Fee Related JP6062599B1 (en) 2015-08-03 2015-08-03 Portable information device, dimension measuring method, and dimension measuring program

Country Status (2)

Country Link
JP (1) JP6062599B1 (en)
WO (1) WO2017022045A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11066361B2 (en) 2012-07-19 2021-07-20 Cayman Chemical Company, Inc. Difluorolactam compounds as EP4 receptor-selective agonists for use in the treatment of EP4-mediated diseases and conditions

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102019122889B4 (en) * 2019-05-29 2022-12-22 eekual bionic GmbH Process for manufacturing a seamless shoe
JP7025550B2 (en) * 2019-07-17 2022-02-24 株式会社アシックス Measuring board and last data creation system
US11138771B2 (en) * 2020-02-03 2021-10-05 Apple Inc. Systems, methods, and graphical user interfaces for annotating, measuring, and modeling environments

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005023498A (en) * 2003-07-01 2005-01-27 Burein:Kk Method for ordering custom-made glove and computer for receiver of order used for the same
JP2007267996A (en) * 2006-03-31 2007-10-18 Plat'home Co Ltd Method for ordering shoe
JP2008224484A (en) * 2007-03-14 2008-09-25 Casio Comput Co Ltd Imaging device, dimension measurement method, dimension measurement program
WO2013026798A1 (en) * 2011-08-25 2013-02-28 Magari S.R.L. Method and system for optimised selection of footwear or clothing articles
DE102011121086A1 (en) * 2011-12-15 2013-06-20 Deichmann Se Measuring system for measuring limb of children foot for shoe size determination in house, evaluates captured images of limb by automated algorithm without requiring user interaction
WO2013099271A1 (en) * 2011-12-28 2013-07-04 山田電器工業株式会社 Dimension measuring method, electronic device with camera, and program for electronic device with camera
WO2013146269A1 (en) * 2012-03-29 2013-10-03 シャープ株式会社 Image capturing device, image processing method, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005023498A (en) * 2003-07-01 2005-01-27 Burein:Kk Method for ordering custom-made glove and computer for receiver of order used for the same
JP2007267996A (en) * 2006-03-31 2007-10-18 Plat'home Co Ltd Method for ordering shoe
JP2008224484A (en) * 2007-03-14 2008-09-25 Casio Comput Co Ltd Imaging device, dimension measurement method, dimension measurement program
WO2013026798A1 (en) * 2011-08-25 2013-02-28 Magari S.R.L. Method and system for optimised selection of footwear or clothing articles
DE102011121086A1 (en) * 2011-12-15 2013-06-20 Deichmann Se Measuring system for measuring limb of children foot for shoe size determination in house, evaluates captured images of limb by automated algorithm without requiring user interaction
WO2013099271A1 (en) * 2011-12-28 2013-07-04 山田電器工業株式会社 Dimension measuring method, electronic device with camera, and program for electronic device with camera
WO2013146269A1 (en) * 2012-03-29 2013-10-03 シャープ株式会社 Image capturing device, image processing method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11066361B2 (en) 2012-07-19 2021-07-20 Cayman Chemical Company, Inc. Difluorolactam compounds as EP4 receptor-selective agonists for use in the treatment of EP4-mediated diseases and conditions
US11884624B2 (en) 2012-07-19 2024-01-30 Cayman Chemical Company, Inc. Difluorolactam compounds as EP4 receptor-selective agonists for use in the treatment of EP4-mediated diseases and conditions

Also Published As

Publication number Publication date
JPWO2017022045A1 (en) 2017-08-03
WO2017022045A1 (en) 2017-02-09

Similar Documents

Publication Publication Date Title
CN108389212B (en) Method for measuring foot size and computer readable medium
JP5961945B2 (en) Image processing apparatus, projector and projector system having the image processing apparatus, image processing method, program thereof, and recording medium recording the program
US10091489B2 (en) Image capturing device, image processing method, and recording medium
EP3080550B1 (en) Laser receiver using a smart device
US10420397B2 (en) Foot measuring and sizing application
US8388146B2 (en) Anamorphic projection device
JP5921271B2 (en) Object measuring apparatus and object measuring method
JP6062599B1 (en) Portable information device, dimension measuring method, and dimension measuring program
US10091474B2 (en) Image processing device, image processing method, program and computer-readable storage medium
US10671173B2 (en) Gesture position correctiing method and augmented reality display device
KR101703013B1 (en) 3d scanner and 3d scanning method
KR101383818B1 (en) Method for measuring lengths, using mobile terminal and the system thereof
JP2020067978A (en) Floor detection program, floor detection method, and terminal device
KR101330531B1 (en) Method of virtual touch using 3D camera and apparatus thereof
JP2017075961A (en) Mobile information device, size measurement method, and size measurement program
WO2021192906A1 (en) Calculation method
JP2017116400A (en) Portable information device, dimension measuring method, and dimension measuring program
JP2017062748A (en) Alignment apparatus, alignment method, and alignment program
JP2013207745A (en) Image pickup device, image processing method, and program
US20140307053A1 (en) Method of prompting proper rotation angle for image depth establishing
JP7323234B2 (en) Guide method
KR102127978B1 (en) A method and an apparatus for generating structure
JP6730029B2 (en) Image processing device, image processing method, image processing program, and imaging device
CN116941861A (en) Foot shape measuring device and computer readable storage medium
TWI516744B (en) Distance estimation system, method and computer readable media

Legal Events

Date Code Title Description
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: 20161122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161214

R150 Certificate of patent or registration of utility model

Ref document number: 6062599

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees