sidesplitter.convert module¶
- sidesplitter.convert.convertMask(img, outFn, newDim=None)[source]¶
Convert binary mask to a format read by Relion and truncate the values between 0-1 values, due to Relion only support masks with this values (0-1). Params:
img: input image to be converted. outFn: output file path.
- Return:
new file name of the mask.