<div dir="ltr">Hi N�stor,<div class="gmail_extra"><br><div class="gmail_quote">Nestor Morales Hern�ndez <span dir="ltr"></span>wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><br><div><div>

// I get the input images</div><div>AbstractStereoMatcher::input_image_view_t</div><div>� � � � � � � � input_left_view(video_input_p-&gt;get_left_image()),</div><div>� � � � � � � � input_right_view(video_input_p-&gt;get_right_image());</div>


</div><br><div><div>AbstractVideoInput::input_image_t</div><div>� � � � � � � � rectified_left_view(input_left_view._dynamic_cast&lt;AbstractVideoInput::input_image_t&gt;()),</div><div>� � � � � � � � rectified_right_view(input_right_view._dynamic_cast&lt;AbstractVideoInput::input_image_t&gt;());</div>


<div>� � � � � � � � � ��</div><div>homography_rectifier_p-&gt;run(input_left_view, 0, boost::gil::view(rectified_left_view));</div></div><div><br></div></div></blockquote><div>Note that AbstractStereoMatcher::input_image_view_t and AbstractVideoInput::input_image_t are different types.� The former is an any_image_view of const data, while the latter is an rgb8_image_t.</div>
<div>�<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>// The ouput of the compiler is the following:</div><div>
<div>
/home/nestor/Dropbox/KULeuven/projects/doppia/src/applications/stixel_world_improved/StixelWorldApplication.cpp:296:102: � required from here</div>
<div>/home/nestor/Dropbox/KULeuven/projects/doppia/libs/boost/gil/image_view.hpp:101:143: error: �const class boost::gil::any_image_view&lt;boost::mpl::v_item&lt;boost::gil::image_view&lt;boost::gil::memory_based_2d_locator&lt;boost::gil::memory_based_step_iterator&lt;const boost::gil::pixel&lt;unsigned char, boost::gil::layout&lt;boost::mpl::vector3&lt;boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t&gt; &gt; &gt;*&gt; &gt; &gt;, boost::mpl::v_item&lt;boost::gil::image_view&lt;boost::gil::memory_based_2d_locator&lt;boost::gil::memory_based_step_iterator&lt;const boost::gil::pixel&lt;unsigned char, boost::gil::layout&lt;boost::mpl::vector1&lt;boost::gil::gray_color_t&gt; &gt; &gt;*&gt; &gt; &gt;, boost::mpl::vector0&lt;mpl_::na&gt;, 0&gt;, 0&gt; &gt;� has no member named �pixels�</div>


<div>make[2]: *** [CMakeFiles/stixel_world.dir/StixelWorldApplication.cpp.o] Error 1</div></div></div></blockquote><div><br></div><div>You can edit the message down to this:<br><div>
StixelWorldApplication.cpp:296<br>error: �const class boost::gil::any_image_view&lt;/*unintelligible template gobbledygook*/&gt;� has no member named �pixels�</div>

<br></div><div>Which is true.� It looks like you&#39;re passing input_left_view, of any_image_view type, into run, which expects rgb8c_view_t.� Perhaps you need to use rectified_left_view (which isn&#39;t really a view) in conjunction with gil::view() (which will retrieve a view from the image).</div>
<div>�</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I hope somebody can help me with that. As I said, I&#39;m new on using Boost Generic Image Library and it is driving me crazy.<br>
</div></blockquote></div><br>I can sympathize -- it&#39;s pretty easy to do basic things with GIL, and GIL allows you to do very complex things elegantly, but there can be a steep learning curve in between.<br><br><br></div>
<div class="gmail_extra">HTH,<br>Nate<br><br></div></div>