传统的轮廓产生算法的实现和优化总是为普通处理器被建议。当处理高分辨率图象时,性能经常存在低效率。处理联合起来的一个新图形(GPU ) 基于算法被建议得到叶子的清楚、综合的轮廓。第一,我们在 GPU 实现边察觉的经典 Sobel 操作员。然后,一个简单、有效的方法被设计移开假冒的边,一个启发式的算法被用来修理破边。它被我们的算法的结果以形态学自然、现实主义并且能是为虚拟植物的好材料的实验证明。
The implementation and optimization of the traditional contour generation algorithms are always proposed for the common processor. When processing high resolution images, the performance often exists low efficiency. A new graphics processing unit (GPU)-based algorithm is proposed to get the clear and integrated contour of leaves. Firstly we implement the classic Sobel operator of edge detection in GPU. Then a simple and effective method is designed to remove the fake edge and a heuristic algorithm is used to repair the broken edge. It is proved by the experiments that the results of our algorithm are natural and realistic in terms of morphology and can be good materials for the virtual plant.