001 002// 003// This file is auto-generated. Please don't modify it! 004// 005package org.opencv.photo; 006 007import org.opencv.core.Mat; 008 009// C++: class CalibrateRobertson 010//javadoc: CalibrateRobertson 011public class CalibrateRobertson extends CalibrateCRF { 012 013 protected CalibrateRobertson(long addr) { super(addr); } 014 015 016 // 017 // C++: Mat getRadiance() 018 // 019 020 //javadoc: CalibrateRobertson::getRadiance() 021 public Mat getRadiance() 022 { 023 024 Mat retVal = new Mat(getRadiance_0(nativeObj)); 025 026 return retVal; 027 } 028 029 030 // 031 // C++: float getThreshold() 032 // 033 034 //javadoc: CalibrateRobertson::getThreshold() 035 public float getThreshold() 036 { 037 038 float retVal = getThreshold_0(nativeObj); 039 040 return retVal; 041 } 042 043 044 // 045 // C++: int getMaxIter() 046 // 047 048 //javadoc: CalibrateRobertson::getMaxIter() 049 public int getMaxIter() 050 { 051 052 int retVal = getMaxIter_0(nativeObj); 053 054 return retVal; 055 } 056 057 058 // 059 // C++: void setMaxIter(int max_iter) 060 // 061 062 //javadoc: CalibrateRobertson::setMaxIter(max_iter) 063 public void setMaxIter(int max_iter) 064 { 065 066 setMaxIter_0(nativeObj, max_iter); 067 068 return; 069 } 070 071 072 // 073 // C++: void setThreshold(float threshold) 074 // 075 076 //javadoc: CalibrateRobertson::setThreshold(threshold) 077 public void setThreshold(float threshold) 078 { 079 080 setThreshold_0(nativeObj, threshold); 081 082 return; 083 } 084 085 086 @Override 087 protected void finalize() throws Throwable { 088 delete(nativeObj); 089 } 090 091 092 093 // C++: Mat getRadiance() 094 private static native long getRadiance_0(long nativeObj); 095 096 // C++: float getThreshold() 097 private static native float getThreshold_0(long nativeObj); 098 099 // C++: int getMaxIter() 100 private static native int getMaxIter_0(long nativeObj); 101 102 // C++: void setMaxIter(int max_iter) 103 private static native void setMaxIter_0(long nativeObj, int max_iter); 104 105 // C++: void setThreshold(float threshold) 106 private static native void setThreshold_0(long nativeObj, float threshold); 107 108 // native support for java finalize() 109 private static native void delete(long nativeObj); 110 111}