GIMP Chat
http://gimpchat.com/

PERSPECTIVE TOOL BENDING OTHER SIDE BACK
http://gimpchat.com/viewtopic.php?f=8&t=19533
Page 1 of 1

Author:  Apuleius [ Thu Aug 05, 2021 12:47 am ]
Post subject:  PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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.

Author:  dinasset [ Thu Aug 05, 2021 2:03 am ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

One way (example)
Attachment:
Cattura.PNG
Cattura.PNG [ 267.61 KiB | Viewed 2332 times ]

Author:  dinasset [ Thu Aug 05, 2021 2:14 am ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

...or
Attachment:
Cattura2.PNG
Cattura2.PNG [ 340.73 KiB | Viewed 2329 times ]


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


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

Author:  dinasset [ Thu Aug 05, 2021 2:46 am ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

A complex picture to adjust in perspective:

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


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


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

Author:  ofnuts [ Thu Aug 05, 2021 3:38 am ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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 2317 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 2317 times ]


And then you just apply the transform.

Attachment:
Perspective3.jpg
Perspective3.jpg [ 85.08 KiB | Viewed 2317 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.

Author:  PixLab [ Thu Aug 05, 2021 4:18 am ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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

Author:  ofnuts [ Thu Aug 05, 2021 5:11 am ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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 :)

Author:  Apuleius [ Sat Aug 07, 2021 10:01 pm ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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).

Author:  Apuleius [ Sat Aug 07, 2021 10:20 pm ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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 2187 times ]


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

Author:  Apuleius [ Sat Aug 07, 2021 10:59 pm ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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.

Author:  PixLab [ Sat Aug 07, 2021 11:45 pm ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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 1803 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...

Author:  PixLab [ Sun Aug 08, 2021 1:49 am ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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

Author:  ofnuts [ Sun Aug 08, 2021 2:00 am ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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.

Author:  Apuleius [ Thu Sep 09, 2021 9:12 am ]
Post subject:  Re: PERSPECTIVE TOOL BENDING OTHER SIDE BACK

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?

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/