Home > Software engineering >  After three Bessel equation fitting curve burr much more special is why
After three Bessel equation fitting curve burr much more special is why

Time:09-23

The first figure is Canny edge detection, the second is the figure after fitting, contour points to save for PLT file, the third picture is magnified picture, all the burr, and arguably finished fitting should not be very smooth, but how much burr

CodePudding user response:

The realization of the reference OpenCV approxPolyDP function,

CodePudding user response:

It is good to use D2D

CodePudding user response:

refer to the second floor hhhh63 response:
it is good to use D2D
D2D is what,,,

CodePudding user response:

DirectX2D enable smooth function

CodePudding user response:

reference 1st floor zhao4zhong1 response:
reference OpenCV approxPolyDP function implementation,

Previous page directory page

ApproxPoly


ApproxPoly
With a specified precision approximation polygon curve

CvSeq * cvApproxPoly (const void * src_seq, int header_size, CvMemStorage * storage,
Int method, double parameter, int parameter2=0);
Src_seq
Some episodes set sequence
Header_size
The head of the approximation curve size
Storage
Approximation contour of the container, if is NULL, the use of input sequence
Method
Approximation method, currently only support CV_POLY_APPROX_DP, corresponding Douglas Peucker algorithm.
The parameter
Methods relevant parameters, the CV_POLY_APPROX_DP it is specified by the approximation accuracy
Parameter2
If src_seq sequence, it is said or close to a single sequence, or all in the same or lower level src_seq approximation sequence (reference cvFindContours descriptions of contour inheritance structure). If the src_seq point set of array (CvMat *), parameter specifies the curve is closed (parameter2!=0) or a closed (parameter2=0).
Function cvApproxPoly approximation one or more of the curve, and returns the approximation results, for multiple curve approximation, the generated tree has the same structure with the input, (1-1 corresponding relation).



Collection time: on July 18, 2007, 21 points 39 points
Edit time: on July 18, 2007, 21 points 39 points

CodePudding user response:

Because get polynomial variable errors, so the calculating error and burrs,

CodePudding user response:

refer to 6th floor YinJey_YaDaun response:
because of polynomial variable errors, so the calculating error and burrs,


What call for polynomial variable error, I is to put a single pixel closed curve contour points (findcontour) after extraction, the data points in three beisaier curve equation, but then to finished the interpolation points are rounded,,,

CodePudding user response:

refer to 7th floor weixin_40623627 response:
what call for polynomial variable errors, I is to put a single pixel closed curve contour points (findcontour) after extraction, the data points in three beisaier curve equation, but then to finished the interpolation points are rounded,,,


Is the literal meaning, you must first understand the Bessel equation, otherwise I suggest using arc formula is more suitable for junior high school o,
  • Related