public void FromGray16(Gray16 source) { byte rgb = ImageMaths.DownScaleFrom16BitTo8Bit(source.PackedValue); this.R = rgb; this.G = rgb; this.B = rgb; }
public void FromGray16(Gray16 source) => this.FromScaledVector4(source.ToScaledVector4());
public void FromGray16(Gray16 source) { this.R = source.PackedValue; this.G = source.PackedValue; this.B = source.PackedValue; }