質問編集履歴

2

###

2019/12/11 10:34

投稿

junaa
junaa

スコア9

test CHANGED
File without changes
test CHANGED
@@ -130,16 +130,6 @@
130
130
 
131
131
 
132
132
 
133
- ### 実行結果
134
-
135
- 上:Gray画像,下:Hough変換
136
-
137
- ![イメージ説明](dbff62b3a6199dc0a2db0e0938c35121.png)
138
-
139
- ![イメージ説明](e853b7f34493269893195b5df3692dc6.png)
140
-
141
-
142
-
143
133
  ### ここから行いたいこと
144
134
 
145
135
  複数の直線が検出されましたが,交点検出には至っていません.

1

###

2019/12/11 10:34

投稿

junaa
junaa

スコア9

test CHANGED
File without changes
test CHANGED
@@ -25,16 +25,6 @@
25
25
 
26
26
 
27
27
  public static void main(String[] args) {
28
-
29
- final String path_in = "wall02.jpg";
30
-
31
- final String path_grayout = "wall02_gray.png";
32
-
33
- final String path_cannyout = "wall02_canny.png";
34
-
35
- final String path_houghout = "wall02_hough.png";
36
-
37
- final String path_houghPout = "wall02_houghP.png";
38
28
 
39
29
 
40
30
 
@@ -132,18 +122,6 @@
132
122
 
133
123
  }
134
124
 
135
-
136
-
137
- Imgcodecs.imwrite(path_in, src);
138
-
139
- Imgcodecs.imwrite(path_grayout, gray);
140
-
141
- Imgcodecs.imwrite(path_cannyout, canny);
142
-
143
- Imgcodecs.imwrite(path_houghout, cdst);
144
-
145
- Imgcodecs.imwrite(path_houghPout, cdstP);
146
-
147
125
  }
148
126
 
149
127
  }