Reputation: 11
I have generated edge using canny. The resulting image has rough boundary. How can I smooth it? Simple opening moprph operation doesn't work.
Upvotes: 0
Views: 541
Reputation: 114926
You can try and trace the boundary (using, e.g., bwtraceboundary
) then fit a curve to the boundary points (using e.g., polyfit
) choosing the degree of the polynom can help you achive the proper smoothing
Upvotes: 1