示例#1
0
 public virtual void get_ndarray(SWIGTYPE_p_short array, SWIGTYPE_p_int dims, SWIGTYPE_p_int num_dims)
 {
     modshogunPINVOKE.File_get_ndarray__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), SWIGTYPE_p_int.getCPtr(num_dims));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public override void set_vector(SWIGTYPE_p_short vector, int len)
 {
     modshogunPINVOKE.BinaryFile_set_vector__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), len);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public override void get_string(SWIGTYPE_p_short vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingAsciiFile_get_string__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public virtual void get_vector(SWIGTYPE_p_short vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingFile_get_vector__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
 public virtual void get_string_and_label(SWIGTYPE_p_short vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label)
 {
     modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#6
0
 public override void get_matrix(SWIGTYPE_p_short matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec)
 {
     modshogunPINVOKE.BinaryFile_get_matrix__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#7
0
 public virtual void set_matrix(SWIGTYPE_p_short matrix, int num_feat, int num_vec)
 {
     modshogunPINVOKE.File_set_matrix__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(matrix), num_feat, num_vec);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#8
0
    public XYCoord GetXYCoord(SWIGTYPE_p_short ptr)
    {
        XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumInt16Image_GetXYCoord(swigCPtr, SWIGTYPE_p_short.getCPtr(ptr)), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#9
0
    public static double dot(SWIGTYPE_p_short v1, SWIGTYPE_p_short v2, int n)
    {
        double ret = modshogunPINVOKE.Math_dot__SWIG_9(SWIGTYPE_p_short.getCPtr(v1), SWIGTYPE_p_short.getCPtr(v2), n);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public SWIGTYPE_p_short GetPixelPtr(int x, int y)
    {
        IntPtr           cPtr = VisionLabPINVOKE.__NumInt16Image_GetPixelPtr__SWIG_0(swigCPtr, x, y);
        SWIGTYPE_p_short ret  = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_short(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#11
0
    public SWIGTYPE_p_short GetPixelPtr(XYCoord xy)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.__NumInt16Image_GetPixelPtr__SWIG_1(swigCPtr, XYCoord.getCPtr(xy));
        SWIGTYPE_p_short      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_short(cPtr, false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
示例#12
0
 public virtual void get_vector(SWIGTYPE_p_short vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingFile_get_vector__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
示例#13
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_short obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
示例#14
0
 public override void get_vector(SWIGTYPE_p_short vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.BinaryFile_get_vector__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
示例#15
0
 public virtual void get_string_and_label(SWIGTYPE_p_short vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label) {
   modshogunPINVOKE.StreamingFile_get_string_and_label__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
示例#16
0
 public override void set_matrix(SWIGTYPE_p_short matrix, int num_feat, int num_vec) {
   modshogunPINVOKE.BinaryFile_set_matrix__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(matrix), num_feat, num_vec);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
示例#17
0
 public virtual void set_ndarray(SWIGTYPE_p_short array, SWIGTYPE_p_int dims, int num_dims) {
   modshogunPINVOKE.BinaryFile_set_ndarray__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), num_dims);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
示例#18
0
 public override void get_ndarray(SWIGTYPE_p_short array, SWIGTYPE_p_int dims, SWIGTYPE_p_int num_dims) {
   modshogunPINVOKE.AsciiFile_get_ndarray__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(array), SWIGTYPE_p_int.getCPtr(dims), SWIGTYPE_p_int.getCPtr(num_dims));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
示例#19
0
 public override void get_string(SWIGTYPE_p_short vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingAsciiFile_get_string__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_short obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#21
0
 public override void set_vector(SWIGTYPE_p_short vector, int len) {
   modshogunPINVOKE.AsciiFile_set_vector__SWIG_5(swigCPtr, SWIGTYPE_p_short.getCPtr(vector), len);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
示例#22
0
 public ArConfigArg(string name, SWIGTYPE_p_short pointer) : this(AriaCSPINVOKE.new_ArConfigArg__SWIG_6(name, SWIGTYPE_p_short.getCPtr(pointer)), true)
 {
 }
 public static void LUT(Int16Image image, short minPixel, SWIGTYPE_p_short tab) {
   VisionLabPINVOKE.LUT__SWIG_6(Int16Image.getCPtr(image), minPixel, SWIGTYPE_p_short.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public XYCoord GetXYCoord(SWIGTYPE_p_short ptr) {
   XYCoord ret = new XYCoord(VisionLabPINVOKE.__NumInt16Image_GetXYCoord(swigCPtr, SWIGTYPE_p_short.getCPtr(ptr)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
示例#25
0
 public override void readArrayNdOfShortValues(string datasetName, SWIGTYPE_p_short values)
 {
     throw new NotImplementedException();
 }
示例#26
0
 public static double dot(SWIGTYPE_p_short v1, SWIGTYPE_p_short v2, int n) {
   double ret = modshogunPINVOKE.Math_dot__SWIG_9(SWIGTYPE_p_short.getCPtr(v1), SWIGTYPE_p_short.getCPtr(v2), n);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void TMEdgeDetection(Int16Image src, Int16Image destMag, Int16Image destDir, int nrMasks, Mask_Int32 maskTab, SWIGTYPE_p_short alfaTab, Gradient grad) {
   VisionLabPINVOKE.TMEdgeDetection__SWIG_3(Int16Image.getCPtr(src), Int16Image.getCPtr(destMag), Int16Image.getCPtr(destDir), nrMasks, Mask_Int32.getCPtr(maskTab), SWIGTYPE_p_short.getCPtr(alfaTab), (int)grad);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
示例#28
0
 public virtual void get_matrix(SWIGTYPE_p_short matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec) {
   modshogunPINVOKE.File_get_matrix__SWIG_6(swigCPtr, SWIGTYPE_p_short.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_short obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
示例#30
0
 public ArConfigArg(string name, SWIGTYPE_p_short pointer, string description) : this(AriaCSPINVOKE.new_ArConfigArg__SWIG_5(name, SWIGTYPE_p_short.getCPtr(pointer), description), true)
 {
 }