mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
PixelPaint: Introduce a vectorscope
Vectorscopes are a standard tool in professional video/film color grading. *Very* simply, the Vectorscope shows image colors with hue as the angle and saturation as the radius; brightness for each point in the scope is determined by the number of "color vectors" at that point. More specifically, the Vectorscope shows a 2D UV histogram of the image, where U and V are the chroma ("color") channels of the image. Co-authored-by: MacDue <macdue@dueutil.tech>
This commit is contained in:
parent
f9b08272db
commit
c1c2e6f7d7
6 changed files with 295 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "ToolPropertiesWidget.h"
|
||||
#include "ToolboxWidget.h"
|
||||
#include "Tools/Tool.h"
|
||||
#include "VectorscopeWidget.h"
|
||||
#include <LibGUI/Action.h>
|
||||
#include <LibGUI/ComboBox.h>
|
||||
#include <LibGUI/Forward.h>
|
||||
|
@ -62,6 +63,7 @@ private:
|
|||
RefPtr<ToolboxWidget> m_toolbox;
|
||||
RefPtr<PaletteWidget> m_palette_widget;
|
||||
RefPtr<HistogramWidget> m_histogram_widget;
|
||||
RefPtr<VectorscopeWidget> m_vectorscope_widget;
|
||||
RefPtr<LayerListWidget> m_layer_list_widget;
|
||||
RefPtr<LayerPropertiesWidget> m_layer_properties_widget;
|
||||
RefPtr<ToolPropertiesWidget> m_tool_properties_widget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue