In absdiff the difference is decided on the basis of pixels value differences so at the end we get the ratio of difference in two frames and also a mat object that contains all the difference features.