Not reading the binary image

Why don’t SegmentationAidedRegistration or Distance Map Based Registration modules import masks in the form of value or segment in fixed or moving mask? What is the problem and the solution?