17 Feb
2011
17 Feb
'11
10:03 p.m.
On Feb 17, 2011, at 2:01 PM, Lubomir Bourdev wrote:
Hi Curtis,
A GIL image is a container of pixels. It allocates and deallocates the pixels. As such it doesn't make sense to create a container type whose elements are constant. Instead of images you should try to pass to your containers image views. You can get a constant and a mutable view of a given image.
I meant to say, pass to your _algorithms_ image views.
If you want a constant reference to an image, you can use "const gray_float_image_t&"
Lubomir