Exemplo n.º 1
0
int main(int argc, unsigned char* argv[])
{
#ifdef NO_ASL
    //test_integral_image();
    //performance_test();
#endif

    test_resample();
    test_convolve();
    test_pixel();
 //   test_pixel_iterator();
//  test_image_io();
    test_image();
//  test_image_tiler();
    return 0;
}
Exemplo n.º 2
0
int main()
{
    int failures=0;

    printf("\n");
    failures += test_convolve();
    failures += test_decimate();
    failures += test_mse();
    failures += test_psnr();
    failures += test_ssim();
    failures += test_ms_ssim();

    if (failures)
        printf("\n\nRESULT: *** FAIL (%i) ***\n\n", failures);
    else
        printf("\n\nRESULT: Success\n\n");        

    return failures;
}