Ejemplo n.º 1
0
        private void Load(Bitmap bitmap, Size size)
        {
            switch (typeConvert)
            {
            case TypeConvert.Bright:
                arrey = ImageOperation.LoadMono(bitmap);
                break;

            case TypeConvert.RGB:
                arrey = ImageOperation.LoadRGB(bitmap);
                break;

            default:
                break;
            }
        }
Ejemplo n.º 2
0
        private void LoadVector(Bitmap bitmap, Size size)
        {
            switch (typeConvert)
            {
            case TypeConvert.Bright:
                vectors.AddRange(ImageOperation.GetVector(ImageOperation.LoadMono(bitmap)));
                break;

            case TypeConvert.RGB:
                vectors.AddRange(ImageOperation.GetVector(ImageOperation.LoadRGB(bitmap)));
                break;

            default:
                break;
            }
        }