Image processing - Chaikin Smoothing
Introduction Follow by the RDP algorithm, we imeplemtat hte chakin smoothhing algorithm. Rhe algorithm tries to smooth the curve by adding new points witin each segmetns: For the following example, we can see that we try to split each edge into 3 segements (that is insert 2 points as the red dots), and then tried to connect them. Implementation This function is simple nad the input are a list of points and iteration number. Notice that in each iteration, the number of points would become doubled! ...