[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin1/PT/PanoImage.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00002 
00027 #ifndef _Hgn1_PANOIMAGE_H
00028 #define _Hgn1_PANOIMAGE_H
00029 
00030 #include <panodata/PanoImage.h>
00031 #include <panodata/SrcPanoImage.h>
00032 #include <panodata/DestPanoImage.h>
00033 
00034 namespace PT {
00035 
00036     using HuginBase::ImageOptions;
00037     using HuginBase::PanoImage;
00038     using HuginBase::SrcPanoImage;
00039     using HuginBase::DestPanoImage;
00040     
00041     inline bool initImageFromFile(SrcPanoImage & img, double & focalLength, double & cropFactor, bool applyExposureValue)
00042     {
00043         return img.readEXIF(focalLength, cropFactor, true, applyExposureValue);
00044     }
00045 
00046     inline double calcHFOV(SrcPanoImage::Projection proj, double fl, double crop, vigra::Size2D imageSize)
00047     {
00048         return HuginBase::SrcPanoImage::calcHFOV(proj,fl,crop,imageSize);
00049     }
00050 
00051     inline double calcFocalLength(SrcPanoImage::Projection proj, double hfov, double crop, vigra::Size2D imageSize)
00052     {
00053         return HuginBase::SrcPanoImage::calcFocalLength(proj,hfov,crop,imageSize);
00054     }
00055     
00056     inline double calcCropFactor(SrcPanoImage::Projection proj, double hfov, double focalLength, vigra::Size2D imageSize)
00057     {
00058         return HuginBase::SrcPanoImage::calcCropFactor(proj,hfov,focalLength,imageSize);
00059     }
00060     
00061 } // namespace
00062 
00063 #endif // PANOIMAGE_H

Generated on Mon Sep 20 01:01:26 2010 for Hugintrunk by doxygen 1.3.9.1