回答編集履歴

1

widthとheightを逆転

2017/11/13 12:59

投稿

KSwordOfHaste
KSwordOfHaste

スコア18394

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  画像が以下のような3次元のnumpy.ndarrayだったとして・・・
6
6
 
7
- width x height x channel(=RGB)
7
+ height x width x channel(=RGB)
8
8
 
9
9
  2x2x3の小さなサンプルで、参照色を赤(255,0,0)、置換色を緑(0,255,0)とし
10
10