搜索资源列表
JoyDe
- 利用书中图5.19和图5.20的最大值堆实现一个优先队列。对于队列的操作应该支持下列几种指令: void enqueue[int ObjectID, int Priority] int dequeue[] void changeweight[int ObjectID, int newPriority] 函数enqueue向优先队列中插入一个ID号为ObjectID、优先级为Priority的新对象。函数dequeue从优先队列中删除优先级最高的对象,并返回该对象的
ArrayMinMax
- 用来计算二维数组中的最大最小值,可以在图像处理中用这个程序来实现种子点的选取-Used to calculate the maximum and minimum in two-dimensional array, using this procedure to select the seed point in image processing
rice
- 首先进行边缘检测,然后进行填充。然后进行开运算,可以使一些轻微连着的米粒分开来。然后是遍历图片,把各米粒进行标号,从1开始从小到大标号。每个米粒的各像素点值相同,第i个米粒的各像素点值均为i。其中采用了队列,用数组模拟。最大的米粒标号便是米粒的总个数。最后,遍历一遍图像数组,便可求出各米粒的面积。-First, edge detection, and then filled. Then open computing can make some minor attached rice grains
LabVIEW
- LabVIEW的简单操作,包括最大最小值判别,数组阈值区分,写入读出文件以及其余基础操作等-LabVIEW simple operation, including maximum and minimum discriminant array threshold distinction, writing and reading files, and the rest of the base operating etc.
sa
- 图像处理 求出图像中米粒个数以及各米粒的大小 首先进行边缘检测,然后填充,之后进行开运算,可以使一些轻微连接着的米粒分开。然后遍历图片,把各个米粒进行标号,从1开始从小到大标号。每个米粒的各像素点值相同,第i个米粒的各像素点值均为i。其中采用了队列,用数组模拟。最大的米粒标号便是米粒的总个数。最后,遍历一遍图像数组,便可求出各米粒的面积。(image processing The number of rice grains and the size of each grain were c