| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <cstddef> | ||
| 4 | #include <cstdint> | ||
| 5 | #include <string> | ||
| 6 | #include <vector> | ||
| 7 | |||
| 8 | #include "task/include/task.hpp" | ||
| 9 | |||
| 10 | namespace lopatin_a_sobel_operator { | ||
| 11 | |||
| 12 | using PixelType = std::uint8_t; | ||
| 13 | |||
| 14 |
1/2✓ Branch 1 taken 36 times.
✗ Branch 2 not taken.
|
144 | struct Image { |
| 15 | std::size_t height = 0; | ||
| 16 | std::size_t width = 0; | ||
| 17 | int threshold = 0; | ||
| 18 | std::vector<PixelType> pixels; | ||
| 19 | }; | ||
| 20 | |||
| 21 | using InType = Image; | ||
| 22 | using OutType = std::vector<int>; | ||
| 23 | using TestType = std::string; | ||
| 24 | using BaseTask = ppc::task::Task<InType, OutType>; | ||
| 25 | |||
| 26 | } // namespace lopatin_a_sobel_operator | ||
| 27 |