Ejemplo n.º 1
0
 protected void updateThresholdMenu(Tuple <Texture2D, Texture2D> textures, Tuple <IntPtr, IntPtr> pixelPtrs)
 {
     threshValue             = (int)thresholdMenu.GetComponentInChildren <Slider>().value;
     threshLevelDisplay.text = threshValue.ToString();
     OpenCVInterop.GetCurrentThreshFrame(pixelPtrs.Item1, pixelPtrs.Item2, textures.Item1.width, textures.Item2.height, threshValue);
 }