最終更新:2021-04-26 (月) 02:53:37 (1058d)
cv2.warpAffine
Top / cv2.warpAffine
dst = cv2.warpAffine(src, M, dsize[, dst[, flags[, borderMode[, borderValue]]]]) cv2.warpAffine(イメージソース,回転・移動を指定する行列,画像の大きさ,flags)
パラメータ
src input image. dst output image that has the size dsize and the same type as src . M 2×3 transformation matrix. dsize size of the output image.
移動行列?
M = np.float32([[1,0,150],[0,1,100]])