Click or drag to resize
Accord.NET (logo) RGB Class
RGB components.
Inheritance Hierarchy
SystemObject
  Accord.ImagingRGB

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.4.0
Syntax
public class RGB
Request Example View Source

The RGB type exposes the following members.

Constructors
  NameDescription
Public methodRGB
Initializes a new instance of the RGB class.
Public methodRGB(Color)
Initializes a new instance of the RGB class.
Public methodRGB(Byte, Byte, Byte)
Initializes a new instance of the RGB class.
Public methodRGB(Byte, Byte, Byte, Byte)
Initializes a new instance of the RGB class.
Top
Properties
  NameDescription
Public propertyColor
Color value of the class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberA
Index of alpha component for ARGB images.
Public fieldAlpha
Alpha component.
Public fieldStatic memberB
Index of blue component.
Public fieldBlue
Blue component.
Public fieldStatic memberG
Index of green component.
Public fieldGreen
Green component.
Public fieldStatic memberR
Index of red component.
Public fieldRed
Red component.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by Matrix.)
Top
Remarks

The class encapsulates RGB color components.

Note Note
PixelFormat.Format24bppRgb actually means BGR format.

See Also