📄 am_markup.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0097)http://personalpages.manchester.ac.uk/staff/timothy.f.cootes/software/am_tools_doc/am_markup.html -->
<HTML><HEAD><TITLE>am_markup</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<H1>am_markup</H1>
<P>A tool for interactive search with Active Appearance Models.</P><IMG
src="am_markup.files/am_markup.png">
<P>Invoke from the command line with<BR>
<BLOCKQUOTE><TT>am_markup </TT></BLOCKQUOTE>or
<BLOCKQUOTE><TT>am_markup xxxx </TT></BLOCKQUOTE>where <TT>xxxx.smd</TT> is an
<A
href="http://personalpages.manchester.ac.uk/staff/timothy.f.cootes/software/am_tools_doc/SMD.html">SMD</A>
file.
<P></P>
<H3>Loading a model</H3>
<P>The filenames defining the various components of each model are encapsulated
by the <A
href="http://personalpages.manchester.ac.uk/staff/timothy.f.cootes/software/am_tools_doc/SMD.html">SMD</A>
file.</P>
<P>To load in a model, either pass in the SMD file path as a parameter when
running the command, or use the "File->Load Model" menu option.</P>
<H3>Loading images to search</H3>
<P>To load a single image, use the "File->Load Image" menu item.</P>
<P>We are so often interested in sets of images, possibly with existing
annotations. The simplest method of dealing with them is to set up a basic <A
href="http://personalpages.manchester.ac.uk/staff/timothy.f.cootes/software/am_tools_doc/SMD.html">SMD</A>
file listing the images of interest. This can then be loaded using the
"File->Load Image Set". The first image (and any associated annotation points
listed in the SMD file) will then be displayed. You can move through the set
using the arrow buttons above the main window.<BR>This is the preferred
technique when marking up a set of images, as the tool can automatically create
a suitable file name for any saved points.</P>
<P>Note: When you load in a model, the SMD file defines an initial set of
images, the first of which is automatically loaded.</P>
<H3>Manipulating the Model</H3>
<P>Because the AAM is a local search algorithm, the model must be started in
roughly the correct position. The buttons on the left of the main window allow
selection of a variety of interactions as follows:
<UL>
<LI>Zoom: Select a box to zoom in. Double click or hit the "Unzoom" button to
display the whole image
<LI>Move All: Dragging with the left mouse button translates the model,
dragging with the right mouse button rotates and scales the model about its
centre
<LI>Select: Press and drag to select all points in the resulting box
<LI>Move Selected: As "Move All", but only affects selected points
<LI>Move One: Click near a single model point to drag it around </LI></UL>Note
that when you move individual points, they go red. This indicates they are
"Fixed" and will not be moved during the search. The assumption is that if the
user has moved them, they are moved to a particular desired location, and the
machine would not be so presumtios as to move them again. To return them to a
"Normal" state, use the buttons in the panel obtained using the "Props->Point
State" menu item. Note: When a new image is loaded, all points return to a
Normal state.
<P></P><IMG src="am_markup.files/am_markup_point_state.png">
<H3>Searching with the Model</H3>
<P>Use the "Props->Search" menu item to pop up a panel of search
controls.</P><IMG src="am_markup.files/am_markup_search.png">
<P>These allow you to define the parameters controlling the search (though the
defaults will usually work reasonably).</P>
<P>To run the search, simply press the "Search" button.</P>
<H4>Search parameters</H4>
<UL>
<LI>Max. Level: The coarsest model resolution to use. Defaults to the coarsest
model resolution available.
<LI>Min. Level: The finest model resolution to use
<LI>Max. Its: The maximum number of iterations to use at each resolution
<LI>Forced Its: The number of iterations to run without checking that the
predicted step actually improves the match - setting to 1 or 2 has been found
to be useful for jumping out of local minima. </LI></UL>
<H3>Saving Results</H3>
<P>The current positions of the model points can be saved to a <A
href="http://personalpages.manchester.ac.uk/staff/timothy.f.cootes/software/am_tools_doc/pts.html">points</A>
file using the "File->Save Points" menu item.</P>
<P>When images are loaded using an SMD file, mechanisms exist for automatically
generating an appropriate file name (based on the image name) and saving the
points.</P>
<H3>Display Issues</H3>
<P>The "Props->Graphics" menu item brings up a panel allowing control of the
graphics (line width, point radius etc)</P><IMG
src="am_markup.files/am_markup_graphics.png">
<UL>
<LI>Displaying the results at each iteration can be enabled (but slows down
the search).
<LI>The "View Recon" button pops up a window showing the image with the
current model reconstruction overlaid on it. Note: This is only sensible when
the model is representing (and can thus synthesize) raw texture regions. It
will not work well if the model represents gradients or other more complex
features. </LI></UL>
<H3>Generating screenshots and video sequences</H3>
<UL>
<LI>"File->Save Screenshot" will save the image in the current window,
together with any graphical overlays.
<LI>Use the buttons provided to allow saving of every screenshot during a
search, so as to generate sequences of frames for videos.
<LI>This can also be done with the reconstruction image. </LI></UL>.
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -