Searched refs:input_view (Results 1 – 4 of 4) sorted by relevance
/third_party/boost/boost/gil/image_processing/ |
D | scaling.hpp | 38 ImageView input_view, in lanczos_at() argument 66 y_i <= (std::min)(source_y + static_cast<y_coord_t>(a), input_view.height() - y_one); in lanczos_at() 70 x_i <= (std::min)(source_x + static_cast<x_coord_t>(a), input_view.width() - x_one); in lanczos_at() 78 static_transform(result_pixel, input_view(source_x, source_y), result_pixel, op); in lanczos_at() 95 void scale_lanczos(ImageView input_view, ImageView output_view, std::ptrdiff_t a) in scale_lanczos() argument 98 / static_cast<double>(input_view.width()); in scale_lanczos() 100 / static_cast<double>(input_view.height()); in scale_lanczos() 108 lanczos_at(input_view, output_view, x / scale_x, y / scale_y, x, y, a); in scale_lanczos()
|
/third_party/boost/libs/gil/example/ |
D | harris.cpp | 61 void apply_gaussian_blur(gil::gray8_view_t input_view, gil::gray8_view_t output_view) in apply_gaussian_blur() argument 76 const auto height = input_view.height(); in apply_gaussian_blur() 77 const auto width = input_view.width(); in apply_gaussian_blur() 85 if (image_x >= input_view.width() || image_x < 0 in apply_gaussian_blur() 86 || image_y >= input_view.height() || image_y < 0) { in apply_gaussian_blur() 89 auto& pixel = input_view(image_x, image_y); in apply_gaussian_blur() 163 auto input_view = gil::view(input_image); in main() local 164 auto grayscaled = to_grayscale(input_view); in main() 203 input_view(point) = gil::rgb8_pixel_t(0, 0, 0); in main() 204 input_view(point).at(std::integral_constant<int, 1>{}) = 255; in main() [all …]
|
D | hessian.cpp | 61 void apply_gaussian_blur(gil::gray8_view_t input_view, gil::gray8_view_t output_view) in apply_gaussian_blur() argument 76 const auto height = input_view.height(); in apply_gaussian_blur() 77 const auto width = input_view.width(); in apply_gaussian_blur() 89 if (image_x >= input_view.width() || image_x < 0 || in apply_gaussian_blur() 90 image_y >= input_view.height() || image_y < 0) in apply_gaussian_blur() 94 const auto& pixel = input_view(image_x, image_y); in apply_gaussian_blur() 166 auto input_view = gil::view(input_image); in main() local 167 auto grayscaled = to_grayscale(input_view); in main() 204 input_view(point) = gil::rgb8_pixel_t(0, 0, 0); in main() 205 input_view(point).at(std::integral_constant<int, 1>{}) = 255; in main() [all …]
|
/third_party/python/Lib/ |
D | subprocess.py | 1980 input_view = memoryview(self._input) 2008 chunk = input_view[self._input_offset :
|