最終更新:2021-04-19 (月) 07:43:31 (1103d)
np.ndarray
Top / np.ndarray
https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.html
プロパティ
ndarray.data? ndarray.dtype? int8とか ndarray.shape
メソッド
ndarray.astype Copy of the array, cast to a specified type.
OpenCVのとき
ndarray.shape
- カラーのときは (w,h,channel)
- モノクロのときは (w,h)
ndarray.size
- 画素数