1. FreeMediaType()
ERROR: strmbasd.lib(wxdebug.obj) : error LNK2019: unresolved external symbol __imp__timeGetTime@...........
SOL: #pragma comment(lib,"winmm.lib")
trick 發表在 痞客邦 留言(0) 人氣(41)
trick 發表在 痞客邦 留言(0) 人氣(312)
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)
Hey, How's it going
ANS:
It's going on well
trick 發表在 痞客邦 留言(0) 人氣(21)
(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)
trick 發表在 痞客邦 留言(0) 人氣(2,026)
請人幫我們拍照
Could you take a picture for us?
可不可以和我一起合照?
Could I have a picture with you?
trick 發表在 痞客邦 留言(0) 人氣(21)
防曬乳: sun cream, sunblock, suntan lotion
擦防曬乳:
apply sunscreen to your skin
rub sunscreen into your skin
trick 發表在 痞客邦 留言(0) 人氣(97)
sleep 名詞--睡眠 It seems that you haven't got enough sleep.
sleep 動詞--睡覺
sleepy 形容詞--想睡的(未睡)
asleep 形容詞--熟睡的(已經睡著)
trick 發表在 痞客邦 留言(0) 人氣(4,678)
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)