I’ve merged some pictures into panorama and it looks like a rainbow. See my below picture:
I wonder if there is a photoshop tool which allows me to draw/indicate a curved path and then have the tool automatically adjust the image until the path is a straight horizontal line.
Answer
I would start by trying Puppet Warp.
Just go to Edit -> Puppet Warp
and pin your image in in the center, and then add pins to either side.
Then simply click-and-drag the points on the side to straighten the image.
Attribution
Source : Link , Question Author : Tu Tran , Answer Author : Hanna