transforms an image to the logarithmic polar mapping
- Author
- oniemann
#include <Image/LogPolarMapping.hh>
#include <Base/Image/ImageIO.hh>
#include <Base/Debug/TimeMeasure.hh>
#include <Utils/Param.hh>
using namespace BIAS;
using namespace std;
int main(int argc, char *argv[])
{
string sourceImage;
"Absolute path to the source Image",
"",
'i');
if(sourceImage == "")
{
BIASERR(argv[0]<<" -i<image-file>");
return -1;
}
BIASERR("error loading "<<sourceImage);
return -2;
}
cout<<
"ROI of source image is "<<*im.
GetROI()
<<" while image size is "<<width<<" x "<<height<<endl;
cout<<"timing ..."<<endl<<flush;
BIASERR("error image");
}
cout <<"Trilinear mapping took "
<<" ms,"<<endl;
return 0;
}