average filter namespace
More...
|
std::vector< std::vector< int32_t > > | apply_avg_filter (const std::vector< std::vector< int32_t > > &image) |
| apply_avg_filter function: applies a 3x3 average filter to passed image: image
|
|
◆ apply_avg_filter()
std::vector< std::vector< int32_t > > avg_filter::apply_avg_filter |
( |
const std::vector< std::vector< int32_t > > & | image | ) |
|
|
inline |
apply_avg_filter function: applies a 3x3 average filter to passed image: image
- Parameters
-
image(Class | Image): the input image |
- Returns
- vector<vector<int32_t> >: the resulted image after applying the average filter