2D Pipeline
GUI
The GUI (Graphics User Interface) is a Multi Documented
MFC windows application. Because *.bmp is the standard windows file type, Bitmap
files are utilized in this program for viewing the images. The input type is *.pgm
and many functions had to be written to handle the conversion between the two file
types. The 2D GUI utilizes an ActiveX component, ImageEdit.h which allows easy
display of *.bmp files.
The main task of the GUI is to allow user specification
of input, juggling the different file types, and calling the two
major computational algorithms within the code,
mosaic::mosaic2() and ImgFactMain().
Mosaic2()
Mosaic2() is a routine that is called by the GUI
to handle the creation of the background
mosaic image. The function takes the original
*.pgm pictures as input. After the mosaic is
created there is a need to cut out the object that is being 3D modeled and the GUI allows
the user to specify such a bounding area. Afterwards, that bounding area is then
clipped and the removed data is filled in using an Image Data Interpolation algorithm.
Image Data Interpolation
The Data interpolations process is basically a
mirroring of the surrounding data on both sides of the cut out bounding box. The
left fifty percent of the blank bounding box area is filled in with the mirror image of
the data left of the boundary, and the same goes for the right fifty percent of the image.
ImgFactMain()
This function is handed the set of individually clipped
images, and a *.txt file containing all the tracking point information. This
function extracts the geometric information from the images of the object of intrest and
outputs a three dimensional data set in a *.pts file.
[ Back ] [ Home ] [ Next ]