001// 002// This file is auto-generated. Please don't modify it! 003// 004package org.opencv.imgproc; 005 006import org.opencv.imgproc.GeneralizedHough; 007 008// C++: class GeneralizedHoughGuil 009/** 010 * finds arbitrary template in the grayscale image using Generalized Hough Transform 011 * 012 * Detects position, translation and rotation CITE: Guil1999 . 013 */ 014public class GeneralizedHoughGuil extends GeneralizedHough { 015 016 protected GeneralizedHoughGuil(long addr) { super(addr); } 017 018 // internal usage only 019 public static GeneralizedHoughGuil __fromPtr__(long addr) { return new GeneralizedHoughGuil(addr); } 020 021 // 022 // C++: void cv::GeneralizedHoughGuil::setXi(double xi) 023 // 024 025 public void setXi(double xi) { 026 setXi_0(nativeObj, xi); 027 } 028 029 030 // 031 // C++: double cv::GeneralizedHoughGuil::getXi() 032 // 033 034 public double getXi() { 035 return getXi_0(nativeObj); 036 } 037 038 039 // 040 // C++: void cv::GeneralizedHoughGuil::setLevels(int levels) 041 // 042 043 public void setLevels(int levels) { 044 setLevels_0(nativeObj, levels); 045 } 046 047 048 // 049 // C++: int cv::GeneralizedHoughGuil::getLevels() 050 // 051 052 public int getLevels() { 053 return getLevels_0(nativeObj); 054 } 055 056 057 // 058 // C++: void cv::GeneralizedHoughGuil::setAngleEpsilon(double angleEpsilon) 059 // 060 061 public void setAngleEpsilon(double angleEpsilon) { 062 setAngleEpsilon_0(nativeObj, angleEpsilon); 063 } 064 065 066 // 067 // C++: double cv::GeneralizedHoughGuil::getAngleEpsilon() 068 // 069 070 public double getAngleEpsilon() { 071 return getAngleEpsilon_0(nativeObj); 072 } 073 074 075 // 076 // C++: void cv::GeneralizedHoughGuil::setMinAngle(double minAngle) 077 // 078 079 public void setMinAngle(double minAngle) { 080 setMinAngle_0(nativeObj, minAngle); 081 } 082 083 084 // 085 // C++: double cv::GeneralizedHoughGuil::getMinAngle() 086 // 087 088 public double getMinAngle() { 089 return getMinAngle_0(nativeObj); 090 } 091 092 093 // 094 // C++: void cv::GeneralizedHoughGuil::setMaxAngle(double maxAngle) 095 // 096 097 public void setMaxAngle(double maxAngle) { 098 setMaxAngle_0(nativeObj, maxAngle); 099 } 100 101 102 // 103 // C++: double cv::GeneralizedHoughGuil::getMaxAngle() 104 // 105 106 public double getMaxAngle() { 107 return getMaxAngle_0(nativeObj); 108 } 109 110 111 // 112 // C++: void cv::GeneralizedHoughGuil::setAngleStep(double angleStep) 113 // 114 115 public void setAngleStep(double angleStep) { 116 setAngleStep_0(nativeObj, angleStep); 117 } 118 119 120 // 121 // C++: double cv::GeneralizedHoughGuil::getAngleStep() 122 // 123 124 public double getAngleStep() { 125 return getAngleStep_0(nativeObj); 126 } 127 128 129 // 130 // C++: void cv::GeneralizedHoughGuil::setAngleThresh(int angleThresh) 131 // 132 133 public void setAngleThresh(int angleThresh) { 134 setAngleThresh_0(nativeObj, angleThresh); 135 } 136 137 138 // 139 // C++: int cv::GeneralizedHoughGuil::getAngleThresh() 140 // 141 142 public int getAngleThresh() { 143 return getAngleThresh_0(nativeObj); 144 } 145 146 147 // 148 // C++: void cv::GeneralizedHoughGuil::setMinScale(double minScale) 149 // 150 151 public void setMinScale(double minScale) { 152 setMinScale_0(nativeObj, minScale); 153 } 154 155 156 // 157 // C++: double cv::GeneralizedHoughGuil::getMinScale() 158 // 159 160 public double getMinScale() { 161 return getMinScale_0(nativeObj); 162 } 163 164 165 // 166 // C++: void cv::GeneralizedHoughGuil::setMaxScale(double maxScale) 167 // 168 169 public void setMaxScale(double maxScale) { 170 setMaxScale_0(nativeObj, maxScale); 171 } 172 173 174 // 175 // C++: double cv::GeneralizedHoughGuil::getMaxScale() 176 // 177 178 public double getMaxScale() { 179 return getMaxScale_0(nativeObj); 180 } 181 182 183 // 184 // C++: void cv::GeneralizedHoughGuil::setScaleStep(double scaleStep) 185 // 186 187 public void setScaleStep(double scaleStep) { 188 setScaleStep_0(nativeObj, scaleStep); 189 } 190 191 192 // 193 // C++: double cv::GeneralizedHoughGuil::getScaleStep() 194 // 195 196 public double getScaleStep() { 197 return getScaleStep_0(nativeObj); 198 } 199 200 201 // 202 // C++: void cv::GeneralizedHoughGuil::setScaleThresh(int scaleThresh) 203 // 204 205 public void setScaleThresh(int scaleThresh) { 206 setScaleThresh_0(nativeObj, scaleThresh); 207 } 208 209 210 // 211 // C++: int cv::GeneralizedHoughGuil::getScaleThresh() 212 // 213 214 public int getScaleThresh() { 215 return getScaleThresh_0(nativeObj); 216 } 217 218 219 // 220 // C++: void cv::GeneralizedHoughGuil::setPosThresh(int posThresh) 221 // 222 223 public void setPosThresh(int posThresh) { 224 setPosThresh_0(nativeObj, posThresh); 225 } 226 227 228 // 229 // C++: int cv::GeneralizedHoughGuil::getPosThresh() 230 // 231 232 public int getPosThresh() { 233 return getPosThresh_0(nativeObj); 234 } 235 236 237 @Override 238 protected void finalize() throws Throwable { 239 delete(nativeObj); 240 } 241 242 243 244 // C++: void cv::GeneralizedHoughGuil::setXi(double xi) 245 private static native void setXi_0(long nativeObj, double xi); 246 247 // C++: double cv::GeneralizedHoughGuil::getXi() 248 private static native double getXi_0(long nativeObj); 249 250 // C++: void cv::GeneralizedHoughGuil::setLevels(int levels) 251 private static native void setLevels_0(long nativeObj, int levels); 252 253 // C++: int cv::GeneralizedHoughGuil::getLevels() 254 private static native int getLevels_0(long nativeObj); 255 256 // C++: void cv::GeneralizedHoughGuil::setAngleEpsilon(double angleEpsilon) 257 private static native void setAngleEpsilon_0(long nativeObj, double angleEpsilon); 258 259 // C++: double cv::GeneralizedHoughGuil::getAngleEpsilon() 260 private static native double getAngleEpsilon_0(long nativeObj); 261 262 // C++: void cv::GeneralizedHoughGuil::setMinAngle(double minAngle) 263 private static native void setMinAngle_0(long nativeObj, double minAngle); 264 265 // C++: double cv::GeneralizedHoughGuil::getMinAngle() 266 private static native double getMinAngle_0(long nativeObj); 267 268 // C++: void cv::GeneralizedHoughGuil::setMaxAngle(double maxAngle) 269 private static native void setMaxAngle_0(long nativeObj, double maxAngle); 270 271 // C++: double cv::GeneralizedHoughGuil::getMaxAngle() 272 private static native double getMaxAngle_0(long nativeObj); 273 274 // C++: void cv::GeneralizedHoughGuil::setAngleStep(double angleStep) 275 private static native void setAngleStep_0(long nativeObj, double angleStep); 276 277 // C++: double cv::GeneralizedHoughGuil::getAngleStep() 278 private static native double getAngleStep_0(long nativeObj); 279 280 // C++: void cv::GeneralizedHoughGuil::setAngleThresh(int angleThresh) 281 private static native void setAngleThresh_0(long nativeObj, int angleThresh); 282 283 // C++: int cv::GeneralizedHoughGuil::getAngleThresh() 284 private static native int getAngleThresh_0(long nativeObj); 285 286 // C++: void cv::GeneralizedHoughGuil::setMinScale(double minScale) 287 private static native void setMinScale_0(long nativeObj, double minScale); 288 289 // C++: double cv::GeneralizedHoughGuil::getMinScale() 290 private static native double getMinScale_0(long nativeObj); 291 292 // C++: void cv::GeneralizedHoughGuil::setMaxScale(double maxScale) 293 private static native void setMaxScale_0(long nativeObj, double maxScale); 294 295 // C++: double cv::GeneralizedHoughGuil::getMaxScale() 296 private static native double getMaxScale_0(long nativeObj); 297 298 // C++: void cv::GeneralizedHoughGuil::setScaleStep(double scaleStep) 299 private static native void setScaleStep_0(long nativeObj, double scaleStep); 300 301 // C++: double cv::GeneralizedHoughGuil::getScaleStep() 302 private static native double getScaleStep_0(long nativeObj); 303 304 // C++: void cv::GeneralizedHoughGuil::setScaleThresh(int scaleThresh) 305 private static native void setScaleThresh_0(long nativeObj, int scaleThresh); 306 307 // C++: int cv::GeneralizedHoughGuil::getScaleThresh() 308 private static native int getScaleThresh_0(long nativeObj); 309 310 // C++: void cv::GeneralizedHoughGuil::setPosThresh(int posThresh) 311 private static native void setPosThresh_0(long nativeObj, int posThresh); 312 313 // C++: int cv::GeneralizedHoughGuil::getPosThresh() 314 private static native int getPosThresh_0(long nativeObj); 315 316 // native support for java finalize() 317 private static native void delete(long nativeObj); 318 319}