#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
Main MultiArray class containing the memory management.
Definition: multi_array.hxx:2477
image import and export functions