5 #include <fsdk/Optional.h>
10 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61 inline bool isGood()
const noexcept;
151 float min1 = std::min(dark, light);
152 float min2 = std::min(gray, blur);
153 return std::min(min1, min2);
160 if (!isBlurred && !isHighlighted && !isDark && !isIlluminated && !isNotSpecular)
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
A structure that encapsulates an action result enumeration.
Definition: Result.h:29
Common data types and structures.
Quality estimation structure Each estimation is given in normalized [0, 1] range. Parameter meanings:...
Definition: IQualityEstimator.h:22
Subjective Quality estimation structure Each estimation is given in normalized [0, 1] range. Parameter meanings:
Definition: IQualityEstimator.h:47
Object system types and interfaces.
bool isGood() const noexcept
Definition: IQualityEstimator.h:159
Base strong reference counted object interface.
Definition: IRefCounted.h:36
float getQuality() const noexcept
Definition: IQualityEstimator.h:150
virtual Result< FSDKError > estimate(const Image &warp, Quality &quality) const noexcept=0
Estimate the quality.
Image.
Definition: Image.h:38
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.
Span. Not owning data view. It incapsulated pointer to the continuous array with one or more T objec...
Definition: Span.h:14
Image quality estimator interface.
Definition: IQualityEstimator.h:77