Thursday June 27, 2019
3D Photo Effect From A 2D Image PDF Print E-mail
Written by Ken Lowther   
Saturday, 29 December 2007
Article Index
3D Photo Effect From A 2D Image
Framing the 3D photo
Cutting Out the Dancing Couple
Finishing touches

Cutting Out the Dancing Couple

This section is the most time intensive portion of the project.  In order to get the dancing couple to 'stand out' in front of the 3D photo frame, you must extract or 'cutout' a copy of them from the original photo.  To do this, you will use the lasso selection tool to trace around the outside edge of the couple.  From the toolbox, select the lasso tool (Figure 19).

Image
Figure 19

Before beginning your selection, it is best if you can arrange the image of the couple to be as large as possible without the need to scroll in either direction to get to any of the edges.  This is because, once you begin the selection, it is difficult scroll the image around without messing up the selection process. The best way that I have found to accomplish this is to use full-screen mode, toggled by keying CTRL+U, and increasing the size of the image (using the + key) until the entire image of the couple is as large as it can be without any of the edges going off screen.  Once you have completed the selection you can go back to normal display mode by keying CTRL+U again.

There a two ways to use the lasso tool.  They are controlled by the 'Smart lasso' checkbox in the attribute panel (Figure 20).

Image
Figure 20

With smart lasso turned on, you start by performing a left click somewhere on the outer edge of the area that you are going to cutout.  This creates an initial anchor point and causes PhotoImpact to display a circle around the current cursor position.  The circle represents the area around the cursor that PhotoImpact looks at to automatically detect the edge of the object.  The size of the circle, the area to consider when tracing, is controlled by the setting in the attribute panel Figure 20.  The larger the value, the larger the circle.  After performing the initial left click, trace the subject by moving the mouse over the edges of the couple (no need to hold down the mouse button).  While tracing, when you have made a desired edge selection, left click on the selection path to add an anchor point (Figure 21).  Adding an anchor point prevents you from accidentally retracing (deleting) your selection path.

Image
Figure 21

If you make a mistake in selecting, just retrace along the selection path to the point where you want to begin selecting again.  You cannot retrace a path that is between two anchor points.  To delete the current selection path that is between the last anchor point and the current cursor position, press BACKSPACE. 

With smart lasso turned off, the selection process is essentially the same except that PhotoImpact will not do automatic edge detection.  In this mode, there is no 'area to consider' circle displayed, rather, your selection is a series of straight lines that you angle to enclose the subject.  Every time you left click, the current selection point is locked down (Figure 21a).  This results in a somewhat blockier selection, but can be done much quicker and in some cases the results are just as good.

Image
Figure 21a

Regardless of whether you use smart lasso or not, once you have made it all the way around the edges of the subject, click on the starting anchor point to close the selection.  The selection path, instead of the usual dotted path, becomes a line path (Figure 22).

Image
Figure 22

Don't worry too much about getting the selection perfect at this point, it can be fine tuned later on as you will see.  Now that you have the selection path defined, click on the 'generate lasso selection' button in the attribute panel (Figure 23) to create a normal selection from the line path (Figure 24).

Image
Figure 23

Image
Figure 24

At this point, you need to fine tune your selection, making it a more precise.  This is not as difficult as it might first appear.  Since, for this project, the cutout will remain in its original position overlaying the 3D photo image, a large portion of it will not need to be fine tuned.  Only the parts that extend outside of the 3D photo frame need to be adjusted (Figure 25).

Image
Figure 25

The remaining areas of the cutout that are inside of the 3D photo frame will not be distinguishable from the underlying photo frame.  They are really only needed to generate the shadow in the final image and can remain 'rough cut'. To do this, you must edit the path by clicking on the 'edit path object' button in the attribute panel (Figure 26).

Image
Figure 26

When you edit path objects, they will be displayed as a wireframe structure (Figure 27).  This structure essentially consists of the line and curve segments that comprise the path.  Each segment contains nodes and up to two control handles at each end, all of which you can adjust by dragging.  Nodes let you control the start or end position of a line segment, whereas control handles let you control the shape of a curve.

Image
Figure 27

Clicking on a particular node activates it and exposes its control handles (Figure 28).  Once activated, you can move the node around by dragging it where you want it.  The adjacent segments will grow/shrink as you move the node around.  You can also change the shape of the paths curve by grabbing a control handle and dragging it. In this case, the node remains stationary, only the shape of the segment changes.

Image
Figure 28

Typically, during normal path editing you will operate in 'Pick Node' mode (Figure 29).  In this mode, to add a node to the path, click on the segment where you want a node added to activate it, then right click and select 'Add Point' from the context menu.  A new node will be added in the middle of the selected segment.  You can also delete a node in the same manner by activating the node then right clicking and selecting 'Delete Point' from the context menu.

Image
Figure 29 - Attribute Panel

To add or delete a lot of nodes from the path, it might be quicker to use the 'Add Node' or 'Delete Node' modes instead (Figure 29).  In the Add Node mode, a new node is added wherever you left click on the path.  In Delete Node mode, any node that you click on will be deleted.  If you use the 'smart lasso' option of the lasso tool to create the path, this can be a real time saver as it tends to create a lot of nodes many of which can be deleted.

Zooming in on the area that you are editing (using the + key) allows you to get a good detailed view of your path and the image you are editing.  As you can see, there are a number of tools available that enable you to create very precise selections.  Path editing may seem a bit cumbersome at first, but it gets easier with a little practice and patience.  It is a skill that is well worth the time to master.

Before beginning your path editing, you might want to save your work so that you have a good restart point.  Having created your rough cut selection, you can now save at any time and resume later if need be.  Path editing can be tedious work and the ability to save and resume later is a lifesaver.  To resume path editing, load your saved project and select the path edit tool (Figure 30).  From the attribute bar, click on the 'Toggle between object and wireframe modes' button (Figure 29) and you are back in business.

Image
Figure 30

Concentrate your editing on the four areas of the selection circled in Figure 25.  For example, you should be able to change the selection in Figure 27 to appear more like that shown in Figure 30a.

Image
Figure 30a

Once you have these fine tuned, examine the remaining areas of the path making sure that there are no really wild variations from the edge of the couple.  Again, these remaining areas are not really that important other than they will affect the shape of the shadow that will be generated in the final image.

When you are satisfied with your selection, create a new object from it by keying CTRL+SHIFT+O or selecting 'Convert to Object' from the Selection menu.  Now you can 'un-hide' the 3D Photo frame from the previous section.  Your layer manager should now appear similar to the one in Figure 31.  Make sure your objects are listed in the Layer Manager in the same order as in Figure 31.  You can rearrange their order by clicking on the object you want to move to activate it and then using ALT+UP or ALT+DOWN shortcut to move the object up or down in the list or you can drag it into position with the mouse.

Image
Figure 31

Your image should now appear much the same as the one in Figure 32.

Click to see actual size
Figure 32



Last Updated ( Tuesday, 15 January 2008 )
 
Next >
 
 
Copyright © 2019 videographics.info - Joomla! 1.0.15 Stable [ Daytime ] 22 February 2008 23:00 UTC
Design by augs-burg.de & go-vista.de