Inline image/subregion code in constructor so _loadImage only needs to be called once.