First attempt to convert binary ROI mask from OMERO to double. Code needs tidying!