标签: image algorithm image-processing graphics computer-vision
假设我有一幅只包含纯黑色和纯白色像素的图像,并描述了边界:
我想通过沿边界采样然后使用某种形式的多项式插值法来近似地逼近真实形状。
是否有可以从这样的图像中生成采样点的API或算法?