Emgu CV Library Documentation
Gray Class
NamespacesEmgu.CVGray

www.emgu.com/wiki
Defines a Gray color
Declaration Syntax
C#Visual BasicVisual C++
public class Gray : ColorType, IComparable
Public Class Gray _
	Inherits ColorType _
	Implements IComparable
public ref class Gray : public ColorType, 
	IComparable
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
Gray(Double)
Create a Gray color with the given intensity

Gray()()()
Create a Gray color with o intensity

_Add<(Of <(TOther>)>)(Point<(Of <(TOther>)>))
An the other point to the current point
(Inherited from Point<(Of <(T>)>).)
_Convert<(Of <(TOther>)>)(Point<(Of <(TOther>)>), Toolbox..::.Func<(Of <(T, TOther, T>)>))
Perform a generic operation between two points and store the result in the first point
(Inherited from Point<(Of <(T>)>).)
_coordinate
The internal representation of this point as an array
(Inherited from Point<(Of <(T>)>).)
_Sub<(Of <(TOther>)>)(Point<(Of <(TOther>)>))
Subtract other from the current point
(Inherited from Point<(Of <(T>)>).)
Add<(Of <(TOther>)>)(Point<(Of <(TOther>)>))
Sum the current point with another point and returns the result
(Inherited from Point<(Of <(T>)>).)
ChannelName
Get the names for each channel
(Overrides ColorType.ChannelName.)
CompareTo(Object)
Compare method that implement IComparable interface

Convert<(Of <(TOther2, TOther3>)>)(Point<(Of <(TOther2>)>), Toolbox..::.Func<(Of <(T, TOther2, TOther3>)>))
Perform a generic operation between two points and return the result
(Inherited from Point<(Of <(T>)>).)
Convert<(Of <(TOther>)>)()()()
Convert this point to the specific type
(Inherited from Point<(Of <(T>)>).)
Coordinate
The array representation of this point,
(Inherited from Point<(Of <(T>)>).)
Dimension
The dimension of this point
(Inherited from Point<(Of <(T>)>).)
Equals(Object)
Check if two gray color are equal
(Overrides Object.Equals(Object).)
Equals(Point<(Of <(T>)>))
Compare if the two point have equal dimension and value, if so, return true, otherwise, false
(Inherited from Point<(Of <(T>)>).)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Returns the hash code for this color
(Overrides Object.GetHashCode()()().)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
Intensity
The intensity of the gray color

Item[([(Int32])])
Return the specific element in this point
(Inherited from Point<(Of <(T>)>).)
MCvScalar
The equivalent of MCvScalar value
(Inherited from ColorType.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Mul(T)
Multiply the current point with the specific value
(Inherited from Point<(Of <(T>)>).)
Norm
The norm of this point. e.g. sqrt(X^2 + Y^2 + ...)
(Inherited from Point<(Of <(T>)>).)
Normalized
Return a normalized point (aka. the direction)
(Inherited from Point<(Of <(T>)>).)
Resize(Int32)
Resize the current point to the specific size, if the new size is smaller, perform a truncation, if the new size is larger, the rest of the space is filled with default value
(Inherited from Point<(Of <(T>)>).)
Sub<(Of <(TOther>)>)(Point<(Of <(TOther>)>))
substract the current point with another point and returns the result
(Inherited from Point<(Of <(T>)>).)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
Point<(Of <(Double>)>)
 ColorType
  Gray

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)