private core_PCA_project ( IntPtr obj, IntPtr vec ) : IntPtr | ||
obj | IntPtr | |
vec | IntPtr | |
return | IntPtr |
public static extern IntPtr core_PCA_project(IntPtr obj, IntPtr vec);
[DllImport(DllExtern, CallingConvention = CallingConvention.Cdecl, EntryPoint = "core_PCA_project2")]
NativeMethods::core_PCA_project ( IntPtr obj, IntPtr vec, IntPtr result ) : void |
/// <summary> /// projects vector from the original space to the principal components subspace /// </summary> /// <param name="vec"></param> /// <returns></returns> public Mat Project(InputArray vec) { if (disposed) { throw new ObjectDisposedException("PCA"); } if (vec == null) { throw new ArgumentNullException("vec"); } vec.ThrowIfDisposed(); IntPtr ret = NativeMethods.core_PCA_project(ptr, vec.CvPtr); return(new Mat(ret)); }