It is currently Tue Jul 02, 2024 3:55 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Thu Aug 05, 2021 12:47 am  (#1) 
Offline
GimpChat Member

Joined: Sep 06, 2020
Posts: 20
GIMP Version: 2.8.14
Operating System: Linux
GIMP Experience: Basic Level



I have been trying to rectify a photo with skyscrapers on both sides of the middle.

a photo including skyscrapers converging at the top of the photo

1. I put a grid over the photo.
2. I adjust the grid from 10 default to 150
3. I place the perspective tool at the top left corner to pull that side out so a vertical edge lines up with a vertical grid line. I left click
4. I place the perspective tool at the top right corner and pull outward to line a vertical on that side up with a vertical grid line.

But this pulls the left side over to the right. So the building edges cannot be rectified.
Is there any way to stop one side from being pulled over?

any suggestions solving this would be appreciated.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Thu Aug 05, 2021 2:03 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
One way (example)
Attachment:
Cattura.PNG
Cattura.PNG [ 267.61 KiB | Viewed 2322 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Thu Aug 05, 2021 2:14 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
...or
Attachment:
Cattura2.PNG
Cattura2.PNG [ 340.73 KiB | Viewed 2319 times ]


output (expanded using fit canvas to layers after transform)
Attachment:
output2-.png
output2-.png [ 194.2 KiB | Viewed 2319 times ]


output (not expanded using fit canvas to layers)
Attachment:
output2-not-expanded.png
output2-not-expanded.png [ 171.61 KiB | Viewed 2319 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Thu Aug 05, 2021 2:46 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
A complex picture to adjust in perspective:

-original
Attachment:
2009-06-17_IMGP0409.JPG
2009-06-17_IMGP0409.JPG [ 2.64 MiB | Viewed 2313 times ]


-show grid, then activate perspective, then move corner as needed
Attachment:
CatturaCOMPLEX-adjustment.PNG
CatturaCOMPLEX-adjustment.PNG [ 1.27 MiB | Viewed 2313 times ]


-crop as needed
Attachment:
CatturaCROP.PNG
CatturaCROP.PNG [ 1.13 MiB | Viewed 2313 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Thu Aug 05, 2021 3:38 am  (#5) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
Apuleius wrote:
GIMP Version: 2.8.14
Operating System: Linux
GIMP Experience: Basic Level



I have been trying to rectify a photo with skyscrapers on both sides of the middle.

a photo including skyscrapers converging at the top of the photo

1. I put a grid over the photo.
2. I adjust the grid from 10 default to 150
3. I place the perspective tool at the top left corner to pull that side out so a vertical edge lines up with a vertical grid line. I left click
4. I place the perspective tool at the top right corner and pull outward to line a vertical on that side up with a vertical grid line.

But this pulls the left side over to the right. So the building edges cannot be rectified.
Is there any way to stop one side from being pulled over?

any suggestions solving this would be appreciated.


The easy technique is to first put the Perspective tool in "Corrective" mode.

Attachment:
Perspective1.png
Perspective1.png [ 30.93 KiB | Viewed 2307 times ]


Then you make the tool show a grid ("Guides: Number of lines" option) and pull the corner markers so that the grid is parallel to your verticals.

Attachment:
Perspective2.jpg
Perspective2.jpg [ 166.58 KiB | Viewed 2307 times ]


And then you just apply the transform.

Attachment:
Perspective3.jpg
Perspective3.jpg [ 85.08 KiB | Viewed 2307 times ]


As you can see in many case applying the exact correction (verticals are truly vertical above) make the perspective almost inverted (possibly because we are used to see these things from below). This could be worse for skyscrapers, depending on how far the shot is taken.

_________________
Image


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Thu Aug 05, 2021 4:18 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 790
Location: SEA - South East Asia
You can transform/distort any selection as well, for example select only the building ou the part of the image you want straightened, then use your preferred transform tool

_________________
Patrice


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Thu Aug 05, 2021 5:11 am  (#7) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
PixLab wrote:
You can transform/distort any selection as well, for example select only the building ou the part of the image you want straightened, then use your preferred transform tool


How do you handle the joints between the unchanged parts and the fixed parts is left as an exercise for the reader :)

_________________
Image


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Sat Aug 07, 2021 10:01 pm  (#8) 
Offline
GimpChat Member

Joined: Sep 06, 2020
Posts: 20
ofnuts wrote:
Apuleius wrote:
GIMP Version: 2.8.14
....

As you can see in many case applying the exact correction (verticals are truly vertical above) make the perspective almost inverted (possibly because we are used to see these things from below). This could be worse for skyscrapers, depending on how far the shot is taken.


this is OT, but the greeks also noticed this problem, so they made their column verticals bulge out below the center then tilt back in (called entasis).


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Sat Aug 07, 2021 10:20 pm  (#9) 
Offline
GimpChat Member

Joined: Sep 06, 2020
Posts: 20
ofnuts wrote:
Apuleius wrote:
GIMP Version: 2.8.14
....
As you can see in many case applying the exact correction (verticals are truly vertical above) make the perspective almost inverted (possibly because we are used to see these things from below). This could be worse for skyscrapers, depending on how far the shot is taken.


this is an interesting method.
you don't use the grid from view>grid, but from the perspective tool settings themselves.
problem here is that it opens up the sky so much it loses the feel of hong kong and it fattens up the people on street level.

Attachment:
YIAC0157 (copy).JPG
YIAC0157 (copy).JPG [ 2.2 MiB | Viewed 2177 times ]


Attachment:
YIAC0157 (copy)_adjusted.JPG
YIAC0157 (copy)_adjusted.JPG [ 1.26 MiB | Viewed 2177 times ]


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Sat Aug 07, 2021 10:59 pm  (#10) 
Offline
GimpChat Member

Joined: Sep 06, 2020
Posts: 20
dinasset wrote:
A complex picture to adjust in perspective:
-original
....
-show grid, then activate perspective, then move corner as needed
....
-crop as needed
....


here you appearing to be using the grid from view, then pulling the photo to match the grid.


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Sat Aug 07, 2021 11:45 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 790
Location: SEA - South East Asia
Apuleius wrote:
Attachment:
The attachment YIAC0157 (copy)_adjusted.JPG is no longer available

Not like that.
An image has also verticals... yes image below is of bad quality because it was a +11MB when I exported first, so i did put the jpg export with a quality of 18 for the forum (first time I go below 70 BTW) to get a reasonable size (weigh) of 1.5MB
bottom right = original
Attachment:
Untitled.jpg
Untitled.jpg [ 1.4 MiB | Viewed 1792 times ]


Anyway, this image was made with a wide angle lens (and the plane is also inclined), where accent was made to show the scale of the building compared to people, very high ISO, and so, don't expect to get something clean (the picture itself has already way to much noise) and anything other than the very-center will be stretched, and more you go to the edge, more you will need to stretch...

_________________
Patrice


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Sun Aug 08, 2021 1:49 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 790
Location: SEA - South East Asia
ofnuts wrote:
PixLab wrote:
You can transform/distort any selection as well, for example select only the building ou the part of the image you want straightened, then use your preferred transform tool


How do you handle the joints between the unchanged parts and the fixed parts is left as an exercise for the reader :)

Exactamente!

More seriously, You move your transformation while transforming to minimize the misalignment at the hardest part then just use the usual suspects: clone tool, layer mask...

An example with the @dinasset's picture
move the selected transformation to align fence, car park lines, while transforming as you can adjust transformation as well
then here many options:
- clean the top cloud with the clone tool
- or the eraser, to bring back the original below
- or use a mask to bring the original below
- clone/cut the "misaligned mountain"
- or just copy this part from the original and paste it on top on a new layer, adjust/transform/mask to your liking
Image

_________________
Patrice


Last edited by PixLab on Sun Aug 08, 2021 2:06 am, edited 4 times in total.

Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Sun Aug 08, 2021 2:00 am  (#13) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
Apuleius wrote:
ofnuts wrote:
Apuleius wrote:
GIMP Version: 2.8.14
....
As you can see in many case applying the exact correction (verticals are truly vertical above) make the perspective almost inverted (possibly because we are used to see these things from below). This could be worse for skyscrapers, depending on how far the shot is taken.


this is an interesting method.
you don't use the grid from view>grid, but from the perspective tool settings themselves.
problem here is that it opens up the sky so much it loses the feel of hong kong and it fattens up the people on street level.

Attachment:
YIAC0157 (copy).JPG


Attachment:
YIAC0157 (copy)_adjusted.JPG


There is no way to know the actual aspect ratio of things, so you may have to scale the image afterwards (this is also true of all other methods...). And as I said a complete correction can look overdone anyway.

This said, your initial picture is very distorted by the wide angle lens, so I would have fixed that distortion first.

_________________
Image


Top
 Post subject: Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK
PostPosted: Thu Sep 09, 2021 9:12 am  (#14) 
Offline
GimpChat Member

Joined: Sep 06, 2020
Posts: 20
PixLab wrote:
ofnuts wrote:
PixLab wrote:
You can transform/distort any selection as well, for example select only the building ou the part of the image you want straightened, then use your preferred transform tool


...

You are first selecting part of the photo with rectangle select
then hitting shift
and going to 3d transform?


Top
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) uncrop-side.py - one of my old scripts revisited

0

No new posts One Side Fold - Paper Folding Simulation Plug-in

7

No new posts Attachment(s) Perspective

6

No new posts Seamless pattern in perspective

4

No new posts I'm Back!

10



* Login  



Powered by phpBB3 © phpBB Group