#include <vigra/multi_array.hxx>
#include <vigra/multi_math.hxx>
#include <vigra/basicgeometry.hxx>
int main (int argc, char ** argv)
{
{
exportArray.subarray(Shape2(0,0), info.
shape()) = imageArray;
}
else
{
exportArray.subarray(Shape2(0,0), info.
shape()) = imageArray;
}
return 0;
}
Argument object for the function exportImage().
Definition imageinfo.hxx:134
Argument object for the function importImage().
Definition imageinfo.hxx:391
MultiArrayShape< 2 >::type shape() const
Base class for, and view to, MultiArray.
Definition multi_array.hxx:705
Main MultiArray class containing the memory management.
Definition multi_array.hxx:2479
void exportImage(...)
Write an image to a file.
void importImage(...)
Read an image from a file.
image import and export functions
void reflectImage(...)
Reflect image horizontally or vertically.