Public Member Functions | |
PtColorClusterer () | |
void | Init (Bitmap OrgBmp) |
void | Calculate (int clusterCount, int maxIterations, bool lowPrecision, PtColorSpace colorSpace, out Bitmap resBitmap) |
void | Calculate (int clusterCount, int maxIterations, bool lowPrecision, PtColorSpace colorSpace, TextBox textBox, out Bitmap resBitmap) |
void | Calculate (int clusterCount, int maxIterations, bool lowPrecision, PtColorSpace colorSpace, TextBox textBox, PictureBox pb, out Bitmap resBitmap) |
void | AbortCalculation () |
Powertek.Imaging.PtColorClusterer.PtColorClusterer | ( | ) |
Create the class.
void Powertek.Imaging.PtColorClusterer.AbortCalculation | ( | ) |
Cancel the Calculation.
void Powertek.Imaging.PtColorClusterer.Calculate | ( | int | clusterCount, | |
int | maxIterations, | |||
bool | lowPrecision, | |||
PtColorSpace | colorSpace, | |||
TextBox | textBox, | |||
PictureBox | pb, | |||
out Bitmap | resBitmap | |||
) |
Calculate the clustering with iteration number output and output of the partial results.
clusterCount | Maximum number of clusters (1..) | |
maxIterations | Maximum number of iterations (1..) | |
lowPrecision | Use low precision calculation, improve speed | |
colorSpace | Colorspace for the clustering | |
textBox | Textbox to write the iteration number to | |
pb | Picturebox to paint the partial image to | |
resBitmap | Output Bitmap |
void Powertek.Imaging.PtColorClusterer.Calculate | ( | int | clusterCount, | |
int | maxIterations, | |||
bool | lowPrecision, | |||
PtColorSpace | colorSpace, | |||
TextBox | textBox, | |||
out Bitmap | resBitmap | |||
) |
Calculate the clustering with iteration number output.
clusterCount | Maximum number of clusters (1..) | |
maxIterations | Maximum number of iterations (1..) | |
lowPrecision | Use low precision calculation, improve speed | |
colorSpace | Colorspace for the clustering | |
textBox | Textbox to write the iteration number to | |
resBitmap | Output Bitmap |
void Powertek.Imaging.PtColorClusterer.Calculate | ( | int | clusterCount, | |
int | maxIterations, | |||
bool | lowPrecision, | |||
PtColorSpace | colorSpace, | |||
out Bitmap | resBitmap | |||
) |
Calculate the clustering.
clusterCount | Maximum number of clusters (1..) | |
maxIterations | Maximum number of iterations (1..) | |
lowPrecision | Use low precision calculation, improve speed | |
colorSpace | Colorspace for the clustering | |
resBitmap | Output Bitmap |
void Powertek.Imaging.PtColorClusterer.Init | ( | Bitmap | OrgBmp | ) |
Init the clustering.
OrgBmp |