예제 #1
0
 public virtual void drawContour(Point2DfArray contours, Image displayImage)
 {
     solar_api_displayPINVOKE.I2DOverlay_drawContour(swigCPtr, Point2DfArray.getCPtr(contours), Image.getCPtr(displayImage));
     if (solar_api_displayPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_displayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public virtual void drawCircles(Point2DfArray points, Image displayImage)
 {
     solar_api_displayPINVOKE.I2DOverlay_drawCircles__SWIG_0(swigCPtr, Point2DfArray.getCPtr(points), Image.getCPtr(displayImage));
     if (solar_api_displayPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_displayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
        public virtual FrameworkReturnCode estimate(Image previousImage, Image currentImage, Point2DfArray pointsToTrack, Point2DfArray trackedPoints, UCharList status, FloatList error)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_trackingPINVOKE.IOpticalFlowEstimator_estimate__SWIG_1(swigCPtr, Image.getCPtr(previousImage), Image.getCPtr(currentImage), Point2DfArray.getCPtr(pointsToTrack), Point2DfArray.getCPtr(trackedPoints), UCharList.getCPtr(status), FloatList.getCPtr(error));

            if (solar_api_trackingPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_trackingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
        public virtual FrameworkReturnCode correct(Image inputImg, Point2DfArray contour, Image patch)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_imagePINVOKE.IPerspectiveController_correct__SWIG_1(swigCPtr, Image.getCPtr(inputImg), Point2DfArray.getCPtr(contour), Image.getCPtr(patch));

            if (solar_api_imagePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_imagePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public virtual FrameworkReturnCode reindex(KeypointArray keypoints1, KeypointArray keypoints2, DescriptorMatchVector matches, Point2DfArray matchedKeypoints1, Point2DfArray matchedKeypoints2)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_featuresPINVOKE.IKeypointsReIndexer_reindex(swigCPtr, KeypointArray.getCPtr(keypoints1), KeypointArray.getCPtr(keypoints2), DescriptorMatchVector.getCPtr(matches), Point2DfArray.getCPtr(matchedKeypoints1), Point2DfArray.getCPtr(matchedKeypoints2));

            if (solar_api_featuresPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_featuresPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
        public virtual FrameworkReturnCode find(Frame lastFrame, Frame currentFrame, DescriptorMatchVector current_matches, Map worldMap, Point3DfArray shared_3dpoint, Point2DfArray shared_2dpoint, DescriptorMatchVector found_matches, DescriptorMatchVector remaining_matches)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_solver_posePINVOKE.I2D3DCorrespondencesFinder_find__SWIG_1(swigCPtr, Frame.getCPtr(lastFrame), Frame.getCPtr(currentFrame), DescriptorMatchVector.getCPtr(current_matches), Map.getCPtr(worldMap), Point3DfArray.getCPtr(shared_3dpoint), Point2DfArray.getCPtr(shared_2dpoint), DescriptorMatchVector.getCPtr(found_matches), DescriptorMatchVector.getCPtr(remaining_matches));

            if (solar_api_solver_posePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_posePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
0
        public virtual FrameworkReturnCode reindex(Contour2DfArray candidateContours, DescriptorMatchVector matches, Point2DfArray patternPoints, Point2DfArray imagePoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_featuresPINVOKE.ISBPatternReIndexer_reindex(swigCPtr, Contour2DfArray.getCPtr(candidateContours), DescriptorMatchVector.getCPtr(matches), Point2DfArray.getCPtr(patternPoints), Point2DfArray.getCPtr(imagePoints));

            if (solar_api_featuresPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_featuresPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #8
0
        public virtual FrameworkReturnCode getImageCorners(Point2DfArray imageCorners)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_input_filesPINVOKE.IMarker2DSquared_getImageCorners(swigCPtr, Point2DfArray.getCPtr(imageCorners));

            if (solar_api_input_filesPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_input_filesPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #9
0
        public virtual FrameworkReturnCode transform(Point2DfArray inputPoints, Transform2Df transformation, Point2DfArray outputPoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.I2DTransform_transform(swigCPtr, Point2DfArray.getCPtr(inputPoints), Transform2Df.getCPtr(transformation), Point2DfArray.getCPtr(outputPoints));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #10
0
        public virtual FrameworkReturnCode unproject(Point2DfArray imagePoints, Point3DfArray worldPoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.IUnproject_unproject__SWIG_1(swigCPtr, Point2DfArray.getCPtr(imagePoints), Point3DfArray.getCPtr(worldPoints));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #11
0
        public virtual FrameworkReturnCode project(CloudPointVector inputPoints, Point2DfArray imagePoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.IProject_project__SWIG_3(swigCPtr, CloudPointVector.getCPtr(inputPoints), Point2DfArray.getCPtr(imagePoints));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #12
0
        public virtual FrameworkReturnCode project(Point3DfArray inputPoints, Point2DfArray imagePoints, Transform3Df pose)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.IProject_project__SWIG_0(swigCPtr, Point3DfArray.getCPtr(inputPoints), Point2DfArray.getCPtr(imagePoints), Transform3Df.getCPtr(pose));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #13
0
        public virtual FrameworkReturnCode estimate(Point2DfArray pointsView1, Point2DfArray pointsView2, Transform3Df poseView1, Transform3Df poseView2, DescriptorMatchVector inlierMatches)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_solver_posePINVOKE.I3DTransformFinderFrom2D2D_estimate__SWIG_0(swigCPtr, Point2DfArray.getCPtr(pointsView1), Point2DfArray.getCPtr(pointsView2), Transform3Df.getCPtr(poseView1), Transform3Df.getCPtr(poseView2), DescriptorMatchVector.getCPtr(inlierMatches));

            if (solar_api_solver_posePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_posePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #14
0
        public virtual double triangulate(Point2DfArray pointsView1, Point2DfArray pointView2, DescriptorMatchVector matches, PairUIntUInt working_views, Transform3Df poseView1, Transform3Df poseView2, CloudPointVector pcloud)
        {
            double ret = solar_api_solver_mapPINVOKE.ITriangulator_triangulate__SWIG_0(swigCPtr, Point2DfArray.getCPtr(pointsView1), Point2DfArray.getCPtr(pointView2), DescriptorMatchVector.getCPtr(matches), PairUIntUInt.getCPtr(working_views), Transform3Df.getCPtr(poseView1), Transform3Df.getCPtr(poseView2), CloudPointVector.getCPtr(pcloud));

            if (solar_api_solver_mapPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_mapPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #15
0
 public virtual IDescriptorMatcher.RetCode matchInRegion(Point2DfArray points2D, DescriptorBufferList descriptors, Frame frame, DescriptorMatchVector matches, float radius)
 {
     IDescriptorMatcher.RetCode ret = (IDescriptorMatcher.RetCode)solar_api_featuresPINVOKE.IDescriptorMatcher_matchInRegion(swigCPtr, Point2DfArray.getCPtr(points2D), DescriptorBufferList.getCPtr(descriptors), Frame.getCPtr(frame), DescriptorMatchVector.getCPtr(matches), radius);
     if (solar_api_featuresPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_featuresPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
예제 #16
0
        public virtual FrameworkReturnCode undistort(Point2DfArray inputPoints, Point2DfArray outputPoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.IUndistortPoints_undistort(swigCPtr, Point2DfArray.getCPtr(inputPoints), Point2DfArray.getCPtr(outputPoints));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #17
0
 public virtual void draw(Image image, Image outImage, Point2DfArray points_image1, Point2DfArray points_image2)
 {
     solar_api_displayPINVOKE.IMatchesOverlay_draw__SWIG_5(swigCPtr, Image.getCPtr(image), Image.getCPtr(outImage), Point2DfArray.getCPtr(points_image1), Point2DfArray.getCPtr(points_image2));
     if (solar_api_displayPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_displayPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #18
0
        public virtual RetCode find(Point2DfArray srcPoints, Point2DfArray dstPoints, Transform2Df fundamental)
        {
            RetCode ret = (RetCode)solar_api_solver_posePINVOKE.I2DTransformFinder_find(swigCPtr, Point2DfArray.getCPtr(srcPoints), Point2DfArray.getCPtr(dstPoints), Transform2Df.getCPtr(fundamental));

            if (solar_api_solver_posePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_posePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #19
0
        public virtual bool isValid(Point2DfArray ref2DSquaredMarkerCorners, Point2DfArray projected2DSquaredMarkerCorners)
        {
            bool ret = solar_api_solver_posePINVOKE.IHomographyValidation_isValid(swigCPtr, Point2DfArray.getCPtr(ref2DSquaredMarkerCorners), Point2DfArray.getCPtr(projected2DSquaredMarkerCorners));

            if (solar_api_solver_posePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_solver_posePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #20
0
        public virtual FrameworkReturnCode map(Point2DfArray digitalPoints, Point3DfArray worldPoints)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_geomPINVOKE.IImage2WorldMapper_map(swigCPtr, Point2DfArray.getCPtr(digitalPoints), Point3DfArray.getCPtr(worldPoints));

            if (solar_api_geomPINVOKE.SWIGPendingException.Pending)
            {
                throw solar_api_geomPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #21
0
 public virtual void detect(Image image, Point2DfArray contours, KeypointArray keypoints)
 {
     solar_api_featuresPINVOKE.IKeypointDetectorRegion_detect(swigCPtr, Image.getCPtr(image), Point2DfArray.getCPtr(contours), KeypointArray.getCPtr(keypoints));
     if (solar_api_featuresPINVOKE.SWIGPendingException.Pending)
     {
         throw solar_api_featuresPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #22
0
        public virtual FrameworkReturnCode estimate(Point2DfArray imagePoints, Point3DfArray worldPoints, Point2DfArray imagePoints_inlier, Point3DfArray worldPoints_inlier, Transform3Df pose)
        {
            FrameworkReturnCode ret = (FrameworkReturnCode)solar_api_solver_posePINVOKE.I3DTransformSACFinderFrom2D3D_estimate__SWIG_1(swigCPtr, Point2DfArray.getCPtr(imagePoints), Point3DfArray.getCPtr(worldPoints), Point2DfArray.getCPtr(imagePoints_inlier), Point3DfArray.getCPtr(worldPoints_inlier), Transform3Df.getCPtr(pose));

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