JP7801646B2 - Image processing device, image processing method and program - Google Patents
Image processing device, image processing method and programInfo
- Publication number
- JP7801646B2 JP7801646B2 JP2024565484A JP2024565484A JP7801646B2 JP 7801646 B2 JP7801646 B2 JP 7801646B2 JP 2024565484 A JP2024565484 A JP 2024565484A JP 2024565484 A JP2024565484 A JP 2024565484A JP 7801646 B2 JP7801646 B2 JP 7801646B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- region
- pixel
- unit
- land
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Description
本開示は、画像処理装置、画像処理方法およびプログラムに関する。 This disclosure relates to an image processing device, an image processing method, and a program.
電柱などの対象物が設置される地面には通常、官地および民地といった複数の土地区分がある。対象物の設置位置の土地区分を把握することは、対象物を管理する管理者にとって重要である。 The ground on which objects such as utility poles are installed usually has multiple land classifications, such as public land and private land. It is important for the administrator who manages the object to understand the land classification where the object is installed.
対象物の設置位置の土地区分を判定する手法として、レーザスキャナにより得られた点群(非特許文献1参照)から対象物の設置位置の土地区分を判定する方法ある。 One method for determining the land classification of the installation location of an object is to determine the land classification of the installation location of an object from a point cloud obtained by a laser scanner (see non-patent document 1).
上述した手法では、点群を構成する各点のラベリング、および、点群に基づく三次元モデルの生成などのために、多くの時間およびリソースが必要となり、手間がかかるという問題がある。 The above-mentioned method has the problem that it requires a lot of time and resources, and is labor-intensive, due to labeling each point that makes up the point cloud and generating a three-dimensional model based on the point cloud.
上記のような問題点に鑑みてなされた本開示の目的は、より簡易に、対象物の設置位置の土地区分を判定することができる、画像処理装置、画像処理方法およびプログラムを提供することにある。 The purpose of this disclosure, made in consideration of the above-mentioned problems, is to provide an image processing device, image processing method, and program that can more easily determine the land classification of the installation location of an object.
上記課題を解決するための、本開示に係る画像処理装置は、複数の土地区分からなる地面に設置された対象物を撮像した撮像画像から、前記対象物の設置位置の土地区分を判定する画像処理装置であって、前記撮像画像から、前記対象物の画素領域と、前記複数の土地区分それぞれの土地の画素領域とを示す画素領域検出画像を生成する画素領域検出部と、前記画素領域検出画像における、前記地面と当接する前記対象物の下端近傍の領域の画像を抽出した物体領域抽出画像を生成する物体領域抽出部と、前記物体領域抽出画像における、前記複数の土地区分それぞれの土地の画素領域の画素数に基づき、前記対象物の設置位置の土地区分を判定する区分判定部と、を備える。 To solve the above problem, the image processing device disclosed herein is an image processing device that determines the land classification of the installation location of an object installed on the ground consisting of multiple land classifications from an image captured of the object installed on the ground, and includes: a pixel area detection unit that generates a pixel area detection image from the captured image that shows the pixel area of the object and the pixel area of each of the multiple land classifications; an object area extraction unit that generates an object area extraction image that extracts an image of the area near the bottom end of the object that abuts the ground from the pixel area detection image; and a classification determination unit that determines the land classification of the installation location of the object based on the number of pixels in the pixel area of each of the multiple land classifications in the object area extraction image.
また、上記課題を解決するため、本開示に係る画像処理方法は、複数の土地区分からなる地面に設置された対象物を撮像した撮像画像から、前記対象物の設置位置の土地区分を判定する画像処理装置による画像処理方法であって、前記撮像画像から、前記対象物の画素領域と、前記複数の土地区分それぞれの土地の画素領域とを示す画素領域検出画像を生成するステップと、前記画素領域検出画像における、前記地面と当接する前記対象物の下端近傍の領域の画像を抽出した物体領域抽出画像を生成するステップと、前記物体領域抽出画像における、前記複数の土地区分それぞれの土地の画素領域の画素数に基づき、前記対象物の設置位置の土地区分を判定するステップと、を含む。 In addition, to solve the above-mentioned problem, the image processing method disclosed herein is an image processing method using an image processing device that determines the land classification of the installation location of an object installed on the ground consisting of multiple land classifications from an image captured of the object installed on the ground, and includes the steps of: generating a pixel area detection image from the captured image that shows the pixel area of the object and the pixel area of the land of each of the multiple land classifications; generating an object area extraction image by extracting an image of the area near the bottom end of the object that abuts the ground in the pixel area detection image; and determining the land classification of the installation location of the object based on the number of pixels in the pixel area of the land of each of the multiple land classifications in the object area extraction image.
また、上記課題を解決するため、本開示に係るプログラムは、コンピュータを、上述した画像処理装置として動作させる。 In addition, to solve the above problem, the program disclosed herein causes a computer to operate as the above-mentioned image processing device.
本開示に係る画像処理装置、画像処理方法およびプログラムによれば、より簡易に、対象物の設置位置の土地区分を判定することができる The image processing device, image processing method, and program disclosed herein make it easier to determine the land classification of the installation location of an object.
以下、本開示の実施の形態について図面を参照して説明する。 Embodiments of the present disclosure are described below with reference to the drawings.
(第1の実施形態)
図1は、本開示の第1の実施形態に係る画像処理装置10の構成例を示す図である。本開示に係る画像処理装置10は、図2に示すような、複数の土地区分からなる地面1に設置された対象物2を撮像した撮像画像から、対象物2の設置位置の土地区分を判定するものである。以下では、地面1が、官地1Aおよび民地1Bの2つの土地区分からなる例を用いて説明するが、本開示はこれに限られるものではない。対象物2は、電柱、案内標識、交通標識、街灯、信号などの地面1に設置されるものである。
(First embodiment)
Fig. 1 is a diagram illustrating an example configuration of an image processing device 10 according to a first embodiment of the present disclosure. The image processing device 10 according to the present disclosure determines the land classification of the installation location of an object 2 from a captured image of the object 2 installed on ground 1 consisting of multiple land classifications, as shown in Fig. 2. In the following, an example will be described in which the ground 1 consists of two land classifications, namely, public land 1A and private land 1B, but the present disclosure is not limited to this. The object 2 is installed on the ground 1, such as a utility pole, a guide sign, a traffic sign, a street light, or a traffic light.
図1に示すように、本実施形態に係る画像処理装置10は、入力部11と、画素領域検出部12と、判定対象選定部13と、物体領域抽出部14と、下端領域拡張部15と、区分判定部16と、出力部17とを備える。 As shown in Figure 1, the image processing device 10 of this embodiment includes an input unit 11, a pixel area detection unit 12, a judgment target selection unit 13, an object area extraction unit 14, a lower end area extension unit 15, a classification judgment unit 16, and an output unit 17.
入力部11は、図2に示すような、対象物2を含む所定の範囲を撮像した撮像画像が入力される。 The input unit 11 receives an image captured of a specified range including the object 2, as shown in Figure 2.
画素領域検出部12は、入力部11に入力された撮像画像から、図3に示すように、対象物2の画素領域と、複数の土地区分(本実施形態では、官地1Aおよび民地1B)それぞれの土地の画素領域と、対象物2および地面1以外の背景の画素領域とを示す画素領域検出画像を生成する。図2に示す例では、画素領域検出部12は、対象物2の画素領域と、道路(官地1A)の画素領域と、側溝(官地1A)の画素領域と、民地1Bの画素領域と、背景の画素領域とを示す画素領域検出画像を生成する。 From the captured image input to the input unit 11, the pixel area detection unit 12 generates a pixel area detection image showing the pixel area of the object 2, the pixel area of each of the multiple land divisions (in this embodiment, public land 1A and private land 1B), and the pixel area of the background other than the object 2 and the ground 1, as shown in Figure 3. In the example shown in Figure 2, the pixel area detection unit 12 generates a pixel area detection image showing the pixel area of the object 2, the pixel area of the road (public land 1A), the pixel area of the gutter (public land 1A), the pixel area of private land 1B, and the pixel area of the background.
画素領域検出部12は、例えば、撮像画像に対する画像認識により、対象物2の画素領域を検出する。また、画素領域検出部12は、例えば、地面1に相当する画素それぞれについて、当該画素が官地1Aの画素領域に含まれるか民地1Bの画素領域に含まれるかを示す情報が入力され、当該情報に基づき、官地1Aの画素領域と、民地1Bの画素領域とを検出する。また、画素領域検出部12は、例えば、撮像画像における、官地1Aの画素領域の座標および民地1Bの画素領域の座標を示す情報が入力され、当該情報に基づき、官地1Aの画素領域と、民地1Bの画素領域とを検出する。また、画素領域検出部12は、例えば、対象物2の画素領域、官地1Aの画素領域および民地1Bの画素領域以外の画素領域を背景の画素領域として検出する。 The pixel area detection unit 12 detects the pixel area of the object 2, for example, by image recognition of the captured image. Furthermore, for example, information indicating whether each pixel corresponding to the ground 1 is included in the pixel area of public land 1A or the pixel area of private land 1B is input to the pixel area detection unit 12, and the pixel area of public land 1A and the pixel area of private land 1B are detected based on this information. Furthermore, for example, information indicating the coordinates of the pixel area of public land 1A and the pixel area of private land 1B in the captured image is input to the pixel area detection unit 12, and the pixel area of public land 1A and the pixel area of private land 1B are detected based on this information. Furthermore, for example, the pixel area detection unit 12 detects pixel areas other than the pixel area of the object 2, the pixel area of public land 1A, and the pixel area of private land 1B as background pixel areas.
図1を再び参照すると、判定対象選定部13は、画素領域検出部12により生成された画素領域検出画像から、設置位置の土地区分の判定の対象とする対象物2を選定する。具体的には、判定対象選定部13は、画素領域検出画像に含まれる対象物2のうち、判定が困難な対象物2を判定の対象から除外し、それ以外の対象物2を判定の対象として選定する。 Referring again to Figure 1, the determination target selection unit 13 selects an object 2 to be used to determine the land classification of the installation location from the pixel area detection image generated by the pixel area detection unit 12. Specifically, the determination target selection unit 13 excludes from the determination targets those objects 2 included in the pixel area detection image that are difficult to determine, and selects the remaining objects 2 as determination targets.
図4Aは、画素領域検出画像の一例を示す図である。判定対象選定部13は、図4Aに示すように、画素領域検出画像の一方向(図4Aでは紙面横方向)に沿ってX座標を設定し、X座標と直交する方向(図4Aでは紙面縦方向)にY軸を設定する。判定対象選定部13は、対象物2の画素領域の地面1側の端部の座標が、画素領域検出画像のX軸方向あるいはY軸方向の最大座標あるいは最小座標であるか否かを判定する。図4Aに示すように、対象物2の画素領域の地面1側の端部の座標が、画素領域検出画像のX軸方向あるいはY軸方向の最大座標あるいは最小座標である場合、地面1と当接する対象物2の下端が画素領域検出画像に含まれていないことがある。地面1と当接する対象物2の下端が画素領域検出画像に含まれていない場合、その対象物2の設置位置の土地区分を判定することは困難である。そのため、判定対象選定部13は、画素領域検出画像に地面1と当接する下端が含まれない対象物2を判定の対象から除外する。 Figure 4A is a diagram showing an example of a pixel region detection image. As shown in Figure 4A, the determination target selection unit 13 sets an X coordinate along one direction of the pixel region detection image (the horizontal direction in Figure 4A) and sets a Y axis in a direction perpendicular to the X coordinate (the vertical direction in Figure 4A). The determination target selection unit 13 determines whether the coordinate of the edge of the pixel region of the object 2 on the ground 1 side is the maximum or minimum coordinate in the X-axis or Y-axis direction of the pixel region detection image. As shown in Figure 4A, if the coordinate of the edge of the pixel region of the object 2 on the ground 1 side is the maximum or minimum coordinate in the X-axis or Y-axis direction of the pixel region detection image, the bottom edge of the object 2 that abuts the ground 1 may not be included in the pixel region detection image. If the bottom edge of the object 2 that abuts the ground 1 is not included in the pixel region detection image, it is difficult to determine the land classification of the installation location of the object 2. Therefore, the determination target selection unit 13 excludes from the determination target any object 2 whose bottom edge that abuts the ground 1 is not included in the pixel region detection image.
図4Bは、画素領域検出画像の別の一例を示す図である。判定対象選定部13は、図4Bに示すように、対象物2の所定の方向(対象物2の延在方向(Y軸方向)と直交する方向(X軸方向))のサイズ(画素数)を算出する。所定の方向のサイズが閾値より小さい対象物2は、撮影場所から遠方に存在し、小さく写っていると考えられる。このような対象物2を設置位置の土地区分を判定することは困難である。そのため、判定対象選定部13は、画素領域検出画像における所定方向のサイズが閾値以下である対象物2を判定の対象から除外する。 Figure 4B is a diagram showing another example of a pixel area detection image. As shown in Figure 4B, the determination target selection unit 13 calculates the size (number of pixels) of the object 2 in a predetermined direction (the direction (X-axis direction) perpendicular to the extension direction (Y-axis direction) of the object 2). An object 2 whose size in the predetermined direction is smaller than the threshold value is considered to be located far away from the shooting location and to appear small. It is difficult to determine the land classification of the installation location of such an object 2. Therefore, the determination target selection unit 13 excludes from the determination target any object 2 whose size in the predetermined direction in the pixel area detection image is equal to or smaller than the threshold value.
図4C,4Dは、画素領域検出画像のさらに別の一例を示す図である。判定対象選定部13は、画素領域検出画像において、対象物2の画素領域の地面1側の端部の画素が背景の画素と隣接するか否か判定する。図4Cに示すように、画素領域検出画像において、対象物2の画素領域の地面1側の端部の画素が背景以外(官地1Aあるいは民地1B)の画素と隣接する場合、当該対象物2は地面1に当接していると考えられる。この場合、判定対象選定部13は、その対象物2を設置位置の判定の対象とする。 Figures 4C and 4D are diagrams showing yet another example of a pixel region detection image. The determination target selection unit 13 determines whether the pixel at the end of the pixel region of the object 2 on the ground 1 side in the pixel region detection image is adjacent to a pixel of the background. As shown in Figure 4C, if the pixel at the end of the pixel region of the object 2 on the ground 1 side in the pixel region detection image is adjacent to a pixel other than the background (government land 1A or private land 1B), the object 2 is considered to be in contact with the ground 1. In this case, the determination target selection unit 13 selects the object 2 as the target for determining the installation position.
一方、図4Dに示すように、画素領域検出画像において、対象物2の画素領域の地面1側の端部の画素が背景の画素と隣接する場合、当該対象物2は地面1に当接していないと考えられる。このような対象物2の設置位置の土地区分を判定することは困難である。そのため、判定対象選定部13は、画素領域検出画像において、地面1側の端部の画素が、複数の土地区分の土地のうち、少なくともいずれかの土地の画素と隣接しない対象物2を判定の対象から除外する。 On the other hand, as shown in Figure 4D, if the pixel at the ground 1 side edge of the pixel area of object 2 in the pixel area detection image is adjacent to a pixel in the background, it is considered that object 2 is not in contact with ground 1. It is difficult to determine the land classification of the installation location of such object 2. Therefore, the judgment target selection unit 13 excludes from the judgment target any object 2 whose ground 1 side edge pixel in the pixel area detection image is not adjacent to a pixel of at least one land among multiple land classifications.
判定対象選定部13は、図4A~4Dを参照して説明した、画素領域検出画像に地面1と当接する下端が含まれない対象物2、画素領域検出画像における所定方向のサイズが閾値以下である対象物2、および、画素領域検出画像において、地面1側の端部の画素が、複数の土地区分の土地のうち、少なくともいずれかの土地の画素と隣接しない対象物2の少なくとも1つを、設置位置の土地区分の判定の対象から除外する。物体領域抽出部14、下端領域拡張部15および区分判定部16では、判定対象選定部13により判定の対象と選定された対象物2について処理が行われる。 The determination target selection unit 13 excludes from the determination of the land classification of the installation location at least one of the following objects 2, as described with reference to Figures 4A to 4D: objects 2 whose pixel region detection image does not include a lower end that abuts the ground 1; objects 2 whose size in a predetermined direction in the pixel region detection image is equal to or smaller than a threshold; and objects 2 whose pixel at the edge on the ground 1 side in the pixel region detection image is not adjacent to pixels of at least one of the land classifications. The object region extraction unit 14, lower end region expansion unit 15, and classification determination unit 16 process the objects 2 selected as the determination target by the determination target selection unit 13.
図1を再び参照すると、物体領域抽出部14は、画素領域検出画像における、地面1と当接する対象物2の下端近傍の領域の画像を抽出した物体領域抽出画像を生成する。具体的には、物体領域抽出部14は、図5に示すように、画素領域検出画像において、対象物2の外接矩形を特定する。物体領域抽出部14は、対象物2の画素領域のX軸方向およびY軸方向の座標の最大値/最小値に基づき、対象物2の外接矩形を特定する。物体領域抽出部14は、図5に示すように、画素領域検出画像における、特定した外接矩形の領域の画像を抽出する。 Referring again to Figure 1, the object region extraction unit 14 generates an object region extraction image by extracting an image of the region near the bottom edge of the object 2 that abuts the ground 1 from the pixel region detection image. Specifically, as shown in Figure 5, the object region extraction unit 14 identifies a circumscribing rectangle of the object 2 in the pixel region detection image. The object region extraction unit 14 identifies a circumscribing rectangle of the object 2 based on the maximum/minimum values of the coordinates in the X-axis and Y-axis directions of the pixel region of the object 2. The object region extraction unit 14 extracts an image of the region of the identified circumscribing rectangle from the pixel region detection image, as shown in Figure 5.
次に、物体領域抽出部14は、抽出した画像をn(nは任意の正の整数)分割する。具体的には、物体領域抽出部14は、図5に示すように、抽出した画像のX軸方向のサイズがB[pixel]、Y軸方向のサイズがH[pixel]であるとすると、抽出した画像をY軸方向にn分割する。物体領域抽出部14は、例えば、抽出した画像を予め定められた分割数nでY軸方向に分割してよい。また、物体領域抽出部14は、分割後の画像のサイズが固定(B×(n/H)が一定)となるように、分割数nを可変にして抽出した画像を分割してもよい。 Next, the object region extraction unit 14 divides the extracted image into n parts (n is any positive integer). Specifically, as shown in FIG. 5, if the size of the extracted image in the X-axis direction is B [pixels] and the size of the extracted image in the Y-axis direction is H [pixels], the object region extraction unit 14 divides the extracted image into n parts in the Y-axis direction. For example, the object region extraction unit 14 may divide the extracted image in the Y-axis direction by a predetermined number of divisions n. Alternatively, the object region extraction unit 14 may divide the extracted image by varying the number of divisions n so that the size of the image after division is fixed (B × (n/H) is constant).
物体領域抽出部14は、抽出した画像を分割したn個の画像の内、最も対象物2の下端側の画像を物体領域抽出画像として出力する。なお、物体領域抽出部14は、外接矩形の下端からB[pixel]×H[pixel]の固定サイズの画像を物体領域抽出画像として出力してもよい。上述したように、判定対象選定部13により判定の対象と選定された対象物2は、画素領域検出画像において地面1と当接している。したがって、対象物2の外接矩形の画像を分割したn個の画像の内、最も対象物2の下端側の画像には、地面1と当接する対象物2の下端が含まれている。したがって、物体領域抽出部14は、地面1と当接する対象物2の下端近傍を含む物体領域抽出画像を生成することができる。このように、地面1と当接する対象物2の下端近傍を含む物体領域検出画像を生成することで、対象物2の設置位置の土地区分の判定に必要な情報を抽出することが可能となる。The object region extraction unit 14 outputs the image furthest from the bottom of the object 2 as the object region extraction image, out of the n images obtained by dividing the extracted image. The object region extraction unit 14 may also output an image with a fixed size of B [pixels] x H [pixels] from the bottom of the circumscribing rectangle as the object region extraction image. As described above, the object 2 selected as the object for determination by the determination target selection unit 13 is in contact with the ground 1 in the pixel region detection image. Therefore, of the n images obtained by dividing the image of the circumscribing rectangle of the object 2, the image furthest from the bottom of the object 2 includes the bottom edge of the object 2 that is in contact with the ground 1. Therefore, the object region extraction unit 14 can generate an object region extraction image that includes the vicinity of the bottom edge of the object 2 that is in contact with the ground 1. By generating an object region detection image that includes the vicinity of the bottom edge of the object 2 that is in contact with the ground 1 in this way, it is possible to extract information necessary for determining the land classification of the installation location of the object 2.
図1を再び参照すると、下端領域拡張部15は、図6に示すように、画素領域検出画像における、物体領域抽出画像として抽出した画像の領域を、地面1からの対象物2の延在方向以外の方向に拡張する。図6に示す例では、対象物2は、地面1から紙面上方向に延在する。この場合、下端領域拡張部15は、図6に示すように、物体領域抽出画像の領域を、紙面下方向、紙面左方向および紙面右方向に拡張して、物体領域抽出画像を拡張する。下端領域拡張部15は、例えば、物体領域抽出画像の領域を、予め定められた画素数だけ対象物2の延在方向以外の方向に拡張してよい。また、下端領域拡張部15は、例えば、物体領域抽出画像の領域を、予め定められた倍数分だけ対象物2の延在方向以外の方向に拡張してもよい。 Referring again to FIG. 1, the bottom end region expansion unit 15 expands the region of the image extracted as the object region extraction image in the pixel region detection image in a direction other than the direction in which the object 2 extends from the ground 1, as shown in FIG. 6. In the example shown in FIG. 6, the object 2 extends from the ground 1 upward on the paper. In this case, the bottom end region expansion unit 15 expands the region of the object region extraction image in the downward, leftward, and rightward directions on the paper, as shown in FIG. 6, to expand the object region extraction image. The bottom end region expansion unit 15 may, for example, expand the region of the object region extraction image in a direction other than the direction in which the object 2 extends by a predetermined number of pixels. The bottom end region expansion unit 15 may also, for example, expand the region of the object region extraction image in a direction other than the direction in which the object 2 extends by a predetermined multiple.
上述したように、物体領域抽出部14により生成される物体領域抽出画像は、画素領域検出画像における対象物2の外接矩形に基づき生成される。この場合、物体領域抽出画像には、官地1Aの画素および民地1Bの画素が含まれない可能性がある。下端領域拡張部15により物体領域抽出画像を拡張することで、後述する区分判定部16による対象物2の設置位置の土地区分の判定に必要な、官地1Aの画素および民地1Bの画素を物体領域抽出画像に含めることができる。As described above, the object area extraction image generated by the object area extraction unit 14 is generated based on the circumscribing rectangle of the object 2 in the pixel area detection image. In this case, the object area extraction image may not include pixels of the government land 1A and pixels of the private land 1B. By expanding the object area extraction image using the bottom edge area expansion unit 15, it is possible to include in the object area extraction image the pixels of the government land 1A and pixels of the private land 1B necessary for the classification determination unit 16 (described later) to determine the land classification of the installation location of the object 2.
図1を再び参照すると、区分判定部16は、物体領域抽出画像における、複数の土地区分それぞれの土地の画素領域の画素数に基づき、対象物2の設置位置の土地区分を判定する。具体的には、区分判定部16は、下端領域拡張部15による拡張後の物体領域抽出画像における、複数の土地区分それぞれの土地の画素領域の画素数に基づき、対象物の設置位置の土地区分を判定する。 Referring again to FIG. 1, the classification determination unit 16 determines the land classification of the installation location of the object 2 based on the number of pixels in the pixel area of each of the multiple land classifications in the object area extraction image. Specifically, the classification determination unit 16 determines the land classification of the installation location of the object 2 based on the number of pixels in the pixel area of each of the multiple land classifications in the object area extraction image after expansion by the bottom area expansion unit 15.
区分判定部16は、物体領域抽出画像における、官地1Aの画素領域の画素数C1と、民地1Bの画素領域の画素数C2とをカウントする。そして、区分判定部16は、例えば、画素数C1≧画素数C2であれば、対象物2の設置位置の土地区分は官地1Aであると判定し、画素数C1<画素数C2であれば、対象物2の設置位置の土地区分は民地1Bであると判定する。また、区分判定部16は、画素数C1と画素数C2との割合に基づき、対象物2の設置位置の土地区分を判定してもよい。 The classification determination unit 16 counts the number of pixels C1 in the pixel area of government land 1A and the number of pixels C2 in the pixel area of private land 1B in the object area extraction image. Then, for example, if the number of pixels C1 is greater than or equal to the number of pixels C2, the classification determination unit 16 determines that the land classification of the installation location of object 2 is government land 1A, and if the number of pixels C1 is less than the number of pixels C2, the classification determination unit 16 determines that the land classification of the installation location of object 2 is private land 1B. The classification determination unit 16 may also determine the land classification of the installation location of object 2 based on the ratio between the number of pixels C1 and the number of pixels C2.
出力部17は、区分判定部16による判定結果を出力する。出力部17は、例えば、画像処理装置10あるいは他の装置が備える表示部への表示により判定結果を出力する。また、出力部17は、例えば、画像処理装置10あるいは他の装置が備える音声出力部からの音声出力により判定結果を出力する。 The output unit 17 outputs the judgment result made by the classification judgment unit 16. The output unit 17 outputs the judgment result, for example, by displaying it on a display unit provided in the image processing device 10 or another device. The output unit 17 also outputs the judgment result, for example, by audio output from an audio output unit provided in the image processing device 10 or another device.
なお、本実施形態に係る画像処理装置10において、本開示に係る画像処理を行うための構成(画素領域検出部12、判定対象選定部13、物体領域抽出部14、下端領域拡張部15および区分判定部16)のうち、判定対象選定部13および下端領域拡張部15は必須の構成ではない。したがって、本実施形態に係る画像処理装置10は、画素領域検出部12、物体領域抽出部14および区分判定部16を備えていればよい。 In the image processing device 10 according to this embodiment, of the components for performing the image processing according to the present disclosure (pixel region detection unit 12, judgment target selection unit 13, object region extraction unit 14, bottom end region extension unit 15, and division determination unit 16), the judgment target selection unit 13 and bottom end region extension unit 15 are not essential components. Therefore, the image processing device 10 according to this embodiment is only required to include the pixel region detection unit 12, object region extraction unit 14, and division determination unit 16.
次に、本実施形態に係る画像処理装置10の動作について説明する。図7は、本実施形態に係る画像処理装置10の動作の一例を示すフローチャートであり、画像処理装置10による画像処理方法を説明するための図である。Next, the operation of the image processing device 10 according to this embodiment will be described. Figure 7 is a flowchart showing an example of the operation of the image processing device 10 according to this embodiment, and is a diagram for explaining the image processing method by the image processing device 10.
入力部11は、対象物2を含む所定の範囲を撮像した撮像画像が入力され、入力された撮像画像を取得する(ステップS11)。 The input unit 11 receives an image captured within a predetermined range including the object 2 and acquires the input image (step S11).
画素領域検出部12は、撮像画像から、対象物2の画素領域と、複数の土地区分それぞれの土地の画素領域と、背景の画素領域とを示す画素領域検出画像を生成する(ステップS12)。 The pixel area detection unit 12 generates a pixel area detection image from the captured image, showing the pixel area of the object 2, the pixel area of each of the multiple land divisions, and the pixel area of the background (step S12).
判定対象選定部13は、画素領域検出画像から、設置位置の土地区分の判定の対象とする対象物2を選定する(ステップS13)。具体的には、判定対象選定部13は、画素領域検出画像に含まれる対象物2のうち、判定が困難な対象物2を判定の対象から除外し、それ以外の対象物2を判定の対象として選定する。判定対象選定部13は、画素領域検出画像に地面1と当接する下端が含まれない対象物2、画素領域検出画像における所定方向のサイズが閾値以下である対象物2、および、画素領域検出画像において、地面1側の端部の画素が、複数の土地区分の土地のうち、少なくともいずれかの土地の画素と隣接する対象物2の少なくとも1つを、設置位置の土地区分の判定の対象から除外する。以下の処理は、判定対象選定部13により判定の対象と選定された対象物2について行われる。The determination target selection unit 13 selects from the pixel region detection image an object 2 to be used to determine the land classification of the installation location (step S13). Specifically, the determination target selection unit 13 excludes from the determination targets those objects 2 included in the pixel region detection image that are difficult to determine, and selects the remaining objects 2 as determination targets. The determination target selection unit 13 excludes from the determination targets the following objects 2: objects 2 whose lower ends that contact the ground 1 are not included in the pixel region detection image; objects 2 whose size in a specified direction in the pixel region detection image is equal to or less than a threshold; and objects 2 whose pixel at the edge on the ground 1 side in the pixel region detection image is adjacent to a pixel of at least one of the land segments of multiple land segments. The following processing is performed on the object 2 selected as a determination target by the determination target selection unit 13.
物体領域抽出部14は、画素領域検出画像における、地面1と当接する対象物2の下端近傍の領域の画像を抽出した物体領域抽出画像を生成する(ステップS14)。具体的には、物体領域抽出部14は、画素領域検出画像において、対象物2の外接矩形を特定し、特定した外接矩形における対象物2の下端近傍の画像を抽出して、物体領域抽出画像を生成する。The object region extraction unit 14 generates an object region extraction image by extracting an image of the region near the bottom end of the object 2 that abuts the ground surface 1 from the pixel region detection image (step S14). Specifically, the object region extraction unit 14 identifies a circumscribing rectangle of the object 2 in the pixel region detection image, extracts an image of the region near the bottom end of the object 2 from the identified circumscribing rectangle, and generates the object region extraction image.
下端領域拡張部15は、画素領域検出画像における、物体領域抽出画像として抽出した画像の領域を、地面1からの対象物2の延在方向以外の方向に拡張して、物体領域抽出画像を拡張する(ステップS15)。 The lower end area expansion unit 15 expands the area of the image extracted as the object area extraction image in the pixel area detection image in a direction other than the extension direction of the object 2 from the ground 1, thereby expanding the object area extraction image (step S15).
区分判定部16は、物体領域抽出画像における、複数の土地区分それぞれの土地の画素領域の画素数に基づき、対象物2の設置位置の土地区分を判定する(ステップS16)。具体的には、区分判定部16は、下端領域拡張部15による拡張後の物体領域抽出画像における、複数の土地区分それぞれの土地の画素領域の画素数に基づき、対象物2の設置位置の土地区分を判定する。The classification determination unit 16 determines the land classification of the installation location of the object 2 based on the number of pixels in the pixel area of each of the multiple land classifications in the object area extraction image (step S16). Specifically, the classification determination unit 16 determines the land classification of the installation location of the object 2 based on the number of pixels in the pixel area of each of the multiple land classifications in the object area extraction image after expansion by the bottom area expansion unit 15.
出力部17は、区分判定部16による、対象物2の設置位置の土地区分を判定の結果を出力する(ステップS17)。 The output unit 17 outputs the result of the classification determination unit 16's determination of the land classification of the installation location of the object 2 (step S17).
上述したように、本実施形態においては、判定対象選定部13および下端領域拡張部15は必須の構成ではない。したがって、本実施形態に係る画像処理装置10による画像処理方法においても、判定対象選定部13により行われるステップS13の処理、および、下端領域拡張部15により行われるステップS15の処理は、必須ではない。As described above, in this embodiment, the judgment target selection unit 13 and the bottom end area extension unit 15 are not required components. Therefore, in the image processing method by the image processing device 10 according to this embodiment, the processing of step S13 performed by the judgment target selection unit 13 and the processing of step S15 performed by the bottom end area extension unit 15 are not required.
このように本実施形態に係る画像処理装置10は、画素領域検出部12と、物体領域抽出部14と、区分判定部16とを備える。画素領域検出部12は、複数の土地区分からなる地面1に設置された対象物2を撮像した撮像画像から、対象物2の画素領域と、複数の土地区分それぞれの土地の画素領域とを示す画素領域検出画像を生成する。物体領域抽出部14は、画素領域検出画像における、地面1と当接する対象物2の下端近傍の領域の画像を抽出した物体領域抽出画像を生成する。区分判定部16は、物体領域抽出画像における、複数の土地区分それぞれの土地の画素領域の画素数に基づき、対象物2の設置位置の土地区分を判定する。 As such, the image processing device 10 according to this embodiment comprises a pixel area detection unit 12, an object area extraction unit 14, and a classification determination unit 16. The pixel area detection unit 12 generates a pixel area detection image showing the pixel area of the object 2 and the pixel area of each of the multiple land areas from a captured image of the object 2 placed on ground 1 consisting of multiple land areas. The object area extraction unit 14 generates an object area extraction image by extracting an image of the area near the bottom end of the object 2 that abuts on the ground 1 from the pixel area detection image. The classification determination unit 16 determines the land classification of the installation location of the object 2 based on the number of pixels in the pixel area of each of the multiple land areas in the object area extraction image.
本実施形態に係る画像処理装置10によれば、対象物2を撮像した撮像画像だけを用いて、より簡易に、対象物2の設置位置の土地区分を判定することができる。 According to the image processing device 10 of this embodiment, the land classification of the installation location of the object 2 can be determined more easily using only the captured image of the object 2.
(第2の実施形態)
図8は、本開示の第2の実施形態に係る画像処理装置10Aの構成例を示す図である。図8において、図1と同様の構成には同じ符号を付し、説明を省略する。
Second Embodiment
Fig. 8 is a diagram showing an example of the configuration of an image processing device 10A according to the second embodiment of the present disclosure. In Fig. 8, the same components as those in Fig. 1 are denoted by the same reference numerals, and description thereof will be omitted.
図8に示すように、本実施形態に係る画像処理装置10Aは、入力部11と、画素領域検出部12と、物体領域抽出部14Aと、下端領域拡張部15Aと、区分判定部16と、出力部17と、下端領域検出部18とを備える。本実施形態に係る画像処理装置10Aは、第1の実施形態に係る画像処理装置10と比較して、判定対象選定部13を削除した点と、物体領域抽出部14を物体領域抽出部14Aに変更した点と、下端領域拡張部15を下端領域拡張部15Aに変更した点と、下端領域検出部18を追加した点とが異なる。 As shown in Figure 8, the image processing device 10A according to this embodiment includes an input unit 11, a pixel region detection unit 12, an object region extraction unit 14A, a bottom region extension unit 15A, a division determination unit 16, an output unit 17, and a bottom region detection unit 18. Compared to the image processing device 10 according to the first embodiment, the image processing device 10A according to this embodiment differs in that the determination target selection unit 13 has been removed, the object region extraction unit 14 has been changed to an object region extraction unit 14A, the bottom region extension unit 15 has been changed to a bottom region extension unit 15A, and a bottom region detection unit 18 has been added.
下端領域検出部18は、入力部11から撮像画像が入力される。下端領域検出部18は、図9に示すように、撮像画像における、地面1と当接する対象物2の下端近傍の領域である下端領域を検出する。下端領域検出部18は、例えば、BoundingBox等の矩形領域で検出する画像認識技術を用いて、下端領域を検出する。The bottom edge area detection unit 18 receives the captured image from the input unit 11. As shown in Figure 9, the bottom edge area detection unit 18 detects the bottom edge area in the captured image, which is the area near the bottom edge of the object 2 that is in contact with the ground 1. The bottom edge area detection unit 18 detects the bottom edge area using, for example, image recognition technology that detects a rectangular area such as a bounding box.
図8を再び参照すると、下端領域拡張部15Aは、撮像画像における下端領域を、地面1からの対象物2の延在方向以外の方向に拡張する。 Referring again to Figure 8, the lower end area extension unit 15A extends the lower end area in the captured image in a direction other than the extension direction of the object 2 from the ground 1.
物体領域抽出部14Aは、画素領域検出画像における、下端領域に対応する領域の画像を物体領域抽出画像として抽出する。具体的には、物体領域抽出部14Aは、画素領域検出画像における、下端領域拡張部15Aによる拡張後の下端領域に対応する領域の画像を、物体領域抽出画像として抽出する。 The object region extraction unit 14A extracts, as the object region extraction image, an image of the region in the pixel region detection image that corresponds to the bottom edge region. Specifically, the object region extraction unit 14A extracts, as the object region extraction image, an image of the region in the pixel region detection image that corresponds to the bottom edge region after expansion by the bottom edge region expansion unit 15A.
本実施形態に係る画像処理装置10Aによれば、撮像画像から自動的に、地面1と当接する対象物2の下端近傍の領域を検出し、画素領域検出画像における、対象物2の下端近傍の領域の画像である物体領域抽出画像を生成することができる。 The image processing device 10A of this embodiment can automatically detect the area near the bottom end of the object 2 that is in contact with the ground 1 from the captured image, and generate an object area extraction image, which is an image of the area near the bottom end of the object 2 in the pixel area detection image.
(第3の実施形態)
図10は、本開示の第3の実施形態に係る画像処理装置10Bの構成例を示す図である。図10において、図1と同様の構成には同じ符号を付し、説明を省略する。
(Third embodiment)
10 is a diagram showing an example of the configuration of an image processing device 10B according to the third embodiment of the present disclosure. In Fig. 10, the same components as those in Fig. 1 are denoted by the same reference numerals, and description thereof will be omitted.
図10に示すように、本実施形態に係る画像処理装置10Bは、入力部11と、画素領域検出部12Bと、物体領域抽出部14と、下端領域拡張部15と、区分判定部16と、出力部17と、試行回数カウント部19とを備える。本実施形態に係る画像処理装置10Bは、第1の実施形態に係る画像処理装置10と比較して、判定対象選定部13を削除した点と、画素領域検出部12を画素領域検出部12Bに変更した点と、試行回数カウント部19を追加した点とが異なる。 As shown in Figure 10, the image processing device 10B according to this embodiment includes an input unit 11, a pixel region detection unit 12B, an object region extraction unit 14, a bottom region extension unit 15, a division determination unit 16, an output unit 17, and a trial count unit 19. Compared to the image processing device 10 according to the first embodiment, the image processing device 10B according to this embodiment differs in that the determination target selection unit 13 has been removed, the pixel region detection unit 12 has been replaced with a pixel region detection unit 12B, and a trial count unit 19 has been added.
画素領域検出部12Bは、撮像画像おける対象物2の画素領域の検出を異なる複数の手法により行うことができる。画素領域検出部12Bは、一の手法により対象物2の画素領域を検出することができない場合、他の手法により対象物2の画素領域の検出を試行する。 The pixel area detection unit 12B can detect the pixel area of the object 2 in the captured image using multiple different methods. If the pixel area detection unit 12B cannot detect the pixel area of the object 2 using one method, it attempts to detect the pixel area of the object 2 using another method.
試行回数カウント部19は、画素領域検出部12による対象物2の画素領域の検出の試行回数をカウントする。 The trial counting unit 19 counts the number of attempts made by the pixel area detection unit 12 to detect the pixel area of the object 2.
画素領域検出部12Bは、対象物2の画素領域が検出されなければ、試行回数カウント部19によるカウント数が所定値に達するまで、異なる手法による対象物2の画素領域の検出を繰り返す。 If the pixel area of the object 2 is not detected, the pixel area detection unit 12B repeats detecting the pixel area of the object 2 using different methods until the number counted by the trial counting unit 19 reaches a predetermined value.
次に、本開示に係る画像処理装置10,10A,10Bのハードウェア構成について説明する。 Next, we will explain the hardware configuration of the image processing devices 10, 10A, and 10B related to the present disclosure.
図11は、本開示に係る画像処理装置10、10A,10Bのハードウェア構成の一例を示す図である。図11においては、画像処理装置10、10A,10Bがプログラム命令を実行可能なコンピュータにより構成される場合の、画像処理装置10、10A,10Bのハードウェア構成の一例を示している。ここで、コンピュータは、汎用コンピュータ、専用コンピュータ、ワークステーション、PC(Personal computer)、電子ノートパッドなどであってもよい。プログラム命令は、必要なタスクを実行するためのプログラムコード、コードセグメントなどであってもよい。 Figure 11 is a diagram showing an example of the hardware configuration of an image processing device 10, 10A, or 10B according to the present disclosure. Figure 11 shows an example of the hardware configuration of an image processing device 10, 10A, or 10B when the image processing device 10, 10A, or 10B is configured by a computer capable of executing program instructions. Here, the computer may be a general-purpose computer, a dedicated computer, a workstation, a PC (Personal Computer), an electronic notepad, or the like. The program instructions may be program code, code segments, or the like for performing necessary tasks.
図11に示すように、画像処理装置10、10A,10Bは、プロセッサ21、ROM(Read Only Memory)22、RAM(Random Access Memory)23、ストレージ24、入力部25、表示部26および通信インタフェース(I/F)27を有する。各構成は、バス29を介して相互に通信可能に接続されている。プロセッサ21は、具体的にはCPU(Central Processing Unit)、MPU(Micro Processing Unit)、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、SoC(System on a Chip)などであり、同種または異種の複数のプロセッサにより構成されてもよい。 As shown in FIG. 11, the image processing device 10, 10A, 10B has a processor 21, a ROM (Read Only Memory) 22, a RAM (Random Access Memory) 23, a storage 24, an input unit 25, a display unit 26, and a communication interface (I/F) 27. Each component is connected to each other via a bus 29 so that they can communicate with each other. The processor 21 is specifically a CPU (Central Processing Unit), MPU (Micro Processing Unit), GPU (Graphics Processing Unit), DSP (Digital Signal Processor), SoC (System on a Chip), etc., and may be composed of multiple processors of the same or different types.
プロセッサ21は、各構成の制御および各種の演算処理を実行する制御部である。すなわち、プロセッサ21は、ROM22またはストレージ24からプログラムを読み出し、RAM23を作業領域としてプログラムを実行する。プロセッサ21は、ROM22あるいはストレージ24に記憶されているプログラムに従って、上記各構成の制御および各種の演算処理を行う。本実施形態では、ROM22またはストレージ24には、コンピュータを本開示に係る画像処理装置10、10A,10Bとして動作させるためのプログラムが格納されている。当該プログラムがプロセッサ21により読み出されて実行されることで、画像処理装置10、10A,10Bの各構成、すなわち、画素領域検出部12,12B、判定対象選定部13、物体領域抽出部14,14A、下端領域拡張部15,15A、区分判定部16、下端領域検出部18および試行回数カウント部19が実現される。The processor 21 is a control unit that controls each component and performs various arithmetic operations. That is, the processor 21 reads a program from the ROM 22 or the storage 24 and executes the program using the RAM 23 as a work area. The processor 21 controls each component and performs various arithmetic operations in accordance with the program stored in the ROM 22 or the storage 24. In this embodiment, the ROM 22 or the storage 24 stores a program for operating a computer as the image processing device 10, 10A, or 10B according to the present disclosure. The program is read and executed by the processor 21 to realize each component of the image processing device 10, 10A, or 10B, namely, the pixel area detection unit 12, 12B, the judgment target selection unit 13, the object area extraction unit 14, 14A, the bottom area extension unit 15, 15A, the division determination unit 16, the bottom area detection unit 18, and the trial count unit 19.
プログラムは、CD-ROM(Compact Disk Read Only Memory)、DVD-ROM(Digital Versatile Disk Read Only Memory)、USB(Universal Serial Bus)メモリなどの非一時的(non-transitory)記憶媒体に記憶された形態で提供されてもよい。また、プログラムは、ネットワークを介して外部装置からダウンロードされる形態としてもよい。 The program may be provided in a form stored on a non-transitory storage medium such as a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), or a USB (Universal Serial Bus) memory. The program may also be provided in a form that can be downloaded from an external device via a network.
ROM22は、各種プログラムおよび各種データを格納する。RAM23は、作業領域として一時的にプログラムまたはデータを記憶する。ストレージ24は、HDD(Hard Disk Drive)またはSSD(Solid State Drive)により構成され、オペレーティングシステムを含む各種プログラムおよび各種データを格納する。 ROM 22 stores various programs and data. RAM 23 temporarily stores programs or data as a working area. Storage 24 is composed of an HDD (Hard Disk Drive) or SSD (Solid State Drive) and stores various programs and data, including the operating system.
入力部25は、マウスなどのポインティングデバイス、およびキーボードを含み、各種の入力を行うために使用される。 The input unit 25 includes a pointing device such as a mouse and a keyboard, and is used to make various inputs.
表示部26は、例えば、液晶ディスプレイであり、各種の情報を表示する。表示部26は、タッチパネル方式を採用して、入力部25として機能してもよい。出力部17は、例えば、表示部26に区分判定部16の判定の結果を表示するなどして出力する。 The display unit 26 is, for example, a liquid crystal display, and displays various information. The display unit 26 may also function as the input unit 25 by adopting a touch panel system. The output unit 17 outputs the results of the judgment by the classification judgment unit 16, for example, by displaying them on the display unit 26.
通信インタフェース27は、他の装置(例えば、対象物を撮影したカメラ)と通信するためのインタフェースであり、例えば、LAN用のインタフェースである。入力部11は、例えば、通信インタフェース27を介した通信により、他の装置から撮像画像を取得する。 The communication interface 27 is an interface for communicating with other devices (e.g., a camera that has captured an image of an object), and is, for example, an interface for a LAN. The input unit 11 acquires captured images from other devices, for example, by communication via the communication interface 27.
上述した画像処理装置10の各部として機能させるためにコンピュータを好適に用いることが可能である。そのようなコンピュータは、画像処理装置10の各部の機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのプロセッサによってこのプログラムを読み出して実行させることで実現することができる。すなわち、当該プログラムは、コンピュータを、上述した画像処理装置10として機能させることができる。また、当該プログラムを非一時的記憶媒体に記憶することも可能である。また、当該プログラムを、ネットワークを介して提供することも可能である。 A computer can be suitably used to function as each part of the image processing device 10 described above. Such a computer can be realized by storing a program describing the processing content that realizes the functions of each part of the image processing device 10 in the computer's memory, and having the computer's processor read and execute this program. In other words, the program can cause the computer to function as the image processing device 10 described above. The program can also be stored on a non-transitory storage medium. The program can also be provided via a network.
以上の実施形態に関し、更に以下の付記を開示する。 The following notes are further disclosed regarding the above embodiments.
[付記項1]
複数の土地区分からなる地面に設置された対象物を撮像した撮像画像から、前記対象物の設置位置の土地区分を判定する画像処理装置であって、
メモリと、
前記メモリに接続された制御部と、
を備え、
前記制御部は、
前記撮像画像から、前記対象物の画素領域と、前記複数の土地区分それぞれの土地の画素領域とを示す画素領域検出画像を生成し、
前記画素領域検出画像における、前記地面と当接する前記対象物の下端近傍の領域の画像を抽出した物体領域抽出画像を生成し、
前記物体領域抽出画像における、前記複数の土地区分それぞれの土地の画素領域の画素数に基づき、前記対象物の設置位置の土地区分を判定する、画像処理装置。
[Additional note 1]
1. An image processing device that determines a land classification of an installation position of an object from a captured image of the object installed on a ground consisting of a plurality of land classifications,
Memory and
a control unit connected to the memory;
Equipped with
The control unit
generating a pixel area detection image indicating a pixel area of the object and a pixel area of each of the plurality of land divisions from the captured image;
generating an object region extracted image by extracting an image of a region near the bottom end of the object that is in contact with the ground surface from the pixel region detected image;
an image processing device that determines the land classification of the installation position of the target object based on the number of pixels in the pixel area of each of the plurality of land classifications in the object area extraction image.
[付記項2]
付記項1に記載の画像処理装置において、
前記制御部は、
前記画素領域検出画像に前記地面と当接する下端が含まれない対象物、前記画素領域検出画像における所定方向のサイズが閾値以下である対象物、および、前記画素領域検出画像において、前記地面側の端部の画素が、前記複数の土地区分の土地のうち、少なくともいずれかの土地の画素と隣接しない対象物の少なくとも1つを、前記設置位置の土地区分の判定の対象から除外し、
前記判定の対象と選定された対象物について、前記物体領域抽出画像を生成する、画像処理装置。
[Additional note 2]
In the image processing device according to claim 1,
The control unit
excluding at least one of an object whose lower end that abuts on the ground is not included in the pixel region detection image, an object whose size in a predetermined direction in the pixel region detection image is equal to or smaller than a threshold, and an object whose pixel at the end on the ground side in the pixel region detection image is not adjacent to a pixel of at least one of the land of the plurality of land divisions from the object of determining the land division of the installation position;
an image processing device that generates the object region extraction image for the object selected as the object to be determined;
[付記項3]
付記項1または2に記載の画像処理装置において、
前記制御部は、
前記画素領域検出画像において、前記対象物の外接矩形を特定し、該特定した外接矩形における前記対象物の前記下端近傍の画像を抽出して、前記物体領域抽出画像を生成し、
前記画素領域検出画像における、前記物体領域抽出画像として抽出した画像の領域を、前記地面からの前記対象物の延在方向以外の方向に拡張して、前記物体領域抽出画像を拡張し、
前記拡張後の物体領域抽出画像における、前記複数の土地区分それぞれの土地の画素領域の画素数に基づき、前記対象物の設置位置の土地区分を判定する、画像処理装置。
[Additional note 3]
In the image processing device according to claim 1 or 2,
The control unit
a circumscribing rectangle of the object in the pixel region detection image, and an image of the vicinity of the lower end of the object in the specified circumscribing rectangle is extracted to generate the object region extraction image;
expanding the object region extraction image by expanding the region of the image extracted as the object region extraction image in a direction other than the extending direction of the object from the ground;
an image processing device that determines the land classification of the installation position of the target object based on the number of pixels in the pixel area of each of the plurality of land classifications in the expanded object area extraction image.
[付記項4]
付記項1に記載の画像処理装置において、
前記制御部は、
前記撮像画像における、前記地面と当接する前記対象物の下端近傍の領域である下端領域を検出し、
前記画素領域検出画像における、前記下端領域に対応する領域の画像を前記物体領域抽出画像として抽出する、画像処理装置。
[Additional note 4]
In the image processing device according to claim 1,
The control unit
a lower end region in the captured image that is a region near a lower end of the object that is in contact with the ground;
an image processing device that extracts an image of a region corresponding to the lower end region in the pixel region detection image as the object region extraction image;
[付記項5]
付記項4に記載の画像処理装置において、
前記制御部は、
前記撮像画像における下端領域を、前記地面からの前記対象物の延在方向以外の方向に拡張し、
前記画素領域検出画像における、前記拡張後の下端領域に対応する領域の画像を、前記物体領域抽出画像として抽出する、画像処理装置。
[Additional note 5]
In the image processing device according to supplementary item 4,
The control unit
a lower end region in the captured image is expanded in a direction other than an extension direction of the object from the ground;
an image processing device that extracts, as the object region extraction image, an image of a region in the pixel region detection image that corresponds to the lower end region after the expansion;
[付記項6]
付記項1から5のいずれか一項に記載の画像処理装置において、
前記制御部は、前記撮像画像における前記対象物の画素領域の検出を異なる複数の手法により行う、画像処理装置。
[Additional note 6]
In the image processing device according to any one of claims 1 to 5,
The control unit detects the pixel area of the object in the captured image using a plurality of different methods.
[付記項7]
複数の土地区分からなる地面に設置された対象物を撮像した撮像画像から、前記対象物の設置位置の土地区分を判定する画像処理装置による画像処理方法であって、
前記撮像画像から、前記対象物の画素領域と、前記複数の土地区分それぞれの土地の画素領域とを示す画素領域検出画像を生成し、
前記画素領域検出画像における、前記地面と当接する前記対象物の下端近傍の領域の画像を抽出した物体領域抽出画像を生成し、
前記物体領域抽出画像における、前記複数の土地区分それぞれの土地の画素領域の画素数に基づき、前記対象物の設置位置の土地区分を判定する、画像処理方法。
[Additional note 7]
1. An image processing method for an image processing device that determines a land classification of an installation position of an object from a captured image of the object installed on a ground consisting of a plurality of land classifications, the method comprising:
generating a pixel area detection image indicating a pixel area of the object and a pixel area of each of the plurality of land divisions from the captured image;
generating an object region extracted image by extracting an image of a region near the bottom end of the object that is in contact with the ground surface from the pixel region detected image;
An image processing method for determining a land category in which the object is installed based on the number of pixels in a pixel area of each of the plurality of land categories in the object area extraction image.
[付記項8]
コンピュータによって実行可能なプログラムを記憶した非一時的記憶媒体であって、前記コンピュータを、付記項1から6のいずれか一項に記載の画像処理装置として動作させる、プログラムを記憶した非一時的記憶媒体。
[Additional Note 8]
A non-transitory storage medium storing a program executable by a computer, the non-transitory storage medium storing the program causing the computer to operate as the image processing device described in any one of appendix items 1 to 6.
上述の実施形態は代表的な例として説明したが、本開示の趣旨および範囲内で、多くの変更および置換ができることは当業者に明らかである。したがって、本発明は、上述の実施形態によって制限するものと解するべきではなく、請求の範囲から逸脱することなく、種々の変形または変更が可能である。例えば、実施形態の構成図に記載の複数の構成ブロックを1つに組み合わせたり、あるいは1つの構成ブロックを分割したりすることが可能である。 The above-described embodiments have been described as representative examples, but it will be apparent to those skilled in the art that numerous modifications and substitutions are possible within the spirit and scope of the present disclosure. Therefore, the present invention should not be construed as being limited to the above-described embodiments, and various modifications and alterations are possible without departing from the scope of the claims. For example, multiple component blocks shown in the configuration diagrams of the embodiments may be combined into one, or one component block may be divided.
1 地面
1A 官地
1B 民地
2 対象物
10,10A,10B 画像処理装置
11 入力部
12,12B 画素領域検出部
13 判定対象選定部
14,14A 物体領域検出部
15,15A 下端領域拡張部
16 区分判定部
17 出力部
18 下端領域検出部
19 試行回数カウント部
21 プロセッサ
22 ROM
23 RAM
24 ストレージ
25 入力部
26 表示部
27 通信I/F
29 バス
REFERENCE SIGNS LIST 1 Ground 1A Public land 1B Private land 2 Object 10, 10A, 10B Image processing device 11 Input unit 12, 12B Pixel area detection unit 13 Determination target selection unit 14, 14A Object area detection unit 15, 15A Bottom end area extension unit 16 Classification determination unit 17 Output unit 18 Bottom end area detection unit 19 Trial number count unit 21 Processor 22 ROM
23 RAM
24 Storage 25 Input unit 26 Display unit 27 Communication I/F
29 Bus
Claims (8)
前記撮像画像から、前記対象物の画素領域と、前記複数の土地区分それぞれの土地の画素領域とを示す画素領域検出画像を生成する画素領域検出部と、
前記画素領域検出画像における、前記地面と当接する前記対象物の下端近傍の領域の画像を抽出した物体領域抽出画像を生成する物体領域抽出部と、
前記物体領域抽出画像における、前記複数の土地区分それぞれの土地の画素領域の画素数に基づき、前記対象物の設置位置の土地区分を判定する区分判定部と、を備える画像処理装置。 1. An image processing device that determines a land classification of an installation position of an object from a captured image of the object installed on a ground consisting of a plurality of land classifications,
a pixel area detection unit that generates, from the captured image, a pixel area detection image that indicates a pixel area of the object and a pixel area of each of the plurality of land divisions;
an object region extraction unit that generates an object region extraction image by extracting an image of a region near the bottom end of the object that is in contact with the ground surface from the pixel region detection image;
an area determination unit that determines the land area of the installation position of the object based on the number of pixels in the pixel area of each of the plurality of land areas in the object area extraction image.
前記画素領域検出画像に前記地面と当接する下端が含まれない対象物、前記画素領域検出画像における所定方向のサイズが閾値以下である対象物、および、前記画素領域検出画像において、前記地面側の端部の画素が、前記複数の土地区分の土地のうち、少なくともいずれかの土地の画素と隣接しない対象物の少なくとも1つを、前記設置位置の土地区分の判定の対象から除外する判定対象選定部をさらに備え、
前記物体領域抽出部は、前記判定対象選定部により判定の対象と選定された対象物について、前記物体領域抽出画像を生成する、画像処理装置。 2. The image processing device according to claim 1,
a determination object selection unit that excludes at least one of an object whose lower end that abuts on the ground is not included in the pixel region detection image, an object whose size in a predetermined direction in the pixel region detection image is equal to or smaller than a threshold, and an object whose pixel at the end on the ground side in the pixel region detection image is not adjacent to a pixel of at least one of the land of the plurality of land divisions, from targets for determining the land division of the installation position;
The object region extraction unit generates the object region extracted image for the object selected as the target for determination by the determination target selection unit.
前記物体領域抽出部は、前記画素領域検出画像において、前記対象物の外接矩形を特定し、該特定した外接矩形における前記対象物の前記下端近傍の画像を抽出して、前記物体領域抽出画像を生成し、
前記画素領域検出画像における、前記物体領域抽出画像として抽出した画像の領域を、前記地面からの前記対象物の延在方向以外の方向に拡張して、前記物体領域抽出画像を拡張する下端領域拡張部をさらに備え、
前記区分判定部は、前記下端領域拡張部による拡張後の前記物体領域抽出画像における、前記複数の土地区分それぞれの土地の画素領域の画素数に基づき、前記対象物の設置位置の土地区分を判定する、画像処理装置。 2. The image processing device according to claim 1,
the object region extraction unit specifies a circumscribing rectangle of the object in the pixel region detection image, extracts an image of the vicinity of the lower end of the object in the specified circumscribing rectangle, and generates the object region extraction image;
a bottom end region extending unit that extends the region of the image extracted as the object region extracted image in the pixel region detection image in a direction other than the extending direction of the object from the ground surface, thereby extending the object region extracted image;
The division determination unit determines the land division of the installation position of the object based on the number of pixels in the pixel area of each of the plurality of land divisions in the object area extraction image after expansion by the lower end area expansion unit.
前記撮像画像における、前記地面と当接する前記対象物の下端近傍の領域である下端領域を検出する下端領域検出部をさらに備え、
前記物体領域抽出部は、前記画素領域検出画像における、前記下端領域に対応する領域の画像を前記物体領域抽出画像として抽出する、画像処理装置。 2. The image processing device according to claim 1,
a bottom edge region detection unit that detects a bottom edge region in the captured image, the bottom edge region being a region near the bottom edge of the object that is in contact with the ground;
The object region extraction unit extracts an image of a region corresponding to the lower end region in the pixel region detection image as the object region extraction image.
前記撮像画像における下端領域を、前記地面からの前記対象物の延在方向以外の方向に拡張する下端領域拡張部をさらに備え、
前記物体領域抽出部は、前記画素領域検出画像における、前記下端領域拡張部による拡張後の前記下端領域に対応する領域の画像を、前記物体領域抽出画像として抽出する、画像処理装置。 5. The image processing device according to claim 4,
a bottom region extending unit that extends a bottom region in the captured image in a direction other than an extension direction of the object from the ground;
The object region extraction unit extracts, as the object region extraction image, an image of a region in the pixel region detection image that corresponds to the bottom edge region after extension by the bottom edge region extension unit.
前記画素領域検出部は、前記撮像画像における前記対象物の画素領域の検出を異なる複数の手法により行う、画像処理装置。 2. The image processing device according to claim 1,
The pixel region detection unit detects the pixel region of the object in the captured image using a plurality of different methods.
前記撮像画像から、前記対象物の画素領域と、前記複数の土地区分それぞれの土地の画素領域とを示す画素領域検出画像を生成するステップと、
前記画素領域検出画像における、前記地面と当接する前記対象物の下端近傍の領域の画像を抽出した物体領域抽出画像を生成するステップと、
前記物体領域抽出画像における、前記複数の土地区分それぞれの土地の画素領域の画素数に基づき、前記対象物の設置位置の土地区分を判定するステップと、を含む画像処理方法。 1. An image processing method for an image processing device that determines a land classification of an installation position of an object from a captured image of the object installed on a ground consisting of a plurality of land classifications, the method comprising:
generating a pixel area detection image indicating a pixel area of the object and a pixel area of each of the plurality of land divisions from the captured image;
generating an object region extracted image by extracting an image of a region near the bottom end of the object that is in contact with the ground from the pixel region detected image;
and determining the land classification of the installation position of the object based on the number of pixels in the pixel area of each of the plurality of land classifications in the object area extraction image.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2022/047204 WO2024134811A1 (en) | 2022-12-21 | 2022-12-21 | Image processing device, image processing method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2024134811A1 JPWO2024134811A1 (en) | 2024-06-27 |
| JP7801646B2 true JP7801646B2 (en) | 2026-01-19 |
Family
ID=91588253
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2024565484A Active JP7801646B2 (en) | 2022-12-21 | 2022-12-21 | Image processing device, image processing method and program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7801646B2 (en) |
| WO (1) | WO2024134811A1 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006338611A (en) | 2005-06-06 | 2006-12-14 | Matsushita Electric Ind Co Ltd | Moving object detection device |
| JP2020149183A (en) | 2019-03-12 | 2020-09-17 | 日本電信電話株式会社 | Machine learning device, deterioration estimator and deterioration diagnostic device |
-
2022
- 2022-12-21 JP JP2024565484A patent/JP7801646B2/en active Active
- 2022-12-21 WO PCT/JP2022/047204 patent/WO2024134811A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006338611A (en) | 2005-06-06 | 2006-12-14 | Matsushita Electric Ind Co Ltd | Moving object detection device |
| JP2020149183A (en) | 2019-03-12 | 2020-09-17 | 日本電信電話株式会社 | Machine learning device, deterioration estimator and deterioration diagnostic device |
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2024134811A1 (en) | 2024-06-27 |
| WO2024134811A1 (en) | 2024-06-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10937171B2 (en) | Generating synthetic images as training dataset for a machine learning network | |
| JP7107015B2 (en) | Point cloud processing device, point cloud processing method and program | |
| CN102165487B (en) | Foreground area extraction program, foreground area extraction device and foreground area extraction method | |
| JP2010146376A (en) | Image processing apparatus and program | |
| JP2018081674A (en) | Line and word segmentation method for handwritten text image | |
| US11922659B2 (en) | Coordinate calculation apparatus, coordinate calculation method, and computer-readable recording medium | |
| EP3291179B1 (en) | Image processing device, image processing method, and image processing program | |
| WO2022252675A1 (en) | Road annotation generation method and apparatus, and device and storage medium | |
| CN111881230A (en) | Rendering method and device for map area and electronic equipment | |
| JP7801646B2 (en) | Image processing device, image processing method and program | |
| JP2019191908A (en) | Object recognition device | |
| JP2018180986A (en) | INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM | |
| CN120220152A (en) | Automatic labeling method of remote sensing mining areas based on deep learning and shallow feature statistics | |
| JP7684610B2 (en) | Image processing device, image processing method, and program | |
| CN115578431B (en) | Image depth processing method and device, electronic equipment and medium | |
| JP7035852B2 (en) | Writing selection program, writing selection method and information processing device | |
| JP2017076291A (en) | Recognition program, recognition method, and recognition apparatus | |
| JP7799225B2 (en) | Image processing device, image processing method and program | |
| WO2022102083A1 (en) | Information processing device, information processing method, and computer program | |
| JP5674535B2 (en) | Image processing apparatus, method, and program | |
| JP2023106936A (en) | Point group processor, method for processing point group, and program | |
| JP6464891B2 (en) | Sideline problem scoring method, sideline problem scoring program, and sideline problem scoring device | |
| JP2026014648A (en) | Detection device, detection method, and system | |
| US20240172011A1 (en) | Information processing system, propagation environment data processing method, and program | |
| WO2025083764A1 (en) | Detection device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250324 |
|
| 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: 20251202 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251215 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7801646 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |