AlgoPlus v0.1.0
Loading...
Searching...
No Matches
avg_filter Namespace Reference

average filter namespace More...

Functions

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
 

Detailed Description

average filter namespace

Function Documentation

◆ 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(ClassImage): the input image
Returns
vector<vector<int32_t> >: the resulted image after applying the average filter