The description and dataset for this for this can be checked at http://free-thesis.com/product/moving-object-detection-by-contrast-independent-threshold-background-subtraction/
can you provide a sample video with which you have worked? so that i can try with my input video.
This one is due to empty STATS matrix. It might arise due to improper kalman filter parameters for your input video.
Index exceeds matrix dimensions.
Error in extract1 (line 61)
Error in kalmanim (line 29)
[cc,SI(:,:,i+1),BG(:,:,i+1)] = extract1(Imwork,i,Z,frame(:,:,:,i),ctrl,SI(:,:,i),BG(:,:,i));
Error in main (line 83)
can you help me how to resolve this error