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)
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:56
A structure that encapsulates an action result enumeration.
Definition: Result.h:27
Common data types and structures.
Quality estimation structure Each estimation is given in normalized [0, 1] range. Parameter meanings:...
Definition: IQualityEstimator.h:27
Subjective Quality estimation structure Each estimation is given in normalized [0, 1] range. Parameter meanings:
Definition: IQualityEstimator.h:52
Object system types and interfaces.
Base strong reference counted object interface.
Definition: IRefCounted.h:37
float getQuality() const noexcept
Definition: IQualityEstimator.h:147
virtual Result< FSDKError > estimate(const Image &warp, Quality &quality) const noexcept=0
Estimate the quality.
Image.
Definition: Image.h:38
bool isGood() const noexcept
Definition: IQualityEstimator.h:156
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:83