A general technique for the recovery of signicant image features is presented. The technique is based on the mean shift algorithm, a simple nonparametric pro- cedure for estimating density gradients. Drawbacks of the current methods (including robust clustering) are avoided. Feature space of any nature can be processed, and as an example, color image segmentation is dis- cussed. The segmentation is completely autonomous, only its class is chosen by the user. Thus, the same program can produce a high quality edge image, or pro- vide, by extracting all the signicant colors, a prepro- cessor for content-based query systems. A 512 512 color image is analyzed in less than 10 seconds on a standard workstation. Gray level images are handled as color images having only the lightness coordinate
標簽: technique presented features recovery
上傳時間: 2015-10-14
上傳用戶:410805624
三次樣條插值程序。編譯運行本程序后,程序會彈出窗口及問句:“input the number of intervals:”,輸入插值的次數(shù)即可,程序?qū)⒌玫降拇螖?shù)保存在變量int n中。如果輸入的插值次數(shù)正確(n>=2),程序會顯示下一語句:"input the value of the variable:",此時輸入插值點即可,程序?qū)⒌玫降牟逯迭c保存在變量double v中。若插值點正確(v>=0&&v<=6),則程序?qū)⑤敵霾逯到Y(jié)果。
上傳時間: 2014-01-16
上傳用戶:Avoid98
實現(xiàn)一個類,描述二維平面的直線Line。 描述屬性:私有屬性 直線所通過的點:Point p; 直線的斜率:double m 實現(xiàn)方法: 直線的構(gòu)建; 返回直線的兩個屬性; 返回直線在Y軸上的截距:yIntercept ; 判斷兩條直線是否相等; 顯示直線的內(nèi)容:y = mx + b isParallelTo(Line line2),判斷本直線與直線line2是否平行; isPeroendicularTo(Line line2),判斷本直線與直線line2是否垂直; translate(double dx, double dy),將直線向右移動dx單位,向上移動dy單位; rarate(double ta),將直線沿逆時針方向旋轉(zhuǎn)ta度
標簽:
上傳時間: 2015-10-24
上傳用戶:Divine
問題描述:編寫一個JAVA程序,用面向?qū)ο笤O(shè)計的方法編寫一個電話卡的類。包括卡號、密碼、余額、撥入號碼等 b)基本要求:類的屬性有卡號、密碼、余額、撥入號碼,電話卡的常用操作可以用連接電話方法、返回余額方法與通電話方法來實現(xiàn)。 c)方法功能描述: 構(gòu)造方法(PhoneCard(卡號,密碼,余額,撥入號碼))可以完成屬性值初始化賦值,并判斷余額,余額為負就退出系統(tǒng),請在構(gòu)造方法中將初始時的連接置為false即表示沒有連接。 卡號long cardNumber 密碼private int password,余額double balance,撥入號碼string connectNumber boolean connected(一個布爾類型變量表示電話卡連接狀態(tài),初始時默認沒有連接,值為false,當調(diào)用連接電話方法()后,在判斷卡號和密碼相匹配后值置為true) 連接電話方法(performConnection(卡號,密碼))可以完成檢查卡號和密碼,它是只有在卡號和密碼相匹配時才連接 返回余額方法(getBalance())得到電話卡的余額 通電話方法(performDial())是模擬通過過程中,余額會不斷減少,每調(diào)用此方法,電話卡的余額減少0。5元,打一次電話調(diào)用一次
上傳時間: 2014-01-20
上傳用戶:1109003457
% 文件名:randlsbget.m % 程序員:余波 % 編寫時間:2007.6.25 % 函數(shù)功能: 本函數(shù)將完成提取隱秘于上的秘密信息 % 輸入格式舉例:result=( scover.jpg ,56, secret.txt ,2001) % 參數(shù)說明: % output是信息隱藏后的圖象 % len_total是秘密信息的長度 % goalfile是提取出的秘密信息文件 % key是隨機間隔函數(shù)的密鑰 % result是提取的信息 function result=randlsbget(output,len_total,goalfile,key) ste_cover=imread(output) ste_cover=double(ste_cover) % 判斷嵌入信息量是否過大 [m,n]=size(ste_cover) frr=fopen(goalfile, a ) % p作為信息嵌入位計數(shù)器將信息序列寫回文本文件 p=1 % 調(diào)用隨機間隔函數(shù)選取像素點 [row,col]=randinterval(ste_cover,len_toal,key) for i=:len_toal if bitand(ste_cover(row(i),col(i)),1)==1 fwrite(frr,1, bit1 ) result(p,1) else fwrite(frr,0, bit1 ) result(p,1)=0 end if p==len_total break end p=p+1 end fclose(frr)
標簽: randlsbget result scover 2007
上傳時間: 2015-11-10
上傳用戶:yzhl1988
雙曲線回歸方程 HyperbolaRegress.cs 注意!該模型要求a與b的值要大于0!使用該模型時應(yīng)注意驗證這個限制條件。我在實現(xiàn)模型時未加入任何出錯流程控制。X不能為0。 方程模型為 public override double[] buildFormula() 得到系數(shù)數(shù)組,存放順序與模型系數(shù)相反,即該數(shù)組中系數(shù)的值依次是b,a。 public override double forecast(double x) 預(yù)測函數(shù),根據(jù)模型得到預(yù)測結(jié)果。 public override double computeR2()
標簽: HyperbolaRegress 模型 方程 cs
上傳時間: 2014-11-30
上傳用戶:youke111
移動平均預(yù)測 ModifyShiftAverageRegress.cs 移動平均也可畫趨勢圖,如下: public double forecast(int interval) 移動平均認為數(shù)據(jù)是時間序列數(shù)據(jù),該方法預(yù)測interval個時間間隔后的值 public override double[] getTrendArray() 得到趨勢數(shù)組,該數(shù)組的數(shù)據(jù)直接在圖形中展示出來就可以產(chǎn)生趨勢線。
標簽: ModifyShiftAverageRegress 移動 cs
上傳時間: 2014-01-01
上傳用戶:wff
Modbus串口通訊協(xié)議通訊源代碼,采用C開發(fā),UartWaitFuc作為入口文件,提供從bit到double word的讀寫操作功能
上傳時間: 2015-12-12
上傳用戶:huql11633
This demo shows how to use MATLAB, Optimization Toolbox, and Genetic Algorithm and Direct Search Toolbox to optimize the design of a double wishbone suspension system.
標簽: Optimization Algorithm and Genetic
上傳時間: 2013-12-18
上傳用戶:youmo81
Example to support XML files using MSXML. ========================================= XML (Extensible Markup Language) is a commonly used basis for representing a huge range of structured data file formats. The specification is maintained by the World Wide Web Consortium (W3C?. This plugin is intended as an example of how XML data can be read with a DataPlugin. You can adjust it to meet the needs of your own XML file format. After installing the URI file (double click on it), you can find the VBScript file located at "C:\Program Files\National Instruments\Shared\USI\plugins\DataPlugins\XML Example" You can make changes to this file to read your specific XML file.
標簽: XML Example support Extensi
上傳時間: 2016-01-03
上傳用戶:cooran
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1