C# Class Strabo.Core.ColorSegmentation.MedianCutMultiThreads.ColorNode

Inheritance: IComparable
Exibir arquivo Open project: usc-isi-i2/strabo-arcstrabo

Public Properties

Property Type Description
cnt int
red int
rgb int

Public Methods

Method Description
ColorNode ( int rgb, int cnt ) : System
ColorNode ( int red, int grn, int blu, int cnt ) : System
distance2 ( int red, int grn, int blu ) : int
sortBlue ( ) : IComparer
sortGreen ( ) : IComparer
sortRed ( ) : IComparer

Private Methods

Method Description
IComparable ( object obj ) : int

Method Details

ColorNode() public method

public ColorNode ( int rgb, int cnt ) : System
rgb int
cnt int
return System

ColorNode() public method

public ColorNode ( int red, int grn, int blu, int cnt ) : System
red int
grn int
blu int
cnt int
return System

distance2() public method

public distance2 ( int red, int grn, int blu ) : int
red int
grn int
blu int
return int

sortBlue() public static method

public static sortBlue ( ) : IComparer
return IComparer

sortGreen() public static method

public static sortGreen ( ) : IComparer
return IComparer

sortRed() public static method

public static sortRed ( ) : IComparer
return IComparer

Property Details

cnt public_oe property

public int cnt
return int

red public_oe property

public int red
return int

rgb public_oe property

public int rgb
return int