Gray16 Struct
An opaque 16-bit grayscale pixel, stored in native endianness.
public struct Gray16 : IEquatable<Gray16>- Implements
Constructors
| Name | Description |
|---|---|
| Gray16(ushort) | Initializes a new instance of the Gray16 struct. |
Gray16(ushort)
Gray16.csMethods
| Name | Description |
|---|---|
| Equals(Gray16) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Indicates whether this instance and a specified object are equal. |
| GetHashCode() | Returns the hash code for this instance. |
| ToString() | Returns the fully qualified type name of this instance. |
GetHashCode()
Gray16.csToString()
Gray16.csOperators
| Name | Description |
|---|---|
| operator ==(Gray16, Gray16) | Compares two pixels for equality. |
| operator !=(Gray16, Gray16) | Compares two pixels for inequality. |
operator ==(Gray16, Gray16)
Gray16.csoperator !=(Gray16, Gray16)
Gray16.csFields
| Name | Description |
|---|---|
| Value | The gray level (0 is black, 65535 is white), in the encoded (not linear) scale. |
Value
The gray level (0 is black, 65535 is white), in the encoded (not linear) scale.
public ushort Value