DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

TestObjectBlur

TestObject generation function

SYNOPSIS

#include "dip_generation.h"

dip_Error dip_TestObjectBlur ( object, psf, convolved, xNyquist, testPSF )

DATA TYPES

binary, integer, float

FUNCTION

This function blurs a testobject with a Gaussian psf, with a two dimensional in focus diffraction limited incoherent PSF or with an user-supplied PSF. The xNyquist parameter specifies the oversampling factor of the incoherent PSF and Gaussian PSF. The sigma of the Gaussian PSF is equal to 0.9 * xNyquist.

ARGUMENTS

Data typeNameDescription
dip_ImageobjectInput Object Image
dip_ImagepsfUser supplied PSF
dip_ImageconvolvedOutput Image
dip_floatxNyquistOversampling Factor
dipf_TestPSFtestPSFTestPSF

The dipf_TestPSF enumaration consists of the following flags:

NameDescription
DIP_TEST_PSF_GAUSSIANGaussian PSF
DIP_TEST_PSF_INCOHERENT_OTFin-focus, diffraction limited, incoherent PSF
DIP_TEST_PSF_USER_SUPPLIEDUser supplied PSF with the psf image
DIP_TEST_PSF_NONEno blurring

SEE ALSO

TestObjectCreate, TestObjectModulate, TestObjectAddNoise