41 [[nodiscard]]
const char*
name()
const override {
return "Whites"; }
90 const Halide::Func& input_func,
94 const Halide::Param<float>& param
Interface for providing the Halide fusion logic of an operation.
Adjusts the white point of an image region.
const char * name() const override
Gets the constant name of the operation.
Halide::Func appendToFusedPipeline(const Halide::Func &input_func, const Halide::Var &x, const Halide::Var &y, const Halide::Var &c, const Halide::Param< float > ¶m) const override
Appends this operation's logic to a fused Halide pipeline. This method is used by the PipelineBuilder...
static constexpr float MIN_WHITES_VALUE
Minimum allowed whites value. Defined by OperationRanges::getWhitesMinValue().
static constexpr float MAX_WHITES_VALUE
Maximum allowed whites value. Defined by OperationRanges::getWhitesMaxValue().
OperationType type() const override
Gets the unique type identifier of the operation.
static constexpr float DEFAULT_WHITES_VALUE
Default whites value. Defined by OperationRanges::getWhitesDefaultValue().
Interface for providing the Halide fusion logic of an operation.
OperationType
Identifies the type of an image processing operation.
@ Whites
Whites adjustment. Adjusts the luminosity of the white point of the image. Increasing whites makes th...
Manages the lifecycle of a single IWorkingImage instance.
Declaration of the OperationRanges struct.
static consteval float getWhitesDefaultValue()
Gets the default value for the Whites operation.
static consteval float getWhitesMinValue()
Gets the minimum allowed value for the Whites operation.
static consteval float getWhitesMaxValue()
Gets the maximum allowed value for the Whites operation.