毕业论文

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

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

时间:2016-12-16 21:10来源:毕业论文
x2 = Convert.ToInt16((180 - b) / k); y2 = 180; } } else { x1 = Convert.ToInt16((180 - b) / k); y1 = 180; double temp = k * 180 + b; if (temp = 0 temp = 180) { x2 = 180; y2 = Convert.ToInt16(temp); } e


                                    x2 = Convert.ToInt16((180 - b) / k);
                                    y2 = 180;
                                }
                            }
                            else
                            {
                                x1 = Convert.ToInt16((180 - b) / k);
                                y1 = 180;
                                double temp = k * 180 + b;
                                if (temp >= 0 && temp <= 180)
                                {
                                    x2 = 180;
                                    y2 = Convert.ToInt16(temp);
                                }
                                else
                                {
                                    x2 = Convert.ToInt16(-b / k);
                                    y2 = 0;
                                }
                            } 彩色图像的分割处理程序设计+Hough算法(21):http://www.751com.cn/jisuanji/lunwen_1067.html
------分隔线----------------------------
推荐内容