質問編集履歴
2
StringBuilderの質問内容の修正です。
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
StringBuilderで配列は使えますか?
|
test
CHANGED
@@ -1,47 +1,7 @@
|
|
1
|
-
opencvで画像表示をする際にwhileでまわしたいのですが
|
2
|
-
|
3
|
-
|
1
|
+
StringBuilderの配列って使うことはできますか?
|
4
|
-
|
5
|
-
でしょうか?
|
6
|
-
|
7
|
-
Imgproc.erodeが処理されてたり、されてなかったりの表示がでる。
|
8
2
|
|
9
3
|
|
10
4
|
|
11
|
-
|
5
|
+
StringBuilder[] sb = new StringBuilder[30];
|
12
6
|
|
13
|
-
|
14
|
-
|
15
|
-
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
7
|
+
sb[0]="test";
|
20
|
-
|
21
|
-
VideoCapture capture =new VideoCapture(0);
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
capture.read(capImg);
|
28
|
-
|
29
|
-
height =capImg.rows();
|
30
|
-
|
31
|
-
width=capImg.cols();
|
32
|
-
|
33
|
-
while (frame.isShowing()) {
|
34
|
-
|
35
|
-
capture.read(capImg);
|
36
|
-
|
37
|
-
Core.bitwise_not(capImg, capImg);
|
38
|
-
|
39
|
-
Mat element =new Mat(5,5,CvType.CV_8UC1);
|
40
|
-
|
41
|
-
Imgproc.erode(capImg, capImg, element,new Point(-1,-1),4);
|
42
|
-
|
43
|
-
panel.mImage=panel.mat2BI(capImg);
|
44
|
-
|
45
|
-
panel.repaint();
|
46
|
-
|
47
|
-
}}
|
1
返答がつかない。
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
opencvの映像表示
|
test
CHANGED
@@ -1,12 +1,10 @@
|
|
1
|
-
|
1
|
+
opencvで画像表示をする際にwhileでまわしたいのですが
|
2
2
|
|
3
|
-
|
3
|
+
画像処理の過程が表示されてしまう。結果だけ出すことは可能
|
4
4
|
|
5
|
-
|
5
|
+
でしょうか?
|
6
6
|
|
7
|
-
|
7
|
+
Imgproc.erodeが処理されてたり、されてなかったりの表示がでる。
|
8
|
-
|
9
|
-
表示だったりするんです。
|
10
8
|
|
11
9
|
|
12
10
|
|
@@ -38,6 +36,8 @@
|
|
38
36
|
|
39
37
|
Core.bitwise_not(capImg, capImg);
|
40
38
|
|
39
|
+
Mat element =new Mat(5,5,CvType.CV_8UC1);
|
40
|
+
|
41
41
|
Imgproc.erode(capImg, capImg, element,new Point(-1,-1),4);
|
42
42
|
|
43
43
|
panel.mImage=panel.mat2BI(capImg);
|