Gray8 Struct
An opaque 8-bit grayscale pixel.
public struct Gray8 : IEquatable<Gray8>- Implements
Constructors
| Name | Description |
|---|---|
| Gray8(byte) | Initializes a new instance of the Gray8 struct. |
Gray8(byte)
Gray8.csMethods
| Name | Description |
|---|---|
| Equals(Gray8) | 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()
Gray8.csToString()
Gray8.csOperators
| Name | Description |
|---|---|
| operator ==(Gray8, Gray8) | Compares two pixels for equality. |
| operator !=(Gray8, Gray8) | Compares two pixels for inequality. |
operator ==(Gray8, Gray8)
Gray8.csoperator !=(Gray8, Gray8)
Gray8.csFields
| Name | Description |
|---|---|
| Value | The gray level (0 is black, 255 is white), in the encoded (not linear) scale. |
Value
The gray level (0 is black, 255 is white), in the encoded (not linear) scale.
public byte Value