Boost logo

Boost Users :

Subject: Re: [Boost-users] [gil] Processing huge images
From: Nathan Crookston (nathan.crookston_at_[hidden])
Date: 2011-04-04 17:40:15


Hi Franz

On Mon, Apr 4, 2011 at 2:28 PM, Franz Alt <f.alt_at_[hidden]> wrote:
> From my point of view I would make something like a wrapper class that holds
> the separate images and supports an iterator to iterate over the huge image.
> In this case I'm not sure if I could use this wrapper class as a normal gil
> image and therefore can't use the full gil power at my wrapper class.

GIL doesn't support this by default, but it's trivial to use the
virtual image view to do this. I don't know of a way to ensure
efficient traversal of this image for for_each_pixel-type algorithms,
however.

HTH,
Nate


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net