#include <vigra/multi_array.hxx>
#include <vigra/multi_math.hxx>
#include <vigra/basicgeometry.hxx>
int main (int argc, char ** argv)
{
{
importImage(info, imageArray);
exportArray.subarray(
Shape2(0,0), info.
shape()) = imageArray;
reflectImage(imageArray, topright, vertical);
reflectImage(upperhalf, lowerhalf, horizontal);
}
else
{
importImage(info, imageArray);
exportArray.subarray(
Shape2(0,0), info.
shape()) = imageArray;
reflectImage(imageArray, topright, vertical);
reflectImage(upperhalf, lowerhalf, horizontal);
}
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, vigra::MultiArray.
Definition multi_fwd.hxx:127
Main MultiArray class containing the memory management.
Definition multi_fwd.hxx:131
Class for fixed size vectors.
Definition tinyvector.hxx:1008
image import and export functions