Lines Matching refs:Mosaic
18 // Mosaic.h
21 // $Id: Mosaic.h,v 1.16 2011/06/24 04:22:14 mbansal Exp $
31 /*! \mainpage Mosaic
34 The class Mosaic provides a simple interface to the panoramic mosaicing algorithm. The class allows passing in individual image frames to be stitched together, computes the alignment transformation between them, and then stitches and blends them together into a single panoramic output which can then be accessed as a single image. \
37 The class methods need to be called as outlined in the sample application which is created from the mosaic_main.cpp file in the directory src/mosaic/. A brief snapshot of the flow is given below:
40 Mosaic mosaic;
50 if (!mosaic.isInitialized())
52 // Initialize mosaic processing
53 mosaic.initialize(blendingType, stripType, width, height, -1, false, 5.0f);
57 mosaic.addFrameRGB(imageRGB);
63 // Create the mosaic
64 ret = mosaic.createMosaic();
67 resultYVU = mosaic.getMosaic(mosaicWidth, mosaicHeight);
69 printf("Got mosaic of size %d,%d\n", mosaicWidth, mosaicHeight);
75 * Main class that creates a mosaic by creating an aligner and blender.
77 class Mosaic
82 Mosaic();
83 ~Mosaic();
101 * Adds a YVU frame to the mosaic.
108 * Adds a RGB frame to the mosaic.
122 * Obtains the resulting mosaic and its dimensions.
123 * \param width Width of the resulting mosaic (returned)
124 * \param height Height of the resulting mosaic (returned)
144 * Return codes for mosaic.
155 * Size of image frames making up mosaic
160 * Size of actual mosaic
165 * Bounding box to crop the mosaic when the gray border is not desired.
172 * Collection of frames that will make up mosaic.
185 * Implicitly created frames, should be freed by Mosaic.
217 * about center of mosaic
219 * Side effect: TRS matrices of all mosaic frames