<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Rdp on Yu-Cheng's Notes</title><link>https://linkingmon.github.io/blog/tags/rdp/</link><description>Recent content in Rdp on Yu-Cheng's Notes</description><generator>Hugo -- 0.166.0</generator><language>en-us</language><lastBuildDate>Fri, 20 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://linkingmon.github.io/blog/tags/rdp/index.xml" rel="self" type="application/rss+xml"/><item><title>Image processing - RDP algorithm</title><link>https://linkingmon.github.io/blog/note/rdp/</link><pubDate>Fri, 20 Mar 2026 00:00:00 +0000</pubDate><guid>https://linkingmon.github.io/blog/note/rdp/</guid><description>&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Recently I am working on a small to process hand written curve and come up with the RDP algorithm, which stands for &lt;a href="https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm"&gt;Ramer–Douglas–Peucker algorithm&lt;/a&gt;. This is the iterative method to simpify the curve by recursively calculateing the distance between the curve, and leave the points that are far away from the curve, and this alogrith ends when the there are no points left.&lt;/p&gt;
&lt;p&gt;The input is a vector of points, and each step we search for all the points distance, and find hte maximum distance one, and then we recursively call the function for two sides.&lt;/p&gt;</description></item></channel></rss>