modified hsvMask