IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Difference of Gaussian based Laplacian deblur 3d

3d image deblur algorithm using Laplacian kernels based on a difference of Gaussian approximation More...

IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::laplacianDoGDeblur3dImg (const image::ImageConstPtr &pInImg3d, const ipReal32 inStdDev)
 wrapper function for 3d image deblur algorithm using Laplacian kernels based on a difference of Gaussian approximation More...
 
IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::laplacianDoGDeblur3dImg (const image::ImageConstPtr &pInImg3d, const ipReal32 inStdDev, const ipReal32 inOptStdDevFactor, const attr::GaussianCoverageConstPtr &pInOptSmoothingGaussianCoverage)
 wrapper function for 3d image deblur algorithm using Laplacian kernels based on a difference of Gaussian approximation More...
 
IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::laplacianDoGDeblur3dImg (const image::ImageConstPtr &pInImg3d, const ipReal32 inStdDev, const ipReal32 inOptStdDevFactor, const attr::GaussianCoverageConstPtr &pInOptSmoothingGaussianCoverage, const image::ImagePtr &pOutImg)
 wrapper function for 3d image deblur algorithm using Laplacian kernels based on a difference of Gaussian approximation More...
 

Detailed Description

3d image deblur algorithm using Laplacian kernels based on a difference of Gaussian approximation

Three dimensional image deblur algorithm based on an approximation of the Laplacian filtering. This algorithm is based on the same principle than the Difference of Gaussian based Laplacian deblur 2d.

See Difference of Gaussian based Laplacian deblur 2d for an illustration of a deblurred 2d image.

Attributes description

Attribute description for algorithm :

Name ToolTip Default Initializer
ipsdk::imaproc::attr::InImg3d [Input] 3d image for operation X
ipsdk::imaproc::attr::InStdDev [Input] standard deviation used for operation along all axis X
ipsdk::imaproc::attr::InOptStdDevFactor [Input Optional] factor applied on standard deviation for laplacian difference of gaussian computation X
ipsdk::imaproc::attr::InOptSmoothingGaussianCoverage [Input Optional] Parameter allowing to specify a gaussian distribution coverage for processing X
ipsdk::imaproc::attr::OutImg [Output] image for processing operation ipsdk::imaproc::duplicateInOut (_pOutImg, _pInImg3d)
ipsdk::imaproc::attr::OutWk1Img [Output] Temporary working image for algorithm ipsdk::imaproc::promoteUnary (_pOutWk1Img, _pInImg3d, ePromoteUnaryType::ePUT_UpperSigned)

Global Rule description

Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg3d,_pOutWk1Img) && 
ipsdk::imaproc::matchSizeAndType (_pInImg3d,_pOutImg) && 
ipsdk::imaproc::noInSitu (_pInImg3d,_pOutWk1Img) && 
ipsdk::imaproc::noInSitu (_pOutImg,_pOutWk1Img)

Example of Python code :

Example imports

import PyIPSDK
import PyIPSDK.IPSDKIPLFiltering as filter

Code Example

# opening of input images
inImg = PyIPSDK.loadTiffImageFile(inputImgPath)
# laplacian difference of gaussian deblur filter 3d computation
outImg = filter.laplacianDoGDeblur3dImg(inImg, 1.5)

Example of C++ code :

Example informations

Associated library

IPSDKIPLFiltering

Header file

Code Example

// opening input image
ImagePtr pInImg = loadTiffImageFile(inputImgPath);
// compute laplacian based deblurring on input image
ImagePtr pOutImg = laplacianDoGDeblur3dImg(pInImg, 0.9f);
See also
LaplacianDoGDeblur3dImgLvl1

Function Documentation

◆ laplacianDoGDeblur3dImg() [1/3]

IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::laplacianDoGDeblur3dImg ( const image::ImageConstPtr pInImg3d,
const ipReal32  inStdDev 
)

wrapper function for 3d image deblur algorithm using Laplacian kernels based on a difference of Gaussian approximation

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure

◆ laplacianDoGDeblur3dImg() [2/3]

IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::laplacianDoGDeblur3dImg ( const image::ImageConstPtr pInImg3d,
const ipReal32  inStdDev,
const ipReal32  inOptStdDevFactor,
const attr::GaussianCoverageConstPtr pInOptSmoothingGaussianCoverage 
)

wrapper function for 3d image deblur algorithm using Laplacian kernels based on a difference of Gaussian approximation

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure

◆ laplacianDoGDeblur3dImg() [3/3]

IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::laplacianDoGDeblur3dImg ( const image::ImageConstPtr pInImg3d,
const ipReal32  inStdDev,
const ipReal32  inOptStdDevFactor,
const attr::GaussianCoverageConstPtr pInOptSmoothingGaussianCoverage,
const image::ImagePtr pOutImg 
)

wrapper function for 3d image deblur algorithm using Laplacian kernels based on a difference of Gaussian approximation

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionon failure