Bracketing images for HDR photos
The process extends the dynamic range (the range from light to dark) in a scene far beyond what the camera can capture in a single image. This is done by combining two or more images taken at different exposure levels and combined in such a way that the shadows and light areas don't get lost. This requires the photographer to take multiple shots at various exposures. If your camera allows exposure bracketing you will need to learn how to set this function in order to get the required images for HDR.
While most higher end 'pro-sumer' cameras can bracket three exposures a fewer number can bracket five or more exposures. The answer to obtaining more exposures lie in one of two methods, depending on what is easier or available to you at any given time.
The first method requires you to shoot in RAW.
Bracket and shoot your three exposures according to your camera's settings. The bracket range should be a full two stops up and down with one caveat; Digital camera sensors are better at handling shadow areas than they are at handling light areas. You need to allow for this in your bracketing by compensating your exposure for the light areas of your image. Most cameras allow you to do an exposure shift when setting up for a bracketed shot. Check your manual on how to do this.
Once you have your three exposures (-2Ev, 0Ev, +2Ev) you will need to generate your additional exposures. This can be done in several ways. One method is to tell Photomatix® to generate the additional exposures for you based on the three original shots. Wile it's relatively easy to do this in Photomatix®, it is not as intuitive as it sounds. Photomatix® is not that user friendly with their interface as I would like. The second is to manually generate the additional exposures in a post production program like Lightroom®, PhotoShop® or Elements®.
In either method you need to select your outer bracketed images (-2 and +2 images) and generate another set of images bracketed at -2 and +2 on the scale respectively. So in the end you should have five images bracketed at (starting from the darkest) -4, -2(original shot), 0(original shot), +2(original shot), +4. You can also generate images using a one stop bracket where you take your outer two (-2, +2) images and generate two or more images bracketed by one stop each up AND down. So in the end you will have -4, -3, -2(original shot), -1, 0(original shot), +1, +2(original shot), +3, +4. Alternatively you can generate the middle brackets from your 0Ev exposure rather than using the -2 and +2Ev exposures.
The second method involves manually changing your exposure compensation during the shot. This method requires you to have the camera on a tripod. You can't do this hand holding the camera.
First set your exposure bracket to a -1/+1 exposure bracket. Meter your scene for proper exposure (0Ev) and take your three exposures. This will give you three exposures at -1Ev, 0Ev, +1Ev.
Next, being careful not to move the camera, change your exposure to underexpose the scene a full three stops (-3Ev). Take another set of bracketed exposures. The results will be a -4Ev, -3Ev and -2Ev range. Then do the same thing on the plus side, overexposing by three stops. You will now get a +2Ev, +3Ev and +4Ev range. Depending on your scene some of these images will be grossly overexposed. Remember digital sensors are more sensitive to the light side. In the end you will have an exposure range of -4 to +4 in one stop increments all shot in RAW.
One final note to all this is that you have to be aware of your scene and how it is lit. HDR is used to expand the exposure range of a scene (dynamic range) that the camera, by itself, can't capture. If there is a lot of shadow or darkness in your scene you will need to compensate for that darkness. Likewise if your scene is overly lit with a lot of high contrast you will need to be aware of how the light and dark areas interact. HDR works best for scenes that are evenly lit from light to dark without a lot of heavy contrast.
The example above is a simplified illustration to give you a basic understanding of the processes. As you gain experience you will tune your shooting style to your needs and to the scene in particular.