opencv与C#联合编译实现视觉检测功能
资源内容介绍
1、主要采用opencv和C#联合编译的视觉软件,边学习边推荐。2、该软件目标是为了更广泛包容工业级视觉、控制等平台,方便新人学习。3、软件暂时实现功能:相机取像、图片读写、继承工具块、彩色转黑白、斑点工具、创建ROI、模板匹配、找线、找圆、拟合线、拟合圆、创建点、创建线、创建圆、创建线段、线线关系、点点关系、圆圆关系、点线关系、点圆关系、线圆关系、脚本编译等功能。 <?xml version="1.0"?><doc> <assembly> <name>OpenCvSharp</name> </assembly> <members> <member name="T:OpenCvSharp.Cv2"> <summary> OpenCV Functions of C++ I/F (cv::xxx) </summary> </member> <member name="F:OpenCvSharp.Cv2.PI"> <summary> The ratio of a circle's circumference to its diameter </summary> </member> <member name="F:OpenCvSharp.Cv2.LOG2"> <summary> </summary> </member> <member name="F:OpenCvSharp.Cv2.FILLED"> <summary> </summary> </member> <member name="M:OpenCvSharp.Cv2.ToPtr(OpenCvSharp.ICvPtrHolder)"> <summary> 引数がnullの時はIntPtr.Zeroに変換する </summary> <param name="obj"></param> <returns></returns> </member> <member name="M:OpenCvSharp.Cv2.Rodrigues(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"> <summary> converts rotation vector to rotation matrix or vice versa using Rodrigues transformation </summary> <param name="src">Input rotation vector (3x1 or 1x3) or rotation matrix (3x3).</param> <param name="dst">Output rotation matrix (3x3) or rotation vector (3x1 or 1x3), respectively.</param> <param name="jacobian">Optional output Jacobian matrix, 3x9 or 9x3, which is a matrix of partial derivatives of the output array components with respect to the input array components.</param> </member> <member name="M:OpenCvSharp.Cv2.Rodrigues(System.Double[],System.Double[0:,0:]@,System.Double[0:,0:]@)"> <summary> converts rotation vector to rotation matrix using Rodrigues transformation </summary> <param name="vector">Input rotation vector (3x1).</param> <param name="matrix">Output rotation matrix (3x3).</param> <param name="jacobian">Optional output Jacobian matrix, 3x9, which is a matrix of partial derivatives of the output array components with respect to the input array components.</param> </member> <member name="M:OpenCvSharp.Cv2.Rodrigues(System.Double[0:,0:],System.Double[]@,System.Double[0:,0:]@)"> <summary> converts rotation matrix to rotation vector using Rodrigues transformation </summary> <param name="matrix">Input rotation matrix (3x3).</param> <param name="vector">Output rotation vector (3x1).</param> <param name="jacobian">Optional output Jacobian matrix, 3x9, which is a matrix of partial derivatives of the output array components with respect to the input array components.</param> </member> <member name="M:OpenCvSharp.Cv2.FindHomography(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.HomographyMethods,System.Double,OpenCvSharp.OutputArray,System.Int32,System.Double)"> <summary> computes the best-fit perspective transformation mapping srcPoints to dstPoints. </summary> <param name="srcPoints">Coordinates of the points in the original plane, a matrix of the type CV_32FC2</param> <param name="dstPoints">Coordinates of the points in the target plane, a matrix of the type CV_32FC2</param> <param name="method">Method used to computed a homography matrix.</param> <param name="ransacReprojThreshold">Maximum allowed reprojection error to treat a point pair as an inlier (used in the RANSAC method only)</param> <param name="mask"> Optional output mask set by a robust method ( CV_RANSAC or CV_LMEDS ). Note that the input mask values are ignored.</param> <param name="maxIters">The maximum number of RANSAC iterations.</param> <param name="confidence">Confidence level, between 0 and 1.</param> <returns></returns> </member> <member name="M:OpenCvSharp.Cv2.FindHomography(System.Collections.Generic.IEnumerable{OpenCvSharp.Point2d},System.Collections.Generic.IEnumerable{OpenCvSharp.Point2d},OpenCvSharp.HomographyMethods,System.Double,OpenCvSharp.OutputArray,System.Int32,System.Double)"> <summary> computes the best-fit perspective transformation mapping srcPoints to dstPoints. </summary> <param name="srcPoints">Coordinates of the points in the original plane</param> <param name="dstPoints">Coordinates of the points in the target plane</param> <param name="method">Method used to computed a homography matrix.</param> <param name="ransacReprojThreshold">Maximum allowed reprojection error to treat a point pair as an inlier (used in the RANSAC method only)</param> <param name="mask"> Optional output mask set by a robust method ( CV_RANSAC or CV_LMEDS ). Note that the input mask values are ignored.</param> <param name="maxIters">The maximum number of RANSAC iterations.</param> <param name="confidence">Confidence level, between 0 and 1.</param> <returns></returns> </member> <member name="M:OpenCvSharp.Cv2.FindHomography(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.OutputArray,OpenCvSharp.UsacParams)"> <summary> computes the best-fit perspective transformation mapping srcPoints to dstPoints. </summary> <param name="srcPoints">Coordinates of the points in the original plane, a matrix of the type CV_32FC2</param> <param name="dstPoints">Coordinates of the points in the target plane, a matrix of the type CV_32FC2</param> <param name="mask"> Optional output mask set by a robust method ( CV_RANSAC or CV_LMEDS ). Note that the input mask values are ignored.</param> <param name="params"></param> <returns></returns> <exception cref="T:System.ArgumentNullException"></exception> </member> <member name="M:OpenCvSharp.Cv2.RQDecomp3x3(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray,OpenCvSharp.OutputArray)"> <summary> Computes RQ decomposition of 3x3 matrix </summary> <param name="src">3x3 input matrix.</param> <param name="mtxR">Output 3x3 upper-triangular matrix.</param> <param name="mtxQ"> Output 3x3 orthogonal matrix.</param> <param name="qx">Optional output 3x3 rotation matrix around x-axis.</param> <param name="qy">Optional output 3x3 rotation matrix around y-axis.</param> <param name="qz">Optional output 3x3 rotation matrix around z-axis.</param> <returns></returns> </member> <member name="M:OpenCvSharp.Cv2.RQDecomp3x3(System.Double[0:,0:],System.Double[0:,0:]@,System.Double[0:,0:]@)"> <summary> Computes RQ decomposition of 3x3 matrix </summary> <param name="src">3x3 input matrix.</param> <param name="mtxR">Output 3x3 upper-triangular matrix.</param> <param name="mtxQ"> Output 3x3 orthogonal matrix.</param> <returns></returns> </member> <member name="M:OpenCvSharp.Cv2.RQDecomp3x3(System.Double[0:,0:],System.Double[0:,0:]@,System.Double[0:,0:]@,System.Double[0:,0:]@,System.Double[0:,0:]@,System.Double[0:,0:]@)"> <summary> Computes RQ decomposition of 3x3 matrix </summary> <param name="src">3x3 input matrix.</param> <param name="mtxR">Output 3x3 upper-triangular matrix.</param> <param name="mtxQ"> Output 3x3 orthogonal matrix.</param>