Exemplo n.º 1
0
    private void Canny1Changed(float canny1Bar)
    {
        canny1Value       = int.Parse(_canny1MinValue.text) + canny1Bar * (int.Parse(_canny1MaxValue.text) - int.Parse(_canny1MinValue.text));
        _canny1Value.text = canny1Value.ToString();

        /*if (canny1Listeners.Count > 0) {
         *  foreach (TrackbarListener l in canny1Listeners) {
         *      l.Callback(canny1Value);
         *  }
         * }*/
        core.SetCannyThreshold((int)canny1Value);
    }