/third_party/boost/libs/gil/test/extension/numeric/ |
D | convolve.cpp | 30 image_t img_out(img); in operator ()() local 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 ()() 53 image_t img_out(img); in operator ()() local 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 ()() 77 image_t img_out(img); in operator ()() local 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 ()() 99 image_t img_out(img); in operator ()() local [all …]
|
D | convolve_cols.cpp | 29 auto img_out = fixture::create_image<image_t>(1, 1, 0); in operator ()() local 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 ()() 52 auto img_out = fixture::create_image<image_t>(1, 1, 0); in operator ()() local 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 | 29 auto img_out = fixture::create_image<image_t>(1, 1, 0); in operator ()() local 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 ()() 52 auto img_out = fixture::create_image<image_t>(1, 1, 0); in operator ()() local 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/example/ |
D | adaptive_threshold.cpp | 18 gray8_image_t img_out(img.dimensions()); in main() local 20 …boost::gil::threshold_adaptive(const_view(img), view(img_out), 11, threshold_adaptive_method::mean… in main() 21 write_view("out-threshold-adaptive-mean.png", view(img_out), png_tag{}); in main() 23 …boost::gil::threshold_adaptive(const_view(img), view(img_out), 11, threshold_adaptive_method::mean… in main() 24 write_view("out-threshold-adaptive-mean-inv.png", view(img_out), png_tag{}); in main() 26 …boost::gil::threshold_adaptive(const_view(img), view(img_out), 7, threshold_adaptive_method::gauss… in main() 27 write_view("out-threshold-adaptive-gaussian.png", view(img_out), png_tag{}); in main() 29 …boost::gil::threshold_adaptive(const_view(img), view(img_out), 11, threshold_adaptive_method::gaus… in main() 30 write_view("out-threshold-adaptive-gaussian-inv.png", view(img_out), png_tag{}); in main()
|
D | threshold.cpp | 17 rgb8_image_t img_out(img.dimensions()); in main() local 21 boost::gil::threshold_binary(const_view(img), view(img_out), 150, 255); in main() 22 write_view("out-threshold-binary.jpg", view(img_out), jpeg_tag{}); in main() 25 …boost::gil::threshold_truncate(const_view(img), view(img_out), 150, threshold_truncate_mode::thres… in main() 26 write_view("out-threshold-binary_inv.jpg", view(img_out), jpeg_tag{}); in main()
|
D | convolve2d.cpp | 18 gray8_image_t img_out(img.dimensions()), img_out1(img.dimensions()); in main() local 32 …detail::convolve_1d<gray32f_pixel_t>(const_view(img), kernel1, view(img_out), boundary_option::ext… in main() 33 write_view("out-convolve_option_extend_zero.png", view(img_out), png_tag{}); in main() 35 if (equal_pixels(view(img_out1), view(img_out)))cout << "convolve_option_extend_zero" << endl; in main()
|
D | x_gradient.cpp | 52 gray8s_image_t img_out(img.dimensions()); in main() local 53 fill_pixels(view(img_out),int8_t(0)); in main() 55 x_luminosity_gradient(const_view(img), view(img_out)); in main() 56 …write_view("out-x_gradient.jpg",color_converted_view<gray8_pixel_t>(const_view(img_out)), jpeg_tag… in main()
|
/third_party/boost/libs/gil/doc/html/_downloads/ |
D | x_gradient.cpp | 52 gray8s_image_t img_out(img.dimensions()); in main() local 53 fill_pixels(view(img_out),int8_t(0)); in main() 55 x_luminosity_gradient(const_view(img), view(img_out)); in main() 56 …write_view("out-x_gradient.jpg",color_converted_view<gray8_pixel_t>(const_view(img_out)), jpeg_tag… in main()
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_adjustgamma.py | 50 img_out = adjustgamma_op(img_in) 51 assert img_out is not None 60 img_out = adjustgamma_op(img_in) 61 assert img_out is not None 70 img_out = adjustgamma_op(img_in) 71 assert img_out is not None 80 img_out = adjustgamma_op(img_in) 81 assert img_out is not None
|