上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: 利用Mat的step[0],step[1]访问像素的行列,自定义一个宏CV_MAT_ELEM2(src,dtype,y,x),src是待访问的Mat,dtype是src的数据类型(int,float,char等), 访问像素位置是y行、x列。 宏定义如下: #define CV_MAT_ELEM2( 阅读全文
posted @ 2017-06-05 11:48 凤凰_1 阅读(989) 评论(0) 推荐(0)
摘要: 本示例程序主要是通过实例演示高维Mat的寻址方式。 阅读全文
posted @ 2017-05-26 13:10 凤凰_1 阅读(4526) 评论(0) 推荐(0)
摘要: vtkTestHull将多个平面围成一个凸面体 阅读全文
posted @ 2017-01-11 19:30 凤凰_1 阅读(1679) 评论(0) 推荐(0)
摘要: vtkWarpVector和vtkWarpScalar 阅读全文
posted @ 2017-01-10 17:45 凤凰_1 阅读(1497) 评论(0) 推荐(0)
摘要: This example uses a vtkBoxWidget2 to manipulate an actor. The widget only contains the interaction logic; the actual box is drawn by the accompanying vtkBoxRepresentation. Contrary to the older vtkBoxWidget, this widget doesn't provide functionality to assign it to one or more actors, so that has to be implemented manually. The box is dimensioned and positioned by passing a bounding box to PlaceWidget method, with the SetPlaceFactormethod providing a scaling factor in relation to that bounding b 阅读全文
posted @ 2017-01-02 00:33 凤凰_1 阅读(2379) 评论(0) 推荐(0)
摘要: 1、vtkPlane vtkPlane provides methods for various plane computations. These include projecting points onto a plane, evaluating the plane equation, and 阅读全文
posted @ 2017-01-01 18:39 凤凰_1 阅读(6312) 评论(0) 推荐(0)
摘要: 在本例中,先创建一个螺旋线,然后用vtkTubeFilter使线的半径随着螺旋放生变化。 阅读全文
posted @ 2016-12-31 15:02 凤凰_1 阅读(2393) 评论(0) 推荐(0)
摘要: vtkDEMReader reads digital elevation files and creates image data. Digital elevation files are produced by the US Geological Survey. A complete descri 阅读全文
posted @ 2016-12-30 13:57 凤凰_1 阅读(1600) 评论(0) 推荐(0)
摘要: vtkMultithreader is a class that provides support for multithreaded execution using sproc() on an SGI, or pthread_create on any platform supporting PO 阅读全文
posted @ 2016-12-30 13:44 凤凰_1 阅读(3494) 评论(0) 推荐(0)
摘要: vtkQuadric、vtkSampleFunction、vtkContourFilter创建一个圆球面,并用边框框起来。 阅读全文
posted @ 2016-12-24 15:47 凤凰_1 阅读(1154) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页