Tuesday, March 14, 2017

Frame Sequence Generator 11 (FSG11)

FSG11 generates synthetic views given an input image and a depth map. It's kinda like Frame Sequence Generator 4 (FSG4). Unlike DMAG4 where you can select where the plane of zero parallax is (aka the stereo window), DMAG11 always uses a stereo window at 0 (pure black in the grayscale depth map), meaning that everything is in front of the stereo window.


Input image.


Depth map.

Input file (fsg11_input.txt):
reference_rgb_image.png
dense_depthmap_image.png
6
3
4
32.

Here, I am requesting:
stereo effect = 6
number of frames = 3
radius = 4
gamma_p = 32.

For more info about those parameters mean, check fsg11_manual.pdf in your installation directory.

Of course, in real life, you would probably ask for more frames, maybe 12.

Here's the output from FSG11:


frame01.png.


frame02.png. Same as input image.


frame03.png.


Animated gif that combines the frames produced by FSG11.

As you can see, the inpainting areas are nicely blurred with only elements from the background. FSG11 works best when the depth map is aliased, as opposed to anti-aliased.


Depth map (zoomed).

This is what the depth map should look like when zoomed in. What you want to see is an aliased depth map where there is absolutely no transitioning between the various shades of gray. If the depth map is anti-aliased, the inpainted areas are likely to look not well blurred and that can be distracting.

The windows executable (guaranteed to be virus free) is available for free via the 3D Software Page.

2 comments: