Add another third party code to segment images using mean shift