JP2024020004A - Organism automatic measuring apparatus, method, and program - Google Patents

Organism automatic measuring apparatus, method, and program Download PDF

Info

Publication number
JP2024020004A
JP2024020004A JP2022122848A JP2022122848A JP2024020004A JP 2024020004 A JP2024020004 A JP 2024020004A JP 2022122848 A JP2022122848 A JP 2022122848A JP 2022122848 A JP2022122848 A JP 2022122848A JP 2024020004 A JP2024020004 A JP 2024020004A
Authority
JP
Japan
Prior art keywords
nishikigoi
automatic
information
color
measurement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2022122848A
Other languages
Japanese (ja)
Other versions
JP7218031B1 (en
Inventor
軍 范
Jun Fan
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.)
Three Letter Trade Joint Stock Agency
Original Assignee
Three Letter Trade Joint Stock Agency
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 Three Letter Trade Joint Stock Agency filed Critical Three Letter Trade Joint Stock Agency
Priority to JP2022122848A priority Critical patent/JP7218031B1/en
Application granted granted Critical
Publication of JP7218031B1 publication Critical patent/JP7218031B1/en
Publication of JP2024020004A publication Critical patent/JP2024020004A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/80Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in fisheries management
    • Y02A40/81Aquaculture, e.g. of fish

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Analysis (AREA)

Abstract

To provide an organism automatic measuring apparatus, a method, and a program capable of measuring organisms such as Nishikigoi with high accuracy.SOLUTION: An organism automatic measuring apparatus comprises: a measurement target part recognition unit 12 for recognizing a measurement target part of an organism in a photographed image obtained by capturing the organism to be measured; and an automatic measurement unit 13 for automatically measuring the organism based on the measurement target part recognized by the measurement target part recognition unit 12.SELECTED DRAWING: Figure 1

Description

本発明は、生物を撮影した撮影画像に基づいて、生物を自動計測する生物自動計測装置および方法並びにプログラムに関するものである。 The present invention relates to an automatic biological measurement device, method, and program for automatically measuring living things based on captured images of living things.

従来、観賞魚として錦鯉が多く飼育されており、その飼育管理や成長記録を行うため、錦鯉の体長などの計測が行われる。 Traditionally, many Nishikigoi have been bred as ornamental fish, and their body lengths and other measurements are carried out in order to manage their breeding and record their growth.

また、錦鯉の価値を評価する際にも錦鯉の体長などが用いられる。たとえば特許文献1には、錦鯉を撮影した撮影画像に基づいて錦鯉を客観的に評価するシステムが提案されており、その評価の際、錦鯉の体長を用いることが提案されている。 Furthermore, the body length of Nishikigoi is also used when evaluating the value of Nishikigoi. For example, Patent Document 1 proposes a system for objectively evaluating Nishikigoi based on photographed images of Nishikigoi, and proposes using the body length of Nishikigoi during the evaluation.

特許第7008957号公報Patent No. 7008957

しかしながら、泳いでいる錦鯉の体長を手動で精度良く計測することは困難な場合がある。また、計測の際に、錦鯉に接触することによって、錦鯉にダメージを与えるおそれもある。さらに、測定者の測定の仕方によって誤差が生じ、錦鯉の評価の客観性を担保することができない可能性がある。 However, it may be difficult to manually accurately measure the body length of a swimming Nishikigoi. Furthermore, there is a risk of damaging the Nishikigoi by coming into contact with them during measurement. Furthermore, errors may occur depending on the measurement method used by the measurer, and the objectivity of Nishikigoi evaluation may not be guaranteed.

また、上述した錦鯉に限らず、金魚のなど観賞魚や観賞用の植物についても、その飼育管理や成長記録のために、その金魚の体長や植物の高さなどを精度良く計測したい場合がある。 In addition to the above-mentioned Nishikigoi, there are cases in which it is desired to accurately measure the body length of goldfish, the height of plants, etc. for ornamental fish such as goldfish and ornamental plants in order to manage their breeding and record their growth.

本発明は、上記事情に鑑み、錦鯉などの生物に損傷を与えることなく、生物の長さなどを高精度に計測することができる生物自動計測装置および方法並びにプログラムを提供することを目的とする。 In view of the above circumstances, an object of the present invention is to provide an automatic biological measuring device, method, and program that can measure the length of living things with high precision without damaging living things such as Nishikigoi. .

本発明の生物自動計測装置は、計測対象の生物を撮影した撮影画像における生物の計測対象部分を認識する計測対象部分認識部と、計測対象部分認識部によって認識された計測対象部分に基づいて、生物の自動計測を行う自動計測部とを備える。 The automatic biological measurement device of the present invention includes a measurement target part recognition section that recognizes the measurement target part of the living organism in a photographed image of the measurement target living organism, and a measurement target part recognized by the measurement target part recognition part. and an automatic measurement section that automatically measures living things.

本発明の生物自動計測方法は、計測対象の生物を撮影した撮影画像における生物の計測対象部分を認識し、その認識した計測対象部分に基づいて、生物の自動計測を行うことができる。 The automatic biological measurement method of the present invention can recognize a measurement target part of a living organism in a photographed image of the living organism to be measured, and perform automatic measurement of the living creature based on the recognized measurement target part.

本発明の生物自動計測プログラムは、計測対象の生物を撮影した撮影画像における生物の計測対象部分を認識するステップと、その認識した計測対象部分に基づいて、生物の自動計測を行うステップとをコンピュータに実行させることができる。 The automatic biological measurement program of the present invention includes a step of recognizing a measurement target part of a living organism in a photographed image of the living organism to be measured, and a step of automatically measuring the living organism based on the recognized measurement target part. can be executed.

本発明の生物自動計測装置および方法並びにプログラムによれば、計測対象の生物を撮影した撮影画像における生物の計測対象部分を認識し、その認識した計測対象部分に基づいて、生物の自動計測を行うようにしたので、錦鯉などの生物を高精度に計測することができる。 According to the automatic biological measurement device, method, and program of the present invention, the measurement target part of the living organism in a photographed image of the living organism to be measured is recognized, and the biological measurement is automatically performed based on the recognized measurement target part. This makes it possible to measure living things such as Nishikigoi with high precision.

本発明の生物自動計測装置の一実施形態を用いた錦鯉自動計測評価システムの概略構成を示すブロック図A block diagram showing a schematic configuration of a Nishikigoi automatic measurement and evaluation system using an embodiment of the automatic biological measurement device of the present invention. 撮影枠の一例を示す図Diagram showing an example of a shooting frame 撮影枠のその他の例を示す図Diagram showing other examples of shooting frames 目盛り付きカラーパレットの一例を示す図Diagram showing an example of a graduated color palette 図4に示すカラーチャートのsRGBの値を示す図Diagram showing the sRGB values of the color chart shown in Figure 4 図4に示す目盛り付きカラーパレットを矢印X方向から見た側面図と矢印Y方向から見た側面図A side view of the graduated color palette shown in Figure 4 as seen from the arrow X direction and a side view from the arrow Y direction. 錦鯉の頭部の先端と尾鰭の先端とを結ぶ直線の一例を示す図A diagram showing an example of a straight line connecting the tip of the head of a Nishikigoi and the tip of the caudal fin. チェスボックスの一例を示す図Diagram showing an example of a chess box チェスボックスを用いた錦鯉の体長計測を説明するための図Diagram to explain the body length measurement of Nishikigoi using a chess box 錦鯉の輪郭情報の一例を示す図Diagram showing an example of outline information of Nishikigoi 錦鯉の画像を構成する各画素の色の頻度分布の一例を示す図A diagram showing an example of the frequency distribution of the colors of each pixel that makes up the image of a Nishikigoi 錦鯉の評価結果であるレーダーチャートの一例を示す図Diagram showing an example of a radar chart that is the evaluation result of Nishikigoi 本発明の生物自動計測装置の一実施形態を用いた錦鯉自動計測評価システムの処理の流れを説明するためのフローチャートFlowchart for explaining the process flow of the Nishikigoi automatic measurement and evaluation system using an embodiment of the automatic biological measurement device of the present invention

以下、図面を参照して本発明の生物自動計測装置の一実施形態を用いた錦鯉自動計測評価システムについて詳細に説明する。図1は、本実施形態の錦鯉自動計測評価システム1の概略構成を示すブロック図である。 DESCRIPTION OF THE PREFERRED EMBODIMENTS An automatic Nishikigoi measurement and evaluation system using an embodiment of the automatic biological measurement device of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a Nishikigoi automatic measurement and evaluation system 1 of this embodiment.

本実施形態の錦鯉自動計測評価システム1は、図1に示すように、錦鯉自動計測装置10と、錦鯉評価装置20とを備えている。本実施形態の錦鯉自動計測評価システム1は、錦鯉自動計測装置10によって錦鯉を撮影して撮影画像を取得し、その撮影画像に基づいて、錦鯉の自動計測および撮影画像の色補正を行う。そして、錦鯉自動計測評価システム1は、錦鯉自動計測装置10による自動計測結果および色補正された撮影画像に基づいて、錦鯉評価装置20によって錦鯉の客観的な評価を行う。 The Nishikigoi automatic measurement and evaluation system 1 of this embodiment includes a Nishikigoi automatic measurement device 10 and a Nishikigoi evaluation device 20, as shown in FIG. The Nishikigoi automatic measurement and evaluation system 1 of the present embodiment photographs a Nishikigoi to obtain a photographed image using the Nishikigoi automatic measurement device 10, and performs automatic measurement of the Nishikigoi and color correction of the photographed image based on the photographed image. The Nishikigoi automatic measurement and evaluation system 1 then uses the Nishikigoi evaluation device 20 to objectively evaluate the Nishikigoi based on the automatic measurement results by the Nishikigoi automatic measurement device 10 and the color-corrected photographed images.

錦鯉自動計測装置10と錦鯉評価装置20とは通信可能に接続されており、たとえばインターネット回線やLAN(Local Area Network)などの通信回線によって接続される。 The Nishikigoi automatic measurement device 10 and the Nishikigoi evaluation device 20 are communicably connected, for example, through a communication line such as the Internet or a LAN (Local Area Network).

まず、錦鯉自動計測装置10について説明する。本実施形態の錦鯉自動計測装置10は、水中の錦鯉を撮影して撮影画像を取得し、その撮影画像に基づいて、錦鯉の体長を自動計測する。また、錦鯉自動計測装置10は、撮影された撮影画像について色補正を行って、本当の錦鯉の色を取得する。 First, the Nishikigoi automatic measuring device 10 will be explained. The Nishikigoi automatic measuring device 10 of this embodiment photographs a Nishikigoi underwater to obtain a photographed image, and automatically measures the body length of the Nishikigoi based on the photographed image. Furthermore, the Nishikigoi automatic measurement device 10 performs color correction on the photographed image to obtain the true color of the Nishikigoi.

錦鯉自動計測装置10は、具体的には、撮影部11と、計測対象部分認識部12と、自動計測部13と、色補正部14と、表示部15とを備えている。 Specifically, the Nishikigoi automatic measurement device 10 includes a photographing section 11, a measurement target part recognition section 12, an automatic measurement section 13, a color correction section 14, and a display section 15.

錦鯉自動計測装置10は、たとえばタブレット端末またはスマートフォンなどの移動携帯端末から構成され、CPU(Central Processing Unit)またはGPU(Graphics Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)などの半導体メモリ、ハードディスクなどのストレージ、および通信I/F(Interface)などを備えている。 The Nishikigoi automatic measuring device 10 is composed of a mobile portable terminal such as a tablet terminal or a smartphone, and includes a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), etc. It is equipped with storage such as semiconductor memory and hard disks, and communication I/F (Interface).

また、錦鯉自動計測装置10の半導体メモリまたはストレージには、本発明の生物自動計測プログラムの一実施形態を含む錦鯉自動計測プログラムがインストールされている。CPUまたはGPUが、この錦鯉自動計測プログラムを実行することによって、上述した撮影部11、計測対象部分認識部12、自動計測部13、色補正部14および表示部15が機能する。なお、錦鯉自動計測装置10のハードウェア構成は、上述した構成に限定されない。 Further, a Nishikigoi automatic measurement program including an embodiment of the biological automatic measurement program of the present invention is installed in the semiconductor memory or storage of the Nishikigoi automatic measurement device 10. When the CPU or GPU executes this Nishikigoi automatic measurement program, the above-described photographing section 11, measurement target part recognition section 12, automatic measurement section 13, color correction section 14, and display section 15 function. Note that the hardware configuration of the Nishikigoi automatic measuring device 10 is not limited to the configuration described above.

また、本実施形態においては、上述した撮影部11、計測対象部分認識部12、自動計測部13、色補正部14および表示部15の機能を全て錦鯉自動計測プログラムによって実行するようにしたが、これに限らず、一部または全部の機能をASIC(Application Specific Integrated Circuit)やFPGA(Field-Programmable Gate Array)、その他の電気回路などのハードウェアから構成するようにしてもよい。 Furthermore, in this embodiment, the functions of the above-mentioned photographing section 11, measurement target part recognition section 12, automatic measurement section 13, color correction section 14, and display section 15 are all executed by the Nishikigoi automatic measurement program. The present invention is not limited to this, and some or all of the functions may be configured from hardware such as an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or other electric circuits.

また、錦鯉自動計測プログラムは、本実施形態のように錦鯉自動計測装置10にインストールするようにしてもよいし、錦鯉自動計測装置10とインターネット回線を介して接続されるクラウドサーバ上にインストールされた錦鯉自動計測プログラムを用いるようにしてもよい。 Further, the Nishikigoi automatic measurement program may be installed on the Nishikigoi automatic measurement device 10 as in this embodiment, or may be installed on a cloud server connected to the Nishikigoi automatic measurement device 10 via an Internet line. A Nishikigoi automatic measurement program may also be used.

撮影部11は、C-MOS(Complementary Metal Oxide Semiconductor)イメージセンサやCCD(Charge Coupled Device)イメージセンサなどの撮像素子や撮影光学系を有し、これらを用いて、水中で泳ぐ錦鯉を撮影し、撮影画像を取得する。 The photographing unit 11 has an image sensor such as a C-MOS (Complementary Metal Oxide Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and a photographing optical system, and uses these to photograph a Nishikigoi swimming in the water. Obtain the captured image.

ここで、本実施形態では、撮影部11によって撮影された撮影画像を用いて錦鯉の体長を計測するが、タブレット端末やスマートフォンなどの移動携帯端末によって錦鯉を撮影する場合、移動携帯端末の角度や錦鯉の姿勢などによって撮影画像内における錦鯉の体長が変わってくる。 Here, in this embodiment, the body length of the Nishikigoi is measured using the photographed image taken by the photographing unit 11, but when photographing the Nishikigoi with a mobile mobile terminal such as a tablet terminal or a smartphone, the angle of the mobile mobile terminal The body length of the Nishikigoi in the captured image changes depending on the Nishikigoi's posture.

そこで、本実施形態の撮影部11は、移動携帯端末の角度が適切な角度であって、かつ錦鯉の姿勢が適切な状態で撮影画像の撮影が行われるようにガイドする撮影枠を表示部15にさせる。図2は、錦鯉自動計測装置10の表示部15に表示された撮影枠15aの一例を示す図である。図2に示すように、撮影枠15aは、計測対象である錦鯉の外形を表す輪郭画像である。なお、図2は、錦鯉を正面(背びれ側)から撮影する場合の撮影枠15aを示しているが、たとえば図3に示すように、錦鯉自動計測装置10を90度回転させた場合には、錦鯉を側面(胸びれ側)から撮影する場合の撮影枠15bに切り替えて表示するようにしてもよい。 Therefore, the photographing unit 11 of the present embodiment displays a photographing frame on the display unit 15 that guides the photographing image so that the mobile terminal is at an appropriate angle and the Nishikigoi is in an appropriate posture. Let it be. FIG. 2 is a diagram showing an example of the photographing frame 15a displayed on the display unit 15 of the Nishikigoi automatic measuring device 10. As shown in FIG. 2, the photographing frame 15a is a contour image representing the outer shape of the Nishikigoi that is the object of measurement. Although FIG. 2 shows the photographing frame 15a when photographing a Nishikigoi from the front (dorsal fin side), for example, when the Nishikigoi automatic measuring device 10 is rotated 90 degrees as shown in FIG. The display may be switched to the photographing frame 15b for photographing the Nishikigoi from the side (pectoral fin side).

そして、撮影部11は、図2に示す撮影枠15aまたは図3に示す撮影枠15b内に、計測対象の錦鯉が収まっているか否かを認識し、撮影枠15a,15b内に錦鯉が収まっている場合のみ、撮影画像の撮影を許可する。 Then, the photographing unit 11 recognizes whether or not the Nishikigoi to be measured falls within the photographing frame 15a shown in FIG. 2 or the photographing frame 15b shown in FIG. Photography is permitted only if the person is present.

具体的には、撮影部11は、撮影枠15a,15bを表示部15に表示させるとともに、撮像素子によって撮像されたプレビュー画像を表示部15に表示させる。プレビュー画像は動画である。 Specifically, the photographing section 11 causes the display section 15 to display the photographing frames 15a and 15b, and also causes the display section 15 to display a preview image captured by the image sensor. The preview image is a video.

さらに、撮影部11は、図2および図3に示すように、表示部15に撮影ボタン14cを表示させる。この撮影ボタン14cがタップされた場合にシャッターが切られて撮影画像が撮影されるが、撮影枠15a,15b内にプレビュー画像における錦鯉が収まっていない場合には、撮影ボタン14cがタップされてもシャッターを切らず、撮影画像の撮影を禁止する。このように、撮影枠15a,15b内にプレビュー画像における錦鯉が収まっている場合のみ撮影を許可することによって、撮影画像における錦鯉の姿勢補正処理などを施すことなく、後述する錦鯉の自動計測や錦鯉の評価を行うことができる。 Furthermore, the photographing section 11 causes the display section 15 to display a photographing button 14c, as shown in FIGS. 2 and 3. When the shooting button 14c is tapped, the shutter is released and a photographed image is taken. However, if the Nishikigoi in the preview image does not fit within the shooting frames 15a and 15b, even when the shooting button 14c is tapped. Prohibits taking images without releasing the shutter. In this way, by allowing photography only when the Nishikigoi in the preview image is within the shooting frames 15a and 15b, automatic measurement of Nishikigoi and can be evaluated.

なお、撮影を禁止する方法としては、上述したように撮影ボタン14cをタップしてもシャッターを切らないようにしてもよいし、撮影ボタン14c自体を非表示としたり、撮影ボタン14cの色を撮影可能なとき(錦鯉が撮影枠内15a,15bに収まったとき)と異なる色としてもよい。 Note that shooting can be prohibited by not releasing the shutter even if the shooting button 14c is tapped as described above, by hiding the shooting button 14c itself, or by changing the color of the shooting button 14c when shooting. The color may be different from that when possible (when the Nishikigoi is within the shooting frame 15a, 15b).

そして、ユーザは、撮影枠15a,15b内にプレビュー画像における錦鯉が収まるように、錦鯉自動計測装置10の向きや角度を調整する。そして、撮影部11は、撮影枠15a,15b内にプレビュー画像における錦鯉が収まり、撮影ボタン14cがタップされた場合のみシャッターを切って撮影画像を撮影する。 Then, the user adjusts the direction and angle of the automatic Nishikigoi measuring device 10 so that the Nishikigoi in the preview image fits within the photographing frames 15a and 15b. Then, the photographing unit 11 releases the shutter and photographs a photographed image only when the Nishikigoi in the preview image fits within the photographing frames 15a and 15b and the photographing button 14c is tapped.

なお、撮影部11は、プレビュー画像における錦鯉が撮影枠15a,15b内に収まっていても、その錦鯉の輪郭と撮影枠15a,15bとのずれ量が予め設定された閾値以上である場合には、撮影を禁止するようにしてもよい。なお、プレビュー画像における錦鯉の輪郭については、公知な画像処理を用いて抽出することができる。 Note that even if the Nishikigoi in the preview image falls within the shooting frames 15a and 15b, the imaging unit 11 detects that even if the Nishikigoi in the preview image is within the shooting frames 15a and 15b, if the amount of deviation between the outline of the Nishikigoi and the shooting frames 15a and 15b is greater than a preset threshold, , photography may be prohibited. Note that the outline of the Nishikigoi in the preview image can be extracted using known image processing.

また、撮影部11は、プレビュー画像における錦鯉の輪郭と撮影枠15a,15bとのずれ量が予め設定された閾値以下となった場合に自動的にシャッターを切って撮影画像を撮影するようにしてもよい。 Further, the photographing unit 11 automatically releases the shutter and photographs a photographed image when the amount of deviation between the contour of the Nishikigoi in the preview image and the photographing frames 15a, 15b becomes less than a preset threshold. Good too.

また、本実施形態では、上述したように撮影部11によって錦鯉を撮影する際、その撮影範囲内に目盛り付きカラーパレット30を配置し、錦鯉とともに、目盛り付きカラーパレット30も一緒に撮影し、撮影画像内に目盛り付きカラーパレット30の画像が含まれるようにする。 Further, in this embodiment, when photographing a Nishikigoi by the photographing unit 11 as described above, the graduated color palette 30 is placed within the photographing range, and the graduated color palette 30 is photographed together with the Nishikigoi. The image of the graduated color palette 30 is included in the image.

図4は、上述した目盛り付きカラーパレット30の一例を示す図である。目盛り付きカラーパレット30は、カラーチャート31と、目盛り部32a~32dとを有する。カラーチャート31は、標準色である24色がそれぞれ割り当てられた24個の矩形パターン31aが4×6で配列されたものである。図5は、各矩形パターン31aの番号とその番号のsRGBの値との関係を示す図である。なお、本実施形態においては、カラーチャート31が、本発明の色見本に相当する。 FIG. 4 is a diagram showing an example of the above-mentioned graduated color palette 30. The graduated color palette 30 has a color chart 31 and scale sections 32a to 32d. The color chart 31 is a 4×6 array of 24 rectangular patterns 31a to which 24 standard colors are respectively assigned. FIG. 5 is a diagram showing the relationship between the number of each rectangular pattern 31a and the sRGB value of that number. In addition, in this embodiment, the color chart 31 corresponds to the color sample of this invention.

目盛り部32a~32dは、カラーチャート31の周囲にそれぞれ配置されるものであり、カラーチャート31の4辺にそれぞれ配置される。目盛り部32a~32dは、その長さ方向に所定の間隔を空けて目盛りパターン32eが配置されている。目盛りパターン32eの長さd1とその間隔32fの長さd2は、それぞれ5mm(d1=d2=5mm)に設定されている。 The scale portions 32a to 32d are arranged around the color chart 31, and are arranged on each of the four sides of the color chart 31. In the scale portions 32a to 32d, scale patterns 32e are arranged at predetermined intervals in the length direction. The length d1 of the scale pattern 32e and the length d2 of the interval 32f are each set to 5 mm (d1=d2=5 mm).

目盛り付きカラーパレット30の長辺の長さは120mmであり、目盛り部32a,32bの長さは、100mmである。また、目盛り付きカラーパレット30の短辺の長さは80mmであり、目盛り部32c,32dの長さは、50mmである。 The length of the long side of the graduated color palette 30 is 120 mm, and the length of the scale portions 32a and 32b is 100 mm. Further, the length of the short side of the graduated color palette 30 is 80 mm, and the length of the scale portions 32c and 32d is 50 mm.

また、目盛り付きカラーパレット30は、カラーチャート31を有する第1のシート33と、目盛り部32a~32dを有する第2のシート34とを重ね合わせて形成される。図6Aは、図4に示す目盛り付きカラーパレット30を矢印X方向から見た側面図であり、図6Bは、矢印Y方向から見た側面図である。 Further, the graduated color palette 30 is formed by overlapping a first sheet 33 having a color chart 31 and a second sheet 34 having scale portions 32a to 32d. 6A is a side view of the graduated color palette 30 shown in FIG. 4 viewed from the arrow X direction, and FIG. 6B is a side view viewed from the arrow Y direction.

計測対象部分認識部12は、撮影画像における錦鯉の計測対象部分を認識する。具体的には、本実施形態の計測対象部分認識部12は、測定対象部分として、錦鯉の頭部と尾鰭を認識する。計測対象部分認識部12は、錦鯉の頭部と尾鰭の画像を機械学習した測定対象認識用学習済みモデルを有し、この測定対象認識用学習済みモデルに対して、撮影部11によって撮影された撮影画像を入力することによって、撮影画像における錦鯉の頭部と尾鰭を認識する。なお、錦鯉の測定対象部分を認識する際には、撮影画像に含まれる錦鯉の範囲を白に変換し、錦鯉の周囲を黒に変換したモノクロ画像を用いることが好ましい。この場合、測定対象認識用学習済みモデルを機械学習する際にも、上述したようなモノクロ画像が用いられる。 The measurement target part recognition unit 12 recognizes the measurement target part of the Nishikigoi in the photographed image. Specifically, the measurement target part recognition unit 12 of this embodiment recognizes the head and caudal fin of a Nishikigoi as the measurement target parts. The measurement target part recognition unit 12 has a trained model for measurement target recognition obtained by machine learning images of the head and caudal fin of a Nishikigoi, and a model that is photographed by the photographing unit 11 for this trained model for measurement target recognition. By inputting a photographed image, the head and caudal fin of a Nishikigoi in the photographed image are recognized. Note that when recognizing the part of the Nishikigoi to be measured, it is preferable to use a monochrome image in which the area of the Nishikigoi included in the photographed image is converted to white, and the area around the Nishikigoi is converted to black. In this case, the above-mentioned monochrome image is also used when performing machine learning on the trained model for measuring object recognition.

なお、機械学習の方法としては、公知な手法を用いることができ、ディープニューラルネットワーク(DNN)および畳み込みニューラルネットワーク(CNN)などを用いることができる。 Note that a known method can be used as a machine learning method, such as a deep neural network (DNN) and a convolutional neural network (CNN).

撮影画像における錦鯉の頭部と尾鰭の認識方法としては、上述した測定対象認識用学習済みモデルを用いた方法に限らず、その他の公知のパターン認識方法などを用いるようにしてもよい。 The method for recognizing the head and caudal fin of the Nishikigoi in the photographed image is not limited to the method using the above-mentioned trained model for recognizing the measurement object, but other known pattern recognition methods may be used.

自動計測部13は、計測対象部分認識部12によって認識された計測対象部分(錦鯉の頭部および尾鰭)に基づいて、錦鯉の自動計測を行う。本実施形態の自動計測部13が、認識された錦鯉の頭部と尾鰭に基づいて、錦鯉の体長を自動計測する。 The automatic measurement unit 13 automatically measures the Nishikigoi based on the measurement target part (head and caudal fin of the Nishikigoi) recognized by the measurement target part recognition unit 12. The automatic measurement unit 13 of this embodiment automatically measures the body length of the Nishikigoi based on the recognized head and caudal fin of the Nishikigoi.

自動計測部13は、具体的には、図7に示すように、錦鯉の頭部の先端と尾鰭の先端とを結ぶ直線を求める。たとえば頭部を輪郭を形成する画素と尾鰭の輪郭を形成する画素とを結ぶ直線のうち最も長い直線を求める。 Specifically, the automatic measurement unit 13 determines a straight line connecting the tip of the Nishikigoi's head and the tip of its caudal fin, as shown in FIG. For example, the longest straight line connecting pixels forming the outline of the head and pixels forming the outline of the caudal fin is determined.

また、自動計測部13は、撮影画像に含まれる目盛り付きカラーパレット30の目盛り部32a~32dのうち、錦鯉の頭部の先端と尾鰭の先端とを結ぶ直線に最も平行な目盛り部32a~32dを求め、その目盛り部32a~32dを抽出する。ここでは、目盛り部32aが抽出されたものとする。 The automatic measurement unit 13 also measures the scale parts 32a to 32d that are most parallel to the straight line connecting the tip of the Nishikigoi's head and the tip of the caudal fin, among the scale parts 32a to 32d of the graduated color palette 30 included in the photographed image. is determined, and its scale portions 32a to 32d are extracted. Here, it is assumed that the scale portion 32a has been extracted.

そして、自動計測部13は、たとえば錦鯉の頭部の先端と尾鰭の先端とを結ぶ直線中に含まれる目盛り部32aの目盛りパターン32eの数を求め、その数に5mmを乗算することによって、錦鯉の体長を計測する。 Then, the automatic measurement unit 13 determines the number of scale patterns 32e of the scale part 32a included in the straight line connecting the tip of the head of the Nishikigoi and the tip of the caudal fin, and multiplies the number by 5 mm to determine the number of scale patterns 32e of the Nishikigoi. Measure the body length of.

本実施形態では、目盛りパターン32eを5mmに設定しているので、錦鯉の体長の計測誤差は±5mmとなるが、後述する錦鯉の評価に用いる錦鯉の体長の精度としては十分である。逆に、たとえば通常の定規のように1mm刻みの目盛りの場合、水中に沈めた場合に水の屈折や水面の揺らぎなどによって適切に目盛りを読み取ることができず、計測できないなどの不都合が生じ得る。 In this embodiment, since the scale pattern 32e is set to 5 mm, the measurement error of the body length of the Nishikigoi is ±5 mm, which is sufficient for the accuracy of the body length of the Nishikigoi used in the evaluation of the Nishikigoi to be described later. On the other hand, if the scale is in 1mm increments like a regular ruler, for example, if it is submerged in water, it may not be possible to read the scale properly due to water refraction or fluctuations in the water surface, resulting in inconveniences such as inability to measure. .

また、たとえば錦鯉を入れた水槽などの底に目盛り付きカラーパレット30を沈めて撮影画像を撮影する場合、錦鯉自動計測装置10からの錦鯉までの距離と目盛り付きカラーパレット30までの距離が異なり、錦鯉の体長の計測精度が低下する可能性がある。したがって、このような場合には、錦鯉と錦鯉自動計測装置10との間の距離を考慮して比例計算などを行って、計測された錦鯉の体長を補正するようにしてもよい。錦鯉と錦鯉自動計測装置10との間の距離については、たとえばLiDAR(light detection and ranging)を用いて計測するようにすればよい。なお、本実施形態では、上述したように目盛り付きカラーパレット30を用いて錦鯉の体長を計測しているが、上述したLiDARのみを用いて錦鯉の体長を計測するようにしてもよい。 Furthermore, when capturing an image by submerging the color palette 30 with a scale at the bottom of an aquarium containing Nishikigoi, for example, the distance from the automatic Nishikigoi measuring device 10 to the Nishikigoi and the distance to the color palette 30 with a scale are different. The accuracy of measuring the body length of Nishikigoi may decrease. Therefore, in such a case, the measured body length of the Nishikigoi may be corrected by performing a proportional calculation, taking into account the distance between the Nishikigoi and the Nishikigoi automatic measuring device 10. The distance between the Nishikigoi and the Nishikigoi automatic measuring device 10 may be measured using, for example, LiDAR (light detection and ranging). In this embodiment, the body length of the Nishikigoi is measured using the graduated color palette 30 as described above, but the body length of the Nishikigoi may also be measured using only the LiDAR described above.

また、錦鯉の頭部の先端と尾鰭の先端とを結ぶ直線と、目盛り部32aの長さ方向とがなす角度が大きく、錦鯉の体長の計測精度が低下する可能性がある。したがって、錦鯉の頭部の先端と尾鰭の先端とを結ぶ直線と、目盛り部32aの長さ方向とがなす角度を考慮して三角関数演算などを行うことによって、計測された錦鯉の体長を補正するようにしてもよい。 Furthermore, the angle between the straight line connecting the tip of the Nishikigoi's head and the tip of the caudal fin and the length direction of the scale portion 32a is large, which may reduce the accuracy of measuring the body length of the Nishikigoi. Therefore, the measured body length of the Nishikigoi is corrected by performing trigonometric calculations taking into consideration the angle formed by the straight line connecting the tip of the Nishikigoi's head and the tip of the caudal fin and the length direction of the scale section 32a. You may also do so.

また、錦鯉の頭部の先端と尾鰭の先端とを結ぶ直線および目盛り部32a~32dのいずれか1つと実際の錦鯉の体長との関係を機械学習させた体長計測用学習済みモデルにたいして、撮影画像から求められた錦鯉の頭部の先端と尾鰭の先端とを結ぶ直線と撮影画像に含まれる目盛り部32a~32dのいずれか1つを入力することによって、実際の錦鯉の体長を求めるようにしてもよい。 In addition, the photographed images are compared to a trained model for body length measurement in which the relationship between the straight line connecting the tip of the Nishikigoi's head and the tip of the caudal fin and any one of the scale parts 32a to 32d and the actual body length of the Nishikigoi is machine learned. The actual body length of the Nishikigoi is determined by inputting the straight line connecting the tip of the Nishikigoi's head and the tip of the caudal fin, which were found from Good too.

自動計測部13によって計測された錦鯉の体長は、錦鯉評価装置20に出力され、錦鯉の評価の際に用いられる。 The body length of the Nishikigoi measured by the automatic measurement unit 13 is output to the Nishikigoi evaluation device 20 and used when evaluating the Nishikigoi.

色補正部14は、撮影画像におけるカラーチャート31の色に基づいて、撮影画像の色を補正する。撮影画像に含まれる錦鯉の色は、錦鯉が水中に存在しているため、水の影響を受けたり、照明具合の影響を受けたりして、本当の錦鯉の色とは異なる色となる場合がある。 The color correction unit 14 corrects the colors of the photographed image based on the colors of the color chart 31 in the photographed image. The color of the Nishikigoi included in the photographed image may differ from the actual color of the Nishikigoi due to the presence of the Nishikigoi in the water, and may be affected by water or lighting conditions. be.

そこで、本実施形態においては、撮影画像に含まれる錦鯉の色が、本当の錦鯉の色に近づくように撮影画像に対して色補正を施す。具体的には、色補正部14は、撮影画像に含まれるカラーチャート31の画像から各色を抽出し、その画像から抽出された色のsRGBの値と、図5に示す各色のsRGBの値とを比較し、その差分がキャンセルされるような色補正を撮影画像に対して施す。これにより、撮影画像に含まれる錦鯉の色を本当の錦鯉の色に近づけることができ、後述する錦鯉の色の評価の精度を向上させることができる。 Therefore, in this embodiment, color correction is performed on the photographed image so that the color of the Nishikigoi included in the photographed image approaches the color of the real Nishikigoi. Specifically, the color correction unit 14 extracts each color from the image of the color chart 31 included in the captured image, and calculates the sRGB value of the color extracted from the image and the sRGB value of each color shown in FIG. are compared, and color correction is applied to the photographed images so that the differences are canceled. Thereby, the color of the Nishikigoi included in the photographed image can be brought closer to the color of the real Nishikigoi, and the accuracy of evaluating the color of the Nishikigoi, which will be described later, can be improved.

色補正部14によって色補正された撮影画像は、錦鯉評価装置20に出力され、錦鯉の評価の際に用いられる。 The photographed image color-corrected by the color correction unit 14 is output to the Nishikigoi evaluation device 20 and used when evaluating the Nishikigoi.

表示部15は、液晶ディスプレイなどを有するタッチパネルから構成され、錦鯉を撮影する際のプレビュー画像、錦鯉を撮影した撮影画像および色補正された撮影画像などを表示する。 The display unit 15 is composed of a touch panel having a liquid crystal display, etc., and displays a preview image when photographing a Nishikigoi, a photographed image of the Nishikigoi, a color-corrected photographed image, and the like.

なお、上記実施形態においては、カラーチャート31を用いて錦鯉の体長を計測するようにしたが、錦鯉の体長を計測するための別の方法について説明する。錦鯉の体長計測の別の方法では、図8に示すような長方形のチェスボード35を用いる。 In the above embodiment, the color chart 31 is used to measure the body length of Nishikigoi, but another method for measuring the body length of Nishikigoi will be described. Another method for measuring the body length of Nishikigoi uses a rectangular chess board 35 as shown in FIG.

図8に示すチェスボード35は、A5サイズのシート状の印刷物である。チェスボード35の1つのマス35aは、縦29mm×横29mmの正方形であり、この白黒のマス35aが、縦×横=6×4=24マス配列されている。 The chess board 35 shown in FIG. 8 is an A5 size sheet-like printed matter. One square 35a of the chess board 35 is a square with a length of 29 mm and a width of 29 mm, and the black and white squares 35a are arranged in an array of 6×4=24 squares.

次に、図8に示すチェスボード35を用いた錦鯉の体長の計測方法について、より具体的に説明する。 Next, a method for measuring the body length of a Nishikigoi using the chess board 35 shown in FIG. 8 will be described in more detail.

まず、「水面から鯉までの距離」と「水深」がユーザによって手動で設定入力される。 First, the "distance from the water surface to the carp" and the "water depth" are manually set and input by the user.

次に、錦鯉自動計測装置10が有する上述したLiDAR(light detection and ranging)などのセンサを用いて、錦鯉の近くの任意の位置に設置されたチェスボード35の中心と錦鯉自動計測装置10との距離を計測する。なお、この際、チェスボード35は、錦鯉が泳ぐ水槽などの中に沈める必要はなく、錦鯉の近傍に固定設置すればよい。 Next, using a sensor such as the above-mentioned LiDAR (light detection and ranging) that the Nishikigoi automatic measuring device 10 has, the center of the chess board 35 installed at an arbitrary position near the Nishikigoi and the Nishikigoi automatic measuring device 10 are connected. Measure distance. Note that at this time, the chess board 35 does not need to be submerged in an aquarium in which the colored carp swims, but may be fixedly installed near the colored carp.

そして、錦鯉自動計測装置10の撮影部11を用いて、錦鯉とともに、チェスボード35も一緒に撮影して計測用撮影画像を取得する。 Then, using the photographing unit 11 of the Nishikigoi automatic measuring device 10, the Nishikigoi and the chess board 35 are photographed together to obtain a photographed image for measurement.

次いで、自動計測部13は、計測用撮影画像に含まれるチェスボード35の画像を認識し、その画像における予め設定された4点を検出する。予め設定された4点としては、具体的には、たとえば図8に矢印で示すように、縦横に隣接する4つのマスの頂点が接する点Pが検出される。 Next, the automatic measurement unit 13 recognizes the image of the chess board 35 included in the measurement photographed image, and detects four preset points in the image. Specifically, as the four preset points, for example, as shown by arrows in FIG. 8, a point P where the vertices of four vertically and horizontally adjacent squares touch is detected.

そして、自動計測部13は、検出した4つの点Pによって形成される四角の縦横比が正しい縦横比(実物の縦横比)となるように、計測用撮影画像に対して射影変換処理を施す。 Then, the automatic measurement unit 13 performs projective transformation processing on the measurement photographic image so that the aspect ratio of the square formed by the four detected points P becomes the correct aspect ratio (the aspect ratio of the actual object).

そして、自動計測部13は、射影変換後の計測用撮影画像から錦鯉を検出し、チェスボード35のサイズから錦鯉の体長を推定する。 Then, the automatic measurement unit 13 detects a Nishikigoi from the photographic image for measurement after projective transformation, and estimates the body length of the Nishikigoi from the size of the chess board 35.

具体的には、たとえば図9に示すように水面から鯉までの距離が50mm、水深が150mm、チェスボード35の中心と錦鯉自動計測装置10との距離が800mmである場合、錦鯉自動計測装置10から錦鯉までの距離は、
800mm-150mm+50mm=700mm
である。
Specifically, for example, as shown in FIG. 9, when the distance from the water surface to the carp is 50 mm, the water depth is 150 mm, and the distance between the center of the chessboard 35 and the automatic Nishikigoi measuring device 10 is 800 mm, the automatic Nishikigoi measuring device 10 The distance from to Nishikigoi is
800mm-150mm+50mm=700mm
It is.

次に、自動計測部13は、計測用撮影画像上におけるチェスボード35の2マス分の長さと計測用撮影画像上における錦鯉の体長とを計測し、計測用撮影画像上における2マス分の長さが58ピクセル、計測用撮影画像上での錦鯉の体長が360ピクセルである場合、錦鯉の体長は、下式によって算出されて315mmとなる。
700mm×360ピクセル/(800mm×58ピクセル/58mm)
=700mm×360ピクセル/800ピクセル
=315mm
Next, the automatic measuring unit 13 measures the length of two squares of the chessboard 35 on the photographed image for measurement and the body length of the Nishikigoi on the photographed image for measurement, and measures the length of the two squares on the photographed image for measurement. When the length of the Nishikigoi is 58 pixels and the body length of the Nishikigoi on the photographed image for measurement is 360 pixels, the body length of the Nishikigoi is calculated by the following formula and becomes 315 mm.
700mm x 360 pixels/(800mm x 58 pixels/58mm)
=700mm x 360 pixels/800 pixels = 315mm

そして、錦鯉自動計測装置10は、1秒ごとに計測用撮影画像の取得、射影変換処理、錦鯉の体長推定を行い、それぞれ求められた値を記憶する。そして、連続する5枚の計測用撮影画像のうち、4枚以上が5枚の平均から20%以上外れていない場合、測定成功とする。そのため、最短で5秒で測定完了となるが、測定に失敗した場合、10秒でタイムアウトし、再測定を促す。 Then, the Nishikigoi automatic measuring device 10 acquires a photographic image for measurement, performs projective transformation processing, and estimates the body length of the Nishikigoi every second, and stores the respective determined values. Then, if four or more of the five consecutive measurement images do not deviate by 20% or more from the average of the five images, the measurement is determined to be successful. Therefore, the measurement can be completed in 5 seconds at the shortest, but if the measurement fails, it will time out in 10 seconds and prompt you to take the measurement again.

次に、錦鯉評価装置20について説明する。錦鯉評価装置20は、錦鯉自動計測装置10から出力された色補正後の撮影画像から特徴量を抽出し、その特徴量に基づいて錦鯉を評価し、その評価結果を錦鯉自動計測装置10に出力する。これにより、従来、主観的であった錦鯉の評価を客観的に行うことができる装置である。 Next, the Nishikigoi evaluation device 20 will be explained. The Nishikigoi evaluation device 20 extracts feature amounts from the photographed image after color correction output from the Nishikigoi automatic measurement device 10, evaluates the Nishikigoi based on the feature amounts, and outputs the evaluation result to the Nishikigoi automatic measurement device 10. do. This makes it possible to objectively evaluate Nishikigoi, which was conventionally subjective.

錦鯉評価装置20は、具体的には、図1に示すように、画像取得部21と、特徴量取得部22と、評価部23と、出力部24とを備えている。 Specifically, the Nishikigoi evaluation device 20 includes an image acquisition section 21, a feature amount acquisition section 22, an evaluation section 23, and an output section 24, as shown in FIG.

画像取得部21は、評価対象の錦鯉を撮影した撮影画像を取得する。具体的には、画像取得部21は、錦鯉自動計測装置10の撮影部11によって撮影された撮影画像を取得する。画像取得部21は、たとえば錦鯉を上(背びれ側)から平面視した画像を取得する。なお、本実施形態では、錦鯉の背びれ側を上、腹側を下とし、頭部側を前、尾側を後ろとし、右目側を右、左目側を左とする。 The image acquisition unit 21 acquires a photographed image of a Nishikigoi to be evaluated. Specifically, the image acquisition section 21 acquires a photographed image photographed by the photographing section 11 of the Nishikigoi automatic measuring device 10. The image acquisition unit 21 acquires, for example, an image of a Nishikigoi viewed from above (dorsal fin side). In this embodiment, the dorsal fin side of the Nishikigoi is the top, the ventral side is the bottom, the head side is the front, the tail side is the back, the right eye side is the right, and the left eye side is the left.

特徴量取得部22は、画像取得部21によって取得された評価対象の錦鯉の撮影画像から特徴量を抽出して取得する。本実施形態においては、特徴量として、錦鯉の体型の情報、錦鯉の色の情報、錦鯉の模様の情報および仕上がりの情報を取得する。 The feature amount acquisition unit 22 extracts and acquires feature amounts from the photographed image of the Nishikigoi to be evaluated, which is acquired by the image acquisition unit 21. In this embodiment, information on the body shape of the Nishikigoi, information on the color of the Nishikigoi, information on the pattern of the Nishikigoi, and information on the finish are acquired as the feature amounts.

特徴量取得部22は、画像取得部21によって取得された撮影画像に対して輪郭抽出処理を施す。輪郭抽出処理は、錦鯉の輪郭を抽出する処理である。輪郭抽出処理については、エッジ抽出処理など既存の画像処理を用いることができる。輪郭抽出処理によって抽出された錦鯉の輪郭情報は、以下で説明する特徴量の抽出の際に用いられる。 The feature amount acquisition unit 22 performs contour extraction processing on the captured image acquired by the image acquisition unit 21. The contour extraction process is a process for extracting the contour of a Nishikigoi. Existing image processing such as edge extraction processing can be used for the contour extraction processing. The contour information of the Nishikigoi extracted by the contour extraction process is used when extracting the feature amount described below.

特徴量取得部22は、上述したような輪郭抽出処理によって抽出された錦鯉の輪郭情報に基づいて錦鯉の体型の情報を取得するとともに、錦鯉の色補正後の撮影画像に基づいて、色の情報、模様の情報および仕上がりの情報を取得する。 The feature acquisition unit 22 acquires information on the body shape of the Nishikigoi based on the contour information of the Nishikigoi extracted by the contour extraction process as described above, and also acquires color information based on the photographed image of the Nishikigoi after color correction. , obtain pattern information and finish information.

まず、錦鯉の体型の情報について説明する。 First, information on the body shape of Nishikigoi will be explained.

錦鯉を評価する際、錦鯉の体型については、以下の点が考慮される。
・尾筒は細すぎず、太すぎないで身体の各部位と比例してバランスが取れていること
・頭の大きさと身体全体とがアンバランスでないこと
・体に対して各鰭の大きさがバランス取れて左右対称であること
・背筋および背骨をセンターラインとして弓状であり、左右対称で曲がりがないこと
・頭部から尾鰭にかけてのラインがスムーズなこと
When evaluating Nishikigoi, the following points are taken into consideration regarding the body shape of Nishikigoi.
・The tail tube must be balanced in proportion to each part of the body, neither too thin nor too thick. ・The size of the head and the entire body must not be unbalanced. ・The size of each fin relative to the body must be Balanced and symmetrical - Arched with the back muscles and spine as the center line, symmetrical and without bending - Smooth line from the head to the caudal fin

そこで、本実施形態の特徴量取得部22は、錦鯉の輪郭情報に基づいて、図10に示すa~fを求める。aは、頭部の幅であり、左目の内側から右目の内側の間の距離である。また、bは、肩幅(体で一番太いところの幅)であり、左胸鰭の最後部の端と右胸鰭の最後部の端の間の距離である。cは、腹の出っ張り具合であり、背鰭の前端の位置における左右両端の間の距離である。dは、尾筒の太さであり、尾鰭の前端の位置における左右両端の間の距離である。eは、胸鰭の横幅であって、胸鰭の付け根から左右方向の端までの距離である。fは、胸鰭の縦幅であって、胸鰭の前端から後端までの長さである。 Therefore, the feature amount acquisition unit 22 of this embodiment obtains a to f shown in FIG. 10 based on the contour information of the Nishikigoi. a is the width of the head and is the distance between the inside of the left eye and the inside of the right eye. Further, b is the shoulder width (width at the widest point of the body), and is the distance between the rearmost end of the left pectoral fin and the rearmost end of the right pectoral fin. c is the degree of protrusion of the abdomen, and is the distance between the left and right ends of the front end of the dorsal fin. d is the thickness of the caudal fin, and is the distance between the left and right ends at the front end of the caudal fin. e is the width of the pectoral fin, and is the distance from the base of the pectoral fin to the end in the left-right direction. f is the vertical width of the pectoral fin, and is the length from the front end to the rear end of the pectoral fin.

なお、左目および右目の位置、胸鰭の位置、背鰭の位置および尾鰭の位置については、既存の画像処理およびパターン認識を用いることによって検出される。 Note that the positions of the left eye and right eye, the position of the pectoral fin, the position of the dorsal fin, and the position of the caudal fin are detected by using existing image processing and pattern recognition.

そして、特徴量取得部22は、下式を算出して、比率Wa~Wfを求める。
Wa=a/b,Wb=b/c,Wc=c/d,Wd=a/d,We=b/e,
Wf=e/f
Then, the feature amount acquisition unit 22 calculates the following formula to obtain the ratios Wa to Wf.
Wa=a/b, Wb=b/c, Wc=c/d, Wd=a/d, We=b/e,
Wf=e/f

また、特徴量取得部22は、錦鯉の輪郭情報に基づいて、図10に示すg~kを求める。gは、口先から尾鰭の後端までの体の全長である。hは、口先から鰓蓋の最後端までの頭部の長さである。iは、鰓蓋の最後端から背鰭の前端までの背中の長さである。jは、背鰭の前端から尾鰭の前端までの胴の長さである。kは、尾鰭の前端から尾鰭の後端までの尾鰭の長さである。 Further, the feature amount acquisition unit 22 obtains g to k shown in FIG. 10 based on the contour information of the Nishikigoi. g is the total length of the body from the tip of the snout to the rear end of the caudal fin. h is the length of the head from the tip of the snout to the rearmost end of the gill cover. i is the length of the back from the most posterior end of the gill cover to the anterior end of the dorsal fin. j is the length of the body from the anterior end of the dorsal fin to the anterior end of the caudal fin. k is the length of the caudal fin from the anterior end of the caudal fin to the posterior end of the caudal fin.

なお、鰓蓋については、図10では図示省略しているが、鰓の輪郭を抽出することによってその位置を検出可能である。また、錦鯉を上から撮影した画像だけで検出が困難である場合には、さらに画像取得部21が、左側から撮影した画像または右側から撮影した画像を取得し、特徴量取得部22が、これらの画像から鰓蓋の位置を検出するようにしてもよい。 Although the gill cover is not shown in FIG. 10, its position can be detected by extracting the gill outline. In addition, if it is difficult to detect a Nishikigoi with only an image taken from above, the image acquisition unit 21 further acquires an image taken from the left side or an image taken from the right side, and the feature amount acquisition unit 22 The position of the gill cover may be detected from the image.

そして、特徴量取得部22は、下式を算出して、比率Lh~Lfを求める。
Lh=g/h,Li=g/i,Lj=g/j,Lk=g/k,Lf=g/f,
Then, the feature amount acquisition unit 22 calculates the following formula to obtain the ratios Lh to Lf.
Lh=g/h, Li=g/i, Lj=g/j, Lk=g/k, Lf=g/f,

特徴量取得部22は、錦鯉の体型の情報として、上述したWa~Wf、Lh~Lfの11個の比率を算出する。 The feature amount acquisition unit 22 calculates the above-mentioned 11 ratios of Wa to Wf and Lh to Lf as information on the body shape of the Nishikigoi.

また、特徴量取得部22は、錦鯉の輪郭情報から錦鯉の背骨のラインを求める。具体的には、背鰭の前端から背鰭を通って尾鰭の前端までのラインを背骨のラインとして求める。背鰭の後端から尾鰭の前端までは、たとえば直線で結ぶようにすればよい。 Further, the feature amount acquisition unit 22 obtains the spine line of the Nishikigoi from the Nishikigoi contour information. Specifically, the line from the front end of the dorsal fin to the front end of the caudal fin, passing through the dorsal fin, is determined as the line of the spine. For example, a straight line may be used to connect the rear end of the dorsal fin to the front end of the caudal fin.

次に、特徴量取得部22は、錦鯉の体型の情報として、錦鯉における欠陥の有無の情報を取得する。 Next, the feature amount acquisition unit 22 acquires information on the presence or absence of defects in the Nishikigoi as information on the body shape of the Nishikigoi.

具体的には、特徴量取得部22は、錦鯉の輪郭情報に基づいて、口髭が、大2本および小2本の合計4本が揃っているか否かを確認する。また、特徴量取得部22は、錦鯉の画像から左右の目の位置を求め、目の位置が左右対称であるか否かを確認する。また、特徴量取得部22は、錦鯉の輪郭情報に基づいて、鰓蓋に反りがあるか否かを検出する。また、特徴量取得部22は、錦鯉の輪郭情報に基づいて、胸鰭に欠損、ねじれおよび変形があるか否かを確認する。 Specifically, the feature amount acquisition unit 22 checks whether there are a total of four mustaches, two large and two small, based on the contour information of the Nishikigoi. Further, the feature amount acquisition unit 22 determines the positions of the left and right eyes from the image of the Nishikigoi, and checks whether the positions of the eyes are symmetrical. Furthermore, the feature amount acquisition unit 22 detects whether or not there is a warp in the gill cover based on the contour information of the Nishikigoi. Furthermore, the feature acquisition unit 22 checks whether the pectoral fin has a defect, twist, or deformation based on the outline information of the Nishikigoi.

また、特徴量取得部22は、錦鯉の画像から鱗を抽出し、鱗の並びが整然ではなく、不揃いであるか否かを確認する。具体的には、特徴量取得部22は、各鱗の中心を求め、前後方向に隣接する鱗の中心を結ぶ直線を求める。そして、特徴量取得部22は、その直線が滑らかではなく、凹凸が含まれていることを検出することによって、鱗の不揃いを確認する。 Further, the feature amount acquisition unit 22 extracts scales from the Nishikigoi image and checks whether the scales are arranged in an irregular manner or not. Specifically, the feature amount acquisition unit 22 finds the center of each scale, and finds a straight line connecting the centers of scales adjacent in the front-back direction. Then, the feature amount acquisition unit 22 confirms the irregularity of the scales by detecting that the straight line is not smooth and includes irregularities.

また、特徴量取得部22は、錦鯉の画像から抽出した鱗のパターンの中に、予め設定された面積以上の範囲内に鱗のパターンが存在しないことを確認することによって、ケロイドの有無の情報を取得する。 In addition, the feature amount acquisition unit 22 obtains information on the presence or absence of keloids by confirming that there is no scale pattern within a preset area or more among the scale patterns extracted from the Nishikigoi image. get.

特徴量取得部22は、錦鯉における欠陥の有無の情報として、上述したように、口髭の情報と、左右目の対称性の情報と、鰓蓋の反り情報と、胸鰭の欠陥情報と、鱗の整列情報と、ケロイドの情報とを取得する。 As described above, the feature acquisition unit 22 obtains information on the presence or absence of defects in the Nishikigoi, including mustache information, left and right eye symmetry information, gill cover warp information, pectoral fin defect information, and scale information. Obtain alignment information and keloid information.

すなわち、特徴量取得部22は、錦鯉の体型の情報として、上述した11個の比率と、背骨のラインと、6個の欠陥情報とを取得する。 That is, the feature amount acquisition unit 22 acquires the above-mentioned 11 ratios, the line of the spine, and 6 pieces of defect information as information on the body shape of the Nishikigoi.

なお、背骨のラインの情報としては、たとえば予め設定された座標系に背骨のラインをプロットした場合におけるライン上の複数の点の座標が取得される。また、6個の欠陥情報については、たとえば欠陥の有りの情報として数値の「1」が取得され、欠陥無しの情報として数値の「0」が取得される。 Note that as the information on the spine line, for example, when the spine line is plotted in a preset coordinate system, the coordinates of a plurality of points on the line are acquired. Further, regarding the six pieces of defect information, for example, a numerical value of "1" is acquired as information indicating that there is a defect, and a numerical value of "0" is acquired as information that there is no defect.

次に、錦鯉の色の情報について説明する。なお、本実施形態では、錦鯉の種類が「紅白」の場合の色の情報について説明する。 Next, information on the color of Nishikigoi will be explained. In this embodiment, color information when the type of Nishikigoi is "red and white" will be explained.

錦鯉(紅白)を評価する際、錦鯉の色の情報については、白地(=地肌)に関しては、以下の点が考慮される。
・深み、厚みのある乳白色で透明感のあること
・地体に下緋(ピンク地に見える)がないこと
・黄ばみがないこと
・シミ等がないこと
When evaluating Nishikigoi (red and white), the following points are taken into consideration regarding the color information of Nishikigoi and the white background (=ground skin).
・Deep, thick, milky white color with a sense of transparency ・No yellowing (looks pink) on the ground ・No yellowing ・No stains etc.

そこで、本実施形態の特徴量取得部22は、図11に示すような、錦鯉の撮影画像を構成する各画素の色の頻度分布を求める。 Therefore, the feature amount acquisition unit 22 of this embodiment obtains the frequency distribution of the color of each pixel constituting the photographed image of the Nishikigoi, as shown in FIG. 11.

そして、特徴量取得部22は、色の頻度分布に基づいて、乳白色の画素の頻度を求めて白地の情報として取得する。なお、乳白色のRGBの値は、予め設定されているものとする。錦鯉(紅白)の白地は、乳白色であることが好ましい。 Then, the feature amount acquisition unit 22 determines the frequency of milky white pixels based on the color frequency distribution and acquires the frequency as white background information. Note that the RGB values of milky white are set in advance. The white background of Nishikigoi (Kohaku) is preferably milky white.

また、特徴量取得部22は、色の頻度分布に基づいて、下緋に対応するピンクの画素の頻度を求めて下緋の情報として取得する。なお、下緋に対応するピンクのRGBの値は、予め設定されているものとする。錦鯉(紅白)の白地は、乳白色であることが好ましく、下緋(ピンク)が現れていない方が好ましい。 Further, the feature amount acquisition unit 22 determines the frequency of pink pixels corresponding to the color hi and acquires it as information about the color hi, based on the color frequency distribution. Note that it is assumed that the RGB values of pink corresponding to the yellow color are set in advance. The white background of Nishikigoi (red and white) is preferably milky white, and it is preferable that no pink color appears.

また、特徴量取得部22は、色の頻度分布に基づいて、黄ばみに対応する黄色の画素の頻度を求めて黄ばみの情報として取得する。なお、黄ばみに対応する黄色のRGBの値は、予め設定されているものとする。黄ばみは無い方が好ましい。 Further, the feature amount acquisition unit 22 obtains the frequency of yellow pixels corresponding to yellowing based on the color frequency distribution and acquires the frequency as yellowing information. Note that it is assumed that the RGB values of yellow corresponding to yellowing are set in advance. It is preferable that there is no yellowing.

また、特徴量取得部22は、色の頻度分布に基づいて、シミに対応する茶系および黒系の画素の頻度を求めてシミの情報を取得する。なお、シミに対応する茶系および黒系のRGBの値は、予め設定されているものとする。シミは無い方が好ましい。 Further, the feature amount acquisition unit 22 obtains information about the stain by determining the frequencies of brown and black pixels corresponding to the stain based on the color frequency distribution. Note that it is assumed that the brownish and blackish RGB values corresponding to the stain are set in advance. It is preferable that there are no stains.

次に、錦鯉の色の情報について、緋盤(紅の部分)に関しては、以下の点が考慮される。
・頭部から尾筒にかけて緋盤の色が均一であること
・紅の色が鮮明であること、色合い(柿色系、ピンク系が明るくて良いとされる)が良いこと
・色度ではなく、緋盤厚みを見ること(練り込み、つまり鱗目が見えないものは厚みがあるとされる)
・緋盤の切れが良く整ったサシであり、頭緋のキワおよび鱗のキワ・サシが滲んでないこと
・緋盤の中に色の濃淡やシミが浮き出ていないこと
Next, regarding information on the color of Nishikigoi, regarding the Hiban (red part), the following points are taken into consideration.
・The color of the hiban from the head to the tail tube must be uniform. ・The red color must be clear, and the hue (persimmon and pink colors are said to be bright and good) is good. ・It is not the chromaticity that is important. Checking the thickness of the Hiban (Neri-komi, that is, if you can't see the scales, it is considered thick)
・The marbling of the scarlet board is well-cut, and the edges of the head scarlet and the edges and marbling of the scales are not blurred.・There are no color shading or stains that stand out in the scarlet board.

そこで、本実施形態の特徴量取得部22は、錦鯉の画像から緋盤の範囲を抽出し、その緋盤の範囲の各画素の色の頻度分布を算出する。なお、緋盤の範囲に対応するRGBの範囲については予め設定されているものとする。 Therefore, the feature amount acquisition unit 22 of this embodiment extracts the range of the scarlet board from the image of the Nishikigoi, and calculates the frequency distribution of the color of each pixel in the range of the scarlet board. It is assumed that the range of RGB corresponding to the range of scarlet is set in advance.

そして、特徴量取得部22は、その緋盤の範囲の色の頻度分布の分散または標準偏差を求めて緋盤の色の均一性の情報を取得する。分散または標準偏差が小さい方が色の均一性があり、好ましい。 Then, the feature amount acquisition unit 22 obtains information on the uniformity of the color of the scarlet by finding the variance or standard deviation of the frequency distribution of colors in the range of the scarlet. The smaller the dispersion or standard deviation, the more uniform the color, which is preferable.

また、特徴量取得部22は、たとえば緋盤の範囲の各画素のRGBをLの色空間の信号に変換し、aとbの値に基づいて彩度を求めて緋盤の色の鮮明度(色合い)の情報として取得する。 Further, the feature amount acquisition unit 22 converts the RGB of each pixel in the range of Hiban, for example, into a signal of the L * a * b * color space, and calculates the saturation based on the values of a * and b * . Obtained as information on the clarity (shade) of the color of the scarlet board.

また、特徴量取得部22は、緋盤の範囲の画像全体に含まれる鱗のパターンを抽出し、その抽出した鱗のパターンのエッジを検出してエッジ量を求めて緋盤の厚みの情報として取得する。エッジ量とは、エッジを構成する画素の総数である。エッジ量が少ない方が緋盤に厚みがあり、好ましい。 In addition, the feature amount acquisition unit 22 extracts the scale pattern included in the entire image of the area of the Hiban, detects the edges of the extracted scale pattern, obtains the edge amount, and uses the information as information about the thickness of the Hiban. get. The edge amount is the total number of pixels forming an edge. The smaller the amount of edges, the thicker the Hiban, which is preferable.

また、特徴量取得部22は、錦鯉の画像に基づいて、緋盤の範囲と白地の範囲との境界におけるエッジの鮮鋭度(ボケの程度)を求めてサシ・キワの滲みの情報として取得する。なお、エッジの鮮鋭度(ボケの程度)の算出方法については、既存の方法を用いることができる。エッジの鮮鋭度が高い方がサシ・キワの滲みが少なく好ましい。 Further, the feature amount acquisition unit 22 obtains the sharpness (degree of blur) of the edge at the boundary between the area of the scarlet board and the area of the white background based on the image of the Nishikigoi, and acquires this as information on the blurring of the marbling and creases. . Note that an existing method can be used to calculate the edge sharpness (degree of blur). It is preferable that the edge sharpness is high because there is less blurring of the edges and edges.

なお、緋盤の中に色の濃淡やシミが浮き出ていないことについては、上述したシミの情報として取得される。 Note that the color shading and the fact that no stains stand out in the scarlet board are acquired as the above-mentioned stain information.

すなわち、特徴量取得部22は、錦鯉の色の情報として、白地の情報、下緋の情報、黄ばみの情報、シミの情報、緋盤の色の均一性の情報、緋盤の色の鮮明度(色合い)の情報、緋盤の厚みの情報、およびサシ・キワの滲みの情報を取得する。 That is, the feature acquisition unit 22 obtains, as color information of the Nishikigoi, information on the white background, information on the lower scarlet color, information on yellowing, information on stains, information on the uniformity of the color of the scarlet disc, and information on the sharpness of the color of the scarlet disc. (color) information, information on the thickness of the scarlet board, and information on the bleeding of the marbling and edges.

次に、錦鯉の模様の情報について説明する。なお、本実施形態では、錦鯉の種類が「紅白」の場合の模様の情報について説明する。 Next, information on the pattern of Nishikigoi will be explained. In this embodiment, pattern information when the type of Nishikigoi is "red and white" will be explained.

錦鯉(紅白)を評価する際、錦鯉の模様の情報については、以下の点が考慮される。
・頭部から胴体部を経て尾部までの各部位において、斑紋の形と大きさと数がその体に調和されていること
・緋盤が鼻先と尾の付け根からともに切れていること。
When evaluating Nishikigoi (red and white), the following points are taken into consideration regarding the information on the Nishikigoi's pattern.
・The shape, size, and number of markings on each part of the animal, from the head through the body to the tail, must be in harmony with the body. ・Hiban must be cut off at both the tip of the snout and the base of the tail.

そこで、本実施形態の特徴量取得部22は、錦鯉の画像から緋盤の範囲を抽出する。
そして、特徴量取得部22は、緋盤の範囲の一部が鼻先の範囲に含まれているか否かと、
緋盤の範囲が尾の付け根に差し掛かっているか否かを確認する。なお、鼻先の範囲と尾の付け根については、予め設定された条件に基づいて、既存の画像処理方法を用いて設定される。
Therefore, the feature amount acquisition unit 22 of this embodiment extracts the range of the Hiban from the image of the Nishikigoi.
Then, the feature amount acquisition unit 22 determines whether or not a part of the range of the scarlet board is included in the range of the tip of the nose.
Check whether the range of Hiban is approaching the base of the tail. Note that the range of the tip of the nose and the base of the tail are set using an existing image processing method based on preset conditions.

特徴量取得部22は、緋盤の範囲の一部が鼻先の範囲に含まれておらず、かつ緋盤の範囲が尾の付け根に差し掛かっていない場合には、緋盤のかかり情報として「良」の情報を取得し、緋盤の範囲の一部が鼻先の範囲に含まれているか、または緋盤の範囲が尾の付け根に差し掛かっている場合には、緋盤のかかり情報として「不良」の情報を取得する。 If a part of the range of the Hiban is not included in the range of the tip of the nose, and the range of the Hiban is not approaching the base of the tail, the feature value acquisition unit 22 determines that the range of the Hiban is "good" as the coverage information of the Hiban. If part of the range of Hiban is included in the range of the tip of the nose, or if the range of Hiban is approaching the base of the tail, "Bad" is displayed as the information on Hiban. Get information about.

また、特徴量取得部22は、錦鯉の画像を頭部、胴体部および尾部の3つに分割し、各部位に含まれる緋盤の範囲を特定する。頭部、胴体部および尾部については、予め設定された条件にて分割するようにすればよい。 Furthermore, the feature acquisition unit 22 divides the image of the Nishikigoi into three parts: the head, the body, and the tail, and specifies the range of the Hiban included in each part. The head, body, and tail may be divided according to preset conditions.

そして、特徴量取得部22は、各部位の全体面積に対する各部位に含まれる緋盤の範囲の面積の比率を算出し、その各部位の比率を緋盤のバランスの情報として取得する。なお、各部位の緋盤の比率が50%~90%である場合に、緋盤のバランスの良いと判断され、それ以外の比率の場合には、緋盤のバランスが悪いと判断される。 Then, the feature amount acquisition unit 22 calculates the ratio of the area of the range of the scarlet board included in each part to the total area of each part, and acquires the ratio of each part as information on the balance of the scarlet board. Note that when the ratio of Hiban in each part is 50% to 90%, it is determined that the balance of Hiban is good, and in the case of other ratios, it is determined that the balance of Hiban is poor.

また、特徴量取得部22は、各部位に含まれる緋盤の個数と各緋盤の周囲の長さを緋盤のバランスの情報として取得する。 Further, the feature amount acquisition unit 22 acquires the number of scarlet boards included in each part and the circumferential length of each scarlet board as information on the balance of the scarlet boards.

すなわち、特徴量取得部22は、錦鯉の模様の情報として、緋盤のかかり情報おび緋盤のバランスの情報を取得する。なお、緋盤のかかり情報については、たとえば緋盤のかかり情報が「良」の場合には数値の「1」が取得され、「不良」の場合には数値の「0」が取得される。 That is, the feature amount acquisition unit 22 acquires information on the coverage of the hi-ban and information on the balance of the hi-ban as information on the pattern of the Nishikigoi. In addition, regarding the performance information of the scarlet board, for example, when the performance information of the scarlet board is "good", a numerical value of "1" is obtained, and when the performance information of the scarlet board is "bad", a numerical value of "0" is obtained.

次に、錦鯉の仕上がりの情報について説明する。なお、本実施形態では、錦鯉の種類が「紅白」の場合の仕上がりの情報について説明する。 Next, information on the finish of Nishikigoi will be explained. In this embodiment, information on the finish when the type of Nishikigoi is "red and white" will be explained.

錦鯉(紅白)を評価する際、錦鯉の仕上がりの情報について、以下の点が考慮される。
・色が鮮明で鮮やか、艶および照りが乗っていること、白濁の有無
・地肌の透明感と光沢、ツヤ感、滑らかさがあること、充血がないこと
・緋と地肌とのコントラストがはっきりしている(明るい色調であること)
When evaluating Nishikigoi (Kohaku), the following points are taken into consideration regarding the finish information of Nishikigoi.
・The color must be clear and vivid, with gloss and shine, and the presence of cloudiness. ・The scalp must be transparent, glossy, glossy, and smooth, and there is no bloodshot. ・The contrast between the scarlet color and the scalp must be clear. (must be a bright color)

そこで、特徴量取得部22は、錦鯉の画像に基づいて、コントラスト、明度および彩度を求めて仕上がりの情報として取得する。なお、彩度については、錦鯉の色の情報として緋盤の範囲の彩度を求めたが、仕上がりの情報としては、錦鯉の画像全体の彩度を求める。 Therefore, the feature amount acquisition unit 22 determines the contrast, brightness, and saturation based on the image of the Nishikigoi and acquires them as finished information. Regarding the saturation, the saturation of the Hiban area was determined as information on the color of the Nishikigoi, but the saturation of the entire Nishikigoi image was determined as information on the finish.

以上が、本実施形態の特徴量取得部22が取得する特徴量の説明である。 The above is the description of the feature amounts acquired by the feature amount acquisition unit 22 of this embodiment.

次に、評価部23について説明する。 Next, the evaluation section 23 will be explained.

評価部23は、複数の錦鯉の上述した特徴量とその各錦鯉の評価結果との関係を機械学習して得られた学習済モデルを有する。より具体的には、本実施形態の評価部23は、評価対象の錦鯉の体型を評価するための体型評価用学習済モデルと、錦鯉の質を評価するための質評価用学習済モデルと、錦鯉の模様を評価するための模様評価用学習済モデルと、錦鯉の仕上がりを評価するための仕上がり評価用学習済モデルの4つの学習済モデルを有する。 The evaluation unit 23 has a learned model obtained by performing machine learning on the relationship between the above-described feature amounts of a plurality of Nishikigoi and the evaluation results of each Nishikigoi. More specifically, the evaluation unit 23 of the present embodiment includes a trained model for body shape evaluation for evaluating the body shape of the Nishikigoi to be evaluated, a trained model for quality evaluation for evaluating the quality of the Nishikigoi, It has four trained models: a trained model for pattern evaluation to evaluate the pattern of Nishikigoi and a trained model for finish evaluation to evaluate the finish of Nishikigoi.

体型評価用学習済モデルについては、たとえば全日本愛鱗会および全日本振興会主催の過去の国際錦鯉品評会と全日本錦鯉品評会で世界チャンピオン(全体総合優勝)になった10匹の錦鯉の上述した体型の情報とその体型に関する評価結果(点数)との関係を機械学習し、基準となる学習済モデルを生成する。そして、さらにその基準となる学習済モデルについて、任意の複数の錦鯉の上述した体型の情報とその体型に関する評価結果(点数)との関係を機械学習させて体型評価用学習済モデルが得られる。上述した任意の複数の錦鯉には、評価結果が良いものおよび評価結果が悪いものなど種々の評価結果の錦鯉が含まれる。 As for the trained models for body shape evaluation, for example, the above-mentioned body shapes of the 10 Nishikigoi that won world champions (overall overall championships) at past International Nishikigoi Shows and All Japan Nishikigoi Shows sponsored by All Japan Airinkai and All Japan Promotion Association. Machine learning is performed on the relationship between the information on the body shape and the evaluation results (scores) regarding the body shape, and a learned model is generated as a reference. Further, for the learned model serving as the reference, a learned model for body shape evaluation is obtained by performing machine learning on the relationship between the above-mentioned body shape information of any plurality of Nishikigoi and the evaluation results (scores) regarding the body shape. The above-described plurality of Nishikigoi include Nishikigoi with various evaluation results, such as those with good evaluation results and those with poor evaluation results.

質評価用学習済モデルについては、世界チャンピオンの10匹の錦鯉の上述した色の情報とその色に関する評価結果(点数)との関係を機械学習し、基準となる学習済モデルを生成する。そして、さらにその基準となる学習済モデルについて、任意の複数の錦鯉の上述した色の情報とその色に関する評価結果(点数)との関係を機械学習させて質評価用学習済モデルが得られる。 As for the trained model for quality evaluation, machine learning is performed on the relationship between the above-mentioned color information of the 10 world champion Nishikigoi and the evaluation results (scores) regarding the color, and a trained model serving as a reference is generated. Then, for the trained model serving as the standard, a trained model for quality evaluation is obtained by performing machine learning on the relationship between the above-mentioned color information of any plurality of Nishikigoi and the evaluation result (score) regarding that color.

模様評価用学習済モデルについては、世界チャンピオンの10匹の錦鯉の上述した模様の情報とその模様に関する評価結果(点数)との関係を機械学習し、基準となる学習済モデルを生成する。そして、さらにその基準となる学習済モデルについて、任意の複数の錦鯉の上述した模様の情報とその模様に関する評価結果(点数)との関係を機械学習させて模様評価用学習済モデルが得られる。 Regarding the trained model for pattern evaluation, machine learning is performed on the relationship between the above-mentioned pattern information of the 10 world champion Nishikigoi and the evaluation results (scores) regarding the pattern, and a learned model serving as a reference is generated. Further, for the learned model serving as the reference, a learned model for pattern evaluation is obtained by performing machine learning on the relationship between the above-mentioned pattern information of arbitrary Nishikigoi and the evaluation results (scores) regarding the pattern.

仕上がり評価用学習済モデルは、世界チャンピオンの10匹の錦鯉の上述した仕上がりの情報とその仕上がりに関する評価結果(点数)との関係を機械学習し、基準となる学習済モデルを生成する。そして、さらにその基準となる学習済モデルについて、任意の複数の錦鯉の上述した仕上がりの情報とその仕上がりに関する評価結果(点数)との関係を機械学習させて仕上がり評価用学習済モデルが得られる。 The learned model for finish evaluation performs machine learning on the relationship between the above-mentioned finish information of the 10 world champion Nishikigoi and the evaluation results (scores) regarding the finish, and generates a learned model that serves as a reference. Then, for the learned model serving as the standard, a learned model for finish evaluation is obtained by performing machine learning on the relationship between the above-mentioned finish information of any plurality of Nishikigoi and the evaluation results (scores) regarding the finish.

なお、機械学習の方法としては、公知な手法を用いることができ、ディープニューラルネットワーク(DNN)、畳み込みニューラルネットワーク(CNN)、リカレントニューラルネットワーク(RNN)、およびデノイジングスタックオートエンコーダ(DSA)などを用いることができる。 Note that known methods can be used as the machine learning method, such as deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), and denoising stack autoencoder (DSA). can be used.

評価部23は、体型評価用学習済モデル、質評価用学習済モデル、模様評価用学習済モデル、および仕上がり評価用学習済モデルの4つ学習済モデルを用いて、評価対象の錦鯉を評価する。 The evaluation unit 23 evaluates the Nishikigoi to be evaluated using four trained models: a trained model for body evaluation, a trained model for quality evaluation, a trained model for pattern evaluation, and a trained model for finish evaluation. .

具体的には、評価部23は、体型評価用学習済モデルに対して、特徴量取得部22によって取得された評価対象の錦鯉の体型の情報を入力することによって、評価対象の錦鯉の体型を評価し、評価結果(点数)を得る。 Specifically, the evaluation unit 23 determines the body shape of the Nishikigoi to be evaluated by inputting the body shape information of the Nishikigoi to be evaluated, which was acquired by the feature value acquisition unit 22, into the trained model for body shape evaluation. Evaluate and obtain evaluation results (scores).

また、評価部23は、質評価用学習済モデルに対して、特徴量取得部22によって取得された評価対象の錦鯉の色の情報を入力することによって、評価対象の錦鯉の質を評価し、評価結果(点数)を得る。 In addition, the evaluation unit 23 evaluates the quality of the Nishikigoi to be evaluated by inputting the color information of the Nishikigoi to be evaluated acquired by the feature amount acquisition unit 22 to the trained model for quality evaluation, Obtain evaluation results (scores).

また、評価部23は、模様評価用学習済モデルに対して、特徴量取得部22によって取得された評価対象の錦鯉の模様の情報を入力することによって、評価対象の錦鯉の模様を評価し、評価結果(点数)を得る。 In addition, the evaluation unit 23 evaluates the pattern of the Nishikigoi to be evaluated by inputting information on the pattern of the Nishikigoi to be evaluated acquired by the feature amount acquisition unit 22 to the trained model for pattern evaluation, Obtain evaluation results (scores).

また、評価部23は、仕上がり評価用学習済モデルに対して、特徴量取得部22によって取得された評価対象の錦鯉の仕上がりの情報を入力することによって、評価対象の錦鯉の仕上がりを評価し、評価結果(点数)を得る。 In addition, the evaluation unit 23 evaluates the finish of the Nishikigoi to be evaluated by inputting the finish information of the Nishikigoi to be evaluated acquired by the feature value acquisition unit 22 to the trained model for finish evaluation, Obtain evaluation results (scores).

上述したようにして、評価部23は、評価対象の錦鯉の体型の点数と、色の点数と、模様の点数と、仕上がりの点数を取得する。 As described above, the evaluation unit 23 obtains the body shape score, color score, pattern score, and finish score of the Nishikigoi to be evaluated.

さらに、評価部23は、上述した4つの点数に対して、予め設定された重み付けをそれぞれ乗算して加算することによって、評価対象の錦鯉の総合評価結果(総合点数)を得る。 Furthermore, the evaluation unit 23 obtains a comprehensive evaluation result (total score) of the Nishikigoi to be evaluated by multiplying each of the above-mentioned four scores by preset weighting and adding them.

重み付けについては、任意に設定可能であり、たとえば体型の点数に対する重み付けをk1、質の点数に対する重み付けをk2、模様の点数に対する重み付けをk3、仕上がりの点数に対する重み付けをk4とし、体型の点数をs1、質の点数をs2、模様の点数をs3、仕上がりの点数をs4とすると、総合点数saは、下式(1)によって算出される。
sa=k1×s1+k2×s2+k3×s3+k4×s4 ・・・(1)
The weighting can be set arbitrarily; for example, the body type score is weighted k1, the quality score is weighted k2, the pattern score is weighted k3, the finish score is weighted k4, and the body shape score is weighted s1. , where the quality score is s2, the pattern score is s3, and the finish score is s4, the total score sa is calculated by the following formula (1).
sa=k1×s1+k2×s2+k3×s3+k4×s4...(1)

そして、本実施形態では、重み付けk1~k4を評価対象の錦鯉の成長段階によって変更する。 In this embodiment, the weights k1 to k4 are changed depending on the growth stage of the Nishikigoi to be evaluated.

たとえば評価対象の錦鯉が幼魚((第12部~25部)1cm~25cm)の段階である場合には、重み付けは、体型25%、質25%、模様25%、仕上がり25%に設定される。また、評価対象の錦鯉が若鯉((第30部~40部)25.1cm~40cm)の段階である場合には、重み付けは、体型35%、質30%、模様20%、仕上がり15%に設定される。また、評価対象の錦鯉が成魚((第45部~55部)40.1cm~55cm)の段階である場合には、重み付けは、体型40%、質30%、模様20%、仕上がり10%に設定される。また、評価対象の錦鯉が壮魚((第60部~70部)55.cm~70cm)の段階である場合には、重み付けは、体型40%、質30%、模様20%、仕上がり10%に設定される。また、評価対象の錦鯉が巨鯉((第75部~90部)70.1cm~90cm)の段階である場合には、重み付けは、体型50%、質25%、模様15%、仕上がり10%に設定される。 For example, if the Nishikigoi to be evaluated is at the juvenile stage ((Parts 12 to 25) 1 cm to 25 cm), the weighting is set to 25% for body shape, 25% for quality, 25% for pattern, and 25% for finish. . In addition, if the Nishikigoi to be evaluated is a young carp ((parts 30 to 40) 25.1cm to 40cm), the weighting is 35% for body type, 30% for quality, 20% for pattern, and 15% for finish. is set to In addition, if the Nishikigoi to be evaluated is an adult fish ((Parts 45 to 55) 40.1cm to 55cm), the weighting will be 40% for body type, 30% for quality, 20% for pattern, and 10% for finish. Set. In addition, if the Nishikigoi to be evaluated is at the stage of a magnificent fish ((Parts 60 to 70) 55.cm to 70cm), the weighting is 40% for body type, 30% for quality, 20% for pattern, and 10% for finish. is set to In addition, if the Nishikigoi to be evaluated is at the stage of giant carp ((Parts 75 to 90) 70.1cm to 90cm), the weighting will be 50% for body type, 25% for quality, 15% for pattern, and 10% for finish. Set.

評価部23は、錦鯉自動計測装置10によって計測された錦鯉の体長を受け付け、その受け付けた錦鯉の体長に基づいて錦鯉の成長段階を決定し、その決定した成長段階に応じた重み付けを設定して、上述した総合点数saを算出する。 The evaluation unit 23 receives the body length of the Nishikigoi measured by the Nishikigoi automatic measuring device 10, determines the growth stage of the Nishikigoi based on the received body length of the Nishikigoi, and sets weighting according to the determined growth stage. , calculate the above-mentioned total score sa.

なお、本実施形態においては、評価部23が、4つの学習済モデルを有するようにしたが、これに限らず、4つの学習済モデルについては、錦鯉評価装置20と通信ネットワークを介して接続されるサーバ装置などに記憶され、これを利用して評価するようにしてもよい。 In the present embodiment, the evaluation unit 23 has four learned models, but the present invention is not limited to this, and the four learned models may be connected to the Nishikigoi evaluation device 20 via a communication network. The information may be stored in a server device, etc., and may be used for evaluation.

また、本実施形態の錦鯉評価装置20に学習済モデル生成部を設け、その学習済モデル生成部において、体型評価用学習済モデル、質評価用学習済モデル、模様評価用学習済モデル、および仕上がり評価用学習済モデルの4つ学習済モデルを生成するようにしてもよい。その場合、画像取得部21によって、上述した機械学習用の錦鯉の撮影画像を取得し、特徴量取得部22によって、その取得した撮影画像の特徴量を取得するようにすればよい。また、各錦鯉の評価結果(点数)については、錦鯉評価装置20に接続された所定の入力装置(図示省略)を用いてユーザが設定入力すればよい。 Further, the Nishikigoi evaluation device 20 of this embodiment is provided with a trained model generation section, and the trained model generation section generates a trained model for body evaluation, a trained model for quality evaluation, a trained model for pattern evaluation, and a trained model for pattern evaluation. Four trained models for evaluation may be generated. In that case, the image acquisition section 21 may acquire the photographed image of the Nishikigoi for machine learning described above, and the feature amount acquisition section 22 may acquire the feature amount of the acquired photographed image. Further, the evaluation results (scores) of each Nishikigoi may be set and input by the user using a predetermined input device (not shown) connected to the Nishikigoi evaluation device 20.

出力部24は、評価部23によって評価された評価対象の錦鯉の評価結果を出力する。本実施形態の出力部24は、評価対象の錦鯉の体型の点数s1、質の点数s2、模様の点数s3、仕上がりの点数s4、および総合点数saを錦鯉自動計測装置10に出力する。 The output unit 24 outputs the evaluation result of the Nishikigoi to be evaluated, which has been evaluated by the evaluation unit 23. The output unit 24 of this embodiment outputs the body type score s1, quality score s2, pattern score s3, finish score s4, and total score sa of the Nishikigoi to be evaluated to the Nishikigoi automatic measuring device 10.

具体的には、本実施形態の出力部24は、評価対象の錦鯉の体型の点数s1、質の点数s2、模様の点数s3、仕上がりの点数s4および総合点数saを錦鯉自動計測装置10の表示部15に表示させる。表示方法としては、たとえば図12に示すように体型の点数s1、質の点数s2、模様の点数s3および仕上がりの点数s4をレーダーチャートして表示させるとともに、総合点数saをテキスト表示する。 Specifically, the output unit 24 of this embodiment displays the body shape score s1, quality score s2, pattern score s3, finishing score s4, and total score sa of the Nishikigoi to be evaluated on the Nishikigoi automatic measuring device 10. section 15. As a display method, for example, as shown in FIG. 12, body shape score s1, quality score s2, pattern score s3, and finish score s4 are displayed as a radar chart, and the total score sa is displayed in text.

錦鯉評価装置20は、コンピュータから構成され、CPU(Central Processing Unit)またはGPU(Graphics Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)などの半導体メモリ、ハードディスクなどのストレージ、および通信I/F(Interface)などを備えている。 The Nishikigoi evaluation device 20 is composed of a computer, which includes a CPU (Central Processing Unit) or GPU (Graphics Processing Unit), semiconductor memory such as ROM (Read Only Memory) and RAM (Random Access Memory), storage such as a hard disk, and communication. It is equipped with I/F (Interface), etc.

また、錦鯉評価装置20の半導体メモリまたはハードディスクには、錦鯉評価プログラムがインストールされている。CPUまたはGPUが、この錦鯉評価プログラムを実行することによって、上述した画像取得部21、特徴量取得部22、評価部23および出力部24が機能する。 Furthermore, a Nishikigoi evaluation program is installed in the semiconductor memory or hard disk of the Nishikigoi evaluation device 20. When the CPU or GPU executes this Nishikigoi evaluation program, the image acquisition section 21, feature amount acquisition section 22, evaluation section 23, and output section 24 described above function.

なお、錦鯉評価装置20のハードウェア構成は、上述した構成に限定されない。 Note that the hardware configuration of the Nishikigoi evaluation device 20 is not limited to the configuration described above.

また、本実施形態においては、上述した画像取得部21、特徴量取得部22、評価部23および出力部24の機能を全て錦鯉評価プログラムによって実行するようにしたが、これに限らず、一部または全部の機能をASIC(Application Specific Integrated Circuit)やFPGA(Field-Programmable Gate Array)、その他の電気回路などのハードウェアから構成するようにしてもよい。 In addition, in this embodiment, all of the functions of the image acquisition section 21, feature value acquisition section 22, evaluation section 23, and output section 24 described above are executed by the Nishikigoi evaluation program, but the present invention is not limited to this. Alternatively, all functions may be configured from hardware such as an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or other electrical circuits.

次に、本実施形態の錦鯉自動計測評価システム1の処理の流れについて、図13に示すフローチャートを参照しながら説明する。 Next, the process flow of the Nishikigoi automatic measurement and evaluation system 1 of this embodiment will be explained with reference to the flowchart shown in FIG. 13.

まず、錦鯉自動計測装置10の撮影部11が起動され、表示部15に撮影枠15a,15bが表示される(S10)。 First, the photographing section 11 of the automatic Nishikigoi measuring device 10 is activated, and photographing frames 15a and 15b are displayed on the display section 15 (S10).

次に、計測対象の錦鯉の近傍に目盛り付きカラーパレット30を配置し(S12)、撮影部11の撮影範囲内に錦鯉と目盛り付きカラーパレット30の両方が収まるようにする。 Next, the color pallet 30 with scales is placed near the Nishikigoi to be measured (S12), so that both the Nishikigoi and the color pallet 30 with scales are within the photographing range of the photographing unit 11.

続いて、表示部15に表示されたプレビュー画像内の錦鯉が、撮影枠15a,15b内に収まるようにユーザによって錦鯉自動計測装置10の位置および角度が調整される(S14)。そして、撮影部11によってプレビュー画像内の錦鯉が、撮影枠15a,15b内に収まった時点で(S16,YES)撮影可能となり(S18)、撮影ボタン14cがタップされて撮影画像が撮影される(S20)。 Subsequently, the user adjusts the position and angle of the automatic Nishikigoi measuring device 10 so that the Nishikigoi in the preview image displayed on the display unit 15 falls within the photographing frames 15a and 15b (S14). Then, when the Nishikigoi in the preview image is placed within the photographing frames 15a and 15b by the photographing unit 11 (S16, YES), photographing becomes possible (S18), and the photographing button 14c is tapped to photograph the photographed image ( S20).

次に、計測対象部分認識部12によって撮影画像における錦鯉の頭部と尾鰭が認識され(S22)、自動計測部13によって錦鯉の体長が自動計測される(S24)。また、色補正部14によって撮影画像に対して色補正が施される(S26)。 Next, the measurement target portion recognition section 12 recognizes the head and caudal fin of the Nishikigoi in the photographed image (S22), and the automatic measurement section 13 automatically measures the body length of the Nishikigoi (S24). Furthermore, the color correction unit 14 performs color correction on the photographed image (S26).

続いて、錦鯉評価装置20の画像取得部21によって色補正後の撮影画像が取得される(S28)。 Subsequently, the image acquisition unit 21 of the Nishikigoi evaluation device 20 acquires a photographed image after color correction (S28).

そして、特徴量取得部22において、色補正された撮影画像に基づいて、錦鯉の体型の情報、色の情報、模様の情報および仕上がりの情報の特徴量が取得される(S30)。 Then, the feature amount acquisition unit 22 obtains feature amounts of body shape information, color information, pattern information, and finish information of the Nishikigoi based on the color-corrected photographed image (S30).

そして、評価部23が有する4つの学習済モデルに対してそれぞれの特徴量が入力され、評価対象の錦鯉の体型の点数、質の点数、模様の点数および仕上がりの点数並びに総合点数が求められる(S32)。 Then, the respective feature quantities are input to the four learned models possessed by the evaluation unit 23, and the body shape score, quality score, pattern score, finish score, and overall score of the Nishikigoi to be evaluated are determined ( S32).

そして、出力部24は、評価対象の錦鯉の体型の点数、質の点数、模様の点数および仕上がりの点数を錦鯉自動計測装置10に出力して表示部15にレーダーチャートとして表示させるとともに、表示部15に総合点数をテキスト表示させる。(S34)。 Then, the output unit 24 outputs the body type score, quality score, pattern score, and finish score of the Nishikigoi to be evaluated to the Nishikigoi automatic measurement device 10 and displays them on the display unit 15 as a radar chart, and also 15 to display the total score in text. (S34).

また、上記実施形態の錦鯉評価装置20においては、錦鯉における欠陥の有無の情報として、口髭の情報、左右目の対称性の情報、鰓蓋の反り情報、胸鰭の欠陥情報、鱗の整列情報およびケロイドの情報などを取得し、これを錦鯉の体型の情報として評価するようにしたが、これに限らず、このような錦鯉の欠損や欠点などの情報を単独で評価し、これを係数として乗算して総合点数saを算出するようにしてもよい。すなわち、下式(2)に示すように錦鯉の欠損や欠点などの情報の評価結果に基づく係数m1~m4を乗算して総合点数saを算出するようにしてもよい。
sa=k1×s1×m1+k2×s2×m2+k3×s3×m3+k4×s4×m4 ・・・(2)
In the Nishikigoi evaluation device 20 of the above embodiment, the information on the presence or absence of defects in Nishikigoi includes mustache information, left and right eye symmetry information, gill cover warp information, pectoral fin defect information, scale alignment information, and Information such as keloids is obtained and evaluated as information on the Nishikigoi's body shape, but this is not limited to this. Information such as defects and defects of the Nishikigoi can be evaluated independently and multiplied by this as a coefficient. Alternatively, the total score sa may be calculated. That is, the total score sa may be calculated by multiplying coefficients m1 to m4 based on the evaluation results of information such as defects and defects of the Nishikigoi, as shown in the following equation (2).
sa=k1×s1×m1+k2×s2×m2+k3×s3×m3+k4×s4×m4...(2)

また、たとえば主催者が異なる錦鯉品評会では、錦鯉の体型、錦鯉の色、錦鯉の模様および仕上がりの4種類の評価項目に対する比重がそれぞれ異なる。すなわち、錦鯉の体型の評価の比重がその他の評価項目よりも大きい錦鯉品評会もあれば、錦鯉の模様の評価の比重がその他の評価項目よりも大きい錦鯉品評会もある。そこで、錦鯉品評会毎に、各評価項目に対して異なる係数を乗算して総合点数を算出するようにしてもよい。錦鯉品評会毎に異なる係数をn1~n4とし、下式(3)に基づいて、総合点数saを算出するようにしてもよい。
sa=k1×s1×m1×n1+k2×s2×m2×n2+k3×s3×m3×n3+k4×s4×m4×n4 ・・・(3)
Furthermore, for example, in Nishikigoi competitions held by different organizers, the weights given to the four evaluation items of Nishikigoi body shape, Nishikigoi color, Nishikigoi pattern, and finish are different. That is, there are some Nishikigoi fairs where evaluation of the Nishikigoi's body shape is given more weight than other evaluation items, and there are also Nishikigoi fairs where evaluation of the Nishikigoi's pattern is given more weight than other evaluation items. Therefore, the total score may be calculated by multiplying each evaluation item by a different coefficient for each Nishikigoi fair. The total score sa may be calculated based on the following formula (3) using different coefficients n1 to n4 for each Nishikigoi fair.
sa=k1×s1×m1×n1+k2×s2×m2×n2+k3×s3×m3×n3+k4×s4×m4×n4...(3)

n1~n4は、錦鯉品評会の主催者によって任意に設定される値である。 n1 to n4 are values arbitrarily set by the organizer of the Nishikigoi fair.

また、上記実施形態については、計測対象の生物を錦鯉としたが、本発明の計測対象の生物は、錦鯉に限らず、たとえば金魚などの観賞魚や、盆栽などの観賞用の植物でもよい。観賞用の植物を計測する際には、撮影部11は、植物の外形を表す撮影枠を表示させる。そして、計測対象部分認識部12は、植物の根元と最も高い先端部分とを認識し、自動計測部13は、植物の根元と最も高い先端部分との間(植物の高さ)を計測する。なお、計測対象部分は、上記に限らず、その植物に特徴的な部分であれば如何なる場所でもよい。 Further, in the above embodiments, the organism to be measured is a colored carp, but the organism to be measured in the present invention is not limited to a colored carp, but may be an ornamental fish such as a goldfish, or an ornamental plant such as a bonsai. When measuring an ornamental plant, the photographing unit 11 displays a photographing frame representing the external shape of the plant. Then, the measurement target portion recognition unit 12 recognizes the root and the highest tip of the plant, and the automatic measurement unit 13 measures the distance between the root and the highest tip of the plant (the height of the plant). Note that the part to be measured is not limited to the above, and may be any part that is characteristic of the plant.

本発明に関し、さらに以下の付記を開示する。
(付記)
Regarding the present invention, the following additional notes are further disclosed.
(Additional note)

本発明の生物自動計測装置において、計測対象の生物は、観賞魚であって、計測対象部分認識部は、計測対象部分として、観賞魚の頭部と尾鰭を認識し、自動計測部は、認識された観賞魚の頭部と尾鰭に基づいて、観賞魚の体長を自動計測することができる。 In the automatic biological measurement device of the present invention, the biological object to be measured is an ornamental fish, the measurement target part recognition unit recognizes the head and caudal fin of the ornamental fish as the measurement target part, and the automatic measurement unit recognizes the head and caudal fin of the ornamental fish as the measurement target part. The body length of an ornamental fish can be automatically measured based on the head and caudal fin of the ornamental fish.

本発明の生物自動計測装置においては、撮影画像の中に目盛り情報が含まれており、自動計測部は、撮影画像の中の目盛り情報に基づいて、生物の自動計測を行うことができる。 In the automatic biological measurement device of the present invention, the scale information is included in the photographed image, and the automatic measurement unit can automatically measure the living organism based on the scale information in the photographed image.

本発明の生物自動計測装置においては、撮影画像の中に予め設定された色の色見本の情報が含まれており、撮影画像における色見本の情報に基づいて、撮影画像の色を補正する色補正部を備えることができる。 In the biological automatic measurement device of the present invention, information on color samples of preset colors is included in the photographed image, and the color of the photographed image is corrected based on the information on the color sample in the photographed image. A correction section can be provided.

本発明の生物自動計測装置において、撮影画像は、水中の生物を撮影した画像とすることができる。 In the biological automatic measuring device of the present invention, the captured image can be an image of an underwater creature.

本発明の生物自動計測装置においては、撮影画像を撮影する撮影部を有し、撮影部は、生物の外形を表す撮影枠を表示させることができる。 The automatic biological measuring device of the present invention includes a photographing section that photographs a photographed image, and the photographing section can display a photographing frame representing the external shape of the living organism.

本発明の生物自動計測装置において、撮影部は、撮影枠内に生物が収まっているか否かを認識し、撮影枠内に生物が収まっている場合のみ、撮影画像の撮影を許可することができる。 In the automatic biological measuring device of the present invention, the photographing unit can recognize whether or not a living thing is within the photographing frame, and can permit photographing of a photographed image only when the living thing is within the photographing frame. .

本発明の生物自動計測装置において、撮影枠は、観賞魚の外形を表すことができる。 In the biological automatic measuring device of the present invention, the photographing frame can represent the external shape of the ornamental fish.

1 錦鯉自動計測評価システム
10 錦鯉自動計測装置
11 撮影部
12 計測対象部分認識部
13 自動計測部
14 色補正部
14c 撮影ボタン
15 表示部
15a,15b 撮影枠
20 錦鯉評価装置
21 画像取得部
22 特徴量取得部
23 評価部
24 出力部
30 目盛り付きカラーパレット
31 カラーチャート
31a 矩形パターン
32a~32d 目盛り部
32e 目盛りパターン
32f 間隔
33 第1のシート
34 第2のシート
1 Nishikigoi automatic measurement evaluation system 10 Nishikigoi automatic measurement device 11 Photographing section 12 Measurement target part recognition section 13 Automatic measurement section 14 Color correction section 14c Shooting button 15 Display sections 15a, 15b Photographing frame 20 Nishikigoi evaluation device 21 Image acquisition section 22 Feature amount Acquisition unit 23 Evaluation unit 24 Output unit 30 Color palette with scale 31 Color chart 31a Rectangular patterns 32a to 32d Scale unit 32e Scale pattern 32f Interval 33 First sheet 34 Second sheet

Claims (10)

計測対象の生物を撮影した撮影画像における前記生物の計測対象部分を認識する計測対象部分認識部と、
前記計測対象部分認識部によって認識された計測対象部分に基づいて、前記生物の自動計測を行う自動計測部とを備えた生物自動計測装置。
a measurement target part recognition unit that recognizes a measurement target part of the creature in a captured image of the creature to be measured;
An automatic biological measurement device comprising: an automatic measurement section that automatically measures the living organism based on the measurement target portion recognized by the measurement target portion recognition section.
前記計測対象の生物が、観賞魚であって、
前記計測対象部分認識部が、前記計測対象部分として、前記観賞魚の頭部と尾鰭を認識し、
前記自動計測部が、前記認識された観賞魚の頭部と尾鰭に基づいて、前記観賞魚の体長を自動計測する請求項1記載の生物自動計測装置。
The organism to be measured is an ornamental fish,
The measurement target part recognition unit recognizes the head and caudal fin of the ornamental fish as the measurement target part,
The automatic biological measuring device according to claim 1, wherein the automatic measuring unit automatically measures the body length of the ornamental fish based on the recognized head and caudal fin of the ornamental fish.
前記撮影画像の中に目盛り情報が含まれており、
前記自動計測部が、前記撮影画像の中の目盛り情報に基づいて、前記生物の自動計測を行う請求項1記載の生物自動計測装置。
Scale information is included in the captured image,
The automatic living organism measuring device according to claim 1, wherein the automatic measuring unit automatically measures the living organism based on scale information in the photographed image.
前記撮影画像の中に予め設定された色の色見本の情報が含まれており、
前記撮影画像における前記色見本の情報に基づいて、前記撮影画像の色を補正する色補正部を備えた請求項1記載の生物自動計測装置。
The photographed image includes information on a color sample of a preset color,
The automatic biological measurement device according to claim 1, further comprising a color correction section that corrects the color of the photographed image based on information of the color sample in the photographed image.
前記撮影画像が、水中の前記生物を撮影した画像である請求項4記載の生物自動計測装置。 5. The automatic biological measuring device according to claim 4, wherein the captured image is an image of the living organism underwater. 前記撮影画像を撮影する撮影部を有し、
前記撮影部が、前記生物の外形を表す撮影枠を表示させる請求項1記載の生物自動計測装置。
comprising a photographing unit that photographs the photographed image;
The automatic biological measuring device according to claim 1, wherein the photographing section displays a photographing frame representing the external shape of the living organism.
前記撮影部が、前記撮影枠内に前記生物が収まっているか否かを認識し、前記撮影枠内に前記生物が収まっている場合のみ、前記撮影画像の撮影を許可する請求項6記載の生物自動計測装置。 The living thing according to claim 6, wherein the photographing unit recognizes whether or not the living thing is within the photographing frame, and permits photographing of the photographed image only when the living thing is within the photographing frame. Automatic measuring device. 前記撮影枠が、観賞魚の外形を表す請求項6記載の生物自動計測装置。 7. The automatic biological measuring device according to claim 6, wherein the photographic frame represents the external shape of the ornamental fish. 計測対象の生物を撮影した撮影画像における前記生物の計測対象部分を認識し、
該認識した計測対象部分に基づいて、前記生物の自動計測を行う生物自動計測方法。
Recognizing the measurement target part of the creature in a photographed image of the creature to be measured,
An automatic biological measurement method for automatically measuring the living organism based on the recognized measurement target part.
計測対象の生物を撮影した撮影画像における前記生物の計測対象部分を認識するステップと、
該認識した計測対象部分に基づいて、前記生物の自動計測を行うステップとをコンピュータに実行させる生物自動計測プログラム。
a step of recognizing a part of the organism to be measured in a captured image of the organism to be measured;
A biological automatic measurement program that causes a computer to execute a step of automatically measuring the biological body based on the recognized measurement target part.
JP2022122848A 2022-08-01 2022-08-01 Automatic biological measuring device, method and program Active JP7218031B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022122848A JP7218031B1 (en) 2022-08-01 2022-08-01 Automatic biological measuring device, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022122848A JP7218031B1 (en) 2022-08-01 2022-08-01 Automatic biological measuring device, method and program

Publications (2)

Publication Number Publication Date
JP7218031B1 JP7218031B1 (en) 2023-02-06
JP2024020004A true JP2024020004A (en) 2024-02-14

Family

ID=85151319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022122848A Active JP7218031B1 (en) 2022-08-01 2022-08-01 Automatic biological measuring device, method and program

Country Status (1)

Country Link
JP (1) JP7218031B1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2676141Y (en) * 2003-11-26 2005-02-02 何耀准 Measuring rule special for aquatic animals
JP2012074878A (en) * 2010-09-28 2012-04-12 Nintendo Co Ltd Image generation program, imaging device, imaging system, and image generation method
WO2013099271A1 (en) * 2011-12-28 2013-07-04 山田電器工業株式会社 Dimension measuring method, electronic device with camera, and program for electronic device with camera
CN207251752U (en) * 2017-09-21 2018-04-17 山西大学 A kind of insect shape scans auxiliary device
JP2020003873A (en) * 2018-06-25 2020-01-09 株式会社日立製作所 Biometric authentication program and biometric authentication method
JP2020054300A (en) * 2018-10-03 2020-04-09 株式会社メビウス Tailfin identification method
JP7008957B1 (en) * 2021-10-05 2022-01-25 三信トレーディング株式会社 Nishiki-koi evaluation device and method and program
JP7107401B1 (en) * 2021-02-22 2022-07-27 日本電気株式会社 Object measuring device, object measuring method and computer program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2676141Y (en) * 2003-11-26 2005-02-02 何耀准 Measuring rule special for aquatic animals
JP2012074878A (en) * 2010-09-28 2012-04-12 Nintendo Co Ltd Image generation program, imaging device, imaging system, and image generation method
WO2013099271A1 (en) * 2011-12-28 2013-07-04 山田電器工業株式会社 Dimension measuring method, electronic device with camera, and program for electronic device with camera
CN207251752U (en) * 2017-09-21 2018-04-17 山西大学 A kind of insect shape scans auxiliary device
JP2020003873A (en) * 2018-06-25 2020-01-09 株式会社日立製作所 Biometric authentication program and biometric authentication method
JP2020054300A (en) * 2018-10-03 2020-04-09 株式会社メビウス Tailfin identification method
JP7107401B1 (en) * 2021-02-22 2022-07-27 日本電気株式会社 Object measuring device, object measuring method and computer program
JP7008957B1 (en) * 2021-10-05 2022-01-25 三信トレーディング株式会社 Nishiki-koi evaluation device and method and program

Also Published As

Publication number Publication date
JP7218031B1 (en) 2023-02-06

Similar Documents

Publication Publication Date Title
US10825150B2 (en) Image processing method and device, electronic device and computer-readable storage medium
CN105719318B (en) Magic square color identification method based on HSV in a kind of Educational toy external member
US8548257B2 (en) Distinguishing between faces and non-faces
CN111862048A (en) Automatic fish posture and length analysis method based on key point detection and deep convolution neural network
US20130129209A1 (en) Detecting Skin Tone in Images
CN107277356A (en) The human face region treating method and apparatus of backlight scene
CN101271569B (en) Device, method and computer readable recording medium containing program for evaluating image
CN114241031A (en) Fish body ruler measurement and weight prediction method and device based on double-view fusion
JP7074185B2 (en) Feature estimation device, feature estimation method, and program
CN108665421A (en) The high light component removal device of facial image and method, storage medium product
CN110533686A (en) Line-scan digital camera line frequency and the whether matched judgment method of speed of moving body and system
JP2019095328A (en) Color reaction detection system, color reaction detection method, and program
CN107295324A (en) White balancing treatment method, device and terminal device
CN105319223A (en) Detection method and system of chalky rice
CN109191461A (en) A kind of Countryside Egg recognition methods and identification device based on machine vision technique
JP2023054913A (en) Nishikigoi carp evaluation apparatus, method and program
JP2014077664A (en) Glossiness evaluation method and glossiness evaluation device
CN109781730A (en) A kind of method of quick identification chalk rice
CN111882555A (en) Net detection method, device, equipment and storage medium based on deep learning
JP7218031B1 (en) Automatic biological measuring device, method and program
JPWO2005124302A1 (en) Image processing program, image processing apparatus, and image processing method
TW200413761A (en) Automated inspection of tinted ophthalmic parts
JP2021063774A (en) Body weight estimation device
JP2023054914A (en) Colored carp competitive exhibition execution device and program, and colored carp competitive exhibition system
JP2020182074A (en) Image processing apparatus and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220819

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20220819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220906

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20221102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221220

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230118

R150 Certificate of patent or registration of utility model

Ref document number: 7218031

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150