Bugs item #10, was opened at 09/05/2004 15:48
You can respond by visiting:
http://gforge.lrde.epita.fr/tracker/?func=detail&atid=103&aid=10&am…
Category: Olena
Group: None
Status: Open
Resolution: None
Priority: 2
Submitted By: Niels van Vliet (van-vl_n)
Assigned to: Damien Thivolle (thivol_d)
Summary: sqmorph<3>(i) does not compile if i is an abstract::image<I>
Initial Comment:
Maybe you should use "oln_concrete_type(I)" and not "I" somewhere.
See the code below.
#include <oln/morpher/subq_morpher.hh>
#include <oln/basics2d.hh>
#include <ntg/all.hh>
template <class I>
void
f(const oln::abstract::image<I> &i)
{
(oln::morpher::sqmorph<3>(i.exact())).size(); //OK
(oln::morpher::sqmorph<3>(i)).size(); //KO
}
int main()
{
oln::image2d<ntg::rgb_8> imc = oln::load(IMG_IN "lena.ppm");
(oln::morpher::sqmorph<3>(imc)).size(); //OK
f(imc);
}
----------------------------------------------------------------------
You can respond by visiting:
http://gforge.lrde.epita.fr/tracker/?func=detail&atid=103&aid=10&am…