示例#1
0
        /// <summary>
        /// Read the real value on the yarp port.
        /// Convert the image into a vector.
        /// </summary>
        public override void ReadRealValue()
        {
            ImageFloat img = portReal.read(isBlockingRead);

            if (img != null)
            {
                RealValue = ImageManipulation.Image2Vector(Crop(img), w, h);
            }
        }