mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Implement the correct Brightness/Contrast node algorithm (#1130)
Implement correct brightness/contrast algorithm
This commit is contained in:
@@ -4,7 +4,7 @@ use graphene_core::raster::{Color, ImageFrame};
|
||||
use graphene_core::Node;
|
||||
|
||||
/// The `GenerateQuantizationNode` encodes the brightness of each channel of the image as an integer number
|
||||
/// sepified by the samples parameter. This node is used to asses the loss of visual information when
|
||||
/// signified by the samples parameter. This node is used to asses the loss of visual information when
|
||||
/// quantizing the image using different fit functions.
|
||||
pub struct GenerateQuantizationNode<N, M> {
|
||||
samples: N,
|
||||
|
||||
Reference in New Issue
Block a user