質問編集履歴
3
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,24 +1,27 @@
|
|
1
|
-
###実装コード
|
2
|
-
|
1
|
+
位置測定が実測と全く合わないです。
|
3
|
-
|
2
|
+
事前に別のコードからカメラキャリブレーションを行った前提のこーどです。
|
4
|
-
.#include <opencv2/opencv.hpp>
|
5
|
-
.#include <iostream>
|
6
|
-
.#include <string>
|
7
|
-
.#include <sstream>
|
8
|
-
.#include <iomanip>
|
9
|
-
.#include <opencv2/imgcodecs.hpp>
|
10
|
-
.#include <vector>
|
11
|
-
.#include <opencv2/imgproc/imgproc.hpp>
|
12
|
-
.#.include <random>
|
13
|
-
.#include <strstream>
|
14
3
|
|
4
|
+
```
|
5
|
+
|
6
|
+
#define _CRT_SECURE_NO_WARNINGS
|
7
|
+
#include <opencv2/opencv.hpp>
|
8
|
+
#include <iostream>
|
9
|
+
#include <string>
|
10
|
+
#include <sstream>
|
11
|
+
#include <iomanip>
|
12
|
+
#include <opencv2/imgcodecs.hpp>
|
13
|
+
#include <vector>
|
14
|
+
#include <opencv2/imgproc/imgproc.hpp>
|
15
|
+
#.include <random>
|
16
|
+
#include <strstream>
|
17
|
+
|
15
18
|
//抽出する画像の輝度値の範囲を指定
|
16
|
-
|
19
|
+
#define B_MAX 100
|
17
|
-
|
20
|
+
#define B_MIN 0
|
18
|
-
|
21
|
+
#define G_MAX 100
|
19
|
-
|
22
|
+
#define G_MIN 0
|
20
|
-
|
23
|
+
#define R_MAX 255
|
21
|
-
|
24
|
+
#define R_MIN 100
|
22
25
|
|
23
26
|
using namespace cv;
|
24
27
|
using namespace std;
|
@@ -336,4 +339,5 @@
|
|
336
339
|
}
|
337
340
|
}
|
338
341
|
return 0;
|
342
|
+
}
|
339
|
-
|
343
|
+
```
|
2
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
###実装コード
|
2
|
-
<code>>
|
2
|
+
<code>> "
|
3
3
|
.#define _CRT_SECURE_NO_WARNINGS
|
4
4
|
.#include <opencv2/opencv.hpp>
|
5
5
|
.#include <iostream>
|
@@ -336,4 +336,4 @@
|
|
336
336
|
}
|
337
337
|
}
|
338
338
|
return 0;
|
339
|
-
}
|
339
|
+
}"
|
1
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
###実装コード
|
2
|
-
|
2
|
+
<code>> 引用テキスト
|
3
3
|
.#define _CRT_SECURE_NO_WARNINGS
|
4
4
|
.#include <opencv2/opencv.hpp>
|
5
5
|
.#include <iostream>
|
@@ -336,4 +336,4 @@
|
|
336
336
|
}
|
337
337
|
}
|
338
338
|
return 0;
|
339
|
-
}
|
339
|
+
}> 引用テキスト
|