added getMask() method wich returns OpenCV Mat