How to create a panorama in Adobe Photoshop CS5 using photo-merge and content-aware fill.
- Open Photoshop
- Open the photos you want to use to create the panorama (this is not essential at this point, but makes it easier)
- Go to File -> Automate -> Photomerge
- If you have opened the files already, click "Add Open Files"; if not, locate them now by clicking "Browse"
- Usually "Auto" is best, however you may want to experiment with others, especially spherical, if you have taken a 360° panorama.
- Allow Photoshop to chew through that and create a rough panorama
At this point you have two options to fix the panorama to a perfect rectangle
- Crop it
- Use "Content-aware fill"
- Merge all the layers into a single layer
- Use Magic wand tool to select transparent background
- On Mac, press "Shift F5" (or fn Shift F5, if your function keys are set to the Apple functions, such as altering brightness); on Windows, press delete.
- Make sure it is 100% transparency, with Content-aware fill: these should be the default option. Press OK
- Repeat steps 2-4 as necessary for other sections of the background.
Be aware that content aware fill may take a long time to complete, and will slow your computer down as you do it. If the blank area is large enough you may need to break it into smaller sections — Photoshop will tell you that you do not have sufficient RAM to complete the task. I had this occur with 4GB of RAM on the larger of my two panoramas.
Comments are greatly appreciated. If you have any suggestions, queries or just a general comment on the post please leave a comment.