I have modified my cylinderize script with the following changes:
1) New argument -r rotation to allow rotation of the output image before overlaying on the background image
2) New argument -E to allow the displacement map to be exported and special arguments listed to the terminal so that both can be used with my new script, cylinderwarp.
I have created a new script, cylinderwarp, to use the displacement map and arguments exported from cylinderize so that resulting images can be created more efficiently (speed up of about 4x) when the image sizes and all arguments do not change, except for the cylinder rotation angle (argument -a from cylinderize). This permits reuse of the displacement map and arguments without needing to regenerate the displacement map each time as in cylinderize. One example use of cylinder warp would be to generate a rotating animation.