Ask Your Question

Sophie's profile - activity

2012-12-19 21:44:08 -0500 asked a question EM::train gets stuck

EM::train for 20,000 samples and 5 classes returns in about 10 seconds with correct results (I am using a known simulated mixture model). With 200,000 samples from the same mixture distribution, it doesn't return even after an hour. What is wrong? Thank you.

2012-12-19 20:03:12 -0500 received badge  Editor (source)
2012-12-19 20:02:28 -0500 asked a question 3D matrix errors: constructor, access, functions

Hello,

  1. The constructor Mat image=Mat(3, dims, CV_16USC1, 0) compiles, but if I later access any element with image.at<uchar>(z,y,x) I get a segmentation fault. where int dims[]={128, 128, 1} If I scrap the last argument (that sets the elements to zero), there is no segmentation fault when subsequently accessing elements.

  2. image.dims is reported to be zero.

  3. minMaxLoc worked with a 2D matrix, but appears to check on dims and exits. Even if I set it by hand, the same happens.

Please help! Thanks. S.