working
saving images when laika is bad
masked out non-bed regions