Transpose an image file about major or minor axis
Usage: transpose_image_tutorial infile outfile
#include <iostream>
#include <vigra/multi_array.hxx>
#include <vigra/basicgeometry.hxx>
{
{
std::cout <<
"Usage: " <<
argv[0] <<
" infile outfile" << std::endl;
std::cout << "(grayscale images only, supported formats: " << impexListFormats() << ")" << std::endl;
return 1;
}
std::cout << "Transpose about which diagonal?\n";
std::cout << "1 - major\n";
std::cout << "2 - minor\n";
int mode;
std::cin >> mode;
try
{
if(mode == 1)
{
}
else
{
}
}
catch (std::exception & e)
{
std::cout << e.what() << std::endl;
return 1;
}
return 0;
}
Class for a single RGB value.
Definition rgbvalue.hxx:128
image import and export functions