|
CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
|
Classes | |
| interface | IOperation |
| Abstract base class for all image processing algorithms. More... | |
| interface | IOperationFusionLogic |
| Interface for providing the Halide fusion logic of an operation. More... | |
| interface | ISingleOperation |
| Abstract base class for all single image processing algorithms. More... | |
| class | OperationBlacks |
| Adjusts the black point of an image region. More... | |
| class | OperationBrightness |
| Adjusts the brightness of an image region. More... | |
| class | OperationContrast |
| Adjusts the contrast of an image region. More... | |
| struct | OperationDescriptor |
| A universal container for operation settings with unique identifier. More... | |
| class | OperationFactory |
| Factory Pattern - creates operations from OperationDescriptor. More... | |
| class | OperationHighlights |
| Adjusts the highlight tones of an image region. More... | |
| struct | OperationRanges |
| Centralized definition of value ranges and default values for different operations using consteval. This struct provides consteval functions for the valid input ranges (minimum and maximum) and the default value for various image operations, ensuring consistency and compile-time evaluation. These values represent the logical constraints of the operations within the core engine. More... | |
| class | OperationRegistry |
| Manages registration of all available operations. More... | |
| class | OperationShadows |
| Adjusts the shadow tones of an image region. More... | |
| class | OperationWhites |
| Adjusts the white point of an image region. More... | |
Typedefs | |
| using | OperationValue = std::variant<float, int, bool, std::string> |
| Supported types for operation parameters. Using variant instead of std::any for compile-time type safety and performance. | |
Enumerations | |
| enum class | OperationType : uint8_t { Exposure , Brightness , Contrast , Highlights , Shadows , Whites , Blacks , Saturation } |
| Identifies the type of an image processing operation. More... | |
Functions | |
| template<typename InputType > | |
| Halide::Func | applyBlacksAdjustment (const InputType &input, const Halide::Param< float > ¶m_blacks, const Halide::Var &x, const Halide::Var &y, const Halide::Var &c) |
| template<typename InputType > | |
| Halide::Func | applyBrightnessAdjustment (const InputType &input, const Halide::Param< float > ¶m_brightness, const Halide::Var &x, const Halide::Var &y, const Halide::Var &c) |
| template<typename InputType > | |
| Halide::Func | applyContrastAdjustment (const InputType &input, const Halide::Param< float > ¶m_contrast, const Halide::Var &x, const Halide::Var &y, const Halide::Var &c) |
| template<typename InputType > | |
| Halide::Func | applyHighlightsAdjustment (const InputType &input, const Halide::Param< float > ¶m_highlights, const Halide::Var &x, const Halide::Var &y, const Halide::Var &c) |
| template<typename InputType > | |
| Halide::Func | applyShadowsAdjustment (const InputType &input, const Halide::Param< float > ¶m_shadows, const Halide::Var &x, const Halide::Var &y, const Halide::Var &c) |
| template<typename InputType > | |
| Halide::Func | applyWhitesAdjustment (const InputType &input, const Halide::Param< float > ¶m_whites, const Halide::Var &x, const Halide::Var &y, const Halide::Var &c) |
| using CaptureMoment::Core::Operations::OperationValue = std::variant<float, int, bool, std::string> |
Supported types for operation parameters. Using variant instead of std::any for compile-time type safety and performance.
Definition at line 28 of file operation_descriptor.h.
|
strong |
Identifies the type of an image processing operation.
Definition at line 21 of file operation_type.h.
| Halide::Func CaptureMoment::Core::Operations::applyBlacksAdjustment | ( | const InputType & | input, |
| const Halide::Param< float > & | param_blacks, | ||
| const Halide::Var & | x, | ||
| const Halide::Var & | y, | ||
| const Halide::Var & | c ) |
Definition at line 15 of file operation_blacks.cpp.
References CaptureMoment::Core::Operations::OperationBlacks::MAX_BLACKS_VALUE, and CaptureMoment::Core::Operations::OperationBlacks::MIN_BLACKS_VALUE.
Referenced by CaptureMoment::Core::Operations::OperationBlacks::appendToFusedPipeline().
| Halide::Func CaptureMoment::Core::Operations::applyBrightnessAdjustment | ( | const InputType & | input, |
| const Halide::Param< float > & | param_brightness, | ||
| const Halide::Var & | x, | ||
| const Halide::Var & | y, | ||
| const Halide::Var & | c ) |
Definition at line 15 of file operation_brightness.cpp.
References CaptureMoment::Core::Operations::OperationBrightness::MAX_BRIGHTNESS_VALUE, and CaptureMoment::Core::Operations::OperationBrightness::MIN_BRIGHTNESS_VALUE.
Referenced by CaptureMoment::Core::Operations::OperationBrightness::appendToFusedPipeline().
| Halide::Func CaptureMoment::Core::Operations::applyContrastAdjustment | ( | const InputType & | input, |
| const Halide::Param< float > & | param_contrast, | ||
| const Halide::Var & | x, | ||
| const Halide::Var & | y, | ||
| const Halide::Var & | c ) |
Definition at line 15 of file operation_constrast.cpp.
References CaptureMoment::Core::Operations::OperationContrast::MAX_CONTRAST_VALUE, and CaptureMoment::Core::Operations::OperationContrast::MIN_CONTRAST_VALUE.
Referenced by CaptureMoment::Core::Operations::OperationContrast::appendToFusedPipeline().
| Halide::Func CaptureMoment::Core::Operations::applyHighlightsAdjustment | ( | const InputType & | input, |
| const Halide::Param< float > & | param_highlights, | ||
| const Halide::Var & | x, | ||
| const Halide::Var & | y, | ||
| const Halide::Var & | c ) |
Definition at line 15 of file operation_highlights.cpp.
References CaptureMoment::Core::Operations::OperationHighlights::MAX_HIGHLIGHTS_VALUE, and CaptureMoment::Core::Operations::OperationHighlights::MIN_HIGHLIGHTS_VALUE.
Referenced by CaptureMoment::Core::Operations::OperationHighlights::appendToFusedPipeline().
| Halide::Func CaptureMoment::Core::Operations::applyShadowsAdjustment | ( | const InputType & | input, |
| const Halide::Param< float > & | param_shadows, | ||
| const Halide::Var & | x, | ||
| const Halide::Var & | y, | ||
| const Halide::Var & | c ) |
Definition at line 15 of file operation_shadows.cpp.
References CaptureMoment::Core::Operations::OperationShadows::MAX_SHADOWS_VALUE, and CaptureMoment::Core::Operations::OperationShadows::MIN_SHADOWS_VALUE.
Referenced by CaptureMoment::Core::Operations::OperationShadows::appendToFusedPipeline().
| Halide::Func CaptureMoment::Core::Operations::applyWhitesAdjustment | ( | const InputType & | input, |
| const Halide::Param< float > & | param_whites, | ||
| const Halide::Var & | x, | ||
| const Halide::Var & | y, | ||
| const Halide::Var & | c ) |
Definition at line 15 of file operation_whites.cpp.
References CaptureMoment::Core::Operations::OperationWhites::MAX_WHITES_VALUE, and CaptureMoment::Core::Operations::OperationWhites::MIN_WHITES_VALUE.
Referenced by CaptureMoment::Core::Operations::OperationWhites::appendToFusedPipeline().