質問編集履歴

3

画像の追加

2020/04/02 12:10

投稿

mashiro_dm
mashiro_dm

スコア10

test CHANGED
File without changes
test CHANGED
@@ -121,3 +121,7 @@
121
121
  print(img2.shape, img2.size, img2.dtype) #(222, 180, 3) 119880 uint8
122
122
 
123
123
  ```
124
+
125
+ ![img](c7666c0abbdbc80aab3d5ff935003441.jpeg)
126
+
127
+ ![img2](662be4843df95111a0c1e09c134a6c41.png)

2

読み込み画像情報の追記

2020/04/02 12:10

投稿

mashiro_dm
mashiro_dm

スコア10

test CHANGED
File without changes
test CHANGED
@@ -116,8 +116,8 @@
116
116
 
117
117
  ```python
118
118
 
119
- print(img1.shape) #(900, 1600, 3)
119
+ print(img1.shape, img1.size, img1.dtype) #(900, 1600, 3) 4320000 uint8
120
120
 
121
- print(img2.shape) #(222, 180, 3)
121
+ print(img2.shape, img2.size, img2.dtype) #(222, 180, 3) 119880 uint8
122
122
 
123
123
  ```

1

読み込み画像の情報を追加

2020/03/29 09:32

投稿

mashiro_dm
mashiro_dm

スコア10

test CHANGED
File without changes
test CHANGED
@@ -109,3 +109,15 @@
109
109
  error: OpenCV(3.4.2) C:\Miniconda3\conda-bld\opencv-suite_1534379934306\work\modules\core\src\arithm.cpp:241: error: (-215:Assertion failed) (mtype == 0 || mtype == 1) && _mask.sameSize(*psrc1) in function 'cv::binary_op'
110
110
 
111
111
  ```
112
+
113
+
114
+
115
+ 読み込み画像
116
+
117
+ ```python
118
+
119
+ print(img1.shape) #(900, 1600, 3)
120
+
121
+ print(img2.shape) #(222, 180, 3)
122
+
123
+ ```