template matching (semi-automatic finding of control points)

Bruno Postle bruno at postle.net
Mon May 12 20:39:05 BST 2003


On Mon 12-May-2003 at 08:18:46PM +0200, Pablo d'Angelo wrote:
> 
> I'm doing an image processing class at the university, and my topic was
> "template matching using cross correlation", so I took hugin as an
> example and added a semic automatic control point finder, wich actually
> works pretty well, but isn't perfect yet.

Sounds cool.

> I just checked it into the current cvs, so that people can play with it
> :) and give some feedback.

:-( make now fails with this error:

PanoOptionsWidget.cpp: In member function `PT::PanoramaOptions 
   PanoOptionsWidget::getOptions()':
PanoOptionsWidget.cpp:84: ambiguous overload for `std::string& = QString' 
   operator
/usr/include/c++/3.2.2/bits/basic_string.h:338: candidates are: 
   std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, 
   _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, 
   _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = 
   std::allocator<char>]
/usr/include/c++/3.2.2/bits/basic_string.h:341:                 
   std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, 
   _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char, _Traits = 
   std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/3.2.2/bits/basic_string.h:344:                 
   std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, 
   _Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits = 
   std::char_traits<char>, _Alloc = std::allocator<char>] <near match>
PanoOptionsWidget.cpp: In member function `virtual void 
   PanoOptionsWidget::createPanorama()':
PanoOptionsWidget.cpp:103: ambiguous overload for `std::string& = QString' 
   operator
/usr/include/c++/3.2.2/bits/basic_string.h:338: candidates are: 
   std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, 
   _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, 
   _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = 
   std::allocator<char>]
/usr/include/c++/3.2.2/bits/basic_string.h:341:                 
   std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, 
   _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char, _Traits = 
   std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/include/c++/3.2.2/bits/basic_string.h:344:                 
   std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, 
   _Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits = 
   std::char_traits<char>, _Alloc = std::allocator<char>] <near match>
make: *** [.obj/PanoOptionsWidget.o] Error 1

I probably have a different setup: qt-3.1.1-6 gcc-3.2.2-5 libstdc++-3.2.2-5

-- 
Bruno


More information about the ptX mailing list