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>
|
|
| BlurLaplacian () |
| | BlurLaplacian 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 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
◆ 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
-
| 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/blurlaplacian.h
- iVS3D/src/iVS3D-blurPlugin/blurlaplacian.cpp