Does anyone know how to extract human skin?(about skin.py)

I found the code for extracting skin in the following url,But how do I import my own DICOM data instead of using the MRHEAD example?