Пример #1
0
        public Picture(Bitmap b)
        {
            _bitmap = b;
            _pixels = null;
            SetPixels setPixel = new SetPixels();

            setPixel.SetPixel(_bitmap, out _pixels);
            QualifiedBG = _bitmap;
            NumBitmap   = null;
        }
Пример #2
0
        public void SetAreaTag()
        {
            SetBinaryValue();
            SetPixels setPixel = new SetPixels();

            if (IsUseCirl == true)
            {
                _pixels       = setPixel.SetAreaTag(theImage, X, Y, R, _pixels);
                _areaTagCount = setPixel.AreaTagCount;
            }
            if (IsUseCirl == false)
            {
                _pixels       = setPixel.SetAreaTagRectangle(theImage, RX, RY, RW, RH, _pixels);
                _areaTagCount = setPixel.AreaTagCount;
            }
        }
Пример #3
0
        public void SetBinaryValue()
        {
            SetPixels setPixel = new SetPixels();

            _pixels = setPixel.SetBinaryValue((Bitmap)theImage.Clone(), _pixels, out time1);
        }