3#include <fsdk/IObject.h>
4#include <fsdk/FSDKError.h>
5#include <fsdk/Optional.h>
10#ifndef DOXYGEN_SHOULD_SKIP_THIS
66 inline bool isGood()
const noexcept;
148 float min1 = std::min(dark, light);
149 float min2 = std::min(gray, blur);
150 return std::min(min1, min2);
157 if(!isBlurred && !isHighlighted && !isDark && !isIlluminated && !isNotSpecular)
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition Span.h:14
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition Def.h:56
float getQuality() const noexcept
Definition IQualityEstimator.h:147
bool isGood() const noexcept
Definition IQualityEstimator.h:156
SDK namespace.
Definition IAGSEstimator.h:8
Image quality estimator interface.
Definition IQualityEstimator.h:83
virtual Result< FSDKError > validate(Span< const Image > warps, Span< Result< FSDKError > > errors) const noexcept=0
Validate input of multiple frames in a single function call.
virtual Result< FSDKError > estimate(const Image &warp, Quality &quality) const noexcept=0
Estimate the quality.
virtual Result< FSDKError > estimate(const Image &warp, SubjectiveQuality &quality) const noexcept=0
Estimate the quality.
virtual Result< FSDKError > estimate(Span< const Image > warps, Span< SubjectiveQuality > quality) const noexcept=0
Estimate the subjective quality of multiple warped images in a single estimate function call.
virtual Result< FSDKError > estimate(Span< const Image > warps, Span< Quality > quality) const noexcept=0
Estimate the quality of multiple warped images in a single estimate function call.
Base strong reference counted object interface.
Definition IRefCounted.h:37
Image.
Definition Image.h:38
Quality estimation structure Each estimation is given in normalized [0, 1] range. Parameter meanings:
Definition IQualityEstimator.h:27
A structure that encapsulates an action result enumeration.
Definition Result.h:27
Subjective Quality estimation structure Each estimation is given in normalized [0,...
Definition IQualityEstimator.h:52