An opencv implementation of the MSCR dist algorithm used in SDALF person reidentification matlab code