1
Fork 0
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:
kleines Filmröllchen 2022-08-17 12:18:16 +02:00 committed by Linus Groh
parent f9b08272db
commit c1c2e6f7d7
6 changed files with 295 additions and 0 deletions

View file

@ -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