answered Oct 23 '12
This is a bug in OpenCV 2.4.2, see
http://stackoverflow.com/questions/12861047/cannot-set-user-parameters-in-backgroundsubtractormog2