Nothing Special   »   [go: up one dir, main page]

JP7172222B2 - Foot size measurement method, foot size measurement program, and foot size measurement device - Google Patents

Foot size measurement method, foot size measurement program, and foot size measurement device Download PDF

Info

Publication number
JP7172222B2
JP7172222B2 JP2018135242A JP2018135242A JP7172222B2 JP 7172222 B2 JP7172222 B2 JP 7172222B2 JP 2018135242 A JP2018135242 A JP 2018135242A JP 2018135242 A JP2018135242 A JP 2018135242A JP 7172222 B2 JP7172222 B2 JP 7172222B2
Authority
JP
Japan
Prior art keywords
image
foot
length
platform
mount
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.)
Active
Application number
JP2018135242A
Other languages
Japanese (ja)
Other versions
JP2020012736A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2018135242A priority Critical patent/JP7172222B2/en
Publication of JP2020012736A publication Critical patent/JP2020012736A/en
Application granted granted Critical
Publication of JP7172222B2 publication Critical patent/JP7172222B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Footwear And Its Accessory, Manufacturing Method And Apparatuses (AREA)

Description

本発明は、足のサイズ計測方法、足のサイズ計測プログラム及び足のサイズ計測装置に関する。 The present invention relates to a foot size measuring method, a foot size measuring program, and a foot size measuring device.

例えば、靴を購入する際、足のサイズに適した靴を選ぶために、例えば、足長や足幅等の足のサイズは重要である。従って、簡単に足のサイズを計測できる方法が求められている。足のサイズを計測する方法としては、例えば、計測対象の足を撮影し、撮影した1枚の静止画像内の足の輪郭から計測対象の足長を計測することになる。 For example, when purchasing shoes, the size of the foot, such as the length and width of the foot, is important in order to select shoes that are suitable for the size of the foot. Therefore, there is a demand for a method that can easily measure the size of the foot. As a method of measuring the size of the foot, for example, the foot to be measured is photographed, and the length of the foot to be measured is measured from the contour of the foot in one photographed still image.

特開2017-75961号公報JP 2017-75961 A 特開2007-267996号公報JP 2007-267996 A

しかしながら、計測対象の足の静止画像を撮影する場合、1回の撮影では足のつま先や踵付近に死角が生じ、1枚の静止画像で足の全ての輪郭を特定することは困難であるため、計測対象の足長を正確に計測できない。 However, when capturing a still image of the foot to be measured, blind spots occur near the toes and heels of the foot in one shot, and it is difficult to identify the entire contour of the foot in a single still image. , the foot length of the measurement object cannot be measured accurately.

一つの側面では、本発明は、撮影するだけで足長が算出可能になる足のサイズ計測方法等を提供することにある。 In one aspect, the present invention is to provide a foot size measuring method or the like that enables the foot length to be calculated simply by photographing.

一つの態様では、足のサイズ計測方法として、所定の大きさの台に置かれた足のつま先と台の第一の特徴点が含まれる第一の画像と、前記台に置かれた前記足の踵と前記台の第二の特徴点が含まれる第二の画像とを受け付ける。更に、前記第一の画像に含まれる前記第一の特徴点と前記台の縁から前記足のつま先までの第一の長さと前記第二の画像に含まれる前記第二の特徴点と前記台の縁から前記足の踵までの第二の長さとを前記台の長さから除いた長さとして足長を出力する。 In one aspect, as a foot size measurement method, a first image including a toe of a foot placed on a platform of a predetermined size and a first feature point of the platform, and the foot placed on the platform a second image containing the heel of the platform and a second feature point of the platform. Furthermore, the first feature point included in the first image, the first length from the edge of the platform to the toe of the foot, the second feature point included in the second image, and the platform The foot length is output as the length of the platform minus the second length from the edge of the foot to the heel of the foot.

一つの側面として、撮影するだけで足長が算出可能になる。 As one aspect, it becomes possible to calculate the leg length simply by taking a picture.

図1は、本実施例の足サイズ計測装置の一例を示す説明図である。FIG. 1 is an explanatory diagram showing an example of the foot size measuring device of this embodiment. 図2は、携帯端末のハードウェア構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of the hardware configuration of the mobile terminal. 図3は、サーバのハードウェア構成の一例を示すブロック図である。FIG. 3 is a block diagram illustrating an example of the hardware configuration of a server; 図4は、サーバの機能構成の一例を示すブロック図である。FIG. 4 is a block diagram illustrating an example of a functional configuration of a server; 図5Aは、第1の入力画像の撮像方法の一例を示す説明図である。FIG. 5A is an explanatory diagram showing an example of a method for capturing a first input image. 図5Bは、第2の入力画像の撮像方法の一例を示す説明図である。FIG. 5B is an explanatory diagram showing an example of a method for capturing a second input image. 図6は、第1の台紙領域抽出画像の取得完了までの処理画像の一例を示す説明図である。FIG. 6 is an explanatory diagram showing an example of processed images up to the completion of acquisition of the first mount area extraction image. 図7は、第1の長さの計測完了までの処理画像の一例を示す説明図である。FIG. 7 is an explanatory diagram showing an example of processed images up to completion of measurement of the first length. 図8は、第2の台紙領域抽出画像の取得完了までの処理画像の一例を示す説明図である。FIG. 8 is an explanatory diagram showing an example of processed images until the acquisition of the second mount area extraction image is completed. 図9は、第2の長さの計測完了までの処理画像の一例を示す説明図である。FIG. 9 is an explanatory diagram showing an example of processed images until the measurement of the second length is completed. 図10は、足幅の計測完了までの処理画像の一例を示す説明図である。FIG. 10 is an explanatory diagram showing an example of images processed until the measurement of the foot width is completed. 図11は、足サイズ計測処理に関わるサーバの処理動作の一例を示すフロー図である。FIG. 11 is a flow chart showing an example of the processing operation of the server involved in the foot size measurement process. 図12は、第1の台紙領域抽出処理に関わるサーバの処理動作の一例を示すフロー図である。FIG. 12 is a flow chart showing an example of the processing operation of the server involved in the first mount area extraction process. 図13は、第1の切出し処理に関わるサーバの処理動作の一例を示すフロー図である。FIG. 13 is a flow chart showing an example of the processing operation of the server involved in the first clipping process. 図14は、第1の計測処理に関わるサーバの処理動作の一例を示すフロー図である。FIG. 14 is a flowchart illustrating an example of the processing operation of the server involved in the first measurement processing; 図15は、第2の台紙領域抽出処理に関わるサーバの処理動作の一例を示すフロー図である。FIG. 15 is a flow chart showing an example of the processing operation of the server involved in the second board area extraction processing. 図16は、第2の切出し処理に関わるサーバの処理動作の一例を示すフロー図である。FIG. 16 is a flow chart showing an example of the processing operation of the server involved in the second clipping process. 図17は、第2の計測処理に関わるサーバの処理動作の一例を示すフロー図である。FIG. 17 is a flowchart illustrating an example of the processing operation of the server involved in the second measurement processing; 図18は、足幅計測処理に関わるサーバの処理動作の一例を示すフロー図である。FIG. 18 is a flowchart showing an example of the processing operation of the server involved in foot width measurement processing. 図19は、足のサイズ計測プログラムを実行する情報処理装置の一例を示す説明図である。FIG. 19 is an explanatory diagram showing an example of an information processing device that executes a foot size measurement program.

以下、図面に基づいて、本願の開示する足のサイズ計測装置等の実施例を詳細に説明する。尚、本実施例により、開示技術が限定されるものではない。また、以下に示す各実施例は、矛盾を起こさない範囲で適宜組み合わせても良い。 Hereinafter, embodiments of the foot size measuring device and the like disclosed in the present application will be described in detail based on the drawings. Note that the disclosed technology is not limited by the present embodiment. Moreover, each embodiment shown below may be appropriately combined within a range that does not cause contradiction.

図1は、本実施例の足のサイズ計測装置1の一例を示す説明図である。図1に示す足のサイズ計測装置1は、計測対象の足を載せる台紙2と、携帯端末3と、サーバ4とを有する。携帯端末3は、例えば、撮像機能及び通信機能を内蔵したスマートフォンやタブレット端末等の端末装置である。サーバ4は、例えば、靴メーカや靴販売店等に配置された各種計測処理を実行するコンピュータ等の情報処理装置である。携帯端末3とサーバ4とは、例えば、無線LAN(Local Area Network)ルータ5等を通じて無線通信可能な状態である。台紙2は、利用者の計測対象の足を載せる、例えば、A4規格サイズの用紙等の台である。尚、紙に限定されるものではなく、プラスチック等の台でも良く、適宜変更可能である。携帯端末3は、計測対象の足を台紙2に載せた状態の画像を撮影し、その撮影画像を無線LANルータ5経由でサーバ4に送信する。サーバ4は、携帯端末3から受信した撮影画像から足のサイズ計測結果を算出し、このサイズ計測結果を携帯端末3に送信する。 FIG. 1 is an explanatory diagram showing an example of a foot size measuring device 1 of this embodiment. A foot size measuring device 1 shown in FIG. The mobile terminal 3 is, for example, a terminal device such as a smart phone or a tablet terminal that incorporates an imaging function and a communication function. The server 4 is, for example, an information processing device such as a computer that executes various measurement processes and is located in a shoe manufacturer, a shoe store, or the like. The mobile terminal 3 and the server 4 are in a state of being able to wirelessly communicate via, for example, a wireless LAN (Local Area Network) router 5 or the like. The mount 2 is a mount such as A4 standard size paper on which the user's foot to be measured is placed. Note that the base is not limited to paper, and may be a base made of plastic or the like, and can be changed as appropriate. The portable terminal 3 captures an image of the foot to be measured placed on the mount 2 and transmits the captured image to the server 4 via the wireless LAN router 5 . The server 4 calculates the size measurement result of the foot from the photographed image received from the mobile terminal 3 and transmits the size measurement result to the mobile terminal 3 .

図2は、携帯端末3のハードウェア構成の一例を示すブロック図である。図2に示す携帯端末3は、通信装置11と、入力装置12と、出力装置13と、カメラ装置14と、ROM(Read Only Memory)15と、RAM(Random Access Memory)16と、CPU(Central Processing Unit)17と、バス18とを有する。通信装置11は、例えば、無線LANルータ5と無線通信する通信IF(Interface)である。入力装置12は、各種情報を入力する操作装置等の入力IFである。出力装置13は、各種情報を出力する、音響出力装置や表示装置等の出力IFである。カメラ装置14は、例えば、計測対象の足の静止画像を取得する。ROM15は、各種情報、例えば、プログラム等を格納する領域である。RAM16は、各種情報を記憶する領域である。CPU17は、携帯端末3全体を制御する。バス18は、通信装置11、入力装置12、出力装置13、カメラ装置14、ROM15、RAM16及びCPU17と接続するバスラインである。 FIG. 2 is a block diagram showing an example of the hardware configuration of the mobile terminal 3. As shown in FIG. The mobile terminal 3 shown in FIG. 2 includes a communication device 11, an input device 12, an output device 13, a camera device 14, a ROM (Read Only Memory) 15, a RAM (Random Access Memory) 16, a CPU (Central Processing Unit) 17 and a bus 18 . The communication device 11 is, for example, a communication IF (Interface) that wirelessly communicates with the wireless LAN router 5 . The input device 12 is an input interface such as an operation device for inputting various information. The output device 13 is an output IF such as a sound output device or a display device that outputs various information. The camera device 14 acquires, for example, a still image of the foot to be measured. The ROM 15 is an area for storing various information such as programs. The RAM 16 is an area for storing various information. The CPU 17 controls the mobile terminal 3 as a whole. A bus 18 is a bus line that connects the communication device 11 , the input device 12 , the output device 13 , the camera device 14 , the ROM 15 , the RAM 16 and the CPU 17 .

図3は、サーバ4のハードウェア構成の一例を示すブロック図である。図3に示すサーバ4は、通信装置21と、入力装置22と、出力装置23と、HDD(Hard Disk Drive)24と、ROM25と、RAM26と、CPU27と、バス28とを有する。通信装置21は、例えば、無線LANルータ5と無線接続する通信IFである。入力装置22は、各種情報を入力する操作装置等の入力IFである。出力装置23は、各種情報を出力する、例えば、音響出力装置や表示装置等の出力IFである。HDD24は、各種情報を記憶する領域である。ROM25は、各種情報、例えば、プログラム等を格納する領域である。RAM26は、各種情報を記憶する領域である。CPU27は、サーバ4全体を制御する。バス28は、通信装置21、入力装置22、出力装置23、HDD24、ROM25、RAM26及びCPU27と接続するバスラインである。 FIG. 3 is a block diagram showing an example of the hardware configuration of the server 4. As shown in FIG. The server 4 shown in FIG. 3 has a communication device 21 , an input device 22 , an output device 23 , a HDD (Hard Disk Drive) 24 , a ROM 25 , a RAM 26 , a CPU 27 and a bus 28 . The communication device 21 is, for example, a communication IF that wirelessly connects with the wireless LAN router 5 . The input device 22 is an input IF such as an operation device for inputting various information. The output device 23 is, for example, an output IF such as a sound output device or a display device that outputs various information. The HDD 24 is an area that stores various information. The ROM 25 is an area for storing various information such as programs. The RAM 26 is an area for storing various information. The CPU 27 controls the server 4 as a whole. A bus 28 is a bus line that connects the communication device 21 , the input device 22 , the output device 23 , the HDD 24 , the ROM 25 , the RAM 26 and the CPU 27 .

図4は、サーバ4の機能構成の一例を示すブロック図である。図3に示すサーバ4は、記憶部30と、制御部40とを有する。記憶部30は、例えば、RAM26、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、または、HDD24、光ディスク等の記憶装置に対応する。記憶部30は、画像メモリ31と、長さメモリ32とを有する。画像メモリ31は、計測対象の足の静止画像、例えば、後述する第1の入力画像61、第2の入力画像71、第1の台紙領域抽出画像64、第2の台紙領域抽出画像74等の各種画像を記憶する領域である。長さメモリ32は、例えば、計測対象の足に関わる、後述する第1の長さT1、第2の長さT2、足長L及び足幅W等を記憶する領域である。足長Lは、計測対象の足の長さ、足幅Wは、計測対象の足の幅である。 FIG. 4 is a block diagram showing an example of the functional configuration of the server 4. As shown in FIG. The server 4 shown in FIG. 3 has a storage unit 30 and a control unit 40 . The storage unit 30 corresponds to, for example, a semiconductor memory device such as the RAM 26 and flash memory, or a storage device such as the HDD 24 and an optical disk. The storage unit 30 has an image memory 31 and a length memory 32 . The image memory 31 stores still images of the foot to be measured, for example, a first input image 61, a second input image 71, a first mount area extraction image 64, a second mount area extraction image 74, etc., which will be described later. This is an area for storing various images. The length memory 32 is an area that stores, for example, a first length T1, a second length T2, a foot length L, a foot width W, and the like, which are related to the foot to be measured. The foot length L is the length of the foot to be measured, and the foot width W is the width of the foot to be measured.

制御部40は、例えば、CPU27等の電子回路に対応する。そして、制御部40は、各種の処理手順を規定したプログラムや制御データを格納するための内部メモリを有し、これらによって種々の処理を実行する。CPU27は、例えば、ROM25に格納されたプログラムをRAM26上に展開する。CPU27は、RAM26上に展開されたプログラムをプロセスとして実行することで、例えば、受付部41、計測部42及び出力部43として機能する。受付部41は、第1の画像である第1の入力画像61及び、第2の画像である第2の入力画像71を受け付ける。計測部42は、第1の入力画像61及び第2の入力画像71から計測対象の足の足長L及び足幅Wを計測する。出力部43は、足長L及び足幅W等の計測結果を出力する。 The control unit 40 corresponds to an electronic circuit such as the CPU 27, for example. The control unit 40 has an internal memory for storing programs defining various processing procedures and control data, and executes various processing using these. The CPU 27 expands, for example, programs stored in the ROM 25 onto the RAM 26 . The CPU 27 functions as, for example, a reception unit 41 , a measurement unit 42 and an output unit 43 by executing programs developed on the RAM 26 as processes. The receiving unit 41 receives a first input image 61 that is a first image and a second input image 71 that is a second image. The measurement unit 42 measures the foot length L and the foot width W of the foot to be measured from the first input image 61 and the second input image 71 . The output unit 43 outputs the measurement results of the foot length L, the foot width W, and the like.

計測部42は、第1の抽出部51と、第1の計測部52と、第2の抽出部53と、第2の計測部54と、足長計測部55と、足幅計測部56とを有する。第1の抽出部51は、第1の入力画像61から台紙2の領域である第1の台紙領域抽出画像64を抽出する。第1の計測部52は、抽出した第1の台紙領域抽出画像64から計測対象の足のつま先を特定し、台紙2の縁M1からつま先の先端A1までの第1の長さT1を計測する。第2の抽出部53は、第2の入力画像71から台紙2の領域である第2の台紙領域抽出画像74を抽出する。第2の計測部54は、抽出した第2の台紙領域抽出画像74から計測対象の足の踵を特定し、台紙2の縁M2から踵の先端A2までの第2の長さT2を計測する。足長計測部55は、第1の長さT1、第2の長さT2と台紙2の横辺の長さL1とに基づき、L1-(T1+T2)で足長Lを計測する。足幅計測部56は、第1の台紙領域抽出画像64から親指付け根Y1及び小指付け根Y2を特定し、親指付け根Y1と小指付け根Y2とを結ぶ直線で足幅Wを計測する。 The measurement unit 42 includes a first extraction unit 51, a first measurement unit 52, a second extraction unit 53, a second measurement unit 54, a foot length measurement unit 55, and a foot width measurement unit 56. have The first extraction unit 51 extracts a first mount area extraction image 64 that is the area of the mount 2 from the first input image 61 . The first measurement unit 52 identifies the toe of the foot to be measured from the extracted first mount area extraction image 64, and measures a first length T1 from the edge M1 of the mount 2 to the tip A1 of the toe. . The second extraction unit 53 extracts a second mount area extraction image 74 that is the area of the mount 2 from the second input image 71 . The second measurement unit 54 identifies the heel of the foot to be measured from the extracted second mount area extraction image 74, and measures a second length T2 from the edge M2 of the mount 2 to the tip A2 of the heel. . The leg length measurement unit 55 measures the leg length L by L1−(T1+T2) based on the first length T1, the second length T2, and the length L1 of the horizontal side of the mount 2. The foot width measurement unit 56 identifies the base of the big toe Y1 and the base of the little finger Y2 from the first mount area extraction image 64, and measures the foot width W by a straight line connecting the base of the big toe Y1 and the base of the little finger Y2.

図5Aは、第1の入力画像61の撮像方法の一例を示す説明図である。利用者は、台紙2としてA4規格の紙を準備し、台紙2上に計測対象の足を置く。尚、台紙2のサイズは、A4規格のサイズであって、足のサイズよりも大きめのため、台紙2上での足の位置決めが容易となる。そして、利用者は、計測対象の足を台紙2に載せ、例えば、台紙2の第1の特徴点である4角Xが見えるようにつま先の足を真上から携帯端末3のカメラ装置14で撮影する。図5Aに示す第1の入力画像61は、つま先と、台紙2の第1の特徴点である4角Xとを含む撮像画像である。 FIG. 5A is an explanatory diagram showing an example of a method for capturing the first input image 61. FIG. The user prepares A4 standard paper as the mount 2 and puts the foot to be measured on the mount 2 . The size of the mount 2 is the A4 size, which is larger than the size of the feet, so that the feet can be easily positioned on the mount 2. Then, the user puts the foot to be measured on the mount 2 and, for example, moves the toe of the foot from directly above so that the square X, which is the first characteristic point of the mount 2, can be seen with the camera device 14 of the mobile terminal 3. to shoot. A first input image 61 shown in FIG. 5A is a captured image including a toe and a square X that is the first feature point of the mount 2 .

図5Bは、第2の入力画像71の撮像方法の一例を示す説明図である。利用者は、例えば、第1の入力画像61を撮影した後、計測対象の足とは反対の足を一歩前に踏み出して台紙2の第2の特徴点である3辺Mが見えるように計測対象の足の踵を真上から携帯端末3のカメラ装置14で撮影する。図5Bに示す第2の入力画像71は、踵と、台紙2の第2の特徴点である3辺Mとを含む撮影画像である。携帯端末3は、第1の入力画像61及び第2の入力画像71を無線LANルータ5経由でサーバ4に通知する。 FIG. 5B is an explanatory diagram showing an example of a method for capturing the second input image 71. As shown in FIG. For example, after photographing the first input image 61, the user takes a step forward with the foot opposite to the foot to be measured, and measures so that three sides M, which are the second feature points of the mount 2, can be seen. The heel of the subject's foot is photographed from directly above with the camera device 14 of the portable terminal 3. - 特許庁A second input image 71 shown in FIG. 5B is a captured image including the heel and three sides M that are the second feature points of the mount 2 . The mobile terminal 3 notifies the server 4 of the first input image 61 and the second input image 71 via the wireless LAN router 5 .

図6は、第1の台紙領域抽出画像64の取得完了までの処理画像の一例を示す説明図である。第1の抽出部51は、第1の入力画像61を輝度の閾値処理で2値画像61Aに変換する。第1の抽出部51は、変換後の2値画像61Aから凸包62を生成し、凸包62から直線63を検出する。更に、第1の抽出部51は、検出した直線63で第1の入力画像61から台紙2の領域となる第1の台紙領域抽出画像64を抽出する。 FIG. 6 is an explanatory diagram showing an example of images processed until the acquisition of the first mount area extraction image 64 is completed. The first extraction unit 51 converts the first input image 61 into a binary image 61A by luminance threshold processing. The first extraction unit 51 generates a convex hull 62 from the transformed binary image 61A and detects a straight line 63 from the convex hull 62 . Further, the first extraction unit 51 extracts a first board area extraction image 64 that is the area of the board 2 from the first input image 61 along the detected straight line 63 .

図7は、第1の長さT1の計測完了までの処理画像の一例を示す説明図である。第1の計測部52は、第1の台紙領域抽出画像64を輝度の閾値処理で2値画像64Aに変換する。第1の計測部52は、変換後の2値画像64Aから足領域を特定する。第1の計測部52は、第1の台紙領域抽出画像64から足領域の先端部分を先端切出し画像65として切出し、先端切出し画像65を先端切出し2値画像65Aに変換する。第1の計測部52は、先端切出し2値画像65Aからつま先の先端A1を特定する。第1の計測部52は、第1の台紙領域抽出画像64から先端切出し2値画像65A相当の先端切出し画像65を取得し、先端切出し画像65内の台紙の辺M1からつま先の先端A1までの長さを第1の長さT1として計測する。 FIG. 7 is an explanatory diagram showing an example of processed images until the measurement of the first length T1 is completed. The first measurement unit 52 converts the first mount area extraction image 64 into a binary image 64A by luminance threshold processing. The first measurement unit 52 identifies the foot region from the converted binary image 64A. The first measurement unit 52 cuts out the tip portion of the foot region from the first mount region extraction image 64 as a tip clipped image 65, and converts the tip clipped image 65 into a tip clipped binary image 65A. The first measurement unit 52 identifies the tip A1 of the toe from the tip-cropped binary image 65A. The first measurement unit 52 obtains a top-cut image 65 equivalent to the top-cut binary image 65A from the first mount area extraction image 64, and measures the distance from the mount side M1 to the toe tip A1 in the top-cut image 65. Measure the length as the first length T1.

図8は、第2の台紙領域抽出画像74の取得完了までの処理画像の一例を示す説明図である。第2の抽出部53は、第2の入力画像71を輝度の閾値処理で2値画像71Aに変換する。第2の抽出部53は、変換後の2値画像71Aから横2本の直線72A及び縦1本の直線72Bを選択する。第2の抽出部53は、選択した横2本の直線72A及び縦1本の直線72Bの直線に新たな直線72Cを追加して四角形73を生成する。第2の抽出部53は、第2の入力画像71から四角形73で第2の台紙領域抽出画像74を抽出する。 FIG. 8 is an explanatory diagram showing an example of processed images until the acquisition of the second mount area extraction image 74 is completed. The second extraction unit 53 converts the second input image 71 into a binary image 71A by luminance threshold processing. The second extraction unit 53 selects two horizontal straight lines 72A and one vertical straight line 72B from the converted binary image 71A. The second extraction unit 53 generates a rectangle 73 by adding a new straight line 72C to the selected straight lines 72A and 72B. The second extraction unit 53 extracts a second mount area extraction image 74 from the second input image 71 with a rectangle 73 .

図9は、第2の長さの計測完了までの処理画像の一例を示す説明図である。第2の計測部54は、第2の台紙領域抽出画像74を輝度の閾値処理で2値画像74Aに変換する。第2の計測部54は、変換後の2値画像74Aから先端部分を切出して先端切出し2値画像75Aを取得する。第2の計測部54は、第2の台紙領域抽出画像74から先端切出し2値画像75A相当の先端切出し画像75を取得し、先端切出し画像75内の台紙の辺の縁M2から踵の先端A2までの長さを第2の長さT2として計測する。 FIG. 9 is an explanatory diagram showing an example of processed images until the measurement of the second length is completed. The second measurement unit 54 converts the second mount area extraction image 74 into a binary image 74A by luminance threshold processing. The second measurement unit 54 extracts the leading end portion from the converted binary image 74A to obtain a leading end clipped binary image 75A. The second measurement unit 54 acquires a tip clipped image 75 equivalent to the tip clipped binary image 75A from the second mount area extraction image 74, and calculates the tip A2 of the heel from the edge M2 of the side of the mount in the tip clipped image 75. is measured as a second length T2.

足長計測部55は、第1の入力画像61から計測した第1の長さT1と、第2の入力画像71から計測した第2の長さT2とを加算し、台紙2の横辺の長さL1から(T1+T2)を差し引いて足長Lを算出する。 The foot length measurement unit 55 adds the first length T1 measured from the first input image 61 and the second length T2 measured from the second input image 71, and calculates the horizontal side of the mount 2. The leg length L is calculated by subtracting (T1+T2) from the length L1.

図10は、足幅Wの計測完了までの処理画像の一例を示す説明図である。足幅計測部56は、第1の台紙領域抽出画像64を輝度の閾値処理で2値画像64Aに変換する。足幅計測部56は、変換後の2値画像64Aから足領域を特定する。足幅計測部56は、第1の台紙領域抽出画像64から足領域の先端部分を先端切出し画像66として切出し、先端切出し画像66を先端切出し2値画像66Aに変換する。足幅計測部56は、先端切出し2値画像66Aからx%削除し、削除後の2値画像66Bを取得する。足幅計測部56は、削除後の2値画像66Bをr度傾けた2値画像66Cの親指付け根Y1から小指付け根Y2までの足幅Wを計測する。足幅計測部56は、r度傾けた2値画像66Cの縦方向に最長となる位置を親指付け根Y1及び小指付け根Y2と特定し、これら親指付け根Y1と小指付け根Y2とで足幅Wを計測する。 FIG. 10 is an explanatory diagram showing an example of images processed until the measurement of the foot width W is completed. The foot width measurement unit 56 converts the first mount area extraction image 64 into a binary image 64A by luminance threshold processing. The foot width measurement unit 56 identifies the foot region from the converted binary image 64A. The foot width measurement unit 56 cuts out the tip portion of the foot region from the first mount region extraction image 64 as a tip clipped image 66, and converts the tip clipped image 66 into a tip clipped binary image 66A. The foot width measurement unit 56 deletes x% from the tip-cut binary image 66A to obtain a binary image 66B after deletion. The foot width measurement unit 56 measures the foot width W from the base of the big toe Y1 to the base of the little finger Y2 of the binary image 66C obtained by tilting the binary image 66B after deletion by r degrees. The foot width measurement unit 56 specifies the longest position in the vertical direction of the binary image 66C tilted by r degrees as the base of the big toe Y1 and the base of the little finger Y2, and measures the foot width W using the base of the big toe Y1 and the base of the little finger Y2. do.

出力部43は、足長計測部55で計測した足長Lと、足幅計測部56で計測した足幅Wとを含む計測対象の足のサイズ計測結果を出力する。出力部43は、例えば、足のサイズ計測結果を利用者の携帯端末3に通知する。その結果、携帯端末3の利用者は、計測対象の足のサイズを認識できる。また、出力部43は、足サイズ計測結果の他に、足サイズ計測結果に対応した靴を含む商品を携帯端末3に提示する。その結果、携帯端末3の利用者は、計測対象の足サイズに適した商品を認識できる。 The output unit 43 outputs the size measurement results of the foot to be measured, including the foot length L measured by the foot length measurement unit 55 and the foot width W measured by the foot width measurement unit 56 . The output unit 43 notifies the user's portable terminal 3 of the foot size measurement result, for example. As a result, the user of the mobile terminal 3 can recognize the size of the foot to be measured. In addition to the foot size measurement result, the output unit 43 presents to the portable terminal 3 products including shoes corresponding to the foot size measurement result. As a result, the user of the mobile terminal 3 can recognize products suitable for the foot size to be measured.

次に本実施例の足のサイズ計測装置1の動作について説明する。図11は、足サイズ計測処理に関わるサーバ4の処理動作の一例を示すフロー図である。図11においてサーバ4は、図5Aに示す第1の入力画像61を取得したか否かを判定する(ステップS11)。尚、第1の入力画像61は、計測対象の足のつま先及び台紙2の第1の特徴点を含む、携帯端末3で撮影した撮影画像である。サーバ4は、第1の入力画像61を取得した場合(ステップS11肯定)、第1の入力画像61を受け付ける(ステップS12)。 Next, the operation of the foot size measuring device 1 of this embodiment will be described. FIG. 11 is a flowchart showing an example of the processing operation of the server 4 involved in the foot size measurement process. In FIG. 11, the server 4 determines whether or not the first input image 61 shown in FIG. 5A has been obtained (step S11). The first input image 61 is a captured image captured by the mobile terminal 3 and includes the toe of the foot to be measured and the first characteristic point of the mount 2 . When the server 4 acquires the first input image 61 (Yes at step S11), the server 4 accepts the first input image 61 (step S12).

サーバ4は、図6に示すように、第1の入力画像61から第1の台紙領域抽出画像64を抽出する第1の台紙領域抽出処理を実行する(ステップS13)。サーバ4は、第1の台紙領域抽出画像64の抽出が成功したか否かを判定する(ステップS14)。サーバ4は、第1の台紙領域抽出画像64の抽出が成功した場合(ステップS14肯定)、図7に示すように、第1の台紙領域抽出画像64から第1の長さT1を計測する第1の計測処理を実行する(ステップS15)。尚、第1の長さT1は、台紙2の縁M1からつま先の先端A1までの長さである。サーバ4は、第1の長さT1及び第2の長さT2の両長さの計測が完了したか否かを判定する(ステップS16)。 As shown in FIG. 6, the server 4 executes a first mount area extraction process for extracting a first mount area extraction image 64 from the first input image 61 (step S13). The server 4 determines whether or not the extraction of the first mount area extraction image 64 has succeeded (step S14). When the extraction of the first mount area extraction image 64 is successful (Yes at step S14), the server 4 measures the first length T1 from the first mount area extraction image 64 as shown in FIG. 1 measurement processing is executed (step S15). The first length T1 is the length from the edge M1 of the mount 2 to the tip A1 of the toe. The server 4 determines whether or not the measurement of both the first length T1 and the second length T2 has been completed (step S16).

サーバ4は、両長さの計測が完了したのでない場合(ステップS16否定)、第1の入力画像61を取得したか否かを判定すべく、ステップS11に移行する。サーバ4は、第1の入力画像61を取得したのでない場合(ステップS11否定)、図5Bに示す第2の入力画像71を取得したか否かを判定する(ステップS17)。尚、第2の入力画像71波、計測対象の足の踵及び台紙2の第2の特徴点を含む、携帯端末3が撮影した撮影画像である。 If the measurement of both lengths has not been completed (No at step S16), the server 4 proceeds to step S11 to determine whether or not the first input image 61 has been acquired. If the server 4 has not acquired the first input image 61 (No at step S11), it determines whether or not the second input image 71 shown in FIG. 5B has been acquired (step S17). It is a captured image captured by the mobile terminal 3 including the second input image 71 wave, the heel of the foot to be measured, and the second feature point of the mount 2 .

サーバ4は、第2の入力画像71を取得した場合(ステップS17肯定)、第2の入力画像71を受け付ける(ステップS18)。サーバ4は、図8に示すように第2の入力画像71から第2の台紙領域抽出画像74を抽出する第2の台紙領域抽出処理を実行する(ステップS19)。サーバ4は、第2の台紙領域抽出画像74の抽出が成功したか否かを判定する(ステップS20)。 When the server 4 acquires the second input image 71 (Yes at step S17), the server 4 accepts the second input image 71 (step S18). The server 4 executes a second mount area extraction process for extracting a second mount area extraction image 74 from the second input image 71 as shown in FIG. 8 (step S19). The server 4 determines whether or not the extraction of the second mount area extraction image 74 has succeeded (step S20).

サーバ4は、第2の台紙領域抽出画像74の抽出が成功した場合(ステップS20肯定)、図9に示すように第2の台紙領域抽出画像74から第2の長さT2を計測する第2の計測処理を実行する(ステップS21)。尚、第2の長さT2は、台紙2の縁M2から踵の先端A2までの長さである。サーバ4は、第1の長さT1及び第2の長さT2の両長さの計測が完了したか否かを判定すべく、ステップS16に移行する。 When the extraction of the second mount area extraction image 74 is successful (Yes at step S20), the server 4 measures the second length T2 from the second mount area extraction image 74 as shown in FIG. is executed (step S21). The second length T2 is the length from the edge M2 of the mount 2 to the tip A2 of the heel. The server 4 proceeds to step S16 to determine whether or not the measurement of both the first length T1 and the second length T2 has been completed.

サーバ4は、台紙2の長さL1-(第1の長さT1+第2の長さT2)で足長Lを算出する(ステップS22)。サーバ4は、図10に示すように第1の入力画像61から足幅Wを計測する足幅計測処理を実行する(ステップS23)。更に、サーバ4は、足幅W及び足長Lを含む足サイズの計測結果を出力し(ステップS24)、図11に示す処理動作を終了する。 The server 4 calculates the leg length L by the length L1 of the mount 2-(first length T1+second length T2) (step S22). The server 4 executes foot width measurement processing for measuring the foot width W from the first input image 61 as shown in FIG. 10 (step S23). Further, the server 4 outputs the measurement result of the foot size including the foot width W and the foot length L (step S24), and ends the processing operation shown in FIG.

サーバ4は、第1の台紙領域抽出画像64の抽出が成功したのでない場合(ステップS14否定)、新たな第1の台紙領域抽出画像64を抽出すべく、第1の入力画像61を取得したか否かを判定すべく、ステップS11に移行する。サーバ4は、第2の台紙領域抽出画像74の抽出が成功したのでない場合(ステップS20否定)、新たな第2の台紙領域抽出画像74を抽出すべく、第1の入力画像61を取得したか否かを判定すべく、ステップS11に移行する。サーバ4は、第2の入力画像71を取得したのでない場合(ステップS17否定)、第1の入力画像61を取得したか否かを判定すべく、ステップS11に移行する。 The server 4 acquires the first input image 61 to extract a new first mount area extraction image 64 if the extraction of the first mount area extraction image 64 is not successful (No at step S14). In order to determine whether or not, the process proceeds to step S11. The server 4 acquires the first input image 61 to extract a new second mount area extraction image 74 if the extraction of the second mount area extraction image 74 is not successful (No at step S20). In order to determine whether or not, the process proceeds to step S11. If the server 4 has not acquired the second input image 71 (No at step S17), the process proceeds to step S11 to determine whether or not the first input image 61 has been acquired.

図11において足サイズ計測処理を実行するサーバ4は、つま先及び第1の特徴点を含む第1の入力画像61に基づき、台紙2の縁M1からつま先の先端A1までの第1の長さT1を計測する。更に、サーバ4は、踵及び第2の特徴点を含む第2の入力画像71に基づき、台紙2の縁M2から踵の先端A2までの第2の長さT2を計測する。その結果、サーバ4は、台紙2の横辺の長さL1-(T1+T2)で計測対象の足長Lを計測できる。 11, the server 4 executing the foot size measurement process calculates a first length T1 from the edge M1 of the mount 2 to the tip A1 of the toe based on the first input image 61 including the toe and the first feature point. to measure Further, the server 4 measures a second length T2 from the edge M2 of the mount 2 to the heel tip A2 based on the second input image 71 including the heel and the second feature point. As a result, the server 4 can measure the leg length L of the measurement target from the length L1-(T1+T2) of the horizontal side of the mount 2. FIG.

更に、サーバ4は、第1の入力画像61の第1の台紙領域抽出画像64から計測対象の足幅Wを計測する。そして、サーバ4は、計測対象の足長L及び足幅Wを足サイズの計測結果として出力する。その結果、利用者は、撮影画像だけで足長L及び足幅Wを簡単に計測できる。 Further, the server 4 measures the foot width W to be measured from the first mount area extraction image 64 of the first input image 61 . Then, the server 4 outputs the foot length L and the foot width W to be measured as the measurement result of the foot size. As a result, the user can easily measure the foot length L and the foot width W only from the photographed image.

図12は、第1の台紙領域抽出処理に関わるサーバ4の処理動作の一例を示すフロー図である。図12においてサーバ4内の第1の抽出部51は、図6に示すように第1の入力画像61を輝度の閾値処理で2値画像61Aに変換する(ステップS31)。第1の抽出部51は、変換後の2値画像61Aから第1の台紙領域抽出画像64を切出すべく、図13に示す第1の切出し処理を実行する(ステップS32)。 FIG. 12 is a flow chart showing an example of the processing operation of the server 4 involved in the first mount area extraction process. 12, the first extraction unit 51 in the server 4 converts the first input image 61 into a binary image 61A by luminance threshold processing as shown in FIG. 6 (step S31). The first extractor 51 executes the first clipping process shown in FIG. 13 to clip the first mount area extraction image 64 from the converted binary image 61A (step S32).

第1の抽出部51は、第1の切出し処理で第1の台紙領域抽出画像64の切出しに成功したか否かを判定する(ステップS33)。第1の抽出部51は、第1の台紙領域抽出画像64の切出しに成功した場合(ステップS33肯定)、第1の台紙領域抽出画像64の抽出に成功したと判断し(ステップS34)、図12に示す処理動作を終了する。 The first extraction unit 51 determines whether or not the extraction of the first mount area extraction image 64 has succeeded in the first extraction process (step S33). When the extraction of the first mount area extraction image 64 is successful (Yes at step S33), the first extraction unit 51 determines that the extraction of the first mount area extraction image 64 is successful (step S34). 12 ends.

第1の抽出部51は、第1の切出し処理で第1の台紙領域抽出画像64の切出しに成功しなかった場合(ステップS33否定)、第1の入力画像61を彩度の閾値処理で2値画像61Aに変換する(ステップS35)。第1の抽出部51は、変換後の2値画像61Aから第1の台紙領域抽出画像64を切出すべく、図12に示す第1の切出し処理を実行する(ステップS32A)。 If the first extracting process fails to extract the first mount area extracted image 64 (No at step S33), the first extracting unit 51 converts the first input image 61 to 2 by the saturation threshold process. It is converted into the value image 61A (step S35). The first extractor 51 executes the first clipping process shown in FIG. 12 in order to clip the first mount area extracted image 64 from the converted binary image 61A (step S32A).

第1の抽出部51は、ステップS32Aの第1の切出し処理で第1の台紙領域抽出画像64の切出しに成功したか否かを判定する(ステップS36)。第1の抽出部51は、第1の台紙領域抽出画像64の切出しに成功した場合(ステップS36肯定)、第1の台紙領域抽出画像64の抽出に成功したと判断すべく、ステップS34に移行する。 The first extraction unit 51 determines whether or not the first mount area extraction image 64 has been successfully extracted in the first extraction process of step S32A (step S36). When the extraction of the first mount area extraction image 64 is successful (Yes at step S36), the first extraction unit 51 proceeds to step S34 to determine that the first mount area extraction image 64 has been successfully extracted. do.

第1の抽出部51は、第1の台紙領域抽出画像64の切出しに成功しなかった場合(ステップS36否定)、第1の台紙領域抽出画像64の抽出に失敗と判断し(ステップS37)、図12に示す処理動作を終了する。 When the extraction of the first mount area extraction image 64 is not successful (No at step S36), the first extraction unit 51 determines that the extraction of the first mount area extraction image 64 has failed (step S37), The processing operation shown in FIG. 12 ends.

図12に示す第1の台紙領域抽出処理を実行するサーバ4は、第1の入力画像61を輝度閾値で2値画像61Aに変換し、変換後の2値画像61Aで第1の台紙領域抽出画像64の切出しに成功したか否かを判定する。その結果、サーバ4は、第1の入力画像61から輝度閾値を使用して第1の台紙領域抽出画像64を抽出できる。 The server 4 that executes the first mount area extraction process shown in FIG. 12 converts the first input image 61 into a binary image 61A using the luminance threshold, and extracts the first mount area from the converted binary image 61A. It is determined whether or not the image 64 has been cut out successfully. As a result, the server 4 can extract the first mount area extraction image 64 from the first input image 61 using the brightness threshold.

サーバ4は、輝度閾値の2値画像61Aで第1の台紙領域抽出画像64の切出しが失敗した場合、第1の入力画像61を彩度閾値で2値画像に変換し、変換後の2値画像で第1の台紙領域抽出画像64の切出しが成功したか否かを判定する。その結果、サーバ4は、第1の入力画像61から彩度閾値を使用して第1の台紙領域抽出画像64を抽出できる。 The server 4 converts the first input image 61 into a binary image with a saturation threshold when the clipping of the first mount area extraction image 64 fails with the binary image 61A with the luminance threshold, and It is determined whether or not the first mount area extraction image 64 has been successfully cut out from the image. As a result, the server 4 can extract the first mount area extraction image 64 from the first input image 61 using the saturation threshold.

図13は、第1の切出し処理に関わるサーバ4の処理動作の一例を示すフロー図である。図13に示すサーバ4内の第1の抽出部51は、変換後の2値画像61A内で面積が最大の領域を抽出する(ステップS41)。尚、最大の領域とは、図6に示す2値画像61A内の白の領域である。第1の抽出部51は、抽出した領域の凸包を生成する(ステップS42)。第1の抽出部51は、生成した凸包が四角形であるか否かを判定する(ステップS43)。 FIG. 13 is a flowchart showing an example of the processing operation of the server 4 related to the first clipping process. The first extraction unit 51 in the server 4 shown in FIG. 13 extracts a region having the largest area in the converted binary image 61A (step S41). The largest area is the white area in the binary image 61A shown in FIG. The first extraction unit 51 generates a convex hull of the extracted area (step S42). The first extraction unit 51 determines whether the generated convex hull is a quadrangle (step S43).

第1の抽出部51は、凸包が四角形の場合(ステップS43肯定)、四角形内の領域を第1の入力画像61から切出して台形補正する(ステップS44)。尚、台形補正では、四角形の縦横比を台紙2のサイズに合わせるように切出し画像を補正する。第1の抽出部51は、切出し画像の台形補正後、第1の台紙領域抽出画像64の切出しに成功と判断し(ステップS45)、図13に示す処理動作を終了する。 If the convex hull is a quadrangle (Yes at step S43), the first extraction unit 51 cuts out the quadrangle region from the first input image 61 and performs trapezoidal correction (step S44). In trapezoidal correction, the clipped image is corrected so that the aspect ratio of the rectangle matches the size of the mounting paper 2 . After the trapezoidal correction of the clipped image, the first extraction unit 51 determines that the clipping of the first mount area extraction image 64 has succeeded (step S45), and terminates the processing operation shown in FIG.

第1の抽出部51は、凸包が四角形でない場合(ステップS43否定)、抽出された領域の直線を検出する(ステップS46)。第1の抽出部51は、検出された直線で四角形が作成可能であるか否かを判定する(ステップS47)。第1の抽出部51は、四角形が作成可能でない場合(ステップS47否定)、第1の台紙領域抽出画像64の切出しに失敗と判断し(ステップS48)、図13に示す処理動作を終了する。 If the convex hull is not a quadrilateral (No at step S43), the first extraction unit 51 detects straight lines in the extracted region (step S46). The first extraction unit 51 determines whether or not a quadrangle can be created from the detected straight lines (step S47). When the rectangle cannot be created (No at step S47), the first extraction unit 51 determines that the extraction of the first mount area extraction image 64 has failed (step S48), and terminates the processing operation shown in FIG.

第1の抽出部51は、検出された直線で四角形が作成可能の場合(ステップS47肯定)、四角形の領域を第1の入力画像61から切出して台形補正すべく、ステップS44に移行する。 If a quadrangle can be created from the detected straight lines (Yes at step S47), the first extraction unit 51 proceeds to step S44 to extract a quadrangle region from the first input image 61 and perform trapezoidal correction.

図13に示す第1の切出し処理を実行するサーバ4は、2値画像61A中で面積が最大の領域を抽出し、抽出した領域の凸包を生成し、凸包が四角形の場合、四角形の領域を台形補正する。更に、サーバ4は、台形補正後の四角形を第1の入力画像61から切出して第1の台紙領域抽出画像64を取得する。その結果、サーバ4は、第1の入力画像61から足幅計測可能な第1の台紙領域抽出画像64を抽出できる。 The server 4 that executes the first extraction process shown in FIG. 13 extracts a region having the largest area in the binary image 61A, generates a convex hull of the extracted region, and if the convex hull is a quadrilateral, Keystone correct the region. Further, the server 4 obtains a first mount area extraction image 64 by extracting the quadrangle after keystone correction from the first input image 61 . As a result, the server 4 can extract from the first input image 61 the first mount area extraction image 64 on which the foot width can be measured.

サーバ4は、凸包が四角形でない場合、抽出された領域の直線を検出し、検出された直線で四角形が作成可能の場合、四角形の領域を台形補正する。更に、サーバ4は、台形補正後の四角形を第1の入力画像61から切出して第1の台紙領域抽出画像64を取得する。その結果、サーバ4は、第1の入力画像61から足幅計測可能な第1の台紙領域抽出画像64を抽出できる。 If the convex hull is not quadrilateral, the server 4 detects straight lines in the extracted area, and if the detected straight lines can form a quadrilateral, trapezoidally corrects the quadrilateral area. Further, the server 4 obtains a first mount area extraction image 64 by extracting the quadrangle after keystone correction from the first input image 61 . As a result, the server 4 can extract from the first input image 61 the first mount area extraction image 64 on which the foot width can be measured.

図14は、第1の計測処理に関わるサーバ4の処理動作の一例を示すフロー図である。図14においてサーバ4内の第1の計測部52は、図7に示すように第1の台紙領域抽出画像64を閾値処理で2値画像64Aに変換する(ステップS51)。第1の計測部52は、変換後の2値画像64Aから面積が最大の領域を抽出して第1の足領域と特定する(ステップS52)。尚、面積が最大の領域は、2値画像64A中の白地の第1の足領域である。第1の計測部52は、第1の台紙領域抽出画像64から台紙2の縁M1から第1の足領域の先端部分の切出し画像65を切出し、切出し画像65を2値画像65Aに変換する(ステップS53)。 FIG. 14 is a flowchart showing an example of processing operations of the server 4 related to the first measurement processing. 14, the first measurement unit 52 in the server 4 converts the first mount area extraction image 64 into a binary image 64A by threshold processing as shown in FIG. 7 (step S51). The first measurement unit 52 extracts a region having the largest area from the converted binary image 64A and identifies it as the first foot region (step S52). The region with the largest area is the white first leg region in the binary image 64A. The first measurement unit 52 cuts out a clipped image 65 of the tip portion of the first foot region from the edge M1 of the mount 2 from the first mount region extraction image 64, and converts the cutout image 65 into a binary image 65A ( step S53).

第1の計測部52は、変換後の2値画像65Aの台紙2の縁M1から最も近い第1の足領域の点をつま先の先端A1として特定する(ステップS54)。第1の計測部52は、台紙2の縁M1からつま先の先端A1までの長さを第1の長さT1として計測し(ステップS55)、図14に示す処理動作を終了する。 The first measurement unit 52 identifies the point of the first foot region closest to the edge M1 of the mount 2 in the converted binary image 65A as the toe tip A1 (step S54). The first measuring unit 52 measures the length from the edge M1 of the mount 2 to the tip A1 of the toe as the first length T1 (step S55), and ends the processing operation shown in FIG.

図14に示す第1の計測処理を実行するサーバ4は、第1の台紙領域抽出画像64から第1の足領域を抽出し、第1の足領域の先端をつま先とし、台紙2の縁M1からつま先の先端A1までの長さを第1の長さT1として計測できる。 The server 4 that executes the first measurement process shown in FIG. to the tip of the toe A1 can be measured as a first length T1.

図15は、第2の台紙領域抽出処理に関わるサーバ4の処理動作の一例を示すフロー図である。図15においてサーバ4内の第2の抽出部53は、図8に示す第2の入力画像71を輝度の閾値処理で2値画像71Aに変換する(ステップS61)。第2の抽出部53は、変換後の2値画像71Aから第2の台紙領域抽出画像74を切出すべく、図16に示す第2の切出し処理を実行する(ステップS62)。 FIG. 15 is a flow chart showing an example of the processing operation of the server 4 involved in the second board area extraction process. 15, the second extraction unit 53 in the server 4 converts the second input image 71 shown in FIG. 8 into a binary image 71A by luminance threshold processing (step S61). The second extraction unit 53 executes the second extraction process shown in FIG. 16 in order to extract the second mount area extraction image 74 from the converted binary image 71A (step S62).

第2の抽出部53は、第2の切出し処理で第2の台紙領域抽出画像74の切出しに成功したか否かを判定する(ステップS63)。第2の抽出部53は、第2の台紙領域抽出画像74の切出しに成功した場合(ステップS63肯定)、第2の台紙領域抽出画像74の抽出に成功したと判断し(ステップS64)、図16に示す処理動作を終了する。 The second extraction unit 53 determines whether or not the extraction of the second mount area extraction image 74 has succeeded in the second extraction process (step S63). When the extraction of the second mount area extraction image 74 is successful (Yes at step S63), the second extraction unit 53 determines that the extraction of the second mount area extraction image 74 is successful (step S64). 16 ends.

第2の抽出部53は、第2の切出し処理で第2の台紙領域抽出画像74の切出しに成功しなかった場合(ステップS63否定)、第2の入力画像71を彩度の閾値処理で2値画像71Aに変換する(ステップS65)。第2の抽出部53は、変換後の2値画像71Aから第2の台紙領域抽出画像74を切出すべく、図16に示す第2の切出し処理を実行する(ステップS62A)。 If the extraction of the second mount area extraction image 74 is not successful in the second extraction process (No in step S63), the second extraction unit 53 converts the second input image 71 to 2 by the saturation threshold process. It is converted into the value image 71A (step S65). The second extractor 53 executes the second clipping process shown in FIG. 16 to clip the second mount area extracted image 74 from the converted binary image 71A (step S62A).

第2の抽出部53は、ステップS62Aの第2の切出し処理で第2の台紙領域抽出画像74の切出しに成功したか否かを判定する(ステップS66)。第2の抽出部53は、第2の台紙領域抽出画像74の切出しに成功した場合(ステップS66肯定)、第2の台紙領域抽出画像74の抽出に成功したと判断すべく、ステップS64に移行する。 The second extraction unit 53 determines whether or not the extraction of the second mount area extraction image 74 has succeeded in the second extraction processing of step S62A (step S66). When the extraction of the second mount area extraction image 74 is successful (Yes at step S66), the second extraction unit 53 proceeds to step S64 to determine that the extraction of the second mount area extraction image 74 is successful. do.

第2の抽出部53は、第2の台紙領域抽出画像74の切出しに成功しなかった場合(ステップS66否定)、第2の台紙領域抽出画像74の抽出に失敗と判断し(ステップS67)、図15に示す処理動作を終了する。 If the extraction of the second mount area extraction image 74 is not successful (No at step S66), the second extraction unit 53 determines that the extraction of the second mount area extraction image 74 has failed (step S67), The processing operation shown in FIG. 15 ends.

図15に示す第2の台紙領域抽出処理を実行するサーバ4は、第2の入力画像71を輝度閾値で2値画像71Aに変換し、変換後の2値画像71Aで第2の台紙領域抽出画像74の切出しに成功したか否かを判定する。その結果、サーバ4は、第2の入力画像71から輝度閾値を使用して第2の台紙領域抽出画像74を抽出できる。 The server 4 that executes the second board area extraction process shown in FIG. 15 converts the second input image 71 into a binary image 71A using the luminance threshold, and extracts the second board area from the converted binary image 71A. It is determined whether or not the image 74 has been cut out successfully. As a result, the server 4 can extract the second mount area extraction image 74 from the second input image 71 using the brightness threshold.

サーバ4は、輝度閾値の2値画像71Aで第2の台紙領域抽出画像74の切出しが失敗した場合、第2の入力画像71を彩度閾値で2値画像に変換し、変換後の2値画像で第2の台紙領域抽出画像74の切出しが成功したか否かを判定する。その結果、サーバ4は、第2の入力画像71から彩度閾値を使用して第2の台紙領域抽出画像74を抽出できる。 The server 4 converts the second input image 71 into a binary image with a saturation threshold when the clipping of the second mount area extraction image 74 fails with the binary image 71A with the luminance threshold, and It is determined whether or not the extraction of the second mount area extraction image 74 has succeeded from the image. As a result, the server 4 can extract the second mount area extraction image 74 from the second input image 71 using the saturation threshold.

図16は、第2の切出し処理に関わるサーバ4の処理動作の一例を示すフロー図である。図16に示すサーバ4内の第2の抽出部53は、変換後の2値画像71A内で面積が最大の領域を抽出する(ステップS71)。尚、最大の領域とは、図8に示す2値画像71A内の白の領域である。第2の抽出部53は、抽出した領域の直線を検出する(ステップS72)。第2の抽出部53は、2値画像71Aからエッジの強い2本の横の直線72A及び1本の縦の直線72Bを選択し(ステップS73)、抽出された領域を包括するように直線72Cを追加する(ステップS74)。第2の抽出部53は、選択の直線72A及び72Bと追加の直線72Cとで四角形が作成できるか否かを判定する(ステップS75)。 FIG. 16 is a flowchart showing an example of the processing operation of the server 4 related to the second clipping process. The second extraction unit 53 in the server 4 shown in FIG. 16 extracts a region having the largest area in the converted binary image 71A (step S71). The largest area is the white area in the binary image 71A shown in FIG. The second extraction unit 53 detects straight lines in the extracted area (step S72). The second extraction unit 53 selects two horizontal straight lines 72A and one vertical straight line 72B with strong edges from the binary image 71A (step S73), and extracts a straight line 72C so as to include the extracted area. is added (step S74). The second extraction unit 53 determines whether or not a quadrangle can be created from the selected straight lines 72A and 72B and the additional straight line 72C (step S75).

第2の抽出部53は、四角形が作成できる場合(ステップS75肯定)、作成した四角形の領域を第2の台紙領域抽出画像74として第2の入力画像71から切出す(ステップS76)。第2の抽出部53は、第2の台紙領域抽出画像74の切出しに成功したか否かを判定する(ステップS77)。第2の抽出部53は、四角形が作成できない場合(ステップS75否定)、第2の台紙領域抽出画像74の切出しに失敗と判断し(ステップS78)、図16に示す処理動作を終了する。 If a quadrangle can be created (Yes at step S75), the second extraction unit 53 extracts the created quadrangle area from the second input image 71 as the second mount area extraction image 74 (step S76). The second extraction unit 53 determines whether or not the extraction of the second mount area extraction image 74 has succeeded (step S77). If a rectangle cannot be created (No at step S75), the second extraction unit 53 determines that the extraction of the second mount area extraction image 74 has failed (step S78), and terminates the processing operation shown in FIG.

図16に示す第2の切出し処理を実行するサーバ4は、2値画像71A中で面積が最大の領域を抽出し、抽出した領域内のエッジの強い直線と追加直線とで四角形を作成し、四角形を第2の入力画像71から切出して第2の台紙領域抽出画像74を取得する。その結果、サーバ4は、第2の入力画像71から第2の台紙領域抽出画像74を抽出できる。 The server 4 that executes the second extraction process shown in FIG. 16 extracts a region having the largest area in the binary image 71A, creates a quadrangle with straight lines with strong edges and additional straight lines in the extracted region, A second mount area extraction image 74 is obtained by cutting out a rectangle from the second input image 71 . As a result, the server 4 can extract the second mount area extraction image 74 from the second input image 71 .

図17は、第2の計測処理に関わるサーバ4の処理動作の一例を示すフロー図である。図17においてサーバ4内の第2の計測部54は、図9に示すように第2の台紙領域抽出画像74を閾値処理で2値画像74Aに変換する(ステップS81)。第2の計測部54は、変換後の2値画像74Aから面積が最大の領域を抽出して第2の足領域と特定する(ステップS82)。尚、面積が最大の領域は、2値画像74A中の白地の第2の足領域である。第2の計測部54は、第2の台紙領域抽出画像74から台紙2の縁M2から第2の足領域の先端部分の切出し画像を切出し、切出し画像を2値画像75Aに変換する(ステップS83)。 FIG. 17 is a flowchart showing an example of the processing operation of the server 4 related to the second measurement process. 17, the second measurement unit 54 in the server 4 converts the second mount area extraction image 74 into a binary image 74A by threshold processing as shown in FIG. 9 (step S81). The second measurement unit 54 extracts a region having the largest area from the converted binary image 74A and identifies it as the second foot region (step S82). The region with the largest area is the white second leg region in the binary image 74A. The second measurement unit 54 cuts out a clipped image of the tip portion of the second foot region from the edge M2 of the mount 2 from the second mount region extraction image 74, and converts the cutout image into a binary image 75A (step S83). ).

第2の計測部54は、変換後の2値画像75Aの台紙2の縁M2から最も近い第2の足領域の点を踵の先端A2として特定する(ステップS84)。第2の計測部54は、台紙2の縁M2から踵の先端A2までの長さを第2の長さT2として計測し(ステップS85)、図17に示す処理動作を終了する。 The second measurement unit 54 identifies the point of the second foot region closest to the edge M2 of the mount 2 in the converted binary image 75A as the tip A2 of the heel (step S84). The second measuring unit 54 measures the length from the edge M2 of the mount 2 to the tip A2 of the heel as the second length T2 (step S85), and ends the processing operation shown in FIG.

図17に示す第2の計測処理を実行するサーバ4は、第2の台紙領域抽出画像74から第2の足領域を抽出し、第2の足領域の先端を踵とし、台紙2の縁M2から踵の先端A2までの長さを第2の長さT2として計測できる。その結果、L1-(T1+T2)で足長を算出できる。 The server 4 that executes the second measurement process shown in FIG. to the heel tip A2 can be measured as a second length T2. As a result, the leg length can be calculated by L1-(T1+T2).

図18は、足幅計測処理に関わるサーバ4の処理動作の一例を示すフロー図である。図18においてサーバ4内の足幅計測部56は、第1の台紙領域抽出画像64を閾値処理で2値画像64Aに変換する(ステップS91)。足幅計測部56は、変換後の2値画像64A中で面積が最大の領域を抽出して第1の足領域と特定する(ステップS92)。尚、2値画像64A内の面積が最大の領域は、例えば、白地の第1の足領域である。 FIG. 18 is a flowchart showing an example of the processing operation of the server 4 relating to the foot width measurement process. In FIG. 18, the foot width measurement unit 56 in the server 4 converts the first mount area extraction image 64 into a binary image 64A by threshold processing (step S91). The foot width measurement unit 56 extracts the region having the largest area in the converted binary image 64A and identifies it as the first foot region (step S92). Note that the area having the largest area in the binary image 64A is, for example, the white first foot area.

足幅計測部56は、台紙2の縁から第1の足領域の先端までの切出し画像66を2値画像66Aに変換し(ステップS93)、2値の切出し画像66Aの第1の足領域の先端からx%を除外する(ステップS94)。足幅計測部56は、x%除外後の第1の足領域をr度傾けて最も縦方向に長い位置を探索し、その両端の点を親指付け根Y1及び小指付け根Y2と特定する(ステップS95)。 The foot width measurement unit 56 converts the clipped image 66 from the edge of the mount 2 to the tip of the first foot region into a binary image 66A (step S93), and calculates the first leg region of the binary clipped image 66A. Exclude x% from the top (step S94). The foot width measurement unit 56 tilts the first foot region after x% exclusion by r degrees to search for the longest position in the vertical direction, and specifies the points at both ends as the base of the big toe Y1 and the base of the little finger Y2 (step S95). ).

足幅計測部56は、特定された親指付け根Y1と小指付け根Y2とで足幅Wを特定し(ステップS96)、特定された足幅Wを計測し(ステップS97)、図18に示す処理動作を終了する。 The foot width measurement unit 56 identifies the foot width W from the identified thumb base Y1 and little finger base Y2 (step S96), measures the identified foot width W (step S97), and performs the processing operation shown in FIG. exit.

図18に示す足幅計測処理を実行するサーバ4は、第1の入力画像61から第1の足領域を抽出し、抽出した第1の足領域の先端部分をx%削除し、削除後の第1の足領域を所定角度rに傾けて縦方向に最長となる位置を特定する。更に、サーバ4は、これら特定された位置(親指付け根及び小指付け根)で足幅Wを計測する。その結果、撮影画像から計測対象の足幅を計測できる。 The server 4, which executes the foot width measurement process shown in FIG. The first foot region is tilted at a predetermined angle r, and the longest position in the vertical direction is identified. Furthermore, the server 4 measures the foot width W at these specified positions (the base of the big toe and the base of the little finger). As a result, the foot width of the measurement target can be measured from the captured image.

本実施例の足のサイズ計測装置1では、所定の大きさの台紙2に置かれた足のつま先と第1の特徴点が含まれる第1の入力画像61と、台紙2に置かれた足の踵と第2の特徴点が含まれる第2の入力画像を受け付ける。足のサイズ計測装置1では、第1の入力画像61内の台紙2の縁M1からつま先の先端A1までの第1の長さT1と第2の入力画像71内の台紙2の縁M2から踵の先端A2までの第2の長さT2とを台紙2の長さL1から除いた長さとして足長Lを出力する。その結果、撮影画像だけで足長Lを簡単に算出できる。一般的に、計測対象の足は台紙2の上方から見下ろすと台紙2に接する領域に重畳する部分を含む形状であり、一回の撮影では台紙2に接する領域の全ての輪郭が撮影できない。しかしながら、本実施例の足のサイズ計測装置1では、足の輪郭の全てを特定するものではなく、つま先と第1の特徴点とを含む第1の入力画像61と、踵と第2の特徴点とを含む第2の入力画像71とを用いる。その結果、足の全ての輪郭がなくても、足幅W及び足長Lを計測できる。 In the foot size measuring device 1 of the present embodiment, a first input image 61 including the toe of the foot placed on the mount 2 of a predetermined size and the first feature point, and the foot placed on the mount 2 receive a second input image containing the heel of the foot and a second feature point. In the foot size measuring device 1, the first length T1 from the edge M1 of the mount 2 to the tip of the toe A1 in the first input image 61 and the heel from the edge M2 of the mount 2 in the second input image 71 The foot length L is output as the length obtained by subtracting the second length T2 from the length L1 of the mount 2 to the tip A2. As a result, the leg length L can be easily calculated only from the photographed image. In general, the foot to be measured has a shape including a portion overlapping the area in contact with the mount 2 when viewed from above the mount 2, and the entire outline of the area in contact with the mount 2 cannot be photographed in one shot. However, the foot size measuring device 1 of this embodiment does not specify the entire contour of the foot. A second input image 71 containing points is used. As a result, the foot width W and the foot length L can be measured without the entire contour of the foot.

第1の入力画像61は、台紙2の四角を含む画像であって、第2の入力画像71は、台紙2の三辺を含む画像であるため、第1の長さT1と、第2の長さT2と、台紙2の長さL1に基づき、足長Lを算出できる。 Since the first input image 61 is an image including squares of the mount 2 and the second input image 71 is an image including three sides of the mount 2, the first length T1 and the second Based on the length T2 and the length L1 of the mount 2, the leg length L can be calculated.

足のサイズ計測装置1では、第1の入力画像61から足領域を抽出し、抽出した足領域の先端部分を削除し、削除後の足領域を所定角度に傾けて所定方向に最長となる位置(親指付け根Y1及び小指付け根Y2)を特定する。足のサイズ計測装置1では、これら特定された位置で足幅Wを計測する。その結果、撮影画像だけで足幅Wを簡単に算出できる。 The foot size measuring device 1 extracts the foot region from the first input image 61, deletes the tip portion of the extracted foot region, tilts the deleted foot region at a predetermined angle, and determines the longest position in the predetermined direction. Specify (thumb base Y1 and little finger base Y2). The foot size measuring device 1 measures the foot width W at these specified positions. As a result, the foot width W can be easily calculated only from the photographed image.

足のサイズ計測装置1では、第1の入力画像61から第1の台紙領域抽出画像64を抽出し、第1の台紙領域抽出画像64から足領域を抽出し、抽出した足領域から足のつま先を特定する。更に、足のサイズ計測装置1では、第2の入力画像71から第2の台紙領域抽出画像74を抽出し、第2の台紙領域抽出画像74から足領域を抽出し、抽出した足領域から足の踵を特定する。その結果、撮影画像から計測対象の足のつま先及び踵を特定できる。 The foot size measuring device 1 extracts a first mount area extraction image 64 from a first input image 61, extracts a foot area from the first mount area extraction image 64, and measures the toe of the foot from the extracted foot area. identify. Further, the foot size measuring device 1 extracts a second mount area extraction image 74 from the second input image 71, extracts a foot area from the second mount area extraction image 74, and extracts a foot area from the extracted foot area. identify the heel of the As a result, the toe and heel of the foot to be measured can be identified from the captured image.

足のサイズ計測装置1では、第1の入力画像61から輝度の閾値で2値画像61Aに変換し、変換後の2値画像61Aから第1の台紙領域抽出画像64の抽出が失敗した場合に、第1の入力画像61から彩度の閾値で2値画像に変換する。更に、足のサイズ計測装置1では、変換後の2値画像から第1の台紙領域抽出画像64を抽出する。その結果、第1の入力画像61から輝度又は彩度で第1の台紙領域抽出画像64を抽出できる。 In the foot size measuring device 1, the first input image 61 is converted into a binary image 61A using a brightness threshold. , the first input image 61 is converted into a binary image using a saturation threshold. Furthermore, the foot size measuring device 1 extracts the first mount area extraction image 64 from the converted binary image. As a result, the first mount area extraction image 64 can be extracted from the first input image 61 with luminance or saturation.

足のサイズ計測装置1では、台紙2のサイズを一般的な足サイズよりも大きい用紙とするため、台紙2上に計測対象の足を置くだけで足領域が抽出し易く、計測対象の足の位置決めが容易となる。しかも、台紙2はA4規格の用紙で済むため、その入手が容易である。本実施例では、台紙2のサイズを足よりも大きい用紙とするため、撮影時の歪の影響を小さくすることで足長Lを正確に計測できる。 In the foot size measuring device 1, since the size of the mount 2 is a sheet larger than a general foot size, the foot area can be easily extracted simply by placing the foot to be measured on the mount 2, and the size of the foot to be measured can be easily extracted. Positioning becomes easier. Moreover, the mounting paper 2 can be easily obtained because it can be an A4 standard paper. In this embodiment, since the size of the mount 2 is larger than the size of the foot, the foot length L can be accurately measured by reducing the influence of distortion during photographing.

尚、説明の便宜上、実施例1の足のサイズ計測装置1はサーバ4で実行する場合を例示したが、クラウドで実行しても良く、クラウドで第1の入力画像61及び第2の入力画像71から足幅W及び足長Lを計測しても良く、適宜変更可能である。また、足のサイズ計測装置1は、サーバ4ではなく、携帯端末3内のアプリケーションを用いて、第1の入力画像61及び第2の入力画像71から足幅W及び足長Lを計測しても良く、適宜変更可能である。 For convenience of explanation, the case where the foot size measuring device 1 of the first embodiment is executed by the server 4 has been exemplified. Foot width W and foot length L may be measured from 71, and can be changed as appropriate. Further, the foot size measuring device 1 measures the foot width W and the foot length L from the first input image 61 and the second input image 71 using an application in the mobile terminal 3 instead of the server 4. is good and can be changed accordingly.

携帯端末3は、無線LANルータ5経由でサーバ4と無線接続する場合を例示したが、無線LANルータ5を経由することなく、携帯端末3からサーバ4に有線又は無線で直接接続しても良く、適宜変更可能である。 Although the case where the mobile terminal 3 is wirelessly connected to the server 4 via the wireless LAN router 5 has been exemplified, the mobile terminal 3 may be directly connected to the server 4 by wire or wirelessly without via the wireless LAN router 5. , can be changed as appropriate.

台紙2は、例えば、A4規格の紙を例示したが、例えば、雑誌、新聞紙やチラシ等の四角形状の台であれば良く、適宜変更可能である。また、台として、例えばA4規格の台紙2をデフォルトに設定し、利用者の設定操作に応じて複数種の台から任意の台を選択しても良い。この場合、サーバ4は、各種の台毎に辺の長さを記憶しておくものとする。また、台紙2は、四角形状の長方形を例示したが、正方形でも良く、適宜変更可能である。 Although the mount 2 is, for example, an A4 standard paper, it may be a rectangular mount for magazines, newspapers, flyers, or the like, and can be changed as appropriate. Also, as the table, for example, the A4 standard mount 2 may be set as a default, and an arbitrary table may be selected from a plurality of types of tables according to the user's setting operation. In this case, it is assumed that the server 4 stores the length of the side for each type of base. Also, although the mounting paper 2 has been exemplified as a square rectangle, it may be a square, and can be changed as appropriate.

上記実施例では、第1の計測処理及び第2の計測処理の何れか一方を実行する場合を例示したが、第1の計測処理及び第2の計測処理を並列に実行しても良く、適宜変更可能である。 In the above embodiment, the case where either one of the first measurement process and the second measurement process is executed was exemplified, but the first measurement process and the second measurement process may be executed in parallel. Can be changed.

更に、実施例では、足長を計測した後、足幅計測処理を実行する場合を例示したが、足長を計測する前に足幅計測処理を実行しても良く、適宜変更可能である。 Furthermore, in the embodiment, the case where the foot width measurement process is executed after measuring the foot length is illustrated, but the foot width measurement process may be executed before measuring the foot length, and can be changed as appropriate.

実施例では、足長を計測した後に、足幅計測処理を実行する場合を例示したが、第1の計測処理と足幅計測処理とを並列又はシリアルに実行しても良く、適宜変更可能である。 In the embodiment, the foot width measurement process is executed after the foot length is measured, but the first measurement process and the foot width measurement process may be executed in parallel or serially, and can be changed as appropriate. be.

また、上記実施例では、携帯端末3のカメラ装置14で第1の特徴点及び足のつま先を真上から撮影した第1の入力画像61と、第2の特徴点及び足の踵を真上から撮影した第2の入力画像71を取得する場合を例示した。そこで、携帯端末3では、例えば、アプリケーションで、カメラ装置14で撮影した第1の入力画像61内に第1の特徴点やつま先があるか否かを判定し、第1の入力画像61内に第1の特徴点等が無い場合にエラーを利用者に通知するような仕組みを備えても良い。同様に、携帯端末3は、カメラ装置14で撮影した第2の入力画像71内に第2の特徴点や踵があるか否かを判定し、第2の入力画像71内に第2の特徴点等が無い場合にエラーを利用者に通知しても良い。 In the above embodiment, the first input image 61 captured by the camera device 14 of the mobile terminal 3 from directly above the first feature point and the toe of the foot, and the second input image 61 with the second feature point and the heel of the foot photographed directly above The case of obtaining the second input image 71 photographed from . Therefore, in the mobile terminal 3, for example, an application determines whether or not the first input image 61 photographed by the camera device 14 includes the first feature point and the toes. A mechanism may be provided to notify the user of an error when there is no first feature point or the like. Similarly, the mobile terminal 3 determines whether or not the second input image 71 photographed by the camera device 14 includes the second feature point and the heel, and determines whether the second input image 71 includes the second feature point. If there are no points or the like, an error may be notified to the user.

また、図示した各部の各構成要素は、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各部の分散・統合の具体的形態は図示のものに限られず、その全部又は一部を、各種の負荷や使用状況等に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。 Also, each constituent element of each part illustrated does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution and integration of each part is not limited to the one shown in the figure, and all or part of it can be functionally or physically distributed and integrated in arbitrary units according to various loads and usage conditions. can be configured as

更に、各装置で行われる各種処理機能は、CPU(Central Processing Unit)(又はMPU(Micro Processing Unit)、MCU(Micro Controller Unit)等のマイクロ・コンピュータ)上で、その全部又は任意の一部を実行するようにしても良い。また、各種処理機能は、CPU(又はMPU、MCU等のマイクロ・コンピュータ)で解析実行するプログラム上、又はワイヤードロジックによるハードウェア上で、その全部又は任意の一部を実行するようにしても良いことは言うまでもない。 Furthermore, the various processing functions performed by each device are implemented on a CPU (Central Processing Unit) (or a microcomputer such as an MPU (Micro Processing Unit) or MCU (Micro Controller Unit)), in whole or in part. You can make it run. In addition, various processing functions may be executed in whole or in part on a program analyzed and executed by a CPU (or a microcomputer such as an MPU or MCU) or on hardware based on wired logic. Needless to say.

ところで、本実施例で説明した各種の処理は、予め用意されたプログラムを情報処理装置で実行することで実現できる。そこで、以下では、上記実施例と同様の機能を有するプログラムを実行する情報処理装置の一例を説明する。図19は、足のサイズ計測プログラムを実行する情報処理装置100の一例を示す説明図である。 By the way, various kinds of processing described in this embodiment can be realized by executing a program prepared in advance by an information processing apparatus. Therefore, an example of an information processing apparatus that executes a program having functions similar to those of the above embodiment will be described below. FIG. 19 is an explanatory diagram showing an example of the information processing device 100 that executes the foot size measurement program.

図19に示す足のサイズ計測プログラムを実行する情報処理装置100では、通信装置110と、入力装置120と、出力装置130と、ROM140と、RAM150と、CPU160と、バス170とを有する。 Information processing apparatus 100 for executing the foot size measurement program shown in FIG.

そして、ROM140には、上記実施例と同様の機能を発揮する足のサイズ計測プログラムが予め記憶されている。尚、ROM140ではなく、図示せぬドライブで読取可能な記録媒体に足のサイズ計測プログラムが記録されていても良い。また、記録媒体としては、例えば、CD-ROM、DVDディスク、USBメモリ、SDカード等の可搬型記録媒体、フラッシュメモリ等の半導体メモリ等でも良い。足のサイズ計測プログラムとしては、図19に示すように、受付プログラム140A及び出力プログラム140Bである。尚、プログラム140A及び140Bについては、適宜統合又は分散しても良い。 The ROM 140 pre-stores a foot size measurement program that performs the same function as in the above embodiment. The foot size measurement program may be recorded in a recording medium readable by a drive (not shown) instead of the ROM 140 . The recording medium may be, for example, a CD-ROM, a DVD disk, a USB memory, a portable recording medium such as an SD card, or a semiconductor memory such as a flash memory. As shown in FIG. 19, the foot size measurement program includes a reception program 140A and an output program 140B. Incidentally, the programs 140A and 140B may be integrated or distributed as appropriate.

そして、CPU160は、これらのプログラム140A及び140BをROM140から読み出し、これら読み出された各プログラムをRAM150のワークエリア上に展開する。そして、CPU160は、図19に示すように、RAM150上に展開した各プログラム140A及び140Bを、受付プロセス150A及び出力プロセス150Bとして機能する。 Then, the CPU 160 reads out these programs 140A and 140B from the ROM 140 and expands the read out programs on the work area of the RAM 150. FIG. Then, as shown in FIG. 19, the CPU 160 functions the programs 140A and 140B developed on the RAM 150 as a reception process 150A and an output process 150B.

CPU160は、所定の大きさの台に置かれた足のつま先と台の第一の特徴点が含まれる第一の画像と、前記台に置かれた前記足の踵と前記台の第二の特徴点が含まれる第二の画像とを受け付ける。CPU160は、第一の画像に含まれる第一の特徴点と台の縁から前記足のつま先までの第一の長さと第二の画像に含まれる第二の特徴点と台の縁から足の踵までの第二の長さとを台の長さから除いた長さとして足長を出力する。その結果、撮影するだけで足長が算出可能になる。 The CPU 160 generates a first image including the toes of a foot placed on a platform of a predetermined size and a first characteristic point of the platform, and a second image of the heel of the foot placed on the platform and the platform. A second image containing feature points is accepted. The CPU 160 calculates the first feature point included in the first image, the first length from the edge of the platform to the toe of the foot, the second feature point included in the second image, and the length of the foot from the edge of the platform. Output the foot length as the length of the platform minus the second length to the heel. As a result, the leg length can be calculated simply by photographing.

1 足のサイズ計測装置
2 台紙
3 携帯端末
4 サーバ
14 カメラ装置
41 受付部
42 計測部
43 出力部
1 foot size measuring device 2 mount 3 mobile terminal 4 server 14 camera device 41 reception unit 42 measurement unit 43 output unit

Claims (7)

コンピュータが、
所定の大きさの台に置かれた足のつま先と台の第一の特徴点が含まれる第一の画像と、前記台に置かれた前記足の踵と前記台の第二の特徴点が含まれる第二の画像とを受け付け、
前記第一の画像に含まれる前記台の縁から前記足のつま先までの第一の長さと、前記第二の画像に含まれる前記台の縁から前記足の踵までの第二の長さとを前記台の長さから除いた長さとして足長を出力する
処理を実行することを特徴とする足のサイズ計測方法。
the computer
A first image including a toe of a foot placed on a platform of a predetermined size and a first feature point of the platform, and a second feature point of the heel of the foot placed on the platform and the platform. accepts a second image and
A first length from the edge of the platform to the toe of the foot included in the first image and a second length from the edge of the platform to the heel of the foot included in the second image and outputting the length of the foot by subtracting the length from the length of the platform.
前記台は、四角形状であって、
前記第一の画像は、前記第一の特徴点として前記台の四角を含む画像であって、
前記第二の画像は、前記第二の特徴点として前記台の四辺の内、少なくとも三辺を含む画像であることを特徴とする請求項1に記載の足のサイズ計測方法。
The platform has a rectangular shape,
The first image is an image containing a square of the platform as the first feature point,
2. The method of measuring foot size according to claim 1, wherein said second image is an image including at least three of the four sides of said platform as said second characteristic point.
前記コンピュータは更に、
前記第一の画像から足領域を抽出し、抽出した足領域の先端部分を削除し、削除後の足領域を所定角度に傾けて所定方向に最長となる位置を特定し、これら特定された位置で足幅を計測する
処理を実行することを特徴とする請求項1又は2に記載の足のサイズ計測方法。
The computer further comprises:
A foot region is extracted from the first image, the tip portion of the extracted foot region is deleted, the deleted foot region is tilted at a predetermined angle to identify the longest position in a predetermined direction, and these identified positions The foot size measuring method according to claim 1 or 2, wherein the step of measuring the width of the foot is performed.
前記コンピュータは更に、
前記第一の画像から前記台の領域となる第一の抽出画像を抽出し、前記第一の抽出画像から足領域を抽出し、抽出した足領域から前記足のつま先を特定し、
前記第二の画像から前記台の領域となる第二の抽出画像を抽出し、前記第二の抽出画像から足領域を抽出し、抽出した足領域から前記足の踵を特定する
処理を実行することを特徴とする請求項1~3の何れか一つに記載の足のサイズ計測方法。
The computer further comprises:
extracting a first extracted image that is the area of the platform from the first image, extracting a foot area from the first extracted image, and specifying the toe of the foot from the extracted foot area;
extracting a second extracted image as the area of the platform from the second image, extracting a foot area from the second extracted image, and specifying the heel of the foot from the extracted foot area. The foot size measuring method according to any one of claims 1 to 3, characterized in that:
前記コンピュータは更に、
前記第一の画像から前記第一の抽出画像を抽出する処理として、
前記第一の画像から輝度の閾値で二値画像に変換し、変換後の二値画像から前記第一の抽出画像の抽出が失敗した場合に、前記第一の画像から彩度の閾値で二値画像に変換し、変換後の二値画像から前記第一の抽出画像を抽出する
処理を実行することを特徴とする請求項4に記載の足のサイズ計測方法。
The computer further comprises:
As processing for extracting the first extracted image from the first image,
When the first image is converted into a binary image with a luminance threshold, and the extraction of the first extracted image from the converted binary image fails, the first image is converted into a binary image with a saturation threshold. 5. The foot size measuring method according to claim 4, further comprising converting the binary image into a value image and extracting the first extracted image from the converted binary image.
所定の大きさの台に置かれた足のつま先と台の第一の特徴点が含まれる第一の画像と、前記台に置かれた前記足の踵と前記台の第二の特徴点が含まれる第二の画像とを受け付ける受付部と、
前記第一の画像に含まれる前記台の縁から前記足のつま先までの第一の長さと前記第二の画像に含まれる前記台の縁から前記足の踵までの第二の長さとを前記台の長さから除いた長さとして足長を出力する出力部と
を有することを特徴とする足のサイズ計測装置。
A first image including a toe of a foot placed on a platform of a predetermined size and a first feature point of the platform, and a second feature point of the heel of the foot placed on the platform and the platform. a reception unit that receives a second image to be included;
A first length from the edge of the platform to the toe of the foot included in the first image and a second length from the edge of the platform to the heel of the foot included in the second image and an output unit for outputting a foot length as a length obtained by subtracting the length from the length of the table.
所定の大きさの台に置かれた足のつま先と台の第一の特徴点が含まれる第一の画像と、前記台に置かれた前記足の踵と前記台の第二の特徴点が含まれる第二の画像とを受け付け、
前記第一の画像に含まれる前記台の縁から前記足のつま先までの第一の長さと前記第二の画像に含まれる前記台の縁から前記足の踵までの第二の長さとを前記台の長さから除いた長さとして足長を出力する
処理をコンピュータに実行させることを特徴とする足のサイズ計測プログラム。
A first image including a toe of a foot placed on a platform of a predetermined size and a first feature point of the platform, and a second feature point of the heel of the foot placed on the platform and the platform. accepts a second image and
A first length from the edge of the platform to the toe of the foot included in the first image and a second length from the edge of the platform to the heel of the foot included in the second image A foot size measurement program for causing a computer to execute a process of outputting a foot length as a length obtained by subtracting the length from the length of the table.
JP2018135242A 2018-07-18 2018-07-18 Foot size measurement method, foot size measurement program, and foot size measurement device Active JP7172222B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018135242A JP7172222B2 (en) 2018-07-18 2018-07-18 Foot size measurement method, foot size measurement program, and foot size measurement device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018135242A JP7172222B2 (en) 2018-07-18 2018-07-18 Foot size measurement method, foot size measurement program, and foot size measurement device

Publications (2)

Publication Number Publication Date
JP2020012736A JP2020012736A (en) 2020-01-23
JP7172222B2 true JP7172222B2 (en) 2022-11-16

Family

ID=69169672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018135242A Active JP7172222B2 (en) 2018-07-18 2018-07-18 Foot size measurement method, foot size measurement program, and foot size measurement device

Country Status (1)

Country Link
JP (1) JP7172222B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646408A (en) 2013-12-26 2014-03-19 北京航空航天大学 Image based human foot key part data extraction and measurement method
US20170169571A1 (en) 2015-12-11 2017-06-15 Nesi Trading Co., Ltd. Foot scanning system
US20180033202A1 (en) 2016-07-29 2018-02-01 OnePersonalization Limited Method and system for virtual shoes fitting
JP6295400B1 (en) 2017-09-01 2018-03-20 株式会社キビラ Foot size measurement system and foot size measurement program
US20180160777A1 (en) 2016-12-14 2018-06-14 Black Brass, Inc. Foot measuring and sizing application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0914930A (en) * 1995-06-30 1997-01-17 Matsushita Electric Ind Co Ltd Shape measuring method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646408A (en) 2013-12-26 2014-03-19 北京航空航天大学 Image based human foot key part data extraction and measurement method
US20170169571A1 (en) 2015-12-11 2017-06-15 Nesi Trading Co., Ltd. Foot scanning system
US20180033202A1 (en) 2016-07-29 2018-02-01 OnePersonalization Limited Method and system for virtual shoes fitting
US20180160777A1 (en) 2016-12-14 2018-06-14 Black Brass, Inc. Foot measuring and sizing application
JP6295400B1 (en) 2017-09-01 2018-03-20 株式会社キビラ Foot size measurement system and foot size measurement program

Also Published As

Publication number Publication date
JP2020012736A (en) 2020-01-23

Similar Documents

Publication Publication Date Title
US10007846B2 (en) Image processing method
JP4549997B2 (en) Red-eye detection device, red-eye detection method, and red-eye detection program
US8948452B2 (en) Image processing apparatus and control method thereof
US20170094237A1 (en) Image processing apparatus, image processing method, and computer-readable storage medium
US20190191078A1 (en) Information processing apparatus, a non-transitory computer readable storage medium and information processing method
KR102397396B1 (en) Image processing method and device for auto white balance
US9706121B2 (en) Image processing apparatus and image processing method
JP6659098B2 (en) Image processing method, image processing apparatus, program, and recording medium
JP2019087945A (en) Information processing apparatus, program, and information processing method
US10452943B2 (en) Information processing apparatus, control method of information processing apparatus, and storage medium
US10643095B2 (en) Information processing apparatus, program, and information processing method
JP7172222B2 (en) Foot size measurement method, foot size measurement program, and foot size measurement device
US20170026546A1 (en) Image processing apparatus, image processing method, and storage medium
JP4182937B2 (en) Image capturing apparatus, image processing method for image capturing apparatus, and program
JP6669390B2 (en) Information processing apparatus, information processing method, and program
US20180220077A1 (en) Information processing apparatus having camera function, display control method thereof, and storage medium
JP2012060468A (en) Imaging apparatus, image generating apparatus, image generating program and image generating method
JP2024111178A (en) Shelf allocation information generation system, shelf allocation information generation method, and program
KR102529593B1 (en) Device and method acquiring 3D information about an object
JP6390163B2 (en) Information processing apparatus, information processing method, and program
JP4501701B2 (en) Image capturing apparatus, image processing method for image capturing apparatus, and program
JP6694907B2 (en) Judgment device, judgment method and judgment program
JP4315025B2 (en) Imaging apparatus, image acquisition method, and program
EP4488941A1 (en) Heel position estimation device, heel position estimation method, and program
US10991115B2 (en) Image processing device, image processing method, server, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210408

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220405

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220526

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221017

R150 Certificate of patent or registration of utility model

Ref document number: 7172222

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150