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

The BlurSobel class calulates blur values using the sobel operator. It calulates the blur values based on the Tenengrad algotihm using the sobel operator 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 <blursobel.h>

Inheritance diagram for BlurSobel:
BlurAlgorithm

Public Member Functions

 BlurSobel ()
 BlurSobel 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 BlurSobel class calulates blur values using the sobel operator. It calulates the blur values based on the Tenengrad algotihm using the sobel operator 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 BlurSobel::getName ( )
overridevirtual

getName returns the algorithm name.

Returns
"Sobel Operator"

Implements BlurAlgorithm.

◆ singleCalculation()

double BlurSobel::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: