Author Topic: NEW  (Read 6209 times)

Offline shold

  • Newcomer
  • Posts: 21
    • http://www.flickr.com/photos/siegi252
NEW
« on: 2009 March 28 11:05:11 »
Hi,
my name is Hold Siegfried
I am a new user of PixInsight!
I look for a description for the Script, HDR-Composition!
I have 4 Frames of M42 with exposure times of  10 to 240Sec.

Thanks and greetings
Siegfried

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
The search function is your friend...
« Reply #1 on: 2009 March 29 02:43:43 »
Siegfried,

welcome to Pixinsight!

Documentation sometimes is kind of spread over different places, and I do have my own problems to find the right information. What usually helps is the search functionality of this forum, which would give you this: http://pixinsight.com/forum/viewtopic.php?t=913&highlight=hdr . Sometimes using Google (or whatever you prefer) with something like "Pixinsight HDR" also helps.


Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
NEW
« Reply #2 on: 2009 March 29 17:01:27 »
Hi Siegfried

I'm glad to see you here. Welcome to PixInsight Forum!

As Georg says, we unfortunately don't have the documentation as complete and organized as we should have, but there's a lot of information here if you search for it.

The HDRComposition script is pretty easy to use because it's automatic. Just load your images (in any order; the script knows how to sort them by exposure time). The key parameters are the intensity map limits. In the link that Georg has provided, Vicent (the author of the algorithm) explains how this tool works. Starting from that info, you can do some trial/error.

Let's see if Oriol (who has written the script) and Vicent can chime in to explain these things well; I'm no expert at all.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline vicent_peris

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 988
    • http://www.astrofoto.es/
NEW
« Reply #3 on: 2009 March 30 03:55:29 »
Hi Siegfried,

there are two main areas in the script interface you must understand: "Intensity Maps" and "Composition Mask".


Intensity Maps[/size]

My algorithm works putting the shorter exposures over the saturated areas of the longer ones. For doing this, we must fit all the exposures; this means a background substraction and scaling of the images. The goal is to have the same intensity values in all the images for a certain object. This is done through the intensity maps.

An intensity map in a set of pixels between an intensity range. To calculate the scaling of target image, we select in a reference image two different intensity maps. One intensity map has higher illumination level than the other (in the script, the default intensity maps are between [0.8 - 0.6] and [0.4 - 0.2]. After selecting the pixel sets, you calculate the average illumination in the two maps (in this case, this will be nearly 0.7 and 0.3).

The key is that, if you compare the average illumination of these pixels with the average illumination of the same pixels of the target image, you know how much light intensity has the target image in comparison to the reference. In other words, you are looking how high are the highlights and how low are the lowlights in the target image, in comparisonto the reference one. This gives you the scaling factor of the target image.

The default intensity ranges will work in most of cases. But you must be sure you have pixels within this ranges in all the image set.


Composition Mask[/size]

As I said, my algorithm works putting the shorter exposures over the saturated areas of the longer ones. This is done through a mask, that selects a limit illumination to put the shorter exposures. The default value, 0.8, is a conservative one, to avoid the non-linearity area of the image sensor. This means that, in the pixels where the illumination is over 0.8 in the longer exposure, the shorter one will be superposed.

You have also a smoothing of the mask. This is necessary to prevent artifacts in the edges of the mask when compositing the images. This artifacts are a product of calculation error of the scaling of the images (due to intrinsic image noise). Usually a value between 1 - 3 will do the work.

The parameter mask growth will do a growth of the mask. This is useful to get rid of bloomings.



I hope this will help you... remember, you need very good image calibration, specially for the flats! If you get an image plenty of artifacts, surely it will be due to your image calibration, not to the algorithm. :wink:

Best regards,
Vicent.[/i]

Offline shold

  • Newcomer
  • Posts: 21
    • http://www.flickr.com/photos/siegi252
NEW
« Reply #4 on: 2009 March 30 12:01:49 »
Hello,
i thank you for the assistance.

Best Regards
Siegfried