For operations like this you don't want to have raw unprocessed images at hand. I am not sure if converting image to
Sprite
can help you. I guess sprites are designed for stuff like this, to perform more accurate hit-testing and not just by using rectangular bounds. But at least it should be possible to attach your own script, which run once to build shape and then you can to example use raycast to find bounds of transformed objects).