public virtual void SnapShot(Int16Image image)
 {
     VisionLabPINVOKE.Camera_Int16_SnapShot__SWIG_1(swigCPtr, Int16Image.getCPtr(image));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
    public virtual float AllMatches(Int16Image blob, float beginAngle, float endAngle, vector_PatternMatchResult tab)
    {
        float ret = VisionLabPINVOKE.PatternMatcher_Int16_AllMatches(swigCPtr, Int16Image.getCPtr(blob), beginAngle, endAngle, vector_PatternMatchResult.getCPtr(tab));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #3
0
    public virtual int BestMatch(Int16Image blob, float beginAngle, float endAngle, ref float confidency, ref float error, ref float scale, ref float angle)
    {
        int ret = VisionLabPINVOKE.PatternMatcher_Int16_BestMatch(swigCPtr, Int16Image.getCPtr(blob), beginAngle, endAngle, ref confidency, ref error, ref scale, ref angle);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #4
0
    public virtual int AddPattern(Int16Image image, string name)
    {
        int ret = VisionLabPINVOKE.PatternMatcher_Int16_AddPattern(swigCPtr, Int16Image.getCPtr(image), name);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
    public int AddImage(string className, Int16Image image)
    {
        int ret = VisionLabPINVOKE.ClassImageSet_Int16_AddImage(swigCPtr, className, Int16Image.getCPtr(image));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public int Classify(Int16Image image, ref double confidency)
    {
        int ret = VisionLabPINVOKE.BPN_ImageClassifier_Int16_Classify(swigCPtr, Int16Image.getCPtr(image), ref confidency);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public double TrainImage(double learnRate, double momentum, Int16Image image, int classNr)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int16_TrainImage(swigCPtr, learnRate, momentum, Int16Image.getCPtr(image), classNr);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public double EvaluateImage(Int16Image image, int classExp, ref int classRes, ref double confidency, vector_double output)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int16_EvaluateImage(swigCPtr, Int16Image.getCPtr(image), classExp, ref classRes, ref confidency, vector_double.getCPtr(output));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public double ClassifyOutputTab(Int16Image image, vector_ClassOutput outputTab)
    {
        double ret = VisionLabPINVOKE.BPN_ImageClassifier_Int16_ClassifyOutputTab(swigCPtr, Int16Image.getCPtr(image), vector_ClassOutput.getCPtr(outputTab));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public bool GetImage(string imageName, Int16Image image)
    {
        bool ret = VisionLabPINVOKE.VisLibCmdInt_GetImage__SWIG_3(swigCPtr, imageName, Int16Image.getCPtr(image));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }