iVS3D v2.0.0
Loading...
Searching...
No Matches
BlurLaplacian Class Reference

The BlurLaplacian class calulates blur values based on a algotihm using the Laplacian filter https://www.researchgate.net/publication/234073157_Analysis_of_focus_measure_operators_in_shape-from-focus The OpenCV implementation is provided by https://stackoverflow.com/a/7768918. More...

#include <blurlaplacian.h>

Inheritance diagram for BlurLaplacian:
BlurAlgorithm

Public Member Functions

 BlurLaplacian ()
 BlurLaplacian standard constructor.
 
QString getName () override
 getName Returns the algorithm name
 
- Public Member Functions inherited from BlurAlgorithm
double calcOneBluriness (Reader *images, int index)
 calcOneBluriness calculates blur meassure for one image specified by index.
 
std::vector< double > calcFullBluriness (Reader *images, Progressable *reciever, volatile bool *stopped, std::vector< uint > idxList, std::vector< double > blurValues)
 calcFullBluriness calculates blur meassures for all images within the given range.
 

Protected Member Functions

double singleCalculation (const cv::Mat &image) override
 singleCalculation This functions implements the actual blur algortihm
 

Detailed Description

The BlurLaplacian class calulates blur values based on a algotihm using the Laplacian filter https://www.researchgate.net/publication/234073157_Analysis_of_focus_measure_operators_in_shape-from-focus The OpenCV implementation is provided by https://stackoverflow.com/a/7768918.

Author
Daniel Brommer
Date
2021/02/19

Member Function Documentation

◆ getName()

QString BlurLaplacian::getName ( )
overridevirtual

getName Returns the algorithm name

Returns
"Laplacian Filter"

Implements BlurAlgorithm.

◆ singleCalculation()

double BlurLaplacian::singleCalculation ( const cv::Mat &  image)
overrideprotectedvirtual

singleCalculation This functions implements the actual blur algortihm

Parameters
imagecv::Mat of the image
Returns
Double represeting the blur of the image (higher value -> sharper image)

Implements BlurAlgorithm.


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