public ThresholdedEuclideanDifference ( ) : System | ||
return | System |
public ThresholdedEuclideanDifference( )
{
// initialize format translation dictionary
formatTranslations[PixelFormat.Format8bppIndexed] = PixelFormat.Format8bppIndexed;
formatTranslations[PixelFormat.Format24bppRgb] = PixelFormat.Format8bppIndexed;
formatTranslations[PixelFormat.Format32bppRgb] = PixelFormat.Format8bppIndexed;
formatTranslations[PixelFormat.Format32bppArgb] = PixelFormat.Format8bppIndexed;
formatTranslations[PixelFormat.Format32bppPArgb] = PixelFormat.Format8bppIndexed;
}
ThresholdedEuclideanDifference::ThresholdedEuclideanDifference ( int threshold ) : System |