mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:07:34 +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
|
@ -77,6 +77,19 @@
|
|||
}
|
||||
}
|
||||
|
||||
@GUI::GroupBox {
|
||||
title: "Vectorscope"
|
||||
min_height: 80
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [6]
|
||||
}
|
||||
|
||||
@PixelPaint::VectorscopeWidget {
|
||||
name: "vectorscope_widget"
|
||||
preferred_height: "fit"
|
||||
}
|
||||
}
|
||||
|
||||
@PixelPaint::ToolPropertiesWidget {
|
||||
name: "tool_properties_widget"
|
||||
max_height: 144
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue