PIXNET Logo登入

trick的部落格

跳到主文

歡迎光臨trick在痞客邦的小天地

部落格全站分類:休閒旅遊

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 1月 03 週二 201211:58
  • [DirectShow] Notes

1. FreeMediaType()
ERROR: strmbasd.lib(wxdebug.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@...........
SOL: #pragma comment(lib,"winmm.lib")
 
(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(41)

  • 個人分類:
▲top
  • 12月 29 週四 201109:11
  • [DirectShow] VS2010 Express + DirectShow + WinXP SP3

1. Download and install Visual Studio 2010 express (free) on your PC.

(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(312)

  • 個人分類:
▲top
  • 12月 01 週四 201109:29
  • [OpenCV] cvKMeans2

int cvKMeans2(const CvArr* samples, int nclusters, CvArr* labels, CvTermCriteria termcrit, int attempts=1, CvRNG* rng=0, int flags=0, CvArr* centers=0, double* compactness=0)

Parameters:

samples – Floating-point matrix of input samples, one row per sample
nclusters – Number of clusters to split the set by
labels – Output integer vector storing cluster indices for every sample
termcrit – Specifies maximum number of iterations and/or accuracy (distance the centers can move by between subsequent iterations)
attempts – How many times the algorithm is executed using different initial labelings. The algorithm returns labels that yield the best compactness (see the last function parameter)
rng – Optional external random number generator; can be used to fully control the function behaviour
flags – Can be 0 or CV_KMEANS_USE_INITIAL_LABELS. The latter value means that during the first (and possibly the only) attempt, the function uses the user-supplied labels as the initial approximation instead of generating random labels. For the second and further attempts, the function will use randomly generated labels in any case
centers – The optional output array of the cluster centers
compactness – The optional output parameter, which is computed as after every attempt; the best (minimum) value is chosen and the corresponding labels are returned by the function. Basically, the user can use only the core of the function, set the number of attempts to 1, initialize labels each time using a custom algorithm (flags=CV_KMEAN_USE_INITIAL_LABELS) and, based on the output compactness or any other criteria, choose the best clustering.
(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(515)

  • 個人分類:
▲top
  • 11月 18 週五 201111:03
  • [English] How's it going?

Hey, How's it going
 
ANS:
It's going on well
(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(21)

  • 個人分類:English
▲top
  • 11月 14 週一 201115:15
  • [OpenCV] VS2010 Express + OpenCV 2.2 + WinXP SP3

(1) Download OpenCV2.2 from Source Forge
Download the OpenCV-2.2.0-win32-vs2010.exe 
as it already contains the libraries and the binaries required for running OpenCV.
(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(247)

  • 個人分類:
▲top
  • 10月 21 週五 201110:06
  • [JSP] Tomcat + JSP 安裝 + WinXP SP3

第一步:下載檔案
1.   下載jdk與tomcat

(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(2,026)

  • 個人分類:
▲top
  • 7月 20 週三 201116:12
  • [English] take a picture

請人幫我們拍照
Could you take a picture for us?
可不可以和我一起合照?
Could I have a picture with you?
(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(21)

  • 個人分類:English
▲top
  • 7月 20 週三 201116:10
  • [English] sun cream, sunblock, suntan lotion

防曬乳: sun cream, sunblock, suntan lotion
擦防曬乳:
apply sunscreen to your skin
rub sunscreen into your skin
(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(97)

  • 個人分類:English
▲top
  • 7月 20 週三 201114:52
  • [English] sleep, sleepy, asleep

sleep 名詞--睡眠 It seems that you haven't got enough sleep.
sleep 動詞--睡覺
sleepy 形容詞--想睡的(未睡)
asleep 形容詞--熟睡的(已經睡著)
(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(4,678)

  • 個人分類:English
▲top
  • 7月 20 週三 201114:31
  • [English] one day, some day


1. one day 有兩個意義:
 
(a).
on a particular day in the past (從前的某一天)
One day a little monkey was playing in a tall tree by the river.
 
或

(b).
on any day in the future (將來的某一天)
I'd like to go to Berlin again one day.
 
2. someday = at some time in the future even though you do not know when 所以不用在過去的事和
one day可用在過去和未來不同。
(繼續閱讀...)
文章標籤

trick 發表在 痞客邦 留言(0) 人氣(781)

  • 個人分類:English
▲top
«123...7»

最新文章

  • [English] 分詞結構慣用語
  • [English] 完成式分詞構句
  • [English] 分詞構句
  • [English] would like
  • [English] more of a/an + 名詞 + than + 名詞
  • [English] Feel, Feel Like
  • [English] out of the picture
  • [English] be getting + 形容詞
  • [English] afraid & scare
  • [English] how come 與 why 用法的不同

熱門文章

  • (20,366)[English] 完成式分詞構句
  • (4,337)[English] out of the picture
  • (1,994)[English] Feel, Feel Like
  • (1,438)[English] more of a/an + 名詞 + than + 名詞
  • (923)[English] 分詞結構慣用語
  • (865)1998年印尼排華事件
  • (840)音樂劇《金沙》主題歌《總有一天》
  • (247)[OpenCV] VS2010 Express + OpenCV 2.2 + WinXP SP3
  • (30)[奧運跆拳] 快打旋風再現 朱木炎奪台灣第3銅

最新留言

  • [11/07/21] 我是印尼华人 於文章「1998年印尼排華事件...」留言:
    我是印尼的华人 1998时,我才8岁,那时候还不懂 前几天,...
  • [07/12/11] 12213 於文章「金沙遺址...」留言:
    第一次進來 先踩個腳印~!^^ ...
  • [07/12/10] Ned 於文章「IP網址短缺窘境 台灣網資IPv6可解決...」留言:
    家事,國事,天下事,事事關心 ...
  • [05/12/29] Ned 於文章「真是.........」留言:
    白痴......

個人資訊

trick
暱稱:
trick
分類:
休閒旅遊
好友:
累積中
地區:

參觀人氣

  • 本日人氣:
  • 累積人氣:

文章精選

文章搜尋

文章分類

  • English (16)
  • 政治 (2)
  • 經濟 (2)
  • 自然 (2)
  • 科技 (1)
  • 建築 (1)
  • 新聞與政治 (1)
  • 旅行 (2)
  • 文化 (9)
  • 歷史 (2)
  • 運動 (13)
  • 音樂 (2)
  • 金門 (10)
  • 未分類文章 (1)

自訂側欄

自訂側欄

動態訂閱

誰來我家