JP2021114645A - Processing device, imaging apparatus, processing method, and program - Google Patents

Processing device, imaging apparatus, processing method, and program Download PDF

Info

Publication number
JP2021114645A
JP2021114645A JP2020005109A JP2020005109A JP2021114645A JP 2021114645 A JP2021114645 A JP 2021114645A JP 2020005109 A JP2020005109 A JP 2020005109A JP 2020005109 A JP2020005109 A JP 2020005109A JP 2021114645 A JP2021114645 A JP 2021114645A
Authority
JP
Japan
Prior art keywords
date
time
information
height
image
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.)
Pending
Application number
JP2020005109A
Other languages
Japanese (ja)
Inventor
悠修 古賀
Hironobu Koga
悠修 古賀
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2020005109A priority Critical patent/JP2021114645A/en
Publication of JP2021114645A publication Critical patent/JP2021114645A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a processing device capable of gripping an article state with a simple structure in a low consumption power, an imaging apparatus, a processing method, and a program.SOLUTION: A processing device includes: an acquisition part that acquires information related to a height of an article in a first image acquired by photographing at a first date, information related to a height of an article in a second image acquired by photographing at a second date, and information related to a distance from a reference surface of the height of the article at the second date to an optical system article side main point used for photographing; and a calculation part that calculates at least one of information related to an analysis region in the first image by using the information acquired by the acquisition part and the information related to an optical system focal distance at the first date.SELECTED DRAWING: Figure 1

Description

本発明は、処理装置、撮像装置、処理方法、およびプログラムに関する。 The present invention relates to a processing device, an imaging device, a processing method, and a program.

従来、植物の定点画像から植物の生育状態の変化を把握するシステムが知られている。このシステムは例えば、水稲栽培においては、水稲の画像から葉色、茎数、草丈等の生育指標を診断し、生育指標の推移から、各生育時期における水稲の生育状態を把握可能である。 Conventionally, a system for grasping a change in a plant's growth state from a fixed-point image of a plant has been known. For example, in paddy rice cultivation, this system can diagnose growth indicators such as leaf color, number of stems, and plant height from images of paddy rice, and can grasp the growth state of paddy rice at each growth period from the transition of the growth indicators.

しかしながら、定点撮影では、水稲の草丈が変化すると水稲の撮影範囲が変化する。水稲の撮影範囲が変化した画像から生育指標を診断した場合、生育指標の診断値は水稲の生育状態の変化だけでなく、水稲の撮影範囲の変化による影響も受けるため、水稲の生育状態を適切に把握することができない。 However, in fixed-point photography, the shooting range of paddy rice changes when the plant height of paddy rice changes. When the growth index is diagnosed from an image in which the imaging range of paddy rice has changed, the diagnostic value of the growth index is affected not only by the change in the growth state of the paddy rice but also by the change in the imaging range of the paddy rice, so the growth condition of the paddy rice is appropriate. I can't figure it out.

特許文献1には、撮像時に植物の高さを計測する高さ計測装置と、撮像装置又は植物を乗せたテーブルの少なくとも一方を昇降動作させる昇降機構と、昇降機構の昇降動作を制御する制御装置とを備える画像生成装置が開示されている。特許文献1の画像生成装置では、植物の決められた範囲を視野内に収めるために、初期設定時の撮像装置と植物との距離が一定に保たれるように昇降機構の昇降動作が制御される。 Patent Document 1 describes a height measuring device that measures the height of a plant at the time of imaging, an elevating mechanism that raises and lowers at least one of the imaging device or a table on which a plant is placed, and a control device that controls the raising and lowering operation of the elevating mechanism. An image generator including the above is disclosed. In the image generator of Patent Document 1, in order to keep a predetermined range of the plant within the field of view, the elevating operation of the elevating mechanism is controlled so that the distance between the image pickup device and the plant at the time of initial setting is kept constant. NS.

特許第6172657号公報Japanese Patent No. 6172657

佐々木良治等、「最高気温と最低気温にもとづく移植水稲の草丈の推定」、日本作物学会紀事、第69巻(別1号)、p.166−167、2000年、Ryoji Sasaki et al., "Estimation of plant height of transplanted paddy rice based on maximum and minimum temperatures", Journal of the Crop Science Society of Japan, Vol. 69 (Appendix No. 1), p. 166-167, 2000,

特許文献1の画像生成装置は、昇降機構を駆動させるための消費電力が大きいため、水田や畑などの電源設備の少ない圃場に設置することが困難である。また、昇降機構や、昇降機構を駆動させるための太陽電池やバッテリ等の外部電源が必要になるため、構成が複雑になる。 Since the image generator of Patent Document 1 consumes a large amount of power to drive the elevating mechanism, it is difficult to install it in a field such as a paddy field or a field where there is little power supply equipment. In addition, an elevating mechanism and an external power source such as a solar cell or a battery for driving the elevating mechanism are required, which complicates the configuration.

本発明は、低消費電力かつ簡易な構成で物体の状態を把握可能な処理装置、撮像装置、処理方法、およびプログラムを提供することを目的とする。 An object of the present invention is to provide a processing device, an imaging device, a processing method, and a program capable of grasping the state of an object with low power consumption and a simple configuration.

本発明の一側面としての処理装置は、第1の日時での撮影により取得された第1の画像における物体の高さに関する情報、第2の日時での撮影により取得された第2の画像における物体の高さに関する情報、および第2の日時での物体の高さの基準面から撮影に用いられた光学系の物体側主点までの距離に関する情報を取得する取得部と、取得部が取得した情報を用いて第1の画像における解析領域に関する情報、および第1の日時での光学系の焦点距離に関する情報の少なくとも一方を算出する算出部とを有することを特徴とする。 The processing apparatus as one aspect of the present invention includes information on the height of an object in the first image acquired by photographing at the first date and time, and the second image acquired by photographing at the second date and time. An acquisition unit that acquires information on the height of the object and information on the distance from the reference plane of the height of the object at the second date and time to the principal point on the object side of the optical system used for photographing, and the acquisition unit acquires the information. It is characterized by having a calculation unit for calculating at least one of the information regarding the analysis region in the first image and the information regarding the focal length of the optical system at the first date and time using the obtained information.

また、本発明の他の側面としての処理方法は、第1の日時での撮影により取得された第1の画像における物体の高さに関する情報、第2の日時での撮影により取得された第2の画像における物体の高さに関する情報、および第2の日時での物体の高さの基準面から撮影に用いられた光学系の物体側主点までの距離に関する情報を取得するステップと、第1の日時での物体の高さに関する情報、第2の日時での物体の高さに関する情報、および第2の日時での基準面から光学系の物体側主点までの距離に関する情報を用いて、第1の画像における解析領域に関する情報、および第1の日時での光学系の焦点距離に関する情報の少なくとも一方を算出するステップとを有することを特徴とする。 Further, the processing method as another aspect of the present invention includes information on the height of the object in the first image acquired by photographing at the first date and time, and the second image acquired by photographing at the second date and time. The step of acquiring the information on the height of the object in the image of the above, and the information on the distance from the reference plane of the height of the object at the second date and time to the principal point on the object side of the optical system used for photographing, and the first step. Using information about the height of the object at the date and time, information about the height of the object at the second date and time, and information about the distance from the reference plane to the principal point on the object side of the optical system at the second date and time, It is characterized by having a step of calculating at least one of the information about the analysis area in the first image and the information about the focal length of the optical system at the first date and time.

本発明によれば、低消費電力かつ簡易な構成で物体の状態を把握可能な処理装置、撮像装置、処理方法、およびプログラムを提供することができる。 According to the present invention, it is possible to provide a processing device, an imaging device, a processing method, and a program capable of grasping the state of an object with low power consumption and a simple configuration.

植物の高さの違いによる撮影範囲の違いを説明する図である。It is a figure explaining the difference in the photographing range due to the difference in the height of a plant. 実施例1の画像処理装置のブロック図である。It is a block diagram of the image processing apparatus of Example 1. FIG. 実施例1の画像処理装置の処理フローを示すフローチャートである。It is a flowchart which shows the processing flow of the image processing apparatus of Example 1. FIG. 実施例1の画像処理装置のハードウェア構成図である。It is a hardware block diagram of the image processing apparatus of Example 1. FIG. 実施例2の撮像装置のブロック図である。It is a block diagram of the image pickup apparatus of Example 2. 植物の高さの違いによる撮影範囲の違いを説明する図である。It is a figure explaining the difference in the photographing range due to the difference in the height of a plant. 実施例2の撮像装置の処理フローを示すフローチャートである。It is a flowchart which shows the processing flow of the image pickup apparatus of Example 2.

以下、本発明の実施形態について、図面を参照しながら詳細に説明する。各図において、同一の部材については同一の参照番号を付し、重複する説明は省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In each figure, the same member is given the same reference number, and duplicate description is omitted.

まず、各実施例の具体的な説明を行う前に、本発明の概要について説明する。 First, an outline of the present invention will be described before giving a specific description of each embodiment.

図1は、植物の高さの違いによる撮影範囲の違いを説明する図であり、植物の真上に設置された撮像部を用いて、上方から撮影した植物の定点画像を取得する様子を示している。撮像部は、撮像光学系と撮像素子とを有する。撮像光学系の焦点距離はf、地面(物体の高さの基準面)から撮像光学系の物体側主点までの距離(以下、撮像部高さ)はHで固定されている。 FIG. 1 is a diagram for explaining the difference in the photographing range due to the difference in the height of the plant, and shows how the fixed point image of the plant taken from above is acquired by using the imaging unit installed directly above the plant. ing. The image pickup unit has an image pickup optical system and an image pickup element. Focal length of the imaging optical system is f, the distance from the ground (reference plane of the object height) to the object side principal point of the imaging optical system (hereinafter, the imaging section height) is fixed at H c.

図1(a)は、植物の高さが低い(植物の高さがHである)状態を示している。このとき、物体距離はDである。定点画像Iは、撮像素子により取得された画像を表している。画像解析領域ROIは、定点画像Iにおける、一点鎖線で示される撮像光学系の光軸を中心として、一辺2Rの正方形で囲まれる範囲の対応領域を表している。 1 (a) is a low height of the plants (plant height is H 1) shows a state. At this time, the object distance is D 1 . The fixed point image I 1 represents an image acquired by the image sensor. The image analysis region ROI 1 represents a corresponding region in the fixed point image I 1 in a range surrounded by a square having a side 2R about the optical axis of the imaging optical system indicated by the alternate long and short dash line.

図1(b)は、植物の高さが高い(植物の高さがHである)状態を示している。このとき、物体距離はDである。定点画像Iは、撮像素子により取得された画像を表している。画像解析領域ROIは、定点画像Iにおける、一点鎖線で示される撮像光学系の光軸を中心として、一辺2Rの正方形で囲まれる範囲の対応領域を表している。 1 (b) is higher plant height (the height of the plant is H 2) shows a state. At this time, the object distance is D 2 . The fixed point image I 2 represents an image acquired by the image sensor. The image analysis region ROI 2 represents a corresponding region in the fixed point image I 2 in a range surrounded by a square having a side 2R about the optical axis of the imaging optical system indicated by the alternate long and short dash line.

図1(a),(b)に示されるように、植物の高さが変化すると、同じ面積の範囲を撮影範囲に設定しても定点画像における画像解析領域が異なる。したがって、固定された画像解析領域からの情報を用いると、植物の生育状態を適切に把握することができない。例えば、植物の生育状態を定点画像I,Iから把握する際に、両方の定点画像における画像解析領域をROIに設定すると、異なる撮影範囲の画像領域について画像解析を行うことになる。 As shown in FIGS. 1 (a) and 1 (b), when the height of the plant changes, the image analysis area in the fixed point image differs even if the range of the same area is set as the photographing range. Therefore, if the information from the fixed image analysis area is used, the growth state of the plant cannot be properly grasped. For example, when the growth state of a plant is grasped from the fixed point images I 1 and I 2 , if the image analysis area in both fixed point images is set to ROI 1 , the image analysis is performed for the image areas in different shooting ranges.

定点画像から植物の生育状態を把握する場合、圃場全体の生育状態を反映させるために、画像解析領域内の植物の生育状態の統計値(平均値や中央値など)がその圃場の代表値として算出される。したがって、異なる撮影範囲の画像領域について画像解析を行うと、圃場の代表値は、植物の生育状態の変化だけでなく、撮影範囲の変化による影響も受けてしまうため、生育状態を適切に把握することが困難になる。 When grasping the growth state of a plant from a fixed-point image, the statistical value (average value, median value, etc.) of the growth state of the plant in the image analysis area is used as a representative value of the field in order to reflect the growth state of the entire field. It is calculated. Therefore, when image analysis is performed on image areas in different shooting ranges, the representative value of the field is affected not only by the change in the growing state of the plant but also by the change in the shooting range. It becomes difficult.

例えば、植物が稲や麦である場合、生育状態を把握する稲株や麦株が決まっているため、異なる撮影範囲の画像領域について画像解析を行うと、生育状態を把握する稲株や麦株が変化し、稲や麦の生育状態を適切に把握することができない。また、稲や麦の生育診断を行う際の生育指標の一つである茎数は、単位面積当たりの茎数で評価されることが多く、異なる撮影範囲の画像領域について画像解析を行うと、茎数を適切に診断することができない。 For example, when the plant is rice or wheat, the rice strain or wheat strain whose growth state is grasped is determined. Therefore, when image analysis is performed on the image areas of different shooting ranges, the rice strain or wheat strain whose growth state is grasped is determined. Changes, and it is not possible to properly grasp the growth state of rice and wheat. In addition, the number of stems, which is one of the growth indexes when diagnosing the growth of rice and wheat, is often evaluated by the number of stems per unit area. The number of stems cannot be diagnosed properly.

以下、本発明の各実施例の詳細について説明する。 Hereinafter, details of each embodiment of the present invention will be described.

本実施例では、植物の高さに応じて植物の定点画像における画像解析領域を設定する画像処理装置100について説明する。 In this embodiment, the image processing apparatus 100 that sets the image analysis region in the fixed point image of the plant according to the height of the plant will be described.

図2(a)は、画像処理装置100のブロック図である。画像処理装置100は、入力部101、記憶部102、演算部103、および処理部104を有する。演算部103は、図2(b)に示されるように、取得部103a、算出部103b、および設定部103cを有する。なお、演算部103は、その機能を実行するためにプログラムされたプロセッサおよびメモリを含んでいてもよい。また、演算部103は、本実施例では画像処理装置100内に設けられているが、画像処理装置100とは別の処理装置として構成されていてもよい。 FIG. 2A is a block diagram of the image processing device 100. The image processing device 100 includes an input unit 101, a storage unit 102, a calculation unit 103, and a processing unit 104. As shown in FIG. 2B, the calculation unit 103 includes an acquisition unit 103a, a calculation unit 103b, and a setting unit 103c. The arithmetic unit 103 may include a processor and a memory programmed to execute the function. Further, although the calculation unit 103 is provided in the image processing device 100 in this embodiment, it may be configured as a processing device different from the image processing device 100.

記憶部102は、特定の日時の、地面から撮像光学系の物体側主点までの距離(撮像部高さ)に関する情報Hic、植物の高さに関する情報Hi1、および定点画像Iにおける画像解析領域に関する情報ROIi1を記憶している。植物の高さに関する情報Hi1は、特定の日時での撮影により取得された第2の画像における情報であり、例えば、ステレオカメラやToF(Time of Flight)カメラを用いて測定された距離情報を用いて取得される。また、植物の高さに関する情報Hi1として、非特許文献1に示されるように、任意の時期の植物の高さを初期値として、初期値の測定日からm日目までの気温データを用いて、m日目の植物の高さに関する情報を取得してもよい。 Storage unit 102, a specific date and time, information on the distance from the ground to the object side principal point of the imaging optical system (imaging unit height) H ics, image in the information H i1, and the fixed-point image I 1 relating to plant height The information ROI i1 regarding the analysis area is stored. Information about the height of the plant Hi1 is information in the second image acquired by taking a picture at a specific date and time, and is, for example, distance information measured by using a stereo camera or a ToF (Time of Flight) camera. Obtained using. Further, as information Hi1 regarding the height of the plant, as shown in Non-Patent Document 1, the height of the plant at an arbitrary time is used as the initial value, and the temperature data from the measurement date of the initial value to the m-day is used. Then, information on the height of the plant on the m-day may be obtained.

画像解析領域に関する情報ROIi1は例えば、画像解析領域に該当する画素を1、画像解析領域に該当しない画素を0でラベリングしたラベル画像である。画像解析領域が多角形である場合、多角形の各頂点の座標情報も画像解析領域に関する情報ROIi0に含まれる。 Information about the image analysis area ROI i1 is, for example, a label image in which pixels corresponding to the image analysis area are labeled with 1 and pixels not corresponding to the image analysis area are labeled with 0. When the image analysis area is a polygon, the coordinate information of each vertex of the polygon is also included in the information ROI i0 regarding the image analysis area.

図3は、図1に示されるように特定の日時の定点画像Iにおける画像解析領域ROIに対応する撮影範囲に含まれる植物の高さがHからHに変化した場合の本実施例の画像処理装置100の処理フローを示すフローチャートである。 FIG. 3 shows the present implementation when the height of the plant included in the imaging range corresponding to the image analysis area ROI 1 in the fixed point image I 1 at a specific date and time changes from H 1 to H 2 as shown in FIG. It is a flowchart which shows the processing flow of the image processing apparatus 100 of an example.

ステップS110では、取得部103aは、入力部101から、任意の日時(第1の日時)での撮影により取得された第1の画像における植物の高さHに関する情報Hi2を取得する。 In step S110, obtaining unit 103a, the input unit 101, and acquires an arbitrary time (first time) information H i2 to high H 2 of the plant in the first image obtained by shooting at.

ステップS120では、取得部103aは、記憶部102から、特定の日時(第2の日時)での、撮像部高さに関する情報Hic、植物の高さに関する情報Hi1、および定点画像Iの画像解析領域ROIに関する情報ROIi1を取得する。 In step S120, obtaining unit 103a from the storage unit 102, at a particular date and time (second time), the information H ics related to the imaging unit height, information on plant height H i1, and the image of fixed-point I 1 The information ROI i1 regarding the image analysis area ROI 1 is acquired.

なお、ステップS110とステップS120の順番は逆にしてもよい。 The order of steps S110 and S120 may be reversed.

ステップS130では、算出部103bは、ステップS110およびステップS120で取得した情報を用いて、特定の日時の定点画像Iにおける画像解析領域ROIに関する情報ROIi2を算出する。 In step S130, the calculation unit 103b calculates the information ROI i2 regarding the image analysis region ROI 2 in the fixed point image I 2 at a specific date and time by using the information acquired in step S110 and step S120.

算出部103bは具体的には、定点画像の中心を原点とした際の画像解析領域ROIの境界座標を(x,y)とするとき、以下の式(1)乃至(4)を用いて任意の日時の画像解析領域ROIの境界座標(x,y)を算出する。ここで、境界座標とは、画像解析領域と画像解析領域でない領域(非画像解析領域)との境界を表す座標である。 Specifically, when the boundary coordinates of the image analysis area ROI 1 when the center of the fixed point image is the origin is (x 1 , y 1 ), the calculation unit 103b uses the following equations (1) to (4). calculating the arbitrary date and time of the image analysis area ROI 2 boundary coordinates (x 2, y 2) with. Here, the boundary coordinates are coordinates representing the boundary between the image analysis area and the area other than the image analysis area (non-image analysis area).

Figure 2021114645
Figure 2021114645

Figure 2021114645
Figure 2021114645

図1(a)の全ての境界座標(x,y)に対して境界座標(x,y)を算出することで、図1(b)の画像解析領域ROIに関する情報ROIi2を算出することができる。 Information about the image analysis region ROI 2 in FIG. 1 (b) ROI i2 by calculating the boundary coordinates (x 2 , y 2 ) for all the boundary coordinates (x 1 , y 1 ) in FIG. 1 (a). Can be calculated.

図3のフローが終了した後、設定部103cは、算出された画像解析領域ROIに関する情報ROIi2に基づいて定点画像Iにおける画像解析領域を画像解析領域ROIに設定する。処理部104は、画像解析領域ROIからの情報を用いて植物の生育状態の変化を把握する。 After the flow of FIG. 3 has been completed, setting unit 103c sets the image analysis area in fixed point image I 2 in the image analysis area ROI 2 based on information ROI i2 related to the image analysis region ROI 2 calculated. The processing unit 104 grasps the change in the growing state of the plant by using the information from the image analysis area ROI 2.

以上説明したように、本実施例では、駆動部や駆動部を動かすための電源を設けることなく、植物の高さが変化した場合に同一の撮影範囲となるように画像解析領域を設定する。これにより、低消費電力かつ簡易に植物の生育状態を適切に把握可能である。 As described above, in the present embodiment, the image analysis area is set so that the same imaging range is obtained when the height of the plant changes without providing the drive unit or the power source for moving the drive unit. As a result, it is possible to appropriately grasp the growing state of the plant with low power consumption and easily.

本実施例の画像処理装置100は例えば、図4に示されるハードウェア構成により実現することができる。図4は、画像処理装置100のハードウェア構成図である。画像処理装置100は、各構成間のデータ転送を行うシステムバス301、CPU302、RAM303、ROM304、HDD305、入力部306、および表示部307を有する。記憶部102はROM111およびHDD112にて実装することができ、演算部103はCPU302にて実装することができる。 The image processing device 100 of this embodiment can be realized by, for example, the hardware configuration shown in FIG. FIG. 4 is a hardware configuration diagram of the image processing device 100. The image processing device 100 includes a system bus 301, a CPU 302, a RAM 303, a ROM 304, an HDD 305, an input unit 306, and a display unit 307 that transfer data between the configurations. The storage unit 102 can be mounted on the ROM 111 and the HDD 112, and the calculation unit 103 can be mounted on the CPU 302.

本実施例では、植物の高さに応じて光学系の焦点距離を設定する撮像装置200について説明する。撮像装置200は、定点位置に設置されている。 In this embodiment, the image pickup apparatus 200 that sets the focal length of the optical system according to the height of the plant will be described. The image pickup apparatus 200 is installed at a fixed point position.

図5は、撮像装置200のブロック図である。撮像装置200は、撮像部201、高さ取得部202、演算部203、記憶部204、および制御部205を有する。演算部103は、図5(b)に示されるように、取得部203aおよび算出部203bを有する。なお、演算部203および制御部205はそれぞれ、各機能を実行するためにプログラムされたプロセッサおよびメモリを含んでいてもよい。また、演算部203および制御部205は、本実施例では撮像装置200内に設けられているが、撮像装置200とは別の処理装置として構成されていてもよい。 FIG. 5 is a block diagram of the image pickup apparatus 200. The image pickup device 200 includes an image pickup unit 201, a height acquisition unit 202, a calculation unit 203, a storage unit 204, and a control unit 205. As shown in FIG. 5B, the calculation unit 103 has an acquisition unit 203a and a calculation unit 203b. The arithmetic unit 203 and the control unit 205 may each include a processor and a memory programmed to execute each function. Further, although the calculation unit 203 and the control unit 205 are provided in the image pickup apparatus 200 in this embodiment, they may be configured as processing apparatus different from the image pickup apparatus 200.

図6は、植物の高さの違いによる撮影範囲の違いを説明する図であり、植物の真上に設置された撮像部201を用いて、上方から撮影した植物の定点画像を取得する様子を示している。図6において図1と同一記号のものは同じ意味を表すため、ここでは説明を省略する。 FIG. 6 is a diagram for explaining the difference in the photographing range due to the difference in the height of the plant, and shows how the image pickup unit 201 installed directly above the plant is used to acquire a fixed point image of the plant photographed from above. Shown. In FIG. 6, those having the same symbols as those in FIG. 1 have the same meaning, and thus the description thereof will be omitted here.

撮像部201は、撮像光学系と撮像素子とを有する。本実施例では、撮像光学系の焦点距離を変更することが可能である。焦点距離を変更する手段としては、撮像光学系として焦点距離が連続的に変化する焦点距離可変光学系(ズームレンズ)を用いてもよいし、焦点距離の異なる複数の光学系を切り替える構成を用いてもよい。地面から撮像光学系の物体側主点までの距離(以下、撮像部高さ)はHで固定されている。 The image pickup unit 201 has an image pickup optical system and an image pickup element. In this embodiment, it is possible to change the focal length of the imaging optical system. As a means for changing the focal length, a variable focal length optical system (zoom lens) in which the focal length changes continuously may be used as the imaging optical system, or a configuration in which a plurality of optical systems having different focal lengths are switched is used. You may. Distance from the ground to the object side principal point of the imaging optical system (hereinafter, the imaging section height) is fixed at H c.

図6(a)は、植物の高さが低い(植物の高さがHである)状態を示している。このとき、物体距離はDである。記憶部204は、図6(a)の状態における(特定の日時の)、撮像光学系の焦点距離fに関する情報fi1、植物の高さHに関する情報Hi1、および地面から撮像光学系の物体側主点までの距離(撮像部高さ)Hに関する情報を記憶している。植物の高さHに関する情報Hi1は、特定の日時での撮影により取得された第2の画像における情報である。 6 (a) is a low height of the plants (plant height is H 1) shows a state. At this time, the object distance is D 1 . Storage unit 204, FIG. 6 state in (a specific date and time) of (a), information f i1 relates to the focal length f 1 of the imaging optical system, the information H i1 about the height H 1 of the plant, and the imaging optical system from the ground the distance to the object side principal point (imaging unit height) stores information about the H c. Information H i1 about the height H 1 of the plant is the information in the second image obtained by shooting at a specific date and time.

このような前提条件において、図6(b)に示されるように植物の高さがHに変化した場合における撮像装置200の処理について説明する。図7は、本実施例の撮像装置の処理フローを示すフローチャートである。 In such a precondition, plant height, as shown in Fig. 6 (b) describes the processing of the image pickup apparatus 200 in the case of changes to H 2. FIG. 7 is a flowchart showing a processing flow of the image pickup apparatus of this embodiment.

ステップS210では、取得部203aは、高さ取得部202から、任意の日時(第1の日時)での撮影により取得された第1の画像における植物の高さHに関する情報Hi2を取得する。高さ取得部202は例えば、ステレオカメラやToF(Time of Flight)カメラにより構成される。この場合、ステップS210では、ステレオカメラやToFカメラにより取得された距離画像から植物に該当する領域が抽出され、抽出された領域の距離情報をもとに植物の高さに関する情報Hi1が取得される。また、高さ取得部202は、ステレオカメラやToFカメラに限らず、例えば、非特許文献1に記載された方法により植物の高さを算出するプログラムが実装された計算処理装置であってもよい。非特許文献1に記載された方法では気温データを用いて植物の高さを推定するため、計算処理装置はさらに、気温データを取得するための温度センサを備えていてもよい。また、計算処理装置は、ネットワーク上に保存された撮像装置200が設置された地点における気象データを、ネットワークを介して取得するための通信手段を有していてもよい。 In step S210, obtaining unit 203a, the height obtaining unit 202 obtains any time (first time) information H i2 to high H 2 of the plant in the first image obtained by photographing in .. The height acquisition unit 202 is composed of, for example, a stereo camera or a ToF (Time of Flight) camera. In this case, in step S210, a region corresponding to the plant is extracted from the distance image acquired by the stereo camera or the ToF camera, and information Hi1 regarding the height of the plant is acquired based on the distance information of the extracted region. NS. Further, the height acquisition unit 202 is not limited to a stereo camera or a ToF camera, and may be, for example, a calculation processing device equipped with a program for calculating the height of a plant by the method described in Non-Patent Document 1. .. In the method described in Non-Patent Document 1, since the height of the plant is estimated using the temperature data, the calculation processing device may further include a temperature sensor for acquiring the temperature data. Further, the calculation processing device may have a communication means for acquiring the meteorological data at the point where the image pickup device 200 stored on the network is installed via the network.

ステップS220では、取得部203aは、記憶部204から、特定の日時(第2の日時)での、撮像部高さに関する情報Hic、植物の高さに関する情報Hi1、および撮像光学系の焦点距離に関する情報f1cを取得する。 In step S220, the acquisition unit 203a, from the storage unit 204, receives information Hic regarding the height of the imaging unit, information Hi1 regarding the height of the plant, and the focal length of the imaging optical system at a specific date and time (second date and time). Acquire information f 1c regarding the distance.

なお、ステップS210とステップS220の順番は逆にしてもよい。 The order of steps S210 and S220 may be reversed.

ステップS230では、算出部203bは、ステップS210およびステップS220で取得した情報を用いて、特定の日時の(植物の高さがHである場合の)撮像光学系の焦点距離fに関する情報fi2を算出する。 In step S230, the calculation unit 203b uses the information acquired in steps S210 and S220 to provide information f about the focal length f 2 of the imaging optical system (when the height of the plant is H 2) at a specific date and time. Calculate i2.

算出部203bは具体的には、以下の式(5)を用いて特定の日時の撮像光学系の焦点距離fを算出する。 Calculator 203b is specifically calculates the focal length f 2 of the imaging optical system of a particular date and time using the following equation (5).

=f(H−H)/(H−H) (5)
なお、撮像光学系の焦点距離に応じて撮像光学系の物体側主点位置が変化する場合、以下の式(5a)を用いて焦点距離fを算出することが好ましい。
f 2 = f 1 (H c − H 2 ) / (H c − H 1 ) (5)
In the case where the object side principal point of the imaging optical system is changed according to the focal length of the imaging optical system, it is preferable to calculate the focal length f 2 using the following equation (5a).

=f(Hc1−H)/(Hc2−H) (5a)
ここで、Hc1は焦点距離fに対応する地面から撮像光学系の物体側主点までの距離、Hc2は式(5)で算出された焦点距離fに対応する地面から撮像光学系の物体側主点までの距離である。
f 2 = f 1 (H c1- H 2 ) / (H c2- H 1 ) (5a)
Here, H c1 is the distance from the ground corresponding to the focal length f 1 to the principal point on the object side of the imaging optical system, and H c 2 is the distance from the ground corresponding to the focal length f 2 calculated by the equation (5) to the imaging optical system. Is the distance to the principal point on the object side of.

また、式(5a)で算出された焦点距離fに対応する地面から撮像光学系の物体側主点までの距離をHc2として、焦点距離fが収束するまで式(5a)の計算を反復することがさらに好ましい。 Further, the calculation of the equation (5a) is performed until the focal length f 2 converges , where H c2 is the distance from the ground corresponding to the focal length f 2 calculated by the equation (5a) to the principal point on the object side of the imaging optical system. It is even more preferable to repeat.

また、撮像光学系の焦点距離の変化に対する物体側主点位置の変化量データをもとに、式(5)で算出された焦点距離fの補正を行ってもよい。 Further, based on the change amount data of the object side principal point relative to change in the focal length of the imaging optical system may be corrected in the focal length f 2 calculated by the equation (5).

ステップS240では、制御部205は、撮像光学系の焦点距離をfに設定する。 In step S240, the control unit 205 sets the focal length of the imaging optical system to f 2 .

ステップS250では、撮像部201は、植物の画像を取得する。 In step S250, the imaging unit 201 acquires an image of the plant.

図6(b)は、植物の高さがHに変化した場合に図7のフローが行われた後の状態を示している。このとき、物体距離はDである。図6(b)では、撮像光学系の焦点距離がfに変更されている。図6(a),(b)に示されるように、植物の高さに応じて撮像光学系の焦点距離を設定することで、植物の高さが変化した場合でも撮影範囲が同一の画像を取得することができる。 FIG. 6 (b) shows a state after the flow of FIG. 7 is performed when the plant height is changed to H 2. At this time, the object distance is D 2 . In FIG. 6 (b), the focal length of the imaging optical system is changed to f 2. As shown in FIGS. 6A and 6B, by setting the focal length of the imaging optical system according to the height of the plant, an image having the same shooting range can be obtained even if the height of the plant changes. Can be obtained.

以上説明したように、本実施例では、大掛かりな駆動部を設けることなく、植物の高さが変化した場合に大きな電力を必要とせずに撮像光学系の焦点距離を変更する。これにより、低消費電力かつ簡易に植物の生育状態を適切に把握可能である。 As described above, in the present embodiment, the focal length of the imaging optical system is changed without requiring a large amount of electric power when the height of the plant changes without providing a large-scale drive unit. As a result, it is possible to appropriately grasp the growing state of the plant with low power consumption and easily.

なお、本明細書では、撮影対象を植物としているが、菌類や結晶等の成長する物体としてもよい。また、植物の一例として稲について説明したが、本発明の植物は稲に限ったものではない。麦等の高さが変化する植物であれば、本発明を適用可能である。
[その他の実施例]
本発明は、上述の実施例の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける一つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC(Application−Specific Integrated Circuit))によっても実現可能である。
In this specification, the object to be photographed is a plant, but it may be a growing object such as a fungus or a crystal. Moreover, although rice was described as an example of a plant, the plant of the present invention is not limited to rice. The present invention can be applied to any plant such as wheat whose height changes.
[Other Examples]
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit that realizes one or more functions (for example, an ASIC (Application-Specific Integrated Circuit)).

以上、本発明の好ましい実施形態及び実施例について説明したが、本発明はこれらの実施形態及び実施例に限定されず、その要旨の範囲内で種々の組合せ、変形及び変更が可能である。 Although the preferred embodiments and examples of the present invention have been described above, the present invention is not limited to these embodiments and examples, and various combinations, modifications and modifications can be made within the scope of the gist thereof.

103,203 演算部(処理装置)
103a,203a 取得部
103b,203b 算出部
103, 203 Calculation unit (processing device)
103a, 203a Acquisition unit 103b, 203b Calculation unit

Claims (14)

第1の日時での撮影により取得された第1の画像における物体の高さに関する情報、第2の日時での撮影により取得された第2の画像における前記物体の高さに関する情報、および前記第2の日時での前記物体の高さの基準面から前記撮影に用いられた光学系の物体側主点までの距離に関する情報を取得する取得部と、
前記取得部が取得した情報を用いて前記第1の画像における解析領域に関する情報、および前記第1の日時での前記光学系の焦点距離に関する情報の少なくとも一方を算出する算出部とを有することを特徴とする処理装置。
Information about the height of the object in the first image acquired by shooting at the first date and time, information about the height of the object in the second image acquired by shooting at the second date and time, and the first. An acquisition unit that acquires information on the distance from the reference plane of the height of the object to the principal point on the object side of the optical system used for the photographing at the date and time of 2.
It has a calculation unit that calculates at least one of information about an analysis region in the first image and information about a focal length of the optical system at the first date and time using the information acquired by the acquisition unit. A characteristic processing device.
前記取得部は、前記第2の画像における解析領域に関する情報を取得し、
前記算出部は、前記取得部が取得した情報を用いて前記第1の画像における解析領域に関する情報を算出することを特徴とする請求項1に記載の処理装置。
The acquisition unit acquires information regarding the analysis region in the second image, and obtains information.
The processing apparatus according to claim 1, wherein the calculation unit calculates information regarding an analysis region in the first image using the information acquired by the acquisition unit.
前記算出部は、前記第1の日時での前記物体の高さをH、前記第2の日時での前記物体の高さをH、前記第2の日時での前記基準面から前記光学系の物体側主点までの距離をH、前記第2の画像における解析領域の境界座標を(x,y)とするとき、
Figure 2021114645

Figure 2021114645

なる式を用いて前記第1の画像における解析領域の境界座標(x,y)を算出することを特徴とする請求項2に記載の処理装置。
The calculation unit sets the height of the object at the first date and time as H 1 , the height of the object at the second date and time as H 2 , and the optical from the reference plane at the second date and time. When the distance to the principal point on the object side of the system is H c and the boundary coordinates of the analysis region in the second image are (x 1 , y 1 ),
Figure 2021114645

Figure 2021114645

Comprising processing apparatus according to claim 2, characterized in that to calculate the boundary coordinates of the analysis region in the first image using the equation (x 2, y 2).
前記第1の画像における解析領域に含まれる前記物体の数は、前記第2の画像における解析領域に含まれる前記物体の数に等しいことを特徴とする請求項2又は3に記載の処理装置。 The processing apparatus according to claim 2 or 3, wherein the number of the objects included in the analysis region in the first image is equal to the number of the objects included in the analysis region in the second image. 前記取得部は、前記第2の日時での前記光学系の焦点距離に関する情報を取得し、
前記算出部は、前記取得部が取得した情報を用いて前記第1の日時での前記光学系の焦点距離に関する情報を算出することを特徴とする請求項1に記載の処理装置。
The acquisition unit acquires information regarding the focal length of the optical system at the second date and time, and obtains information about the focal length of the optical system.
The processing apparatus according to claim 1, wherein the calculation unit calculates information regarding the focal length of the optical system at the first date and time using the information acquired by the acquisition unit.
前記算出部は、前記第1の日時での前記物体の高さをH、前記第2の日時での前記物体の高さをH、前記第2の日時での前記基準面から前記光学系の物体側主点までの距離をH、前記第2の日時での前記光学系の焦点距離をfとするとき、
=f(H−H)/(H−H
なる式を用いて前記第1の日時での前記光学系の焦点距離fを算出することを特徴とする請求項5に記載の処理装置。
The calculation unit sets the height of the object at the first date and time as H 1 , the height of the object at the second date and time as H 2 , and the optical from the reference plane at the second date and time. When the distance to the principal point of the system on the object side is H c and the focal length of the optical system at the second date and time is f 1 .
f 2 = f 1 (H c − H 2 ) / (H c − H 1 )
The processing apparatus according to claim 5, wherein the focal length f 2 of the optical system at the first date and time is calculated by using the above equation.
前記第1の画像に含まれる前記物体の数は、前記第2の画像に含まれる前記物体の数に等しいことを特徴とする請求項5又は6に記載の処理装置。 The processing apparatus according to claim 5 or 6, wherein the number of the objects included in the first image is equal to the number of the objects included in the second image. 前記第2の日時での前記物体の高さに関する情報、および前記第2の日時での前記基準面から前記光学系の物体側主点までの距離を記憶する記憶部とを更に有することを特徴とする請求項1乃至7の何れか一項に記載の処理装置。 It is further characterized by further having information on the height of the object on the second date and time, and a storage unit for storing the distance from the reference plane to the principal point on the object side of the optical system on the second date and time. The processing apparatus according to any one of claims 1 to 7. 前記物体は、植物であることを特徴とする請求項1乃至8の何れか一項に記載の処理装置。 The processing apparatus according to any one of claims 1 to 8, wherein the object is a plant. 前記植物は、稲及び麦の少なくとも一方を含むことを特徴とする請求項9に記載の処理装置。 The processing apparatus according to claim 9, wherein the plant contains at least one of rice and wheat. 物体の画像を取得する撮像部と、
請求項1乃至10の何れか一項に記載の処理装置とを有することを特徴とする撮像装置。
An imaging unit that acquires an image of an object,
An imaging device comprising the processing device according to any one of claims 1 to 10.
前記第1の日時での前記物体の高さに関する情報を取得する高さ取得部を更に有することを特徴とする請求項11に記載の撮像装置。 The imaging apparatus according to claim 11, further comprising a height acquisition unit that acquires information regarding the height of the object at the first date and time. 第1の日時での撮影により取得された第1の画像における物体の高さに関する情報、第2の日時での撮影により取得された第2の画像における前記物体の高さに関する情報、および前記第2の日時での前記物体の高さの基準面から前記撮影に用いられた光学系の物体側主点までの距離に関する情報を取得するステップと、
前記第1の日時での前記物体の高さに関する情報、前記第2の日時での前記物体の高さに関する情報、および前記第2の日時での前記基準面から前記光学系の物体側主点までの距離に関する情報を用いて、前記第1の画像における解析領域に関する情報、および前記第1の日時での前記光学系の焦点距離に関する情報の少なくとも一方を算出するステップとを有することを特徴とする処理方法。
Information about the height of the object in the first image acquired by shooting at the first date and time, information about the height of the object in the second image acquired by shooting at the second date and time, and the first. A step of acquiring information on the distance from the reference plane of the height of the object to the principal point on the object side of the optical system used for the photographing at the date and time of 2;
Information on the height of the object on the first date and time, information on the height of the object on the second date and time, and the object-side principal point of the optical system from the reference plane on the second date and time. It is characterized by having a step of calculating at least one of the information about the analysis region in the first image and the information about the focal length of the optical system at the first date and time using the information about the distance to. Processing method to do.
請求項13に記載の処理方法を実行することを特徴とするプログラム。
A program comprising executing the processing method according to claim 13.
JP2020005109A 2020-01-16 2020-01-16 Processing device, imaging apparatus, processing method, and program Pending JP2021114645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020005109A JP2021114645A (en) 2020-01-16 2020-01-16 Processing device, imaging apparatus, processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020005109A JP2021114645A (en) 2020-01-16 2020-01-16 Processing device, imaging apparatus, processing method, and program

Publications (1)

Publication Number Publication Date
JP2021114645A true JP2021114645A (en) 2021-08-05

Family

ID=77077751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020005109A Pending JP2021114645A (en) 2020-01-16 2020-01-16 Processing device, imaging apparatus, processing method, and program

Country Status (1)

Country Link
JP (1) JP2021114645A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021164755A (en) * 2017-12-15 2021-10-14 株式会社三洋物産 Game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021164755A (en) * 2017-12-15 2021-10-14 株式会社三洋物産 Game machine

Similar Documents

Publication Publication Date Title
CN107077154B (en) Cloud platform control method, device, storage medium and unmanned plane
CN113601503B (en) Hand-eye calibration method, device, computer equipment and storage medium
CN113267258B (en) Infrared temperature measurement method, device, equipment, intelligent inspection robot and storage medium
CN101894212A (en) Skin wound comprehensive detection method
JP6625144B2 (en) Image processing method and imaging apparatus, image processing apparatus, image processing program, storage medium, and lens device using the same
JP2008136411A (en) Correction method in remote sensing
JP2021114645A (en) Processing device, imaging apparatus, processing method, and program
CN114022547A (en) Endoscope image detection method, device, equipment and storage medium
JP6448526B2 (en) Image processing apparatus, imaging apparatus, and image processing program
CN107146257B (en) Underwater camera calibration device capable of self-adapting to water quality
CN112689140A (en) White balance synchronization method and device, electronic equipment and storage medium
CN117468085A (en) Crystal bar growth control method and device, crystal growth furnace system and computer equipment
JP7255436B2 (en) Eyeball structure estimation device
CN107707820A (en) Aerial camera real-time electronic zooming system based on FPGA
JP5776212B2 (en) Image processing apparatus, method, program, and recording medium
CN116188591A (en) Multi-camera global calibration method and device and electronic equipment
CN113474635A (en) Image processing apparatus, image processing method, and program
CN111751006B (en) Data calibration method, target radiation characteristic analysis method and device
CN112422841B (en) Image compensation method, image compensation device, computer equipment and storage medium
CN114972526A (en) Method and device for measuring angle of field, computer device and medium
CN111050086B (en) Image processing method, device and equipment
JP6863153B2 (en) Dry weight estimation program, dry weight estimation method and dry weight estimation device
CN116228549B (en) Image stitching method, device, equipment and storage medium based on reinforcement learning
JP7060624B2 (en) Information processing equipment
JP2020118493A (en) Image capturing device and body temperature measurement device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231226