Lines Matching refs:dest_im

19   vil_image_view<double> dest_im;  in test_resample_bicub_byte()  local
33 vil_resample_bicub(image0, dest_im, x0, y0, dx1, dy1, dx2, dy2, 4, 3); in test_resample_bicub_byte()
34 TEST("Width", dest_im.ni(), 4); in test_resample_bicub_byte()
35 TEST("Height", dest_im.nj(), 3); in test_resample_bicub_byte()
36 TEST_NEAR("dest(0,0)", dest_im(0, 0), 55, 1e-6); in test_resample_bicub_byte()
37 TEST_NEAR("dest(0,2)", dest_im(0, 2), 75, 1e-6); in test_resample_bicub_byte()
38 TEST_NEAR("dest(3,2)", dest_im(3, 2), 78, 1e-6); in test_resample_bicub_byte()
40 vil_resample_bicub(image0, dest_im, x0, y0, dx2, dy2, dx1, dy1, 4, 3); in test_resample_bicub_byte()
41 TEST_NEAR("dest(0,0)", dest_im(0, 0), 55, 1e-6); in test_resample_bicub_byte()
42 TEST_NEAR("dest(0,2)", dest_im(0, 2), 57, 1e-6); in test_resample_bicub_byte()
43 TEST_NEAR("dest(3,2)", dest_im(3, 2), 87, 1e-6); in test_resample_bicub_byte()
47 vil_resample_bicub(image0, dest_im, x0, y0, dx1, dy1, dx2, dy2, 4, 3); in test_resample_bicub_byte()
48 TEST_NEAR("dest_im(0,0)", dest_im(0, 0), 58, 1e-6); in test_resample_bicub_byte()
49 TEST_NEAR("dest_im(3,2)", dest_im(3, 2), 0, 1e-6); in test_resample_bicub_byte()
53 vil_resample_bicub_edge_extend(image0, dest_im, x0, y0, dx1, dy1, dx2, dy2, 4, 3); in test_resample_bicub_byte()
54 TEST_NEAR("dest_im(0,0)", dest_im(0, 0), 58, 1e-6); in test_resample_bicub_byte()
55 TEST_NEAR("dest_im(3,2)", dest_im(3, 2), 79, 1e-6); in test_resample_bicub_byte()
67 vil_resample_bicub(image0, dest_im, x0, y0, dx1, dy1, dx2, dy2, 4, 3); in test_resample_bicub_byte()
68 TEST("Width", dest_im.ni(), 4); in test_resample_bicub_byte()
69 TEST("Height", dest_im.nj(), 3); in test_resample_bicub_byte()
70 TEST("nplanes", dest_im.nplanes(), 2); in test_resample_bicub_byte()
71 TEST_NEAR("dest_im(0,0,0)", dest_im(0, 0, 0), 55, 1e-6); in test_resample_bicub_byte()
72 TEST_NEAR("dest_im(0,0,1)", dest_im(0, 0, 1), 155, 1e-6); in test_resample_bicub_byte()
73 TEST_NEAR("dest_im(1,0,0)", dest_im(1, 0, 0), 56, 1e-6); in test_resample_bicub_byte()
74 TEST_NEAR("dest_im(1,2,0)", dest_im(1, 2, 0), 76, 1e-6); in test_resample_bicub_byte()
75 TEST_NEAR("dest_im(3,2,1)", dest_im(3, 2, 1), 178, 1e-6); in test_resample_bicub_byte()
79 vil_resample_bicub(image0, dest_im, x0, y0, dx1, dy1, dx2, dy2, 4, 3); in test_resample_bicub_byte()
80 TEST_NEAR("dest_im(0,0,0)", dest_im(0, 0, 0), 55.5, 1e-6); in test_resample_bicub_byte()
81 TEST_NEAR("dest_im(0,0,1)", dest_im(0, 0, 1), 155.5, 1e-6); in test_resample_bicub_byte()
82 TEST_NEAR("dest_im(1,0,0)", dest_im(1, 0, 0), 56.5, 1e-6); in test_resample_bicub_byte()
83 TEST_NEAR("dest_im(1,2,0)", dest_im(1, 2, 0), 76.5, 1e-6); in test_resample_bicub_byte()
84 TEST_NEAR("dest_im(2,2,1)", dest_im(2, 2, 1), 177.5, 1e-6); in test_resample_bicub_byte()
88 vil_resample_bicub(image0, dest_im, x0, y0, dx1, dy1, dx2, dy2, 4, 3); in test_resample_bicub_byte()
89 TEST_NEAR("dest_im(0,0,0)", dest_im(0, 0, 0), 58, 1e-6); in test_resample_bicub_byte()
90 TEST_NEAR("dest_im(3,2,1)", dest_im(3, 2, 1), 0, 1e-6); in test_resample_bicub_byte()
94 vil_resample_bicub_edge_extend(image0, dest_im, x0, y0, dx1, dy1, dx2, dy2, 4, 3); in test_resample_bicub_byte()
95 TEST_NEAR("dest_im(0,0,0)", dest_im(0, 0, 0), 58, 1e-6); in test_resample_bicub_byte()
96 TEST_NEAR("dest_im(3,2,1)", dest_im(3, 2, 1), 179, 1e-6); in test_resample_bicub_byte()