如何沿著圓弧線上取其像素值 |
尚未結案
|
IKuI_Tsao
一般會員 發表:3 回覆:4 積分:1 註冊:2005-05-28 發送簡訊給我 |
|
fusung
中階會員 發表:26 回覆:169 積分:99 註冊:2003-11-25 發送簡訊給我 |
|
IKuI_Tsao
一般會員 發表:3 回覆:4 積分:1 註冊:2005-05-28 發送簡訊給我 |
|
JerryKuo
版主 發表:42 回覆:571 積分:322 註冊:2003-03-10 發送簡訊給我 |
引言: 上圖是經灰階化後的圖片... 我要取經過紅線與紅圈上的各個像素的R值... 在用Chart畫出曲線圖出來... 直線部分我寫的程式如下:IKuI_Tsao你好, 以十字中心為圓心,取適當的半徑,帶入圓形公式取點for (int i=0;i<=w;i++) { ValueX[i]= GetRValue(Image1->Canvas->Pixels[i][Y+2]); } for (int i=0;i<=w;i++) { Series1->AddXY(i,ValueX[i],"",clRed); }但圓形部分就不知如何寫了... |
fusung
中階會員 發表:26 回覆:169 積分:99 註冊:2003-11-25 發送簡訊給我 |
Hello, IKuI_Tsao 關於你的問題,我寫了一個類似的範例,你可以參考看看。 < href="http://delphi.ktop.com.tw/topic.php?TOPIC_ID=81386">http://delphi.ktop.com.tw/topic.php?TOPIC_ID=81386
The first step toward proving things for yourself is to understand how others have done it before!
------
The first step toward proving things for yourself is to understand how others have done it before! |
IKuI_Tsao
一般會員 發表:3 回覆:4 積分:1 註冊:2005-05-28 發送簡訊給我 |
|
fusung
中階會員 發表:26 回覆:169 積分:99 註冊:2003-11-25 發送簡訊給我 |
Hello,IKuI_Tsao 關於這個問題,你可以在這一篇文章http://delphi.ktop.com.tw/topic.php?TOPIC_ID=25051 (1)用 UltraEdit 把你的 *.bpr 打開
(2)搜尋關鍵字你所列的.bpi-->找到刪掉,並存檔
(3)重新 compiler
The first step toward proving things for yourself is to understand how others have done it before!
------
The first step toward proving things for yourself is to understand how others have done it before! |
IKuI_Tsao
一般會員 發表:3 回覆:4 積分:1 註冊:2005-05-28 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |