Le 11/05/13 17:23, David Coeurjolly a écrit :
> In src/DGtal/io/writers/GenericWriter.h:
>
>> +  {
>> +
>> +    /**
>> +     * Write a volume image file.
>> +     *
>> +     **/
>> +
>> +    static bool exporT(const std::string &filename, const TContainer &anImage,
>> +		       const TFunctor & aFunctor = TFunctor() )  throw(DGtal::IOException);
>> +
>> +  };
>> +
>> +
>> +  /**
>> +   *  'operator>>' for exporting an ImageContainerBySTLVector.
>> +   *  This operator automatically selects the good method according to
>
> It could be important if for example you want to export a sub-image (or
> a slice) of an image using an ImageAdapter on a container.
>
Yes but I don't see other solution else than doing something with 
"Image" object:
  (DGtal::Image<Image3D>(anImportedImage) >> "toto.vol"

> Reply to this email directly or view it on GitHub
> <https://github.com/DGtal-team/DGtal/pull/599/files#r4183372>.
>