int main( void )
{
/// Read image ( same size, same type )
- src1 = imread("../images/LinuxLogo.jpg");
- src2 = imread("../images/WindowsLogo.jpg");
+ src1 = imread("../data/LinuxLogo.jpg");
+ src2 = imread("../data/WindowsLogo.jpg");
if( src1.empty() ) { printf("Error loading src1 \n"); return -1; }
if( src2.empty() ) { printf("Error loading src2 \n"); return -1; }
{ alpha = input; }
/// Read image ( same size, same type )
- src1 = imread("../images/LinuxLogo.jpg");
- src2 = imread("../images/WindowsLogo.jpg");
+ src1 = imread("../data/LinuxLogo.jpg");
+ src2 = imread("../data/WindowsLogo.jpg");
if( src1.empty() ) { std::cout<< "Error loading src1"<<std::endl; return -1; }
if( src2.empty() ) { std::cout<< "Error loading src2"<<std::endl; return -1; }
printf( " * [ESC] -> Close program \n \n" );
/// Test image - Make sure it s divisible by 2^{n}
- src = imread( "../images/chicky_512.png" );
+ src = imread( "../data/chicky_512.png" );
if( src.empty() )
{ printf(" No data! -- Exiting the program \n");
return -1; }
namedWindow( window_name, WINDOW_AUTOSIZE );
/// Load the source image
- src = imread( "../images/lena.png", 1 );
+ src = imread( "../data/lena.jpg", 1 );
if( display_caption( "Original Image" ) != 0 ) { return 0; }