Powertek.Imaging.PtColorComparer Class Reference

Compare 2 Bitmaps using statistic functions. More...

List of all members.

Public Member Functions

void Compare (Bitmap bmp1, Bitmap bmp2, out double distance, out double normalizedDistance, out double colorMatch, ref PictureBox histo1_ch1, ref PictureBox histo1_ch2, ref PictureBox histo1_ch3, ref PictureBox histo2_ch1, ref PictureBox histo2_ch2, ref PictureBox histo2_ch3)
void Compare (Bitmap bmp1, Bitmap bmp2, out double distance, out double normalizedDistance, out double colorMatch)
void SetSamples (int ch1Quant, int ch2Quant, int ch3Quant)
void SetChannels (bool useChannel1, bool useChannel2, bool useChannel3)
void setImageResolution (int width, int height)
Bitmap ShowConvertImage (Bitmap bmp)

Properties

PtColorSpace ColorSpace [get, set]
HistoCompareMode2 HistoCompareMode [get, set]


Detailed Description


Member Function Documentation

void Powertek.Imaging.PtColorComparer.Compare ( Bitmap  bmp1,
Bitmap  bmp2,
out double  distance,
out double  normalizedDistance,
out double  colorMatch 
)

Compare 2 Bitmaps.

Parameters:
bmp1 Bitmap 1
bmp2 Bitmap 2
distance Calculated distance
normalizedDistance Calculated normalized distance
colorMatch Colormatch in percent

void Powertek.Imaging.PtColorComparer.Compare ( Bitmap  bmp1,
Bitmap  bmp2,
out double  distance,
out double  normalizedDistance,
out double  colorMatch,
ref PictureBox  histo1_ch1,
ref PictureBox  histo1_ch2,
ref PictureBox  histo1_ch3,
ref PictureBox  histo2_ch1,
ref PictureBox  histo2_ch2,
ref PictureBox  histo2_ch3 
)

Compare 2 Bitmaps.

Parameters:
bmp1 Bitmap 1
bmp2 Bitmap 2
distance Calculated distance
normalizedDistance Calculated normalized distance
colorMatch Colormatch in percent
histo1_ch1 PictureBox for the output of the histogramm Bitmap1 Ch1
histo1_ch2 PictureBox for the output of the histogramm Bitmap1 Ch2
histo1_ch3 PictureBox for the output of the histogramm Bitmap1 Ch3
histo2_ch1 PictureBox for the output of the histogramm Bitmap2 Ch1
histo2_ch2 PictureBox for the output of the histogramm Bitmap2 Ch2
histo2_ch3 PictureBox for the output of the histogramm Bitmap2 Ch3

void Powertek.Imaging.PtColorComparer.SetChannels ( bool  useChannel1,
bool  useChannel2,
bool  useChannel3 
)

Set the number of channels to compare.

Parameters:
useChannel1 Use channel 1 in calculation
useChannel2 Use channel 2 in calculation
useChannel3 Use channel 3 in calculation

void Powertek.Imaging.PtColorComparer.setImageResolution ( int  width,
int  height 
)

Set Resolution of the Bitmaps.

Parameters:
width Width of the Bitmap
height Height of the Bitmap

void Powertek.Imaging.PtColorComparer.SetSamples ( int  ch1Quant,
int  ch2Quant,
int  ch3Quant 
)

Set the number of quantization samples.

Parameters:
ch1Quant Quantization for Channel 1
ch2Quant Quantization for Channel 2
ch3Quant Quantization for Channel 3

Bitmap Powertek.Imaging.PtColorComparer.ShowConvertImage ( Bitmap  bmp  ) 

Get the internal bitmap represented by the given color space.

Parameters:
bmp Input bitmap
Returns:
Resulting Bitmap


Property Documentation

PtColorSpace Powertek.Imaging.PtColorComparer.ColorSpace [get, set]

Set the colorspace.

HistoCompareMode2 Powertek.Imaging.PtColorComparer.HistoCompareMode [get, set]

Set the Histogramm output mode.


The documentation for this class was generated from the following file:

Generated on Thu Nov 20 04:48:15 2008 for Powertek.Imaging, 2.0.2.46 by  doxygen 1.5.7.1