#include "Raster/Raster.H"
#include "SIFT/Keypoint.H"
#include "SIFT/VisualObject.H"
#include "SIFT/VisualObjectMatch.H"
#include "Image/ImageSet.H"
#include "Util/Timer.H"
#include <iostream>
Go to the source code of this file.
Functions | |
int | main (const int argc, const char **argv) |
Stitch images into a panorama. |
Build a panorama from several overlapping images
Definition in file app-SIFT-panorama.C.
int main | ( | const int | argc, | |
const char ** | argv | |||
) |
Stitch images into a panorama.
The images given on the command-line should overlap by some amount and should be taken in sequence; e.g., the first one may be the leftmost, the second one shifted slightly rightwards compared to the first, the third slightly shifted rightwards compared to the second, etc. Indeed this program is very simple and will just stitch the first image to the second, then the second to the third, etc, without enforcing any further consistency.
Definition at line 54 of file app-SIFT-panorama.C.
References Image< T >::beginw(), SIFTaffine::compose(), Timer::get(), Image< T >::getHeight(), VisualObjectMatch::getSIFTaffine(), Image< T >::getWidth(), SIFTaffine::inverse(), SIFTaffine::isInversible(), MYLOGVERB, VisualObjectMatch::prune(), ImageSet< T >::push_back(), Raster::ReadRGB(), ImageSet< T >::size(), VisualObjectMatch::size(), SIFTaffine::transform(), Raster::WriteRGB(), and ZEROS.