4# include "../_cexports/c_foundation.h"
6# include "../global.hpp"
7# include "../image.hpp"
8# include "../exception.hpp"
42 return Internal::DoResCallObjectOut<Image>([&](
void *&resimg) {
62 return Internal::DoResCallObjectOut<Image>(
63 [&](
void *&resimg) {
return CVB_CALL_CAPI(
AddGaussNoise(image.
Handle(), mean, stdDev, seed, resimg)); });
The Common Vision Blox image.
Definition decl_image.hpp:50
void * Handle() const noexcept
Classic API image handle.
Definition decl_image.hpp:237
Namespace for collection of noise-generating functions from the Foundation package.
Definition add_noise.hpp:25
std::unique_ptr< Image > AddGaussNoise(const Image &image, double mean, double stdDev, int seed)
Add noise with Gaussian distribution to an image.
Definition add_noise.hpp:60
std::unique_ptr< Image > AddUniformNoise(const Image &image, double lowest, double highest, int seed)
Add noise with uniform distribution to an image.
Definition add_noise.hpp:40
Namespace for the Foundation package.
Definition decl_metric_aqs12_calibration_piece.hpp:11
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17