2017-05-22から1日間の記事一覧

opencv チュートリアルチャレンジ5 モルフォロジー変換

モルフォロジー変換 — OpenCV-Python Tutorials 1 documentation モルフォロジー変換 とりあえず、カーネルはこれでテスト。 kernel = np.ones((5,5),np.uint8) [ [ 1, 1, 1, 1, 1 ], [ 1, 1, 1, 1, 1 ], [ 1, 1, 1, 1, 1 ], [ 1, 1, 1, 1, 1 ], [ 1, 1, 1, …

opencv チュートリアルチャレンジ4 画像の平滑化

画像の平滑化 — OpenCV-Python Tutorials 1 documentation 元画像には、adaptiveThreshold を適用後の画像を使用しました。 平均 cv2.blur() void blur(const Mat& src, Mat& dst, Size ksize, Point anchor=Point(-1, -1), int borderType=BORDER_DEFAULT) …

opencv チュートリアルチャレンジ2 画像の幾何変換

画像の幾何変換 — OpenCV-Python Tutorials 1 documentation リサイズ void cvResize(const CvArr* src, CvArr* dst, int interpolation=CV_INTER_LINEAR) 画像をリサイズします. パラメタ: src – 入力画像 dst – 出力画像 interpolation – 補間手法: CV_I…