Ask Your Question

ajplockyer's profile - activity

2014-03-27 11:55:40 -0600 commented question How to detect the shape of an object whilst the object is moving?

I suspect that the problem is caused by motion blur. Have a look at individual frames when the object is moving, and you will probably see the shapes become distorted when they move. You could try using a higher frame rate if possible.

2014-03-27 11:48:23 -0600 commented answer Expectation Maximization using HSV

Thankyou for the suggestions. I ended up using Lab_color_space, which seems to work well.

2014-03-27 10:41:20 -0600 answered a question Is there any problem in using the same src and dst image in filtering functions?

Yes, src and dst can be the same matrix. The following code works fine:

int main(int argc, char argv[]) {
    cv::Mat test = cv::imread("test.jpg");
    cv::GaussianBlur(test, test, cv::Size(11, 11), 5.0);
    cv::imshow("test", test);
    cv::waitKey(0);
    return 0;
}
2014-03-24 12:56:31 -0600 asked a question Expectation Maximization using HSV

I have a working program which uses the EM class, trained on RGB values to classify pixels in an image. Is it possible to do the same thing using HSV values? The problem is that hue is an angle. Thus, the mean cannot be calculated in the usual way.

2014-03-24 12:48:09 -0600 received badge  Supporter (source)
2014-03-24 12:47:59 -0600 received badge  Critic (source)