API来检测边界上的样本点吗?

时间:2018-10-05 17:59:51

标签: image algorithm image-processing graphics computer-vision

假设我有一幅只包含纯黑色和纯白色像素的图像,并描述了边界:

enter image description here

我想通过沿边界采样然后使用某种形式的多项式插值法来近似地逼近真实形状。

是否有可以从这样的图像中生成采样点的API或算法?

0 个答案:

没有答案