毕业论文

打赏
当前位置: 毕业论文 > 计算机论文 >

彩色图像的分割处理程序设计+Hough算法(16)

时间:2016-12-16 21:10来源:毕业论文
kOldAver[i * 3 + 2] = Convert.ToInt16(kSum[i * 3 + 2] / kNum[i]); kOldAver[i * 3 + 1] = Convert.ToInt16(kSum[i * 3 + 1] / kNum[i]); kOldAver[i * 3] = Convert.ToInt16(kSum[i * 3] / kNum[i]); } } int kk


                                kOldAver[i * 3 + 2] = Convert.ToInt16(kSum[i * 3 + 2] /
                                kNum[i]);
                                kOldAver[i * 3 + 1] = Convert.ToInt16(kSum[i * 3 + 1] /
                                kNum[i]);
                                kOldAver[i * 3] = Convert.ToInt16(kSum[i * 3] / kNum[i]);
                            }
                        }

                        int kkk = 0;
                        count++;
                        for (int i = 0; i < numbers; i++)
                        {
                            if (kAver[i * 3 + 2] == kOldAver[i * 3 + 2] && kAver[i * 3 + 1] ==
                            kOldAver[i * 3 + 1] && kAver[i * 3] == kOldAver[i * 3])
                                kkk++;
                        }
                        if (kkk == numbers || count == 100)
                            break;
                    }

                    for (int i = 0; i < bytes; i++)
                    {
                        for (int j = 0; j < numbers; j++)
                        {
                            if (segmentMap[i] == j) 彩色图像的分割处理程序设计+Hough算法(16):http://www.youerw.com/jisuanji/lunwen_1067.html
------分隔线----------------------------
推荐内容