Post Reply 

Image Stacking

Jun 3, 2013, 18:59
Post: #1
Image Stacking
I am trying really interested to know if anyone knows of a way to do image stacking in GIMP. I recently found an article seen here

http://petapixel.com/2012/11/10/stacked-...s-the-sky/

I would really like to be able to create these images without having to blend each one individually...as some of them take 300+ images.

Thank you,
ybur
Find all posts by this user
Quote this message in a reply
Jun 4, 2013, 11:36
Post: #2
RE: Image Stacking
That is quite an interesting effect, just wondering now how to get some timelapse images to work on.
Webcam is rubbish only 640x480 pix. Camera has an ir remote but turns itself off at the drop of a hat.

Anyway, the originator says;
quote...I start with the first image from the timelapse as a normal photo and then blend the rest of them with the ‘lighten’ blending mode...unquote
This was referring to PS but AFAIK the end result will be the same in Gimp.

It must be reasonably easy to turn all layers above the base to lighten mode, same as you can with layer visability.
No success so far. Hopefully Ofnuts or Kevin will come up with some code.

I am not into gimp scripting, but as an alternative, it is possible using Imagemagick and a batch file.
the basic IM command is
convert 1.ext 2.ext -compose Lighten -composite new.ext
Not a big job to put this in a loop and cycle through the frames.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jun 4, 2013, 18:05 (This post was last modified: Jun 4, 2013 18:06 by ybur.)
Post: #3
RE: Image Stacking
So I am still trying to learn all of the ins and outs of GIMP, which i will be for a while. Is there a way to blend in GIMP then using the lighten blending technique? I will also check out Imagemagick for sure.

I wish I knew more about writing scripts but at the moment I just have to try and rely on others to provide good scripts.

Thanks for the help!
Find all posts by this user
Quote this message in a reply
Jun 5, 2013, 08:04
Post: #4
RE: Image Stacking
That is nice, and yes I did find it in the Image menu. I was going to try out the effect with some webcam time lapse frames. Alas blessed with a perfect blue sky all day, not a moving cloud to be seen lol.

Just wondering how Gimp would cope with decent size images in several hundred layers. A quick test with 50 2000x3000-ish layers and that runs to 1GB in memory.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jun 5, 2013, 18:08
Post: #5
RE: Image Stacking
I got it to work somewhat. It works but the images seem to be way blurry compared to what is shown in the link. I will have to try and figure out how to make it so the ground in the image doesn't change as well (would that be masking? And how would I apply it to all layers without taking forever...)
Find all posts by this user
Quote this message in a reply
Jun 5, 2013, 20:17
Post: #6
RE: Image Stacking
Thanks ofnuts for all the help. I will try tonight and see what kind of a result I can get.
Find all posts by this user
Quote this message in a reply
Jun 6, 2013, 08:41
Post: #7
RE: Image Stacking
Got some timelapse yesterday evening with a webcam. 36 frames an hour, a bit different from my normal 25 fps.

I can see the potential, but guaranteed for every wonderful image posted on the web site there will be dozens of failures, so keep on trying.

Also don't just go by rote. Try turning visibility off on some of the layers. Some of the frames I got were blown by the sun. Final result fuzzy? How were you taking the shots? Clamp "tripod" or...? I would love a camera that had a battery that lasted 3 hours and took a shot every 5 minutes.

Anyway FWIW. Start and end frames on the left.

[Image: zX7wo20.jpg]

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jun 6, 2013, 11:31
Post: #8
RE: Image Stacking
That is not a bad idea, just had a look at ebay, most were still a couple of hundred pounds plus. Then I saw one for £60 + £35 postage. Hmm.. from Romania, maybe not.

Anyway I envisage a setup like this

[Image: uS0rTTj.jpg]

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jun 6, 2013, 18:33
Post: #9
RE: Image Stacking
I didn't think about turning off some layers... I however had a fairly consistent light, so no overexposed images. I used my Canon on a tripod running Magic Lantern (free firmware upgrade for DSLR, no external computer needed! ) I also think I may have taken too many pictures in the amount of time i took them. I will have to keep experimenting to see what all changes. There are a lot of variables it seems...
Find all posts by this user
Quote this message in a reply
Jun 6, 2013, 21:01
Post: #10
RE: Image Stacking
I like that idea even though I don't think that is what he did since it says he was taking a picture approximately every 5 sec. I now want to try some longer exposures, I know for star trails that is how they often do their pictures.
Find all posts by this user
Quote this message in a reply
May 19, 2014, 03:58 (This post was last modified: May 19, 2014 04:05 by ybur.)
Post: #11
RE: Image Stacking
Well I finally am getting around to posting my pictures that I did initially and one that I did more recently.

The first is one of my first attempts and well it is obvious that I did not fully know what I was doing and my subject matter was pretty poor choice since it could move slightly. (not sure what exactly caused the white spots either)

   

My second image here was a recent one that I took consisting of about 35 photos each taken at 5 seconds apart. Choosing a subject that is stationary is KEY I have learned since the photo needs to have a reference point.

   
Find all posts by this user
Quote this message in a reply
May 22, 2014, 18:13
Post: #12
RE: Image Stacking
(May 19, 2014 06:26)ofnuts Wrote:  Nice... Strange "gap" at the bottom center, as if the clouds became thinner over a given spot. Out of sight power plant?

The clouds were changing as I took the pictures...but to my knowledge there is not a power plant nearby.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Any plugin for open multiple image in paint.net shinprog 1 364 Oct 31, 2017 11:38
Last Post: paynekj
  Scale image to specific size MattRothschild 1 241 Sep 15, 2017 11:13
Last Post: ythgilb
  Dividing and printing a large image RayArdia 1 161 Aug 9, 2017 07:22
Last Post: ythgilb
  Late binding / COM for opening an image into GIMP? i73 2 226 Aug 4, 2017 17:39
Last Post: i73
  PDB call to Image/Canvas size... ? Shadowes 3 461 Sep 1, 2014 22:31
Last Post: Shadowes

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS