// Use this for initialization void Start() { if (operateOn == OperateON.GPU) { LoadMaterials(); } if (startOnFirstKey && useCurve) { currentCurve = curve.keys[0].time; } if (executeTrigger == ExecuteON.Start) { if (!IsExecuting) { IsExecuting = true; StartCoroutine(updateValues()); } if (useCurve) { AdjustBrightnessCurve(options); } else { AdjustBrightness(level, options); } } if (executeTrigger == ExecuteON.Trigger) { BrightUp += new ObjectBrightness(Brightness_BrightUp); } }
public static int ThresholdIsoData(Int32Image image, Int32Image roi, ObjectBrightness arg2) { int ret = VisionLabPINVOKE.ThresholdIsoData__SWIG_9(Int32Image.getCPtr(image), Int32Image.getCPtr(roi), (int)arg2); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static int ThresholdIsoData(ByteImage image, ObjectBrightness arg1) { int ret = VisionLabPINVOKE.ThresholdIsoData__SWIG_2(ByteImage.getCPtr(image), (int)arg1); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void ThresholdFast(Int32Image image, int thres, ObjectBrightness arg2) { VisionLabPINVOKE.ThresholdFast__SWIG_26(Int32Image.getCPtr(image), thres, (int)arg2); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void ThresholdFast(Int16Image image, short thres, ObjectBrightness arg2, short min, short max) { VisionLabPINVOKE.ThresholdFast__SWIG_18(Int16Image.getCPtr(image), thres, (int)arg2, min, max); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void ThresholdFast(ByteImage image, byte thres, ObjectBrightness arg2, byte min) { VisionLabPINVOKE.ThresholdFast__SWIG_7(ByteImage.getCPtr(image), thres, (int)arg2, min); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static string ObjectBrightnessToStr(ObjectBrightness o) { string ret = VisionLabPINVOKE.ObjectBrightnessToStr((int)o); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void ThresholdSimple(DoubleImage image, double thres, ObjectBrightness arg2) { VisionLabPINVOKE.ThresholdSimple__SWIG_6(DoubleImage.getCPtr(image), thres, (int)arg2); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static double ThresholdRATSLocal(DoubleImage image, double minEdge, double minAvgEdges, int nrLevels, ObjectBrightness arg4) { double ret = VisionLabPINVOKE.ThresholdRATSLocal__SWIG_6(DoubleImage.getCPtr(image), minEdge, minAvgEdges, nrLevels, (int)arg4); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static double ThresholdRATS(DoubleImage image, DoubleImage roi, double minEdge, ObjectBrightness arg3, ref double thres) { double ret = VisionLabPINVOKE.ThresholdRATS__SWIG_13(DoubleImage.getCPtr(image), DoubleImage.getCPtr(roi), minEdge, (int)arg3, ref thres); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static double ThresholdRATS(FloatImage image, float minEdge, ObjectBrightness arg2, ref float thres) { double ret = VisionLabPINVOKE.ThresholdRATS__SWIG_10(FloatImage.getCPtr(image), minEdge, (int)arg2, ref thres); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static double ThresholdRATS(Int8Image image, Int8Image roi, char minEdge, ObjectBrightness arg3, SWIGTYPE_p_char thres) { double ret = VisionLabPINVOKE.ThresholdRATS__SWIG_5(Int8Image.getCPtr(image), Int8Image.getCPtr(roi), minEdge, (int)arg3, SWIGTYPE_p_char.getCPtr(thres)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void ThresholdLocal(DoubleImage image, DoubleImage mask, ObjectBrightness arg2) { VisionLabPINVOKE.ThresholdLocal__SWIG_6(DoubleImage.getCPtr(image), DoubleImage.getCPtr(mask), (int)arg2); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void FindFirstTransitions(DoubleImage src, DoubleImage dest, double threshold, ViewPoint viewPoint, ObjectBrightness objectBrightness) { VisionLabPINVOKE.FindFirstTransitions__SWIG_6(DoubleImage.getCPtr(src), DoubleImage.getCPtr(dest), threshold, (int)viewPoint, (int)objectBrightness); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }