Dear Cristián,
On 11/30/2011 01:57 AM, Cristián Canivell Gutiérrez (UPM) wrote:
The definition of geom::min/max_row/col its that it
gives you the image
limits, so I should get lena's image in a chess pattern.
Strangely as it may look, it happens to not fill the right and bottom
edges as you can see in the picture:
image.png
I think there is something wrong in the tutorial as the loop should have
as upper limit row/col *<=* geom::max_row/col instead of *=*
Sorry for the late answer but thanks for your report!
Indeed, this is an obvious mistake... '=' should be replaced by '<='
in
the loop as you noticed.
It will be fixed in the next issue of the documentation.
geom::max_{row,col}() functions returns the maximum {row,col} index
which should be included in the browsing.
Thanks again.
Best regards,
--
Guillaume