本文整理汇总了Java中com.googlecode.javacpp.Pointer类的典型用法代码示例。如果您正苦于以下问题:Java Pointer类的具体用法?Java Pointer怎么用?Java Pointer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Pointer类属于com.googlecode.javacpp包,在下文中一共展示了Pointer类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: cvCalcCovarMatrixEx
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static native void cvCalcCovarMatrixEx(int nObjects, Pointer input, int ioFlags, int ioBufSize,
@Cast("uchar*") BytePointer buffer, Pointer userData, IplImage avg, FloatPointer covarMatrix);
示例2: freenect_sync_get_depth
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static native int freenect_sync_get_depth(@Cast("void**") @ByPtrPtr Pointer depth,
@Cast("uint32_t*") int[] timestamp, int index, @Cast("freenect_depth_format") int fmt);
示例3: cvCreateButton
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
@Platform("linux")
public static native int cvCreateButton(String button_name/*=null*/, CvButtonCallback on_change/*=null*/,
Pointer userdata/*=null*/, int button_type/*=CV_PUSH_BUTTON*/, int initial_button_state/*=0*/);
示例4: CV_NODE_VAL
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static Pointer CV_NODE_VAL(CvSparseMat mat, CvSparseNode node) {
return new BytePointer(node).position(mat.valoffset());
}
示例5: cvEigenProjection
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static native void cvEigenProjection(Pointer eigInput, int nEigObjs, int ioFlags,
Pointer userData, FloatPointer coeffs, IplImage avg, IplImage proj);
示例6: cvCalcEigenObjects
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static void cvCalcEigenObjects(int nObjects, IplImage[] input, IplImage[] output, int ioFlags,
int ioBufSize, Pointer userData, CvTermCriteria calcLimit, IplImage avg, FloatPointer eigVals) {
cvCalcEigenObjects(nObjects, new IplImageArray(input), new IplImageArray(output),
ioFlags, ioBufSize, userData, calcLimit, avg, eigVals);
}
示例7: cvReadRawDataSlice
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static native void cvReadRawDataSlice(CvFileStorage fs, CvSeqReader reader,
int count, Pointer dst, String dt);
示例8: cvFree
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static void cvFree(Pointer ptr) {
cvFree_(ptr);
ptr.setNull();
}
示例9: cvCalcEMD2
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static native float cvCalcEMD2(CvArr signature1, CvArr signature2, int distance_type,
CvDistanceFunction distance_func/*=null*/, CvArr cost_matrix/*=null*/,
CvArr flow/*=null*/, float[] lower_bound/*=null*/, Pointer userdata/*=null*/);
示例10: cvGetHistValue_nD
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static Pointer cvGetHistValue_nD(CvHistogram hist, int idx0, int[] idx) {
return cvPtrND(hist.bins(), idx, null, 1, null);
}
示例11: cvHoughLines2
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static native CvSeq cvHoughLines2(CvArr image, Pointer line_storage, int method,
double rho, double theta, int threshold, double param1/*=0*/, double param2/*=0*/);
示例12: cvPtr3D
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public static native Pointer cvPtr3D(CvArr arr, int idx0, int idx1, int idx2, int[] type/*=null*/);
示例13: BaseFilter
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public BaseFilter(Pointer p) { super(p); }
示例14: CvTestSeq
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public CvTestSeq(Pointer p) { super(p); }
示例15: MultiBandBlender
import com.googlecode.javacpp.Pointer; //导入依赖的package包/类
public MultiBandBlender(Pointer p) { super(p); }