RSS/Atom feed Twitter
Site is read-only, email is disabled

Processing a stack of images

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Processing a stack of images Geoff Smith 20 Jul 13:03
  Processing a stack of images Pat David 20 Jul 14:07
   Processing a stack of images Geoff Smith 20 Jul 14:21
Geoff Smith
2013-07-20 13:03:23 UTC (over 11 years ago)

Processing a stack of images

Problem :
I have a large number of ex-camera jpegs of the pages of a book, photographed at an archive where scanning is prohibited. A camera stand was used, with the book supported on foam wedges. Consequently, both pages in each image are distorted - i.e. each page of a pair is a trapezium. It is, of course, a simple matter to crop and apply the perspective tool (twice) to an image to restore the pages to their flat state. Doing it for several hundred images is a non-starter, and anyway that's what the machine is for.

Proposed solution :
Import an image to the Gimp.
Drag and drop a number of images into the same project - as many as the machine can handle.
Link the image layers.
Crop.
Select one page and use the Perspective Tool to pull the page 'square'. Repeat for the second page.
Export each image, working down the stack.

Result : Selecting the right-hand page and correcting the perspective works, in that the Gimp progressively works down the layers. But, although each right-hand page is correctly 'squared up', all the left-hand pages, other than the top layer, are enlarged and cropped.

Am I misusing the Gimp, or hoping for too much? Has anyone done something similar?

Software used : 2.6 under Debian Squeeze.
2.8.2 under Mint 14.1
2.8.6 under Windows 7
All OS 64-bit.

Geoff Smith

-- View this message in context: http://gimp.1065349.n5.nabble.com/Processing-a-stack-of-images-tp39433.html Sent from the Users mailing list archive at Nabble.com.

Pat David
2013-07-20 14:07:00 UTC (over 11 years ago)

Processing a stack of images

I feel like you may have better luck with something dedicated to image distortions. Like Hugin.

It's relatively trivial to align many images, and then define horizontal/vertical reference lines, and stitch away!

On Saturday, July 20, 2013, Geoff Smith wrote:

Problem :
I have a large number of ex-camera jpegs of the pages of a book, photographed at an archive where scanning is prohibited. A camera stand was used, with the book supported on foam wedges. Consequently, both pages in each image are distorted - i.e. each page of a pair is a trapezium. It is, of course, a simple matter to crop and apply the perspective tool (twice) to an image to restore the pages to their flat state. Doing it for several hundred images is a non-starter, and anyway that's what the machine is for.

Proposed solution :
Import an image to the Gimp.
Drag and drop a number of images into the same project - as many as the machine can handle.
Link the image layers.
Crop.
Select one page and use the Perspective Tool to pull the page 'square'. Repeat for the second page.
Export each image, working down the stack.

Result : Selecting the right-hand page and correcting the perspective works, in that the Gimp progressively works down the layers. But, although each right-hand page is correctly 'squared up', all the left-hand pages, other than the top layer, are enlarged and cropped.

Am I misusing the Gimp, or hoping for too much? Has anyone done something similar?

Software used : 2.6 under Debian Squeeze.
2.8.2 under Mint 14.1
2.8.6 under Windows 7
All OS 64-bit.

Geoff Smith

-- View this message in context:
http://gimp.1065349.n5.nabble.com/Processing-a-stack-of-images-tp39433.html Sent from the Users mailing list archive at Nabble.com. _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list

pat david
http://blog.patdavid.net
Geoff Smith
2013-07-20 14:21:48 UTC (over 11 years ago)

Processing a stack of images

Thanks, I'll give it a try.

-- View this message in context: http://gimp.1065349.n5.nabble.com/Processing-a-stack-of-images-tp39433p39435.html Sent from the Users mailing list archive at Nabble.com.