iPiano
An implementation of the iPiano algorithms for non-convex and non-smooth optimization.
 All Classes Functions Variables
Static Public Member Functions | List of all members
Functionals::Denoising::Noise Class Reference

Generate noisy images. More...

#include <functionals.h>

Static Public Member Functions

static void addGaussianAdditive (const Eigen::MatrixXf &image, float sigma, Eigen::MatrixXf &noisy_image)
 Add additive Gaussian noise. More...
 
static void addSaltPepper (const Eigen::MatrixXf &image, float p, Eigen::MatrixXf &noisy_image)
 Add salt and pepper noise. More...
 

Detailed Description

Generate noisy images.

Member Function Documentation

void Functionals::Denoising::Noise::addGaussianAdditive ( const Eigen::MatrixXf &  image,
float  sigma,
Eigen::MatrixXf &  noisy_image 
)
static

Add additive Gaussian noise.

Parameters
[in]image
[in]sigma
[out]noisy_image
void Functionals::Denoising::Noise::addSaltPepper ( const Eigen::MatrixXf &  image,
float  p,
Eigen::MatrixXf &  noisy_image 
)
static

Add salt and pepper noise.

Parameters
[in]image
[in]p
[out]noisy_image

The documentation for this class was generated from the following file: