Visual component "ColorGradient"

GrossGrade

Topic:  GrossGrade for Expert > Components >

Visual component "ColorGradient"

Previous page Parent topic Next page

 

The ColorGradient component allows you to work with the curves of the dependence of different color components relative to each other.

 

Visual part

2D mode

2D mode

 

1D mode

1D mode

 

 

The position of each gradient point is adjusted with the mouse. In 2D mode, points can be located along the entire plane. In 1D mode, all points lie on a single straight line, the angle and position of which is adjusted with the mouse. To move a color point, drag its outer edge with the mouse. To change the color of a point, click on the inside of the color point to open the color selection dialog. In the same dialog, set the opacity of this gradient point.

 

Main context menu

The context menu is available by right-clicking on any free area of the component.

 

component_ColorGradient_contextmenu1_ENG

"Color points" group (available only if option "Allow edit color points" is enabled)

 

"Enabled" - enable/disable the selected group of color points.

"Select all" - select all color points.

"Add new" - add a new color point.

"Delete selected" - delete all selected points in the current gradient.

"Clear all" - delete all points in the current gradient.

 

"Dimension" group (available only if option "Allow edit color points" is enabled)

 

"1D" - turn on 1D gradient mode.

"2D" - turn on 2D gradient mode.

 

"Options" group

 

"Use HDR" - do not clamp colors by LDR range.

 

"Color space" group

 

Contains the available color spaces in which the component can operate.

 

Parameters inside the component node

Component node

component_ColorGradient_nonvisual1_ENG

 

"Contrast" parameter - contrast of the color transition between adjacent gradient points.

"Allow edit color points" option - allow the end user to edit the gradient. If you disable this option, the gradient control points are not visible.

"Show axes titles" option - enables display of axis titles.

"Show color distribution cloud" option - enables display of the image color distribution cloud.

"Show color under mouse" option - enables highlighting of the color that is currently under the mouse cursor in the image viewer.

"Affect color by opacity" option - enables the effect of point opacity on the point color (zero opacity removes the color from the gradient).

"Overlay mode" option - turn on overlay mode (similar to "overlay" layer blend mode, but works in selected internal color space).

"Constant aspect ratio" option - enable the mode for saving the square aspect ratio of the main gradient area.

 

 

Click toggle to expand/collapse hidden blockInput ports

Port name

Port type

Description

p.color

color

(replicable)

Color of the gradient point. Each replication of the port corresponds to a separate point of the gradient.

p.x

weighting function

(replicable)

Horizontal position of the gradient point. Each replication of the port corresponds to a separate point of the gradient.

p.y

weighting function

(replicable)

Vertical position of the gradient point. Each replication of the port corresponds to a separate point of the gradient.

p.opacity

weighting function

(replicable)

Opacity of the gradient point. Each replication of the port corresponds to a separate point of the gradient.

g.contrast

weighting function

Contrast of transition between neighboring color points in the gradient.

show cloud

boolean

Option to display the image color distribution cloud.

color by opacity

boolean

Enables the effect of point opacity on the point color (zero opacity removes the color from the gradient).

overlay mode

boolean

Turn on overlay mode (similar to "overlay" layer blend mode, but works in selected internal color space).

Standard ports are not listed here because these ports and their functions are equal for all components (see " Standard ports").

 

Click toggle to expand/collapse hidden blockOutput ports

Port name

Port type

Description

p.color

color

(replicable)

Color of the gradient point. Each replication of the port corresponds to a separate point of the gradient.

p.x

weighting function

(replicable)

Horizontal position of the gradient point. Each replication of the port corresponds to a separate point of the gradient.

p.y

weighting function

(replicable)

Vertical position of the gradient point. Each replication of the port corresponds to a separate point of the gradient.

p.opacity

weighting function

(replicable)

Opacity of the gradient point. Each replication of the port corresponds to a separate point of the gradient.

Standard ports are not listed here because these ports and their functions are equal for all components (see " Standard ports").

 

 


See also

Components