Background exchange

Corel Paint Shop Pro

Moderator: Kathy_9

psphufi
Posts: 69
Joined: Wed Nov 02, 2016 7:41 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 128 GB
Hard_Drive_Capacity: 1 TB
Corel programs: PSP X9, PSP 2018
Location: Germany

Background exchange

Post by psphufi »

Hello, I am trying to exchange this much too bright sky with an image that shows a pleasant sky.

When I use Artificial Intelligence to replace the background, the entire image turns red, there is no selection and I cannot use any brush to mark the outlines.

With the magic stick I can't mark exactly the areas I want to replace either.

How can I use the image "Himmel" to replace the grey background of the building?

Furthermore: It is surely not possible to change this "curved" panorama photo into a flat photo?

Many greetings
Norbert
You do not have the required permissions to view the files attached to this post.
LeviFiction
Advisor
Posts: 6734
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Background exchange

Post by LeviFiction »

The Background Replacer is for people only.

Others will be able to offer better suggestions but for this example I had three layers.

1) Sky layer
2) House Layer (with Blend ranges turned on, removing solid whites from the layer)
3) A second House Layer with a mask applied specifically targeting the gables.

For the third layer I used the magic wand tool, set to a low tolerance (3 or 4), the "contiguous" box checked (this limits it to the sky), with a feather of 2 set to "Inside". Then I did Layers -> New Mask Layer -> Hide Selection. And with a black paint brush I cleaned up the edges a little around the tree and edges of the building. If you there is still too much jaggedness around the gables of the house you can select the sky again (this time on the mask layer) and expand the selection by 1 or 2 pixels to help clean it up. Then fill the selection with black
You do not have the required permissions to view the files attached to this post.
Jean-Luc
Advisor
Posts: 2120
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Computer N751J
processor: Intel i7_4710 HQ 2_50GHz
ram: 16GB
Video Card: NVIDIA GeForce GTX 850M
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2 Tb
Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
Corel programs: PSP X7, X9, 2018 to 2023
Location: Belgium (French speaking)

Re: Background exchange

Post by Jean-Luc »

To add to LeviFiction's solution (before to add the sky):

- Add a 100 pixels white border.
- Apply the Adjust/Barrel Distortion Correction at 100%.
- Use the Perspective Correction Tool:
Border and Perspective.png
- Finish with the Mesh Warp Tool:
Mesh Warp Tool.png
- Crop:
Final.png
You do not have the required permissions to view the files attached to this post.
THE PAINTSHOP PRO COOKBOOK
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
psphufi
Posts: 69
Joined: Wed Nov 02, 2016 7:41 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 128 GB
Hard_Drive_Capacity: 1 TB
Corel programs: PSP X9, PSP 2018
Location: Germany

Re: Background exchange

Post by psphufi »

Thank you both! It works fine!!! :-)