/third_party/boost/libs/gil/test/extension/io/ |
D | png_read_test.cpp | 77 BOOST_CHECK( equal_pixels( const_view( src ) in test_file() 78 , const_view( dst ) in test_file() 150 BOOST_TEST(const_view(img).front() == gray_alpha8c_pixel_t(255, 0)); in BOOST_AUTO_TEST_CASE() 151 BOOST_TEST(const_view(img)[78] == gray_alpha8c_pixel_t(221, 255)); in BOOST_AUTO_TEST_CASE() 152 BOOST_TEST(const_view(img)[79] == gray_alpha8c_pixel_t(204, 255)); in BOOST_AUTO_TEST_CASE() 153 BOOST_TEST(const_view(img)[975] == gray_alpha8c_pixel_t(238, 255)); in BOOST_AUTO_TEST_CASE() 154 BOOST_TEST(const_view(img)[976] == gray_alpha8c_pixel_t(221, 255)); in BOOST_AUTO_TEST_CASE() 155 BOOST_TEST(const_view(img).back() == gray_alpha8c_pixel_t(255, 0)); in BOOST_AUTO_TEST_CASE() 172 BOOST_TEST(const_view(img).front() == gray_alpha16c_pixel_t(65535, 0)); in BOOST_AUTO_TEST_CASE() 173 BOOST_TEST(const_view(img)[78] == gray_alpha16c_pixel_t(58339, 65535)); in BOOST_AUTO_TEST_CASE() [all …]
|
D | tiff_tiled_float_test.cpp | 36 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE() 49 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE() 62 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE() 75 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE() 88 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE() 101 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE()
|
D | tiff_subimage_test.cpp | 52 BOOST_CHECK( equal_pixels( const_view( img1 ), const_view( img2 ))); \ 53 … BOOST_CHECK( equal_pixels( const_view( img1 ), subimage_view( view( img3 ), top_left, dim ))); \ 79 BOOST_CHECK( equal_pixels( const_view( img1 ), const_view( img2 ))); in BOOST_AUTO_TEST_CASE() 80 BOOST_CHECK( equal_pixels( const_view( img1 ), subimage_view( view( img3 ), top_left, dim ))); in BOOST_AUTO_TEST_CASE() 96 BOOST_CHECK( equal_pixels( const_view( img1 ), const_view( img2 ))); in BOOST_AUTO_TEST_CASE() 97 BOOST_CHECK( equal_pixels( const_view( img1 ), subimage_view( view( img3 ), top_left, dim ))); in BOOST_AUTO_TEST_CASE() 114 BOOST_CHECK( equal_pixels( const_view( img1 ), const_view( img2 ))); in BOOST_AUTO_TEST_CASE() 115 BOOST_CHECK( equal_pixels( const_view( img1 ), subimage_view( view( img3 ), top_left, dim ))); in BOOST_AUTO_TEST_CASE()
|
D | tiff_tiled_read_macros.hpp | 57 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); \ 77 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); \ 97 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); \
|
D | tiff_tiled_rgb_planar_test_21-31_32_64.cpp | 34 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE() 52 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE()
|
D | tiff_tiled_rgb_contig_test_21-31_32_64.cpp | 34 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE() 52 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE()
|
D | tiff_tiled_minisblack_test_21-31_32-64.cpp | 35 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE() 53 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_tile) ), true); in BOOST_AUTO_TEST_CASE()
|
D | tiff_tiled_minisblack_write_test_21-31_32-64.cpp | 40 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_saved) ), true); in BOOST_AUTO_TEST_CASE() 65 BOOST_CHECK_EQUAL( equal_pixels( const_view(img_strip), const_view(img_saved) ), true); in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/gil/test/extension/io/png/ |
D | png_read_test.cpp | 57 BOOST_TEST(gil::equal_pixels(gil::const_view(src), gil::const_view(dst))); in test_file() 119 BOOST_TEST_EQ(const_view(img).front(), gray_alpha8c_pixel_t(255, 0)); in test_read_with_trns_chunk_color_type_0() 120 BOOST_TEST_EQ(const_view(img)[78], gray_alpha8c_pixel_t(221, 255)); in test_read_with_trns_chunk_color_type_0() 121 BOOST_TEST_EQ(const_view(img)[79], gray_alpha8c_pixel_t(204, 255)); in test_read_with_trns_chunk_color_type_0() 122 BOOST_TEST_EQ(const_view(img)[975], gray_alpha8c_pixel_t(238, 255)); in test_read_with_trns_chunk_color_type_0() 123 BOOST_TEST_EQ(const_view(img)[976], gray_alpha8c_pixel_t(221, 255)); in test_read_with_trns_chunk_color_type_0() 124 BOOST_TEST_EQ(const_view(img).back(), gray_alpha8c_pixel_t(255, 0)); in test_read_with_trns_chunk_color_type_0() 141 BOOST_TEST_EQ(const_view(img).front(), gray_alpha16c_pixel_t(65535, 0)); in test_read_with_trns_chunk_color_type_0() 142 BOOST_TEST_EQ(const_view(img)[78], gray_alpha16c_pixel_t(58339, 65535)); in test_read_with_trns_chunk_color_type_0() 143 BOOST_TEST_EQ(const_view(img)[79], gray_alpha16c_pixel_t(51657, 65535)); in test_read_with_trns_chunk_color_type_0() [all …]
|
/third_party/boost/libs/gil/test/extension/numeric/ |
D | convolve.cpp | 35 gil::detail::convolve_1d<pixel_t>(gil::const_view(img_out), kernel, gil::view(img_out)); in operator ()() 38 BOOST_TEST(gil::const_view(img).front() == gil::const_view(img_out).front()); in operator ()() 58 gil::detail::convolve_1d<pixel_t>(gil::const_view(img_out), kernel, gil::view(img_out)); in operator ()() 60 BOOST_TEST(gil::const_view(img).front() == gil::const_view(img_out).front()); in operator ()() 80 gil::detail::convolve_1d<pixel_t>(gil::const_view(img_out), kernel, gil::view(img_out)); in operator ()() 82 BOOST_TEST(gil::equal_pixels(gil::const_view(img), gil::const_view(img_out))); in operator ()() 102 gil::detail::convolve_1d<pixel_t>(gil::const_view(img_out), kernel, gil::view(img_out)); in operator ()() 105 BOOST_TEST(gil::equal_pixels(gil::const_view(img), gil::const_view(img_out))); in operator ()()
|
D | convolve_cols.cpp | 34 gil::convolve_cols<pixel_t>(const_view(img), kernel, view(img_out)); in operator ()() 37 BOOST_TEST(gil::const_view(img).front() == gil::const_view(img_out).front()); in operator ()() 57 gil::convolve_cols<pixel_t>(const_view(img), kernel, view(img_out)); in operator ()() 59 BOOST_TEST(gil::const_view(img).front() == gil::const_view(img_out).front()); in operator ()()
|
D | convolve_rows.cpp | 34 gil::convolve_rows<pixel_t>(const_view(img), kernel, view(img_out)); in operator ()() 37 BOOST_TEST(gil::const_view(img).front() == gil::const_view(img_out).front()); in operator ()() 57 gil::convolve_rows<pixel_t>(const_view(img), kernel, view(img_out)); in operator ()() 59 BOOST_TEST(gil::const_view(img).front() == gil::const_view(img_out).front()); in operator ()()
|
/third_party/boost/libs/gil/test/extension/io/tiff/ |
D | tiff_subimage_test.cpp | 50 BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::const_view(img2))); \ 52 gil::const_view(img1), gil::subimage_view(gil::view(img3), top_left, dim))); \ 75 BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::const_view(img2))); in test_subimage_test_8() 76 …BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::subimage_view(gil::view(img3), top_left, … in test_subimage_test_8() 91 BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::const_view(img2))); in test_subimage_test_16() 92 …BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::subimage_view(gil::view(img3), top_left, … in test_subimage_test_16() 109 BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::const_view(img2))); in test_subimage_test_32() 110 …BOOST_TEST(gil::equal_pixels(gil::const_view(img1), gil::subimage_view(gil::view(img3), top_left, … in test_subimage_test_32()
|
D | tiff_tiled_float_test.cpp | 30 BOOST_TEST(gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile))); in test_read_minisblack_float_tile_and_strip32() 55 BOOST_TEST(gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile))); in test_read_rgb_float_tile_and_strip_planar32() 67 BOOST_TEST(gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile))); in test_read_rgb_float_tile_and_strip_contig32()
|
D | tiff_tiled_read_macros.hpp | 59 gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile)), true); \ 83 gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile)), true); \ 107 gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile)), true); \
|
D | tiff_tiled_minisblack_test_21-31_32-64.cpp | 35 BOOST_TEST_EQ(gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile)), true); in test_read_tile_and_compare_with_minisblack_strip_32() 49 BOOST_TEST_EQ(gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile)), true); in test_read_tile_and_compare_with_minisblack_strip_64()
|
D | tiff_tiled_rgb_contig_test_21-31_32_64.cpp | 36 BOOST_TEST(gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile))); in test_read_tile_and_compare_with_rgb_contig_strip_32() 50 BOOST_TEST(gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile))); in test_read_tile_and_compare_with_rgb_contig_strip_64()
|
D | tiff_tiled_rgb_planar_test_21-31_32_64.cpp | 36 BOOST_TEST(gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile))); in test_read_tile_and_compare_with_rgb_planar_strip_32() 50 BOOST_TEST(gil::equal_pixels(gil::const_view(img_strip), gil::const_view(img_tile))); in test_read_tile_and_compare_with_rgb_planar_strip_64()
|
/third_party/boost/libs/gil/test/core/image_view/ |
D | subimage_view.cpp | 25 auto const v0 = gil::const_view(i0); in operator ()() 59 v0[2] = v0[3] = v0[6] = v0[7] = gil::const_view(i1)[0]; in operator ()() 62 v0[0] = v0[1] = v0[4] = v0[5] = gil::const_view(i2)[0]; in operator ()() 65 v0[8] = v0[9] = v0[12] = v0[13] = gil::const_view(i3)[0]; in operator ()() 68 v0[10] = v0[11] = v0[14] = v0[15] = gil::const_view(i4)[0]; in operator ()() 71 BOOST_TEST(gil::equal_pixels(v1, gil::const_view(i1))); in operator ()() 73 BOOST_TEST(gil::equal_pixels(v2, gil::const_view(i2))); in operator ()() 75 BOOST_TEST(gil::equal_pixels(v3, gil::const_view(i3))); in operator ()() 77 BOOST_TEST(gil::equal_pixels(v4, gil::const_view(i4))); in operator ()()
|
/third_party/boost/libs/gil/test/extension/dynamic_image/ |
D | subimage_view.cpp | 27 auto const v0 = gil::const_view(i0); in operator ()() 64 … gil::apply_operation(v0, fixture::fill_any_view<image_t>({2, 3, 6, 7}, gil::const_view(i1)[0])); in operator ()() 67 … gil::apply_operation(v0, fixture::fill_any_view<image_t>({0, 1, 4, 5}, gil::const_view(i2)[0])); in operator ()() 70 … gil::apply_operation(v0, fixture::fill_any_view<image_t>({8, 9, 12, 13}, gil::const_view(i3)[0])); in operator ()() 73 …gil::apply_operation(v0, fixture::fill_any_view<image_t>({10, 11, 14, 15}, gil::const_view(i4)[0])… in operator ()() 76 BOOST_TEST(gil::equal_pixels(v1, gil::const_view(i1))); in operator ()() 78 BOOST_TEST(gil::equal_pixels(v2, gil::const_view(i2))); in operator ()() 80 BOOST_TEST(gil::equal_pixels(v3, gil::const_view(i3))); in operator ()() 82 BOOST_TEST(gil::equal_pixels(v4, gil::const_view(i4))); in operator ()()
|
/third_party/boost/libs/gil/doc/html/_downloads/ |
D | packed_pixel.cpp | 42 copy_and_convert_pixels(const_view(img),view(bgr772_img)); in main() 45 …d_pixel_bgr772.jpg",color_converted_view<bgr8_pixel_t>(transposed_view(const_view(bgr772_img))), j… in main() 53 copy_and_convert_pixels(const_view(img),view(gray1_img)); in main() 56 …d_pixel_gray1.jpg",color_converted_view<gray8_pixel_t>(transposed_view(const_view(gray1_img))), jp… in main()
|
D | convolution.cpp | 58 convolve_rows_fixed<rgb32f_pixel_t>(const_view(convolved),kernel,view(convolved)); in main() 59 convolve_cols_fixed<rgb32f_pixel_t>(const_view(convolved),kernel,view(convolved)); in main() 64 convolve_rows<rgb32f_pixel_t>(const_view(img),kernel2,view(img)); in main() 65 convolve_cols<rgb32f_pixel_t>(const_view(img),kernel2,view(img)); in main()
|
/third_party/boost/libs/gil/example/ |
D | packed_pixel.cpp | 42 copy_and_convert_pixels(const_view(img),view(bgr772_img)); in main() 45 …d_pixel_bgr772.jpg",color_converted_view<bgr8_pixel_t>(transposed_view(const_view(bgr772_img))), j… in main() 53 copy_and_convert_pixels(const_view(img),view(gray1_img)); in main() 56 …d_pixel_gray1.jpg",color_converted_view<gray8_pixel_t>(transposed_view(const_view(gray1_img))), jp… in main()
|
D | convolution.cpp | 58 convolve_rows_fixed<rgb32f_pixel_t>(const_view(convolved),kernel,view(convolved)); in main() 59 convolve_cols_fixed<rgb32f_pixel_t>(const_view(convolved),kernel,view(convolved)); in main() 64 convolve_rows<rgb32f_pixel_t>(const_view(img),kernel2,view(img)); in main() 65 convolve_cols<rgb32f_pixel_t>(const_view(img),kernel2,view(img)); in main()
|
D | adaptive_threshold.cpp | 20 …boost::gil::threshold_adaptive(const_view(img), view(img_out), 11, threshold_adaptive_method::mean… in main() 23 …boost::gil::threshold_adaptive(const_view(img), view(img_out), 11, threshold_adaptive_method::mean… in main() 26 …boost::gil::threshold_adaptive(const_view(img), view(img_out), 7, threshold_adaptive_method::gauss… in main() 29 …boost::gil::threshold_adaptive(const_view(img), view(img_out), 11, threshold_adaptive_method::gaus… in main()
|