Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
06-15-2008, 12:06 AM   #1
Pentaxian
dosdan's Avatar

Join Date: Dec 2007
Location: Brisbane, Australia
Photos: Gallery | Albums
Posts: 1,741
GIMP Photo Manipulation - Rotation, Geometric Correction, Healing, Cropping

GIMP is a powerful, freeware image editor. It's challenging to learn (at least for a dummie like me). Here's some examples of its power. The following photo has 3 problems that I'll deal with here:

1. Overall, slightly tilted to the right.
2. Geometric distortion: the left & right tilt towards each other at the top of the picture.
3. A slight blemish in the sky at the top left of centre.




Particularly with buildings I find I'm checking overall orientation often. GIMP does not have a predefined hotkey for switching the grid on & off, and I got tired of using the menu (View | Show Grid) since I switch this on and off so often. So I think it's a good idea to define a hotkey for grid display. Click on Edit (the one on the image-being-edited window) | Keyboard Shortcuts | View | Show Grid. I highlighted this line and pressed "G" to use it as the hotkey. Make sure you've tick "Save keyboard shortcuts on exit. Now you can easily bring up the grid, check, adjust it if needed, put it away:




The first step is to check for overall tilt. I applied the grid. Since the image was 2002 pixels wide. I checked around the 1,000 pixel vertical centre. See the crop below:




The vertical edge is slightly tilted clockwise. I need to rotate it anti-clockwise. I pressed Shift-R (or Tools | Transform Tools | Rotate). The rotation options & settings are in the next two screens:







I set the angle to -.5 degrees and clicked on Rotate. The centre section after being aligned:



Now, let's check the geometric distortion. There are four large vertical buildings in this shot. The left edge of the leftmost building:




You can see the clockwise tilt here. Next the left edge of the 3rd building from the left:



An anti-clockwise tilt is visible, as it is the right side of the rightmost building:



To bring up the Prospective tool, press Shift-P (or Tools | Transform Tools | Perspective). Options shown below:




I found it easiest to set Preview to "Image" so I could see the change on the screen. There are grab boxes at each of the 4 corners of the image. I needed to drag the top-left & top-right boxes outwards enough to visibly correct the distortion without throwing the central orientation out:





When you're happy with your correction, click on the Transform button:




Now the image is aligned correctly, it's time to fix the blemish. I pressed G to remove the grid, and then H for the Healing tool ( or Tools | Paint Tools | Heal). The options are shown below. It's a big blemish so I selected a large spot diameter, scaled it up a further 3.8x times, and applied jitter & a large fade out distance so the edge of the fixed area would not be obvious in the sky:




Initially nothing is selected:




Hold down the Ctrl-key and click on a clean area close to the blemish to get a replacement (shown as a "plus"). Then move the circle to blemish (on the left here):




and click:




If the blemish is not hidden completely, click on it a few more times. If necessary, you can also take another sample (Ctrl-click) on the other side of the blemish and dump it on the blemish as well.

The Perspective Tools cropped off the excess, but the Rotation tool didn't (at least on the Clipping setting I used), so a final crop is necessary. Press Shift-C (or Tools | Transform Tools | Crop), drag and mark out the area to keep:




Finally, click on the highlighted area to activate the crop.


Perhaps others can start other GIMP usage threads to make it easier for me and others to use this powerful beast of a program.


Last edited by dosdan; 06-15-2008 at 01:18 AM.
07-20-2008, 05:57 AM   #2
Veteran Member




Join Date: May 2008
Location: South Australia
Photos: Gallery | Albums
Posts: 901
I didn't know you could set Preview to Image. Thanks for that piece of info - really made my night. (How sad is that....). One thing I'd love to see in Gimp is some way to search the document file. It's painful hacking through the index and scrolling yourself silly just to find a simple fact or instruction. Am I missing something?
Great demo, mate.
07-21-2008, 02:26 PM   #3
Veteran Member
Torphoto's Avatar

Join Date: Mar 2008
Location: Trinidad W.I.
Photos: Gallery
Posts: 612
Now that I have suse 11 installed and will be using gimp alot must say thanks for this.
07-25-2008, 09:43 AM   #4
Veteran Member




Join Date: Jun 2007
Location: Owego, NY
Posts: 976
What version of GIMP are you using?

I don't remember ever seeing the healing tool... It's the one thing I keep a copy of Photoshop CS2 running in WINE for.

07-25-2008, 12:03 PM   #5
Pentaxian
Moderator Emeritus




Join Date: May 2007
Location: Edmonton Alberta, Canada
Photos: Gallery | Albums
Posts: 10,643
Good info. I don't use GIMP but I always like these threads and learn new stuff. We need more of this.
07-25-2008, 12:19 PM   #6
BPT
Veteran Member




Join Date: Jul 2007
Location: Fruitvale, British Columbia Canada
Photos: Gallery
Posts: 310
QuoteOriginally posted by Entropy Quote
What version of GIMP are you using?

I don't remember ever seeing the healing tool... It's the one thing I keep a copy of Photoshop CS2 running in WINE for.
The healing tool has been there a long time, I think since version 1 or before. the icon for it was a stamp before
07-25-2008, 12:43 PM   #7
Veteran Member
bc_the_path's Avatar

Join Date: Mar 2007
Location: Ankara, Turkey
Photos: Gallery
Posts: 401
I use Gimp routinely and I am very happy with it.
The only thing I wish it had is 16 bit processing. That is why I use The Gimp only for web presentations. I am certain that you can do anything that is done using PShop using the The Gimp instead "as long as the final product will be displayed on the web only". Certainly, you can use it also for printing, archiving etc.; however, I cannot claim that it can rival other software on those regards... yet!

Let us hope The Gimp People are indeed keen on making it capable of working on 16bit images.

I don't think learning it is as cumbersome as we are led to believe; it just does not resemble its alternative!

By the way, thanks "dosdan" for the beautiful and informative post...

07-25-2008, 01:58 PM   #8
Veteran Member
Fritz's Avatar

Join Date: Jun 2007
Location: Tillamook, OR
Posts: 1,222
Thanks for posting this, it was an informative read. I use the Gimp and find it to be a very useful tool, especially for the price!
07-26-2008, 08:55 PM   #9
Veteran Member




Join Date: May 2008
Location: South Australia
Photos: Gallery | Albums
Posts: 901
QuoteOriginally posted by bc_the_path Quote
I use Gimp routinely and I am very happy with it.
The only thing I wish it had is 16 bit processing. That is why I use The Gimp only for web presentations. I am certain that you can do anything that is done using PShop using the The Gimp instead "as long as the final product will be displayed on the web only". Certainly, you can use it also for printing, archiving etc.; however, I cannot claim that it can rival other software on those regards... yet!

Let us hope The Gimp People are indeed keen on making it capable of working on 16bit images.

I don't think learning it is as cumbersome as we are led to believe; it just does not resemble its alternative!

By the way, thanks "dosdan" for the beautiful and informative post...
Keep an eye on the Gimp website. They're pretty close to launching 2.6, which will have 16 bit processing. We're all hanging out for it. In the meantime you can always use Cinepaint, a Gimp fork that does 16 bit. And I agree, it's not that complicated. I've never used Photoshop but I'm told that's a steep learning curve.

Entropy, the healing tool is in the toolbox - looks like a couple of Bandaids crossed over each other.
07-28-2008, 10:05 AM   #10
Veteran Member




Join Date: Jun 2007
Location: Owego, NY
Posts: 976
QuoteOriginally posted by Wombat Quote
Keep an eye on the Gimp website. They're pretty close to launching 2.6, which will have 16 bit processing. We're all hanging out for it. In the meantime you can always use Cinepaint, a Gimp fork that does 16 bit. And I agree, it's not that complicated. I've never used Photoshop but I'm told that's a steep learning curve.

Entropy, the healing tool is in the toolbox - looks like a couple of Bandaids crossed over each other.
Yeah, found it last night after looking again (prompted by this article). Will play with it tonight.

I tried Cinepaint, hated it. Crashfest, especially if you enabled color management.
07-28-2008, 10:57 AM   #11
Veteran Member
emalvick's Avatar

Join Date: Feb 2008
Location: Davis, CA
Photos: Gallery
Posts: 1,642
QuoteOriginally posted by Wombat Quote
Keep an eye on the Gimp website. They're pretty close to launching 2.6, which will have 16 bit processing. We're all hanging out for it. In the meantime you can always use Cinepaint, a Gimp fork that does 16 bit. And I agree, it's not that complicated. I've never used Photoshop but I'm told that's a steep learning curve.

Entropy, the healing tool is in the toolbox - looks like a couple of Bandaids crossed over each other.
Actually, from what I've seen, the 16 bit support will not happen with 2.6. They've only implemented the GEGL framework, which will allow them to add 16 bit support later (perhaps 2.8).
07-28-2008, 12:01 PM   #12
Site Supporter
Site Supporter
rparmar's Avatar

Join Date: Jan 2008
Photos: Gallery
Posts: 8,823
Great tutorial! Learning any image editor is the work of a lifetime and unfortunately I started off in Photoshop years ago. Many years. To relearn all that now would be madness, but I always encourage others to get stuck in to open source solutions whenever possible. All my programming tools (Python, Textpattern, etc.), business apps (OpenOffice) and more are open source.
07-28-2008, 07:27 PM   #13
Veteran Member




Join Date: May 2008
Location: South Australia
Photos: Gallery | Albums
Posts: 901
QuoteOriginally posted by emalvick Quote
Actually, from what I've seen, the 16 bit support will not happen with 2.6. They've only implemented the GEGL framework, which will allow them to add 16 bit support later (perhaps 2.8).
Bummer! I must have missed something. 2.8 will be decades away. Maybe if I sent them another donation...
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
blemish, click, crop, edge, gimp, grid, image, photography, photoshop, tilt, tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
GIMP Photo Manipulation - 2. Corrective Rotation dosdan Post-Processing Articles 1 04-05-2010 08:40 PM
GIMP Photo Manipulation - 1. Rotation, Geometric Correction, Healing, Cropping dosdan Post-Processing Articles 4 02-27-2010 01:20 AM
Geometric/distortion correction in Photoshop dazman Digital Processing, Software, and Printing 4 09-10-2008 05:02 PM
GIMP Photo Manipulation - Corrective Rotation dosdan Digital Processing, Software, and Printing 3 06-16-2008 05:32 AM
Lens distortion correction using Gimp bc_the_path Digital Processing, Software, and Printing 0 11-10-2007 10:41 AM



All times are GMT -7. The time now is 10:22 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top