29 lines
655 B
C
29 lines
655 B
C
#ifndef Filters_H_INC
|
|
#define Filters_H_INC
|
|
|
|
|
|
#include "common/Array.h"
|
|
|
|
|
|
/*!
|
|
* @brief Filter image
|
|
* @details This routine performs a median filter
|
|
* @param[in] Input Input image
|
|
* @param[out] Output Output image
|
|
*/
|
|
void Med3D( const Array<float> &Input, Array<float> &Output );
|
|
|
|
|
|
/*!
|
|
* @brief Filter image
|
|
* @details This routine performs a non-linear local means filter
|
|
* @param[in] Input Input image
|
|
* @param[in] Mean Mean value
|
|
* @param[out] Output Output image
|
|
*/
|
|
int NLM3D( const Array<float> &Input, Array<float> &Mean,
|
|
const Array<float> &Distance, Array<float> &Output, const int d, const float h);
|
|
|
|
|
|
#endif
|