Option to import mask?

Playing with [Play Raw] maritime museum got me thinking. Personally, I would like to do the masking in another app and then import it into HDRMerge. Thoughts?