Example: matlab The WMH Segmentation Challenge provides a matlab example, which can be easily adapted and used for this challenge as well.