/// <summary> /// Calculates an image derivative using generalized Sobel /// (aperture_size = 1,3,5,7) or Scharr (aperture_size = -1) operator. /// Scharr can be used only for the first dx or dy derivative /// TODO: Remove 'dst' argument and return a CVImage object /// </summary> public void Sobel(CVArr dst, int xorder, int yorder, int aperture_size) { PInvoke.cvSobel(new __CvArrPtr(this), new __CvArrPtr(dst), xorder, yorder, aperture_size); }
/// <summary> /// Calculates an image derivative using generalized Sobel /// (aperture_size = 1,3,5,7) or Scharr (aperture_size = -1) operator. /// Scharr can be used only for the first dx or dy derivative /// TODO: Remove 'dst' argument and return a CVImage object /// </summary> public void Sobel(CVArr dst, int xorder, int yorder, int aperture_size) { PInvoke.cvSobel(new __CvArrPtr(this), new __CvArrPtr(dst), xorder, yorder, aperture_size); CVUtils.CheckLastError(); }