用点画图像 [英] Draw Image with Points

查看:78
本文介绍了用点画图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个3维数组,其中包含X,Y和颜色值.我需要使用此数据使用FillRegion绘制图像的算法.
我认为要实现此步骤需要以下步骤:

1)根据值对X,Y进行分组.
2)获取边界点以绘制区域.

值得一提的是:
1)这些X,Y坐标以相等的间隔.

我使用FillRectangle(在给定点创建点)使用相同的数据绘制了一些图像,但是当我不得不在较大的网格尺寸上绘制相同的数据时出现了问题.我使用Interpolation类执行相同的操作,但是这花费了太多的处理时间.

有人可以帮忙吗?

I have a 3 dimensional array which contains X,Y and Color Value. I need an algorithm to paint an image using FillRegion with this data.
I think to achieve this following steps are required:

1) Grouping of X,Y according to value.
2) Obtaining boundary points to paint the region.

Things to mention:
1) These X,Y coordinates are at equal interval.

I painted some images using same data using FillRectangle (creating dots at given point) but the problem came when I have to draw same data on larger grid size. I used Interpolation class to do the same but it is taking too much processing time.

Can anybody help in this.

推荐答案

请参见^ ]


这篇关于用点画图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆