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>
|
|
| BlurSobel () |
| | BlurSobel standard constructor.
|
| |
| QString | getName () override |
| | getName returns the algorithm name.
|
| |
| 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.
|
| |
|
| double | singleCalculation (const cv::Mat &image) override |
| | singleCalculation This functions implements the actual blur algortihm
|
| |
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
◆ 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
-
| image | cv::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:
- iVS3D/src/iVS3D-blurPlugin/blursobel.h
- iVS3D/src/iVS3D-blurPlugin/blursobel.cpp