[Insight-users] Memory-mapped images?

Demian M. Nave dnave at psc.edu
Fri Jun 4 14:39:35 EDT 2004


> If that is the case, what you want to use
> is the ImportImageFilter

Hi Luis,

I want to 'mmap()' a file into memory and use it as an image source without
having to copy the whole image into memory at once.

If ImportImageFilter doesn't cause an implicit copying of data into a new
Image (rather, it uses the pixels from the 'mmap()'ed buffer), then I can
try that.

Thanks,
Demian

-- 
 Demian M. Nave              | dnave at psc.edu        | Ph 412 268-4574
 Pgh. Supercomputing Center  | www.psc.edu/~dnave   | Fx 412 268-8200
 4400 Fifth Avenue           | "When your work speaks for itself, don't
 Pittsburgh, PA 15213        |  interrupt." - Kanin


More information about the Insight-users mailing list