diff --git a/.gitignore b/.gitignore index 13d7157..c1910d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -*~ -~* .classpath .gradle .project @@ -19,3 +17,5 @@ project.properties .idea build.log build-log.xml +*~ +*.log diff --git a/AndroidManifest.xml b/AndroidManifest.xml deleted file mode 100644 index a72daba..0000000 --- a/AndroidManifest.xml +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..806946c --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,15 @@ +cmake_minimum_required(VERSION 2.8.3) +project(android_ros_drivers) + +find_package(catkin REQUIRED rosjava_build_tools) + +catkin_android_setup(assembleRelease uploadArchives) + +catkin_package() + +############################################################################## +# Installation +############################################################################## + +install(DIRECTORY ${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_MAVEN_DESTINATION}/android_ros_drivers/ + DESTINATION ${CATKIN_GLOBAL_MAVEN_DESTINATION}/android_ros_drivers) diff --git a/README.md b/README.md new file mode 100644 index 0000000..a8d507b --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +# ROS Driver for Android Sensors +This is a nice android application that allows for publishing of data from a phone to a publish ROS master. +This can be used to record a ROS bag of data or to preform SLAM on a higher powered computer. +Note that this only works on phones that use the Camera1 API (so no newer camera2 api phones). +If you are interested in recording data for a Camera2 API phone check out our other repository [android-dataset-recorder](https://github.com/rpng/android-dataset-recorder). +Also note that on some phones the number of cameras that you can use is limited (and thus if you select more the app will fail). +This is caused by a limit to the bandwidth over the camera buses on the physical phone hardware. + + + +## How to compile and install? + +* Downlaod Android Studio and install https://developer.android.com/studio/index.html +* run `git clone https://github.com/rpng/android_sensors_driver.git android_sensor_project` +* open android_sensor_porject as existing project in Android Studio +* Press run button +* Build will fail but suggest to install missing frameworks. Click on the link, install missing, and press run again. +* You can choose to run on a simulator or on your phone + * Phone + * Your phone must have developer mode enabled. + * Enter IP of rosmaster + * Emulator + * IP of localhost of emulator computer is 10.0.0.2 + * Enter 10.0.0.2 in your app in emulator, if ros is running at your local computer as well + + +## Screenshots + +![Screenshot 1](screenshots/Screenshot_2016-01-11-11-53-21.png) +![Screenshot 2](screenshots/Screenshot_2016-01-11-11-48-04.png) +![Screenshot 3](screenshots/Screenshot_2017-10-27-12-22-12.png) +![Screenshot 4](screenshots/Screenshot_2017-10-27-12-25-37.png) diff --git a/build.gradle b/build.gradle index de1706b..4067e76 100644 --- a/build.gradle +++ b/build.gradle @@ -1,42 +1,59 @@ /* - * Copyright (C) 2011 Google Inc. + * Copyright (c) 2015, Tal Regev + * All rights reserved. * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * http://www.apache.org/licenses/LICENSE-2.0 + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the Android Sensors Driver nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ - - -dependencies { - compile "org.ros.rosjava_core:rosjava:0.2.0" - compile "org.ros.rosjava_core:rosjava_tutorial_pubsub:[0,)" - compile 'com.android.support:support-v4:21.0.0' - compile project(':android_15') - +task wrapper(type: Wrapper) { + gradleVersion = "2.14.1" } +buildscript { + apply from: "https://github.com/rosjava/android_core/raw/kinetic/buildscript.gradle" +} -apply plugin: 'android' - -/*debug.dependsOn project(':android_gingerbread_mr1').tasks.debug*/ +apply plugin: "catkin" -android { - compileSdkVersion 15 +allprojects { + group "org" + version = project.catkin.pkg.version +} - defaultConfig { - minSdkVersion 15 - applicationId "org.ros.android.android_sensor_driver" - targetSdkVersion 15 - versionCode 1 - versionName "1.0" +subprojects { + apply plugin: 'ros-android' + afterEvaluate { project -> + android { + // Exclude a few files that are duplicated across our dependencies and + // prevent packaging Android applications. + packagingOptions { + exclude "META-INF/LICENSE.txt" + exclude "META-INF/NOTICE.txt" + } + } } } + +defaultTasks 'jar' , 'assembleRelease', 'uploadArchives' diff --git a/build.xml b/build.xml deleted file mode 100644 index a10a914..0000000 --- a/build.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/buildAll.sh b/buildAll.sh deleted file mode 100755 index 19df9e2..0000000 --- a/buildAll.sh +++ /dev/null @@ -1,11 +0,0 @@ -# Bash - -../gradlew clean debug -if [ $? -eq 0 ] - then - adb uninstall org.ros.android.android_sensors_driver - adb install bin/MainActivity-debug.apk - adb shell am start -n org.ros.android.android_sensors_driver/org.ros.android.android_sensors_driver.MainActivity - adb logcat -c - adb logcat -fi diff --git a/cv_bridge/AndroidManifest.xml b/cv_bridge/AndroidManifest.xml new file mode 100644 index 0000000..6cc0d17 --- /dev/null +++ b/cv_bridge/AndroidManifest.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/cv_bridge/build.gradle b/cv_bridge/build.gradle new file mode 100644 index 0000000..aff44dc --- /dev/null +++ b/cv_bridge/build.gradle @@ -0,0 +1,29 @@ +//apply plugin: "ros-android" +apply plugin: "com.android.library" + +dependencies { + compile 'org.ros.android_core:android_10:[0.3,0.4)' +// compile "org.ros.rosjava_core:rosjava:[0.2,0.3)" +// compile "org.ros.rosjava_messages:sensor_msgs:[1.11,1.12)" + compile project(':opencv3') + compile project(':image') +} + + +android { + compileSdkVersion 25 + buildToolsVersion "25.0.2" + defaultConfig { + minSdkVersion 10 + targetSdkVersion 25 + } + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + resources.srcDirs = ['src'] + res.srcDirs = ['res'] + aidl.srcDirs = ['src'] + } + } +} diff --git a/cv_bridge/res/mipmap-hdpi/ros_icon.png b/cv_bridge/res/mipmap-hdpi/ros_icon.png new file mode 100644 index 0000000..c7956d1 Binary files /dev/null and b/cv_bridge/res/mipmap-hdpi/ros_icon.png differ diff --git a/cv_bridge/res/mipmap-ldpi/ros_icon.png b/cv_bridge/res/mipmap-ldpi/ros_icon.png new file mode 100644 index 0000000..c7956d1 Binary files /dev/null and b/cv_bridge/res/mipmap-ldpi/ros_icon.png differ diff --git a/cv_bridge/res/mipmap-mdpi/ros_icon.png b/cv_bridge/res/mipmap-mdpi/ros_icon.png new file mode 100644 index 0000000..c7956d1 Binary files /dev/null and b/cv_bridge/res/mipmap-mdpi/ros_icon.png differ diff --git a/cv_bridge/res/values/common_strings.xml b/cv_bridge/res/values/common_strings.xml new file mode 100644 index 0000000..5d93340 --- /dev/null +++ b/cv_bridge/res/values/common_strings.xml @@ -0,0 +1,5 @@ + + + + cv_bridge for Android + diff --git a/cv_bridge/src/cv_bridge/CvImage.java b/cv_bridge/src/cv_bridge/CvImage.java new file mode 100644 index 0000000..0dabb6b --- /dev/null +++ b/cv_bridge/src/cv_bridge/CvImage.java @@ -0,0 +1,221 @@ +/* + * Copyright (c) 2015, Tal Regev + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the Android Sensors Driver nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +package cv_bridge; + +import org.jboss.netty.buffer.ChannelBuffer; +import org.jboss.netty.buffer.ChannelBufferOutputStream; +import org.opencv.core.CvType; +import org.opencv.core.Mat; +import org.opencv.core.MatOfByte; +import org.opencv.imgcodecs.Imgcodecs; +import org.opencv.imgproc.Imgproc; +import org.ros.internal.message.MessageBuffers; + +import java.io.IOException; +import java.util.Arrays; +import java.util.Vector; + +import sensor_msgs.CompressedImage; +import sensor_msgs.Image; +import sensor_msgs.ImageEncodings; +import std_msgs.Header; + +/** + * @author Tal Regev + */ +public class CvImage +{ + static protected final String TAG = "cv_bridge::CvImage"; + public Header header; + public Mat image = new Mat(); + public String encoding = ""; + + CvImage(){} + + public CvImage(final Header header, final String encoding) + { + this.header = header; + this.encoding = encoding.toUpperCase(); + this.image = new Mat(); + } + + public CvImage(final Header header, final String encoding, + final Mat image) + { + this.header = header; + this.encoding = encoding.toUpperCase(); + this.image = image; + } + + @SuppressWarnings("unused") + public final Image toImageMsg(final Image ros_image) throws IOException { + ros_image.setHeader(header); + ros_image.setEncoding(encoding.toLowerCase()); + int totalByteFrame = (ImEncoding.safeLongToInt(image.total())); + ros_image.setWidth(image.width()); + ros_image.setHeight(image.height()); + ros_image.setStep(totalByteFrame / image.height()); + + ChannelBufferOutputStream stream = new ChannelBufferOutputStream(MessageBuffers.dynamicBuffer()); + byte[] imageInBytes = new byte[totalByteFrame * image.channels()]; + image.get(0, 0, imageInBytes); + stream.write(imageInBytes); + + //noinspection UnusedAssignment + imageInBytes = null; + + ros_image.setData(stream.buffer().copy()); + return ros_image; + } + + //TODO add a compression parameter. + public final CompressedImage toCompressedImageMsg(final CompressedImage ros_image, Format dst_format) throws Exception { + ros_image.setHeader(header); + Mat image; + if(!encoding.equals(ImageEncodings.BGR8)) + { + CvImage temp = CvImage.cvtColor(this, ImageEncodings.BGR8); + image = temp.image; + } + else + { + image = this.image; + } + + MatOfByte buf = new MatOfByte(); + + ros_image.setFormat(Format.valueOf(dst_format)); + Imgcodecs.imencode(Format.getExtension(dst_format), image, buf); + + ChannelBufferOutputStream stream = new ChannelBufferOutputStream(MessageBuffers.dynamicBuffer()); + stream.write(buf.toArray()); + + ros_image.setData(stream.buffer().copy()); + return ros_image; + } + + @SuppressWarnings("unused") + static public CvImage toCvCopy(final Image source) throws Exception { + return CvImage.toCvCopyImpl(matFromImage(source), source.getHeader(), source.getEncoding(), ""); + } + + @SuppressWarnings("unused") + static public CvImage toCvCopy(final Image source, final String dst_encoding) throws Exception { + return CvImage.toCvCopyImpl(matFromImage(source), source.getHeader(), source.getEncoding(), dst_encoding); + } + + static public CvImage toCvCopy(final CompressedImage source) throws Exception { + return CvImage.toCvCopyImpl(matFromImage(source), source.getHeader(), ImageEncodings.BGR8, ""); + } + + static public CvImage toCvCopy(final CompressedImage source,final String dst_encoding) throws Exception { + return CvImage.toCvCopyImpl(matFromImage(source), source.getHeader(), ImageEncodings.BGR8, dst_encoding); + } + + @SuppressWarnings("unused") + static public CvImage cvtColor(final CvImage source, String encoding) throws Exception { + return toCvCopyImpl(source.image, source.header, source.encoding, encoding); + } + + static protected CvImage toCvCopyImpl(final Mat source, + final Header src_header, + final String src_encoding, + final String dst_encoding) throws Exception + { + /// @todo Handle endianness - e.g. 16-bit dc1394 camera images are big-endian + + // Copy metadata + CvImage cvImage = new CvImage(); + cvImage.header = src_header; + + // Copy to new buffer if same encoding requested + if (dst_encoding.isEmpty() || dst_encoding.equals(src_encoding)) + { + cvImage.encoding = src_encoding; + source.copyTo(cvImage.image); + } + else + { + // Convert the source data to the desired encoding + final Vector conversion_codes = ImEncoding.getConversionCode(src_encoding, dst_encoding); + Mat image1 = source; + Mat image2 = new Mat(); + + for(int i=0; i < conversion_codes.size(); ++i) + { + int conversion_code = conversion_codes.get(i); + if (conversion_code == ImEncoding.SAME_FORMAT) { + //convert from Same number of channels, but different bit depth + //double alpha = 1.0; + int src_depth = ImageEncodings.bitDepth(src_encoding); + int dst_depth = ImageEncodings.bitDepth(dst_encoding); + // Do scaling between CV_8U [0,255] and CV_16U [0,65535] images. + if (src_depth == 8 && dst_depth == 16) + image1.convertTo(image2, ImEncoding.getCvType(dst_encoding), 65535. / 255.); + else if (src_depth == 16 && dst_depth == 8) + image1.convertTo(image2, ImEncoding.getCvType(dst_encoding), 255. / 65535.); + else + image1.convertTo(image2, ImEncoding.getCvType(dst_encoding)); + + } + else + { + // Perform color conversion + Imgproc.cvtColor(image1, image2, conversion_codes.get(0)); + } + image1 = image2; + } + cvImage.image = image2; + cvImage.encoding = dst_encoding; + } + return cvImage; + } + + static protected Mat matFromImage(final Image source) throws Exception { + byte[] imageInBytes = source.getData().array(); + imageInBytes = Arrays.copyOfRange(imageInBytes,source.getData().arrayOffset(),imageInBytes.length); + String encoding = source.getEncoding().toUpperCase(); + Mat cvImage = new Mat(source.getHeight(),source.getWidth(), ImEncoding.getCvType(encoding)); + cvImage.put(0,0,imageInBytes); + return cvImage; + } + + static protected Mat matFromImage(final CompressedImage source) throws Exception + { + ChannelBuffer data = source.getData(); + byte[] imageInBytes = data.array(); + imageInBytes = Arrays.copyOfRange(imageInBytes, source.getData().arrayOffset(), imageInBytes.length); + //from http://stackoverflow.com/questions/23202130/android-convert-byte-array-from-camera-api-to-color-mat-object-opencv + Mat jpegData = new Mat(1, imageInBytes.length, CvType.CV_8UC1); + jpegData.put(0, 0, imageInBytes); + + return Imgcodecs.imdecode(jpegData, Imgcodecs.IMREAD_COLOR); + } +} diff --git a/cv_bridge/src/cv_bridge/Encoding.java b/cv_bridge/src/cv_bridge/Encoding.java new file mode 100644 index 0000000..7ab5160 --- /dev/null +++ b/cv_bridge/src/cv_bridge/Encoding.java @@ -0,0 +1,308 @@ +/* + * Copyright (c) 2015, Tal Regev + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the Android Sensors Driver nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +package cv_bridge; + +import android.util.Pair; + +import org.opencv.core.CvType; +import org.opencv.imgproc.Imgproc; + +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import java.util.Vector; + +import sensor_msgs.ImageEncodings; + + +//from http://stackoverflow.com/questions/11047756/getting-enum-associated-with-int-value +@SuppressWarnings("Convert2Diamond") +public enum Encoding { INVALID(-1), GRAY(0), RGB(1), BGR(2), RGBA(3), BGRA(4), YUV422(5), BAYER_RGGB(6), BAYER_BGGR(7), BAYER_GBRG(8), BAYER_GRBG(9); + protected int encodingNumber; + + private static Map map = new HashMap(); + static { + for (Encoding encoding : Encoding.values()) { + map.put(encoding.encodingNumber, encoding); + } + } + + Encoding(final int encodingNumber) { this.encodingNumber = encodingNumber; } + + public static Encoding valueOf(int encodingNumber) { + return map.get(encodingNumber); + } +} + +@SuppressWarnings("Convert2Diamond") +class ImEncoding +{ + protected static final int SAME_FORMAT = -1; + + static int getCvType(final String enc) throws Exception { + + String encoding = enc.toLowerCase(); + + if (encoding.equals(ImageEncodings.BGR8)) return CvType.CV_8UC3; + if (encoding.equals(ImageEncodings.MONO8)) return CvType.CV_8UC1; + if (encoding.equals(ImageEncodings.RGB8)) return CvType.CV_8UC3; + if (encoding.equals(ImageEncodings.MONO16)) return CvType.CV_16UC1; + if (encoding.equals(ImageEncodings.BGR16)) return CvType.CV_16UC3; + if (encoding.equals(ImageEncodings.RGB16)) return CvType.CV_16UC3; + if (encoding.equals(ImageEncodings.BGRA8)) return CvType.CV_8UC4; + if (encoding.equals(ImageEncodings.RGBA8)) return CvType.CV_8UC4; + if (encoding.equals(ImageEncodings.BGRA16)) return CvType.CV_16UC4; + if (encoding.equals(ImageEncodings.RGBA16)) return CvType.CV_16UC4; + + // For bayer, return one-channel + if (encoding.equals(ImageEncodings.BAYER_RGGB8)) return CvType.CV_8UC1; + if (encoding.equals(ImageEncodings.BAYER_BGGR8)) return CvType.CV_8UC1; + if (encoding.equals(ImageEncodings.BAYER_GBRG8)) return CvType.CV_8UC1; + if (encoding.equals(ImageEncodings.BAYER_GRBG8)) return CvType.CV_8UC1; + if (encoding.equals(ImageEncodings.BAYER_RGGB16)) return CvType.CV_16UC1; + if (encoding.equals(ImageEncodings.BAYER_BGGR16)) return CvType.CV_16UC1; + if (encoding.equals(ImageEncodings.BAYER_GBRG16)) return CvType.CV_16UC1; + if (encoding.equals(ImageEncodings.BAYER_GRBG16)) return CvType.CV_16UC1; + + // Miscellaneous + if (encoding.equals(ImageEncodings.YUV422)) return CvType.CV_8UC2; + + + encoding = encoding.toUpperCase(); + + //macro code + if (encoding.equals(ImageEncodings.TYPE_8UC1)) return CvType.CV_8UC1; + if (encoding.equals(ImageEncodings.TYPE_8UC2)) return CvType.CV_8UC2; + if (encoding.equals(ImageEncodings.TYPE_8UC3)) return CvType.CV_8UC3; + if (encoding.equals(ImageEncodings.TYPE_8UC4)) return CvType.CV_8UC4; + if (encoding.equals(ImageEncodings.TYPE_8SC1)) return CvType.CV_8SC1; + if (encoding.equals(ImageEncodings.TYPE_8SC2)) return CvType.CV_8SC2; + if (encoding.equals(ImageEncodings.TYPE_8SC3)) return CvType.CV_8SC3; + if (encoding.equals(ImageEncodings.TYPE_8SC4)) return CvType.CV_8SC4; + if (encoding.equals(ImageEncodings.TYPE_16UC1)) return CvType.CV_16UC1; + if (encoding.equals(ImageEncodings.TYPE_16UC2)) return CvType.CV_16UC2; + if (encoding.equals(ImageEncodings.TYPE_16UC3)) return CvType.CV_16UC3; + if (encoding.equals(ImageEncodings.TYPE_16UC4)) return CvType.CV_16UC4; + if (encoding.equals(ImageEncodings.TYPE_16SC1)) return CvType.CV_16SC1; + if (encoding.equals(ImageEncodings.TYPE_16SC2)) return CvType.CV_16SC2; + if (encoding.equals(ImageEncodings.TYPE_16SC3)) return CvType.CV_16SC3; + if (encoding.equals(ImageEncodings.TYPE_16SC4)) return CvType.CV_16SC4; + if (encoding.equals(ImageEncodings.TYPE_32SC1)) return CvType.CV_32SC1; + if (encoding.equals(ImageEncodings.TYPE_32SC2)) return CvType.CV_32SC2; + if (encoding.equals(ImageEncodings.TYPE_32SC3)) return CvType.CV_32SC3; + if (encoding.equals(ImageEncodings.TYPE_32SC4)) return CvType.CV_32SC4; + if (encoding.equals(ImageEncodings.TYPE_32FC1)) return CvType.CV_32FC1; + if (encoding.equals(ImageEncodings.TYPE_32FC2)) return CvType.CV_32FC2; + if (encoding.equals(ImageEncodings.TYPE_32FC3)) return CvType.CV_32FC3; + if (encoding.equals(ImageEncodings.TYPE_32FC4)) return CvType.CV_32FC4; + if (encoding.equals(ImageEncodings.TYPE_64FC1)) return CvType.CV_64FC1; + if (encoding.equals(ImageEncodings.TYPE_64FC2)) return CvType.CV_64FC2; + if (encoding.equals(ImageEncodings.TYPE_64FC3)) return CvType.CV_64FC3; + if (encoding.equals(ImageEncodings.TYPE_64FC4)) return CvType.CV_64FC4; + + throw new Exception("Unrecognized image encoding [" + encoding + "]"); + } + + protected static int safeLongToInt(long l) { + if (l < Integer.MIN_VALUE || l > Integer.MAX_VALUE) { + throw new IllegalArgumentException + (l + " cannot be cast to int without changing its value."); + } + return (int) l; + } + + protected static Map, Vector> getConversionCodes() { + Map, Vector> res = new HashMap, Vector>(); + + for(int i=0; i<=5; ++i) { + res.put(new Pair(Encoding.valueOf(i), Encoding.valueOf(i)), + new Vector(Arrays.asList(new Integer[]{SAME_FORMAT}))); + } + + res.put(new Pair(Encoding.GRAY, Encoding.RGB), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_GRAY2RGB}))); + res.put(new Pair(Encoding.GRAY, Encoding.BGR), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_GRAY2BGR}))); + res.put(new Pair(Encoding.GRAY, Encoding.RGBA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_GRAY2RGBA}))); + res.put(new Pair(Encoding.GRAY, Encoding.BGRA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_GRAY2BGRA}))); + + res.put(new Pair(Encoding.RGB, Encoding.GRAY), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_RGB2GRAY}))); + res.put(new Pair(Encoding.RGB, Encoding.BGR), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_RGB2BGR}))); + res.put(new Pair(Encoding.RGB, Encoding.RGBA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_RGB2RGBA}))); + res.put(new Pair(Encoding.RGB, Encoding.BGRA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_RGB2BGRA}))); + + res.put(new Pair(Encoding.BGR, Encoding.GRAY), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BGR2GRAY}))); + res.put(new Pair(Encoding.BGR, Encoding.RGB), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BGR2RGB}))); + res.put(new Pair(Encoding.BGR, Encoding.RGBA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BGR2RGBA}))); + res.put(new Pair(Encoding.BGR, Encoding.BGRA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BGR2BGRA}))); + + res.put(new Pair(Encoding.RGBA, Encoding.GRAY), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_RGBA2GRAY}))); + res.put(new Pair(Encoding.RGBA, Encoding.RGB), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_RGBA2RGB}))); + res.put(new Pair(Encoding.RGBA, Encoding.BGR), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_RGBA2BGR}))); + res.put(new Pair(Encoding.RGBA, Encoding.BGRA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_RGBA2BGRA}))); + + res.put(new Pair(Encoding.BGRA, Encoding.GRAY), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BGRA2GRAY}))); + res.put(new Pair(Encoding.BGRA, Encoding.RGB), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BGRA2RGB}))); + res.put(new Pair(Encoding.BGRA, Encoding.BGR), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BGRA2BGR}))); + res.put(new Pair(Encoding.BGRA, Encoding.RGBA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BGRA2RGBA}))); + + res.put(new Pair(Encoding.YUV422, Encoding.GRAY), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_YUV2GRAY_UYVY}))); + res.put(new Pair(Encoding.YUV422, Encoding.RGB), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_YUV2RGB_UYVY}))); + res.put(new Pair(Encoding.YUV422, Encoding.BGR), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_YUV2BGR_UYVY}))); + res.put(new Pair(Encoding.YUV422, Encoding.RGBA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_YUV2RGBA_UYVY}))); + res.put(new Pair(Encoding.YUV422, Encoding.BGRA), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_YUV2BGRA_UYVY}))); + + // Deal with Bayer + res.put(new Pair(Encoding.BAYER_RGGB, Encoding.GRAY), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerBG2GRAY}))); + res.put(new Pair(Encoding.BAYER_RGGB, Encoding.RGB), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerBG2RGB}))); + res.put(new Pair(Encoding.BAYER_RGGB, Encoding.BGR), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerBG2BGR}))); + + res.put(new Pair(Encoding.BAYER_BGGR, Encoding.GRAY), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerRG2GRAY}))); + res.put(new Pair(Encoding.BAYER_BGGR, Encoding.RGB), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerRG2RGB}))); + res.put(new Pair(Encoding.BAYER_BGGR, Encoding.BGR), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerRG2BGR}))); + + res.put(new Pair(Encoding.BAYER_GBRG, Encoding.GRAY), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerGR2GRAY}))); + res.put(new Pair(Encoding.BAYER_GBRG, Encoding.RGB), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerGR2RGB}))); + res.put(new Pair(Encoding.BAYER_GBRG, Encoding.BGR), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerGR2BGR}))); + + res.put(new Pair(Encoding.BAYER_GRBG, Encoding.GRAY), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerGB2GRAY}))); + res.put(new Pair(Encoding.BAYER_GRBG, Encoding.RGB), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerGB2RGB}))); + res.put(new Pair(Encoding.BAYER_GRBG, Encoding.BGR), + new Vector(Arrays.asList(new Integer[]{Imgproc.COLOR_BayerGB2BGR}))); + + return res; + } + + protected static Encoding getEncoding(final String encoding) + { + String lEncoding = encoding.toLowerCase(); + + if ((lEncoding.equals(ImageEncodings.MONO8) || (lEncoding.equals(ImageEncodings.MONO8)))) return Encoding.GRAY; + if ((lEncoding.equals(ImageEncodings.BGR8) || (lEncoding.equals(ImageEncodings.BGR8)))) return Encoding.BGR; + if ((lEncoding.equals(ImageEncodings.RGB8) || (lEncoding.equals(ImageEncodings.RGB8)))) return Encoding.RGB; + if ((lEncoding.equals(ImageEncodings.BGRA8) || (lEncoding.equals(ImageEncodings.BGRA8)))) return Encoding.BGRA; + if ((lEncoding.equals(ImageEncodings.RGBA8) || (lEncoding.equals(ImageEncodings.RGBA8)))) return Encoding.RGBA; + if (lEncoding.equals(ImageEncodings.YUV422)) return Encoding.YUV422; + + if ((lEncoding.equals(ImageEncodings.BAYER_RGGB8) || (lEncoding.equals(ImageEncodings.BAYER_RGGB8)))) return Encoding.BAYER_RGGB; + if ((lEncoding.equals(ImageEncodings.BAYER_BGGR8) || (lEncoding.equals(ImageEncodings.BAYER_BGGR8)))) return Encoding.BAYER_BGGR; + if ((lEncoding.equals(ImageEncodings.BAYER_GBRG8) || (lEncoding.equals(ImageEncodings.BAYER_GBRG8)))) return Encoding.BAYER_GBRG; + if ((lEncoding.equals(ImageEncodings.BAYER_GRBG8) || (lEncoding.equals(ImageEncodings.BAYER_GRBG8)))) return Encoding.BAYER_GRBG; + + // We don't support conversions to/from other types + return Encoding.INVALID; + } + + protected static Vector getConversionCode(String src_encoding, String dst_encoding) throws Exception { + Encoding src_encode = getEncoding(src_encoding); + Encoding dst_encode = getEncoding(dst_encoding); + + boolean is_src_color_format = ImageEncodings.isColor(src_encoding) || + ImageEncodings.isMono(src_encoding) || + ImageEncodings.isBayer(src_encoding) || + (src_encoding.toLowerCase().equals(ImageEncodings.YUV422)); + + boolean is_dst_color_format = ImageEncodings.isColor(dst_encoding) || + ImageEncodings.isMono(dst_encoding) || + ImageEncodings.isBayer(dst_encoding) || + (dst_encoding.toLowerCase().equals(ImageEncodings.YUV422)); + + boolean is_num_channels_the_same = ImageEncodings.numChannels(src_encoding) == ImageEncodings.numChannels(dst_encoding); + + // If we have no color info in the source, we can only convert to the same format which + // was resolved in the previous condition. Otherwise, fail + if (!is_src_color_format) { + if (is_dst_color_format) + throw new Exception("[" + src_encoding + "] is not a color format. but [" + dst_encoding + + "] is. The conversion does not make sense"); + if (!is_num_channels_the_same) + throw new Exception("[" + src_encoding + "] and [" + dst_encoding + "] do not have the same number of channel"); + return new Vector(1, SAME_FORMAT); + } + + // If we are converting from a color type to a non color type, we can only do so if we stick + // to the number of channels + if (!is_dst_color_format) { + if (!is_num_channels_the_same) + throw new Exception("[" + src_encoding + "] is a color format but [" + dst_encoding + "] " + + "is not so they must have the same OpenCV type, CV_8UC3, CV16UC1 ...."); + return new Vector(1, SAME_FORMAT); + } + + // If we are converting from a color type to another type, then everything is fine + final Map, Vector> CONVERSION_CODES = getConversionCodes(); + + Pair key = new Pair(src_encode, dst_encode); + Vector val = CONVERSION_CODES.get(key); + + if (val == null) + throw new Exception("Unsupported conversion from [" + src_encoding + + "] to [" + dst_encoding + "]"); + + // And deal with depth differences + if (ImageEncodings.bitDepth(src_encoding) != ImageEncodings.bitDepth(dst_encoding)) + val.add(SAME_FORMAT); + return val; + } +} \ No newline at end of file diff --git a/cv_bridge/src/cv_bridge/Format.java b/cv_bridge/src/cv_bridge/Format.java new file mode 100644 index 0000000..6af64f9 --- /dev/null +++ b/cv_bridge/src/cv_bridge/Format.java @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2015, Tal Regev + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the Android Sensors Driver nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ +package cv_bridge; + +import java.util.HashMap; +import java.util.Map; + +/** + * Created by tal on 03/09/15. + * + */ +//from http://stackoverflow.com/questions/11047756/getting-enum-associated-with-int-value +//from http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html#Mat imread(const string& filename, int flags) +@SuppressWarnings("Convert2Diamond") +public enum Format { JPG("jpg"), JPEG("jpeg"), JPE("jpe"), PNG("png"), BMP("bmp"), DIP("dip"), PPM("ppm"), PGM("pgm"), PBM("pbm"), + JP2("jp2"), SR("sr"), RAS("ras"), TIF("tif"), TIFF("TIFF") ; // this formats rviz is not support. + protected String strFormat; + + static private Map map = new HashMap(); + static { + for (Format format : Format.values()) { + map.put(format, format.strFormat); + } + } + + Format(final String strFormat) { this.strFormat = strFormat; } + + public static String valueOf(Format format) { + return map.get(format); + } + + static String getExtension(Format format){ + String ext = "."; + return ext.concat(map.get(format)); + } +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..c151d1b --- /dev/null +++ b/gradle.properties @@ -0,0 +1,4 @@ +org.gradle.daemon=true +# Disabling the SNI extension fixes "handshake alert: unrecognized_name" error +# in Java 7. +org.gradle.jvmargs=-XX:MaxPermSize=512m -Djsse.enableSNIExtension=false diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..30d399d Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..a787fee --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Thu Oct 26 20:28:13 EDT 2017 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip diff --git a/gradlew b/gradlew new file mode 100755 index 0000000..91a7e26 --- /dev/null +++ b/gradlew @@ -0,0 +1,164 @@ +#!/usr/bin/env bash + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn ( ) { + echo "$*" +} + +die ( ) { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; +esac + +# For Cygwin, ensure paths are in UNIX format before anything is touched. +if $cygwin ; then + [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` +fi + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >&- +APP_HOME="`pwd -P`" +cd "$SAVED" >&- + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules +function splitJvmOpts() { + JVM_OPTS=("$@") +} +eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS +JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" + +exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..aec9973 --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,90 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windowz variants + +if not "%OS%" == "Windows_NT" goto win9xME_args +if "%@eval[2+2]" == "4" goto 4NT_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* +goto execute + +:4NT_args +@rem Get arguments from the 4NT Shell from JP Software +set CMD_LINE_ARGS=%$ + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/image/AndroidManifest.xml b/image/AndroidManifest.xml new file mode 100644 index 0000000..16ddf66 --- /dev/null +++ b/image/AndroidManifest.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/image/build.gradle b/image/build.gradle new file mode 100644 index 0000000..c2f84e8 --- /dev/null +++ b/image/build.gradle @@ -0,0 +1,23 @@ +apply plugin: 'com.android.library' + +android { + compileSdkVersion 23 + buildToolsVersion "23.0.3" + defaultConfig { + minSdkVersion 10 + targetSdkVersion 23 + versionCode 3000 + versionName "3.0.0" + } + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + resources.srcDirs = ['src'] + res.srcDirs = ['res'] + aidl.srcDirs = ['src'] + } + } +} + + diff --git a/image/src/main/java/sensor_msgs/ImageEncodings.java b/image/src/main/java/sensor_msgs/ImageEncodings.java new file mode 100644 index 0000000..15b3a5d --- /dev/null +++ b/image/src/main/java/sensor_msgs/ImageEncodings.java @@ -0,0 +1,271 @@ +/* + * Copyright (c) 2015, Tal Regev + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the Android Sensors Driver nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +package sensor_msgs; + +/** + * + * @author tal.regev@gmail.com (Tal Regev) + * + */ +public class ImageEncodings { + public static final String RGB8 = "rgb8"; + public static final String RGBA8 = "rgba8"; + public static final String RGB16 = "rgb16"; + public static final String RGBA16 = "rgba16"; + public static final String BGR8 = "bgr8"; + public static final String BGRA8 = "bgra8"; + public static final String BGR16 = "bgr16"; + public static final String BGRA16 = "bgra16"; + public static final String MONO8 = "mono8"; + public static final String MONO16 = "mono16"; + + // OpenCV CvMat types + public static final String TYPE_8UC1 = "8UC1"; + public static final String TYPE_8UC2 = "8UC2"; + public static final String TYPE_8UC3 = "8UC3"; + public static final String TYPE_8UC4 = "8UC4"; + public static final String TYPE_8SC1 = "8SC1"; + public static final String TYPE_8SC2 = "8SC2"; + public static final String TYPE_8SC3 = "8SC3"; + public static final String TYPE_8SC4 = "8SC4"; + public static final String TYPE_16UC1 = "16UC1"; + public static final String TYPE_16UC2 = "16UC2"; + public static final String TYPE_16UC3 = "16UC3"; + public static final String TYPE_16UC4 = "16UC4"; + public static final String TYPE_16SC1 = "16SC1"; + public static final String TYPE_16SC2 = "16SC2"; + public static final String TYPE_16SC3 = "16SC3"; + public static final String TYPE_16SC4 = "16SC4"; + public static final String TYPE_32SC1 = "32SC1"; + public static final String TYPE_32SC2 = "32SC2"; + public static final String TYPE_32SC3 = "32SC3"; + public static final String TYPE_32SC4 = "32SC4"; + public static final String TYPE_32FC1 = "32FC1"; + public static final String TYPE_32FC2 = "32FC2"; + public static final String TYPE_32FC3 = "32FC3"; + public static final String TYPE_32FC4 = "32FC4"; + public static final String TYPE_64FC1 = "64FC1"; + public static final String TYPE_64FC2 = "64FC2"; + public static final String TYPE_64FC3 = "64FC3"; + public static final String TYPE_64FC4 = "64FC4"; + + // Bayer encodings + public static final String BAYER_RGGB8 = "bayer_rggb8"; + public static final String BAYER_BGGR8 = "bayer_bggr8"; + public static final String BAYER_GBRG8 = "bayer_gbrg8"; + public static final String BAYER_GRBG8 = "bayer_grbg8"; + public static final String BAYER_RGGB16 = "bayer_rggb16"; + public static final String BAYER_BGGR16 = "bayer_bggr16"; + public static final String BAYER_GBRG16 = "bayer_gbrg16"; + public static final String BAYER_GRBG16 = "bayer_grbg16"; + + // Miscellaneous + // This is the UYVY version of YUV422 codec http://www.fourcc.org/yuv.php#UYVY + // with an 8-bit depth + public static final String YUV422 = "yuv422"; + + public static boolean isColor(final String encoding) + { + String lEncoding = encoding.toLowerCase(); + return lEncoding.equals(RGB8) || lEncoding.equals(BGR8) || + lEncoding.equals(RGBA8) || lEncoding.equals(BGRA8) || + lEncoding.equals(RGB16) || lEncoding.equals(BGR16) || + lEncoding.equals(RGBA16) || lEncoding.equals(BGRA16); + } + + public static boolean isMono(final String encoding) + { + String lEncoding = encoding.toLowerCase(); + return lEncoding.equals(MONO8) || lEncoding.equals(MONO16); + } + public static boolean isBayer(final String encoding ) + { + String lEncoding = encoding.toLowerCase(); + return lEncoding.equals(BAYER_RGGB8) || lEncoding.equals(BAYER_BGGR8) || + lEncoding.equals(BAYER_GBRG8) || lEncoding.equals(BAYER_GRBG8) || + lEncoding.equals(BAYER_RGGB16) || lEncoding.equals(BAYER_BGGR16) || + lEncoding.equals(BAYER_GBRG16) || lEncoding.equals(BAYER_GRBG16); + } + + public static boolean hasAlpha(final String encoding ) + { + String lEncoding = encoding.toLowerCase(); + return lEncoding.equals(RGBA8) || lEncoding.equals(BGRA8) || + lEncoding.equals(RGBA16) || lEncoding.equals(BGRA16); + } + + public static int numChannels(final String enc ) throws Exception { + + String encoding = enc.toLowerCase(); + // First do the common-case encodings + if (encoding.equals(MONO8) || + encoding.equals(MONO16)) + return 1; + if (encoding.equals(BGR8) || + encoding.equals(RGB8) || + encoding.equals(BGR16) || + encoding.equals(RGB16)) + return 3; + if (encoding.equals(BGRA8) || + encoding.equals(RGBA8) || + encoding.equals(BGRA16) || + encoding.equals(RGBA16)) + return 4; + if (encoding.equals(BAYER_RGGB8) || + encoding.equals(BAYER_BGGR8) || + encoding.equals(BAYER_GBRG8) || + encoding.equals(BAYER_GRBG8) || + encoding.equals(BAYER_RGGB16) || + encoding.equals(BAYER_BGGR16) || + encoding.equals(BAYER_GBRG16) || + encoding.equals(BAYER_GRBG16)) + return 1; + + if (encoding.equals(YUV422)) + return 2; + + encoding = encoding.toUpperCase(); + + if (encoding.equals(TYPE_8UC1) || + encoding.equals(TYPE_8SC1) || + encoding.equals(TYPE_16UC1) || + encoding.equals(TYPE_16SC1) || + encoding.equals(TYPE_32SC1) || + encoding.equals(TYPE_32FC1) || + encoding.equals(TYPE_64FC1)) + return 1; + + if (encoding.equals(TYPE_8UC2) || + encoding.equals(TYPE_8SC2) || + encoding.equals(TYPE_16UC2) || + encoding.equals(TYPE_16SC2) || + encoding.equals(TYPE_32SC2) || + encoding.equals(TYPE_32FC2) || + encoding.equals(TYPE_64FC2)) + return 2; + + if (encoding.equals(TYPE_8UC3) || + encoding.equals(TYPE_8SC3) || + encoding.equals(TYPE_16UC3) || + encoding.equals(TYPE_16SC3) || + encoding.equals(TYPE_32SC3) || + encoding.equals(TYPE_32FC3) || + encoding.equals(TYPE_64FC3)) + return 3; + + if (encoding.equals(TYPE_8UC4) || + encoding.equals(TYPE_8SC4) || + encoding.equals(TYPE_16UC4) || + encoding.equals(TYPE_16SC4) || + encoding.equals(TYPE_32SC4) || + encoding.equals(TYPE_32FC4) || + encoding.equals(TYPE_64FC4)) + return 4; + + throw new Exception("Unknown encoding " + encoding); + } + + public static int bitDepth(final String enc ) throws Exception { + + String encoding = enc.toLowerCase(); + if (encoding.equals(MONO16)) + return 16; + if (encoding.equals(MONO8) || + encoding.equals(BGR8) || + encoding.equals(RGB8) || + encoding.equals(BGRA8) || + encoding.equals(RGBA8) || + encoding.equals(BAYER_RGGB8) || + encoding.equals(BAYER_BGGR8) || + encoding.equals(BAYER_GBRG8) || + encoding.equals(BAYER_GRBG8)) + return 8; + + if (encoding.equals(MONO16) || + encoding.equals(BGR16) || + encoding.equals(RGB16) || + encoding.equals(BGRA16) || + encoding.equals(RGBA16) || + encoding.equals(BAYER_RGGB16) || + encoding.equals(BAYER_BGGR16) || + encoding.equals(BAYER_GBRG16) || + encoding.equals(BAYER_GRBG16)) + return 16; + + if (encoding.equals(YUV422)) + return 8; + + encoding = encoding.toUpperCase(); + + if (encoding.equals(TYPE_8UC1) || + encoding.equals(TYPE_8UC2) || + encoding.equals(TYPE_8UC3) || + encoding.equals(TYPE_8UC4)) + return 8; + + if (encoding.equals(TYPE_8SC1) || + encoding.equals(TYPE_8SC2) || + encoding.equals(TYPE_8SC3) || + encoding.equals(TYPE_8SC4)) + return 8; + + if (encoding.equals(TYPE_16UC1) || + encoding.equals(TYPE_16UC2) || + encoding.equals(TYPE_16UC3) || + encoding.equals(TYPE_16UC4)) + return 16; + + if (encoding.equals(TYPE_16SC1) || + encoding.equals(TYPE_16SC2) || + encoding.equals(TYPE_16SC3) || + encoding.equals(TYPE_16SC4)) + return 16; + + if (encoding.equals(TYPE_32SC1) || + encoding.equals(TYPE_32SC2) || + encoding.equals(TYPE_32SC3) || + encoding.equals(TYPE_32SC4)) + return 32; + + if (encoding.equals(TYPE_32FC1) || + encoding.equals(TYPE_32FC2) || + encoding.equals(TYPE_32FC3) || + encoding.equals(TYPE_32FC4)) + return 32; + + if (encoding.equals(TYPE_64FC1) || + encoding.equals(TYPE_64FC2) || + encoding.equals(TYPE_64FC3) || + encoding.equals(TYPE_64FC4)) + return 64; + + throw new Exception("Unknown encoding " + encoding); + } +} diff --git a/local.properties b/local.properties deleted file mode 100644 index 6e328cc..0000000 --- a/local.properties +++ /dev/null @@ -1,10 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must *NOT* be checked into Version Control Systems, -# as it contains information specific to your local configuration. - -# location of the SDK. This is only used by Ant -# For customization when using a Version Control System, please read the -# header note. -sdk.dir=/home/willow/NVPACK/android-sdk-linux diff --git a/mainpage.dox b/mainpage.dox deleted file mode 100644 index ff1f8c6..0000000 --- a/mainpage.dox +++ /dev/null @@ -1,26 +0,0 @@ -/** -\mainpage -\htmlinclude manifest.html - -\b android_sensors_driver is ... - - - - -\section codeapi Code API - - - - -*/ diff --git a/manifest.xml b/manifest.xml deleted file mode 100644 index 9c9aa07..0000000 --- a/manifest.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - android_sensors_driver - - Chad Rockey (chadrockey@gmail.com) - Apache 2.0 - - http://ros.org/wiki/android_sensors_driver - diff --git a/opencv3/AndroidManifest.xml b/opencv3/AndroidManifest.xml new file mode 100644 index 0000000..1e3d1f9 --- /dev/null +++ b/opencv3/AndroidManifest.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/opencv3/build.gradle b/opencv3/build.gradle new file mode 100644 index 0000000..a3b9bfe --- /dev/null +++ b/opencv3/build.gradle @@ -0,0 +1,22 @@ +apply plugin: 'com.android.library' + +android { + compileSdkVersion 23 + buildToolsVersion "23.0.3" + defaultConfig { + minSdkVersion 10 + targetSdkVersion 23 + versionCode 3000 + versionName "3.0.0" + } + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + resources.srcDirs = ['src'] + res.srcDirs = ['res'] + aidl.srcDirs = ['src'] + } + } +} + diff --git a/opencv3/javadoc/allclasses-frame.html b/opencv3/javadoc/allclasses-frame.html new file mode 100644 index 0000000..b30441e --- /dev/null +++ b/opencv3/javadoc/allclasses-frame.html @@ -0,0 +1,223 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
Algorithm +
+AlignExposures +
+AlignMTB +
+ANN_MLP +
+BackgroundSubtractor +
+BackgroundSubtractorKNN +
+BackgroundSubtractorMOG2 +
+BaseCascadeClassifier +
+BaseLoaderCallback +
+Boost +
+Calib3d +
+CalibrateCRF +
+CalibrateDebevec +
+CalibrateRobertson +
+CameraBridgeViewBase +
+CameraBridgeViewBase.CvCameraViewFrame +
+CameraBridgeViewBase.CvCameraViewListener +
+CameraBridgeViewBase.CvCameraViewListener2 +
+CameraBridgeViewBase.ListItemAccessor +
+CascadeClassifier +
+CLAHE +
+Converters +
+Core +
+Core.MinMaxLocResult +
+CvException +
+CvType +
+DenseOpticalFlow +
+DescriptorExtractor +
+DescriptorMatcher +
+DMatch +
+DTrees +
+DualTVL1OpticalFlow +
+EM +
+FeatureDetector +
+Features2d +
+FpsMeter +
+HOGDescriptor +
+Imgcodecs +
+Imgproc +
+InstallCallbackInterface +
+JavaCameraView +
+JavaCameraView.JavaCameraSizeAccessor +
+KalmanFilter +
+KeyPoint +
+KNearest +
+LineSegmentDetector +
+LoaderCallbackInterface +
+LogisticRegression +
+Mat +
+MatOfByte +
+MatOfDMatch +
+MatOfDouble +
+MatOfFloat +
+MatOfFloat4 +
+MatOfFloat6 +
+MatOfInt +
+MatOfInt4 +
+MatOfKeyPoint +
+MatOfPoint +
+MatOfPoint2f +
+MatOfPoint3 +
+MatOfPoint3f +
+MatOfRect +
+MergeDebevec +
+MergeExposures +
+MergeMertens +
+MergeRobertson +
+Ml +
+NormalBayesClassifier +
+Objdetect +
+OpenCVLoader +
+Photo +
+Point +
+Point3 +
+Range +
+Rect +
+RotatedRect +
+RTrees +
+Scalar +
+Size +
+StatModel +
+StereoBM +
+StereoMatcher +
+StereoSGBM +
+Subdiv2D +
+SVM +
+TermCriteria +
+Tonemap +
+TonemapDrago +
+TonemapDurand +
+TonemapMantiuk +
+TonemapReinhard +
+TrainData +
+Utils +
+Video +
+VideoCapture +
+Videoio +
+
+ + + diff --git a/opencv3/javadoc/allclasses-noframe.html b/opencv3/javadoc/allclasses-noframe.html new file mode 100644 index 0000000..b75f534 --- /dev/null +++ b/opencv3/javadoc/allclasses-noframe.html @@ -0,0 +1,223 @@ + + + + + + +All Classes + + + + + + + + + + + +All Classes +
+ + + + + +
Algorithm +
+AlignExposures +
+AlignMTB +
+ANN_MLP +
+BackgroundSubtractor +
+BackgroundSubtractorKNN +
+BackgroundSubtractorMOG2 +
+BaseCascadeClassifier +
+BaseLoaderCallback +
+Boost +
+Calib3d +
+CalibrateCRF +
+CalibrateDebevec +
+CalibrateRobertson +
+CameraBridgeViewBase +
+CameraBridgeViewBase.CvCameraViewFrame +
+CameraBridgeViewBase.CvCameraViewListener +
+CameraBridgeViewBase.CvCameraViewListener2 +
+CameraBridgeViewBase.ListItemAccessor +
+CascadeClassifier +
+CLAHE +
+Converters +
+Core +
+Core.MinMaxLocResult +
+CvException +
+CvType +
+DenseOpticalFlow +
+DescriptorExtractor +
+DescriptorMatcher +
+DMatch +
+DTrees +
+DualTVL1OpticalFlow +
+EM +
+FeatureDetector +
+Features2d +
+FpsMeter +
+HOGDescriptor +
+Imgcodecs +
+Imgproc +
+InstallCallbackInterface +
+JavaCameraView +
+JavaCameraView.JavaCameraSizeAccessor +
+KalmanFilter +
+KeyPoint +
+KNearest +
+LineSegmentDetector +
+LoaderCallbackInterface +
+LogisticRegression +
+Mat +
+MatOfByte +
+MatOfDMatch +
+MatOfDouble +
+MatOfFloat +
+MatOfFloat4 +
+MatOfFloat6 +
+MatOfInt +
+MatOfInt4 +
+MatOfKeyPoint +
+MatOfPoint +
+MatOfPoint2f +
+MatOfPoint3 +
+MatOfPoint3f +
+MatOfRect +
+MergeDebevec +
+MergeExposures +
+MergeMertens +
+MergeRobertson +
+Ml +
+NormalBayesClassifier +
+Objdetect +
+OpenCVLoader +
+Photo +
+Point +
+Point3 +
+Range +
+Rect +
+RotatedRect +
+RTrees +
+Scalar +
+Size +
+StatModel +
+StereoBM +
+StereoMatcher +
+StereoSGBM +
+Subdiv2D +
+SVM +
+TermCriteria +
+Tonemap +
+TonemapDrago +
+TonemapDurand +
+TonemapMantiuk +
+TonemapReinhard +
+TrainData +
+Utils +
+Video +
+VideoCapture +
+Videoio +
+
+ + + diff --git a/opencv3/javadoc/constant-values.html b/opencv3/javadoc/constant-values.html new file mode 100644 index 0000000..71413d6 --- /dev/null +++ b/opencv3/javadoc/constant-values.html @@ -0,0 +1,7022 @@ + + + + + + +Constant Field Values + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+org.opencv.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.android.CameraBridgeViewBase
+public static final intCAMERA_ID_ANY-1
+public static final intCAMERA_ID_BACK99
+public static final intCAMERA_ID_FRONT98
+public static final intGRAY2
+public static final intRGBA1
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.opencv.android.InstallCallbackInterface
+public static final intINSTALLATION_PROGRESS1
+public static final intNEW_INSTALLATION0
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.android.LoaderCallbackInterface
+public static final intINCOMPATIBLE_MANAGER_VERSION4
+public static final intINIT_FAILED255
+public static final intINSTALL_CANCELED3
+public static final intMARKET_ERROR2
+public static final intSUCCESS0
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.android.OpenCVLoader
+public static final java.lang.StringOPENCV_VERSION_2_4_10"2.4.10"
+public static final java.lang.StringOPENCV_VERSION_2_4_11"2.4.11"
+public static final java.lang.StringOPENCV_VERSION_2_4_2"2.4.2"
+public static final java.lang.StringOPENCV_VERSION_2_4_3"2.4.3"
+public static final java.lang.StringOPENCV_VERSION_2_4_4"2.4.4"
+public static final java.lang.StringOPENCV_VERSION_2_4_5"2.4.5"
+public static final java.lang.StringOPENCV_VERSION_2_4_6"2.4.6"
+public static final java.lang.StringOPENCV_VERSION_2_4_7"2.4.7"
+public static final java.lang.StringOPENCV_VERSION_2_4_8"2.4.8"
+public static final java.lang.StringOPENCV_VERSION_2_4_9"2.4.9"
+public static final java.lang.StringOPENCV_VERSION_3_0_0"3.0.0"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.calib3d.Calib3d
+public static final intCALIB_CB_ADAPTIVE_THRESH1
+public static final intCALIB_CB_ASYMMETRIC_GRID2
+public static final intCALIB_CB_CLUSTERING4
+public static final intCALIB_CB_FAST_CHECK8
+public static final intCALIB_CB_FILTER_QUADS4
+public static final intCALIB_CB_NORMALIZE_IMAGE2
+public static final intCALIB_CB_SYMMETRIC_GRID1
+public static final intCALIB_CHECK_COND4
+public static final intCALIB_FIX_ASPECT_RATIO2
+public static final intCALIB_FIX_FOCAL_LENGTH16
+public static final intCALIB_FIX_INTRINSIC256
+public static final intCALIB_FIX_K116
+public static final intCALIB_FIX_K232
+public static final intCALIB_FIX_K364
+public static final intCALIB_FIX_K4128
+public static final intCALIB_FIX_K54096
+public static final intCALIB_FIX_K68192
+public static final intCALIB_FIX_PRINCIPAL_POINT4
+public static final intCALIB_FIX_S1_S2_S3_S465536
+public static final intCALIB_FIX_SKEW8
+public static final intCALIB_RATIONAL_MODEL16384
+public static final intCALIB_RECOMPUTE_EXTRINSIC2
+public static final intCALIB_SAME_FOCAL_LENGTH512
+public static final intCALIB_THIN_PRISM_MODEL32768
+public static final intCALIB_USE_INTRINSIC_GUESS1
+public static final intCALIB_ZERO_DISPARITY1024
+public static final intCALIB_ZERO_TANGENT_DIST8
+public static final intCV_DLS3
+public static final intCV_EPNP1
+public static final intCV_ITERATIVE0
+public static final intCV_P3P2
+public static final intFM_7POINT1
+public static final intFM_8POINT2
+public static final intFM_LMEDS4
+public static final intFM_RANSAC8
+public static final intLMEDS4
+public static final intRANSAC8
+public static final intRHO16
+public static final intSOLVEPNP_DLS3
+public static final intSOLVEPNP_EPNP1
+public static final intSOLVEPNP_ITERATIVE0
+public static final intSOLVEPNP_P3P2
+public static final intSOLVEPNP_UPNP4
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.opencv.calib3d.StereoBM
+public static final intPREFILTER_NORMALIZED_RESPONSE0
+public static final intPREFILTER_XSOBEL1
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.opencv.calib3d.StereoMatcher
+public static final intDISP_SCALE16
+public static final intDISP_SHIFT4
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.opencv.calib3d.StereoSGBM
+public static final intMODE_HH1
+public static final intMODE_SGBM0
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.core.Core
+public static final intBadAlign-21
+public static final intBadAlphaChannel-18
+public static final intBadCallBack-22
+public static final intBadCOI-24
+public static final intBadDataPtr-12
+public static final intBadDepth-17
+public static final intBadImageSize-10
+public static final intBadModelOrChSeq-14
+public static final intBadNumChannel1U-16
+public static final intBadNumChannels-15
+public static final intBadOffset-11
+public static final intBadOrder-19
+public static final intBadOrigin-20
+public static final intBadROISize-25
+public static final intBadStep-13
+public static final intBadTileSize-23
+public static final intBORDER_CONSTANT0
+public static final intBORDER_DEFAULT4
+public static final intBORDER_ISOLATED16
+public static final intBORDER_REFLECT2
+public static final intBORDER_REFLECT_1014
+public static final intBORDER_REFLECT1014
+public static final intBORDER_REPLICATE1
+public static final intBORDER_TRANSPARENT5
+public static final intBORDER_WRAP3
+public static final intCMP_EQ0
+public static final intCMP_GE2
+public static final intCMP_GT1
+public static final intCMP_LE4
+public static final intCMP_LT3
+public static final intCMP_NE5
+public static final intCOVAR_COLS16
+public static final intCOVAR_NORMAL1
+public static final intCOVAR_ROWS8
+public static final intCOVAR_SCALE4
+public static final intCOVAR_SCRAMBLED0
+public static final intCOVAR_USE_AVG2
+public static final intCPU_AVX10
+public static final intCPU_AVX_512BW14
+public static final intCPU_AVX_512CD15
+public static final intCPU_AVX_512DQ16
+public static final intCPU_AVX_512ER17
+public static final intCPU_AVX_512F13
+public static final intCPU_AVX_512IFMA51218
+public static final intCPU_AVX_512PF19
+public static final intCPU_AVX_512VBMI20
+public static final intCPU_AVX_512VL21
+public static final intCPU_AVX211
+public static final intCPU_FMA312
+public static final intCPU_MMX1
+public static final intCPU_NEON100
+public static final intCPU_POPCNT8
+public static final intCPU_SSE2
+public static final intCPU_SSE23
+public static final intCPU_SSE34
+public static final intCPU_SSE4_16
+public static final intCPU_SSE4_27
+public static final intCPU_SSSE35
+public static final intDCT_INVERSE1
+public static final intDCT_ROWS4
+public static final intDECOMP_CHOLESKY3
+public static final intDECOMP_EIG2
+public static final intDECOMP_LU0
+public static final intDECOMP_NORMAL16
+public static final intDECOMP_QR4
+public static final intDECOMP_SVD1
+public static final intDFT_COMPLEX_OUTPUT16
+public static final intDFT_INVERSE1
+public static final intDFT_REAL_OUTPUT32
+public static final intDFT_ROWS4
+public static final intDFT_SCALE2
+public static final intFILLED-1
+public static final intFONT_HERSHEY_COMPLEX3
+public static final intFONT_HERSHEY_COMPLEX_SMALL5
+public static final intFONT_HERSHEY_DUPLEX2
+public static final intFONT_HERSHEY_PLAIN1
+public static final intFONT_HERSHEY_SCRIPT_COMPLEX7
+public static final intFONT_HERSHEY_SCRIPT_SIMPLEX6
+public static final intFONT_HERSHEY_SIMPLEX0
+public static final intFONT_HERSHEY_TRIPLEX4
+public static final intFONT_ITALIC16
+public static final intGEMM_1_T1
+public static final intGEMM_2_T2
+public static final intGEMM_3_T4
+public static final intGpuApiCallError-217
+public static final intGpuNotSupported-216
+public static final intHeaderIsNull-9
+public static final intKMEANS_PP_CENTERS2
+public static final intKMEANS_RANDOM_CENTERS0
+public static final intKMEANS_USE_INITIAL_LABELS1
+public static final intLINE_44
+public static final intLINE_88
+public static final intLINE_AA16
+public static final intMaskIsTiled-26
+public static final intNORM_HAMMING6
+public static final intNORM_HAMMING27
+public static final intNORM_INF1
+public static final intNORM_L12
+public static final intNORM_L24
+public static final intNORM_L2SQR5
+public static final intNORM_MINMAX32
+public static final intNORM_RELATIVE8
+public static final intNORM_TYPE_MASK7
+public static final intOpenCLApiCallError-220
+public static final intOpenCLDoubleNotSupported-221
+public static final intOpenCLInitError-222
+public static final intOpenCLNoAMDBlasFft-223
+public static final intOpenGlApiCallError-219
+public static final intOpenGlNotSupported-218
+public static final intREDUCE_AVG1
+public static final intREDUCE_MAX2
+public static final intREDUCE_MIN3
+public static final intREDUCE_SUM0
+public static final intSORT_ASCENDING0
+public static final intSORT_DESCENDING16
+public static final intSORT_EVERY_COLUMN1
+public static final intSORT_EVERY_ROW0
+public static final intStsAssert-215
+public static final intStsAutoTrace-8
+public static final intStsBackTrace-1
+public static final intStsBadArg-5
+public static final intStsBadFlag-206
+public static final intStsBadFunc-6
+public static final intStsBadMask-208
+public static final intStsBadMemBlock-214
+public static final intStsBadPoint-207
+public static final intStsBadSize-201
+public static final intStsDivByZero-202
+public static final intStsError-2
+public static final intStsFilterOffsetErr-31
+public static final intStsFilterStructContentErr-29
+public static final intStsInplaceNotSupported-203
+public static final intStsInternal-3
+public static final intStsKernelStructContentErr-30
+public static final intStsNoConv-7
+public static final intStsNoMem-4
+public static final intStsNotImplemented-213
+public static final intStsNullPtr-27
+public static final intStsObjectNotFound-204
+public static final intStsOk0
+public static final intStsOutOfRange-211
+public static final intStsParseError-212
+public static final intStsUnmatchedFormats-205
+public static final intStsUnmatchedSizes-209
+public static final intStsUnsupportedFormat-210
+public static final intStsVecLengthErr-28
+public static final intSVD_FULL_UV4
+public static final intSVD_MODIFY_A1
+public static final intSVD_NO_UV2
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.core.CvType
+public static final intCV_16S3
+public static final intCV_16U2
+public static final intCV_32F5
+public static final intCV_32S4
+public static final intCV_64F6
+public static final intCV_8S1
+public static final intCV_8U0
+public static final intCV_USRTYPE17
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.opencv.core.TermCriteria
+public static final intCOUNT1
+public static final intEPS2
+public static final intMAX_ITER1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.features2d.DescriptorExtractor
+public static final intAKAZE7
+public static final intBRIEF4
+public static final intBRISK5
+public static final intFREAK6
+public static final intOPPONENT_AKAZE1007
+public static final intOPPONENT_BRIEF1004
+public static final intOPPONENT_BRISK1005
+public static final intOPPONENT_FREAK1006
+public static final intOPPONENT_ORB1003
+public static final intOPPONENT_SIFT1001
+public static final intOPPONENT_SURF1002
+public static final intORB3
+public static final intSIFT1
+public static final intSURF2
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.features2d.DescriptorMatcher
+public static final intBRUTEFORCE2
+public static final intBRUTEFORCE_HAMMING4
+public static final intBRUTEFORCE_HAMMINGLUT5
+public static final intBRUTEFORCE_L13
+public static final intBRUTEFORCE_SL26
+public static final intFLANNBASED1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.features2d.FeatureDetector
+public static final intAKAZE12
+public static final intBRISK11
+public static final intDENSE10
+public static final intDYNAMIC_AKAZE3012
+public static final intDYNAMIC_BRISK3011
+public static final intDYNAMIC_DENSE3010
+public static final intDYNAMIC_FAST3001
+public static final intDYNAMIC_GFTT3007
+public static final intDYNAMIC_HARRIS3008
+public static final intDYNAMIC_MSER3006
+public static final intDYNAMIC_ORB3005
+public static final intDYNAMIC_SIFT3003
+public static final intDYNAMIC_SIMPLEBLOB3009
+public static final intDYNAMIC_STAR3002
+public static final intDYNAMIC_SURF3004
+public static final intFAST1
+public static final intGFTT7
+public static final intGRID_AKAZE1012
+public static final intGRID_BRISK1011
+public static final intGRID_DENSE1010
+public static final intGRID_FAST1001
+public static final intGRID_GFTT1007
+public static final intGRID_HARRIS1008
+public static final intGRID_MSER1006
+public static final intGRID_ORB1005
+public static final intGRID_SIFT1003
+public static final intGRID_SIMPLEBLOB1009
+public static final intGRID_STAR1002
+public static final intGRID_SURF1004
+public static final intHARRIS8
+public static final intMSER6
+public static final intORB5
+public static final intPYRAMID_AKAZE2012
+public static final intPYRAMID_BRISK2011
+public static final intPYRAMID_DENSE2010
+public static final intPYRAMID_FAST2001
+public static final intPYRAMID_GFTT2007
+public static final intPYRAMID_HARRIS2008
+public static final intPYRAMID_MSER2006
+public static final intPYRAMID_ORB2005
+public static final intPYRAMID_SIFT2003
+public static final intPYRAMID_SIMPLEBLOB2009
+public static final intPYRAMID_STAR2002
+public static final intPYRAMID_SURF2004
+public static final intSIFT3
+public static final intSIMPLEBLOB9
+public static final intSTAR2
+public static final intSURF4
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
org.opencv.features2d.Features2d
+public static final intDRAW_OVER_OUTIMG1
+public static final intDRAW_RICH_KEYPOINTS4
+public static final intNOT_DRAW_SINGLE_POINTS2
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.imgcodecs.Imgcodecs
+public static final intCV_CVTIMG_FLIP1
+public static final intCV_CVTIMG_SWAP_RB2
+public static final intCV_IMWRITE_JPEG_CHROMA_QUALITY6
+public static final intCV_IMWRITE_JPEG_LUMA_QUALITY5
+public static final intCV_IMWRITE_JPEG_OPTIMIZE3
+public static final intCV_IMWRITE_JPEG_PROGRESSIVE2
+public static final intCV_IMWRITE_JPEG_QUALITY1
+public static final intCV_IMWRITE_JPEG_RST_INTERVAL4
+public static final intCV_IMWRITE_PNG_BILEVEL18
+public static final intCV_IMWRITE_PNG_COMPRESSION16
+public static final intCV_IMWRITE_PNG_STRATEGY17
+public static final intCV_IMWRITE_PNG_STRATEGY_DEFAULT0
+public static final intCV_IMWRITE_PNG_STRATEGY_FILTERED1
+public static final intCV_IMWRITE_PNG_STRATEGY_FIXED4
+public static final intCV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY2
+public static final intCV_IMWRITE_PNG_STRATEGY_RLE3
+public static final intCV_IMWRITE_PXM_BINARY32
+public static final intCV_IMWRITE_WEBP_QUALITY64
+public static final intCV_LOAD_IMAGE_ANYCOLOR4
+public static final intCV_LOAD_IMAGE_ANYDEPTH2
+public static final intCV_LOAD_IMAGE_COLOR1
+public static final intCV_LOAD_IMAGE_GRAYSCALE0
+public static final intCV_LOAD_IMAGE_UNCHANGED-1
+public static final intIMREAD_ANYCOLOR4
+public static final intIMREAD_ANYDEPTH2
+public static final intIMREAD_COLOR1
+public static final intIMREAD_GRAYSCALE0
+public static final intIMREAD_LOAD_GDAL8
+public static final intIMREAD_UNCHANGED-1
+public static final intIMWRITE_JPEG_CHROMA_QUALITY6
+public static final intIMWRITE_JPEG_LUMA_QUALITY5
+public static final intIMWRITE_JPEG_OPTIMIZE3
+public static final intIMWRITE_JPEG_PROGRESSIVE2
+public static final intIMWRITE_JPEG_QUALITY1
+public static final intIMWRITE_JPEG_RST_INTERVAL4
+public static final intIMWRITE_PNG_BILEVEL18
+public static final intIMWRITE_PNG_COMPRESSION16
+public static final intIMWRITE_PNG_STRATEGY17
+public static final intIMWRITE_PNG_STRATEGY_DEFAULT0
+public static final intIMWRITE_PNG_STRATEGY_FILTERED1
+public static final intIMWRITE_PNG_STRATEGY_FIXED4
+public static final intIMWRITE_PNG_STRATEGY_HUFFMAN_ONLY2
+public static final intIMWRITE_PNG_STRATEGY_RLE3
+public static final intIMWRITE_PXM_BINARY32
+public static final intIMWRITE_WEBP_QUALITY64
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.imgproc.Imgproc
+public static final intADAPTIVE_THRESH_GAUSSIAN_C1
+public static final intADAPTIVE_THRESH_MEAN_C0
+public static final intCC_STAT_AREA4
+public static final intCC_STAT_HEIGHT3
+public static final intCC_STAT_LEFT0
+public static final intCC_STAT_MAX5
+public static final intCC_STAT_TOP1
+public static final intCC_STAT_WIDTH2
+public static final intCHAIN_APPROX_NONE1
+public static final intCHAIN_APPROX_SIMPLE2
+public static final intCHAIN_APPROX_TC89_KCOS4
+public static final intCHAIN_APPROX_TC89_L13
+public static final intCOLOR_BayerBG2BGR46
+public static final intCOLOR_BayerBG2BGR_EA135
+public static final intCOLOR_BayerBG2BGR_VNG62
+public static final intCOLOR_BayerBG2GRAY86
+public static final intCOLOR_BayerBG2RGB48
+public static final intCOLOR_BayerBG2RGB_EA137
+public static final intCOLOR_BayerBG2RGB_VNG64
+public static final intCOLOR_BayerGB2BGR47
+public static final intCOLOR_BayerGB2BGR_EA136
+public static final intCOLOR_BayerGB2BGR_VNG63
+public static final intCOLOR_BayerGB2GRAY87
+public static final intCOLOR_BayerGB2RGB49
+public static final intCOLOR_BayerGB2RGB_EA138
+public static final intCOLOR_BayerGB2RGB_VNG65
+public static final intCOLOR_BayerGR2BGR49
+public static final intCOLOR_BayerGR2BGR_EA138
+public static final intCOLOR_BayerGR2BGR_VNG65
+public static final intCOLOR_BayerGR2GRAY89
+public static final intCOLOR_BayerGR2RGB47
+public static final intCOLOR_BayerGR2RGB_EA136
+public static final intCOLOR_BayerGR2RGB_VNG63
+public static final intCOLOR_BayerRG2BGR48
+public static final intCOLOR_BayerRG2BGR_EA137
+public static final intCOLOR_BayerRG2BGR_VNG64
+public static final intCOLOR_BayerRG2GRAY88
+public static final intCOLOR_BayerRG2RGB46
+public static final intCOLOR_BayerRG2RGB_EA135
+public static final intCOLOR_BayerRG2RGB_VNG62
+public static final intCOLOR_BGR2BGR55522
+public static final intCOLOR_BGR2BGR56512
+public static final intCOLOR_BGR2BGRA0
+public static final intCOLOR_BGR2GRAY6
+public static final intCOLOR_BGR2HLS52
+public static final intCOLOR_BGR2HLS_FULL68
+public static final intCOLOR_BGR2HSV40
+public static final intCOLOR_BGR2HSV_FULL66
+public static final intCOLOR_BGR2Lab44
+public static final intCOLOR_BGR2Luv50
+public static final intCOLOR_BGR2RGB4
+public static final intCOLOR_BGR2RGBA2
+public static final intCOLOR_BGR2XYZ32
+public static final intCOLOR_BGR2YCrCb36
+public static final intCOLOR_BGR2YUV82
+public static final intCOLOR_BGR2YUV_I420128
+public static final intCOLOR_BGR2YUV_IYUV128
+public static final intCOLOR_BGR2YUV_YV12132
+public static final intCOLOR_BGR5552BGR24
+public static final intCOLOR_BGR5552BGRA28
+public static final intCOLOR_BGR5552GRAY31
+public static final intCOLOR_BGR5552RGB25
+public static final intCOLOR_BGR5552RGBA29
+public static final intCOLOR_BGR5652BGR14
+public static final intCOLOR_BGR5652BGRA18
+public static final intCOLOR_BGR5652GRAY21
+public static final intCOLOR_BGR5652RGB15
+public static final intCOLOR_BGR5652RGBA19
+public static final intCOLOR_BGRA2BGR1
+public static final intCOLOR_BGRA2BGR55526
+public static final intCOLOR_BGRA2BGR56516
+public static final intCOLOR_BGRA2GRAY10
+public static final intCOLOR_BGRA2RGB3
+public static final intCOLOR_BGRA2RGBA5
+public static final intCOLOR_BGRA2YUV_I420130
+public static final intCOLOR_BGRA2YUV_IYUV130
+public static final intCOLOR_BGRA2YUV_YV12134
+public static final intCOLOR_COLORCVT_MAX139
+public static final intCOLOR_GRAY2BGR8
+public static final intCOLOR_GRAY2BGR55530
+public static final intCOLOR_GRAY2BGR56520
+public static final intCOLOR_GRAY2BGRA9
+public static final intCOLOR_GRAY2RGB8
+public static final intCOLOR_GRAY2RGBA9
+public static final intCOLOR_HLS2BGR60
+public static final intCOLOR_HLS2BGR_FULL72
+public static final intCOLOR_HLS2RGB61
+public static final intCOLOR_HLS2RGB_FULL73
+public static final intCOLOR_HSV2BGR54
+public static final intCOLOR_HSV2BGR_FULL70
+public static final intCOLOR_HSV2RGB55
+public static final intCOLOR_HSV2RGB_FULL71
+public static final intCOLOR_Lab2BGR56
+public static final intCOLOR_Lab2LBGR78
+public static final intCOLOR_Lab2LRGB79
+public static final intCOLOR_Lab2RGB57
+public static final intCOLOR_LBGR2Lab74
+public static final intCOLOR_LBGR2Luv76
+public static final intCOLOR_LRGB2Lab75
+public static final intCOLOR_LRGB2Luv77
+public static final intCOLOR_Luv2BGR58
+public static final intCOLOR_Luv2LBGR80
+public static final intCOLOR_Luv2LRGB81
+public static final intCOLOR_Luv2RGB59
+public static final intCOLOR_mRGBA2RGBA126
+public static final intCOLOR_RGB2BGR4
+public static final intCOLOR_RGB2BGR55523
+public static final intCOLOR_RGB2BGR56513
+public static final intCOLOR_RGB2BGRA2
+public static final intCOLOR_RGB2GRAY7
+public static final intCOLOR_RGB2HLS53
+public static final intCOLOR_RGB2HLS_FULL69
+public static final intCOLOR_RGB2HSV41
+public static final intCOLOR_RGB2HSV_FULL67
+public static final intCOLOR_RGB2Lab45
+public static final intCOLOR_RGB2Luv51
+public static final intCOLOR_RGB2RGBA0
+public static final intCOLOR_RGB2XYZ33
+public static final intCOLOR_RGB2YCrCb37
+public static final intCOLOR_RGB2YUV83
+public static final intCOLOR_RGB2YUV_I420127
+public static final intCOLOR_RGB2YUV_IYUV127
+public static final intCOLOR_RGB2YUV_YV12131
+public static final intCOLOR_RGBA2BGR3
+public static final intCOLOR_RGBA2BGR55527
+public static final intCOLOR_RGBA2BGR56517
+public static final intCOLOR_RGBA2BGRA5
+public static final intCOLOR_RGBA2GRAY11
+public static final intCOLOR_RGBA2mRGBA125
+public static final intCOLOR_RGBA2RGB1
+public static final intCOLOR_RGBA2YUV_I420129
+public static final intCOLOR_RGBA2YUV_IYUV129
+public static final intCOLOR_RGBA2YUV_YV12133
+public static final intCOLOR_XYZ2BGR34
+public static final intCOLOR_XYZ2RGB35
+public static final intCOLOR_YCrCb2BGR38
+public static final intCOLOR_YCrCb2RGB39
+public static final intCOLOR_YUV2BGR84
+public static final intCOLOR_YUV2BGR_I420101
+public static final intCOLOR_YUV2BGR_IYUV101
+public static final intCOLOR_YUV2BGR_NV1291
+public static final intCOLOR_YUV2BGR_NV2193
+public static final intCOLOR_YUV2BGR_UYNV108
+public static final intCOLOR_YUV2BGR_UYVY108
+public static final intCOLOR_YUV2BGR_Y422108
+public static final intCOLOR_YUV2BGR_YUNV116
+public static final intCOLOR_YUV2BGR_YUY2116
+public static final intCOLOR_YUV2BGR_YUYV116
+public static final intCOLOR_YUV2BGR_YV1299
+public static final intCOLOR_YUV2BGR_YVYU118
+public static final intCOLOR_YUV2BGRA_I420105
+public static final intCOLOR_YUV2BGRA_IYUV105
+public static final intCOLOR_YUV2BGRA_NV1295
+public static final intCOLOR_YUV2BGRA_NV2197
+public static final intCOLOR_YUV2BGRA_UYNV112
+public static final intCOLOR_YUV2BGRA_UYVY112
+public static final intCOLOR_YUV2BGRA_Y422112
+public static final intCOLOR_YUV2BGRA_YUNV120
+public static final intCOLOR_YUV2BGRA_YUY2120
+public static final intCOLOR_YUV2BGRA_YUYV120
+public static final intCOLOR_YUV2BGRA_YV12103
+public static final intCOLOR_YUV2BGRA_YVYU122
+public static final intCOLOR_YUV2GRAY_420106
+public static final intCOLOR_YUV2GRAY_I420106
+public static final intCOLOR_YUV2GRAY_IYUV106
+public static final intCOLOR_YUV2GRAY_NV12106
+public static final intCOLOR_YUV2GRAY_NV21106
+public static final intCOLOR_YUV2GRAY_UYNV123
+public static final intCOLOR_YUV2GRAY_UYVY123
+public static final intCOLOR_YUV2GRAY_Y422123
+public static final intCOLOR_YUV2GRAY_YUNV124
+public static final intCOLOR_YUV2GRAY_YUY2124
+public static final intCOLOR_YUV2GRAY_YUYV124
+public static final intCOLOR_YUV2GRAY_YV12106
+public static final intCOLOR_YUV2GRAY_YVYU124
+public static final intCOLOR_YUV2RGB85
+public static final intCOLOR_YUV2RGB_I420100
+public static final intCOLOR_YUV2RGB_IYUV100
+public static final intCOLOR_YUV2RGB_NV1290
+public static final intCOLOR_YUV2RGB_NV2192
+public static final intCOLOR_YUV2RGB_UYNV107
+public static final intCOLOR_YUV2RGB_UYVY107
+public static final intCOLOR_YUV2RGB_Y422107
+public static final intCOLOR_YUV2RGB_YUNV115
+public static final intCOLOR_YUV2RGB_YUY2115
+public static final intCOLOR_YUV2RGB_YUYV115
+public static final intCOLOR_YUV2RGB_YV1298
+public static final intCOLOR_YUV2RGB_YVYU117
+public static final intCOLOR_YUV2RGBA_I420104
+public static final intCOLOR_YUV2RGBA_IYUV104
+public static final intCOLOR_YUV2RGBA_NV1294
+public static final intCOLOR_YUV2RGBA_NV2196
+public static final intCOLOR_YUV2RGBA_UYNV111
+public static final intCOLOR_YUV2RGBA_UYVY111
+public static final intCOLOR_YUV2RGBA_Y422111
+public static final intCOLOR_YUV2RGBA_YUNV119
+public static final intCOLOR_YUV2RGBA_YUY2119
+public static final intCOLOR_YUV2RGBA_YUYV119
+public static final intCOLOR_YUV2RGBA_YV12102
+public static final intCOLOR_YUV2RGBA_YVYU121
+public static final intCOLOR_YUV420p2BGR99
+public static final intCOLOR_YUV420p2BGRA103
+public static final intCOLOR_YUV420p2GRAY106
+public static final intCOLOR_YUV420p2RGB98
+public static final intCOLOR_YUV420p2RGBA102
+public static final intCOLOR_YUV420sp2BGR93
+public static final intCOLOR_YUV420sp2BGRA97
+public static final intCOLOR_YUV420sp2GRAY106
+public static final intCOLOR_YUV420sp2RGB92
+public static final intCOLOR_YUV420sp2RGBA96
+public static final intCOLORMAP_AUTUMN0
+public static final intCOLORMAP_BONE1
+public static final intCOLORMAP_COOL8
+public static final intCOLORMAP_HOT11
+public static final intCOLORMAP_HSV9
+public static final intCOLORMAP_JET2
+public static final intCOLORMAP_OCEAN5
+public static final intCOLORMAP_PARULA12
+public static final intCOLORMAP_PINK10
+public static final intCOLORMAP_RAINBOW4
+public static final intCOLORMAP_SPRING7
+public static final intCOLORMAP_SUMMER6
+public static final intCOLORMAP_WINTER3
+public static final intCV_BILATERAL4
+public static final intCV_BLUR1
+public static final intCV_BLUR_NO_SCALE0
+public static final intCV_CANNY_L2_GRADIENT-2147483648
+public static final intCV_CHAIN_CODE0
+public static final intCV_CLOCKWISE1
+public static final intCV_COMP_BHATTACHARYYA3
+public static final intCV_COMP_CHISQR1
+public static final intCV_COMP_CHISQR_ALT4
+public static final intCV_COMP_CORREL0
+public static final intCV_COMP_HELLINGER3
+public static final intCV_COMP_INTERSECT2
+public static final intCV_COMP_KL_DIV5
+public static final intCV_CONTOURS_MATCH_I11
+public static final intCV_CONTOURS_MATCH_I22
+public static final intCV_CONTOURS_MATCH_I33
+public static final intCV_COUNTER_CLOCKWISE2
+public static final intCV_DIST_C3
+public static final intCV_DIST_FAIR5
+public static final intCV_DIST_HUBER7
+public static final intCV_DIST_L11
+public static final intCV_DIST_L124
+public static final intCV_DIST_L22
+public static final intCV_DIST_LABEL_CCOMP0
+public static final intCV_DIST_LABEL_PIXEL1
+public static final intCV_DIST_MASK_33
+public static final intCV_DIST_MASK_55
+public static final intCV_DIST_MASK_PRECISE0
+public static final intCV_DIST_USER-1
+public static final intCV_DIST_WELSCH6
+public static final intCV_GAUSSIAN2
+public static final intCV_GAUSSIAN_5x57
+public static final intCV_HOUGH_GRADIENT3
+public static final intCV_HOUGH_MULTI_SCALE2
+public static final intCV_HOUGH_PROBABILISTIC1
+public static final intCV_HOUGH_STANDARD0
+public static final intCV_LINK_RUNS5
+public static final intCV_MAX_SOBEL_KSIZE7
+public static final intCV_MEDIAN3
+public static final intCV_mRGBA2RGBA126
+public static final intCV_POLY_APPROX_DP0
+public static final intCV_RGBA2mRGBA125
+public static final intCV_SCHARR-1
+public static final intCV_SHAPE_CROSS1
+public static final intCV_SHAPE_CUSTOM100
+public static final intCV_SHAPE_ELLIPSE2
+public static final intCV_SHAPE_RECT0
+public static final intCV_WARP_FILL_OUTLIERS8
+public static final intCV_WARP_INVERSE_MAP16
+public static final intDIST_C3
+public static final intDIST_FAIR5
+public static final intDIST_HUBER7
+public static final intDIST_L11
+public static final intDIST_L124
+public static final intDIST_L22
+public static final intDIST_LABEL_CCOMP0
+public static final intDIST_LABEL_PIXEL1
+public static final intDIST_MASK_33
+public static final intDIST_MASK_55
+public static final intDIST_MASK_PRECISE0
+public static final intDIST_USER-1
+public static final intDIST_WELSCH6
+public static final intFLOODFILL_FIXED_RANGE65536
+public static final intFLOODFILL_MASK_ONLY131072
+public static final intGC_BGD0
+public static final intGC_EVAL2
+public static final intGC_FGD1
+public static final intGC_INIT_WITH_MASK1
+public static final intGC_INIT_WITH_RECT0
+public static final intGC_PR_BGD2
+public static final intGC_PR_FGD3
+public static final intHISTCMP_BHATTACHARYYA3
+public static final intHISTCMP_CHISQR1
+public static final intHISTCMP_CHISQR_ALT4
+public static final intHISTCMP_CORREL0
+public static final intHISTCMP_HELLINGER3
+public static final intHISTCMP_INTERSECT2
+public static final intHISTCMP_KL_DIV5
+public static final intHOUGH_GRADIENT3
+public static final intHOUGH_MULTI_SCALE2
+public static final intHOUGH_PROBABILISTIC1
+public static final intHOUGH_STANDARD0
+public static final intINTER_AREA3
+public static final intINTER_BITS5
+public static final intINTER_BITS210
+public static final intINTER_CUBIC2
+public static final intINTER_LANCZOS44
+public static final intINTER_LINEAR1
+public static final intINTER_MAX7
+public static final intINTER_NEAREST0
+public static final intINTER_TAB_SIZE32
+public static final intINTER_TAB_SIZE21024
+public static final intINTERSECT_FULL2
+public static final intINTERSECT_NONE0
+public static final intINTERSECT_PARTIAL1
+public static final intLINE_44
+public static final intLINE_88
+public static final intLINE_AA16
+public static final intLSD_REFINE_ADV2
+public static final intLSD_REFINE_NONE0
+public static final intLSD_REFINE_STD1
+public static final intMORPH_BLACKHAT6
+public static final intMORPH_CLOSE3
+public static final intMORPH_CROSS1
+public static final intMORPH_DILATE1
+public static final intMORPH_ELLIPSE2
+public static final intMORPH_ERODE0
+public static final intMORPH_GRADIENT4
+public static final intMORPH_OPEN2
+public static final intMORPH_RECT0
+public static final intMORPH_TOPHAT5
+public static final intPROJ_SPHERICAL_EQRECT1
+public static final intPROJ_SPHERICAL_ORTHO0
+public static final intRETR_CCOMP2
+public static final intRETR_EXTERNAL0
+public static final intRETR_FLOODFILL4
+public static final intRETR_LIST1
+public static final intRETR_TREE3
+public static final intTHRESH_BINARY0
+public static final intTHRESH_BINARY_INV1
+public static final intTHRESH_MASK7
+public static final intTHRESH_OTSU8
+public static final intTHRESH_TOZERO3
+public static final intTHRESH_TOZERO_INV4
+public static final intTHRESH_TRIANGLE16
+public static final intTHRESH_TRUNC2
+public static final intTM_CCOEFF4
+public static final intTM_CCOEFF_NORMED5
+public static final intTM_CCORR2
+public static final intTM_CCORR_NORMED3
+public static final intTM_SQDIFF0
+public static final intTM_SQDIFF_NORMED1
+public static final intWARP_FILL_OUTLIERS8
+public static final intWARP_INVERSE_MAP16
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.imgproc.Subdiv2D
+public static final intNEXT_AROUND_DST34
+public static final intNEXT_AROUND_LEFT19
+public static final intNEXT_AROUND_ORG0
+public static final intNEXT_AROUND_RIGHT49
+public static final intPREV_AROUND_DST51
+public static final intPREV_AROUND_LEFT32
+public static final intPREV_AROUND_ORG17
+public static final intPREV_AROUND_RIGHT2
+public static final intPTLOC_ERROR-2
+public static final intPTLOC_INSIDE0
+public static final intPTLOC_ON_EDGE2
+public static final intPTLOC_OUTSIDE_RECT-1
+public static final intPTLOC_VERTEX1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.ml.ANN_MLP
+public static final intBACKPROP0
+public static final intGAUSSIAN2
+public static final intIDENTITY0
+public static final intNO_INPUT_SCALE2
+public static final intNO_OUTPUT_SCALE4
+public static final intRPROP1
+public static final intSIGMOID_SYM1
+public static final intUPDATE_WEIGHTS1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.ml.Boost
+public static final intDISCRETE0
+public static final intGENTLE3
+public static final intLOGIT2
+public static final intREAL1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.ml.DTrees
+public static final intPREDICT_AUTO0
+public static final intPREDICT_MASK768
+public static final intPREDICT_MAX_VOTE512
+public static final intPREDICT_SUM256
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.ml.EM
+public static final intCOV_MAT_DEFAULT1
+public static final intCOV_MAT_DIAGONAL1
+public static final intCOV_MAT_GENERIC2
+public static final intCOV_MAT_SPHERICAL0
+public static final intDEFAULT_MAX_ITERS100
+public static final intDEFAULT_NCLUSTERS5
+public static final intSTART_AUTO_STEP0
+public static final intSTART_E_STEP1
+public static final intSTART_M_STEP2
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.opencv.ml.KNearest
+public static final intBRUTE_FORCE1
+public static final intKDTREE2
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.ml.LogisticRegression
+public static final intBATCH0
+public static final intMINI_BATCH1
+public static final intREG_DISABLE-1
+public static final intREG_L10
+public static final intREG_L21
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.ml.Ml
+public static final intCOL_SAMPLE1
+public static final intROW_SAMPLE0
+public static final intTEST_ERROR0
+public static final intTRAIN_ERROR1
+public static final intVAR_CATEGORICAL1
+public static final intVAR_NUMERICAL0
+public static final intVAR_ORDERED0
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.ml.StatModel
+public static final intCOMPRESSED_INPUT2
+public static final intPREPROCESSED_INPUT4
+public static final intRAW_OUTPUT1
+public static final intUPDATE_MODEL1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.ml.SVM
+public static final intC0
+public static final intC_SVC100
+public static final intCHI24
+public static final intCOEF4
+public static final intCUSTOM-1
+public static final intDEGREE5
+public static final intEPS_SVR103
+public static final intGAMMA1
+public static final intINTER5
+public static final intLINEAR0
+public static final intNU3
+public static final intNU_SVC101
+public static final intNU_SVR104
+public static final intONE_CLASS102
+public static final intP2
+public static final intPOLY1
+public static final intRBF2
+public static final intSIGMOID3
+ +

+ +

+ + + + + + + + + + + + + + + + + +
org.opencv.objdetect.HOGDescriptor
+public static final intDEFAULT_NLEVELS64
+public static final intL2Hys0
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.objdetect.Objdetect
+public static final intCASCADE_DO_CANNY_PRUNING1
+public static final intCASCADE_DO_ROUGH_SEARCH8
+public static final intCASCADE_FIND_BIGGEST_OBJECT4
+public static final intCASCADE_SCALE_IMAGE2
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.photo.Photo
+public static final intINPAINT_NS0
+public static final intINPAINT_TELEA1
+public static final intLDR_SIZE256
+public static final intMIXED_CLONE2
+public static final intMONOCHROME_TRANSFER3
+public static final intNORMAL_CLONE1
+public static final intNORMCONV_FILTER2
+public static final intRECURS_FILTER1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.video.Video
+public static final intMOTION_AFFINE2
+public static final intMOTION_EUCLIDEAN1
+public static final intMOTION_HOMOGRAPHY3
+public static final intMOTION_TRANSLATION0
+public static final intOPTFLOW_FARNEBACK_GAUSSIAN256
+public static final intOPTFLOW_LK_GET_MIN_EIGENVALS8
+public static final intOPTFLOW_USE_INITIAL_FLOW4
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
org.opencv.videoio.Videoio
+public static final intCAP_ANDROID1000
+public static final intCAP_ANY0
+public static final intCAP_AVFOUNDATION1200
+public static final intCAP_CMU1394300
+public static final intCAP_DC1394300
+public static final intCAP_DSHOW700
+public static final intCAP_FIREWARE300
+public static final intCAP_FIREWIRE300
+public static final intCAP_GIGANETIX1300
+public static final intCAP_GPHOTO21700
+public static final intCAP_IEEE1394300
+public static final intCAP_INTELPERC1500
+public static final intCAP_INTELPERC_DEPTH_GENERATOR536870912
+public static final intCAP_INTELPERC_DEPTH_MAP0
+public static final intCAP_INTELPERC_GENERATORS_MASK805306368
+public static final intCAP_INTELPERC_IMAGE3
+public static final intCAP_INTELPERC_IMAGE_GENERATOR268435456
+public static final intCAP_INTELPERC_IR_MAP2
+public static final intCAP_INTELPERC_UVDEPTH_MAP1
+public static final intCAP_MODE_BGR0
+public static final intCAP_MODE_GRAY2
+public static final intCAP_MODE_RGB1
+public static final intCAP_MODE_YUYV3
+public static final intCAP_MSMF1400
+public static final intCAP_OPENNI900
+public static final intCAP_OPENNI_ASUS910
+public static final intCAP_OPENNI_BGR_IMAGE5
+public static final intCAP_OPENNI_DEPTH_GENERATOR-2147483648
+public static final intCAP_OPENNI_DEPTH_GENERATOR_BASELINE-2147483546
+public static final intCAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH-2147483545
+public static final intCAP_OPENNI_DEPTH_GENERATOR_REGISTRATION-2147483544
+public static final intCAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON-2147483544
+public static final intCAP_OPENNI_DEPTH_MAP0
+public static final intCAP_OPENNI_DISPARITY_MAP2
+public static final intCAP_OPENNI_DISPARITY_MAP_32F3
+public static final intCAP_OPENNI_GENERATORS_MASK-1073741824
+public static final intCAP_OPENNI_GRAY_IMAGE6
+public static final intCAP_OPENNI_IMAGE_GENERATOR1073741824
+public static final intCAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE1073741924
+public static final intCAP_OPENNI_IMAGE_GENERATOR_PRESENT1073741933
+public static final intCAP_OPENNI_POINT_CLOUD_MAP1
+public static final intCAP_OPENNI_QVGA_30HZ3
+public static final intCAP_OPENNI_QVGA_60HZ4
+public static final intCAP_OPENNI_SXGA_15HZ1
+public static final intCAP_OPENNI_SXGA_30HZ2
+public static final intCAP_OPENNI_VALID_DEPTH_MASK4
+public static final intCAP_OPENNI_VGA_30HZ0
+public static final intCAP_OPENNI21600
+public static final intCAP_OPENNI2_ASUS1610
+public static final intCAP_PROP_APERTURE17008
+public static final intCAP_PROP_AUTO_EXPOSURE21
+public static final intCAP_PROP_BACKLIGHT32
+public static final intCAP_PROP_BRIGHTNESS10
+public static final intCAP_PROP_CONTRAST11
+public static final intCAP_PROP_CONVERT_RGB16
+public static final intCAP_PROP_DC1394_MAX31
+public static final intCAP_PROP_DC1394_MODE_AUTO-2
+public static final intCAP_PROP_DC1394_MODE_MANUAL-3
+public static final intCAP_PROP_DC1394_MODE_ONE_PUSH_AUTO-1
+public static final intCAP_PROP_DC1394_OFF-4
+public static final intCAP_PROP_EXPOSURE15
+public static final intCAP_PROP_EXPOSUREPROGRAM17009
+public static final intCAP_PROP_FOCUS28
+public static final intCAP_PROP_FORMAT8
+public static final intCAP_PROP_FOURCC6
+public static final intCAP_PROP_FPS5
+public static final intCAP_PROP_FRAME_COUNT7
+public static final intCAP_PROP_FRAME_HEIGHT4
+public static final intCAP_PROP_FRAME_WIDTH3
+public static final intCAP_PROP_GAIN14
+public static final intCAP_PROP_GAMMA22
+public static final intCAP_PROP_GIGA_FRAME_HEIGH_MAX10004
+public static final intCAP_PROP_GIGA_FRAME_OFFSET_X10001
+public static final intCAP_PROP_GIGA_FRAME_OFFSET_Y10002
+public static final intCAP_PROP_GIGA_FRAME_SENS_HEIGH10006
+public static final intCAP_PROP_GIGA_FRAME_SENS_WIDTH10005
+public static final intCAP_PROP_GIGA_FRAME_WIDTH_MAX10003
+public static final intCAP_PROP_GPHOTO2_COLLECT_MSGS17005
+public static final intCAP_PROP_GPHOTO2_FLUSH_MSGS17006
+public static final intCAP_PROP_GPHOTO2_PREVIEW17001
+public static final intCAP_PROP_GPHOTO2_RELOAD_CONFIG17003
+public static final intCAP_PROP_GPHOTO2_RELOAD_ON_CHANGE17004
+public static final intCAP_PROP_GPHOTO2_WIDGET_ENUMERATE17002
+public static final intCAP_PROP_GSTREAMER_QUEUE_LENGTH200
+public static final intCAP_PROP_GUID29
+public static final intCAP_PROP_HUE13
+public static final intCAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD11005
+public static final intCAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ11006
+public static final intCAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT11007
+public static final intCAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE11003
+public static final intCAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE11004
+public static final intCAP_PROP_INTELPERC_PROFILE_COUNT11001
+public static final intCAP_PROP_INTELPERC_PROFILE_IDX11002
+public static final intCAP_PROP_IOS_DEVICE_EXPOSURE9002
+public static final intCAP_PROP_IOS_DEVICE_FLASH9003
+public static final intCAP_PROP_IOS_DEVICE_FOCUS9001
+public static final intCAP_PROP_IOS_DEVICE_TORCH9005
+public static final intCAP_PROP_IOS_DEVICE_WHITEBALANCE9004
+public static final intCAP_PROP_IRIS36
+public static final intCAP_PROP_ISO_SPEED30
+public static final intCAP_PROP_MODE9
+public static final intCAP_PROP_MONOCHROME19
+public static final intCAP_PROP_OPENNI_APPROX_FRAME_SYNC105
+public static final intCAP_PROP_OPENNI_BASELINE102
+public static final intCAP_PROP_OPENNI_CIRCLE_BUFFER107
+public static final intCAP_PROP_OPENNI_FOCAL_LENGTH103
+public static final intCAP_PROP_OPENNI_FRAME_MAX_DEPTH101
+public static final intCAP_PROP_OPENNI_GENERATOR_PRESENT109
+public static final intCAP_PROP_OPENNI_MAX_BUFFER_SIZE106
+public static final intCAP_PROP_OPENNI_MAX_TIME_DURATION108
+public static final intCAP_PROP_OPENNI_OUTPUT_MODE100
+public static final intCAP_PROP_OPENNI_REGISTRATION104
+public static final intCAP_PROP_OPENNI_REGISTRATION_ON104
+public static final intCAP_PROP_OPENNI2_MIRROR111
+public static final intCAP_PROP_OPENNI2_SYNC110
+public static final intCAP_PROP_PAN33
+public static final intCAP_PROP_POS_AVI_RATIO2
+public static final intCAP_PROP_POS_FRAMES1
+public static final intCAP_PROP_POS_MSEC0
+public static final intCAP_PROP_PVAPI_BINNINGX304
+public static final intCAP_PROP_PVAPI_BINNINGY305
+public static final intCAP_PROP_PVAPI_DECIMATIONHORIZONTAL302
+public static final intCAP_PROP_PVAPI_DECIMATIONVERTICAL303
+public static final intCAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE301
+public static final intCAP_PROP_PVAPI_MULTICASTIP300
+public static final intCAP_PROP_PVAPI_PIXELFORMAT306
+public static final intCAP_PROP_RECTIFICATION18
+public static final intCAP_PROP_ROLL35
+public static final intCAP_PROP_SATURATION12
+public static final intCAP_PROP_SETTINGS37
+public static final intCAP_PROP_SHARPNESS20
+public static final intCAP_PROP_SPEED17007
+public static final intCAP_PROP_TEMPERATURE23
+public static final intCAP_PROP_TILT34
+public static final intCAP_PROP_TRIGGER24
+public static final intCAP_PROP_TRIGGER_DELAY25
+public static final intCAP_PROP_VIEWFINDER17010
+public static final intCAP_PROP_WHITE_BALANCE_BLUE_U17
+public static final intCAP_PROP_WHITE_BALANCE_RED_V26
+public static final intCAP_PROP_XI_AE_MAX_LIMIT417
+public static final intCAP_PROP_XI_AEAG415
+public static final intCAP_PROP_XI_AEAG_LEVEL419
+public static final intCAP_PROP_XI_AG_MAX_LIMIT418
+public static final intCAP_PROP_XI_AUTO_WB414
+public static final intCAP_PROP_XI_DATA_FORMAT401
+public static final intCAP_PROP_XI_DOWNSAMPLING400
+public static final intCAP_PROP_XI_EXP_PRIORITY416
+public static final intCAP_PROP_XI_GPI_LEVEL408
+public static final intCAP_PROP_XI_GPI_MODE407
+public static final intCAP_PROP_XI_GPI_SELECTOR406
+public static final intCAP_PROP_XI_GPO_MODE410
+public static final intCAP_PROP_XI_GPO_SELECTOR409
+public static final intCAP_PROP_XI_LED_MODE412
+public static final intCAP_PROP_XI_LED_SELECTOR411
+public static final intCAP_PROP_XI_MANUAL_WB413
+public static final intCAP_PROP_XI_OFFSET_X402
+public static final intCAP_PROP_XI_OFFSET_Y403
+public static final intCAP_PROP_XI_TIMEOUT420
+public static final intCAP_PROP_XI_TRG_SOFTWARE405
+public static final intCAP_PROP_XI_TRG_SOURCE404
+public static final intCAP_PROP_ZOOM27
+public static final intCAP_PVAPI800
+public static final intCAP_PVAPI_DECIMATION_2OUTOF168
+public static final intCAP_PVAPI_DECIMATION_2OUTOF42
+public static final intCAP_PVAPI_DECIMATION_2OUTOF84
+public static final intCAP_PVAPI_DECIMATION_OFF1
+public static final intCAP_PVAPI_FSTRIGMODE_FIXEDRATE3
+public static final intCAP_PVAPI_FSTRIGMODE_FREERUN0
+public static final intCAP_PVAPI_FSTRIGMODE_SOFTWARE4
+public static final intCAP_PVAPI_FSTRIGMODE_SYNCIN11
+public static final intCAP_PVAPI_FSTRIGMODE_SYNCIN22
+public static final intCAP_PVAPI_PIXELFORMAT_BAYER164
+public static final intCAP_PVAPI_PIXELFORMAT_BAYER83
+public static final intCAP_PVAPI_PIXELFORMAT_BGR246
+public static final intCAP_PVAPI_PIXELFORMAT_BGRA328
+public static final intCAP_PVAPI_PIXELFORMAT_MONO162
+public static final intCAP_PVAPI_PIXELFORMAT_MONO81
+public static final intCAP_PVAPI_PIXELFORMAT_RGB245
+public static final intCAP_PVAPI_PIXELFORMAT_RGBA327
+public static final intCAP_QT500
+public static final intCAP_UNICAP600
+public static final intCAP_V4L200
+public static final intCAP_V4L2200
+public static final intCAP_VFW200
+public static final intCAP_WINRT1410
+public static final intCAP_XIAPI1100
+public static final intCV_CAP_ANDROID1000
+public static final intCV_CAP_ANDROID_BACK1099
+public static final intCV_CAP_ANDROID_FRONT1098
+public static final intCV_CAP_AVFOUNDATION1200
+public static final intCV_CAP_GIGANETIX1300
+public static final intCV_CAP_GPHOTO21700
+public static final intCV_CAP_MODE_BGR0
+public static final intCV_CAP_MODE_GRAY2
+public static final intCV_CAP_MODE_RGB1
+public static final intCV_CAP_MODE_YUYV3
+public static final intCV_CAP_MSMF1400
+public static final intCV_CAP_PROP_ANDROID_ANTIBANDING8004
+public static final intCV_CAP_PROP_ANDROID_EXPOSE_LOCK8009
+public static final intCV_CAP_PROP_ANDROID_FLASH_MODE8001
+public static final intCV_CAP_PROP_ANDROID_FOCAL_LENGTH8005
+public static final intCV_CAP_PROP_ANDROID_FOCUS_DISTANCE_FAR8008
+public static final intCV_CAP_PROP_ANDROID_FOCUS_DISTANCE_NEAR8006
+public static final intCV_CAP_PROP_ANDROID_FOCUS_DISTANCE_OPTIMAL8007
+public static final intCV_CAP_PROP_ANDROID_FOCUS_MODE8002
+public static final intCV_CAP_PROP_ANDROID_WHITE_BALANCE8003
+public static final intCV_CAP_PROP_ANDROID_WHITEBALANCE_LOCK8010
+public static final intCV_CAP_PROP_APERTURE17008
+public static final intCV_CAP_PROP_AUTOGRAB1024
+public static final intCV_CAP_PROP_BACKLIGHT32
+public static final intCV_CAP_PROP_BUFFERSIZE38
+public static final intCV_CAP_PROP_FOCUS28
+public static final intCV_CAP_PROP_FRAME_HEIGHT4
+public static final intCV_CAP_PROP_FRAME_WIDTH3
+public static final intCV_CAP_PROP_GIGA_FRAME_HEIGH_MAX10004
+public static final intCV_CAP_PROP_GIGA_FRAME_OFFSET_X10001
+public static final intCV_CAP_PROP_GIGA_FRAME_OFFSET_Y10002
+public static final intCV_CAP_PROP_GIGA_FRAME_SENS_HEIGH10006
+public static final intCV_CAP_PROP_GIGA_FRAME_SENS_WIDTH10005
+public static final intCV_CAP_PROP_GIGA_FRAME_WIDTH_MAX10003
+public static final intCV_CAP_PROP_GPHOTO2_COLLECT_MSGS17005
+public static final intCV_CAP_PROP_GPHOTO2_FLUSH_MSGS17006
+public static final intCV_CAP_PROP_GPHOTO2_PREVIEW17001
+public static final intCV_CAP_PROP_GPHOTO2_RELOAD_CONFIG17003
+public static final intCV_CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE17004
+public static final intCV_CAP_PROP_GPHOTO2_WIDGET_ENUMERATE17002
+public static final intCV_CAP_PROP_GUID29
+public static final intCV_CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD11005
+public static final intCV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ11006
+public static final intCV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT11007
+public static final intCV_CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE11003
+public static final intCV_CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE11004
+public static final intCV_CAP_PROP_INTELPERC_PROFILE_COUNT11001
+public static final intCV_CAP_PROP_INTELPERC_PROFILE_IDX11002
+public static final intCV_CAP_PROP_IOS_DEVICE_EXPOSURE9002
+public static final intCV_CAP_PROP_IOS_DEVICE_FLASH9003
+public static final intCV_CAP_PROP_IOS_DEVICE_FOCUS9001
+public static final intCV_CAP_PROP_IOS_DEVICE_TORCH9005
+public static final intCV_CAP_PROP_IOS_DEVICE_WHITEBALANCE9004
+public static final intCV_CAP_PROP_IRIS36
+public static final intCV_CAP_PROP_ISO_SPEED30
+public static final intCV_CAP_PROP_OPENNI2_MIRROR111
+public static final intCV_CAP_PROP_OPENNI2_SYNC110
+public static final intCV_CAP_PROP_PAN33
+public static final intCV_CAP_PROP_PREVIEW_FORMAT1026
+public static final intCV_CAP_PROP_PVAPI_BINNINGX304
+public static final intCV_CAP_PROP_PVAPI_BINNINGY305
+public static final intCV_CAP_PROP_PVAPI_DECIMATIONHORIZONTAL302
+public static final intCV_CAP_PROP_PVAPI_DECIMATIONVERTICAL303
+public static final intCV_CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE301
+public static final intCV_CAP_PROP_PVAPI_PIXELFORMAT306
+public static final intCV_CAP_PROP_ROLL35
+public static final intCV_CAP_PROP_SETTINGS37
+public static final intCV_CAP_PROP_SPEED17007
+public static final intCV_CAP_PROP_TILT34
+public static final intCV_CAP_PROP_VIEWFINDER17010
+public static final intCV_CAP_PROP_XI_AE_MAX_LIMIT417
+public static final intCV_CAP_PROP_XI_AEAG415
+public static final intCV_CAP_PROP_XI_AEAG_LEVEL419
+public static final intCV_CAP_PROP_XI_AG_MAX_LIMIT418
+public static final intCV_CAP_PROP_XI_AUTO_WB414
+public static final intCV_CAP_PROP_XI_DATA_FORMAT401
+public static final intCV_CAP_PROP_XI_DOWNSAMPLING400
+public static final intCV_CAP_PROP_XI_EXP_PRIORITY416
+public static final intCV_CAP_PROP_XI_GPI_LEVEL408
+public static final intCV_CAP_PROP_XI_GPI_MODE407
+public static final intCV_CAP_PROP_XI_GPI_SELECTOR406
+public static final intCV_CAP_PROP_XI_GPO_MODE410
+public static final intCV_CAP_PROP_XI_GPO_SELECTOR409
+public static final intCV_CAP_PROP_XI_LED_MODE412
+public static final intCV_CAP_PROP_XI_LED_SELECTOR411
+public static final intCV_CAP_PROP_XI_MANUAL_WB413
+public static final intCV_CAP_PROP_XI_OFFSET_X402
+public static final intCV_CAP_PROP_XI_OFFSET_Y403
+public static final intCV_CAP_PROP_XI_TIMEOUT420
+public static final intCV_CAP_PROP_XI_TRG_SOFTWARE405
+public static final intCV_CAP_PROP_XI_TRG_SOURCE404
+public static final intCV_CAP_PROP_ZOOM27
+public static final intCV_CAP_XIAPI1100
+public static final intVIDEOWRITER_PROP_FRAMEBYTES2
+public static final intVIDEOWRITER_PROP_QUALITY1
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/help-doc.html b/opencv3/javadoc/help-doc.html new file mode 100644 index 0000000..30dd2c5 --- /dev/null +++ b/opencv3/javadoc/help-doc.html @@ -0,0 +1,211 @@ + + + + + + +API Help + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

    +
  • Interfaces (italic)
  • Classes
  • Enums
  • Exceptions
  • Errors
  • Annotation Types
+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

    +
  • Class inheritance diagram
  • Direct Subclasses
  • All Known Subinterfaces
  • All Known Implementing Classes
  • Class/interface declaration
  • Class/interface description +

    +

  • Nested Class Summary
  • Field Summary
  • Constructor Summary
  • Method Summary +

    +

  • Field Detail
  • Constructor Detail
  • Method Detail
+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+ +

+Annotation Type

+
+ +

+Each annotation type has its own separate page with the following sections:

    +
  • Annotation Type declaration
  • Annotation Type description
  • Required Element Summary
  • Optional Element Summary
  • Element Detail
+
+ +

+Enum

+
+ +

+Each enum has its own separate page with the following sections:

    +
  • Enum declaration
  • Enum description
  • Enum Constant Summary
  • Enum Constant Detail
+
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object.
    +
  • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
  • When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.
+
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+

+Constant Field Values

+The Constant Field Values page lists the static final fields and their values. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/index-all.html b/opencv3/javadoc/index-all.html new file mode 100644 index 0000000..99ec7e8 --- /dev/null +++ b/opencv3/javadoc/index-all.html @@ -0,0 +1,8124 @@ + + + + + + +Index + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
+

+A

+
+
absdiff(Mat, Scalar, Mat) - +Static method in class org.opencv.core.Core +
  +
absdiff(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
accumulate(Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
accumulate(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
accumulateProduct(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
accumulateProduct(Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
accumulateSquare(Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
accumulateSquare(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
accumulateWeighted(Mat, Mat, double, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
accumulateWeighted(Mat, Mat, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
ADAPTIVE_THRESH_GAUSSIAN_C - +Static variable in class org.opencv.imgproc.Imgproc +
  +
ADAPTIVE_THRESH_MEAN_C - +Static variable in class org.opencv.imgproc.Imgproc +
  +
adaptiveThreshold(Mat, Mat, double, int, int, int, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
add(Mat, Scalar, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
add(Mat, Scalar, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
add(Mat, Scalar, Mat) - +Static method in class org.opencv.core.Core +
  +
add(Mat, Mat, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
add(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
add(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
add(List<Mat>) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
addWeighted(Mat, double, Mat, double, double, Mat, int) - +Static method in class org.opencv.core.Core +
  +
addWeighted(Mat, double, Mat, double, double, Mat) - +Static method in class org.opencv.core.Core +
  +
adjustROI(int, int, int, int) - +Method in class org.opencv.core.Mat +
  +
AKAZE - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
AKAZE - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
Algorithm - Class in org.opencv.core
 
AlignExposures - Class in org.opencv.photo
 
AlignMTB - Class in org.opencv.photo
 
all() - +Static method in class org.opencv.core.Range +
  +
all(double) - +Static method in class org.opencv.core.Scalar +
  +
alloc(int) - +Method in class org.opencv.core.MatOfByte +
  +
alloc(int) - +Method in class org.opencv.core.MatOfDMatch +
  +
alloc(int) - +Method in class org.opencv.core.MatOfDouble +
  +
alloc(int) - +Method in class org.opencv.core.MatOfFloat +
  +
alloc(int) - +Method in class org.opencv.core.MatOfFloat4 +
  +
alloc(int) - +Method in class org.opencv.core.MatOfFloat6 +
  +
alloc(int) - +Method in class org.opencv.core.MatOfInt +
  +
alloc(int) - +Method in class org.opencv.core.MatOfInt4 +
  +
alloc(int) - +Method in class org.opencv.core.MatOfKeyPoint +
  +
alloc(int) - +Method in class org.opencv.core.MatOfPoint +
  +
alloc(int) - +Method in class org.opencv.core.MatOfPoint2f +
  +
alloc(int) - +Method in class org.opencv.core.MatOfPoint3 +
  +
alloc(int) - +Method in class org.opencv.core.MatOfPoint3f +
  +
alloc(int) - +Method in class org.opencv.core.MatOfRect +
  +
angle - +Variable in class org.opencv.core.KeyPoint +
Computed orientation of the keypoint (-1 if not applicable). +
angle - +Variable in class org.opencv.core.RotatedRect +
  +
ANN_MLP - Class in org.opencv.ml
 
apply(Mat, Mat) - +Method in class org.opencv.imgproc.CLAHE +
  +
apply(Mat, Mat, double) - +Method in class org.opencv.video.BackgroundSubtractor +
  +
apply(Mat, Mat) - +Method in class org.opencv.video.BackgroundSubtractor +
  +
applyColorMap(Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
approxPolyDP(MatOfPoint2f, MatOfPoint2f, double, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
arcLength(MatOfPoint2f, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
area() - +Method in class org.opencv.core.Rect +
  +
area() - +Method in class org.opencv.core.Size +
  +
arrowedLine(Mat, Point, Point, Scalar, int, int, int, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
arrowedLine(Mat, Point, Point, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
assignTo(Mat, int) - +Method in class org.opencv.core.Mat +
  +
assignTo(Mat) - +Method in class org.opencv.core.Mat +
  +
+
+

+B

+
+
BackgroundSubtractor - Class in org.opencv.video
 
BackgroundSubtractorKNN - Class in org.opencv.video
 
BackgroundSubtractorMOG2 - Class in org.opencv.video
 
BACKPROP - +Static variable in class org.opencv.ml.ANN_MLP +
  +
BadAlign - +Static variable in class org.opencv.core.Core +
  +
BadAlphaChannel - +Static variable in class org.opencv.core.Core +
  +
BadCallBack - +Static variable in class org.opencv.core.Core +
  +
BadCOI - +Static variable in class org.opencv.core.Core +
  +
BadDataPtr - +Static variable in class org.opencv.core.Core +
  +
BadDepth - +Static variable in class org.opencv.core.Core +
  +
BadImageSize - +Static variable in class org.opencv.core.Core +
  +
BadModelOrChSeq - +Static variable in class org.opencv.core.Core +
  +
BadNumChannel1U - +Static variable in class org.opencv.core.Core +
  +
BadNumChannels - +Static variable in class org.opencv.core.Core +
  +
BadOffset - +Static variable in class org.opencv.core.Core +
  +
BadOrder - +Static variable in class org.opencv.core.Core +
  +
BadOrigin - +Static variable in class org.opencv.core.Core +
  +
BadROISize - +Static variable in class org.opencv.core.Core +
  +
BadStep - +Static variable in class org.opencv.core.Core +
  +
BadTileSize - +Static variable in class org.opencv.core.Core +
  +
BaseCascadeClassifier - Class in org.opencv.objdetect
 
BaseLoaderCallback - Class in org.opencv.android
Basic implementation of LoaderCallbackInterface.
BaseLoaderCallback(Context) - +Constructor for class org.opencv.android.BaseLoaderCallback +
  +
BATCH - +Static variable in class org.opencv.ml.LogisticRegression +
  +
batchDistance(Mat, Mat, Mat, int, Mat, int, int, Mat, int, boolean) - +Static method in class org.opencv.core.Core +
  +
batchDistance(Mat, Mat, Mat, int, Mat, int, int) - +Static method in class org.opencv.core.Core +
  +
batchDistance(Mat, Mat, Mat, int, Mat) - +Static method in class org.opencv.core.Core +
  +
bilateralFilter(Mat, Mat, int, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
bilateralFilter(Mat, Mat, int, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
bitmapToMat(Bitmap, Mat, boolean) - +Static method in class org.opencv.android.Utils +
Converts Android Bitmap to OpenCV Mat. +
bitmapToMat(Bitmap, Mat) - +Static method in class org.opencv.android.Utils +
Short form of the bitmapToMat(bmp, mat, unPremultiplyAlpha=false). +
bitwise_and(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
bitwise_and(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
bitwise_not(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
bitwise_not(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
bitwise_or(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
bitwise_or(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
bitwise_xor(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
bitwise_xor(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
blur(Mat, Mat, Size, Point, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
blur(Mat, Mat, Size, Point) - +Static method in class org.opencv.imgproc.Imgproc +
  +
blur(Mat, Mat, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
Boost - Class in org.opencv.ml
 
BORDER_CONSTANT - +Static variable in class org.opencv.core.Core +
  +
BORDER_DEFAULT - +Static variable in class org.opencv.core.Core +
  +
BORDER_ISOLATED - +Static variable in class org.opencv.core.Core +
  +
BORDER_REFLECT - +Static variable in class org.opencv.core.Core +
  +
BORDER_REFLECT101 - +Static variable in class org.opencv.core.Core +
  +
BORDER_REFLECT_101 - +Static variable in class org.opencv.core.Core +
  +
BORDER_REPLICATE - +Static variable in class org.opencv.core.Core +
  +
BORDER_TRANSPARENT - +Static variable in class org.opencv.core.Core +
  +
BORDER_WRAP - +Static variable in class org.opencv.core.Core +
  +
borderInterpolate(int, int, int) - +Static method in class org.opencv.core.Core +
  +
boundingRect() - +Method in class org.opencv.core.RotatedRect +
  +
boundingRect(MatOfPoint) - +Static method in class org.opencv.imgproc.Imgproc +
  +
boxFilter(Mat, Mat, int, Size, Point, boolean, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
boxFilter(Mat, Mat, int, Size, Point, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
boxFilter(Mat, Mat, int, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
boxPoints(RotatedRect, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
br() - +Method in class org.opencv.core.Rect +
  +
BRIEF - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
BRISK - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
BRISK - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
BRUTE_FORCE - +Static variable in class org.opencv.ml.KNearest +
  +
BRUTEFORCE - +Static variable in class org.opencv.features2d.DescriptorMatcher +
  +
BRUTEFORCE_HAMMING - +Static variable in class org.opencv.features2d.DescriptorMatcher +
  +
BRUTEFORCE_HAMMINGLUT - +Static variable in class org.opencv.features2d.DescriptorMatcher +
  +
BRUTEFORCE_L1 - +Static variable in class org.opencv.features2d.DescriptorMatcher +
  +
BRUTEFORCE_SL2 - +Static variable in class org.opencv.features2d.DescriptorMatcher +
  +
buildOpticalFlowPyramid(Mat, List<Mat>, Size, int, boolean, int, int, boolean) - +Static method in class org.opencv.video.Video +
  +
buildOpticalFlowPyramid(Mat, List<Mat>, Size, int) - +Static method in class org.opencv.video.Video +
  +
+
+

+C

+
+
C - +Static variable in class org.opencv.ml.SVM +
  +
C_SVC - +Static variable in class org.opencv.ml.SVM +
  +
calc(Mat, Mat, Mat) - +Method in class org.opencv.video.DenseOpticalFlow +
  +
calcBackProject(List<Mat>, MatOfInt, Mat, Mat, MatOfFloat, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
calcCovarMatrix(Mat, Mat, Mat, int, int) - +Static method in class org.opencv.core.Core +
  +
calcCovarMatrix(Mat, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
calcHist(List<Mat>, MatOfInt, Mat, Mat, MatOfInt, MatOfFloat, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
calcHist(List<Mat>, MatOfInt, Mat, Mat, MatOfInt, MatOfFloat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
calcOpticalFlowFarneback(Mat, Mat, Mat, double, int, int, int, int, double, int) - +Static method in class org.opencv.video.Video +
  +
calcOpticalFlowPyrLK(Mat, Mat, MatOfPoint2f, MatOfPoint2f, MatOfByte, MatOfFloat, Size, int, TermCriteria, int, double) - +Static method in class org.opencv.video.Video +
  +
calcOpticalFlowPyrLK(Mat, Mat, MatOfPoint2f, MatOfPoint2f, MatOfByte, MatOfFloat, Size, int) - +Static method in class org.opencv.video.Video +
  +
calcOpticalFlowPyrLK(Mat, Mat, MatOfPoint2f, MatOfPoint2f, MatOfByte, MatOfFloat) - +Static method in class org.opencv.video.Video +
  +
calculateShift(Mat, Mat) - +Method in class org.opencv.photo.AlignMTB +
  +
Calib3d - Class in org.opencv.calib3d
 
Calib3d() - +Constructor for class org.opencv.calib3d.Calib3d +
  +
CALIB_CB_ADAPTIVE_THRESH - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_CB_ASYMMETRIC_GRID - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_CB_CLUSTERING - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_CB_FAST_CHECK - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_CB_FILTER_QUADS - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_CB_NORMALIZE_IMAGE - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_CB_SYMMETRIC_GRID - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_CHECK_COND - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_ASPECT_RATIO - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_FOCAL_LENGTH - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_INTRINSIC - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_K1 - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_K2 - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_K3 - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_K4 - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_K5 - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_K6 - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_PRINCIPAL_POINT - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_S1_S2_S3_S4 - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_FIX_SKEW - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_RATIONAL_MODEL - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_RECOMPUTE_EXTRINSIC - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_SAME_FOCAL_LENGTH - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_THIN_PRISM_MODEL - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_USE_INTRINSIC_GUESS - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_ZERO_DISPARITY - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CALIB_ZERO_TANGENT_DIST - +Static variable in class org.opencv.calib3d.Calib3d +
  +
calibrate(List<Mat>, List<Mat>, Size, Mat, Mat, List<Mat>, List<Mat>, int, TermCriteria) - +Static method in class org.opencv.calib3d.Calib3d +
  +
calibrate(List<Mat>, List<Mat>, Size, Mat, Mat, List<Mat>, List<Mat>, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
calibrate(List<Mat>, List<Mat>, Size, Mat, Mat, List<Mat>, List<Mat>) - +Static method in class org.opencv.calib3d.Calib3d +
  +
calibrateCamera(List<Mat>, List<Mat>, Size, Mat, Mat, List<Mat>, List<Mat>, int, TermCriteria) - +Static method in class org.opencv.calib3d.Calib3d +
  +
calibrateCamera(List<Mat>, List<Mat>, Size, Mat, Mat, List<Mat>, List<Mat>, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
calibrateCamera(List<Mat>, List<Mat>, Size, Mat, Mat, List<Mat>, List<Mat>) - +Static method in class org.opencv.calib3d.Calib3d +
  +
CalibrateCRF - Class in org.opencv.photo
 
CalibrateDebevec - Class in org.opencv.photo
 
CalibrateRobertson - Class in org.opencv.photo
 
calibrationMatrixValues(Mat, Size, double, double, double[], double[], double[], Point, double[]) - +Static method in class org.opencv.calib3d.Calib3d +
  +
CAMERA_ID_ANY - +Static variable in class org.opencv.android.CameraBridgeViewBase +
  +
CAMERA_ID_BACK - +Static variable in class org.opencv.android.CameraBridgeViewBase +
  +
CAMERA_ID_FRONT - +Static variable in class org.opencv.android.CameraBridgeViewBase +
  +
CameraBridgeViewBase - Class in org.opencv.android
This is a basic class, implementing the interaction with Camera and OpenCV library.
CameraBridgeViewBase(Context, int) - +Constructor for class org.opencv.android.CameraBridgeViewBase +
  +
CameraBridgeViewBase(Context, AttributeSet) - +Constructor for class org.opencv.android.CameraBridgeViewBase +
  +
CameraBridgeViewBase.CvCameraViewFrame - Interface in org.opencv.android
This class interface is abstract representation of single frame from camera for onCameraFrame callback + Attention: Do not use objects, that represents this interface out of onCameraFrame callback!
CameraBridgeViewBase.CvCameraViewListener - Interface in org.opencv.android
 
CameraBridgeViewBase.CvCameraViewListener2 - Interface in org.opencv.android
 
CameraBridgeViewBase.ListItemAccessor - Interface in org.opencv.android
 
CamShift(Mat, Rect, TermCriteria) - +Static method in class org.opencv.video.Video +
  +
cancel() - +Method in interface org.opencv.android.InstallCallbackInterface +
Installation is canceled. +
Canny(Mat, Mat, double, double, int, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
Canny(Mat, Mat, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
CAP_ANDROID - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_ANY - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_AVFOUNDATION - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_CMU1394 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_DC1394 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_DSHOW - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_FIREWARE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_FIREWIRE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_GIGANETIX - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_GPHOTO2 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_IEEE1394 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_INTELPERC - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_INTELPERC_DEPTH_GENERATOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_INTELPERC_DEPTH_MAP - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_INTELPERC_GENERATORS_MASK - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_INTELPERC_IMAGE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_INTELPERC_IMAGE_GENERATOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_INTELPERC_IR_MAP - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_INTELPERC_UVDEPTH_MAP - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_MODE_BGR - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_MODE_GRAY - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_MODE_RGB - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_MODE_YUYV - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_MSMF - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI2 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI2_ASUS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_ASUS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_BGR_IMAGE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_DEPTH_GENERATOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_DEPTH_GENERATOR_BASELINE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_DEPTH_MAP - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_DISPARITY_MAP - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_DISPARITY_MAP_32F - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_GENERATORS_MASK - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_GRAY_IMAGE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_IMAGE_GENERATOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_IMAGE_GENERATOR_PRESENT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_POINT_CLOUD_MAP - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_QVGA_30HZ - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_QVGA_60HZ - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_SXGA_15HZ - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_SXGA_30HZ - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_VALID_DEPTH_MASK - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_OPENNI_VGA_30HZ - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_APERTURE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_AUTO_EXPOSURE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_BACKLIGHT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_BRIGHTNESS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_CONTRAST - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_CONVERT_RGB - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_DC1394_MAX - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_DC1394_MODE_AUTO - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_DC1394_MODE_MANUAL - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_DC1394_OFF - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_EXPOSURE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_EXPOSUREPROGRAM - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_FOCUS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_FORMAT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_FOURCC - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_FPS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_FRAME_COUNT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_FRAME_HEIGHT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_FRAME_WIDTH - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GAIN - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GAMMA - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GIGA_FRAME_HEIGH_MAX - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GIGA_FRAME_OFFSET_X - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GIGA_FRAME_OFFSET_Y - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GIGA_FRAME_SENS_HEIGH - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GIGA_FRAME_SENS_WIDTH - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GIGA_FRAME_WIDTH_MAX - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GPHOTO2_COLLECT_MSGS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GPHOTO2_FLUSH_MSGS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GPHOTO2_PREVIEW - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GPHOTO2_RELOAD_CONFIG - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GPHOTO2_WIDGET_ENUMERATE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GSTREAMER_QUEUE_LENGTH - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_GUID - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_HUE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_INTELPERC_PROFILE_COUNT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_INTELPERC_PROFILE_IDX - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_IOS_DEVICE_EXPOSURE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_IOS_DEVICE_FLASH - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_IOS_DEVICE_FOCUS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_IOS_DEVICE_TORCH - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_IOS_DEVICE_WHITEBALANCE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_IRIS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_ISO_SPEED - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_MONOCHROME - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI2_MIRROR - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI2_SYNC - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_APPROX_FRAME_SYNC - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_BASELINE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_CIRCLE_BUFFER - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_FOCAL_LENGTH - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_FRAME_MAX_DEPTH - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_GENERATOR_PRESENT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_MAX_BUFFER_SIZE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_MAX_TIME_DURATION - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_OUTPUT_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_REGISTRATION - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_OPENNI_REGISTRATION_ON - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_PAN - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_POS_AVI_RATIO - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_POS_FRAMES - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_POS_MSEC - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_PVAPI_BINNINGX - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_PVAPI_BINNINGY - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_PVAPI_DECIMATIONHORIZONTAL - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_PVAPI_DECIMATIONVERTICAL - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_PVAPI_MULTICASTIP - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_PVAPI_PIXELFORMAT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_RECTIFICATION - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_ROLL - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_SATURATION - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_SETTINGS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_SHARPNESS - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_SPEED - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_TEMPERATURE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_TILT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_TRIGGER - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_TRIGGER_DELAY - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_VIEWFINDER - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_WHITE_BALANCE_BLUE_U - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_WHITE_BALANCE_RED_V - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_AE_MAX_LIMIT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_AEAG - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_AEAG_LEVEL - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_AG_MAX_LIMIT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_AUTO_WB - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_DATA_FORMAT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_DOWNSAMPLING - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_EXP_PRIORITY - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_GPI_LEVEL - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_GPI_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_GPI_SELECTOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_GPO_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_GPO_SELECTOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_LED_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_LED_SELECTOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_MANUAL_WB - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_OFFSET_X - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_OFFSET_Y - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_TIMEOUT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_TRG_SOFTWARE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_XI_TRG_SOURCE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PROP_ZOOM - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_DECIMATION_2OUTOF16 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_DECIMATION_2OUTOF4 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_DECIMATION_2OUTOF8 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_DECIMATION_OFF - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_FSTRIGMODE_FIXEDRATE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_FSTRIGMODE_FREERUN - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_FSTRIGMODE_SOFTWARE - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_FSTRIGMODE_SYNCIN1 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_FSTRIGMODE_SYNCIN2 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_PIXELFORMAT_BAYER16 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_PIXELFORMAT_BAYER8 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_PIXELFORMAT_BGR24 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_PIXELFORMAT_BGRA32 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_PIXELFORMAT_MONO16 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_PIXELFORMAT_MONO8 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_PIXELFORMAT_RGB24 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_PVAPI_PIXELFORMAT_RGBA32 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_QT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_UNICAP - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_V4L - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_V4L2 - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_VFW - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_WINRT - +Static variable in class org.opencv.videoio.Videoio +
  +
CAP_XIAPI - +Static variable in class org.opencv.videoio.Videoio +
  +
cartToPolar(Mat, Mat, Mat, Mat, boolean) - +Static method in class org.opencv.core.Core +
  +
cartToPolar(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
CASCADE_DO_CANNY_PRUNING - +Static variable in class org.opencv.objdetect.Objdetect +
  +
CASCADE_DO_ROUGH_SEARCH - +Static variable in class org.opencv.objdetect.Objdetect +
  +
CASCADE_FIND_BIGGEST_OBJECT - +Static variable in class org.opencv.objdetect.Objdetect +
  +
CASCADE_SCALE_IMAGE - +Static variable in class org.opencv.objdetect.Objdetect +
  +
CascadeClassifier - Class in org.opencv.objdetect
 
CascadeClassifier() - +Constructor for class org.opencv.objdetect.CascadeClassifier +
  +
CascadeClassifier(String) - +Constructor for class org.opencv.objdetect.CascadeClassifier +
  +
CC_STAT_AREA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CC_STAT_HEIGHT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CC_STAT_LEFT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CC_STAT_MAX - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CC_STAT_TOP - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CC_STAT_WIDTH - +Static variable in class org.opencv.imgproc.Imgproc +
  +
center - +Variable in class org.opencv.core.RotatedRect +
  +
CHAIN_APPROX_NONE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CHAIN_APPROX_SIMPLE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CHAIN_APPROX_TC89_KCOS - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CHAIN_APPROX_TC89_L1 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
channels(int) - +Static method in class org.opencv.core.CvType +
  +
channels() - +Method in class org.opencv.core.Mat +
  +
checkDetectorSize() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
checkRange(Mat, boolean, double, double) - +Static method in class org.opencv.core.Core +
  +
checkRange(Mat) - +Static method in class org.opencv.core.Core +
  +
checkVector(int, int, boolean) - +Method in class org.opencv.core.Mat +
  +
checkVector(int, int) - +Method in class org.opencv.core.Mat +
  +
checkVector(int) - +Method in class org.opencv.core.Mat +
  +
CHI2 - +Static variable in class org.opencv.ml.SVM +
  +
circle(Mat, Point, int, Scalar, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
circle(Mat, Point, int, Scalar, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
circle(Mat, Point, int, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
CLAHE - Class in org.opencv.imgproc
 
class_id - +Variable in class org.opencv.core.KeyPoint +
Object ID, that can be used to cluster keypoints by an object they + belong to. +
clear() - +Method in class org.opencv.core.Algorithm +
  +
clear() - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
clipLine(Rect, Point, Point) - +Static method in class org.opencv.imgproc.Imgproc +
  +
clone() - +Method in class org.opencv.core.Mat +
  +
clone() - +Method in class org.opencv.core.Point +
  +
clone() - +Method in class org.opencv.core.Point3 +
  +
clone() - +Method in class org.opencv.core.Range +
  +
clone() - +Method in class org.opencv.core.Rect +
  +
clone() - +Method in class org.opencv.core.RotatedRect +
  +
clone() - +Method in class org.opencv.core.Scalar +
  +
clone() - +Method in class org.opencv.core.Size +
  +
clone() - +Method in class org.opencv.core.TermCriteria +
  +
clone(boolean) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
clone() - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
CMP_EQ - +Static variable in class org.opencv.core.Core +
  +
CMP_GE - +Static variable in class org.opencv.core.Core +
  +
CMP_GT - +Static variable in class org.opencv.core.Core +
  +
CMP_LE - +Static variable in class org.opencv.core.Core +
  +
CMP_LT - +Static variable in class org.opencv.core.Core +
  +
CMP_NE - +Static variable in class org.opencv.core.Core +
  +
COEF - +Static variable in class org.opencv.ml.SVM +
  +
col(int) - +Method in class org.opencv.core.Mat +
  +
COL_SAMPLE - +Static variable in class org.opencv.ml.Ml +
  +
collectGarbage() - +Method in class org.opencv.imgproc.CLAHE +
  +
collectGarbage() - +Method in class org.opencv.video.DenseOpticalFlow +
  +
COLOR_BayerBG2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerBG2BGR_EA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerBG2BGR_VNG - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerBG2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerBG2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerBG2RGB_EA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerBG2RGB_VNG - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGB2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGB2BGR_EA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGB2BGR_VNG - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGB2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGB2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGB2RGB_EA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGB2RGB_VNG - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGR2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGR2BGR_EA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGR2BGR_VNG - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGR2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGR2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGR2RGB_EA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerGR2RGB_VNG - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerRG2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerRG2BGR_EA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerRG2BGR_VNG - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerRG2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerRG2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerRG2RGB_EA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BayerRG2RGB_VNG - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2BGR555 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2BGR565 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2BGRA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2HLS - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2HLS_FULL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2HSV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2HSV_FULL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2Lab - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2Luv - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2XYZ - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2YCrCb - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2YUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2YUV_I420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2YUV_IYUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR2YUV_YV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5552BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5552BGRA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5552GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5552RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5552RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5652BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5652BGRA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5652GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5652RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGR5652RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGRA2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGRA2BGR555 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGRA2BGR565 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGRA2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGRA2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGRA2RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGRA2YUV_I420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGRA2YUV_IYUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_BGRA2YUV_YV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_COLORCVT_MAX - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_GRAY2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_GRAY2BGR555 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_GRAY2BGR565 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_GRAY2BGRA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_GRAY2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_GRAY2RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_HLS2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_HLS2BGR_FULL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_HLS2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_HLS2RGB_FULL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_HSV2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_HSV2BGR_FULL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_HSV2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_HSV2RGB_FULL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_Lab2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_Lab2LBGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_Lab2LRGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_Lab2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_LBGR2Lab - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_LBGR2Luv - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_LRGB2Lab - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_LRGB2Luv - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_Luv2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_Luv2LBGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_Luv2LRGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_Luv2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_mRGBA2RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2BGR555 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2BGR565 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2BGRA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2HLS - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2HLS_FULL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2HSV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2HSV_FULL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2Lab - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2Luv - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2XYZ - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2YCrCb - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2YUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2YUV_I420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2YUV_IYUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGB2YUV_YV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2BGR555 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2BGR565 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2BGRA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2mRGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2YUV_I420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2YUV_IYUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_RGBA2YUV_YV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_XYZ2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_XYZ2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YCrCb2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YCrCb2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_I420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_IYUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_NV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_NV21 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_UYNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_UYVY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_Y422 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_YUNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_YUY2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_YUYV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_YV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGR_YVYU - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_I420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_IYUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_NV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_NV21 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_UYNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_UYVY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_Y422 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_YUNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_YUY2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_YUYV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_YV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2BGRA_YVYU - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_I420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_IYUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_NV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_NV21 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_UYNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_UYVY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_Y422 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_YUNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_YUY2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_YUYV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_YV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2GRAY_YVYU - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_I420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_IYUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_NV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_NV21 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_UYNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_UYVY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_Y422 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_YUNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_YUY2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_YUYV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_YV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGB_YVYU - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_I420 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_IYUV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_NV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_NV21 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_UYNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_UYVY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_Y422 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_YUNV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_YUY2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_YUYV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_YV12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV2RGBA_YVYU - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420p2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420p2BGRA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420p2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420p2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420p2RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420sp2BGR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420sp2BGRA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420sp2GRAY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420sp2RGB - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLOR_YUV420sp2RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
colorChange(Mat, Mat, Mat, float, float, float) - +Static method in class org.opencv.photo.Photo +
  +
colorChange(Mat, Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
COLORMAP_AUTUMN - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_BONE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_COOL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_HOT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_HSV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_JET - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_OCEAN - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_PARULA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_PINK - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_RAINBOW - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_SPRING - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_SUMMER - +Static variable in class org.opencv.imgproc.Imgproc +
  +
COLORMAP_WINTER - +Static variable in class org.opencv.imgproc.Imgproc +
  +
colRange(int, int) - +Method in class org.opencv.core.Mat +
  +
colRange(Range) - +Method in class org.opencv.core.Mat +
  +
cols() - +Method in class org.opencv.core.Mat +
  +
compare(Mat, Scalar, Mat, int) - +Static method in class org.opencv.core.Core +
  +
compare(Mat, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
compareHist(Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
compareSegments(Size, Mat, Mat, Mat) - +Method in class org.opencv.imgproc.LineSegmentDetector +
  +
compareSegments(Size, Mat, Mat) - +Method in class org.opencv.imgproc.LineSegmentDetector +
  +
completeSymm(Mat, boolean) - +Static method in class org.opencv.core.Core +
  +
completeSymm(Mat) - +Static method in class org.opencv.core.Core +
  +
composeRT(Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
composeRT(Mat, Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
COMPRESSED_INPUT - +Static variable in class org.opencv.ml.StatModel +
  +
compute(Mat, Mat, Mat) - +Method in class org.opencv.calib3d.StereoMatcher +
  +
compute(Mat, MatOfKeyPoint, Mat) - +Method in class org.opencv.features2d.DescriptorExtractor +
  +
compute(List<Mat>, List<MatOfKeyPoint>, List<Mat>) - +Method in class org.opencv.features2d.DescriptorExtractor +
  +
compute(Mat, MatOfFloat, Size, Size, MatOfPoint) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
compute(Mat, MatOfFloat) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
computeBitmaps(Mat, Mat, Mat) - +Method in class org.opencv.photo.AlignMTB +
  +
computeCorrespondEpilines(Mat, int, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
computeGradient(Mat, Mat, Mat, Size, Size) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
computeGradient(Mat, Mat, Mat) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
conj() - +Method in class org.opencv.core.Scalar +
  +
connectedComponents(Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
connectedComponents(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
connectedComponentsWithStats(Mat, Mat, Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
connectedComponentsWithStats(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
contains(Point) - +Method in class org.opencv.core.Rect +
  +
contourArea(Mat, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
contourArea(Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
convert(String, String) - +Static method in class org.opencv.objdetect.CascadeClassifier +
  +
Converters - Class in org.opencv.utils
 
Converters() - +Constructor for class org.opencv.utils.Converters +
  +
convertMaps(Mat, Mat, Mat, Mat, int, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
convertMaps(Mat, Mat, Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
convertPointsFromHomogeneous(Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
convertPointsToHomogeneous(Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
convertScaleAbs(Mat, Mat, double, double) - +Static method in class org.opencv.core.Core +
  +
convertScaleAbs(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
convertTo(Mat, int, double, double) - +Method in class org.opencv.core.Mat +
  +
convertTo(Mat, int, double) - +Method in class org.opencv.core.Mat +
  +
convertTo(Mat, int) - +Method in class org.opencv.core.Mat +
  +
convexHull(MatOfPoint, MatOfInt, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
convexHull(MatOfPoint, MatOfInt) - +Static method in class org.opencv.imgproc.Imgproc +
  +
convexityDefects(MatOfPoint, MatOfInt, MatOfInt4) - +Static method in class org.opencv.imgproc.Imgproc +
  +
copyMakeBorder(Mat, Mat, int, int, int, int, int, Scalar) - +Static method in class org.opencv.core.Core +
  +
copyMakeBorder(Mat, Mat, int, int, int, int, int) - +Static method in class org.opencv.core.Core +
  +
copyTo(Mat) - +Method in class org.opencv.core.Mat +
  +
copyTo(Mat, Mat) - +Method in class org.opencv.core.Mat +
  +
Core - Class in org.opencv.core
 
Core() - +Constructor for class org.opencv.core.Core +
  +
Core.MinMaxLocResult - Class in org.opencv.core
 
Core.MinMaxLocResult() - +Constructor for class org.opencv.core.Core.MinMaxLocResult +
  +
cornerEigenValsAndVecs(Mat, Mat, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
cornerEigenValsAndVecs(Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
cornerHarris(Mat, Mat, int, int, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
cornerHarris(Mat, Mat, int, int, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
cornerMinEigenVal(Mat, Mat, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
cornerMinEigenVal(Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
cornerMinEigenVal(Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
cornerSubPix(Mat, MatOfPoint2f, Size, Size, TermCriteria) - +Static method in class org.opencv.imgproc.Imgproc +
  +
correct(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
correctMatches(Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
COUNT - +Static variable in class org.opencv.core.TermCriteria +
The maximum number of iterations or elements to compute +
countNonZero(Mat) - +Static method in class org.opencv.core.Core +
  +
COV_MAT_DEFAULT - +Static variable in class org.opencv.ml.EM +
  +
COV_MAT_DIAGONAL - +Static variable in class org.opencv.ml.EM +
  +
COV_MAT_GENERIC - +Static variable in class org.opencv.ml.EM +
  +
COV_MAT_SPHERICAL - +Static variable in class org.opencv.ml.EM +
  +
COVAR_COLS - +Static variable in class org.opencv.core.Core +
  +
COVAR_NORMAL - +Static variable in class org.opencv.core.Core +
  +
COVAR_ROWS - +Static variable in class org.opencv.core.Core +
  +
COVAR_SCALE - +Static variable in class org.opencv.core.Core +
  +
COVAR_SCRAMBLED - +Static variable in class org.opencv.core.Core +
  +
COVAR_USE_AVG - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX2 - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX_512BW - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX_512CD - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX_512DQ - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX_512ER - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX_512F - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX_512IFMA512 - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX_512PF - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX_512VBMI - +Static variable in class org.opencv.core.Core +
  +
CPU_AVX_512VL - +Static variable in class org.opencv.core.Core +
  +
CPU_FMA3 - +Static variable in class org.opencv.core.Core +
  +
CPU_MMX - +Static variable in class org.opencv.core.Core +
  +
CPU_NEON - +Static variable in class org.opencv.core.Core +
  +
CPU_POPCNT - +Static variable in class org.opencv.core.Core +
  +
CPU_SSE - +Static variable in class org.opencv.core.Core +
  +
CPU_SSE2 - +Static variable in class org.opencv.core.Core +
  +
CPU_SSE3 - +Static variable in class org.opencv.core.Core +
  +
CPU_SSE4_1 - +Static variable in class org.opencv.core.Core +
  +
CPU_SSE4_2 - +Static variable in class org.opencv.core.Core +
  +
CPU_SSSE3 - +Static variable in class org.opencv.core.Core +
  +
create(int, int) - +Static method in class org.opencv.calib3d.StereoBM +
  +
create() - +Static method in class org.opencv.calib3d.StereoBM +
  +
create(int, int, int, int, int, int, int, int, int, int, int) - +Static method in class org.opencv.calib3d.StereoSGBM +
  +
create(int, int, int) - +Static method in class org.opencv.calib3d.StereoSGBM +
  +
create(int, int, int) - +Method in class org.opencv.core.Mat +
  +
create(Size, int) - +Method in class org.opencv.core.Mat +
  +
create(int) - +Static method in class org.opencv.features2d.DescriptorExtractor +
  +
create(int) - +Static method in class org.opencv.features2d.DescriptorMatcher +
  +
create(int) - +Static method in class org.opencv.features2d.FeatureDetector +
  +
create() - +Static method in class org.opencv.ml.ANN_MLP +
  +
create() - +Static method in class org.opencv.ml.Boost +
  +
create() - +Static method in class org.opencv.ml.DTrees +
  +
create() - +Static method in class org.opencv.ml.EM +
  +
create() - +Static method in class org.opencv.ml.KNearest +
  +
create() - +Static method in class org.opencv.ml.LogisticRegression +
  +
create() - +Static method in class org.opencv.ml.NormalBayesClassifier +
  +
create() - +Static method in class org.opencv.ml.RTrees +
  +
create() - +Static method in class org.opencv.ml.SVM +
  +
createAlignMTB(int, int, boolean) - +Static method in class org.opencv.photo.Photo +
  +
createAlignMTB() - +Static method in class org.opencv.photo.Photo +
  +
createBackgroundSubtractorKNN(int, double, boolean) - +Static method in class org.opencv.video.Video +
  +
createBackgroundSubtractorKNN() - +Static method in class org.opencv.video.Video +
  +
createBackgroundSubtractorMOG2(int, double, boolean) - +Static method in class org.opencv.video.Video +
  +
createBackgroundSubtractorMOG2() - +Static method in class org.opencv.video.Video +
  +
createCalibrateDebevec(int, float, boolean) - +Static method in class org.opencv.photo.Photo +
  +
createCalibrateDebevec() - +Static method in class org.opencv.photo.Photo +
  +
createCalibrateRobertson(int, float) - +Static method in class org.opencv.photo.Photo +
  +
createCalibrateRobertson() - +Static method in class org.opencv.photo.Photo +
  +
createCLAHE(double, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
createCLAHE() - +Static method in class org.opencv.imgproc.Imgproc +
  +
createHanningWindow(Mat, Size, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
createLineSegmentDetector(int, double, double, double, double, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
createLineSegmentDetector() - +Static method in class org.opencv.imgproc.Imgproc +
  +
createMergeDebevec() - +Static method in class org.opencv.photo.Photo +
  +
createMergeMertens(float, float, float) - +Static method in class org.opencv.photo.Photo +
  +
createMergeMertens() - +Static method in class org.opencv.photo.Photo +
  +
createMergeRobertson() - +Static method in class org.opencv.photo.Photo +
  +
createOptFlow_DualTVL1() - +Static method in class org.opencv.video.Video +
  +
createTonemap(float) - +Static method in class org.opencv.photo.Photo +
  +
createTonemap() - +Static method in class org.opencv.photo.Photo +
  +
createTonemapDrago(float, float, float) - +Static method in class org.opencv.photo.Photo +
  +
createTonemapDrago() - +Static method in class org.opencv.photo.Photo +
  +
createTonemapDurand(float, float, float, float, float) - +Static method in class org.opencv.photo.Photo +
  +
createTonemapDurand() - +Static method in class org.opencv.photo.Photo +
  +
createTonemapMantiuk(float, float, float) - +Static method in class org.opencv.photo.Photo +
  +
createTonemapMantiuk() - +Static method in class org.opencv.photo.Photo +
  +
createTonemapReinhard(float, float, float, float) - +Static method in class org.opencv.photo.Photo +
  +
createTonemapReinhard() - +Static method in class org.opencv.photo.Photo +
  +
cross(Mat) - +Method in class org.opencv.core.Mat +
  +
cross(Point3) - +Method in class org.opencv.core.Point3 +
  +
cubeRoot(float) - +Static method in class org.opencv.core.Core +
  +
CUSTOM - +Static variable in class org.opencv.ml.SVM +
  +
CV_16S - +Static variable in class org.opencv.core.CvType +
  +
CV_16SC(int) - +Static method in class org.opencv.core.CvType +
  +
CV_16SC1 - +Static variable in class org.opencv.core.CvType +
  +
CV_16SC2 - +Static variable in class org.opencv.core.CvType +
  +
CV_16SC3 - +Static variable in class org.opencv.core.CvType +
  +
CV_16SC4 - +Static variable in class org.opencv.core.CvType +
  +
CV_16U - +Static variable in class org.opencv.core.CvType +
  +
CV_16UC(int) - +Static method in class org.opencv.core.CvType +
  +
CV_16UC1 - +Static variable in class org.opencv.core.CvType +
  +
CV_16UC2 - +Static variable in class org.opencv.core.CvType +
  +
CV_16UC3 - +Static variable in class org.opencv.core.CvType +
  +
CV_16UC4 - +Static variable in class org.opencv.core.CvType +
  +
CV_32F - +Static variable in class org.opencv.core.CvType +
  +
CV_32FC(int) - +Static method in class org.opencv.core.CvType +
  +
CV_32FC1 - +Static variable in class org.opencv.core.CvType +
  +
CV_32FC2 - +Static variable in class org.opencv.core.CvType +
  +
CV_32FC3 - +Static variable in class org.opencv.core.CvType +
  +
CV_32FC4 - +Static variable in class org.opencv.core.CvType +
  +
CV_32S - +Static variable in class org.opencv.core.CvType +
  +
CV_32SC(int) - +Static method in class org.opencv.core.CvType +
  +
CV_32SC1 - +Static variable in class org.opencv.core.CvType +
  +
CV_32SC2 - +Static variable in class org.opencv.core.CvType +
  +
CV_32SC3 - +Static variable in class org.opencv.core.CvType +
  +
CV_32SC4 - +Static variable in class org.opencv.core.CvType +
  +
CV_64F - +Static variable in class org.opencv.core.CvType +
  +
CV_64FC(int) - +Static method in class org.opencv.core.CvType +
  +
CV_64FC1 - +Static variable in class org.opencv.core.CvType +
  +
CV_64FC2 - +Static variable in class org.opencv.core.CvType +
  +
CV_64FC3 - +Static variable in class org.opencv.core.CvType +
  +
CV_64FC4 - +Static variable in class org.opencv.core.CvType +
  +
CV_8S - +Static variable in class org.opencv.core.CvType +
  +
CV_8SC(int) - +Static method in class org.opencv.core.CvType +
  +
CV_8SC1 - +Static variable in class org.opencv.core.CvType +
  +
CV_8SC2 - +Static variable in class org.opencv.core.CvType +
  +
CV_8SC3 - +Static variable in class org.opencv.core.CvType +
  +
CV_8SC4 - +Static variable in class org.opencv.core.CvType +
  +
CV_8U - +Static variable in class org.opencv.core.CvType +
  +
CV_8UC(int) - +Static method in class org.opencv.core.CvType +
  +
CV_8UC1 - +Static variable in class org.opencv.core.CvType +
  +
CV_8UC2 - +Static variable in class org.opencv.core.CvType +
  +
CV_8UC3 - +Static variable in class org.opencv.core.CvType +
  +
CV_8UC4 - +Static variable in class org.opencv.core.CvType +
  +
CV_BILATERAL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_BLUR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_BLUR_NO_SCALE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_CANNY_L2_GRADIENT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_CAP_ANDROID - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_ANDROID_BACK - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_ANDROID_FRONT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_AVFOUNDATION - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_GIGANETIX - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_GPHOTO2 - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_MODE_BGR - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_MODE_GRAY - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_MODE_RGB - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_MODE_YUYV - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_MSMF - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_ANTIBANDING - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_EXPOSE_LOCK - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_FLASH_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_FOCAL_LENGTH - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_FAR - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_NEAR - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_OPTIMAL - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_FOCUS_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_WHITE_BALANCE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ANDROID_WHITEBALANCE_LOCK - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_APERTURE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_AUTOGRAB - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_BACKLIGHT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_BUFFERSIZE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_FOCUS - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_FRAME_HEIGHT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_FRAME_WIDTH - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GIGA_FRAME_HEIGH_MAX - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GIGA_FRAME_OFFSET_X - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GIGA_FRAME_OFFSET_Y - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GIGA_FRAME_SENS_HEIGH - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GIGA_FRAME_SENS_WIDTH - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GIGA_FRAME_WIDTH_MAX - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GPHOTO2_COLLECT_MSGS - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GPHOTO2_FLUSH_MSGS - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GPHOTO2_PREVIEW - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GPHOTO2_RELOAD_CONFIG - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GPHOTO2_WIDGET_ENUMERATE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_GUID - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_INTELPERC_PROFILE_COUNT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_INTELPERC_PROFILE_IDX - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_IOS_DEVICE_EXPOSURE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_IOS_DEVICE_FLASH - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_IOS_DEVICE_FOCUS - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_IOS_DEVICE_TORCH - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_IOS_DEVICE_WHITEBALANCE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_IRIS - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ISO_SPEED - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_OPENNI2_MIRROR - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_OPENNI2_SYNC - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_PAN - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_PREVIEW_FORMAT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_PVAPI_BINNINGX - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_PVAPI_BINNINGY - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_PVAPI_DECIMATIONHORIZONTAL - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_PVAPI_DECIMATIONVERTICAL - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_PVAPI_PIXELFORMAT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ROLL - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_SETTINGS - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_SPEED - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_TILT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_VIEWFINDER - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_AE_MAX_LIMIT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_AEAG - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_AEAG_LEVEL - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_AG_MAX_LIMIT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_AUTO_WB - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_DATA_FORMAT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_DOWNSAMPLING - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_EXP_PRIORITY - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_GPI_LEVEL - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_GPI_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_GPI_SELECTOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_GPO_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_GPO_SELECTOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_LED_MODE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_LED_SELECTOR - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_MANUAL_WB - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_OFFSET_X - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_OFFSET_Y - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_TIMEOUT - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_TRG_SOFTWARE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_XI_TRG_SOURCE - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_PROP_ZOOM - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CAP_XIAPI - +Static variable in class org.opencv.videoio.Videoio +
  +
CV_CHAIN_CODE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_CLOCKWISE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_COMP_BHATTACHARYYA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_COMP_CHISQR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_COMP_CHISQR_ALT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_COMP_CORREL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_COMP_HELLINGER - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_COMP_INTERSECT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_COMP_KL_DIV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_CONTOURS_MATCH_I1 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_CONTOURS_MATCH_I2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_CONTOURS_MATCH_I3 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_COUNTER_CLOCKWISE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_CVTIMG_FLIP - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_CVTIMG_SWAP_RB - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_DIST_C - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_FAIR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_HUBER - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_L1 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_L12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_L2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_LABEL_CCOMP - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_LABEL_PIXEL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_MASK_3 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_MASK_5 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_MASK_PRECISE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_USER - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DIST_WELSCH - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_DLS - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CV_EPNP - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CV_GAUSSIAN - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_GAUSSIAN_5x5 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_HOUGH_GRADIENT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_HOUGH_MULTI_SCALE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_HOUGH_PROBABILISTIC - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_HOUGH_STANDARD - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_IMWRITE_JPEG_CHROMA_QUALITY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_JPEG_LUMA_QUALITY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_JPEG_OPTIMIZE - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_JPEG_PROGRESSIVE - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_JPEG_QUALITY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_JPEG_RST_INTERVAL - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_PNG_BILEVEL - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_PNG_COMPRESSION - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_PNG_STRATEGY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_PNG_STRATEGY_DEFAULT - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_PNG_STRATEGY_FILTERED - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_PNG_STRATEGY_FIXED - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_PNG_STRATEGY_RLE - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_PXM_BINARY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_IMWRITE_WEBP_QUALITY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_ITERATIVE - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CV_LINK_RUNS - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_LOAD_IMAGE_ANYCOLOR - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_LOAD_IMAGE_ANYDEPTH - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_LOAD_IMAGE_COLOR - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_LOAD_IMAGE_GRAYSCALE - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_LOAD_IMAGE_UNCHANGED - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
CV_MAX_SOBEL_KSIZE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_MEDIAN - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_mRGBA2RGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_P3P - +Static variable in class org.opencv.calib3d.Calib3d +
  +
CV_POLY_APPROX_DP - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_RGBA2mRGBA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_SCHARR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_SHAPE_CROSS - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_SHAPE_CUSTOM - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_SHAPE_ELLIPSE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_SHAPE_RECT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_USRTYPE1 - +Static variable in class org.opencv.core.CvType +
  +
CV_WARP_FILL_OUTLIERS - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CV_WARP_INVERSE_MAP - +Static variable in class org.opencv.imgproc.Imgproc +
  +
CvException - Exception in org.opencv.core
 
CvException(String) - +Constructor for exception org.opencv.core.CvException +
  +
cvtColor(Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
cvtColor(Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
CvType - Class in org.opencv.core
 
CvType() - +Constructor for class org.opencv.core.CvType +
  +
+
+

+D

+
+
dataAddr() - +Method in class org.opencv.core.Mat +
  +
dct(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
dct(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
DCT_INVERSE - +Static variable in class org.opencv.core.Core +
  +
DCT_ROWS - +Static variable in class org.opencv.core.Core +
  +
decolor(Mat, Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
DECOMP_CHOLESKY - +Static variable in class org.opencv.core.Core +
  +
DECOMP_EIG - +Static variable in class org.opencv.core.Core +
  +
DECOMP_LU - +Static variable in class org.opencv.core.Core +
  +
DECOMP_NORMAL - +Static variable in class org.opencv.core.Core +
  +
DECOMP_QR - +Static variable in class org.opencv.core.Core +
  +
DECOMP_SVD - +Static variable in class org.opencv.core.Core +
  +
decomposeEssentialMat(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
decomposeHomographyMat(Mat, Mat, List<Mat>, List<Mat>, List<Mat>) - +Static method in class org.opencv.calib3d.Calib3d +
  +
decomposeProjectionMatrix(Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
decomposeProjectionMatrix(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
DEFAULT_MAX_ITERS - +Static variable in class org.opencv.ml.EM +
  +
DEFAULT_NCLUSTERS - +Static variable in class org.opencv.ml.EM +
  +
DEFAULT_NLEVELS - +Static variable in class org.opencv.objdetect.HOGDescriptor +
  +
DEGREE - +Static variable in class org.opencv.ml.SVM +
  +
demosaicing(Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
demosaicing(Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
denoise_TVL1(List<Mat>, Mat, double, int) - +Static method in class org.opencv.photo.Photo +
  +
denoise_TVL1(List<Mat>, Mat) - +Static method in class org.opencv.photo.Photo +
  +
DENSE - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DenseOpticalFlow - Class in org.opencv.video
 
depth(int) - +Static method in class org.opencv.core.CvType +
  +
depth() - +Method in class org.opencv.core.Mat +
  +
DescriptorExtractor - Class in org.opencv.features2d
 
DescriptorMatcher - Class in org.opencv.features2d
 
descriptorSize() - +Method in class org.opencv.features2d.DescriptorExtractor +
  +
descriptorType() - +Method in class org.opencv.features2d.DescriptorExtractor +
  +
detailEnhance(Mat, Mat, float, float) - +Static method in class org.opencv.photo.Photo +
  +
detailEnhance(Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
detect(Mat, MatOfKeyPoint, Mat) - +Method in class org.opencv.features2d.FeatureDetector +
  +
detect(Mat, MatOfKeyPoint) - +Method in class org.opencv.features2d.FeatureDetector +
  +
detect(List<Mat>, List<MatOfKeyPoint>, List<Mat>) - +Method in class org.opencv.features2d.FeatureDetector +
  +
detect(List<Mat>, List<MatOfKeyPoint>) - +Method in class org.opencv.features2d.FeatureDetector +
  +
detect(Mat, Mat, Mat, Mat, Mat) - +Method in class org.opencv.imgproc.LineSegmentDetector +
  +
detect(Mat, Mat) - +Method in class org.opencv.imgproc.LineSegmentDetector +
  +
detect(Mat, MatOfPoint, MatOfDouble, double, Size, Size, MatOfPoint) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
detect(Mat, MatOfPoint, MatOfDouble) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
detectMultiScale(Mat, MatOfRect, double, int, int, Size, Size) - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
detectMultiScale(Mat, MatOfRect) - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
detectMultiScale(Mat, MatOfRect, MatOfDouble, double, Size, Size, double, double, boolean) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
detectMultiScale(Mat, MatOfRect, MatOfDouble) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
detectMultiScale2(Mat, MatOfRect, MatOfInt, double, int, int, Size, Size) - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
detectMultiScale2(Mat, MatOfRect, MatOfInt) - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
detectMultiScale3(Mat, MatOfRect, MatOfInt, MatOfDouble, double, int, int, Size, Size, boolean) - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
detectMultiScale3(Mat, MatOfRect, MatOfInt, MatOfDouble) - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
determinant(Mat) - +Static method in class org.opencv.core.Core +
  +
dft(Mat, Mat, int, int) - +Static method in class org.opencv.core.Core +
  +
dft(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
DFT_COMPLEX_OUTPUT - +Static variable in class org.opencv.core.Core +
  +
DFT_INVERSE - +Static variable in class org.opencv.core.Core +
  +
DFT_REAL_OUTPUT - +Static variable in class org.opencv.core.Core +
  +
DFT_ROWS - +Static variable in class org.opencv.core.Core +
  +
DFT_SCALE - +Static variable in class org.opencv.core.Core +
  +
diag(int) - +Method in class org.opencv.core.Mat +
  +
diag() - +Method in class org.opencv.core.Mat +
  +
diag(Mat) - +Static method in class org.opencv.core.Mat +
  +
dilate(Mat, Mat, Mat, Point, int, int, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
dilate(Mat, Mat, Mat, Point, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
dilate(Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
dims() - +Method in class org.opencv.core.Mat +
  +
disableFpsMeter() - +Method in class org.opencv.android.CameraBridgeViewBase +
  +
disableView() - +Method in class org.opencv.android.CameraBridgeViewBase +
This method is provided for clients, so they can disable camera connection and stop + the delivery of frames even though the surface view itself is not destroyed and still stays on the scren +
DISCRETE - +Static variable in class org.opencv.ml.Boost +
  +
DISP_SCALE - +Static variable in class org.opencv.calib3d.StereoMatcher +
  +
DISP_SHIFT - +Static variable in class org.opencv.calib3d.StereoMatcher +
  +
DIST_C - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_FAIR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_HUBER - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_L1 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_L12 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_L2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_LABEL_CCOMP - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_LABEL_PIXEL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_MASK_3 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_MASK_5 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_MASK_PRECISE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_USER - +Static variable in class org.opencv.imgproc.Imgproc +
  +
DIST_WELSCH - +Static variable in class org.opencv.imgproc.Imgproc +
  +
distance - +Variable in class org.opencv.core.DMatch +
  +
distanceTransform(Mat, Mat, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
distanceTransform(Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
distanceTransformWithLabels(Mat, Mat, Mat, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
distanceTransformWithLabels(Mat, Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
distortPoints(Mat, Mat, Mat, Mat, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
distortPoints(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
divide(Mat, Scalar, Mat, double, int) - +Static method in class org.opencv.core.Core +
  +
divide(Mat, Scalar, Mat, double) - +Static method in class org.opencv.core.Core +
  +
divide(Mat, Scalar, Mat) - +Static method in class org.opencv.core.Core +
  +
divide(Mat, Mat, Mat, double, int) - +Static method in class org.opencv.core.Core +
  +
divide(Mat, Mat, Mat, double) - +Static method in class org.opencv.core.Core +
  +
divide(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
divide(double, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
divide(double, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
DMatch - Class in org.opencv.core
Structure for matching: query descriptor index, train descriptor index, train + image index and distance between descriptors.
DMatch() - +Constructor for class org.opencv.core.DMatch +
  +
DMatch(int, int, float) - +Constructor for class org.opencv.core.DMatch +
  +
DMatch(int, int, int, float) - +Constructor for class org.opencv.core.DMatch +
  +
dot(Mat) - +Method in class org.opencv.core.Mat +
  +
dot(Point) - +Method in class org.opencv.core.Point +
  +
dot(Point3) - +Method in class org.opencv.core.Point3 +
  +
draw(Canvas, float, float) - +Method in class org.opencv.android.FpsMeter +
  +
DRAW_OVER_OUTIMG - +Static variable in class org.opencv.features2d.Features2d +
  +
DRAW_RICH_KEYPOINTS - +Static variable in class org.opencv.features2d.Features2d +
  +
drawChessboardCorners(Mat, Size, MatOfPoint2f, boolean) - +Static method in class org.opencv.calib3d.Calib3d +
  +
drawContours(Mat, List<MatOfPoint>, int, Scalar, int, int, Mat, int, Point) - +Static method in class org.opencv.imgproc.Imgproc +
  +
drawContours(Mat, List<MatOfPoint>, int, Scalar, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
drawContours(Mat, List<MatOfPoint>, int, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
drawKeypoints(Mat, MatOfKeyPoint, Mat, Scalar, int) - +Static method in class org.opencv.features2d.Features2d +
  +
drawKeypoints(Mat, MatOfKeyPoint, Mat) - +Static method in class org.opencv.features2d.Features2d +
  +
drawMatches(Mat, MatOfKeyPoint, Mat, MatOfKeyPoint, MatOfDMatch, Mat, Scalar, Scalar, MatOfByte, int) - +Static method in class org.opencv.features2d.Features2d +
  +
drawMatches(Mat, MatOfKeyPoint, Mat, MatOfKeyPoint, MatOfDMatch, Mat) - +Static method in class org.opencv.features2d.Features2d +
  +
drawMatches2(Mat, MatOfKeyPoint, Mat, MatOfKeyPoint, List<MatOfDMatch>, Mat, Scalar, Scalar, List<MatOfByte>, int) - +Static method in class org.opencv.features2d.Features2d +
  +
drawMatches2(Mat, MatOfKeyPoint, Mat, MatOfKeyPoint, List<MatOfDMatch>, Mat) - +Static method in class org.opencv.features2d.Features2d +
  +
drawSegments(Mat, Mat) - +Method in class org.opencv.imgproc.LineSegmentDetector +
  +
DTrees - Class in org.opencv.ml
 
DualTVL1OpticalFlow - Class in org.opencv.video
 
dump() - +Method in class org.opencv.core.Mat +
  +
DYNAMIC_AKAZE - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_BRISK - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_DENSE - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_FAST - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_GFTT - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_HARRIS - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_MSER - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_ORB - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_SIFT - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_SIMPLEBLOB - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_STAR - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
DYNAMIC_SURF - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
+
+

+E

+
+
edgeDst(int, Point) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
edgeDst(int) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
edgeOrg(int, Point) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
edgeOrg(int) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
edgePreservingFilter(Mat, Mat, int, float, float) - +Static method in class org.opencv.photo.Photo +
  +
edgePreservingFilter(Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
eigen(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
eigen(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
ELEM_SIZE(int) - +Static method in class org.opencv.core.CvType +
  +
elemSize() - +Method in class org.opencv.core.Mat +
  +
elemSize1() - +Method in class org.opencv.core.Mat +
  +
ellipse(Mat, RotatedRect, Scalar, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
ellipse(Mat, RotatedRect, Scalar, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
ellipse(Mat, RotatedRect, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
ellipse(Mat, Point, Size, double, double, double, Scalar, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
ellipse(Mat, Point, Size, double, double, double, Scalar, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
ellipse(Mat, Point, Size, double, double, double, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
ellipse2Poly(Point, Size, int, int, int, int, MatOfPoint) - +Static method in class org.opencv.imgproc.Imgproc +
  +
EM - Class in org.opencv.ml
 
empty() - +Method in class org.opencv.core.Mat +
  +
empty() - +Method in class org.opencv.core.Range +
  +
empty() - +Method in class org.opencv.features2d.DescriptorExtractor +
  +
empty() - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
empty() - +Method in class org.opencv.features2d.FeatureDetector +
  +
empty() - +Method in class org.opencv.ml.StatModel +
  +
empty() - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
enableFpsMeter() - +Method in class org.opencv.android.CameraBridgeViewBase +
This method enables label with fps value on the screen +
enableView() - +Method in class org.opencv.android.CameraBridgeViewBase +
This method is provided for clients, so they can enable the camera connection. +
end - +Variable in class org.opencv.core.Range +
  +
EPS - +Static variable in class org.opencv.core.TermCriteria +
The desired accuracy threshold or change in parameters at which the iterative algorithm is terminated. +
EPS_SVR - +Static variable in class org.opencv.ml.SVM +
  +
epsilon - +Variable in class org.opencv.core.TermCriteria +
  +
equalizeHist(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
equals(Object) - +Method in class org.opencv.core.Point +
  +
equals(Object) - +Method in class org.opencv.core.Point3 +
  +
equals(Object) - +Method in class org.opencv.core.Range +
  +
equals(Object) - +Method in class org.opencv.core.Rect +
  +
equals(Object) - +Method in class org.opencv.core.RotatedRect +
  +
equals(Object) - +Method in class org.opencv.core.Scalar +
  +
equals(Object) - +Method in class org.opencv.core.Size +
  +
equals(Object) - +Method in class org.opencv.core.TermCriteria +
  +
erode(Mat, Mat, Mat, Point, int, int, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
erode(Mat, Mat, Mat, Point, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
erode(Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
estimateAffine3D(Mat, Mat, Mat, Mat, double, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
estimateAffine3D(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
estimateNewCameraMatrixForUndistortRectify(Mat, Mat, Size, Mat, Mat, double, Size, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
estimateNewCameraMatrixForUndistortRectify(Mat, Mat, Size, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
estimateRigidTransform(Mat, Mat, boolean) - +Static method in class org.opencv.video.Video +
  +
exp(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
exportResource(Context, int) - +Static method in class org.opencv.android.Utils +
  +
exportResource(Context, int, String) - +Static method in class org.opencv.android.Utils +
  +
extractChannel(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
eye(int, int, int) - +Static method in class org.opencv.core.Mat +
  +
eye(Size, int) - +Static method in class org.opencv.core.Mat +
  +
+
+

+F

+
+
FAST - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
fastAtan2(float, float) - +Static method in class org.opencv.core.Core +
  +
fastNlMeansDenoising(Mat, Mat, MatOfFloat, int, int, int) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoising(Mat, Mat, MatOfFloat) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoising(Mat, Mat, float, int, int) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoising(Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoisingColored(Mat, Mat, float, float, int, int) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoisingColored(Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoisingColoredMulti(List<Mat>, Mat, int, int, float, float, int, int) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoisingColoredMulti(List<Mat>, Mat, int, int) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoisingMulti(List<Mat>, Mat, int, int, float, int, int) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoisingMulti(List<Mat>, Mat, int, int) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoisingMulti(List<Mat>, Mat, int, int, MatOfFloat, int, int, int) - +Static method in class org.opencv.photo.Photo +
  +
fastNlMeansDenoisingMulti(List<Mat>, Mat, int, int, MatOfFloat) - +Static method in class org.opencv.photo.Photo +
  +
FeatureDetector - Class in org.opencv.features2d
 
Features2d - Class in org.opencv.features2d
 
Features2d() - +Constructor for class org.opencv.features2d.Features2d +
  +
fillConvexPoly(Mat, MatOfPoint, Scalar, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
fillConvexPoly(Mat, MatOfPoint, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
FILLED - +Static variable in class org.opencv.core.Core +
  +
fillPoly(Mat, List<MatOfPoint>, Scalar, int, int, Point) - +Static method in class org.opencv.imgproc.Imgproc +
  +
fillPoly(Mat, List<MatOfPoint>, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
filter2D(Mat, Mat, int, Mat, Point, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
filter2D(Mat, Mat, int, Mat, Point, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
filter2D(Mat, Mat, int, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
filterSpeckles(Mat, double, int, double, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
filterSpeckles(Mat, double, int, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findChessboardCorners(Mat, Size, MatOfPoint2f, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findChessboardCorners(Mat, Size, MatOfPoint2f) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findCirclesGrid(Mat, Size, Mat, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findCirclesGrid(Mat, Size, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findContours(Mat, List<MatOfPoint>, Mat, int, int, Point) - +Static method in class org.opencv.imgproc.Imgproc +
  +
findContours(Mat, List<MatOfPoint>, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
findEssentialMat(Mat, Mat, double, Point, int, double, double, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findEssentialMat(Mat, Mat, double, Point, int, double, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findEssentialMat(Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findFundamentalMat(MatOfPoint2f, MatOfPoint2f, int, double, double, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findFundamentalMat(MatOfPoint2f, MatOfPoint2f, int, double, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findFundamentalMat(MatOfPoint2f, MatOfPoint2f) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findHomography(MatOfPoint2f, MatOfPoint2f, int, double, Mat, int, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findHomography(MatOfPoint2f, MatOfPoint2f, int, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findHomography(MatOfPoint2f, MatOfPoint2f) - +Static method in class org.opencv.calib3d.Calib3d +
  +
findNearest(Point, Point) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
findNearest(Point) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
findNearest(Mat, int, Mat, Mat, Mat) - +Method in class org.opencv.ml.KNearest +
  +
findNearest(Mat, int, Mat) - +Method in class org.opencv.ml.KNearest +
  +
findNonZero(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
findTransformECC(Mat, Mat, Mat, int, TermCriteria, Mat) - +Static method in class org.opencv.video.Video +
  +
findTransformECC(Mat, Mat, Mat, int) - +Static method in class org.opencv.video.Video +
  +
findTransformECC(Mat, Mat, Mat) - +Static method in class org.opencv.video.Video +
  +
fitEllipse(MatOfPoint2f) - +Static method in class org.opencv.imgproc.Imgproc +
  +
fitLine(Mat, Mat, int, double, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
FLANNBASED - +Static variable in class org.opencv.features2d.DescriptorMatcher +
  +
flip(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
floodFill(Mat, Mat, Point, Scalar, Rect, Scalar, Scalar, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
floodFill(Mat, Mat, Point, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
FLOODFILL_FIXED_RANGE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
FLOODFILL_MASK_ONLY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
FM_7POINT - +Static variable in class org.opencv.calib3d.Calib3d +
  +
FM_8POINT - +Static variable in class org.opencv.calib3d.Calib3d +
  +
FM_LMEDS - +Static variable in class org.opencv.calib3d.Calib3d +
  +
FM_RANSAC - +Static variable in class org.opencv.calib3d.Calib3d +
  +
FONT_HERSHEY_COMPLEX - +Static variable in class org.opencv.core.Core +
  +
FONT_HERSHEY_COMPLEX_SMALL - +Static variable in class org.opencv.core.Core +
  +
FONT_HERSHEY_DUPLEX - +Static variable in class org.opencv.core.Core +
  +
FONT_HERSHEY_PLAIN - +Static variable in class org.opencv.core.Core +
  +
FONT_HERSHEY_SCRIPT_COMPLEX - +Static variable in class org.opencv.core.Core +
  +
FONT_HERSHEY_SCRIPT_SIMPLEX - +Static variable in class org.opencv.core.Core +
  +
FONT_HERSHEY_SIMPLEX - +Static variable in class org.opencv.core.Core +
  +
FONT_HERSHEY_TRIPLEX - +Static variable in class org.opencv.core.Core +
  +
FONT_ITALIC - +Static variable in class org.opencv.core.Core +
  +
FpsMeter - Class in org.opencv.android
 
FpsMeter() - +Constructor for class org.opencv.android.FpsMeter +
  +
FREAK - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
fromArray(byte...) - +Method in class org.opencv.core.MatOfByte +
  +
fromArray(DMatch...) - +Method in class org.opencv.core.MatOfDMatch +
  +
fromArray(double...) - +Method in class org.opencv.core.MatOfDouble +
  +
fromArray(float...) - +Method in class org.opencv.core.MatOfFloat +
  +
fromArray(float...) - +Method in class org.opencv.core.MatOfFloat4 +
  +
fromArray(float...) - +Method in class org.opencv.core.MatOfFloat6 +
  +
fromArray(int...) - +Method in class org.opencv.core.MatOfInt +
  +
fromArray(int...) - +Method in class org.opencv.core.MatOfInt4 +
  +
fromArray(KeyPoint...) - +Method in class org.opencv.core.MatOfKeyPoint +
  +
fromArray(Point...) - +Method in class org.opencv.core.MatOfPoint +
  +
fromArray(Point...) - +Method in class org.opencv.core.MatOfPoint2f +
  +
fromArray(Point3...) - +Method in class org.opencv.core.MatOfPoint3 +
  +
fromArray(Point3...) - +Method in class org.opencv.core.MatOfPoint3f +
  +
fromArray(Rect...) - +Method in class org.opencv.core.MatOfRect +
  +
fromList(List<Byte>) - +Method in class org.opencv.core.MatOfByte +
  +
fromList(List<DMatch>) - +Method in class org.opencv.core.MatOfDMatch +
  +
fromList(List<Double>) - +Method in class org.opencv.core.MatOfDouble +
  +
fromList(List<Float>) - +Method in class org.opencv.core.MatOfFloat +
  +
fromList(List<Float>) - +Method in class org.opencv.core.MatOfFloat4 +
  +
fromList(List<Float>) - +Method in class org.opencv.core.MatOfFloat6 +
  +
fromList(List<Integer>) - +Method in class org.opencv.core.MatOfInt +
  +
fromList(List<Integer>) - +Method in class org.opencv.core.MatOfInt4 +
  +
fromList(List<KeyPoint>) - +Method in class org.opencv.core.MatOfKeyPoint +
  +
fromList(List<Point>) - +Method in class org.opencv.core.MatOfPoint +
  +
fromList(List<Point>) - +Method in class org.opencv.core.MatOfPoint2f +
  +
fromList(List<Point3>) - +Method in class org.opencv.core.MatOfPoint3 +
  +
fromList(List<Point3>) - +Method in class org.opencv.core.MatOfPoint3f +
  +
fromList(List<Rect>) - +Method in class org.opencv.core.MatOfRect +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfByte +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfDMatch +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfDouble +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfFloat +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfFloat4 +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfFloat6 +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfInt +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfInt4 +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfKeyPoint +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfPoint +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfPoint2f +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfPoint3 +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfPoint3f +
  +
fromNativeAddr(long) - +Static method in class org.opencv.core.MatOfRect +
  +
+
+

+G

+
+
GAMMA - +Static variable in class org.opencv.ml.SVM +
  +
GAUSSIAN - +Static variable in class org.opencv.ml.ANN_MLP +
  +
GaussianBlur(Mat, Mat, Size, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
GaussianBlur(Mat, Mat, Size, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
GaussianBlur(Mat, Mat, Size, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
GC_BGD - +Static variable in class org.opencv.imgproc.Imgproc +
  +
GC_EVAL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
GC_FGD - +Static variable in class org.opencv.imgproc.Imgproc +
  +
GC_INIT_WITH_MASK - +Static variable in class org.opencv.imgproc.Imgproc +
  +
GC_INIT_WITH_RECT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
GC_PR_BGD - +Static variable in class org.opencv.imgproc.Imgproc +
  +
GC_PR_FGD - +Static variable in class org.opencv.imgproc.Imgproc +
  +
gemm(Mat, Mat, double, Mat, double, Mat, int) - +Static method in class org.opencv.core.Core +
  +
gemm(Mat, Mat, double, Mat, double, Mat) - +Static method in class org.opencv.core.Core +
  +
GEMM_1_T - +Static variable in class org.opencv.core.Core +
  +
GEMM_2_T - +Static variable in class org.opencv.core.Core +
  +
GEMM_3_T - +Static variable in class org.opencv.core.Core +
  +
GENTLE - +Static variable in class org.opencv.ml.Boost +
  +
get(int, int, byte[]) - +Method in class org.opencv.core.Mat +
  +
get(int, int, short[]) - +Method in class org.opencv.core.Mat +
  +
get(int, int, int[]) - +Method in class org.opencv.core.Mat +
  +
get(int, int, float[]) - +Method in class org.opencv.core.Mat +
  +
get(int, int, double[]) - +Method in class org.opencv.core.Mat +
  +
get(int, int) - +Method in class org.opencv.core.Mat +
  +
get(int) - +Method in class org.opencv.videoio.VideoCapture +
  +
get_blockSize() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_blockStride() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_cellSize() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_controlMatrix() - +Method in class org.opencv.video.KalmanFilter +
  +
get_derivAperture() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_errorCovPost() - +Method in class org.opencv.video.KalmanFilter +
  +
get_errorCovPre() - +Method in class org.opencv.video.KalmanFilter +
  +
get_gain() - +Method in class org.opencv.video.KalmanFilter +
  +
get_gammaCorrection() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_histogramNormType() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_L2HysThreshold() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_learnt_thetas() - +Method in class org.opencv.ml.LogisticRegression +
  +
get_measurementMatrix() - +Method in class org.opencv.video.KalmanFilter +
  +
get_measurementNoiseCov() - +Method in class org.opencv.video.KalmanFilter +
  +
get_nbins() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_nlevels() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_processNoiseCov() - +Method in class org.opencv.video.KalmanFilter +
  +
get_signedGradient() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_statePost() - +Method in class org.opencv.video.KalmanFilter +
  +
get_statePre() - +Method in class org.opencv.video.KalmanFilter +
  +
get_svmDetector() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_transitionMatrix() - +Method in class org.opencv.video.KalmanFilter +
  +
get_winSigma() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
get_winSize() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
getActiveVarCount() - +Method in class org.opencv.ml.RTrees +
  +
getAffineTransform(MatOfPoint2f, MatOfPoint2f) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getAlgorithmType() - +Method in class org.opencv.ml.KNearest +
  +
getBackgroundImage(Mat) - +Method in class org.opencv.video.BackgroundSubtractor +
  +
getBackgroundRatio() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getBackpropMomentumScale() - +Method in class org.opencv.ml.ANN_MLP +
  +
getBackpropWeightScale() - +Method in class org.opencv.ml.ANN_MLP +
  +
getBias() - +Method in class org.opencv.photo.TonemapDrago +
  +
getBlockSize() - +Method in class org.opencv.calib3d.StereoMatcher +
  +
getBoostType() - +Method in class org.opencv.ml.Boost +
  +
getBuildInformation() - +Static method in class org.opencv.core.Core +
  +
getC() - +Method in class org.opencv.ml.SVM +
  +
getCalculateVarImportance() - +Method in class org.opencv.ml.RTrees +
  +
getCatCount(int) - +Method in class org.opencv.ml.TrainData +
  +
getCatMap() - +Method in class org.opencv.ml.TrainData +
  +
getCatOfs() - +Method in class org.opencv.ml.TrainData +
  +
getClassLabels() - +Method in class org.opencv.ml.TrainData +
  +
getClassWeights() - +Method in class org.opencv.ml.SVM +
  +
getClipLimit() - +Method in class org.opencv.imgproc.CLAHE +
  +
getClustersNumber() - +Method in class org.opencv.ml.EM +
  +
getCoef0() - +Method in class org.opencv.ml.SVM +
  +
getColorAdaptation() - +Method in class org.opencv.photo.TonemapReinhard +
  +
getComplexityReductionThreshold() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getContrast() - +Method in class org.opencv.photo.TonemapDurand +
  +
getContrastWeight() - +Method in class org.opencv.photo.MergeMertens +
  +
getCovarianceMatrixType() - +Method in class org.opencv.ml.EM +
  +
getCPUTickCount() - +Static method in class org.opencv.core.Core +
  +
getCut() - +Method in class org.opencv.photo.AlignMTB +
  +
getCVFolds() - +Method in class org.opencv.ml.DTrees +
  +
getDaimlerPeopleDetector() - +Static method in class org.opencv.objdetect.HOGDescriptor +
  +
getDecisionFunction(int, Mat, Mat) - +Method in class org.opencv.ml.SVM +
  +
getDefaultK() - +Method in class org.opencv.ml.KNearest +
  +
getDefaultName() - +Method in class org.opencv.core.Algorithm +
  +
getDefaultNewCameraMatrix(Mat, Size, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getDefaultNewCameraMatrix(Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getDefaultPeopleDetector() - +Static method in class org.opencv.objdetect.HOGDescriptor +
  +
getDefaultSubstValues() - +Method in class org.opencv.ml.TrainData +
  +
getDegree() - +Method in class org.opencv.ml.SVM +
  +
getDerivKernels(Mat, Mat, int, int, int, boolean, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getDerivKernels(Mat, Mat, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getDescriptorSize() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
getDetectShadows() - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
getDetectShadows() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getDisp12MaxDiff() - +Method in class org.opencv.calib3d.StereoMatcher +
  +
getDist2Threshold() - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
getEdge(int, int) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
getEdgeList(MatOfFloat4) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
getEmax() - +Method in class org.opencv.ml.KNearest +
  +
getExcludeRange() - +Method in class org.opencv.photo.AlignMTB +
  +
getExposureWeight() - +Method in class org.opencv.photo.MergeMertens +
  +
getFeatureType() - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
getGaborKernel(Size, double, double, double, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getGaborKernel(Size, double, double, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getGamma() - +Method in class org.opencv.ml.SVM +
  +
getGamma() - +Method in class org.opencv.photo.Tonemap +
  +
getGaussianKernel(int, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getGaussianKernel(int, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getHeight(Object) - +Method in interface org.opencv.android.CameraBridgeViewBase.ListItemAccessor +
  +
getHeight(Object) - +Method in class org.opencv.android.JavaCameraView.JavaCameraSizeAccessor +
  +
getHistory() - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
getHistory() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getIntensity() - +Method in class org.opencv.photo.TonemapReinhard +
  +
getIsClassifier() - +Method in class org.opencv.ml.KNearest +
  +
getIterations() - +Method in class org.opencv.ml.LogisticRegression +
  +
getKernelType() - +Method in class org.opencv.ml.SVM +
  +
getkNNSamples() - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
getLambda() - +Method in class org.opencv.photo.CalibrateDebevec +
  +
getLayerSizes() - +Method in class org.opencv.ml.ANN_MLP +
  +
getLayout() - +Method in class org.opencv.ml.TrainData +
  +
getLearningRate() - +Method in class org.opencv.ml.LogisticRegression +
  +
getLightAdaptation() - +Method in class org.opencv.photo.TonemapReinhard +
  +
getMaxBits() - +Method in class org.opencv.photo.AlignMTB +
  +
getMaxCategories() - +Method in class org.opencv.ml.DTrees +
  +
getMaxDepth() - +Method in class org.opencv.ml.DTrees +
  +
getMaxIter() - +Method in class org.opencv.photo.CalibrateRobertson +
  +
getMeans() - +Method in class org.opencv.ml.EM +
  +
getMinDisparity() - +Method in class org.opencv.calib3d.StereoMatcher +
  +
getMiniBatchSize() - +Method in class org.opencv.ml.LogisticRegression +
  +
getMinSampleCount() - +Method in class org.opencv.ml.DTrees +
  +
getMissing() - +Method in class org.opencv.ml.TrainData +
  +
getMode() - +Method in class org.opencv.calib3d.StereoSGBM +
  +
getNAllVars() - +Method in class org.opencv.ml.TrainData +
  +
getNativeObjAddr() - +Method in class org.opencv.core.Mat +
  +
getNMixtures() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getNormCatResponses() - +Method in class org.opencv.ml.TrainData +
  +
getNSamples() - +Method in class org.opencv.ml.TrainData +
  +
getNSamples() - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
getNTestSamples() - +Method in class org.opencv.ml.TrainData +
  +
getNTrainSamples() - +Method in class org.opencv.ml.TrainData +
  +
getNu() - +Method in class org.opencv.ml.SVM +
  +
getNumberOfCPUs() - +Static method in class org.opencv.core.Core +
  +
getNumDisparities() - +Method in class org.opencv.calib3d.StereoMatcher +
  +
getNVars() - +Method in class org.opencv.ml.TrainData +
  +
getOptimalDFTSize(int) - +Static method in class org.opencv.core.Core +
  +
getOptimalNewCameraMatrix(Mat, Mat, Size, double, Size, Rect, boolean) - +Static method in class org.opencv.calib3d.Calib3d +
  +
getOptimalNewCameraMatrix(Mat, Mat, Size, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
getOriginalWindowSize() - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
getP() - +Method in class org.opencv.ml.SVM +
  +
getP1() - +Method in class org.opencv.calib3d.StereoSGBM +
  +
getP2() - +Method in class org.opencv.calib3d.StereoSGBM +
  +
getPackageName() - +Method in interface org.opencv.android.InstallCallbackInterface +
Target package name. +
getPerspectiveTransform(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getPreFilterCap() - +Method in class org.opencv.calib3d.StereoBM +
  +
getPreFilterCap() - +Method in class org.opencv.calib3d.StereoSGBM +
  +
getPreFilterSize() - +Method in class org.opencv.calib3d.StereoBM +
  +
getPreFilterType() - +Method in class org.opencv.calib3d.StereoBM +
  +
getPriors() - +Method in class org.opencv.ml.DTrees +
  +
getRadiance() - +Method in class org.opencv.photo.CalibrateRobertson +
  +
getRandom() - +Method in class org.opencv.photo.CalibrateDebevec +
  +
getRectSubPix(Mat, Size, Point, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getRectSubPix(Mat, Size, Point, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getRegressionAccuracy() - +Method in class org.opencv.ml.DTrees +
  +
getRegularization() - +Method in class org.opencv.ml.LogisticRegression +
  +
getResponses() - +Method in class org.opencv.ml.TrainData +
  +
getResponseType() - +Method in class org.opencv.ml.TrainData +
  +
getROI1() - +Method in class org.opencv.calib3d.StereoBM +
  +
getROI2() - +Method in class org.opencv.calib3d.StereoBM +
  +
getRotationMatrix2D(Point, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getRpropDW0() - +Method in class org.opencv.ml.ANN_MLP +
  +
getRpropDWMax() - +Method in class org.opencv.ml.ANN_MLP +
  +
getRpropDWMin() - +Method in class org.opencv.ml.ANN_MLP +
  +
getRpropDWMinus() - +Method in class org.opencv.ml.ANN_MLP +
  +
getRpropDWPlus() - +Method in class org.opencv.ml.ANN_MLP +
  +
getSample(Mat, int, float) - +Method in class org.opencv.ml.TrainData +
  +
getSamples() - +Method in class org.opencv.ml.TrainData +
  +
getSamples() - +Method in class org.opencv.photo.CalibrateDebevec +
  +
getSampleWeights() - +Method in class org.opencv.ml.TrainData +
  +
getSaturation() - +Method in class org.opencv.photo.TonemapDrago +
  +
getSaturation() - +Method in class org.opencv.photo.TonemapDurand +
  +
getSaturation() - +Method in class org.opencv.photo.TonemapMantiuk +
  +
getSaturationWeight() - +Method in class org.opencv.photo.MergeMertens +
  +
getScale() - +Method in class org.opencv.photo.TonemapMantiuk +
  +
getShadowThreshold() - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
getShadowThreshold() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getShadowValue() - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
getShadowValue() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getSigmaColor() - +Method in class org.opencv.photo.TonemapDurand +
  +
getSigmaSpace() - +Method in class org.opencv.photo.TonemapDurand +
  +
getSmallerBlockSize() - +Method in class org.opencv.calib3d.StereoBM +
  +
getSpeckleRange() - +Method in class org.opencv.calib3d.StereoMatcher +
  +
getSpeckleWindowSize() - +Method in class org.opencv.calib3d.StereoMatcher +
  +
getStructuringElement(int, Size, Point) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getStructuringElement(int, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getSubVector(Mat, Mat) - +Static method in class org.opencv.ml.TrainData +
  +
getSupportVectors() - +Method in class org.opencv.ml.SVM +
  +
getTermCriteria() - +Method in class org.opencv.ml.ANN_MLP +
  +
getTermCriteria() - +Method in class org.opencv.ml.EM +
  +
getTermCriteria() - +Method in class org.opencv.ml.LogisticRegression +
  +
getTermCriteria() - +Method in class org.opencv.ml.RTrees +
  +
getTermCriteria() - +Method in class org.opencv.ml.SVM +
  +
getTestNormCatResponses() - +Method in class org.opencv.ml.TrainData +
  +
getTestResponses() - +Method in class org.opencv.ml.TrainData +
  +
getTestSampleIdx() - +Method in class org.opencv.ml.TrainData +
  +
getTestSampleWeights() - +Method in class org.opencv.ml.TrainData +
  +
getTextSize(String, int, double, int, int[]) - +Static method in class org.opencv.imgproc.Imgproc +
  +
getTextureThreshold() - +Method in class org.opencv.calib3d.StereoBM +
  +
getThreshold() - +Method in class org.opencv.photo.CalibrateRobertson +
  +
getTickCount() - +Static method in class org.opencv.core.Core +
  +
getTickFrequency() - +Static method in class org.opencv.core.Core +
  +
getTilesGridSize() - +Method in class org.opencv.imgproc.CLAHE +
  +
getTrainDescriptors() - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
getTrainMethod() - +Method in class org.opencv.ml.ANN_MLP +
  +
getTrainMethod() - +Method in class org.opencv.ml.LogisticRegression +
  +
getTrainNormCatResponses() - +Method in class org.opencv.ml.TrainData +
  +
getTrainResponses() - +Method in class org.opencv.ml.TrainData +
  +
getTrainSampleIdx() - +Method in class org.opencv.ml.TrainData +
  +
getTrainSamples(int, boolean, boolean) - +Method in class org.opencv.ml.TrainData +
  +
getTrainSamples() - +Method in class org.opencv.ml.TrainData +
  +
getTrainSampleWeights() - +Method in class org.opencv.ml.TrainData +
  +
getTriangleList(MatOfFloat6) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
getTruncatePrunedTree() - +Method in class org.opencv.ml.DTrees +
  +
getType() - +Method in class org.opencv.ml.SVM +
  +
getUniquenessRatio() - +Method in class org.opencv.calib3d.StereoBM +
  +
getUniquenessRatio() - +Method in class org.opencv.calib3d.StereoSGBM +
  +
getUse1SERule() - +Method in class org.opencv.ml.DTrees +
  +
getUseSurrogates() - +Method in class org.opencv.ml.DTrees +
  +
getValidDisparityROI(Rect, Rect, int, int, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
getValues(int, Mat, float) - +Method in class org.opencv.ml.TrainData +
  +
getVarCount() - +Method in class org.opencv.ml.StatModel +
  +
getVarIdx() - +Method in class org.opencv.ml.TrainData +
  +
getVarImportance() - +Method in class org.opencv.ml.RTrees +
  +
getVarInit() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getVarMax() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getVarMin() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getVarThreshold() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getVarThresholdGen() - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
getVarType() - +Method in class org.opencv.ml.TrainData +
  +
getVertex(int, int[]) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
getVertex(int) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
getVoronoiFacetList(MatOfInt, List<MatOfPoint2f>, MatOfPoint2f) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
getWeakCount() - +Method in class org.opencv.ml.Boost +
  +
getWeights(int) - +Method in class org.opencv.ml.ANN_MLP +
  +
getWeights() - +Method in class org.opencv.ml.EM +
  +
getWeightTrimRate() - +Method in class org.opencv.ml.Boost +
  +
getWidth(Object) - +Method in interface org.opencv.android.CameraBridgeViewBase.ListItemAccessor +
  +
getWidth(Object) - +Method in class org.opencv.android.JavaCameraView.JavaCameraSizeAccessor +
  +
getWinSigma() - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
GFTT - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
goodFeaturesToTrack(Mat, MatOfPoint, int, double, double, Mat, int, boolean, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
goodFeaturesToTrack(Mat, MatOfPoint, int, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
GpuApiCallError - +Static variable in class org.opencv.core.Core +
  +
GpuNotSupported - +Static variable in class org.opencv.core.Core +
  +
grab() - +Method in class org.opencv.videoio.VideoCapture +
  +
grabCut(Mat, Mat, Rect, Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
grabCut(Mat, Mat, Rect, Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
gray() - +Method in interface org.opencv.android.CameraBridgeViewBase.CvCameraViewFrame +
This method returns single channel gray scale Mat with frame +
GRAY - +Static variable in class org.opencv.android.CameraBridgeViewBase +
  +
GRID_AKAZE - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_BRISK - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_DENSE - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_FAST - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_GFTT - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_HARRIS - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_MSER - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_ORB - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_SIFT - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_SIMPLEBLOB - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_STAR - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
GRID_SURF - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
groupRectangles(MatOfRect, MatOfInt, int, double) - +Static method in class org.opencv.objdetect.Objdetect +
  +
groupRectangles(MatOfRect, MatOfInt, int) - +Static method in class org.opencv.objdetect.Objdetect +
  +
+
+

+H

+
+
HARRIS - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
hashCode() - +Method in class org.opencv.core.Point +
  +
hashCode() - +Method in class org.opencv.core.Point3 +
  +
hashCode() - +Method in class org.opencv.core.Range +
  +
hashCode() - +Method in class org.opencv.core.Rect +
  +
hashCode() - +Method in class org.opencv.core.RotatedRect +
  +
hashCode() - +Method in class org.opencv.core.Scalar +
  +
hashCode() - +Method in class org.opencv.core.Size +
  +
hashCode() - +Method in class org.opencv.core.TermCriteria +
  +
hconcat(List<Mat>, Mat) - +Static method in class org.opencv.core.Core +
  +
HeaderIsNull - +Static variable in class org.opencv.core.Core +
  +
height() - +Method in class org.opencv.core.Mat +
  +
height - +Variable in class org.opencv.core.Rect +
  +
height - +Variable in class org.opencv.core.Size +
  +
HISTCMP_BHATTACHARYYA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HISTCMP_CHISQR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HISTCMP_CHISQR_ALT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HISTCMP_CORREL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HISTCMP_HELLINGER - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HISTCMP_INTERSECT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HISTCMP_KL_DIV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HOGDescriptor - Class in org.opencv.objdetect
 
HOGDescriptor() - +Constructor for class org.opencv.objdetect.HOGDescriptor +
  +
HOGDescriptor(Size, Size, Size, Size, int, int, double, int, double, boolean, int, boolean) - +Constructor for class org.opencv.objdetect.HOGDescriptor +
  +
HOGDescriptor(Size, Size, Size, Size, int) - +Constructor for class org.opencv.objdetect.HOGDescriptor +
  +
HOGDescriptor(String) - +Constructor for class org.opencv.objdetect.HOGDescriptor +
  +
HOUGH_GRADIENT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HOUGH_MULTI_SCALE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HOUGH_PROBABILISTIC - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HOUGH_STANDARD - +Static variable in class org.opencv.imgproc.Imgproc +
  +
HoughCircles(Mat, Mat, int, double, double, double, double, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
HoughCircles(Mat, Mat, int, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
HoughLines(Mat, Mat, double, double, int, double, double, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
HoughLines(Mat, Mat, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
HoughLinesP(Mat, Mat, double, double, int, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
HoughLinesP(Mat, Mat, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
+
+

+I

+
+
idct(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
idct(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
IDENTITY - +Static variable in class org.opencv.ml.ANN_MLP +
  +
idft(Mat, Mat, int, int) - +Static method in class org.opencv.core.Core +
  +
idft(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
illuminationChange(Mat, Mat, Mat, float, float) - +Static method in class org.opencv.photo.Photo +
  +
illuminationChange(Mat, Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
imdecode(Mat, int) - +Static method in class org.opencv.imgcodecs.Imgcodecs +
  +
imencode(String, Mat, MatOfByte, MatOfInt) - +Static method in class org.opencv.imgcodecs.Imgcodecs +
  +
imencode(String, Mat, MatOfByte) - +Static method in class org.opencv.imgcodecs.Imgcodecs +
  +
Imgcodecs - Class in org.opencv.imgcodecs
 
Imgcodecs() - +Constructor for class org.opencv.imgcodecs.Imgcodecs +
  +
imgIdx - +Variable in class org.opencv.core.DMatch +
Train image index. +
Imgproc - Class in org.opencv.imgproc
 
Imgproc() - +Constructor for class org.opencv.imgproc.Imgproc +
  +
imread(String, int) - +Static method in class org.opencv.imgcodecs.Imgcodecs +
  +
imread(String) - +Static method in class org.opencv.imgcodecs.Imgcodecs +
  +
IMREAD_ANYCOLOR - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMREAD_ANYDEPTH - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMREAD_COLOR - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMREAD_GRAYSCALE - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMREAD_LOAD_GDAL - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMREAD_UNCHANGED - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
imreadmulti(String, List<Mat>, int) - +Static method in class org.opencv.imgcodecs.Imgcodecs +
  +
imreadmulti(String, List<Mat>) - +Static method in class org.opencv.imgcodecs.Imgcodecs +
  +
imwrite(String, Mat, MatOfInt) - +Static method in class org.opencv.imgcodecs.Imgcodecs +
  +
imwrite(String, Mat) - +Static method in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_JPEG_CHROMA_QUALITY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_JPEG_LUMA_QUALITY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_JPEG_OPTIMIZE - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_JPEG_PROGRESSIVE - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_JPEG_QUALITY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_JPEG_RST_INTERVAL - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_PNG_BILEVEL - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_PNG_COMPRESSION - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_PNG_STRATEGY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_PNG_STRATEGY_DEFAULT - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_PNG_STRATEGY_FILTERED - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_PNG_STRATEGY_FIXED - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_PNG_STRATEGY_RLE - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_PXM_BINARY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
IMWRITE_WEBP_QUALITY - +Static variable in class org.opencv.imgcodecs.Imgcodecs +
  +
INCOMPATIBLE_MANAGER_VERSION - +Static variable in interface org.opencv.android.LoaderCallbackInterface +
This version of OpenCV Manager Service is incompatible with the app. +
init() - +Method in class org.opencv.android.FpsMeter +
  +
INIT_FAILED - +Static variable in interface org.opencv.android.LoaderCallbackInterface +
OpenCV library initialization has failed. +
initAsync(String, Context, LoaderCallbackInterface) - +Static method in class org.opencv.android.OpenCVLoader +
Loads and initializes OpenCV library using OpenCV Engine service. +
initCameraMatrix2D(List<MatOfPoint3f>, List<MatOfPoint2f>, Size, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
initCameraMatrix2D(List<MatOfPoint3f>, List<MatOfPoint2f>, Size) - +Static method in class org.opencv.calib3d.Calib3d +
  +
initDebug() - +Static method in class org.opencv.android.OpenCVLoader +
Loads and initializes OpenCV library from current application package. +
initDebug(boolean) - +Static method in class org.opencv.android.OpenCVLoader +
Loads and initializes OpenCV library from current application package. +
initDelaunay(Rect) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
initUndistortRectifyMap(Mat, Mat, Mat, Mat, Size, int, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
initUndistortRectifyMap(Mat, Mat, Mat, Mat, Size, int, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
initWideAngleProjMap(Mat, Mat, Size, int, int, Mat, Mat, int, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
initWideAngleProjMap(Mat, Mat, Size, int, int, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
inpaint(Mat, Mat, Mat, double, int) - +Static method in class org.opencv.photo.Photo +
  +
INPAINT_NS - +Static variable in class org.opencv.photo.Photo +
  +
INPAINT_TELEA - +Static variable in class org.opencv.photo.Photo +
  +
inRange(Mat, Scalar, Scalar, Mat) - +Static method in class org.opencv.core.Core +
  +
insert(Point) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
insert(MatOfPoint2f) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
insertChannel(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
inside(Rect) - +Method in class org.opencv.core.Point +
  +
install() - +Method in interface org.opencv.android.InstallCallbackInterface +
Installation is approved. +
INSTALL_CANCELED - +Static variable in interface org.opencv.android.LoaderCallbackInterface +
OpenCV library installation has been canceled by the user. +
INSTALLATION_PROGRESS - +Static variable in interface org.opencv.android.InstallCallbackInterface +
Current package installation is in progress. +
InstallCallbackInterface - Interface in org.opencv.android
Installation callback interface.
integral(Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
integral(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
integral2(Mat, Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
integral2(Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
integral3(Mat, Mat, Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
integral3(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
INTER - +Static variable in class org.opencv.ml.SVM +
  +
INTER_AREA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTER_BITS - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTER_BITS2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTER_CUBIC - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTER_LANCZOS4 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTER_LINEAR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTER_MAX - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTER_NEAREST - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTER_TAB_SIZE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTER_TAB_SIZE2 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTERSECT_FULL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTERSECT_NONE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
INTERSECT_PARTIAL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
intersectConvexConvex(Mat, Mat, Mat, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
intersectConvexConvex(Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
intersection(Range) - +Method in class org.opencv.core.Range +
  +
inv(int) - +Method in class org.opencv.core.Mat +
  +
inv() - +Method in class org.opencv.core.Mat +
  +
invert(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
invert(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
invertAffineTransform(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
isClassifier() - +Method in class org.opencv.ml.StatModel +
  +
isContinuous() - +Method in class org.opencv.core.Mat +
  +
isContourConvex(MatOfPoint) - +Static method in class org.opencv.imgproc.Imgproc +
  +
isInteger(int) - +Static method in class org.opencv.core.CvType +
  +
isMaskSupported() - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
isOldFormatCascade() - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
isOpened() - +Method in class org.opencv.videoio.VideoCapture +
  +
isReal() - +Method in class org.opencv.core.Scalar +
  +
isSubmatrix() - +Method in class org.opencv.core.Mat +
  +
isTrained() - +Method in class org.opencv.ml.StatModel +
  +
+
+

+J

+
+
JavaCameraView - Class in org.opencv.android
This class is an implementation of the Bridge View between OpenCV and Java Camera.
JavaCameraView(Context, int) - +Constructor for class org.opencv.android.JavaCameraView +
  +
JavaCameraView(Context, AttributeSet) - +Constructor for class org.opencv.android.JavaCameraView +
  +
JavaCameraView.JavaCameraSizeAccessor - Class in org.opencv.android
 
JavaCameraView.JavaCameraSizeAccessor() - +Constructor for class org.opencv.android.JavaCameraView.JavaCameraSizeAccessor +
  +
+
+

+K

+
+
KalmanFilter - Class in org.opencv.video
 
KalmanFilter() - +Constructor for class org.opencv.video.KalmanFilter +
  +
KalmanFilter(int, int, int, int) - +Constructor for class org.opencv.video.KalmanFilter +
  +
KalmanFilter(int, int) - +Constructor for class org.opencv.video.KalmanFilter +
  +
KDTREE - +Static variable in class org.opencv.ml.KNearest +
  +
KeyPoint - Class in org.opencv.core
 
KeyPoint(float, float, float, float, float, int, int) - +Constructor for class org.opencv.core.KeyPoint +
  +
KeyPoint() - +Constructor for class org.opencv.core.KeyPoint +
  +
KeyPoint(float, float, float, float, float, int) - +Constructor for class org.opencv.core.KeyPoint +
  +
KeyPoint(float, float, float, float, float) - +Constructor for class org.opencv.core.KeyPoint +
  +
KeyPoint(float, float, float, float) - +Constructor for class org.opencv.core.KeyPoint +
  +
KeyPoint(float, float, float) - +Constructor for class org.opencv.core.KeyPoint +
  +
kmeans(Mat, int, Mat, TermCriteria, int, int, Mat) - +Static method in class org.opencv.core.Core +
  +
kmeans(Mat, int, Mat, TermCriteria, int, int) - +Static method in class org.opencv.core.Core +
  +
KMEANS_PP_CENTERS - +Static variable in class org.opencv.core.Core +
  +
KMEANS_RANDOM_CENTERS - +Static variable in class org.opencv.core.Core +
  +
KMEANS_USE_INITIAL_LABELS - +Static variable in class org.opencv.core.Core +
  +
KNearest - Class in org.opencv.ml
 
knnMatch(Mat, Mat, List<MatOfDMatch>, int, Mat, boolean) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
knnMatch(Mat, Mat, List<MatOfDMatch>, int) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
knnMatch(Mat, List<MatOfDMatch>, int, List<Mat>, boolean) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
knnMatch(Mat, List<MatOfDMatch>, int) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
+
+

+L

+
+
L2Hys - +Static variable in class org.opencv.objdetect.HOGDescriptor +
  +
Laplacian(Mat, Mat, int, int, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
Laplacian(Mat, Mat, int, int, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
Laplacian(Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
LDR_SIZE - +Static variable in class org.opencv.photo.Photo +
  +
lessThan(DMatch) - +Method in class org.opencv.core.DMatch +
Less is better. +
line(Mat, Point, Point, Scalar, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
line(Mat, Point, Point, Scalar, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
line(Mat, Point, Point, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
LINE_4 - +Static variable in class org.opencv.core.Core +
  +
LINE_4 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
LINE_8 - +Static variable in class org.opencv.core.Core +
  +
LINE_8 - +Static variable in class org.opencv.imgproc.Imgproc +
  +
LINE_AA - +Static variable in class org.opencv.core.Core +
  +
LINE_AA - +Static variable in class org.opencv.imgproc.Imgproc +
  +
LINEAR - +Static variable in class org.opencv.ml.SVM +
  +
linearPolar(Mat, Mat, Point, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
LineSegmentDetector - Class in org.opencv.imgproc
 
LMEDS - +Static variable in class org.opencv.calib3d.Calib3d +
  +
load(String) - +Method in class org.opencv.objdetect.CascadeClassifier +
  +
load(String, String) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
load(String) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
LoaderCallbackInterface - Interface in org.opencv.android
Interface for callback object in case of asynchronous initialization of OpenCV.
loadResource(Context, int) - +Static method in class org.opencv.android.Utils +
  +
loadResource(Context, int, int) - +Static method in class org.opencv.android.Utils +
  +
locate(Point, int[], int[]) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
locateROI(Size, Point) - +Method in class org.opencv.core.Mat +
  +
log(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
LogisticRegression - Class in org.opencv.ml
 
LOGIT - +Static variable in class org.opencv.ml.Boost +
  +
logPolar(Mat, Mat, Point, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
LSD_REFINE_ADV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
LSD_REFINE_NONE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
LSD_REFINE_STD - +Static variable in class org.opencv.imgproc.Imgproc +
  +
LUT(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
+
+

+M

+
+
magnitude(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
Mahalanobis(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
makeType(int, int) - +Static method in class org.opencv.core.CvType +
  +
MARKET_ERROR - +Static variable in interface org.opencv.android.LoaderCallbackInterface +
Google Play Market cannot be invoked. +
MaskIsTiled - +Static variable in class org.opencv.core.Core +
  +
Mat - Class in org.opencv.core
 
Mat(long) - +Constructor for class org.opencv.core.Mat +
  +
Mat() - +Constructor for class org.opencv.core.Mat +
  +
Mat(int, int, int) - +Constructor for class org.opencv.core.Mat +
  +
Mat(Size, int) - +Constructor for class org.opencv.core.Mat +
  +
Mat(int, int, int, Scalar) - +Constructor for class org.opencv.core.Mat +
  +
Mat(Size, int, Scalar) - +Constructor for class org.opencv.core.Mat +
  +
Mat(Mat, Range, Range) - +Constructor for class org.opencv.core.Mat +
  +
Mat(Mat, Range) - +Constructor for class org.opencv.core.Mat +
  +
Mat(Mat, Rect) - +Constructor for class org.opencv.core.Mat +
  +
Mat_to_vector_char(Mat, List<Byte>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_DMatch(Mat, List<DMatch>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_double(Mat, List<Double>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_float(Mat, List<Float>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_int(Mat, List<Integer>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_KeyPoint(Mat, List<KeyPoint>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_Mat(Mat, List<Mat>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_Point(Mat, List<Point>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_Point2d(Mat, List<Point>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_Point2f(Mat, List<Point>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_Point3(Mat, List<Point3>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_Point3d(Mat, List<Point3>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_Point3f(Mat, List<Point3>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_Point3i(Mat, List<Point3>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_Rect(Mat, List<Rect>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_uchar(Mat, List<Byte>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_vector_char(Mat, List<List<Byte>>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_vector_DMatch(Mat, List<MatOfDMatch>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_vector_KeyPoint(Mat, List<MatOfKeyPoint>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_vector_Point(Mat, List<MatOfPoint>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_vector_Point2f(Mat, List<MatOfPoint2f>) - +Static method in class org.opencv.utils.Converters +
  +
Mat_to_vector_vector_Point3f(Mat, List<MatOfPoint3f>) - +Static method in class org.opencv.utils.Converters +
  +
match(Mat, Mat, MatOfDMatch, Mat) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
match(Mat, Mat, MatOfDMatch) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
match(Mat, MatOfDMatch, List<Mat>) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
match(Mat, MatOfDMatch) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
matchShapes(Mat, Mat, int, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
matchTemplate(Mat, Mat, Mat, int, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
matchTemplate(Mat, Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
matMulDeriv(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
MatOfByte - Class in org.opencv.core
 
MatOfByte() - +Constructor for class org.opencv.core.MatOfByte +
  +
MatOfByte(Mat) - +Constructor for class org.opencv.core.MatOfByte +
  +
MatOfByte(byte...) - +Constructor for class org.opencv.core.MatOfByte +
  +
MatOfDMatch - Class in org.opencv.core
 
MatOfDMatch() - +Constructor for class org.opencv.core.MatOfDMatch +
  +
MatOfDMatch(Mat) - +Constructor for class org.opencv.core.MatOfDMatch +
  +
MatOfDMatch(DMatch...) - +Constructor for class org.opencv.core.MatOfDMatch +
  +
MatOfDouble - Class in org.opencv.core
 
MatOfDouble() - +Constructor for class org.opencv.core.MatOfDouble +
  +
MatOfDouble(Mat) - +Constructor for class org.opencv.core.MatOfDouble +
  +
MatOfDouble(double...) - +Constructor for class org.opencv.core.MatOfDouble +
  +
MatOfFloat - Class in org.opencv.core
 
MatOfFloat() - +Constructor for class org.opencv.core.MatOfFloat +
  +
MatOfFloat(Mat) - +Constructor for class org.opencv.core.MatOfFloat +
  +
MatOfFloat(float...) - +Constructor for class org.opencv.core.MatOfFloat +
  +
MatOfFloat4 - Class in org.opencv.core
 
MatOfFloat4() - +Constructor for class org.opencv.core.MatOfFloat4 +
  +
MatOfFloat4(Mat) - +Constructor for class org.opencv.core.MatOfFloat4 +
  +
MatOfFloat4(float...) - +Constructor for class org.opencv.core.MatOfFloat4 +
  +
MatOfFloat6 - Class in org.opencv.core
 
MatOfFloat6() - +Constructor for class org.opencv.core.MatOfFloat6 +
  +
MatOfFloat6(Mat) - +Constructor for class org.opencv.core.MatOfFloat6 +
  +
MatOfFloat6(float...) - +Constructor for class org.opencv.core.MatOfFloat6 +
  +
MatOfInt - Class in org.opencv.core
 
MatOfInt() - +Constructor for class org.opencv.core.MatOfInt +
  +
MatOfInt(Mat) - +Constructor for class org.opencv.core.MatOfInt +
  +
MatOfInt(int...) - +Constructor for class org.opencv.core.MatOfInt +
  +
MatOfInt4 - Class in org.opencv.core
 
MatOfInt4() - +Constructor for class org.opencv.core.MatOfInt4 +
  +
MatOfInt4(Mat) - +Constructor for class org.opencv.core.MatOfInt4 +
  +
MatOfInt4(int...) - +Constructor for class org.opencv.core.MatOfInt4 +
  +
MatOfKeyPoint - Class in org.opencv.core
 
MatOfKeyPoint() - +Constructor for class org.opencv.core.MatOfKeyPoint +
  +
MatOfKeyPoint(Mat) - +Constructor for class org.opencv.core.MatOfKeyPoint +
  +
MatOfKeyPoint(KeyPoint...) - +Constructor for class org.opencv.core.MatOfKeyPoint +
  +
MatOfPoint - Class in org.opencv.core
 
MatOfPoint() - +Constructor for class org.opencv.core.MatOfPoint +
  +
MatOfPoint(Mat) - +Constructor for class org.opencv.core.MatOfPoint +
  +
MatOfPoint(Point...) - +Constructor for class org.opencv.core.MatOfPoint +
  +
MatOfPoint2f - Class in org.opencv.core
 
MatOfPoint2f() - +Constructor for class org.opencv.core.MatOfPoint2f +
  +
MatOfPoint2f(Mat) - +Constructor for class org.opencv.core.MatOfPoint2f +
  +
MatOfPoint2f(Point...) - +Constructor for class org.opencv.core.MatOfPoint2f +
  +
MatOfPoint3 - Class in org.opencv.core
 
MatOfPoint3() - +Constructor for class org.opencv.core.MatOfPoint3 +
  +
MatOfPoint3(Mat) - +Constructor for class org.opencv.core.MatOfPoint3 +
  +
MatOfPoint3(Point3...) - +Constructor for class org.opencv.core.MatOfPoint3 +
  +
MatOfPoint3f - Class in org.opencv.core
 
MatOfPoint3f() - +Constructor for class org.opencv.core.MatOfPoint3f +
  +
MatOfPoint3f(Mat) - +Constructor for class org.opencv.core.MatOfPoint3f +
  +
MatOfPoint3f(Point3...) - +Constructor for class org.opencv.core.MatOfPoint3f +
  +
MatOfRect - Class in org.opencv.core
 
MatOfRect() - +Constructor for class org.opencv.core.MatOfRect +
  +
MatOfRect(Mat) - +Constructor for class org.opencv.core.MatOfRect +
  +
MatOfRect(Rect...) - +Constructor for class org.opencv.core.MatOfRect +
  +
matToBitmap(Mat, Bitmap, boolean) - +Static method in class org.opencv.android.Utils +
Converts OpenCV Mat to Android Bitmap. +
matToBitmap(Mat, Bitmap) - +Static method in class org.opencv.android.Utils +
Short form of the matToBitmap(mat, bmp, premultiplyAlpha=false) +
max(Mat, Scalar, Mat) - +Static method in class org.opencv.core.Core +
  +
max(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
MAX_ITER - +Static variable in class org.opencv.core.TermCriteria +
The maximum number of iterations or elements to compute +
maxCount - +Variable in class org.opencv.core.TermCriteria +
  +
maxLoc - +Variable in class org.opencv.core.Core.MinMaxLocResult +
  +
maxVal - +Variable in class org.opencv.core.Core.MinMaxLocResult +
  +
mean(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
mean(Mat) - +Static method in class org.opencv.core.Core +
  +
meanShift(Mat, Rect, TermCriteria) - +Static method in class org.opencv.video.Video +
  +
meanStdDev(Mat, MatOfDouble, MatOfDouble, Mat) - +Static method in class org.opencv.core.Core +
  +
meanStdDev(Mat, MatOfDouble, MatOfDouble) - +Static method in class org.opencv.core.Core +
  +
measure() - +Method in class org.opencv.android.FpsMeter +
  +
medianBlur(Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
merge(List<Mat>, Mat) - +Static method in class org.opencv.core.Core +
  +
MergeDebevec - Class in org.opencv.photo
 
MergeExposures - Class in org.opencv.photo
 
MergeMertens - Class in org.opencv.photo
 
MergeRobertson - Class in org.opencv.photo
 
min(Mat, Scalar, Mat) - +Static method in class org.opencv.core.Core +
  +
min(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
minAreaRect(MatOfPoint2f) - +Static method in class org.opencv.imgproc.Imgproc +
  +
minEnclosingCircle(MatOfPoint2f, Point, float[]) - +Static method in class org.opencv.imgproc.Imgproc +
  +
minEnclosingTriangle(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
MINI_BATCH - +Static variable in class org.opencv.ml.LogisticRegression +
  +
minLoc - +Variable in class org.opencv.core.Core.MinMaxLocResult +
  +
minMaxLoc(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
minMaxLoc(Mat) - +Static method in class org.opencv.core.Core +
  +
minVal - +Variable in class org.opencv.core.Core.MinMaxLocResult +
  +
mixChannels(List<Mat>, List<Mat>, MatOfInt) - +Static method in class org.opencv.core.Core +
  +
MIXED_CLONE - +Static variable in class org.opencv.photo.Photo +
  +
Ml - Class in org.opencv.ml
 
Ml() - +Constructor for class org.opencv.ml.Ml +
  +
MODE_HH - +Static variable in class org.opencv.calib3d.StereoSGBM +
  +
MODE_SGBM - +Static variable in class org.opencv.calib3d.StereoSGBM +
  +
MONOCHROME_TRANSFER - +Static variable in class org.opencv.photo.Photo +
  +
MORPH_BLACKHAT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
MORPH_CLOSE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
MORPH_CROSS - +Static variable in class org.opencv.imgproc.Imgproc +
  +
MORPH_DILATE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
MORPH_ELLIPSE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
MORPH_ERODE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
MORPH_GRADIENT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
MORPH_OPEN - +Static variable in class org.opencv.imgproc.Imgproc +
  +
MORPH_RECT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
MORPH_TOPHAT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
morphologyEx(Mat, Mat, int, Mat, Point, int, int, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
morphologyEx(Mat, Mat, int, Mat, Point, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
morphologyEx(Mat, Mat, int, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
MOTION_AFFINE - +Static variable in class org.opencv.video.Video +
  +
MOTION_EUCLIDEAN - +Static variable in class org.opencv.video.Video +
  +
MOTION_HOMOGRAPHY - +Static variable in class org.opencv.video.Video +
  +
MOTION_TRANSLATION - +Static variable in class org.opencv.video.Video +
  +
MSER - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
mul(Mat, double) - +Method in class org.opencv.core.Mat +
  +
mul(Mat) - +Method in class org.opencv.core.Mat +
  +
mul(Scalar, double) - +Method in class org.opencv.core.Scalar +
  +
mul(Scalar) - +Method in class org.opencv.core.Scalar +
  +
mulSpectrums(Mat, Mat, Mat, int, boolean) - +Static method in class org.opencv.core.Core +
  +
mulSpectrums(Mat, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
multiply(Mat, Scalar, Mat, double, int) - +Static method in class org.opencv.core.Core +
  +
multiply(Mat, Scalar, Mat, double) - +Static method in class org.opencv.core.Core +
  +
multiply(Mat, Scalar, Mat) - +Static method in class org.opencv.core.Core +
  +
multiply(Mat, Mat, Mat, double, int) - +Static method in class org.opencv.core.Core +
  +
multiply(Mat, Mat, Mat, double) - +Static method in class org.opencv.core.Core +
  +
multiply(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
mulTransposed(Mat, Mat, boolean, Mat, double, int) - +Static method in class org.opencv.core.Core +
  +
mulTransposed(Mat, Mat, boolean, Mat, double) - +Static method in class org.opencv.core.Core +
  +
mulTransposed(Mat, Mat, boolean) - +Static method in class org.opencv.core.Core +
  +
+
+

+N

+
+
NATIVE_LIBRARY_NAME - +Static variable in class org.opencv.core.Core +
  +
nativeObj - +Variable in class org.opencv.core.Mat +
  +
NEW_INSTALLATION - +Static variable in interface org.opencv.android.InstallCallbackInterface +
New package installation is required. +
NEXT_AROUND_DST - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
NEXT_AROUND_LEFT - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
NEXT_AROUND_ORG - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
NEXT_AROUND_RIGHT - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
nextEdge(int) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
NO_INPUT_SCALE - +Static variable in class org.opencv.ml.ANN_MLP +
  +
NO_OUTPUT_SCALE - +Static variable in class org.opencv.ml.ANN_MLP +
  +
norm(Mat, int, Mat) - +Static method in class org.opencv.core.Core +
  +
norm(Mat, int) - +Static method in class org.opencv.core.Core +
  +
norm(Mat) - +Static method in class org.opencv.core.Core +
  +
norm(Mat, Mat, int, Mat) - +Static method in class org.opencv.core.Core +
  +
norm(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
norm(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
NORM_HAMMING - +Static variable in class org.opencv.core.Core +
  +
NORM_HAMMING2 - +Static variable in class org.opencv.core.Core +
  +
NORM_INF - +Static variable in class org.opencv.core.Core +
  +
NORM_L1 - +Static variable in class org.opencv.core.Core +
  +
NORM_L2 - +Static variable in class org.opencv.core.Core +
  +
NORM_L2SQR - +Static variable in class org.opencv.core.Core +
  +
NORM_MINMAX - +Static variable in class org.opencv.core.Core +
  +
NORM_RELATIVE - +Static variable in class org.opencv.core.Core +
  +
NORM_TYPE_MASK - +Static variable in class org.opencv.core.Core +
  +
NORMAL_CLONE - +Static variable in class org.opencv.photo.Photo +
  +
NormalBayesClassifier - Class in org.opencv.ml
 
normalize(Mat, Mat, double, double, int, int, Mat) - +Static method in class org.opencv.core.Core +
  +
normalize(Mat, Mat, double, double, int, int) - +Static method in class org.opencv.core.Core +
  +
normalize(Mat, Mat, double, double, int) - +Static method in class org.opencv.core.Core +
  +
normalize(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
NORMCONV_FILTER - +Static variable in class org.opencv.photo.Photo +
  +
NOT_DRAW_SINGLE_POINTS - +Static variable in class org.opencv.features2d.Features2d +
  +
NU - +Static variable in class org.opencv.ml.SVM +
  +
NU_SVC - +Static variable in class org.opencv.ml.SVM +
  +
NU_SVR - +Static variable in class org.opencv.ml.SVM +
  +
+
+

+O

+
+
Objdetect - Class in org.opencv.objdetect
 
Objdetect() - +Constructor for class org.opencv.objdetect.Objdetect +
  +
octave - +Variable in class org.opencv.core.KeyPoint +
Octave (pyramid layer), from which the keypoint has been extracted. +
onCameraFrame(Mat) - +Method in interface org.opencv.android.CameraBridgeViewBase.CvCameraViewListener +
This method is invoked when delivery of the frame needs to be done. +
onCameraFrame(CameraBridgeViewBase.CvCameraViewFrame) - +Method in interface org.opencv.android.CameraBridgeViewBase.CvCameraViewListener2 +
This method is invoked when delivery of the frame needs to be done. +
onCameraViewStarted(int, int) - +Method in interface org.opencv.android.CameraBridgeViewBase.CvCameraViewListener +
This method is invoked when camera preview has started. +
onCameraViewStarted(int, int) - +Method in interface org.opencv.android.CameraBridgeViewBase.CvCameraViewListener2 +
This method is invoked when camera preview has started. +
onCameraViewStopped() - +Method in interface org.opencv.android.CameraBridgeViewBase.CvCameraViewListener +
This method is invoked when camera preview has been stopped for some reason. +
onCameraViewStopped() - +Method in interface org.opencv.android.CameraBridgeViewBase.CvCameraViewListener2 +
This method is invoked when camera preview has been stopped for some reason. +
ONE_CLASS - +Static variable in class org.opencv.ml.SVM +
  +
ones(int, int, int) - +Static method in class org.opencv.core.Mat +
  +
ones(Size, int) - +Static method in class org.opencv.core.Mat +
  +
onManagerConnected(int) - +Method in class org.opencv.android.BaseLoaderCallback +
  +
onManagerConnected(int) - +Method in interface org.opencv.android.LoaderCallbackInterface +
Callback method, called after OpenCV library initialization. +
onPackageInstall(int, InstallCallbackInterface) - +Method in class org.opencv.android.BaseLoaderCallback +
  +
onPackageInstall(int, InstallCallbackInterface) - +Method in interface org.opencv.android.LoaderCallbackInterface +
Callback method, called in case the package installation is needed. +
onPreviewFrame(byte[], Camera) - +Method in class org.opencv.android.JavaCameraView +
  +
open(String) - +Method in class org.opencv.videoio.VideoCapture +
  +
open(int) - +Method in class org.opencv.videoio.VideoCapture +
  +
OpenCLApiCallError - +Static variable in class org.opencv.core.Core +
  +
OpenCLDoubleNotSupported - +Static variable in class org.opencv.core.Core +
  +
OpenCLInitError - +Static variable in class org.opencv.core.Core +
  +
OpenCLNoAMDBlasFft - +Static variable in class org.opencv.core.Core +
  +
OPENCV_VERSION_2_4_10 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.10. +
OPENCV_VERSION_2_4_11 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.11. +
OPENCV_VERSION_2_4_2 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.2. +
OPENCV_VERSION_2_4_3 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.3. +
OPENCV_VERSION_2_4_4 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.4. +
OPENCV_VERSION_2_4_5 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.5. +
OPENCV_VERSION_2_4_6 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.6. +
OPENCV_VERSION_2_4_7 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.7. +
OPENCV_VERSION_2_4_8 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.8. +
OPENCV_VERSION_2_4_9 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 2.4.9. +
OPENCV_VERSION_3_0_0 - +Static variable in class org.opencv.android.OpenCVLoader +
OpenCV Library version 3.0.0. +
OpenCVLoader - Class in org.opencv.android
Helper class provides common initialization methods for OpenCV library.
OpenCVLoader() - +Constructor for class org.opencv.android.OpenCVLoader +
  +
OpenGlApiCallError - +Static variable in class org.opencv.core.Core +
  +
OpenGlNotSupported - +Static variable in class org.opencv.core.Core +
  +
OPPONENT_AKAZE - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
OPPONENT_BRIEF - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
OPPONENT_BRISK - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
OPPONENT_FREAK - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
OPPONENT_ORB - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
OPPONENT_SIFT - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
OPPONENT_SURF - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
OPTFLOW_FARNEBACK_GAUSSIAN - +Static variable in class org.opencv.video.Video +
  +
OPTFLOW_LK_GET_MIN_EIGENVALS - +Static variable in class org.opencv.video.Video +
  +
OPTFLOW_USE_INITIAL_FLOW - +Static variable in class org.opencv.video.Video +
  +
ORB - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
ORB - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
org.opencv.android - package org.opencv.android
 
org.opencv.calib3d - package org.opencv.calib3d
 
org.opencv.core - package org.opencv.core
 
org.opencv.engine - package org.opencv.engine
 
org.opencv.features2d - package org.opencv.features2d
 
org.opencv.imgcodecs - package org.opencv.imgcodecs
 
org.opencv.imgproc - package org.opencv.imgproc
 
org.opencv.ml - package org.opencv.ml
 
org.opencv.objdetect - package org.opencv.objdetect
 
org.opencv.photo - package org.opencv.photo
 
org.opencv.utils - package org.opencv.utils
 
org.opencv.video - package org.opencv.video
 
org.opencv.videoio - package org.opencv.videoio
 
+
+

+P

+
+
P - +Static variable in class org.opencv.ml.SVM +
  +
patchNaNs(Mat, double) - +Static method in class org.opencv.core.Core +
  +
patchNaNs(Mat) - +Static method in class org.opencv.core.Core +
  +
PCABackProject(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
PCACompute(Mat, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
PCACompute(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
PCACompute(Mat, Mat, Mat, double) - +Static method in class org.opencv.core.Core +
  +
PCAProject(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
pencilSketch(Mat, Mat, Mat, float, float, float) - +Static method in class org.opencv.photo.Photo +
  +
pencilSketch(Mat, Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
perspectiveTransform(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
phase(Mat, Mat, Mat, boolean) - +Static method in class org.opencv.core.Core +
  +
phase(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
phaseCorrelate(Mat, Mat, Mat, double[]) - +Static method in class org.opencv.imgproc.Imgproc +
  +
phaseCorrelate(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
Photo - Class in org.opencv.photo
 
Photo() - +Constructor for class org.opencv.photo.Photo +
  +
Point - Class in org.opencv.core
 
Point(double, double) - +Constructor for class org.opencv.core.Point +
  +
Point() - +Constructor for class org.opencv.core.Point +
  +
Point(double[]) - +Constructor for class org.opencv.core.Point +
  +
Point3 - Class in org.opencv.core
 
Point3(double, double, double) - +Constructor for class org.opencv.core.Point3 +
  +
Point3() - +Constructor for class org.opencv.core.Point3 +
  +
Point3(Point) - +Constructor for class org.opencv.core.Point3 +
  +
Point3(double[]) - +Constructor for class org.opencv.core.Point3 +
  +
pointPolygonTest(MatOfPoint2f, Point, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
points(Point[]) - +Method in class org.opencv.core.RotatedRect +
  +
polarToCart(Mat, Mat, Mat, Mat, boolean) - +Static method in class org.opencv.core.Core +
  +
polarToCart(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
POLY - +Static variable in class org.opencv.ml.SVM +
  +
polylines(Mat, List<MatOfPoint>, boolean, Scalar, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
polylines(Mat, List<MatOfPoint>, boolean, Scalar, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
polylines(Mat, List<MatOfPoint>, boolean, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
pow(Mat, double, Mat) - +Static method in class org.opencv.core.Core +
  +
preCornerDetect(Mat, Mat, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
preCornerDetect(Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
predict(Mat, Mat, int) - +Method in class org.opencv.ml.LogisticRegression +
  +
predict(Mat) - +Method in class org.opencv.ml.LogisticRegression +
  +
predict(Mat, Mat, int) - +Method in class org.opencv.ml.StatModel +
  +
predict(Mat) - +Method in class org.opencv.ml.StatModel +
  +
predict(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
predict() - +Method in class org.opencv.video.KalmanFilter +
  +
predict2(Mat, Mat) - +Method in class org.opencv.ml.EM +
  +
PREDICT_AUTO - +Static variable in class org.opencv.ml.DTrees +
  +
PREDICT_MASK - +Static variable in class org.opencv.ml.DTrees +
  +
PREDICT_MAX_VOTE - +Static variable in class org.opencv.ml.DTrees +
  +
PREDICT_SUM - +Static variable in class org.opencv.ml.DTrees +
  +
predictProb(Mat, Mat, Mat, int) - +Method in class org.opencv.ml.NormalBayesClassifier +
  +
predictProb(Mat, Mat, Mat) - +Method in class org.opencv.ml.NormalBayesClassifier +
  +
PREFILTER_NORMALIZED_RESPONSE - +Static variable in class org.opencv.calib3d.StereoBM +
  +
PREFILTER_XSOBEL - +Static variable in class org.opencv.calib3d.StereoBM +
  +
PREPROCESSED_INPUT - +Static variable in class org.opencv.ml.StatModel +
  +
PREV_AROUND_DST - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
PREV_AROUND_LEFT - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
PREV_AROUND_ORG - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
PREV_AROUND_RIGHT - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
process(List<Mat>, List<Mat>, Mat, Mat) - +Method in class org.opencv.photo.AlignExposures +
  +
process(List<Mat>, List<Mat>, Mat, Mat) - +Method in class org.opencv.photo.AlignMTB +
  +
process(List<Mat>, List<Mat>) - +Method in class org.opencv.photo.AlignMTB +
  +
process(List<Mat>, Mat, Mat) - +Method in class org.opencv.photo.CalibrateCRF +
  +
process(List<Mat>, Mat, Mat, Mat) - +Method in class org.opencv.photo.MergeDebevec +
  +
process(List<Mat>, Mat, Mat) - +Method in class org.opencv.photo.MergeDebevec +
  +
process(List<Mat>, Mat, Mat, Mat) - +Method in class org.opencv.photo.MergeExposures +
  +
process(List<Mat>, Mat, Mat, Mat) - +Method in class org.opencv.photo.MergeMertens +
  +
process(List<Mat>, Mat) - +Method in class org.opencv.photo.MergeMertens +
  +
process(List<Mat>, Mat, Mat, Mat) - +Method in class org.opencv.photo.MergeRobertson +
  +
process(List<Mat>, Mat, Mat) - +Method in class org.opencv.photo.MergeRobertson +
  +
process(Mat, Mat) - +Method in class org.opencv.photo.Tonemap +
  +
PROJ_SPHERICAL_EQRECT - +Static variable in class org.opencv.imgproc.Imgproc +
  +
PROJ_SPHERICAL_ORTHO - +Static variable in class org.opencv.imgproc.Imgproc +
  +
projectPoints(MatOfPoint3f, Mat, Mat, Mat, MatOfDouble, MatOfPoint2f, Mat, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
projectPoints(MatOfPoint3f, Mat, Mat, Mat, MatOfDouble, MatOfPoint2f) - +Static method in class org.opencv.calib3d.Calib3d +
  +
projectPoints(MatOfPoint3f, MatOfPoint2f, Mat, Mat, Mat, Mat, double, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
projectPoints(MatOfPoint3f, MatOfPoint2f, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
PSNR(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
pt - +Variable in class org.opencv.core.KeyPoint +
Coordinates of the keypoint. +
PTLOC_ERROR - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
PTLOC_INSIDE - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
PTLOC_ON_EDGE - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
PTLOC_OUTSIDE_RECT - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
PTLOC_VERTEX - +Static variable in class org.opencv.imgproc.Subdiv2D +
  +
push_back(Mat) - +Method in class org.opencv.core.Mat +
  +
put(int, int, double...) - +Method in class org.opencv.core.Mat +
  +
put(int, int, float[]) - +Method in class org.opencv.core.Mat +
  +
put(int, int, int[]) - +Method in class org.opencv.core.Mat +
  +
put(int, int, short[]) - +Method in class org.opencv.core.Mat +
  +
put(int, int, byte[]) - +Method in class org.opencv.core.Mat +
  +
putText(Mat, String, Point, int, double, Scalar, int, int, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
putText(Mat, String, Point, int, double, Scalar, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
putText(Mat, String, Point, int, double, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
PYRAMID_AKAZE - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_BRISK - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_DENSE - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_FAST - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_GFTT - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_HARRIS - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_MSER - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_ORB - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_SIFT - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_SIMPLEBLOB - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_STAR - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
PYRAMID_SURF - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
pyrDown(Mat, Mat, Size, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
pyrDown(Mat, Mat, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
pyrDown(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
pyrMeanShiftFiltering(Mat, Mat, double, double, int, TermCriteria) - +Static method in class org.opencv.imgproc.Imgproc +
  +
pyrMeanShiftFiltering(Mat, Mat, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
pyrUp(Mat, Mat, Size, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
pyrUp(Mat, Mat, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
pyrUp(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
+
+

+Q

+
+
queryIdx - +Variable in class org.opencv.core.DMatch +
Query descriptor index. +
+
+

+R

+
+
radiusMatch(Mat, Mat, List<MatOfDMatch>, float, Mat, boolean) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
radiusMatch(Mat, Mat, List<MatOfDMatch>, float) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
radiusMatch(Mat, List<MatOfDMatch>, float, List<Mat>, boolean) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
radiusMatch(Mat, List<MatOfDMatch>, float) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
randn(Mat, double, double) - +Static method in class org.opencv.core.Core +
  +
randShuffle(Mat, double) - +Static method in class org.opencv.core.Core +
  +
randShuffle(Mat) - +Static method in class org.opencv.core.Core +
  +
randu(Mat, double, double) - +Static method in class org.opencv.core.Core +
  +
Range - Class in org.opencv.core
 
Range(int, int) - +Constructor for class org.opencv.core.Range +
  +
Range() - +Constructor for class org.opencv.core.Range +
  +
Range(double[]) - +Constructor for class org.opencv.core.Range +
  +
RANSAC - +Static variable in class org.opencv.calib3d.Calib3d +
  +
RAW_OUTPUT - +Static variable in class org.opencv.ml.StatModel +
  +
RBF - +Static variable in class org.opencv.ml.SVM +
  +
read(String) - +Method in class org.opencv.features2d.DescriptorExtractor +
  +
read(String) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
read(String) - +Method in class org.opencv.features2d.FeatureDetector +
  +
read(Mat) - +Method in class org.opencv.videoio.VideoCapture +
  +
REAL - +Static variable in class org.opencv.ml.Boost +
  +
recoverPose(Mat, Mat, Mat, Mat, Mat, double, Point, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
recoverPose(Mat, Mat, Mat, Mat, Mat, double, Point) - +Static method in class org.opencv.calib3d.Calib3d +
  +
recoverPose(Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
Rect - Class in org.opencv.core
 
Rect(int, int, int, int) - +Constructor for class org.opencv.core.Rect +
  +
Rect() - +Constructor for class org.opencv.core.Rect +
  +
Rect(Point, Point) - +Constructor for class org.opencv.core.Rect +
  +
Rect(Point, Size) - +Constructor for class org.opencv.core.Rect +
  +
Rect(double[]) - +Constructor for class org.opencv.core.Rect +
  +
rectangle(Mat, Point, Point, Scalar, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
rectangle(Mat, Point, Point, Scalar, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
rectangle(Mat, Point, Point, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
rectify3Collinear(Mat, Mat, Mat, Mat, Mat, Mat, List<Mat>, List<Mat>, Size, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, Mat, double, Size, Rect, Rect, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
RECURS_FILTER - +Static variable in class org.opencv.photo.Photo +
  +
reduce(Mat, Mat, int, int, int) - +Static method in class org.opencv.core.Core +
  +
reduce(Mat, Mat, int, int) - +Static method in class org.opencv.core.Core +
  +
REDUCE_AVG - +Static variable in class org.opencv.core.Core +
  +
REDUCE_MAX - +Static variable in class org.opencv.core.Core +
  +
REDUCE_MIN - +Static variable in class org.opencv.core.Core +
  +
REDUCE_SUM - +Static variable in class org.opencv.core.Core +
  +
REG_DISABLE - +Static variable in class org.opencv.ml.LogisticRegression +
  +
REG_L1 - +Static variable in class org.opencv.ml.LogisticRegression +
  +
REG_L2 - +Static variable in class org.opencv.ml.LogisticRegression +
  +
release() - +Method in class org.opencv.core.Mat +
  +
release() - +Method in class org.opencv.videoio.VideoCapture +
  +
remap(Mat, Mat, Mat, Mat, int, int, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
remap(Mat, Mat, Mat, Mat, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
repeat(Mat, int, int, Mat) - +Static method in class org.opencv.core.Core +
  +
reprojectImageTo3D(Mat, Mat, Mat, boolean, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
reprojectImageTo3D(Mat, Mat, Mat, boolean) - +Static method in class org.opencv.calib3d.Calib3d +
  +
reprojectImageTo3D(Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
reshape(int, int) - +Method in class org.opencv.core.Mat +
  +
reshape(int) - +Method in class org.opencv.core.Mat +
  +
resize(Mat, Mat, Size, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
resize(Mat, Mat, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
response - +Variable in class org.opencv.core.KeyPoint +
The response, by which the strongest keypoints have been selected. +
RETR_CCOMP - +Static variable in class org.opencv.imgproc.Imgproc +
  +
RETR_EXTERNAL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
RETR_FLOODFILL - +Static variable in class org.opencv.imgproc.Imgproc +
  +
RETR_LIST - +Static variable in class org.opencv.imgproc.Imgproc +
  +
RETR_TREE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
retrieve(Mat, int) - +Method in class org.opencv.videoio.VideoCapture +
  +
retrieve(Mat) - +Method in class org.opencv.videoio.VideoCapture +
  +
rgba() - +Method in interface org.opencv.android.CameraBridgeViewBase.CvCameraViewFrame +
This method returns RGBA Mat with frame +
RGBA - +Static variable in class org.opencv.android.CameraBridgeViewBase +
  +
RHO - +Static variable in class org.opencv.calib3d.Calib3d +
  +
Rodrigues(Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
Rodrigues(Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
RotatedRect - Class in org.opencv.core
 
RotatedRect() - +Constructor for class org.opencv.core.RotatedRect +
  +
RotatedRect(Point, Size, double) - +Constructor for class org.opencv.core.RotatedRect +
  +
RotatedRect(double[]) - +Constructor for class org.opencv.core.RotatedRect +
  +
rotatedRectangleIntersection(RotatedRect, RotatedRect, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
rotateEdge(int, int) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
row(int) - +Method in class org.opencv.core.Mat +
  +
ROW_SAMPLE - +Static variable in class org.opencv.ml.Ml +
  +
rowRange(int, int) - +Method in class org.opencv.core.Mat +
  +
rowRange(Range) - +Method in class org.opencv.core.Mat +
  +
rows() - +Method in class org.opencv.core.Mat +
  +
RPROP - +Static variable in class org.opencv.ml.ANN_MLP +
  +
RQDecomp3x3(Mat, Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
RQDecomp3x3(Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
RTrees - Class in org.opencv.ml
 
+
+

+S

+
+
save(String) - +Method in class org.opencv.core.Algorithm +
  +
save(String, String) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
save(String) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
Scalar - Class in org.opencv.core
 
Scalar(double, double, double, double) - +Constructor for class org.opencv.core.Scalar +
  +
Scalar(double, double, double) - +Constructor for class org.opencv.core.Scalar +
  +
Scalar(double, double) - +Constructor for class org.opencv.core.Scalar +
  +
Scalar(double) - +Constructor for class org.opencv.core.Scalar +
  +
Scalar(double[]) - +Constructor for class org.opencv.core.Scalar +
  +
scaleAdd(Mat, double, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
Scharr(Mat, Mat, int, int, int, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
Scharr(Mat, Mat, int, int, int, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
Scharr(Mat, Mat, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
seamlessClone(Mat, Mat, Mat, Point, Mat, int) - +Static method in class org.opencv.photo.Photo +
  +
sepFilter2D(Mat, Mat, int, Mat, Mat, Point, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
sepFilter2D(Mat, Mat, int, Mat, Mat, Point, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
sepFilter2D(Mat, Mat, int, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
set(double[]) - +Method in class org.opencv.core.Point +
  +
set(double[]) - +Method in class org.opencv.core.Point3 +
  +
set(double[]) - +Method in class org.opencv.core.Range +
  +
set(double[]) - +Method in class org.opencv.core.Rect +
  +
set(double[]) - +Method in class org.opencv.core.RotatedRect +
  +
set(double[]) - +Method in class org.opencv.core.Scalar +
  +
set(double[]) - +Method in class org.opencv.core.Size +
  +
set(double[]) - +Method in class org.opencv.core.TermCriteria +
  +
set(int, double) - +Method in class org.opencv.videoio.VideoCapture +
  +
set_controlMatrix(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
set_errorCovPost(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
set_errorCovPre(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
set_gain(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
set_measurementMatrix(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
set_measurementNoiseCov(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
set_processNoiseCov(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
set_statePost(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
set_statePre(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
set_transitionMatrix(Mat) - +Method in class org.opencv.video.KalmanFilter +
  +
setActivationFunction(int, double, double) - +Method in class org.opencv.ml.ANN_MLP +
  +
setActivationFunction(int) - +Method in class org.opencv.ml.ANN_MLP +
  +
setActiveVarCount(int) - +Method in class org.opencv.ml.RTrees +
  +
setAlgorithmType(int) - +Method in class org.opencv.ml.KNearest +
  +
setBackgroundRatio(double) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setBackpropMomentumScale(double) - +Method in class org.opencv.ml.ANN_MLP +
  +
setBackpropWeightScale(double) - +Method in class org.opencv.ml.ANN_MLP +
  +
setBias(float) - +Method in class org.opencv.photo.TonemapDrago +
  +
setBlockSize(int) - +Method in class org.opencv.calib3d.StereoMatcher +
  +
setBoostType(int) - +Method in class org.opencv.ml.Boost +
  +
setC(double) - +Method in class org.opencv.ml.SVM +
  +
setCalculateVarImportance(boolean) - +Method in class org.opencv.ml.RTrees +
  +
setCameraIndex(int) - +Method in class org.opencv.android.CameraBridgeViewBase +
Sets the camera index +
SetCaptureFormat(int) - +Method in class org.opencv.android.CameraBridgeViewBase +
  +
setClassWeights(Mat) - +Method in class org.opencv.ml.SVM +
  +
setClipLimit(double) - +Method in class org.opencv.imgproc.CLAHE +
  +
setClustersNumber(int) - +Method in class org.opencv.ml.EM +
  +
setCoef0(double) - +Method in class org.opencv.ml.SVM +
  +
setColorAdaptation(float) - +Method in class org.opencv.photo.TonemapReinhard +
  +
setComplexityReductionThreshold(double) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setContrast(float) - +Method in class org.opencv.photo.TonemapDurand +
  +
setContrastWeight(float) - +Method in class org.opencv.photo.MergeMertens +
  +
setCovarianceMatrixType(int) - +Method in class org.opencv.ml.EM +
  +
setCut(boolean) - +Method in class org.opencv.photo.AlignMTB +
  +
setCvCameraViewListener(CameraBridgeViewBase.CvCameraViewListener2) - +Method in class org.opencv.android.CameraBridgeViewBase +
  +
setCvCameraViewListener(CameraBridgeViewBase.CvCameraViewListener) - +Method in class org.opencv.android.CameraBridgeViewBase +
  +
setCVFolds(int) - +Method in class org.opencv.ml.DTrees +
  +
setDefaultK(int) - +Method in class org.opencv.ml.KNearest +
  +
setDegree(double) - +Method in class org.opencv.ml.SVM +
  +
setDetectShadows(boolean) - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
setDetectShadows(boolean) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setDisp12MaxDiff(int) - +Method in class org.opencv.calib3d.StereoMatcher +
  +
setDist2Threshold(double) - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
setEmax(int) - +Method in class org.opencv.ml.KNearest +
  +
setErrorVerbosity(boolean) - +Static method in class org.opencv.core.Core +
  +
setExcludeRange(int) - +Method in class org.opencv.photo.AlignMTB +
  +
setExposureWeight(float) - +Method in class org.opencv.photo.MergeMertens +
  +
setGamma(double) - +Method in class org.opencv.ml.SVM +
  +
setGamma(float) - +Method in class org.opencv.photo.Tonemap +
  +
setHistory(int) - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
setHistory(int) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setIdentity(Mat, Scalar) - +Static method in class org.opencv.core.Core +
  +
setIdentity(Mat) - +Static method in class org.opencv.core.Core +
  +
setIntensity(float) - +Method in class org.opencv.photo.TonemapReinhard +
  +
setIsClassifier(boolean) - +Method in class org.opencv.ml.KNearest +
  +
setIterations(int) - +Method in class org.opencv.ml.LogisticRegression +
  +
setKernel(int) - +Method in class org.opencv.ml.SVM +
  +
setkNNSamples(int) - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
setLambda(float) - +Method in class org.opencv.photo.CalibrateDebevec +
  +
setLayerSizes(Mat) - +Method in class org.opencv.ml.ANN_MLP +
  +
setLearningRate(double) - +Method in class org.opencv.ml.LogisticRegression +
  +
setLightAdaptation(float) - +Method in class org.opencv.photo.TonemapReinhard +
  +
setMaxBits(int) - +Method in class org.opencv.photo.AlignMTB +
  +
setMaxCategories(int) - +Method in class org.opencv.ml.DTrees +
  +
setMaxDepth(int) - +Method in class org.opencv.ml.DTrees +
  +
setMaxFrameSize(int, int) - +Method in class org.opencv.android.CameraBridgeViewBase +
This method sets the maximum size that camera frame is allowed to be. +
setMaxIter(int) - +Method in class org.opencv.photo.CalibrateRobertson +
  +
setMinDisparity(int) - +Method in class org.opencv.calib3d.StereoMatcher +
  +
setMiniBatchSize(int) - +Method in class org.opencv.ml.LogisticRegression +
  +
setMinSampleCount(int) - +Method in class org.opencv.ml.DTrees +
  +
setMode(int) - +Method in class org.opencv.calib3d.StereoSGBM +
  +
setNMixtures(int) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setNSamples(int) - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
setNu(double) - +Method in class org.opencv.ml.SVM +
  +
setNumDisparities(int) - +Method in class org.opencv.calib3d.StereoMatcher +
  +
setP(double) - +Method in class org.opencv.ml.SVM +
  +
setP1(int) - +Method in class org.opencv.calib3d.StereoSGBM +
  +
setP2(int) - +Method in class org.opencv.calib3d.StereoSGBM +
  +
setPreFilterCap(int) - +Method in class org.opencv.calib3d.StereoBM +
  +
setPreFilterCap(int) - +Method in class org.opencv.calib3d.StereoSGBM +
  +
setPreFilterSize(int) - +Method in class org.opencv.calib3d.StereoBM +
  +
setPreFilterType(int) - +Method in class org.opencv.calib3d.StereoBM +
  +
setPriors(Mat) - +Method in class org.opencv.ml.DTrees +
  +
setRandom(boolean) - +Method in class org.opencv.photo.CalibrateDebevec +
  +
setRegressionAccuracy(float) - +Method in class org.opencv.ml.DTrees +
  +
setRegularization(int) - +Method in class org.opencv.ml.LogisticRegression +
  +
setResolution(int, int) - +Method in class org.opencv.android.FpsMeter +
  +
setROI1(Rect) - +Method in class org.opencv.calib3d.StereoBM +
  +
setROI2(Rect) - +Method in class org.opencv.calib3d.StereoBM +
  +
setRpropDW0(double) - +Method in class org.opencv.ml.ANN_MLP +
  +
setRpropDWMax(double) - +Method in class org.opencv.ml.ANN_MLP +
  +
setRpropDWMin(double) - +Method in class org.opencv.ml.ANN_MLP +
  +
setRpropDWMinus(double) - +Method in class org.opencv.ml.ANN_MLP +
  +
setRpropDWPlus(double) - +Method in class org.opencv.ml.ANN_MLP +
  +
setSamples(int) - +Method in class org.opencv.photo.CalibrateDebevec +
  +
setSaturation(float) - +Method in class org.opencv.photo.TonemapDrago +
  +
setSaturation(float) - +Method in class org.opencv.photo.TonemapDurand +
  +
setSaturation(float) - +Method in class org.opencv.photo.TonemapMantiuk +
  +
setSaturationWeight(float) - +Method in class org.opencv.photo.MergeMertens +
  +
setScale(float) - +Method in class org.opencv.photo.TonemapMantiuk +
  +
setShadowThreshold(double) - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
setShadowThreshold(double) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setShadowValue(int) - +Method in class org.opencv.video.BackgroundSubtractorKNN +
  +
setShadowValue(int) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setSigmaColor(float) - +Method in class org.opencv.photo.TonemapDurand +
  +
setSigmaSpace(float) - +Method in class org.opencv.photo.TonemapDurand +
  +
setSmallerBlockSize(int) - +Method in class org.opencv.calib3d.StereoBM +
  +
setSpeckleRange(int) - +Method in class org.opencv.calib3d.StereoMatcher +
  +
setSpeckleWindowSize(int) - +Method in class org.opencv.calib3d.StereoMatcher +
  +
setSVMDetector(Mat) - +Method in class org.opencv.objdetect.HOGDescriptor +
  +
setTermCriteria(TermCriteria) - +Method in class org.opencv.ml.ANN_MLP +
  +
setTermCriteria(TermCriteria) - +Method in class org.opencv.ml.EM +
  +
setTermCriteria(TermCriteria) - +Method in class org.opencv.ml.LogisticRegression +
  +
setTermCriteria(TermCriteria) - +Method in class org.opencv.ml.RTrees +
  +
setTermCriteria(TermCriteria) - +Method in class org.opencv.ml.SVM +
  +
setTextureThreshold(int) - +Method in class org.opencv.calib3d.StereoBM +
  +
setThreshold(float) - +Method in class org.opencv.photo.CalibrateRobertson +
  +
setTilesGridSize(Size) - +Method in class org.opencv.imgproc.CLAHE +
  +
setTo(Scalar) - +Method in class org.opencv.core.Mat +
  +
setTo(Scalar, Mat) - +Method in class org.opencv.core.Mat +
  +
setTo(Mat, Mat) - +Method in class org.opencv.core.Mat +
  +
setTo(Mat) - +Method in class org.opencv.core.Mat +
  +
setTrainMethod(int, double, double) - +Method in class org.opencv.ml.ANN_MLP +
  +
setTrainMethod(int) - +Method in class org.opencv.ml.ANN_MLP +
  +
setTrainMethod(int) - +Method in class org.opencv.ml.LogisticRegression +
  +
setTrainTestSplit(int, boolean) - +Method in class org.opencv.ml.TrainData +
  +
setTrainTestSplit(int) - +Method in class org.opencv.ml.TrainData +
  +
setTrainTestSplitRatio(double, boolean) - +Method in class org.opencv.ml.TrainData +
  +
setTrainTestSplitRatio(double) - +Method in class org.opencv.ml.TrainData +
  +
setTruncatePrunedTree(boolean) - +Method in class org.opencv.ml.DTrees +
  +
setType(int) - +Method in class org.opencv.ml.SVM +
  +
setUniquenessRatio(int) - +Method in class org.opencv.calib3d.StereoBM +
  +
setUniquenessRatio(int) - +Method in class org.opencv.calib3d.StereoSGBM +
  +
setUse1SERule(boolean) - +Method in class org.opencv.ml.DTrees +
  +
setUseSurrogates(boolean) - +Method in class org.opencv.ml.DTrees +
  +
setVarInit(double) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setVarMax(double) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setVarMin(double) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setVarThreshold(double) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setVarThresholdGen(double) - +Method in class org.opencv.video.BackgroundSubtractorMOG2 +
  +
setWeakCount(int) - +Method in class org.opencv.ml.Boost +
  +
setWeightTrimRate(double) - +Method in class org.opencv.ml.Boost +
  +
shift(int) - +Method in class org.opencv.core.Range +
  +
shiftMat(Mat, Mat, Point) - +Method in class org.opencv.photo.AlignMTB +
  +
shuffleTrainTest() - +Method in class org.opencv.ml.TrainData +
  +
SIFT - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
SIFT - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
SIGMOID - +Static variable in class org.opencv.ml.SVM +
  +
SIGMOID_SYM - +Static variable in class org.opencv.ml.ANN_MLP +
  +
SIMPLEBLOB - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
size - +Variable in class org.opencv.core.KeyPoint +
Diameter of the useful keypoint adjacent area. +
size() - +Method in class org.opencv.core.Mat +
  +
size() - +Method in class org.opencv.core.Range +
  +
size() - +Method in class org.opencv.core.Rect +
  +
size - +Variable in class org.opencv.core.RotatedRect +
  +
Size - Class in org.opencv.core
 
Size(double, double) - +Constructor for class org.opencv.core.Size +
  +
Size() - +Constructor for class org.opencv.core.Size +
  +
Size(Point) - +Constructor for class org.opencv.core.Size +
  +
Size(double[]) - +Constructor for class org.opencv.core.Size +
  +
Sobel(Mat, Mat, int, int, int, int, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
Sobel(Mat, Mat, int, int, int, int, double, double) - +Static method in class org.opencv.imgproc.Imgproc +
  +
Sobel(Mat, Mat, int, int, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
solve(Mat, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
solve(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
solveCubic(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
solvePnP(MatOfPoint3f, MatOfPoint2f, Mat, MatOfDouble, Mat, Mat, boolean, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
solvePnP(MatOfPoint3f, MatOfPoint2f, Mat, MatOfDouble, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
SOLVEPNP_DLS - +Static variable in class org.opencv.calib3d.Calib3d +
  +
SOLVEPNP_EPNP - +Static variable in class org.opencv.calib3d.Calib3d +
  +
SOLVEPNP_ITERATIVE - +Static variable in class org.opencv.calib3d.Calib3d +
  +
SOLVEPNP_P3P - +Static variable in class org.opencv.calib3d.Calib3d +
  +
SOLVEPNP_UPNP - +Static variable in class org.opencv.calib3d.Calib3d +
  +
solvePnPRansac(MatOfPoint3f, MatOfPoint2f, Mat, MatOfDouble, Mat, Mat, boolean, int, float, double, Mat, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
solvePnPRansac(MatOfPoint3f, MatOfPoint2f, Mat, MatOfDouble, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
solvePoly(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
solvePoly(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
sort(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
SORT_ASCENDING - +Static variable in class org.opencv.core.Core +
  +
SORT_DESCENDING - +Static variable in class org.opencv.core.Core +
  +
SORT_EVERY_COLUMN - +Static variable in class org.opencv.core.Core +
  +
SORT_EVERY_ROW - +Static variable in class org.opencv.core.Core +
  +
sortIdx(Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
split(Mat, List<Mat>) - +Static method in class org.opencv.core.Core +
  +
sqrBoxFilter(Mat, Mat, int, Size, Point, boolean, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
sqrBoxFilter(Mat, Mat, int, Size, Point, boolean) - +Static method in class org.opencv.imgproc.Imgproc +
  +
sqrBoxFilter(Mat, Mat, int, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
sqrt(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
STAR - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
start - +Variable in class org.opencv.core.Range +
  +
START_AUTO_STEP - +Static variable in class org.opencv.ml.EM +
  +
START_E_STEP - +Static variable in class org.opencv.ml.EM +
  +
START_M_STEP - +Static variable in class org.opencv.ml.EM +
  +
StatModel - Class in org.opencv.ml
 
step1(int) - +Method in class org.opencv.core.Mat +
  +
step1() - +Method in class org.opencv.core.Mat +
  +
StereoBM - Class in org.opencv.calib3d
 
stereoCalibrate(List<Mat>, List<Mat>, List<Mat>, Mat, Mat, Mat, Mat, Size, Mat, Mat, Mat, Mat, int, TermCriteria) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoCalibrate(List<Mat>, List<Mat>, List<Mat>, Mat, Mat, Mat, Mat, Size, Mat, Mat, Mat, Mat, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoCalibrate(List<Mat>, List<Mat>, List<Mat>, Mat, Mat, Mat, Mat, Size, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoCalibrate(List<Mat>, List<Mat>, List<Mat>, Mat, Mat, Mat, Mat, Size, Mat, Mat, int, TermCriteria) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoCalibrate(List<Mat>, List<Mat>, List<Mat>, Mat, Mat, Mat, Mat, Size, Mat, Mat, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoCalibrate(List<Mat>, List<Mat>, List<Mat>, Mat, Mat, Mat, Mat, Size, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
StereoMatcher - Class in org.opencv.calib3d
 
stereoRectify(Mat, Mat, Mat, Mat, Size, Mat, Mat, Mat, Mat, Mat, Mat, Mat, int, double, Size, Rect, Rect) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoRectify(Mat, Mat, Mat, Mat, Size, Mat, Mat, Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoRectify(Mat, Mat, Mat, Mat, Size, Mat, Mat, Mat, Mat, Mat, Mat, Mat, int, Size, double, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoRectify(Mat, Mat, Mat, Mat, Size, Mat, Mat, Mat, Mat, Mat, Mat, Mat, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoRectifyUncalibrated(Mat, Mat, Mat, Size, Mat, Mat, double) - +Static method in class org.opencv.calib3d.Calib3d +
  +
stereoRectifyUncalibrated(Mat, Mat, Mat, Size, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
StereoSGBM - Class in org.opencv.calib3d
 
StsAssert - +Static variable in class org.opencv.core.Core +
  +
StsAutoTrace - +Static variable in class org.opencv.core.Core +
  +
StsBackTrace - +Static variable in class org.opencv.core.Core +
  +
StsBadArg - +Static variable in class org.opencv.core.Core +
  +
StsBadFlag - +Static variable in class org.opencv.core.Core +
  +
StsBadFunc - +Static variable in class org.opencv.core.Core +
  +
StsBadMask - +Static variable in class org.opencv.core.Core +
  +
StsBadMemBlock - +Static variable in class org.opencv.core.Core +
  +
StsBadPoint - +Static variable in class org.opencv.core.Core +
  +
StsBadSize - +Static variable in class org.opencv.core.Core +
  +
StsDivByZero - +Static variable in class org.opencv.core.Core +
  +
StsError - +Static variable in class org.opencv.core.Core +
  +
StsFilterOffsetErr - +Static variable in class org.opencv.core.Core +
  +
StsFilterStructContentErr - +Static variable in class org.opencv.core.Core +
  +
StsInplaceNotSupported - +Static variable in class org.opencv.core.Core +
  +
StsInternal - +Static variable in class org.opencv.core.Core +
  +
StsKernelStructContentErr - +Static variable in class org.opencv.core.Core +
  +
StsNoConv - +Static variable in class org.opencv.core.Core +
  +
StsNoMem - +Static variable in class org.opencv.core.Core +
  +
StsNotImplemented - +Static variable in class org.opencv.core.Core +
  +
StsNullPtr - +Static variable in class org.opencv.core.Core +
  +
StsObjectNotFound - +Static variable in class org.opencv.core.Core +
  +
StsOk - +Static variable in class org.opencv.core.Core +
  +
StsOutOfRange - +Static variable in class org.opencv.core.Core +
  +
StsParseError - +Static variable in class org.opencv.core.Core +
  +
StsUnmatchedFormats - +Static variable in class org.opencv.core.Core +
  +
StsUnmatchedSizes - +Static variable in class org.opencv.core.Core +
  +
StsUnsupportedFormat - +Static variable in class org.opencv.core.Core +
  +
StsVecLengthErr - +Static variable in class org.opencv.core.Core +
  +
stylization(Mat, Mat, float, float) - +Static method in class org.opencv.photo.Photo +
  +
stylization(Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
Subdiv2D - Class in org.opencv.imgproc
 
Subdiv2D() - +Constructor for class org.opencv.imgproc.Subdiv2D +
  +
Subdiv2D(Rect) - +Constructor for class org.opencv.imgproc.Subdiv2D +
  +
submat(int, int, int, int) - +Method in class org.opencv.core.Mat +
  +
submat(Range, Range) - +Method in class org.opencv.core.Mat +
  +
submat(Rect) - +Method in class org.opencv.core.Mat +
  +
subtract(Mat, Mat, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
subtract(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
subtract(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
subtract(Mat, Scalar, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
subtract(Mat, Scalar, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
subtract(Mat, Scalar, Mat) - +Static method in class org.opencv.core.Core +
  +
SUCCESS - +Static variable in interface org.opencv.android.LoaderCallbackInterface +
OpenCV initialization finished successfully. +
sumElems(Mat) - +Static method in class org.opencv.core.Core +
  +
SURF - +Static variable in class org.opencv.features2d.DescriptorExtractor +
  +
SURF - +Static variable in class org.opencv.features2d.FeatureDetector +
  +
surfaceChanged(SurfaceHolder, int, int, int) - +Method in class org.opencv.android.CameraBridgeViewBase +
  +
surfaceCreated(SurfaceHolder) - +Method in class org.opencv.android.CameraBridgeViewBase +
  +
surfaceDestroyed(SurfaceHolder) - +Method in class org.opencv.android.CameraBridgeViewBase +
  +
SVBackSubst(Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
SVD_FULL_UV - +Static variable in class org.opencv.core.Core +
  +
SVD_MODIFY_A - +Static variable in class org.opencv.core.Core +
  +
SVD_NO_UV - +Static variable in class org.opencv.core.Core +
  +
SVDecomp(Mat, Mat, Mat, Mat, int) - +Static method in class org.opencv.core.Core +
  +
SVDecomp(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
SVM - Class in org.opencv.ml
 
symEdge(int) - +Method in class org.opencv.imgproc.Subdiv2D +
  +
+
+

+T

+
+
t() - +Method in class org.opencv.core.Mat +
  +
TermCriteria - Class in org.opencv.core
 
TermCriteria(int, int, double) - +Constructor for class org.opencv.core.TermCriteria +
Termination criteria for iterative algorithms. +
TermCriteria() - +Constructor for class org.opencv.core.TermCriteria +
Termination criteria for iterative algorithms. +
TermCriteria(double[]) - +Constructor for class org.opencv.core.TermCriteria +
  +
TEST_ERROR - +Static variable in class org.opencv.ml.Ml +
  +
textureFlattening(Mat, Mat, Mat, float, float, int) - +Static method in class org.opencv.photo.Photo +
  +
textureFlattening(Mat, Mat, Mat) - +Static method in class org.opencv.photo.Photo +
  +
THRESH_BINARY - +Static variable in class org.opencv.imgproc.Imgproc +
  +
THRESH_BINARY_INV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
THRESH_MASK - +Static variable in class org.opencv.imgproc.Imgproc +
  +
THRESH_OTSU - +Static variable in class org.opencv.imgproc.Imgproc +
  +
THRESH_TOZERO - +Static variable in class org.opencv.imgproc.Imgproc +
  +
THRESH_TOZERO_INV - +Static variable in class org.opencv.imgproc.Imgproc +
  +
THRESH_TRIANGLE - +Static variable in class org.opencv.imgproc.Imgproc +
  +
THRESH_TRUNC - +Static variable in class org.opencv.imgproc.Imgproc +
  +
threshold(Mat, Mat, double, double, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
tl() - +Method in class org.opencv.core.Rect +
  +
TM_CCOEFF - +Static variable in class org.opencv.imgproc.Imgproc +
  +
TM_CCOEFF_NORMED - +Static variable in class org.opencv.imgproc.Imgproc +
  +
TM_CCORR - +Static variable in class org.opencv.imgproc.Imgproc +
  +
TM_CCORR_NORMED - +Static variable in class org.opencv.imgproc.Imgproc +
  +
TM_SQDIFF - +Static variable in class org.opencv.imgproc.Imgproc +
  +
TM_SQDIFF_NORMED - +Static variable in class org.opencv.imgproc.Imgproc +
  +
toArray() - +Method in class org.opencv.core.MatOfByte +
  +
toArray() - +Method in class org.opencv.core.MatOfDMatch +
  +
toArray() - +Method in class org.opencv.core.MatOfDouble +
  +
toArray() - +Method in class org.opencv.core.MatOfFloat +
  +
toArray() - +Method in class org.opencv.core.MatOfFloat4 +
  +
toArray() - +Method in class org.opencv.core.MatOfFloat6 +
  +
toArray() - +Method in class org.opencv.core.MatOfInt +
  +
toArray() - +Method in class org.opencv.core.MatOfInt4 +
  +
toArray() - +Method in class org.opencv.core.MatOfKeyPoint +
  +
toArray() - +Method in class org.opencv.core.MatOfPoint +
  +
toArray() - +Method in class org.opencv.core.MatOfPoint2f +
  +
toArray() - +Method in class org.opencv.core.MatOfPoint3 +
  +
toArray() - +Method in class org.opencv.core.MatOfPoint3f +
  +
toArray() - +Method in class org.opencv.core.MatOfRect +
  +
toList() - +Method in class org.opencv.core.MatOfByte +
  +
toList() - +Method in class org.opencv.core.MatOfDMatch +
  +
toList() - +Method in class org.opencv.core.MatOfDouble +
  +
toList() - +Method in class org.opencv.core.MatOfFloat +
  +
toList() - +Method in class org.opencv.core.MatOfFloat4 +
  +
toList() - +Method in class org.opencv.core.MatOfFloat6 +
  +
toList() - +Method in class org.opencv.core.MatOfInt +
  +
toList() - +Method in class org.opencv.core.MatOfInt4 +
  +
toList() - +Method in class org.opencv.core.MatOfKeyPoint +
  +
toList() - +Method in class org.opencv.core.MatOfPoint +
  +
toList() - +Method in class org.opencv.core.MatOfPoint2f +
  +
toList() - +Method in class org.opencv.core.MatOfPoint3 +
  +
toList() - +Method in class org.opencv.core.MatOfPoint3f +
  +
toList() - +Method in class org.opencv.core.MatOfRect +
  +
Tonemap - Class in org.opencv.photo
 
TonemapDrago - Class in org.opencv.photo
 
TonemapDurand - Class in org.opencv.photo
 
TonemapMantiuk - Class in org.opencv.photo
 
TonemapReinhard - Class in org.opencv.photo
 
toString() - +Method in exception org.opencv.core.CvException +
  +
toString() - +Method in class org.opencv.core.DMatch +
  +
toString() - +Method in class org.opencv.core.KeyPoint +
  +
toString() - +Method in class org.opencv.core.Mat +
  +
toString() - +Method in class org.opencv.core.Point +
  +
toString() - +Method in class org.opencv.core.Point3 +
  +
toString() - +Method in class org.opencv.core.Range +
  +
toString() - +Method in class org.opencv.core.Rect +
  +
toString() - +Method in class org.opencv.core.RotatedRect +
  +
toString() - +Method in class org.opencv.core.Scalar +
  +
toString() - +Method in class org.opencv.core.Size +
  +
toString() - +Method in class org.opencv.core.TermCriteria +
  +
total() - +Method in class org.opencv.core.Mat +
  +
trace(Mat) - +Static method in class org.opencv.core.Core +
  +
train() - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
train(Mat, int, Mat) - +Method in class org.opencv.ml.StatModel +
  +
TRAIN_ERROR - +Static variable in class org.opencv.ml.Ml +
  +
TrainData - Class in org.opencv.ml
 
trainE(Mat, Mat, Mat, Mat, Mat, Mat, Mat) - +Method in class org.opencv.ml.EM +
  +
trainE(Mat, Mat) - +Method in class org.opencv.ml.EM +
  +
trainEM(Mat, Mat, Mat, Mat) - +Method in class org.opencv.ml.EM +
  +
trainEM(Mat) - +Method in class org.opencv.ml.EM +
  +
trainIdx - +Variable in class org.opencv.core.DMatch +
Train descriptor index. +
trainM(Mat, Mat, Mat, Mat, Mat) - +Method in class org.opencv.ml.EM +
  +
trainM(Mat, Mat) - +Method in class org.opencv.ml.EM +
  +
transform(Mat, Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
transpose(Mat, Mat) - +Static method in class org.opencv.core.Core +
  +
triangulatePoints(Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
type() - +Method in class org.opencv.core.Mat +
  +
type - +Variable in class org.opencv.core.TermCriteria +
  +
typeToString(int) - +Static method in class org.opencv.core.CvType +
  +
+
+

+U

+
+
undistort(Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
undistort(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
undistortImage(Mat, Mat, Mat, Mat, Mat, Size) - +Static method in class org.opencv.calib3d.Calib3d +
  +
undistortImage(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
undistortPoints(Mat, Mat, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
undistortPoints(Mat, Mat, Mat, Mat) - +Static method in class org.opencv.calib3d.Calib3d +
  +
undistortPoints(MatOfPoint2f, MatOfPoint2f, Mat, Mat, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
undistortPoints(MatOfPoint2f, MatOfPoint2f, Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
UPDATE_MODEL - +Static variable in class org.opencv.ml.StatModel +
  +
UPDATE_WEIGHTS - +Static variable in class org.opencv.ml.ANN_MLP +
  +
Utils - Class in org.opencv.android
 
Utils() - +Constructor for class org.opencv.android.Utils +
  +
+
+

+V

+
+
val - +Variable in class org.opencv.core.Scalar +
  +
validateDisparity(Mat, Mat, int, int, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
validateDisparity(Mat, Mat, int, int) - +Static method in class org.opencv.calib3d.Calib3d +
  +
VAR_CATEGORICAL - +Static variable in class org.opencv.ml.Ml +
  +
VAR_NUMERICAL - +Static variable in class org.opencv.ml.Ml +
  +
VAR_ORDERED - +Static variable in class org.opencv.ml.Ml +
  +
vconcat(List<Mat>, Mat) - +Static method in class org.opencv.core.Core +
  +
vector_char_to_Mat(List<Byte>) - +Static method in class org.opencv.utils.Converters +
  +
vector_DMatch_to_Mat(List<DMatch>) - +Static method in class org.opencv.utils.Converters +
  +
vector_double_to_Mat(List<Double>) - +Static method in class org.opencv.utils.Converters +
  +
vector_float_to_Mat(List<Float>) - +Static method in class org.opencv.utils.Converters +
  +
vector_int_to_Mat(List<Integer>) - +Static method in class org.opencv.utils.Converters +
  +
vector_KeyPoint_to_Mat(List<KeyPoint>) - +Static method in class org.opencv.utils.Converters +
  +
vector_Mat_to_Mat(List<Mat>) - +Static method in class org.opencv.utils.Converters +
  +
vector_Point2d_to_Mat(List<Point>) - +Static method in class org.opencv.utils.Converters +
  +
vector_Point2f_to_Mat(List<Point>) - +Static method in class org.opencv.utils.Converters +
  +
vector_Point3_to_Mat(List<Point3>, int) - +Static method in class org.opencv.utils.Converters +
  +
vector_Point3d_to_Mat(List<Point3>) - +Static method in class org.opencv.utils.Converters +
  +
vector_Point3f_to_Mat(List<Point3>) - +Static method in class org.opencv.utils.Converters +
  +
vector_Point3i_to_Mat(List<Point3>) - +Static method in class org.opencv.utils.Converters +
  +
vector_Point_to_Mat(List<Point>) - +Static method in class org.opencv.utils.Converters +
  +
vector_Point_to_Mat(List<Point>, int) - +Static method in class org.opencv.utils.Converters +
  +
vector_Rect_to_Mat(List<Rect>) - +Static method in class org.opencv.utils.Converters +
  +
vector_uchar_to_Mat(List<Byte>) - +Static method in class org.opencv.utils.Converters +
  +
vector_vector_char_to_Mat(List<MatOfByte>, List<Mat>) - +Static method in class org.opencv.utils.Converters +
  +
vector_vector_DMatch_to_Mat(List<MatOfDMatch>, List<Mat>) - +Static method in class org.opencv.utils.Converters +
  +
vector_vector_KeyPoint_to_Mat(List<MatOfKeyPoint>, List<Mat>) - +Static method in class org.opencv.utils.Converters +
  +
vector_vector_Point2f_to_Mat(List<MatOfPoint2f>, List<Mat>) - +Static method in class org.opencv.utils.Converters +
  +
vector_vector_Point3f_to_Mat(List<MatOfPoint3f>, List<Mat>) - +Static method in class org.opencv.utils.Converters +
  +
vector_vector_Point_to_Mat(List<MatOfPoint>, List<Mat>) - +Static method in class org.opencv.utils.Converters +
  +
VERSION - +Static variable in class org.opencv.core.Core +
  +
VERSION_MAJOR - +Static variable in class org.opencv.core.Core +
  +
VERSION_MINOR - +Static variable in class org.opencv.core.Core +
  +
VERSION_REVISION - +Static variable in class org.opencv.core.Core +
  +
VERSION_STATUS - +Static variable in class org.opencv.core.Core +
  +
Video - Class in org.opencv.video
 
Video() - +Constructor for class org.opencv.video.Video +
  +
VideoCapture - Class in org.opencv.videoio
 
VideoCapture() - +Constructor for class org.opencv.videoio.VideoCapture +
  +
VideoCapture(String) - +Constructor for class org.opencv.videoio.VideoCapture +
  +
VideoCapture(int) - +Constructor for class org.opencv.videoio.VideoCapture +
  +
Videoio - Class in org.opencv.videoio
 
Videoio() - +Constructor for class org.opencv.videoio.Videoio +
  +
VIDEOWRITER_PROP_FRAMEBYTES - +Static variable in class org.opencv.videoio.Videoio +
  +
VIDEOWRITER_PROP_QUALITY - +Static variable in class org.opencv.videoio.Videoio +
  +
+
+

+W

+
+
wait_install() - +Method in interface org.opencv.android.InstallCallbackInterface +
Wait for package installation. +
WARP_FILL_OUTLIERS - +Static variable in class org.opencv.imgproc.Imgproc +
  +
WARP_INVERSE_MAP - +Static variable in class org.opencv.imgproc.Imgproc +
  +
warpAffine(Mat, Mat, Mat, Size, int, int, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
warpAffine(Mat, Mat, Mat, Size, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
warpAffine(Mat, Mat, Mat, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
warpPerspective(Mat, Mat, Mat, Size, int, int, Scalar) - +Static method in class org.opencv.imgproc.Imgproc +
  +
warpPerspective(Mat, Mat, Mat, Size, int) - +Static method in class org.opencv.imgproc.Imgproc +
  +
warpPerspective(Mat, Mat, Mat, Size) - +Static method in class org.opencv.imgproc.Imgproc +
  +
watershed(Mat, Mat) - +Static method in class org.opencv.imgproc.Imgproc +
  +
width() - +Method in class org.opencv.core.Mat +
  +
width - +Variable in class org.opencv.core.Rect +
  +
width - +Variable in class org.opencv.core.Size +
  +
write(String) - +Method in class org.opencv.features2d.DescriptorExtractor +
  +
write(String) - +Method in class org.opencv.features2d.DescriptorMatcher +
  +
write(String) - +Method in class org.opencv.features2d.FeatureDetector +
  +
+
+

+X

+
+
x - +Variable in class org.opencv.core.Point +
  +
x - +Variable in class org.opencv.core.Point3 +
  +
x - +Variable in class org.opencv.core.Rect +
  +
+
+

+Y

+
+
y - +Variable in class org.opencv.core.Point +
  +
y - +Variable in class org.opencv.core.Point3 +
  +
y - +Variable in class org.opencv.core.Rect +
  +
+
+

+Z

+
+
z - +Variable in class org.opencv.core.Point3 +
  +
zeros(int, int, int) - +Static method in class org.opencv.core.Mat +
  +
zeros(Size, int) - +Static method in class org.opencv.core.Mat +
  +
+
+A B C D E F G H I J K L M N O P Q R S T U V W X Y Z + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/index.html b/opencv3/javadoc/index.html new file mode 100644 index 0000000..c3fb5a6 --- /dev/null +++ b/opencv3/javadoc/index.html @@ -0,0 +1,73 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + diff --git a/opencv3/javadoc/org/opencv/android/BaseLoaderCallback.html b/opencv3/javadoc/org/opencv/android/BaseLoaderCallback.html new file mode 100644 index 0000000..3165510 --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/BaseLoaderCallback.html @@ -0,0 +1,306 @@ + + + + + + +BaseLoaderCallback + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Class BaseLoaderCallback

+
+java.lang.Object
+  extended by org.opencv.android.BaseLoaderCallback
+
+
+
All Implemented Interfaces:
LoaderCallbackInterface
+
+
+
+
public abstract class BaseLoaderCallback
extends java.lang.Object
implements LoaderCallbackInterface
+ + +

+Basic implementation of LoaderCallbackInterface. +

+ +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface org.opencv.android.LoaderCallbackInterface
INCOMPATIBLE_MANAGER_VERSION, INIT_FAILED, INSTALL_CANCELED, MARKET_ERROR, SUCCESS
+  + + + + + + + + + + +
+Constructor Summary
BaseLoaderCallback(android.content.Context AppContext) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidonManagerConnected(int status) + +
+          Callback method, called after OpenCV library initialization.
+ voidonPackageInstall(int operation, + InstallCallbackInterface callback) + +
+          Callback method, called in case the package installation is needed.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+BaseLoaderCallback

+
+public BaseLoaderCallback(android.content.Context AppContext)
+
+
+ + + + + + + + +
+Method Detail
+ +

+onManagerConnected

+
+public void onManagerConnected(int status)
+
+
Description copied from interface: LoaderCallbackInterface
+
Callback method, called after OpenCV library initialization. +

+

+
Specified by:
onManagerConnected in interface LoaderCallbackInterface
+
+
+
Parameters:
status - status of initialization (see initialization status constants).
+
+
+
+ +

+onPackageInstall

+
+public void onPackageInstall(int operation,
+                             InstallCallbackInterface callback)
+
+
Description copied from interface: LoaderCallbackInterface
+
Callback method, called in case the package installation is needed. +

+

+
Specified by:
onPackageInstall in interface LoaderCallbackInterface
+
+
+
callback - answer object with approve and cancel methods and the package description.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.CvCameraViewFrame.html b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.CvCameraViewFrame.html new file mode 100644 index 0000000..c8bdcba --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.CvCameraViewFrame.html @@ -0,0 +1,233 @@ + + + + + + +CameraBridgeViewBase.CvCameraViewFrame + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Interface CameraBridgeViewBase.CvCameraViewFrame

+
+
Enclosing class:
CameraBridgeViewBase
+
+
+
+
public static interface CameraBridgeViewBase.CvCameraViewFrame
+ + +

+This class interface is abstract representation of single frame from camera for onCameraFrame callback + Attention: Do not use objects, that represents this interface out of onCameraFrame callback! +

+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ Matgray() + +
+          This method returns single channel gray scale Mat with frame
+ Matrgba() + +
+          This method returns RGBA Mat with frame
+  +

+ + + + + + + + +
+Method Detail
+ +

+gray

+
+Mat gray()
+
+
This method returns single channel gray scale Mat with frame +

+

+
+
+
+
+ +

+rgba

+
+Mat rgba()
+
+
This method returns RGBA Mat with frame +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.CvCameraViewListener.html b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.CvCameraViewListener.html new file mode 100644 index 0000000..bf06ecf --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.CvCameraViewListener.html @@ -0,0 +1,255 @@ + + + + + + +CameraBridgeViewBase.CvCameraViewListener + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Interface CameraBridgeViewBase.CvCameraViewListener

+
+
Enclosing class:
CameraBridgeViewBase
+
+
+
+
public static interface CameraBridgeViewBase.CvCameraViewListener
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ MatonCameraFrame(Mat inputFrame) + +
+          This method is invoked when delivery of the frame needs to be done.
+ voidonCameraViewStarted(int width, + int height) + +
+          This method is invoked when camera preview has started.
+ voidonCameraViewStopped() + +
+          This method is invoked when camera preview has been stopped for some reason.
+  +

+ + + + + + + + +
+Method Detail
+ +

+onCameraFrame

+
+Mat onCameraFrame(Mat inputFrame)
+
+
This method is invoked when delivery of the frame needs to be done. + The returned values - is a modified frame which needs to be displayed on the screen. + TODO: pass the parameters specifying the format of the frame (BPP, YUV or RGB and etc) +

+

+
+
+
+
+ +

+onCameraViewStarted

+
+void onCameraViewStarted(int width,
+                         int height)
+
+
This method is invoked when camera preview has started. After this method is invoked + the frames will start to be delivered to client via the onCameraFrame() callback. +

+

+
Parameters:
width - - the width of the frames that will be delivered
height - - the height of the frames that will be delivered
+
+
+
+ +

+onCameraViewStopped

+
+void onCameraViewStopped()
+
+
This method is invoked when camera preview has been stopped for some reason. + No frames will be delivered via onCameraFrame() callback after this method is called. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.CvCameraViewListener2.html b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.CvCameraViewListener2.html new file mode 100644 index 0000000..6c31757 --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.CvCameraViewListener2.html @@ -0,0 +1,255 @@ + + + + + + +CameraBridgeViewBase.CvCameraViewListener2 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Interface CameraBridgeViewBase.CvCameraViewListener2

+
+
Enclosing class:
CameraBridgeViewBase
+
+
+
+
public static interface CameraBridgeViewBase.CvCameraViewListener2
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ MatonCameraFrame(CameraBridgeViewBase.CvCameraViewFrame inputFrame) + +
+          This method is invoked when delivery of the frame needs to be done.
+ voidonCameraViewStarted(int width, + int height) + +
+          This method is invoked when camera preview has started.
+ voidonCameraViewStopped() + +
+          This method is invoked when camera preview has been stopped for some reason.
+  +

+ + + + + + + + +
+Method Detail
+ +

+onCameraFrame

+
+Mat onCameraFrame(CameraBridgeViewBase.CvCameraViewFrame inputFrame)
+
+
This method is invoked when delivery of the frame needs to be done. + The returned values - is a modified frame which needs to be displayed on the screen. + TODO: pass the parameters specifying the format of the frame (BPP, YUV or RGB and etc) +

+

+
+
+
+
+ +

+onCameraViewStarted

+
+void onCameraViewStarted(int width,
+                         int height)
+
+
This method is invoked when camera preview has started. After this method is invoked + the frames will start to be delivered to client via the onCameraFrame() callback. +

+

+
Parameters:
width - - the width of the frames that will be delivered
height - - the height of the frames that will be delivered
+
+
+
+ +

+onCameraViewStopped

+
+void onCameraViewStopped()
+
+
This method is invoked when camera preview has been stopped for some reason. + No frames will be delivered via onCameraFrame() callback after this method is called. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.ListItemAccessor.html b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.ListItemAccessor.html new file mode 100644 index 0000000..bd47641 --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.ListItemAccessor.html @@ -0,0 +1,227 @@ + + + + + + +CameraBridgeViewBase.ListItemAccessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Interface CameraBridgeViewBase.ListItemAccessor

+
+
All Known Implementing Classes:
JavaCameraView.JavaCameraSizeAccessor
+
+
+
Enclosing class:
CameraBridgeViewBase
+
+
+
+
public static interface CameraBridgeViewBase.ListItemAccessor
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ intgetHeight(java.lang.Object obj) + +
+           
+ intgetWidth(java.lang.Object obj) + +
+           
+  +

+ + + + + + + + +
+Method Detail
+ +

+getHeight

+
+int getHeight(java.lang.Object obj)
+
+
+
+
+
+
+ +

+getWidth

+
+int getWidth(java.lang.Object obj)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.html b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.html new file mode 100644 index 0000000..cd9345d --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/CameraBridgeViewBase.html @@ -0,0 +1,739 @@ + + + + + + +CameraBridgeViewBase + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Class CameraBridgeViewBase

+
+java.lang.Object
+  extended by android.view.View
+      extended by android.view.SurfaceView
+          extended by org.opencv.android.CameraBridgeViewBase
+
+
+
All Implemented Interfaces:
android.graphics.drawable.Drawable.Callback, android.view.accessibility.AccessibilityEventSource, android.view.KeyEvent.Callback, android.view.SurfaceHolder.Callback
+
+
+
Direct Known Subclasses:
JavaCameraView
+
+
+
+
public abstract class CameraBridgeViewBase
extends android.view.SurfaceView
implements android.view.SurfaceHolder.Callback
+ + +

+This is a basic class, implementing the interaction with Camera and OpenCV library. + The main responsibility of it - is to control when camera can be enabled, process the frame, + call external listener to make any adjustments to the frame and then draw the resulting + frame to the screen. + The clients shall implement CvCameraViewListener. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Nested Class Summary
+static interfaceCameraBridgeViewBase.CvCameraViewFrame + +
+          This class interface is abstract representation of single frame from camera for onCameraFrame callback + Attention: Do not use objects, that represents this interface out of onCameraFrame callback!
+static interfaceCameraBridgeViewBase.CvCameraViewListener + +
+           
+static interfaceCameraBridgeViewBase.CvCameraViewListener2 + +
+           
+static interfaceCameraBridgeViewBase.ListItemAccessor + +
+           
+ + + + + + + +
Nested classes/interfaces inherited from class android.view.View
android.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCAMERA_ID_ANY + +
+           
+static intCAMERA_ID_BACK + +
+           
+static intCAMERA_ID_FRONT + +
+           
+static intGRAY + +
+           
+static intRGBA + +
+           
+ + + + + + + +
Fields inherited from class android.view.View
ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VISIBLE, X, Y, Z
+  + + + + + + + + + + + + + +
+Constructor Summary
CameraBridgeViewBase(android.content.Context context, + android.util.AttributeSet attrs) + +
+           
CameraBridgeViewBase(android.content.Context context, + int cameraId) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddisableFpsMeter() + +
+           
+ voiddisableView() + +
+          This method is provided for clients, so they can disable camera connection and stop + the delivery of frames even though the surface view itself is not destroyed and still stays on the scren
+ voidenableFpsMeter() + +
+          This method enables label with fps value on the screen
+ voidenableView() + +
+          This method is provided for clients, so they can enable the camera connection.
+ voidsetCameraIndex(int cameraIndex) + +
+          Sets the camera index
+ voidSetCaptureFormat(int format) + +
+           
+ voidsetCvCameraViewListener(CameraBridgeViewBase.CvCameraViewListener listener) + +
+           
+ voidsetCvCameraViewListener(CameraBridgeViewBase.CvCameraViewListener2 listener) + +
+           
+ voidsetMaxFrameSize(int maxWidth, + int maxHeight) + +
+          This method sets the maximum size that camera frame is allowed to be.
+ voidsurfaceChanged(android.view.SurfaceHolder arg0, + int arg1, + int arg2, + int arg3) + +
+           
+ voidsurfaceCreated(android.view.SurfaceHolder holder) + +
+           
+ voidsurfaceDestroyed(android.view.SurfaceHolder holder) + +
+           
+ + + + + + + +
Methods inherited from class android.view.SurfaceView
draw, gatherTransparentRegion, getHolder, setSecure, setVisibility, setZOrderMediaOverlay, setZOrderOnTop
+ + + + + + + +
Methods inherited from class android.view.View
addChildrenForAccessibility, addFocusables, addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addTouchables, animate, announceForAccessibility, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearFocus, combineMeasuredStates, computeScroll, computeSystemWindowInsets, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchApplyWindowInsets, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDrawableHotspotChanged, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawableHotspotChanged, findFocus, findViewById, findViewsWithText, findViewWithTag, focusSearch, forceLayout, generateViewId, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getApplicationWindowToken, getBackground, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getCameraDistance, getClipBounds, getClipToOutline, getContentDescription, getContext, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getId, getImportantForAccessibility, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineProvider, getOverlay, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getResources, getRight, getRootView, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getStateListAnimator, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTop, getTouchables, getTouchDelegate, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowId, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasFocus, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOverlappingRendering, hasTransientState, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isActivated, isAttachedToWindow, isClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isInEditMode, isInLayout, isInTouchMode, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, jumpDrawablesToCurrentState, layout, measure, offsetLeftAndRight, offsetTopAndBottom, onApplyWindowInsets, onCancelPendingInputEvents, onCheckIsTextEditor, onCreateInputConnection, onDragEvent, onFilterTouchEventForSecurity, onFinishTemporaryDetach, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onPopulateAccessibilityEvent, onRtlPropertiesChanged, onScreenStateChanged, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, performAccessibilityAction, performClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityLiveRegion, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAlpha, setAnimation, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentDescription, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusableInTouchMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setKeepScreenOn, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineProvider, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPressed, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateListAnimator, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTop, setTouchDelegate, setTransitionName, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, startActionMode, startAnimation, startDrag, startNestedScroll, stopNestedScroll, toString, unscheduleDrawable, unscheduleDrawable, willNotCacheDrawing, willNotDraw
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CAMERA_ID_ANY

+
+public static final int CAMERA_ID_ANY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAMERA_ID_BACK

+
+public static final int CAMERA_ID_BACK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAMERA_ID_FRONT

+
+public static final int CAMERA_ID_FRONT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRAY

+
+public static final int GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RGBA

+
+public static final int RGBA
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+CameraBridgeViewBase

+
+public CameraBridgeViewBase(android.content.Context context,
+                            android.util.AttributeSet attrs)
+
+
+
+ +

+CameraBridgeViewBase

+
+public CameraBridgeViewBase(android.content.Context context,
+                            int cameraId)
+
+
+ + + + + + + + +
+Method Detail
+ +

+disableFpsMeter

+
+public void disableFpsMeter()
+
+
+
+
+
+
+
+
+
+ +

+disableView

+
+public void disableView()
+
+
This method is provided for clients, so they can disable camera connection and stop + the delivery of frames even though the surface view itself is not destroyed and still stays on the scren +

+

+
+
+
+
+
+
+
+ +

+enableFpsMeter

+
+public void enableFpsMeter()
+
+
This method enables label with fps value on the screen +

+

+
+
+
+
+
+
+
+ +

+enableView

+
+public void enableView()
+
+
This method is provided for clients, so they can enable the camera connection. + The actual onCameraViewStarted callback will be delivered only after both this method is called and surface is available +

+

+
+
+
+
+
+
+
+ +

+setCameraIndex

+
+public void setCameraIndex(int cameraIndex)
+
+
Sets the camera index +

+

+
+
+
+
Parameters:
cameraIndex - new camera index
+
+
+
+ +

+SetCaptureFormat

+
+public void SetCaptureFormat(int format)
+
+
+
+
+
+
+
+
+
+ +

+setCvCameraViewListener

+
+public void setCvCameraViewListener(CameraBridgeViewBase.CvCameraViewListener listener)
+
+
+
+
+
+
+
+
+
+ +

+setCvCameraViewListener

+
+public void setCvCameraViewListener(CameraBridgeViewBase.CvCameraViewListener2 listener)
+
+
+
+
+
+
Parameters:
listener -
+
+
+
+ +

+setMaxFrameSize

+
+public void setMaxFrameSize(int maxWidth,
+                            int maxHeight)
+
+
This method sets the maximum size that camera frame is allowed to be. When selecting + size - the biggest size which less or equal the size set will be selected. + As an example - we set setMaxFrameSize(200,200) and we have 176x152 and 320x240 sizes. The + preview frame will be selected with 176x152 size. + This method is useful when need to restrict the size of preview frame for some reason (for example for video recording) +

+

+
+
+
+
Parameters:
maxWidth - - the maximum width allowed for camera frame.
maxHeight - - the maximum height allowed for camera frame
+
+
+
+ +

+surfaceChanged

+
+public void surfaceChanged(android.view.SurfaceHolder arg0,
+                           int arg1,
+                           int arg2,
+                           int arg3)
+
+
+
Specified by:
surfaceChanged in interface android.view.SurfaceHolder.Callback
+
+
+
+
+
+
+ +

+surfaceCreated

+
+public void surfaceCreated(android.view.SurfaceHolder holder)
+
+
+
Specified by:
surfaceCreated in interface android.view.SurfaceHolder.Callback
+
+
+
+
+
+
+ +

+surfaceDestroyed

+
+public void surfaceDestroyed(android.view.SurfaceHolder holder)
+
+
+
Specified by:
surfaceDestroyed in interface android.view.SurfaceHolder.Callback
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/FpsMeter.html b/opencv3/javadoc/org/opencv/android/FpsMeter.html new file mode 100644 index 0000000..8d6f2a0 --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/FpsMeter.html @@ -0,0 +1,311 @@ + + + + + + +FpsMeter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Class FpsMeter

+
+java.lang.Object
+  extended by org.opencv.android.FpsMeter
+
+
+
+
public class FpsMeter
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
FpsMeter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddraw(android.graphics.Canvas canvas, + float offsetx, + float offsety) + +
+           
+ voidinit() + +
+           
+ voidmeasure() + +
+           
+ voidsetResolution(int width, + int height) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+FpsMeter

+
+public FpsMeter()
+
+
+ + + + + + + + +
+Method Detail
+ +

+draw

+
+public void draw(android.graphics.Canvas canvas,
+                 float offsetx,
+                 float offsety)
+
+
+
+
+
+
+ +

+init

+
+public void init()
+
+
+
+
+
+
+ +

+measure

+
+public void measure()
+
+
+
+
+
+
+ +

+setResolution

+
+public void setResolution(int width,
+                          int height)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/InstallCallbackInterface.html b/opencv3/javadoc/org/opencv/android/InstallCallbackInterface.html new file mode 100644 index 0000000..6887212 --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/InstallCallbackInterface.html @@ -0,0 +1,330 @@ + + + + + + +InstallCallbackInterface + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Interface InstallCallbackInterface

+
+
+
public interface InstallCallbackInterface
+ + +

+Installation callback interface. +

+ +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intINSTALLATION_PROGRESS + +
+          Current package installation is in progress.
+static intNEW_INSTALLATION + +
+          New package installation is required.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcancel() + +
+          Installation is canceled.
+ java.lang.StringgetPackageName() + +
+          Target package name.
+ voidinstall() + +
+          Installation is approved.
+ voidwait_install() + +
+          Wait for package installation.
+  +

+ + + + + + + + +
+Field Detail
+ +

+INSTALLATION_PROGRESS

+
+static final int INSTALLATION_PROGRESS
+
+
Current package installation is in progress. +

+

+
See Also:
Constant Field Values
+
+
+ +

+NEW_INSTALLATION

+
+static final int NEW_INSTALLATION
+
+
New package installation is required. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+cancel

+
+void cancel()
+
+
Installation is canceled. +

+

+
+
+
+
+ +

+getPackageName

+
+java.lang.String getPackageName()
+
+
Target package name. +

+

+ +
Returns:
Return target package name.
+
+
+
+ +

+install

+
+void install()
+
+
Installation is approved. +

+

+
+
+
+
+ +

+wait_install

+
+void wait_install()
+
+
Wait for package installation. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/JavaCameraView.JavaCameraSizeAccessor.html b/opencv3/javadoc/org/opencv/android/JavaCameraView.JavaCameraSizeAccessor.html new file mode 100644 index 0000000..014b9ed --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/JavaCameraView.JavaCameraSizeAccessor.html @@ -0,0 +1,279 @@ + + + + + + +JavaCameraView.JavaCameraSizeAccessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Class JavaCameraView.JavaCameraSizeAccessor

+
+java.lang.Object
+  extended by org.opencv.android.JavaCameraView.JavaCameraSizeAccessor
+
+
+
All Implemented Interfaces:
CameraBridgeViewBase.ListItemAccessor
+
+
+
Enclosing class:
JavaCameraView
+
+
+
+
public static class JavaCameraView.JavaCameraSizeAccessor
extends java.lang.Object
implements CameraBridgeViewBase.ListItemAccessor
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
JavaCameraView.JavaCameraSizeAccessor() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ intgetHeight(java.lang.Object obj) + +
+           
+ intgetWidth(java.lang.Object obj) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JavaCameraView.JavaCameraSizeAccessor

+
+public JavaCameraView.JavaCameraSizeAccessor()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getHeight

+
+public int getHeight(java.lang.Object obj)
+
+
+
Specified by:
getHeight in interface CameraBridgeViewBase.ListItemAccessor
+
+
+
+
+
+
+ +

+getWidth

+
+public int getWidth(java.lang.Object obj)
+
+
+
Specified by:
getWidth in interface CameraBridgeViewBase.ListItemAccessor
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/JavaCameraView.html b/opencv3/javadoc/org/opencv/android/JavaCameraView.html new file mode 100644 index 0000000..5097fab --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/JavaCameraView.html @@ -0,0 +1,378 @@ + + + + + + +JavaCameraView + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Class JavaCameraView

+
+java.lang.Object
+  extended by android.view.View
+      extended by android.view.SurfaceView
+          extended by org.opencv.android.CameraBridgeViewBase
+              extended by org.opencv.android.JavaCameraView
+
+
+
All Implemented Interfaces:
android.graphics.drawable.Drawable.Callback, android.hardware.Camera.PreviewCallback, android.view.accessibility.AccessibilityEventSource, android.view.KeyEvent.Callback, android.view.SurfaceHolder.Callback
+
+
+
+
public class JavaCameraView
extends CameraBridgeViewBase
implements android.hardware.Camera.PreviewCallback
+ + +

+This class is an implementation of the Bridge View between OpenCV and Java Camera. + This class relays on the functionality available in base class and only implements + required functions: + connectCamera - opens Java camera and sets the PreviewCallback to be delivered. + disconnectCamera - closes the camera and stops preview. + When frame is delivered via callback from Camera - it processed via OpenCV to be + converted to RGBA32 and then passed to the external callback for modifications if required. +

+ +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classJavaCameraView.JavaCameraSizeAccessor + +
+           
+ + + + + + + +
Nested classes/interfaces inherited from class org.opencv.android.CameraBridgeViewBase
CameraBridgeViewBase.CvCameraViewFrame, CameraBridgeViewBase.CvCameraViewListener, CameraBridgeViewBase.CvCameraViewListener2, CameraBridgeViewBase.ListItemAccessor
+  + + + + + + + + +
Nested classes/interfaces inherited from class android.view.View
android.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.android.CameraBridgeViewBase
CAMERA_ID_ANY, CAMERA_ID_BACK, CAMERA_ID_FRONT, GRAY, RGBA
+ + + + + + + +
Fields inherited from class android.view.View
ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VISIBLE, X, Y, Z
+  + + + + + + + + + + + + + +
+Constructor Summary
JavaCameraView(android.content.Context context, + android.util.AttributeSet attrs) + +
+           
JavaCameraView(android.content.Context context, + int cameraId) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ voidonPreviewFrame(byte[] frame, + android.hardware.Camera arg1) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.android.CameraBridgeViewBase
disableFpsMeter, disableView, enableFpsMeter, enableView, setCameraIndex, SetCaptureFormat, setCvCameraViewListener, setCvCameraViewListener, setMaxFrameSize, surfaceChanged, surfaceCreated, surfaceDestroyed
+ + + + + + + +
Methods inherited from class android.view.SurfaceView
draw, gatherTransparentRegion, getHolder, setSecure, setVisibility, setZOrderMediaOverlay, setZOrderOnTop
+ + + + + + + +
Methods inherited from class android.view.View
addChildrenForAccessibility, addFocusables, addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addTouchables, animate, announceForAccessibility, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearFocus, combineMeasuredStates, computeScroll, computeSystemWindowInsets, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchApplyWindowInsets, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDrawableHotspotChanged, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawableHotspotChanged, findFocus, findViewById, findViewsWithText, findViewWithTag, focusSearch, forceLayout, generateViewId, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getApplicationWindowToken, getBackground, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getCameraDistance, getClipBounds, getClipToOutline, getContentDescription, getContext, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getId, getImportantForAccessibility, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineProvider, getOverlay, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getResources, getRight, getRootView, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getStateListAnimator, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTop, getTouchables, getTouchDelegate, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowId, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasFocus, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOverlappingRendering, hasTransientState, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isActivated, isAttachedToWindow, isClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isInEditMode, isInLayout, isInTouchMode, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, jumpDrawablesToCurrentState, layout, measure, offsetLeftAndRight, offsetTopAndBottom, onApplyWindowInsets, onCancelPendingInputEvents, onCheckIsTextEditor, onCreateInputConnection, onDragEvent, onFilterTouchEventForSecurity, onFinishTemporaryDetach, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onPopulateAccessibilityEvent, onRtlPropertiesChanged, onScreenStateChanged, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, performAccessibilityAction, performClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityLiveRegion, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAlpha, setAnimation, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentDescription, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusableInTouchMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setKeepScreenOn, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineProvider, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPressed, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateListAnimator, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTop, setTouchDelegate, setTransitionName, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, startActionMode, startAnimation, startDrag, startNestedScroll, stopNestedScroll, toString, unscheduleDrawable, unscheduleDrawable, willNotCacheDrawing, willNotDraw
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+JavaCameraView

+
+public JavaCameraView(android.content.Context context,
+                      android.util.AttributeSet attrs)
+
+
+
+ +

+JavaCameraView

+
+public JavaCameraView(android.content.Context context,
+                      int cameraId)
+
+
+ + + + + + + + +
+Method Detail
+ +

+onPreviewFrame

+
+public void onPreviewFrame(byte[] frame,
+                           android.hardware.Camera arg1)
+
+
+
Specified by:
onPreviewFrame in interface android.hardware.Camera.PreviewCallback
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/LoaderCallbackInterface.html b/opencv3/javadoc/org/opencv/android/LoaderCallbackInterface.html new file mode 100644 index 0000000..a0502d7 --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/LoaderCallbackInterface.html @@ -0,0 +1,352 @@ + + + + + + +LoaderCallbackInterface + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Interface LoaderCallbackInterface

+
+
All Known Implementing Classes:
BaseLoaderCallback
+
+
+
+
public interface LoaderCallbackInterface
+ + +

+Interface for callback object in case of asynchronous initialization of OpenCV. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intINCOMPATIBLE_MANAGER_VERSION + +
+          This version of OpenCV Manager Service is incompatible with the app.
+static intINIT_FAILED + +
+          OpenCV library initialization has failed.
+static intINSTALL_CANCELED + +
+          OpenCV library installation has been canceled by the user.
+static intMARKET_ERROR + +
+          Google Play Market cannot be invoked.
+static intSUCCESS + +
+          OpenCV initialization finished successfully.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidonManagerConnected(int status) + +
+          Callback method, called after OpenCV library initialization.
+ voidonPackageInstall(int operation, + InstallCallbackInterface callback) + +
+          Callback method, called in case the package installation is needed.
+  +

+ + + + + + + + +
+Field Detail
+ +

+INCOMPATIBLE_MANAGER_VERSION

+
+static final int INCOMPATIBLE_MANAGER_VERSION
+
+
This version of OpenCV Manager Service is incompatible with the app. Possibly, a service update is required. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INIT_FAILED

+
+static final int INIT_FAILED
+
+
OpenCV library initialization has failed. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INSTALL_CANCELED

+
+static final int INSTALL_CANCELED
+
+
OpenCV library installation has been canceled by the user. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MARKET_ERROR

+
+static final int MARKET_ERROR
+
+
Google Play Market cannot be invoked. +

+

+
See Also:
Constant Field Values
+
+
+ +

+SUCCESS

+
+static final int SUCCESS
+
+
OpenCV initialization finished successfully. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+onManagerConnected

+
+void onManagerConnected(int status)
+
+
Callback method, called after OpenCV library initialization. +

+

+
Parameters:
status - status of initialization (see initialization status constants).
+
+
+
+ +

+onPackageInstall

+
+void onPackageInstall(int operation,
+                      InstallCallbackInterface callback)
+
+
Callback method, called in case the package installation is needed. +

+

+
Parameters:
callback - answer object with approve and cancel methods and the package description.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/OpenCVLoader.html b/opencv3/javadoc/org/opencv/android/OpenCVLoader.html new file mode 100644 index 0000000..c502e8e --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/OpenCVLoader.html @@ -0,0 +1,541 @@ + + + + + + +OpenCVLoader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Class OpenCVLoader

+
+java.lang.Object
+  extended by org.opencv.android.OpenCVLoader
+
+
+
+
public class OpenCVLoader
extends java.lang.Object
+ + +

+Helper class provides common initialization methods for OpenCV library. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringOPENCV_VERSION_2_4_10 + +
+          OpenCV Library version 2.4.10.
+static java.lang.StringOPENCV_VERSION_2_4_11 + +
+          OpenCV Library version 2.4.11.
+static java.lang.StringOPENCV_VERSION_2_4_2 + +
+          OpenCV Library version 2.4.2.
+static java.lang.StringOPENCV_VERSION_2_4_3 + +
+          OpenCV Library version 2.4.3.
+static java.lang.StringOPENCV_VERSION_2_4_4 + +
+          OpenCV Library version 2.4.4.
+static java.lang.StringOPENCV_VERSION_2_4_5 + +
+          OpenCV Library version 2.4.5.
+static java.lang.StringOPENCV_VERSION_2_4_6 + +
+          OpenCV Library version 2.4.6.
+static java.lang.StringOPENCV_VERSION_2_4_7 + +
+          OpenCV Library version 2.4.7.
+static java.lang.StringOPENCV_VERSION_2_4_8 + +
+          OpenCV Library version 2.4.8.
+static java.lang.StringOPENCV_VERSION_2_4_9 + +
+          OpenCV Library version 2.4.9.
+static java.lang.StringOPENCV_VERSION_3_0_0 + +
+          OpenCV Library version 3.0.0.
+  + + + + + + + + + + +
+Constructor Summary
OpenCVLoader() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static booleaninitAsync(java.lang.String Version, + android.content.Context AppContext, + LoaderCallbackInterface Callback) + +
+          Loads and initializes OpenCV library using OpenCV Engine service.
+static booleaninitDebug() + +
+          Loads and initializes OpenCV library from current application package.
+static booleaninitDebug(boolean InitCuda) + +
+          Loads and initializes OpenCV library from current application package.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+OPENCV_VERSION_2_4_10

+
+public static final java.lang.String OPENCV_VERSION_2_4_10
+
+
OpenCV Library version 2.4.10. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_2_4_11

+
+public static final java.lang.String OPENCV_VERSION_2_4_11
+
+
OpenCV Library version 2.4.11. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_2_4_2

+
+public static final java.lang.String OPENCV_VERSION_2_4_2
+
+
OpenCV Library version 2.4.2. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_2_4_3

+
+public static final java.lang.String OPENCV_VERSION_2_4_3
+
+
OpenCV Library version 2.4.3. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_2_4_4

+
+public static final java.lang.String OPENCV_VERSION_2_4_4
+
+
OpenCV Library version 2.4.4. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_2_4_5

+
+public static final java.lang.String OPENCV_VERSION_2_4_5
+
+
OpenCV Library version 2.4.5. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_2_4_6

+
+public static final java.lang.String OPENCV_VERSION_2_4_6
+
+
OpenCV Library version 2.4.6. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_2_4_7

+
+public static final java.lang.String OPENCV_VERSION_2_4_7
+
+
OpenCV Library version 2.4.7. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_2_4_8

+
+public static final java.lang.String OPENCV_VERSION_2_4_8
+
+
OpenCV Library version 2.4.8. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_2_4_9

+
+public static final java.lang.String OPENCV_VERSION_2_4_9
+
+
OpenCV Library version 2.4.9. +

+

+
See Also:
Constant Field Values
+
+
+ +

+OPENCV_VERSION_3_0_0

+
+public static final java.lang.String OPENCV_VERSION_3_0_0
+
+
OpenCV Library version 3.0.0. +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+OpenCVLoader

+
+public OpenCVLoader()
+
+
+ + + + + + + + +
+Method Detail
+ +

+initAsync

+
+public static boolean initAsync(java.lang.String Version,
+                                android.content.Context AppContext,
+                                LoaderCallbackInterface Callback)
+
+
Loads and initializes OpenCV library using OpenCV Engine service. +

+

+
Parameters:
Version - OpenCV library version.
AppContext - application context for connecting to the service.
Callback - object, that implements LoaderCallbackInterface for handling the connection status. +
Returns:
Returns true if initialization of OpenCV is successful.
+
+
+
+ +

+initDebug

+
+public static boolean initDebug()
+
+
Loads and initializes OpenCV library from current application package. Roughly, it's an analog of system.loadLibrary("opencv_java"). +

+

+ +
Returns:
Returns true is initialization of OpenCV was successful.
+
+
+
+ +

+initDebug

+
+public static boolean initDebug(boolean InitCuda)
+
+
Loads and initializes OpenCV library from current application package. Roughly, it's an analog of system.loadLibrary("opencv_java"). +

+

+
Parameters:
InitCuda - load and initialize CUDA runtime libraries. +
Returns:
Returns true is initialization of OpenCV was successful.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/Utils.html b/opencv3/javadoc/org/opencv/android/Utils.html new file mode 100644 index 0000000..3f9b1f2 --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/Utils.html @@ -0,0 +1,430 @@ + + + + + + +Utils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.android +
+Class Utils

+
+java.lang.Object
+  extended by org.opencv.android.Utils
+
+
+
+
public class Utils
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Utils() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidbitmapToMat(android.graphics.Bitmap bmp, + Mat mat) + +
+          Short form of the bitmapToMat(bmp, mat, unPremultiplyAlpha=false).
+static voidbitmapToMat(android.graphics.Bitmap bmp, + Mat mat, + boolean unPremultiplyAlpha) + +
+          Converts Android Bitmap to OpenCV Mat.
+static java.lang.StringexportResource(android.content.Context context, + int resourceId) + +
+           
+static java.lang.StringexportResource(android.content.Context context, + int resourceId, + java.lang.String dirname) + +
+           
+static MatloadResource(android.content.Context context, + int resourceId) + +
+           
+static MatloadResource(android.content.Context context, + int resourceId, + int flags) + +
+           
+static voidmatToBitmap(Mat mat, + android.graphics.Bitmap bmp) + +
+          Short form of the matToBitmap(mat, bmp, premultiplyAlpha=false)
+static voidmatToBitmap(Mat mat, + android.graphics.Bitmap bmp, + boolean premultiplyAlpha) + +
+          Converts OpenCV Mat to Android Bitmap.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Utils

+
+public Utils()
+
+
+ + + + + + + + +
+Method Detail
+ +

+bitmapToMat

+
+public static void bitmapToMat(android.graphics.Bitmap bmp,
+                               Mat mat)
+
+
Short form of the bitmapToMat(bmp, mat, unPremultiplyAlpha=false). +

+

+
Parameters:
bmp - is a valid input Bitmap object of the type 'ARGB_8888' or 'RGB_565'.
mat - is a valid output Mat object, it will be reallocated if needed, so Mat may be empty.
+
+
+
+ +

+bitmapToMat

+
+public static void bitmapToMat(android.graphics.Bitmap bmp,
+                               Mat mat,
+                               boolean unPremultiplyAlpha)
+
+
Converts Android Bitmap to OpenCV Mat. +

+ This function converts an Android Bitmap image to the OpenCV Mat. +
'ARGB_8888' and 'RGB_565' input Bitmap formats are supported. +
The output Mat is always created of the same size as the input Bitmap and of the 'CV_8UC4' type, + it keeps the image in RGBA format. +
This function throws an exception if the conversion fails. +

+

+
Parameters:
bmp - is a valid input Bitmap object of the type 'ARGB_8888' or 'RGB_565'.
mat - is a valid output Mat object, it will be reallocated if needed, so it may be empty.
unPremultiplyAlpha - is a flag, that determines, whether the bitmap needs to be converted from alpha premultiplied format (like Android keeps 'ARGB_8888' ones) to regular one; this flag is ignored for 'RGB_565' bitmaps.
+
+
+
+ +

+exportResource

+
+public static java.lang.String exportResource(android.content.Context context,
+                                              int resourceId)
+
+
+
+
+
+
+ +

+exportResource

+
+public static java.lang.String exportResource(android.content.Context context,
+                                              int resourceId,
+                                              java.lang.String dirname)
+
+
+
+
+
+
+ +

+loadResource

+
+public static Mat loadResource(android.content.Context context,
+                               int resourceId)
+                        throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+loadResource

+
+public static Mat loadResource(android.content.Context context,
+                               int resourceId,
+                               int flags)
+                        throws java.io.IOException
+
+
+ +
Throws: +
java.io.IOException
+
+
+
+ +

+matToBitmap

+
+public static void matToBitmap(Mat mat,
+                               android.graphics.Bitmap bmp)
+
+
Short form of the matToBitmap(mat, bmp, premultiplyAlpha=false) +

+

+
Parameters:
mat - is a valid input Mat object of the types 'CV_8UC1', 'CV_8UC3' or 'CV_8UC4'.
bmp - is a valid Bitmap object of the same size as the Mat and of type 'ARGB_8888' or 'RGB_565'.
+
+
+
+ +

+matToBitmap

+
+public static void matToBitmap(Mat mat,
+                               android.graphics.Bitmap bmp,
+                               boolean premultiplyAlpha)
+
+
Converts OpenCV Mat to Android Bitmap. +

+
This function converts an image in the OpenCV Mat representation to the Android Bitmap. +
The input Mat object has to be of the types 'CV_8UC1' (gray-scale), 'CV_8UC3' (RGB) or 'CV_8UC4' (RGBA). +
The output Bitmap object has to be of the same size as the input Mat and of the types 'ARGB_8888' or 'RGB_565'. +
This function throws an exception if the conversion fails. +

+

+
Parameters:
mat - is a valid input Mat object of types 'CV_8UC1', 'CV_8UC3' or 'CV_8UC4'.
bmp - is a valid Bitmap object of the same size as the Mat and of type 'ARGB_8888' or 'RGB_565'.
premultiplyAlpha - is a flag, that determines, whether the Mat needs to be converted to alpha premultiplied format (like Android keeps 'ARGB_8888' bitmaps); the flag is ignored for 'RGB_565' bitmaps.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/package-frame.html b/opencv3/javadoc/org/opencv/android/package-frame.html new file mode 100644 index 0000000..008472d --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/package-frame.html @@ -0,0 +1,65 @@ + + + + + + +org.opencv.android + + + + + + + + + + + +org.opencv.android + + + + +
+Interfaces  + +
+CameraBridgeViewBase.CvCameraViewFrame +
+CameraBridgeViewBase.CvCameraViewListener +
+CameraBridgeViewBase.CvCameraViewListener2 +
+CameraBridgeViewBase.ListItemAccessor +
+InstallCallbackInterface +
+LoaderCallbackInterface
+ + + + + + +
+Classes  + +
+BaseLoaderCallback +
+CameraBridgeViewBase +
+FpsMeter +
+JavaCameraView +
+JavaCameraView.JavaCameraSizeAccessor +
+OpenCVLoader +
+Utils
+ + + + diff --git a/opencv3/javadoc/org/opencv/android/package-summary.html b/opencv3/javadoc/org/opencv/android/package-summary.html new file mode 100644 index 0000000..da31a2c --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/package-summary.html @@ -0,0 +1,212 @@ + + + + + + +org.opencv.android + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.android +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
CameraBridgeViewBase.CvCameraViewFrameThis class interface is abstract representation of single frame from camera for onCameraFrame callback + Attention: Do not use objects, that represents this interface out of onCameraFrame callback!
CameraBridgeViewBase.CvCameraViewListener 
CameraBridgeViewBase.CvCameraViewListener2 
CameraBridgeViewBase.ListItemAccessor 
InstallCallbackInterfaceInstallation callback interface.
LoaderCallbackInterfaceInterface for callback object in case of asynchronous initialization of OpenCV.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BaseLoaderCallbackBasic implementation of LoaderCallbackInterface.
CameraBridgeViewBaseThis is a basic class, implementing the interaction with Camera and OpenCV library.
FpsMeter 
JavaCameraViewThis class is an implementation of the Bridge View between OpenCV and Java Camera.
JavaCameraView.JavaCameraSizeAccessor 
OpenCVLoaderHelper class provides common initialization methods for OpenCV library.
Utils 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/android/package-tree.html b/opencv3/javadoc/org/opencv/android/package-tree.html new file mode 100644 index 0000000..e7c6d75 --- /dev/null +++ b/opencv3/javadoc/org/opencv/android/package-tree.html @@ -0,0 +1,165 @@ + + + + + + +org.opencv.android Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.android +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/calib3d/Calib3d.html b/opencv3/javadoc/org/opencv/calib3d/Calib3d.html new file mode 100644 index 0000000..83e7398 --- /dev/null +++ b/opencv3/javadoc/org/opencv/calib3d/Calib3d.html @@ -0,0 +1,3561 @@ + + + + + + +Calib3d + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.calib3d +
+Class Calib3d

+
+java.lang.Object
+  extended by org.opencv.calib3d.Calib3d
+
+
+
+
public class Calib3d
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCALIB_CB_ADAPTIVE_THRESH + +
+           
+static intCALIB_CB_ASYMMETRIC_GRID + +
+           
+static intCALIB_CB_CLUSTERING + +
+           
+static intCALIB_CB_FAST_CHECK + +
+           
+static intCALIB_CB_FILTER_QUADS + +
+           
+static intCALIB_CB_NORMALIZE_IMAGE + +
+           
+static intCALIB_CB_SYMMETRIC_GRID + +
+           
+static intCALIB_CHECK_COND + +
+           
+static intCALIB_FIX_ASPECT_RATIO + +
+           
+static intCALIB_FIX_FOCAL_LENGTH + +
+           
+static intCALIB_FIX_INTRINSIC + +
+           
+static intCALIB_FIX_K1 + +
+           
+static intCALIB_FIX_K2 + +
+           
+static intCALIB_FIX_K3 + +
+           
+static intCALIB_FIX_K4 + +
+           
+static intCALIB_FIX_K5 + +
+           
+static intCALIB_FIX_K6 + +
+           
+static intCALIB_FIX_PRINCIPAL_POINT + +
+           
+static intCALIB_FIX_S1_S2_S3_S4 + +
+           
+static intCALIB_FIX_SKEW + +
+           
+static intCALIB_RATIONAL_MODEL + +
+           
+static intCALIB_RECOMPUTE_EXTRINSIC + +
+           
+static intCALIB_SAME_FOCAL_LENGTH + +
+           
+static intCALIB_THIN_PRISM_MODEL + +
+           
+static intCALIB_USE_INTRINSIC_GUESS + +
+           
+static intCALIB_ZERO_DISPARITY + +
+           
+static intCALIB_ZERO_TANGENT_DIST + +
+           
+static intCV_DLS + +
+           
+static intCV_EPNP + +
+           
+static intCV_ITERATIVE + +
+           
+static intCV_P3P + +
+           
+static intFM_7POINT + +
+           
+static intFM_8POINT + +
+           
+static intFM_LMEDS + +
+           
+static intFM_RANSAC + +
+           
+static intLMEDS + +
+           
+static intRANSAC + +
+           
+static intRHO + +
+           
+static intSOLVEPNP_DLS + +
+           
+static intSOLVEPNP_EPNP + +
+           
+static intSOLVEPNP_ITERATIVE + +
+           
+static intSOLVEPNP_P3P + +
+           
+static intSOLVEPNP_UPNP + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Calib3d() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static doublecalibrate(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints, + Size image_size, + Mat K, + Mat D, + java.util.List<Mat> rvecs, + java.util.List<Mat> tvecs) + +
+           
+static doublecalibrate(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints, + Size image_size, + Mat K, + Mat D, + java.util.List<Mat> rvecs, + java.util.List<Mat> tvecs, + int flags) + +
+           
+static doublecalibrate(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints, + Size image_size, + Mat K, + Mat D, + java.util.List<Mat> rvecs, + java.util.List<Mat> tvecs, + int flags, + TermCriteria criteria) + +
+           
+static doublecalibrateCamera(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints, + Size imageSize, + Mat cameraMatrix, + Mat distCoeffs, + java.util.List<Mat> rvecs, + java.util.List<Mat> tvecs) + +
+           
+static doublecalibrateCamera(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints, + Size imageSize, + Mat cameraMatrix, + Mat distCoeffs, + java.util.List<Mat> rvecs, + java.util.List<Mat> tvecs, + int flags) + +
+           
+static doublecalibrateCamera(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints, + Size imageSize, + Mat cameraMatrix, + Mat distCoeffs, + java.util.List<Mat> rvecs, + java.util.List<Mat> tvecs, + int flags, + TermCriteria criteria) + +
+           
+static voidcalibrationMatrixValues(Mat cameraMatrix, + Size imageSize, + double apertureWidth, + double apertureHeight, + double[] fovx, + double[] fovy, + double[] focalLength, + Point principalPoint, + double[] aspectRatio) + +
+           
+static voidcomposeRT(Mat rvec1, + Mat tvec1, + Mat rvec2, + Mat tvec2, + Mat rvec3, + Mat tvec3) + +
+           
+static voidcomposeRT(Mat rvec1, + Mat tvec1, + Mat rvec2, + Mat tvec2, + Mat rvec3, + Mat tvec3, + Mat dr3dr1, + Mat dr3dt1, + Mat dr3dr2, + Mat dr3dt2, + Mat dt3dr1, + Mat dt3dt1, + Mat dt3dr2, + Mat dt3dt2) + +
+           
+static voidcomputeCorrespondEpilines(Mat points, + int whichImage, + Mat F, + Mat lines) + +
+           
+static voidconvertPointsFromHomogeneous(Mat src, + Mat dst) + +
+           
+static voidconvertPointsToHomogeneous(Mat src, + Mat dst) + +
+           
+static voidcorrectMatches(Mat F, + Mat points1, + Mat points2, + Mat newPoints1, + Mat newPoints2) + +
+           
+static voiddecomposeEssentialMat(Mat E, + Mat R1, + Mat R2, + Mat t) + +
+           
+static intdecomposeHomographyMat(Mat H, + Mat K, + java.util.List<Mat> rotations, + java.util.List<Mat> translations, + java.util.List<Mat> normals) + +
+           
+static voiddecomposeProjectionMatrix(Mat projMatrix, + Mat cameraMatrix, + Mat rotMatrix, + Mat transVect) + +
+           
+static voiddecomposeProjectionMatrix(Mat projMatrix, + Mat cameraMatrix, + Mat rotMatrix, + Mat transVect, + Mat rotMatrixX, + Mat rotMatrixY, + Mat rotMatrixZ, + Mat eulerAngles) + +
+           
+static voiddistortPoints(Mat undistorted, + Mat distorted, + Mat K, + Mat D) + +
+           
+static voiddistortPoints(Mat undistorted, + Mat distorted, + Mat K, + Mat D, + double alpha) + +
+           
+static voiddrawChessboardCorners(Mat image, + Size patternSize, + MatOfPoint2f corners, + boolean patternWasFound) + +
+           
+static intestimateAffine3D(Mat src, + Mat dst, + Mat out, + Mat inliers) + +
+           
+static intestimateAffine3D(Mat src, + Mat dst, + Mat out, + Mat inliers, + double ransacThreshold, + double confidence) + +
+           
+static voidestimateNewCameraMatrixForUndistortRectify(Mat K, + Mat D, + Size image_size, + Mat R, + Mat P) + +
+           
+static voidestimateNewCameraMatrixForUndistortRectify(Mat K, + Mat D, + Size image_size, + Mat R, + Mat P, + double balance, + Size new_size, + double fov_scale) + +
+           
+static voidfilterSpeckles(Mat img, + double newVal, + int maxSpeckleSize, + double maxDiff) + +
+           
+static voidfilterSpeckles(Mat img, + double newVal, + int maxSpeckleSize, + double maxDiff, + Mat buf) + +
+           
+static booleanfindChessboardCorners(Mat image, + Size patternSize, + MatOfPoint2f corners) + +
+           
+static booleanfindChessboardCorners(Mat image, + Size patternSize, + MatOfPoint2f corners, + int flags) + +
+           
+static booleanfindCirclesGrid(Mat image, + Size patternSize, + Mat centers) + +
+           
+static booleanfindCirclesGrid(Mat image, + Size patternSize, + Mat centers, + int flags) + +
+           
+static MatfindEssentialMat(Mat points1, + Mat points2) + +
+           
+static MatfindEssentialMat(Mat points1, + Mat points2, + double focal, + Point pp, + int method, + double prob, + double threshold) + +
+           
+static MatfindEssentialMat(Mat points1, + Mat points2, + double focal, + Point pp, + int method, + double prob, + double threshold, + Mat mask) + +
+           
+static MatfindFundamentalMat(MatOfPoint2f points1, + MatOfPoint2f points2) + +
+           
+static MatfindFundamentalMat(MatOfPoint2f points1, + MatOfPoint2f points2, + int method, + double param1, + double param2) + +
+           
+static MatfindFundamentalMat(MatOfPoint2f points1, + MatOfPoint2f points2, + int method, + double param1, + double param2, + Mat mask) + +
+           
+static MatfindHomography(MatOfPoint2f srcPoints, + MatOfPoint2f dstPoints) + +
+           
+static MatfindHomography(MatOfPoint2f srcPoints, + MatOfPoint2f dstPoints, + int method, + double ransacReprojThreshold) + +
+           
+static MatfindHomography(MatOfPoint2f srcPoints, + MatOfPoint2f dstPoints, + int method, + double ransacReprojThreshold, + Mat mask, + int maxIters, + double confidence) + +
+           
+static MatgetOptimalNewCameraMatrix(Mat cameraMatrix, + Mat distCoeffs, + Size imageSize, + double alpha) + +
+           
+static MatgetOptimalNewCameraMatrix(Mat cameraMatrix, + Mat distCoeffs, + Size imageSize, + double alpha, + Size newImgSize, + Rect validPixROI, + boolean centerPrincipalPoint) + +
+           
+static RectgetValidDisparityROI(Rect roi1, + Rect roi2, + int minDisparity, + int numberOfDisparities, + int SADWindowSize) + +
+           
+static MatinitCameraMatrix2D(java.util.List<MatOfPoint3f> objectPoints, + java.util.List<MatOfPoint2f> imagePoints, + Size imageSize) + +
+           
+static MatinitCameraMatrix2D(java.util.List<MatOfPoint3f> objectPoints, + java.util.List<MatOfPoint2f> imagePoints, + Size imageSize, + double aspectRatio) + +
+           
+static voidinitUndistortRectifyMap(Mat K, + Mat D, + Mat R, + Mat P, + Size size, + int m1type, + Mat map1, + Mat map2) + +
+           
+static voidmatMulDeriv(Mat A, + Mat B, + Mat dABdA, + Mat dABdB) + +
+           
+static voidprojectPoints(MatOfPoint3f objectPoints, + Mat rvec, + Mat tvec, + Mat cameraMatrix, + MatOfDouble distCoeffs, + MatOfPoint2f imagePoints) + +
+           
+static voidprojectPoints(MatOfPoint3f objectPoints, + Mat rvec, + Mat tvec, + Mat cameraMatrix, + MatOfDouble distCoeffs, + MatOfPoint2f imagePoints, + Mat jacobian, + double aspectRatio) + +
+           
+static voidprojectPoints(MatOfPoint3f objectPoints, + MatOfPoint2f imagePoints, + Mat rvec, + Mat tvec, + Mat K, + Mat D) + +
+           
+static voidprojectPoints(MatOfPoint3f objectPoints, + MatOfPoint2f imagePoints, + Mat rvec, + Mat tvec, + Mat K, + Mat D, + double alpha, + Mat jacobian) + +
+           
+static intrecoverPose(Mat E, + Mat points1, + Mat points2, + Mat R, + Mat t) + +
+           
+static intrecoverPose(Mat E, + Mat points1, + Mat points2, + Mat R, + Mat t, + double focal, + Point pp) + +
+           
+static intrecoverPose(Mat E, + Mat points1, + Mat points2, + Mat R, + Mat t, + double focal, + Point pp, + Mat mask) + +
+           
+static floatrectify3Collinear(Mat cameraMatrix1, + Mat distCoeffs1, + Mat cameraMatrix2, + Mat distCoeffs2, + Mat cameraMatrix3, + Mat distCoeffs3, + java.util.List<Mat> imgpt1, + java.util.List<Mat> imgpt3, + Size imageSize, + Mat R12, + Mat T12, + Mat R13, + Mat T13, + Mat R1, + Mat R2, + Mat R3, + Mat P1, + Mat P2, + Mat P3, + Mat Q, + double alpha, + Size newImgSize, + Rect roi1, + Rect roi2, + int flags) + +
+           
+static voidreprojectImageTo3D(Mat disparity, + Mat _3dImage, + Mat Q) + +
+           
+static voidreprojectImageTo3D(Mat disparity, + Mat _3dImage, + Mat Q, + boolean handleMissingValues) + +
+           
+static voidreprojectImageTo3D(Mat disparity, + Mat _3dImage, + Mat Q, + boolean handleMissingValues, + int ddepth) + +
+           
+static voidRodrigues(Mat src, + Mat dst) + +
+           
+static voidRodrigues(Mat src, + Mat dst, + Mat jacobian) + +
+           
+static double[]RQDecomp3x3(Mat src, + Mat mtxR, + Mat mtxQ) + +
+           
+static double[]RQDecomp3x3(Mat src, + Mat mtxR, + Mat mtxQ, + Mat Qx, + Mat Qy, + Mat Qz) + +
+           
+static booleansolvePnP(MatOfPoint3f objectPoints, + MatOfPoint2f imagePoints, + Mat cameraMatrix, + MatOfDouble distCoeffs, + Mat rvec, + Mat tvec) + +
+           
+static booleansolvePnP(MatOfPoint3f objectPoints, + MatOfPoint2f imagePoints, + Mat cameraMatrix, + MatOfDouble distCoeffs, + Mat rvec, + Mat tvec, + boolean useExtrinsicGuess, + int flags) + +
+           
+static booleansolvePnPRansac(MatOfPoint3f objectPoints, + MatOfPoint2f imagePoints, + Mat cameraMatrix, + MatOfDouble distCoeffs, + Mat rvec, + Mat tvec) + +
+           
+static booleansolvePnPRansac(MatOfPoint3f objectPoints, + MatOfPoint2f imagePoints, + Mat cameraMatrix, + MatOfDouble distCoeffs, + Mat rvec, + Mat tvec, + boolean useExtrinsicGuess, + int iterationsCount, + float reprojectionError, + double confidence, + Mat inliers, + int flags) + +
+           
+static doublestereoCalibrate(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints1, + java.util.List<Mat> imagePoints2, + Mat K1, + Mat D1, + Mat K2, + Mat D2, + Size imageSize, + Mat R, + Mat T) + +
+           
+static doublestereoCalibrate(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints1, + java.util.List<Mat> imagePoints2, + Mat K1, + Mat D1, + Mat K2, + Mat D2, + Size imageSize, + Mat R, + Mat T, + int flags) + +
+           
+static doublestereoCalibrate(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints1, + java.util.List<Mat> imagePoints2, + Mat K1, + Mat D1, + Mat K2, + Mat D2, + Size imageSize, + Mat R, + Mat T, + int flags, + TermCriteria criteria) + +
+           
+static doublestereoCalibrate(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints1, + java.util.List<Mat> imagePoints2, + Mat cameraMatrix1, + Mat distCoeffs1, + Mat cameraMatrix2, + Mat distCoeffs2, + Size imageSize, + Mat R, + Mat T, + Mat E, + Mat F) + +
+           
+static doublestereoCalibrate(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints1, + java.util.List<Mat> imagePoints2, + Mat cameraMatrix1, + Mat distCoeffs1, + Mat cameraMatrix2, + Mat distCoeffs2, + Size imageSize, + Mat R, + Mat T, + Mat E, + Mat F, + int flags) + +
+           
+static doublestereoCalibrate(java.util.List<Mat> objectPoints, + java.util.List<Mat> imagePoints1, + java.util.List<Mat> imagePoints2, + Mat cameraMatrix1, + Mat distCoeffs1, + Mat cameraMatrix2, + Mat distCoeffs2, + Size imageSize, + Mat R, + Mat T, + Mat E, + Mat F, + int flags, + TermCriteria criteria) + +
+           
+static voidstereoRectify(Mat cameraMatrix1, + Mat distCoeffs1, + Mat cameraMatrix2, + Mat distCoeffs2, + Size imageSize, + Mat R, + Mat T, + Mat R1, + Mat R2, + Mat P1, + Mat P2, + Mat Q) + +
+           
+static voidstereoRectify(Mat K1, + Mat D1, + Mat K2, + Mat D2, + Size imageSize, + Mat R, + Mat tvec, + Mat R1, + Mat R2, + Mat P1, + Mat P2, + Mat Q, + int flags) + +
+           
+static voidstereoRectify(Mat cameraMatrix1, + Mat distCoeffs1, + Mat cameraMatrix2, + Mat distCoeffs2, + Size imageSize, + Mat R, + Mat T, + Mat R1, + Mat R2, + Mat P1, + Mat P2, + Mat Q, + int flags, + double alpha, + Size newImageSize, + Rect validPixROI1, + Rect validPixROI2) + +
+           
+static voidstereoRectify(Mat K1, + Mat D1, + Mat K2, + Mat D2, + Size imageSize, + Mat R, + Mat tvec, + Mat R1, + Mat R2, + Mat P1, + Mat P2, + Mat Q, + int flags, + Size newImageSize, + double balance, + double fov_scale) + +
+           
+static booleanstereoRectifyUncalibrated(Mat points1, + Mat points2, + Mat F, + Size imgSize, + Mat H1, + Mat H2) + +
+           
+static booleanstereoRectifyUncalibrated(Mat points1, + Mat points2, + Mat F, + Size imgSize, + Mat H1, + Mat H2, + double threshold) + +
+           
+static voidtriangulatePoints(Mat projMatr1, + Mat projMatr2, + Mat projPoints1, + Mat projPoints2, + Mat points4D) + +
+           
+static voidundistortImage(Mat distorted, + Mat undistorted, + Mat K, + Mat D) + +
+           
+static voidundistortImage(Mat distorted, + Mat undistorted, + Mat K, + Mat D, + Mat Knew, + Size new_size) + +
+           
+static voidundistortPoints(Mat distorted, + Mat undistorted, + Mat K, + Mat D) + +
+           
+static voidundistortPoints(Mat distorted, + Mat undistorted, + Mat K, + Mat D, + Mat R, + Mat P) + +
+           
+static voidvalidateDisparity(Mat disparity, + Mat cost, + int minDisparity, + int numberOfDisparities) + +
+           
+static voidvalidateDisparity(Mat disparity, + Mat cost, + int minDisparity, + int numberOfDisparities, + int disp12MaxDisp) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CALIB_CB_ADAPTIVE_THRESH

+
+public static final int CALIB_CB_ADAPTIVE_THRESH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_CB_ASYMMETRIC_GRID

+
+public static final int CALIB_CB_ASYMMETRIC_GRID
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_CB_CLUSTERING

+
+public static final int CALIB_CB_CLUSTERING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_CB_FAST_CHECK

+
+public static final int CALIB_CB_FAST_CHECK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_CB_FILTER_QUADS

+
+public static final int CALIB_CB_FILTER_QUADS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_CB_NORMALIZE_IMAGE

+
+public static final int CALIB_CB_NORMALIZE_IMAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_CB_SYMMETRIC_GRID

+
+public static final int CALIB_CB_SYMMETRIC_GRID
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_CHECK_COND

+
+public static final int CALIB_CHECK_COND
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_ASPECT_RATIO

+
+public static final int CALIB_FIX_ASPECT_RATIO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_FOCAL_LENGTH

+
+public static final int CALIB_FIX_FOCAL_LENGTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_INTRINSIC

+
+public static final int CALIB_FIX_INTRINSIC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_K1

+
+public static final int CALIB_FIX_K1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_K2

+
+public static final int CALIB_FIX_K2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_K3

+
+public static final int CALIB_FIX_K3
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_K4

+
+public static final int CALIB_FIX_K4
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_K5

+
+public static final int CALIB_FIX_K5
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_K6

+
+public static final int CALIB_FIX_K6
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_PRINCIPAL_POINT

+
+public static final int CALIB_FIX_PRINCIPAL_POINT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_S1_S2_S3_S4

+
+public static final int CALIB_FIX_S1_S2_S3_S4
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_FIX_SKEW

+
+public static final int CALIB_FIX_SKEW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_RATIONAL_MODEL

+
+public static final int CALIB_RATIONAL_MODEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_RECOMPUTE_EXTRINSIC

+
+public static final int CALIB_RECOMPUTE_EXTRINSIC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_SAME_FOCAL_LENGTH

+
+public static final int CALIB_SAME_FOCAL_LENGTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_THIN_PRISM_MODEL

+
+public static final int CALIB_THIN_PRISM_MODEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_USE_INTRINSIC_GUESS

+
+public static final int CALIB_USE_INTRINSIC_GUESS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_ZERO_DISPARITY

+
+public static final int CALIB_ZERO_DISPARITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CALIB_ZERO_TANGENT_DIST

+
+public static final int CALIB_ZERO_TANGENT_DIST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DLS

+
+public static final int CV_DLS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_EPNP

+
+public static final int CV_EPNP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_ITERATIVE

+
+public static final int CV_ITERATIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_P3P

+
+public static final int CV_P3P
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FM_7POINT

+
+public static final int FM_7POINT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FM_8POINT

+
+public static final int FM_8POINT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FM_LMEDS

+
+public static final int FM_LMEDS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FM_RANSAC

+
+public static final int FM_RANSAC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LMEDS

+
+public static final int LMEDS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RANSAC

+
+public static final int RANSAC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RHO

+
+public static final int RHO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SOLVEPNP_DLS

+
+public static final int SOLVEPNP_DLS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SOLVEPNP_EPNP

+
+public static final int SOLVEPNP_EPNP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SOLVEPNP_ITERATIVE

+
+public static final int SOLVEPNP_ITERATIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SOLVEPNP_P3P

+
+public static final int SOLVEPNP_P3P
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SOLVEPNP_UPNP

+
+public static final int SOLVEPNP_UPNP
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Calib3d

+
+public Calib3d()
+
+
+ + + + + + + + +
+Method Detail
+ +

+calibrate

+
+public static double calibrate(java.util.List<Mat> objectPoints,
+                               java.util.List<Mat> imagePoints,
+                               Size image_size,
+                               Mat K,
+                               Mat D,
+                               java.util.List<Mat> rvecs,
+                               java.util.List<Mat> tvecs)
+
+
+
+
+
+
+ +

+calibrate

+
+public static double calibrate(java.util.List<Mat> objectPoints,
+                               java.util.List<Mat> imagePoints,
+                               Size image_size,
+                               Mat K,
+                               Mat D,
+                               java.util.List<Mat> rvecs,
+                               java.util.List<Mat> tvecs,
+                               int flags)
+
+
+
+
+
+
+ +

+calibrate

+
+public static double calibrate(java.util.List<Mat> objectPoints,
+                               java.util.List<Mat> imagePoints,
+                               Size image_size,
+                               Mat K,
+                               Mat D,
+                               java.util.List<Mat> rvecs,
+                               java.util.List<Mat> tvecs,
+                               int flags,
+                               TermCriteria criteria)
+
+
+
+
+
+
+ +

+calibrateCamera

+
+public static double calibrateCamera(java.util.List<Mat> objectPoints,
+                                     java.util.List<Mat> imagePoints,
+                                     Size imageSize,
+                                     Mat cameraMatrix,
+                                     Mat distCoeffs,
+                                     java.util.List<Mat> rvecs,
+                                     java.util.List<Mat> tvecs)
+
+
+
+
+
+
+ +

+calibrateCamera

+
+public static double calibrateCamera(java.util.List<Mat> objectPoints,
+                                     java.util.List<Mat> imagePoints,
+                                     Size imageSize,
+                                     Mat cameraMatrix,
+                                     Mat distCoeffs,
+                                     java.util.List<Mat> rvecs,
+                                     java.util.List<Mat> tvecs,
+                                     int flags)
+
+
+
+
+
+
+ +

+calibrateCamera

+
+public static double calibrateCamera(java.util.List<Mat> objectPoints,
+                                     java.util.List<Mat> imagePoints,
+                                     Size imageSize,
+                                     Mat cameraMatrix,
+                                     Mat distCoeffs,
+                                     java.util.List<Mat> rvecs,
+                                     java.util.List<Mat> tvecs,
+                                     int flags,
+                                     TermCriteria criteria)
+
+
+
+
+
+
+ +

+calibrationMatrixValues

+
+public static void calibrationMatrixValues(Mat cameraMatrix,
+                                           Size imageSize,
+                                           double apertureWidth,
+                                           double apertureHeight,
+                                           double[] fovx,
+                                           double[] fovy,
+                                           double[] focalLength,
+                                           Point principalPoint,
+                                           double[] aspectRatio)
+
+
+
+
+
+
+ +

+composeRT

+
+public static void composeRT(Mat rvec1,
+                             Mat tvec1,
+                             Mat rvec2,
+                             Mat tvec2,
+                             Mat rvec3,
+                             Mat tvec3)
+
+
+
+
+
+
+ +

+composeRT

+
+public static void composeRT(Mat rvec1,
+                             Mat tvec1,
+                             Mat rvec2,
+                             Mat tvec2,
+                             Mat rvec3,
+                             Mat tvec3,
+                             Mat dr3dr1,
+                             Mat dr3dt1,
+                             Mat dr3dr2,
+                             Mat dr3dt2,
+                             Mat dt3dr1,
+                             Mat dt3dt1,
+                             Mat dt3dr2,
+                             Mat dt3dt2)
+
+
+
+
+
+
+ +

+computeCorrespondEpilines

+
+public static void computeCorrespondEpilines(Mat points,
+                                             int whichImage,
+                                             Mat F,
+                                             Mat lines)
+
+
+
+
+
+
+ +

+convertPointsFromHomogeneous

+
+public static void convertPointsFromHomogeneous(Mat src,
+                                                Mat dst)
+
+
+
+
+
+
+ +

+convertPointsToHomogeneous

+
+public static void convertPointsToHomogeneous(Mat src,
+                                              Mat dst)
+
+
+
+
+
+
+ +

+correctMatches

+
+public static void correctMatches(Mat F,
+                                  Mat points1,
+                                  Mat points2,
+                                  Mat newPoints1,
+                                  Mat newPoints2)
+
+
+
+
+
+
+ +

+decomposeEssentialMat

+
+public static void decomposeEssentialMat(Mat E,
+                                         Mat R1,
+                                         Mat R2,
+                                         Mat t)
+
+
+
+
+
+
+ +

+decomposeHomographyMat

+
+public static int decomposeHomographyMat(Mat H,
+                                         Mat K,
+                                         java.util.List<Mat> rotations,
+                                         java.util.List<Mat> translations,
+                                         java.util.List<Mat> normals)
+
+
+
+
+
+
+ +

+decomposeProjectionMatrix

+
+public static void decomposeProjectionMatrix(Mat projMatrix,
+                                             Mat cameraMatrix,
+                                             Mat rotMatrix,
+                                             Mat transVect)
+
+
+
+
+
+
+ +

+decomposeProjectionMatrix

+
+public static void decomposeProjectionMatrix(Mat projMatrix,
+                                             Mat cameraMatrix,
+                                             Mat rotMatrix,
+                                             Mat transVect,
+                                             Mat rotMatrixX,
+                                             Mat rotMatrixY,
+                                             Mat rotMatrixZ,
+                                             Mat eulerAngles)
+
+
+
+
+
+
+ +

+distortPoints

+
+public static void distortPoints(Mat undistorted,
+                                 Mat distorted,
+                                 Mat K,
+                                 Mat D)
+
+
+
+
+
+
+ +

+distortPoints

+
+public static void distortPoints(Mat undistorted,
+                                 Mat distorted,
+                                 Mat K,
+                                 Mat D,
+                                 double alpha)
+
+
+
+
+
+
+ +

+drawChessboardCorners

+
+public static void drawChessboardCorners(Mat image,
+                                         Size patternSize,
+                                         MatOfPoint2f corners,
+                                         boolean patternWasFound)
+
+
+
+
+
+
+ +

+estimateAffine3D

+
+public static int estimateAffine3D(Mat src,
+                                   Mat dst,
+                                   Mat out,
+                                   Mat inliers)
+
+
+
+
+
+
+ +

+estimateAffine3D

+
+public static int estimateAffine3D(Mat src,
+                                   Mat dst,
+                                   Mat out,
+                                   Mat inliers,
+                                   double ransacThreshold,
+                                   double confidence)
+
+
+
+
+
+
+ +

+estimateNewCameraMatrixForUndistortRectify

+
+public static void estimateNewCameraMatrixForUndistortRectify(Mat K,
+                                                              Mat D,
+                                                              Size image_size,
+                                                              Mat R,
+                                                              Mat P)
+
+
+
+
+
+
+ +

+estimateNewCameraMatrixForUndistortRectify

+
+public static void estimateNewCameraMatrixForUndistortRectify(Mat K,
+                                                              Mat D,
+                                                              Size image_size,
+                                                              Mat R,
+                                                              Mat P,
+                                                              double balance,
+                                                              Size new_size,
+                                                              double fov_scale)
+
+
+
+
+
+
+ +

+filterSpeckles

+
+public static void filterSpeckles(Mat img,
+                                  double newVal,
+                                  int maxSpeckleSize,
+                                  double maxDiff)
+
+
+
+
+
+
+ +

+filterSpeckles

+
+public static void filterSpeckles(Mat img,
+                                  double newVal,
+                                  int maxSpeckleSize,
+                                  double maxDiff,
+                                  Mat buf)
+
+
+
+
+
+
+ +

+findChessboardCorners

+
+public static boolean findChessboardCorners(Mat image,
+                                            Size patternSize,
+                                            MatOfPoint2f corners)
+
+
+
+
+
+
+ +

+findChessboardCorners

+
+public static boolean findChessboardCorners(Mat image,
+                                            Size patternSize,
+                                            MatOfPoint2f corners,
+                                            int flags)
+
+
+
+
+
+
+ +

+findCirclesGrid

+
+public static boolean findCirclesGrid(Mat image,
+                                      Size patternSize,
+                                      Mat centers)
+
+
+
+
+
+
+ +

+findCirclesGrid

+
+public static boolean findCirclesGrid(Mat image,
+                                      Size patternSize,
+                                      Mat centers,
+                                      int flags)
+
+
+
+
+
+
+ +

+findEssentialMat

+
+public static Mat findEssentialMat(Mat points1,
+                                   Mat points2)
+
+
+
+
+
+
+ +

+findEssentialMat

+
+public static Mat findEssentialMat(Mat points1,
+                                   Mat points2,
+                                   double focal,
+                                   Point pp,
+                                   int method,
+                                   double prob,
+                                   double threshold)
+
+
+
+
+
+
+ +

+findEssentialMat

+
+public static Mat findEssentialMat(Mat points1,
+                                   Mat points2,
+                                   double focal,
+                                   Point pp,
+                                   int method,
+                                   double prob,
+                                   double threshold,
+                                   Mat mask)
+
+
+
+
+
+
+ +

+findFundamentalMat

+
+public static Mat findFundamentalMat(MatOfPoint2f points1,
+                                     MatOfPoint2f points2)
+
+
+
+
+
+
+ +

+findFundamentalMat

+
+public static Mat findFundamentalMat(MatOfPoint2f points1,
+                                     MatOfPoint2f points2,
+                                     int method,
+                                     double param1,
+                                     double param2)
+
+
+
+
+
+
+ +

+findFundamentalMat

+
+public static Mat findFundamentalMat(MatOfPoint2f points1,
+                                     MatOfPoint2f points2,
+                                     int method,
+                                     double param1,
+                                     double param2,
+                                     Mat mask)
+
+
+
+
+
+
+ +

+findHomography

+
+public static Mat findHomography(MatOfPoint2f srcPoints,
+                                 MatOfPoint2f dstPoints)
+
+
+
+
+
+
+ +

+findHomography

+
+public static Mat findHomography(MatOfPoint2f srcPoints,
+                                 MatOfPoint2f dstPoints,
+                                 int method,
+                                 double ransacReprojThreshold)
+
+
+
+
+
+
+ +

+findHomography

+
+public static Mat findHomography(MatOfPoint2f srcPoints,
+                                 MatOfPoint2f dstPoints,
+                                 int method,
+                                 double ransacReprojThreshold,
+                                 Mat mask,
+                                 int maxIters,
+                                 double confidence)
+
+
+
+
+
+
+ +

+getOptimalNewCameraMatrix

+
+public static Mat getOptimalNewCameraMatrix(Mat cameraMatrix,
+                                            Mat distCoeffs,
+                                            Size imageSize,
+                                            double alpha)
+
+
+
+
+
+
+ +

+getOptimalNewCameraMatrix

+
+public static Mat getOptimalNewCameraMatrix(Mat cameraMatrix,
+                                            Mat distCoeffs,
+                                            Size imageSize,
+                                            double alpha,
+                                            Size newImgSize,
+                                            Rect validPixROI,
+                                            boolean centerPrincipalPoint)
+
+
+
+
+
+
+ +

+getValidDisparityROI

+
+public static Rect getValidDisparityROI(Rect roi1,
+                                        Rect roi2,
+                                        int minDisparity,
+                                        int numberOfDisparities,
+                                        int SADWindowSize)
+
+
+
+
+
+
+ +

+initCameraMatrix2D

+
+public static Mat initCameraMatrix2D(java.util.List<MatOfPoint3f> objectPoints,
+                                     java.util.List<MatOfPoint2f> imagePoints,
+                                     Size imageSize)
+
+
+
+
+
+
+ +

+initCameraMatrix2D

+
+public static Mat initCameraMatrix2D(java.util.List<MatOfPoint3f> objectPoints,
+                                     java.util.List<MatOfPoint2f> imagePoints,
+                                     Size imageSize,
+                                     double aspectRatio)
+
+
+
+
+
+
+ +

+initUndistortRectifyMap

+
+public static void initUndistortRectifyMap(Mat K,
+                                           Mat D,
+                                           Mat R,
+                                           Mat P,
+                                           Size size,
+                                           int m1type,
+                                           Mat map1,
+                                           Mat map2)
+
+
+
+
+
+
+ +

+matMulDeriv

+
+public static void matMulDeriv(Mat A,
+                               Mat B,
+                               Mat dABdA,
+                               Mat dABdB)
+
+
+
+
+
+
+ +

+projectPoints

+
+public static void projectPoints(MatOfPoint3f objectPoints,
+                                 Mat rvec,
+                                 Mat tvec,
+                                 Mat cameraMatrix,
+                                 MatOfDouble distCoeffs,
+                                 MatOfPoint2f imagePoints)
+
+
+
+
+
+
+ +

+projectPoints

+
+public static void projectPoints(MatOfPoint3f objectPoints,
+                                 Mat rvec,
+                                 Mat tvec,
+                                 Mat cameraMatrix,
+                                 MatOfDouble distCoeffs,
+                                 MatOfPoint2f imagePoints,
+                                 Mat jacobian,
+                                 double aspectRatio)
+
+
+
+
+
+
+ +

+projectPoints

+
+public static void projectPoints(MatOfPoint3f objectPoints,
+                                 MatOfPoint2f imagePoints,
+                                 Mat rvec,
+                                 Mat tvec,
+                                 Mat K,
+                                 Mat D)
+
+
+
+
+
+
+ +

+projectPoints

+
+public static void projectPoints(MatOfPoint3f objectPoints,
+                                 MatOfPoint2f imagePoints,
+                                 Mat rvec,
+                                 Mat tvec,
+                                 Mat K,
+                                 Mat D,
+                                 double alpha,
+                                 Mat jacobian)
+
+
+
+
+
+
+ +

+recoverPose

+
+public static int recoverPose(Mat E,
+                              Mat points1,
+                              Mat points2,
+                              Mat R,
+                              Mat t)
+
+
+
+
+
+
+ +

+recoverPose

+
+public static int recoverPose(Mat E,
+                              Mat points1,
+                              Mat points2,
+                              Mat R,
+                              Mat t,
+                              double focal,
+                              Point pp)
+
+
+
+
+
+
+ +

+recoverPose

+
+public static int recoverPose(Mat E,
+                              Mat points1,
+                              Mat points2,
+                              Mat R,
+                              Mat t,
+                              double focal,
+                              Point pp,
+                              Mat mask)
+
+
+
+
+
+
+ +

+rectify3Collinear

+
+public static float rectify3Collinear(Mat cameraMatrix1,
+                                      Mat distCoeffs1,
+                                      Mat cameraMatrix2,
+                                      Mat distCoeffs2,
+                                      Mat cameraMatrix3,
+                                      Mat distCoeffs3,
+                                      java.util.List<Mat> imgpt1,
+                                      java.util.List<Mat> imgpt3,
+                                      Size imageSize,
+                                      Mat R12,
+                                      Mat T12,
+                                      Mat R13,
+                                      Mat T13,
+                                      Mat R1,
+                                      Mat R2,
+                                      Mat R3,
+                                      Mat P1,
+                                      Mat P2,
+                                      Mat P3,
+                                      Mat Q,
+                                      double alpha,
+                                      Size newImgSize,
+                                      Rect roi1,
+                                      Rect roi2,
+                                      int flags)
+
+
+
+
+
+
+ +

+reprojectImageTo3D

+
+public static void reprojectImageTo3D(Mat disparity,
+                                      Mat _3dImage,
+                                      Mat Q)
+
+
+
+
+
+
+ +

+reprojectImageTo3D

+
+public static void reprojectImageTo3D(Mat disparity,
+                                      Mat _3dImage,
+                                      Mat Q,
+                                      boolean handleMissingValues)
+
+
+
+
+
+
+ +

+reprojectImageTo3D

+
+public static void reprojectImageTo3D(Mat disparity,
+                                      Mat _3dImage,
+                                      Mat Q,
+                                      boolean handleMissingValues,
+                                      int ddepth)
+
+
+
+
+
+
+ +

+Rodrigues

+
+public static void Rodrigues(Mat src,
+                             Mat dst)
+
+
+
+
+
+
+ +

+Rodrigues

+
+public static void Rodrigues(Mat src,
+                             Mat dst,
+                             Mat jacobian)
+
+
+
+
+
+
+ +

+RQDecomp3x3

+
+public static double[] RQDecomp3x3(Mat src,
+                                   Mat mtxR,
+                                   Mat mtxQ)
+
+
+
+
+
+
+ +

+RQDecomp3x3

+
+public static double[] RQDecomp3x3(Mat src,
+                                   Mat mtxR,
+                                   Mat mtxQ,
+                                   Mat Qx,
+                                   Mat Qy,
+                                   Mat Qz)
+
+
+
+
+
+
+ +

+solvePnP

+
+public static boolean solvePnP(MatOfPoint3f objectPoints,
+                               MatOfPoint2f imagePoints,
+                               Mat cameraMatrix,
+                               MatOfDouble distCoeffs,
+                               Mat rvec,
+                               Mat tvec)
+
+
+
+
+
+
+ +

+solvePnP

+
+public static boolean solvePnP(MatOfPoint3f objectPoints,
+                               MatOfPoint2f imagePoints,
+                               Mat cameraMatrix,
+                               MatOfDouble distCoeffs,
+                               Mat rvec,
+                               Mat tvec,
+                               boolean useExtrinsicGuess,
+                               int flags)
+
+
+
+
+
+
+ +

+solvePnPRansac

+
+public static boolean solvePnPRansac(MatOfPoint3f objectPoints,
+                                     MatOfPoint2f imagePoints,
+                                     Mat cameraMatrix,
+                                     MatOfDouble distCoeffs,
+                                     Mat rvec,
+                                     Mat tvec)
+
+
+
+
+
+
+ +

+solvePnPRansac

+
+public static boolean solvePnPRansac(MatOfPoint3f objectPoints,
+                                     MatOfPoint2f imagePoints,
+                                     Mat cameraMatrix,
+                                     MatOfDouble distCoeffs,
+                                     Mat rvec,
+                                     Mat tvec,
+                                     boolean useExtrinsicGuess,
+                                     int iterationsCount,
+                                     float reprojectionError,
+                                     double confidence,
+                                     Mat inliers,
+                                     int flags)
+
+
+
+
+
+
+ +

+stereoCalibrate

+
+public static double stereoCalibrate(java.util.List<Mat> objectPoints,
+                                     java.util.List<Mat> imagePoints1,
+                                     java.util.List<Mat> imagePoints2,
+                                     Mat K1,
+                                     Mat D1,
+                                     Mat K2,
+                                     Mat D2,
+                                     Size imageSize,
+                                     Mat R,
+                                     Mat T)
+
+
+
+
+
+
+ +

+stereoCalibrate

+
+public static double stereoCalibrate(java.util.List<Mat> objectPoints,
+                                     java.util.List<Mat> imagePoints1,
+                                     java.util.List<Mat> imagePoints2,
+                                     Mat K1,
+                                     Mat D1,
+                                     Mat K2,
+                                     Mat D2,
+                                     Size imageSize,
+                                     Mat R,
+                                     Mat T,
+                                     int flags)
+
+
+
+
+
+
+ +

+stereoCalibrate

+
+public static double stereoCalibrate(java.util.List<Mat> objectPoints,
+                                     java.util.List<Mat> imagePoints1,
+                                     java.util.List<Mat> imagePoints2,
+                                     Mat K1,
+                                     Mat D1,
+                                     Mat K2,
+                                     Mat D2,
+                                     Size imageSize,
+                                     Mat R,
+                                     Mat T,
+                                     int flags,
+                                     TermCriteria criteria)
+
+
+
+
+
+
+ +

+stereoCalibrate

+
+public static double stereoCalibrate(java.util.List<Mat> objectPoints,
+                                     java.util.List<Mat> imagePoints1,
+                                     java.util.List<Mat> imagePoints2,
+                                     Mat cameraMatrix1,
+                                     Mat distCoeffs1,
+                                     Mat cameraMatrix2,
+                                     Mat distCoeffs2,
+                                     Size imageSize,
+                                     Mat R,
+                                     Mat T,
+                                     Mat E,
+                                     Mat F)
+
+
+
+
+
+
+ +

+stereoCalibrate

+
+public static double stereoCalibrate(java.util.List<Mat> objectPoints,
+                                     java.util.List<Mat> imagePoints1,
+                                     java.util.List<Mat> imagePoints2,
+                                     Mat cameraMatrix1,
+                                     Mat distCoeffs1,
+                                     Mat cameraMatrix2,
+                                     Mat distCoeffs2,
+                                     Size imageSize,
+                                     Mat R,
+                                     Mat T,
+                                     Mat E,
+                                     Mat F,
+                                     int flags)
+
+
+
+
+
+
+ +

+stereoCalibrate

+
+public static double stereoCalibrate(java.util.List<Mat> objectPoints,
+                                     java.util.List<Mat> imagePoints1,
+                                     java.util.List<Mat> imagePoints2,
+                                     Mat cameraMatrix1,
+                                     Mat distCoeffs1,
+                                     Mat cameraMatrix2,
+                                     Mat distCoeffs2,
+                                     Size imageSize,
+                                     Mat R,
+                                     Mat T,
+                                     Mat E,
+                                     Mat F,
+                                     int flags,
+                                     TermCriteria criteria)
+
+
+
+
+
+
+ +

+stereoRectify

+
+public static void stereoRectify(Mat cameraMatrix1,
+                                 Mat distCoeffs1,
+                                 Mat cameraMatrix2,
+                                 Mat distCoeffs2,
+                                 Size imageSize,
+                                 Mat R,
+                                 Mat T,
+                                 Mat R1,
+                                 Mat R2,
+                                 Mat P1,
+                                 Mat P2,
+                                 Mat Q)
+
+
+
+
+
+
+ +

+stereoRectify

+
+public static void stereoRectify(Mat K1,
+                                 Mat D1,
+                                 Mat K2,
+                                 Mat D2,
+                                 Size imageSize,
+                                 Mat R,
+                                 Mat tvec,
+                                 Mat R1,
+                                 Mat R2,
+                                 Mat P1,
+                                 Mat P2,
+                                 Mat Q,
+                                 int flags)
+
+
+
+
+
+
+ +

+stereoRectify

+
+public static void stereoRectify(Mat cameraMatrix1,
+                                 Mat distCoeffs1,
+                                 Mat cameraMatrix2,
+                                 Mat distCoeffs2,
+                                 Size imageSize,
+                                 Mat R,
+                                 Mat T,
+                                 Mat R1,
+                                 Mat R2,
+                                 Mat P1,
+                                 Mat P2,
+                                 Mat Q,
+                                 int flags,
+                                 double alpha,
+                                 Size newImageSize,
+                                 Rect validPixROI1,
+                                 Rect validPixROI2)
+
+
+
+
+
+
+ +

+stereoRectify

+
+public static void stereoRectify(Mat K1,
+                                 Mat D1,
+                                 Mat K2,
+                                 Mat D2,
+                                 Size imageSize,
+                                 Mat R,
+                                 Mat tvec,
+                                 Mat R1,
+                                 Mat R2,
+                                 Mat P1,
+                                 Mat P2,
+                                 Mat Q,
+                                 int flags,
+                                 Size newImageSize,
+                                 double balance,
+                                 double fov_scale)
+
+
+
+
+
+
+ +

+stereoRectifyUncalibrated

+
+public static boolean stereoRectifyUncalibrated(Mat points1,
+                                                Mat points2,
+                                                Mat F,
+                                                Size imgSize,
+                                                Mat H1,
+                                                Mat H2)
+
+
+
+
+
+
+ +

+stereoRectifyUncalibrated

+
+public static boolean stereoRectifyUncalibrated(Mat points1,
+                                                Mat points2,
+                                                Mat F,
+                                                Size imgSize,
+                                                Mat H1,
+                                                Mat H2,
+                                                double threshold)
+
+
+
+
+
+
+ +

+triangulatePoints

+
+public static void triangulatePoints(Mat projMatr1,
+                                     Mat projMatr2,
+                                     Mat projPoints1,
+                                     Mat projPoints2,
+                                     Mat points4D)
+
+
+
+
+
+
+ +

+undistortImage

+
+public static void undistortImage(Mat distorted,
+                                  Mat undistorted,
+                                  Mat K,
+                                  Mat D)
+
+
+
+
+
+
+ +

+undistortImage

+
+public static void undistortImage(Mat distorted,
+                                  Mat undistorted,
+                                  Mat K,
+                                  Mat D,
+                                  Mat Knew,
+                                  Size new_size)
+
+
+
+
+
+
+ +

+undistortPoints

+
+public static void undistortPoints(Mat distorted,
+                                   Mat undistorted,
+                                   Mat K,
+                                   Mat D)
+
+
+
+
+
+
+ +

+undistortPoints

+
+public static void undistortPoints(Mat distorted,
+                                   Mat undistorted,
+                                   Mat K,
+                                   Mat D,
+                                   Mat R,
+                                   Mat P)
+
+
+
+
+
+
+ +

+validateDisparity

+
+public static void validateDisparity(Mat disparity,
+                                     Mat cost,
+                                     int minDisparity,
+                                     int numberOfDisparities)
+
+
+
+
+
+
+ +

+validateDisparity

+
+public static void validateDisparity(Mat disparity,
+                                     Mat cost,
+                                     int minDisparity,
+                                     int numberOfDisparities,
+                                     int disp12MaxDisp)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/calib3d/StereoBM.html b/opencv3/javadoc/org/opencv/calib3d/StereoBM.html new file mode 100644 index 0000000..a03c8b3 --- /dev/null +++ b/opencv3/javadoc/org/opencv/calib3d/StereoBM.html @@ -0,0 +1,623 @@ + + + + + + +StereoBM + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.calib3d +
+Class StereoBM

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.calib3d.StereoMatcher
+          extended by org.opencv.calib3d.StereoBM
+
+
+
+
public class StereoBM
extends StereoMatcher
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intPREFILTER_NORMALIZED_RESPONSE + +
+           
+static intPREFILTER_XSOBEL + +
+           
+ + + + + + + +
Fields inherited from class org.opencv.calib3d.StereoMatcher
DISP_SCALE, DISP_SHIFT
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StereoBMcreate() + +
+           
+static StereoBMcreate(int numDisparities, + int blockSize) + +
+           
+ intgetPreFilterCap() + +
+           
+ intgetPreFilterSize() + +
+           
+ intgetPreFilterType() + +
+           
+ RectgetROI1() + +
+           
+ RectgetROI2() + +
+           
+ intgetSmallerBlockSize() + +
+           
+ intgetTextureThreshold() + +
+           
+ intgetUniquenessRatio() + +
+           
+ voidsetPreFilterCap(int preFilterCap) + +
+           
+ voidsetPreFilterSize(int preFilterSize) + +
+           
+ voidsetPreFilterType(int preFilterType) + +
+           
+ voidsetROI1(Rect roi1) + +
+           
+ voidsetROI2(Rect roi2) + +
+           
+ voidsetSmallerBlockSize(int blockSize) + +
+           
+ voidsetTextureThreshold(int textureThreshold) + +
+           
+ voidsetUniquenessRatio(int uniquenessRatio) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.calib3d.StereoMatcher
compute, getBlockSize, getDisp12MaxDiff, getMinDisparity, getNumDisparities, getSpeckleRange, getSpeckleWindowSize, setBlockSize, setDisp12MaxDiff, setMinDisparity, setNumDisparities, setSpeckleRange, setSpeckleWindowSize
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PREFILTER_NORMALIZED_RESPONSE

+
+public static final int PREFILTER_NORMALIZED_RESPONSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PREFILTER_XSOBEL

+
+public static final int PREFILTER_XSOBEL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static StereoBM create()
+
+
+
+
+
+
+ +

+create

+
+public static StereoBM create(int numDisparities,
+                              int blockSize)
+
+
+
+
+
+
+ +

+getPreFilterCap

+
+public int getPreFilterCap()
+
+
+
+
+
+
+ +

+getPreFilterSize

+
+public int getPreFilterSize()
+
+
+
+
+
+
+ +

+getPreFilterType

+
+public int getPreFilterType()
+
+
+
+
+
+
+ +

+getROI1

+
+public Rect getROI1()
+
+
+
+
+
+
+ +

+getROI2

+
+public Rect getROI2()
+
+
+
+
+
+
+ +

+getSmallerBlockSize

+
+public int getSmallerBlockSize()
+
+
+
+
+
+
+ +

+getTextureThreshold

+
+public int getTextureThreshold()
+
+
+
+
+
+
+ +

+getUniquenessRatio

+
+public int getUniquenessRatio()
+
+
+
+
+
+
+ +

+setPreFilterCap

+
+public void setPreFilterCap(int preFilterCap)
+
+
+
+
+
+
+ +

+setPreFilterSize

+
+public void setPreFilterSize(int preFilterSize)
+
+
+
+
+
+
+ +

+setPreFilterType

+
+public void setPreFilterType(int preFilterType)
+
+
+
+
+
+
+ +

+setROI1

+
+public void setROI1(Rect roi1)
+
+
+
+
+
+
+ +

+setROI2

+
+public void setROI2(Rect roi2)
+
+
+
+
+
+
+ +

+setSmallerBlockSize

+
+public void setSmallerBlockSize(int blockSize)
+
+
+
+
+
+
+ +

+setTextureThreshold

+
+public void setTextureThreshold(int textureThreshold)
+
+
+
+
+
+
+ +

+setUniquenessRatio

+
+public void setUniquenessRatio(int uniquenessRatio)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/calib3d/StereoMatcher.html b/opencv3/javadoc/org/opencv/calib3d/StereoMatcher.html new file mode 100644 index 0000000..cce9108 --- /dev/null +++ b/opencv3/javadoc/org/opencv/calib3d/StereoMatcher.html @@ -0,0 +1,514 @@ + + + + + + +StereoMatcher + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.calib3d +
+Class StereoMatcher

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.calib3d.StereoMatcher
+
+
+
Direct Known Subclasses:
StereoBM, StereoSGBM
+
+
+
+
public class StereoMatcher
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intDISP_SCALE + +
+           
+static intDISP_SHIFT + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcompute(Mat left, + Mat right, + Mat disparity) + +
+           
+ intgetBlockSize() + +
+           
+ intgetDisp12MaxDiff() + +
+           
+ intgetMinDisparity() + +
+           
+ intgetNumDisparities() + +
+           
+ intgetSpeckleRange() + +
+           
+ intgetSpeckleWindowSize() + +
+           
+ voidsetBlockSize(int blockSize) + +
+           
+ voidsetDisp12MaxDiff(int disp12MaxDiff) + +
+           
+ voidsetMinDisparity(int minDisparity) + +
+           
+ voidsetNumDisparities(int numDisparities) + +
+           
+ voidsetSpeckleRange(int speckleRange) + +
+           
+ voidsetSpeckleWindowSize(int speckleWindowSize) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DISP_SCALE

+
+public static final int DISP_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DISP_SHIFT

+
+public static final int DISP_SHIFT
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+compute

+
+public void compute(Mat left,
+                    Mat right,
+                    Mat disparity)
+
+
+
+
+
+
+ +

+getBlockSize

+
+public int getBlockSize()
+
+
+
+
+
+
+ +

+getDisp12MaxDiff

+
+public int getDisp12MaxDiff()
+
+
+
+
+
+
+ +

+getMinDisparity

+
+public int getMinDisparity()
+
+
+
+
+
+
+ +

+getNumDisparities

+
+public int getNumDisparities()
+
+
+
+
+
+
+ +

+getSpeckleRange

+
+public int getSpeckleRange()
+
+
+
+
+
+
+ +

+getSpeckleWindowSize

+
+public int getSpeckleWindowSize()
+
+
+
+
+
+
+ +

+setBlockSize

+
+public void setBlockSize(int blockSize)
+
+
+
+
+
+
+ +

+setDisp12MaxDiff

+
+public void setDisp12MaxDiff(int disp12MaxDiff)
+
+
+
+
+
+
+ +

+setMinDisparity

+
+public void setMinDisparity(int minDisparity)
+
+
+
+
+
+
+ +

+setNumDisparities

+
+public void setNumDisparities(int numDisparities)
+
+
+
+
+
+
+ +

+setSpeckleRange

+
+public void setSpeckleRange(int speckleRange)
+
+
+
+
+
+
+ +

+setSpeckleWindowSize

+
+public void setSpeckleWindowSize(int speckleWindowSize)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/calib3d/StereoSGBM.html b/opencv3/javadoc/org/opencv/calib3d/StereoSGBM.html new file mode 100644 index 0000000..0202ca2 --- /dev/null +++ b/opencv3/javadoc/org/opencv/calib3d/StereoSGBM.html @@ -0,0 +1,531 @@ + + + + + + +StereoSGBM + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.calib3d +
+Class StereoSGBM

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.calib3d.StereoMatcher
+          extended by org.opencv.calib3d.StereoSGBM
+
+
+
+
public class StereoSGBM
extends StereoMatcher
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intMODE_HH + +
+           
+static intMODE_SGBM + +
+           
+ + + + + + + +
Fields inherited from class org.opencv.calib3d.StereoMatcher
DISP_SCALE, DISP_SHIFT
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static StereoSGBMcreate(int minDisparity, + int numDisparities, + int blockSize) + +
+           
+static StereoSGBMcreate(int minDisparity, + int numDisparities, + int blockSize, + int P1, + int P2, + int disp12MaxDiff, + int preFilterCap, + int uniquenessRatio, + int speckleWindowSize, + int speckleRange, + int mode) + +
+           
+ intgetMode() + +
+           
+ intgetP1() + +
+           
+ intgetP2() + +
+           
+ intgetPreFilterCap() + +
+           
+ intgetUniquenessRatio() + +
+           
+ voidsetMode(int mode) + +
+           
+ voidsetP1(int P1) + +
+           
+ voidsetP2(int P2) + +
+           
+ voidsetPreFilterCap(int preFilterCap) + +
+           
+ voidsetUniquenessRatio(int uniquenessRatio) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.calib3d.StereoMatcher
compute, getBlockSize, getDisp12MaxDiff, getMinDisparity, getNumDisparities, getSpeckleRange, getSpeckleWindowSize, setBlockSize, setDisp12MaxDiff, setMinDisparity, setNumDisparities, setSpeckleRange, setSpeckleWindowSize
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MODE_HH

+
+public static final int MODE_HH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MODE_SGBM

+
+public static final int MODE_SGBM
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static StereoSGBM create(int minDisparity,
+                                int numDisparities,
+                                int blockSize)
+
+
+
+
+
+
+ +

+create

+
+public static StereoSGBM create(int minDisparity,
+                                int numDisparities,
+                                int blockSize,
+                                int P1,
+                                int P2,
+                                int disp12MaxDiff,
+                                int preFilterCap,
+                                int uniquenessRatio,
+                                int speckleWindowSize,
+                                int speckleRange,
+                                int mode)
+
+
+
+
+
+
+ +

+getMode

+
+public int getMode()
+
+
+
+
+
+
+ +

+getP1

+
+public int getP1()
+
+
+
+
+
+
+ +

+getP2

+
+public int getP2()
+
+
+
+
+
+
+ +

+getPreFilterCap

+
+public int getPreFilterCap()
+
+
+
+
+
+
+ +

+getUniquenessRatio

+
+public int getUniquenessRatio()
+
+
+
+
+
+
+ +

+setMode

+
+public void setMode(int mode)
+
+
+
+
+
+
+ +

+setP1

+
+public void setP1(int P1)
+
+
+
+
+
+
+ +

+setP2

+
+public void setP2(int P2)
+
+
+
+
+
+
+ +

+setPreFilterCap

+
+public void setPreFilterCap(int preFilterCap)
+
+
+
+
+
+
+ +

+setUniquenessRatio

+
+public void setUniquenessRatio(int uniquenessRatio)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/calib3d/package-frame.html b/opencv3/javadoc/org/opencv/calib3d/package-frame.html new file mode 100644 index 0000000..fd6d389 --- /dev/null +++ b/opencv3/javadoc/org/opencv/calib3d/package-frame.html @@ -0,0 +1,38 @@ + + + + + + +org.opencv.calib3d + + + + + + + + + + + +org.opencv.calib3d + + + + +
+Classes  + +
+Calib3d +
+StereoBM +
+StereoMatcher +
+StereoSGBM
+ + + + diff --git a/opencv3/javadoc/org/opencv/calib3d/package-summary.html b/opencv3/javadoc/org/opencv/calib3d/package-summary.html new file mode 100644 index 0000000..e97901d --- /dev/null +++ b/opencv3/javadoc/org/opencv/calib3d/package-summary.html @@ -0,0 +1,165 @@ + + + + + + +org.opencv.calib3d + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.calib3d +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
Calib3d 
StereoBM 
StereoMatcher 
StereoSGBM 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/calib3d/package-tree.html b/opencv3/javadoc/org/opencv/calib3d/package-tree.html new file mode 100644 index 0000000..0310179 --- /dev/null +++ b/opencv3/javadoc/org/opencv/calib3d/package-tree.html @@ -0,0 +1,153 @@ + + + + + + +org.opencv.calib3d Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.calib3d +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Algorithm.html b/opencv3/javadoc/org/opencv/core/Algorithm.html new file mode 100644 index 0000000..706cf26 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Algorithm.html @@ -0,0 +1,256 @@ + + + + + + +Algorithm + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Algorithm

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+
+
+
Direct Known Subclasses:
AlignExposures, BackgroundSubtractor, BaseCascadeClassifier, CalibrateCRF, CLAHE, DenseOpticalFlow, LineSegmentDetector, MergeExposures, StatModel, StereoMatcher, Tonemap
+
+
+
+
public class Algorithm
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+           
+ java.lang.StringgetDefaultName() + +
+           
+ voidsave(java.lang.String filename) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+ +

+getDefaultName

+
+public java.lang.String getDefaultName()
+
+
+
+
+
+
+ +

+save

+
+public void save(java.lang.String filename)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Core.MinMaxLocResult.html b/opencv3/javadoc/org/opencv/core/Core.MinMaxLocResult.html new file mode 100644 index 0000000..60af85d --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Core.MinMaxLocResult.html @@ -0,0 +1,313 @@ + + + + + + +Core.MinMaxLocResult + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Core.MinMaxLocResult

+
+java.lang.Object
+  extended by org.opencv.core.Core.MinMaxLocResult
+
+
+
Enclosing class:
Core
+
+
+
+
public static class Core.MinMaxLocResult
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+ PointmaxLoc + +
+           
+ doublemaxVal + +
+           
+ PointminLoc + +
+           
+ doubleminVal + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Core.MinMaxLocResult() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+maxLoc

+
+public Point maxLoc
+
+
+
+
+
+ +

+maxVal

+
+public double maxVal
+
+
+
+
+
+ +

+minLoc

+
+public Point minLoc
+
+
+
+
+
+ +

+minVal

+
+public double minVal
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Core.MinMaxLocResult

+
+public Core.MinMaxLocResult()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Core.html b/opencv3/javadoc/org/opencv/core/Core.html new file mode 100644 index 0000000..d6c531e --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Core.html @@ -0,0 +1,6884 @@ + + + + + + +Core + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Core

+
+java.lang.Object
+  extended by org.opencv.core.Core
+
+
+
+
public class Core
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Nested Class Summary
+static classCore.MinMaxLocResult + +
+           
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intBadAlign + +
+           
+static intBadAlphaChannel + +
+           
+static intBadCallBack + +
+           
+static intBadCOI + +
+           
+static intBadDataPtr + +
+           
+static intBadDepth + +
+           
+static intBadImageSize + +
+           
+static intBadModelOrChSeq + +
+           
+static intBadNumChannel1U + +
+           
+static intBadNumChannels + +
+           
+static intBadOffset + +
+           
+static intBadOrder + +
+           
+static intBadOrigin + +
+           
+static intBadROISize + +
+           
+static intBadStep + +
+           
+static intBadTileSize + +
+           
+static intBORDER_CONSTANT + +
+           
+static intBORDER_DEFAULT + +
+           
+static intBORDER_ISOLATED + +
+           
+static intBORDER_REFLECT + +
+           
+static intBORDER_REFLECT_101 + +
+           
+static intBORDER_REFLECT101 + +
+           
+static intBORDER_REPLICATE + +
+           
+static intBORDER_TRANSPARENT + +
+           
+static intBORDER_WRAP + +
+           
+static intCMP_EQ + +
+           
+static intCMP_GE + +
+           
+static intCMP_GT + +
+           
+static intCMP_LE + +
+           
+static intCMP_LT + +
+           
+static intCMP_NE + +
+           
+static intCOVAR_COLS + +
+           
+static intCOVAR_NORMAL + +
+           
+static intCOVAR_ROWS + +
+           
+static intCOVAR_SCALE + +
+           
+static intCOVAR_SCRAMBLED + +
+           
+static intCOVAR_USE_AVG + +
+           
+static intCPU_AVX + +
+           
+static intCPU_AVX_512BW + +
+           
+static intCPU_AVX_512CD + +
+           
+static intCPU_AVX_512DQ + +
+           
+static intCPU_AVX_512ER + +
+           
+static intCPU_AVX_512F + +
+           
+static intCPU_AVX_512IFMA512 + +
+           
+static intCPU_AVX_512PF + +
+           
+static intCPU_AVX_512VBMI + +
+           
+static intCPU_AVX_512VL + +
+           
+static intCPU_AVX2 + +
+           
+static intCPU_FMA3 + +
+           
+static intCPU_MMX + +
+           
+static intCPU_NEON + +
+           
+static intCPU_POPCNT + +
+           
+static intCPU_SSE + +
+           
+static intCPU_SSE2 + +
+           
+static intCPU_SSE3 + +
+           
+static intCPU_SSE4_1 + +
+           
+static intCPU_SSE4_2 + +
+           
+static intCPU_SSSE3 + +
+           
+static intDCT_INVERSE + +
+           
+static intDCT_ROWS + +
+           
+static intDECOMP_CHOLESKY + +
+           
+static intDECOMP_EIG + +
+           
+static intDECOMP_LU + +
+           
+static intDECOMP_NORMAL + +
+           
+static intDECOMP_QR + +
+           
+static intDECOMP_SVD + +
+           
+static intDFT_COMPLEX_OUTPUT + +
+           
+static intDFT_INVERSE + +
+           
+static intDFT_REAL_OUTPUT + +
+           
+static intDFT_ROWS + +
+           
+static intDFT_SCALE + +
+           
+static intFILLED + +
+           
+static intFONT_HERSHEY_COMPLEX + +
+           
+static intFONT_HERSHEY_COMPLEX_SMALL + +
+           
+static intFONT_HERSHEY_DUPLEX + +
+           
+static intFONT_HERSHEY_PLAIN + +
+           
+static intFONT_HERSHEY_SCRIPT_COMPLEX + +
+           
+static intFONT_HERSHEY_SCRIPT_SIMPLEX + +
+           
+static intFONT_HERSHEY_SIMPLEX + +
+           
+static intFONT_HERSHEY_TRIPLEX + +
+           
+static intFONT_ITALIC + +
+           
+static intGEMM_1_T + +
+           
+static intGEMM_2_T + +
+           
+static intGEMM_3_T + +
+           
+static intGpuApiCallError + +
+           
+static intGpuNotSupported + +
+           
+static intHeaderIsNull + +
+           
+static intKMEANS_PP_CENTERS + +
+           
+static intKMEANS_RANDOM_CENTERS + +
+           
+static intKMEANS_USE_INITIAL_LABELS + +
+           
+static intLINE_4 + +
+           
+static intLINE_8 + +
+           
+static intLINE_AA + +
+           
+static intMaskIsTiled + +
+           
+static java.lang.StringNATIVE_LIBRARY_NAME + +
+           
+static intNORM_HAMMING + +
+           
+static intNORM_HAMMING2 + +
+           
+static intNORM_INF + +
+           
+static intNORM_L1 + +
+           
+static intNORM_L2 + +
+           
+static intNORM_L2SQR + +
+           
+static intNORM_MINMAX + +
+           
+static intNORM_RELATIVE + +
+           
+static intNORM_TYPE_MASK + +
+           
+static intOpenCLApiCallError + +
+           
+static intOpenCLDoubleNotSupported + +
+           
+static intOpenCLInitError + +
+           
+static intOpenCLNoAMDBlasFft + +
+           
+static intOpenGlApiCallError + +
+           
+static intOpenGlNotSupported + +
+           
+static intREDUCE_AVG + +
+           
+static intREDUCE_MAX + +
+           
+static intREDUCE_MIN + +
+           
+static intREDUCE_SUM + +
+           
+static intSORT_ASCENDING + +
+           
+static intSORT_DESCENDING + +
+           
+static intSORT_EVERY_COLUMN + +
+           
+static intSORT_EVERY_ROW + +
+           
+static intStsAssert + +
+           
+static intStsAutoTrace + +
+           
+static intStsBackTrace + +
+           
+static intStsBadArg + +
+           
+static intStsBadFlag + +
+           
+static intStsBadFunc + +
+           
+static intStsBadMask + +
+           
+static intStsBadMemBlock + +
+           
+static intStsBadPoint + +
+           
+static intStsBadSize + +
+           
+static intStsDivByZero + +
+           
+static intStsError + +
+           
+static intStsFilterOffsetErr + +
+           
+static intStsFilterStructContentErr + +
+           
+static intStsInplaceNotSupported + +
+           
+static intStsInternal + +
+           
+static intStsKernelStructContentErr + +
+           
+static intStsNoConv + +
+           
+static intStsNoMem + +
+           
+static intStsNotImplemented + +
+           
+static intStsNullPtr + +
+           
+static intStsObjectNotFound + +
+           
+static intStsOk + +
+           
+static intStsOutOfRange + +
+           
+static intStsParseError + +
+           
+static intStsUnmatchedFormats + +
+           
+static intStsUnmatchedSizes + +
+           
+static intStsUnsupportedFormat + +
+           
+static intStsVecLengthErr + +
+           
+static intSVD_FULL_UV + +
+           
+static intSVD_MODIFY_A + +
+           
+static intSVD_NO_UV + +
+           
+static java.lang.StringVERSION + +
+           
+static intVERSION_MAJOR + +
+           
+static intVERSION_MINOR + +
+           
+static intVERSION_REVISION + +
+           
+static java.lang.StringVERSION_STATUS + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Core() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidabsdiff(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidabsdiff(Mat src1, + Scalar src2, + Mat dst) + +
+           
+static voidadd(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidadd(Mat src1, + Mat src2, + Mat dst, + Mat mask) + +
+           
+static voidadd(Mat src1, + Mat src2, + Mat dst, + Mat mask, + int dtype) + +
+           
+static voidadd(Mat src1, + Scalar src2, + Mat dst) + +
+           
+static voidadd(Mat src1, + Scalar src2, + Mat dst, + Mat mask) + +
+           
+static voidadd(Mat src1, + Scalar src2, + Mat dst, + Mat mask, + int dtype) + +
+           
+static voidaddWeighted(Mat src1, + double alpha, + Mat src2, + double beta, + double gamma, + Mat dst) + +
+           
+static voidaddWeighted(Mat src1, + double alpha, + Mat src2, + double beta, + double gamma, + Mat dst, + int dtype) + +
+           
+static voidbatchDistance(Mat src1, + Mat src2, + Mat dist, + int dtype, + Mat nidx) + +
+           
+static voidbatchDistance(Mat src1, + Mat src2, + Mat dist, + int dtype, + Mat nidx, + int normType, + int K) + +
+           
+static voidbatchDistance(Mat src1, + Mat src2, + Mat dist, + int dtype, + Mat nidx, + int normType, + int K, + Mat mask, + int update, + boolean crosscheck) + +
+           
+static voidbitwise_and(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidbitwise_and(Mat src1, + Mat src2, + Mat dst, + Mat mask) + +
+           
+static voidbitwise_not(Mat src, + Mat dst) + +
+           
+static voidbitwise_not(Mat src, + Mat dst, + Mat mask) + +
+           
+static voidbitwise_or(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidbitwise_or(Mat src1, + Mat src2, + Mat dst, + Mat mask) + +
+           
+static voidbitwise_xor(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidbitwise_xor(Mat src1, + Mat src2, + Mat dst, + Mat mask) + +
+           
+static intborderInterpolate(int p, + int len, + int borderType) + +
+           
+static voidcalcCovarMatrix(Mat samples, + Mat covar, + Mat mean, + int flags) + +
+           
+static voidcalcCovarMatrix(Mat samples, + Mat covar, + Mat mean, + int flags, + int ctype) + +
+           
+static voidcartToPolar(Mat x, + Mat y, + Mat magnitude, + Mat angle) + +
+           
+static voidcartToPolar(Mat x, + Mat y, + Mat magnitude, + Mat angle, + boolean angleInDegrees) + +
+           
+static booleancheckRange(Mat a) + +
+           
+static booleancheckRange(Mat a, + boolean quiet, + double minVal, + double maxVal) + +
+           
+static voidcompare(Mat src1, + Mat src2, + Mat dst, + int cmpop) + +
+           
+static voidcompare(Mat src1, + Scalar src2, + Mat dst, + int cmpop) + +
+           
+static voidcompleteSymm(Mat mtx) + +
+           
+static voidcompleteSymm(Mat mtx, + boolean lowerToUpper) + +
+           
+static voidconvertScaleAbs(Mat src, + Mat dst) + +
+           
+static voidconvertScaleAbs(Mat src, + Mat dst, + double alpha, + double beta) + +
+           
+static voidcopyMakeBorder(Mat src, + Mat dst, + int top, + int bottom, + int left, + int right, + int borderType) + +
+           
+static voidcopyMakeBorder(Mat src, + Mat dst, + int top, + int bottom, + int left, + int right, + int borderType, + Scalar value) + +
+           
+static intcountNonZero(Mat src) + +
+           
+static floatcubeRoot(float val) + +
+           
+static voiddct(Mat src, + Mat dst) + +
+           
+static voiddct(Mat src, + Mat dst, + int flags) + +
+           
+static doubledeterminant(Mat mtx) + +
+           
+static voiddft(Mat src, + Mat dst) + +
+           
+static voiddft(Mat src, + Mat dst, + int flags, + int nonzeroRows) + +
+           
+static voiddivide(double scale, + Mat src2, + Mat dst) + +
+           
+static voiddivide(double scale, + Mat src2, + Mat dst, + int dtype) + +
+           
+static voiddivide(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voiddivide(Mat src1, + Mat src2, + Mat dst, + double scale) + +
+           
+static voiddivide(Mat src1, + Mat src2, + Mat dst, + double scale, + int dtype) + +
+           
+static voiddivide(Mat src1, + Scalar src2, + Mat dst) + +
+           
+static voiddivide(Mat src1, + Scalar src2, + Mat dst, + double scale) + +
+           
+static voiddivide(Mat src1, + Scalar src2, + Mat dst, + double scale, + int dtype) + +
+           
+static booleaneigen(Mat src, + Mat eigenvalues) + +
+           
+static booleaneigen(Mat src, + Mat eigenvalues, + Mat eigenvectors) + +
+           
+static voidexp(Mat src, + Mat dst) + +
+           
+static voidextractChannel(Mat src, + Mat dst, + int coi) + +
+           
+static floatfastAtan2(float y, + float x) + +
+           
+static voidfindNonZero(Mat src, + Mat idx) + +
+           
+static voidflip(Mat src, + Mat dst, + int flipCode) + +
+           
+static voidgemm(Mat src1, + Mat src2, + double alpha, + Mat src3, + double beta, + Mat dst) + +
+           
+static voidgemm(Mat src1, + Mat src2, + double alpha, + Mat src3, + double beta, + Mat dst, + int flags) + +
+           
+static java.lang.StringgetBuildInformation() + +
+           
+static longgetCPUTickCount() + +
+           
+static intgetNumberOfCPUs() + +
+           
+static intgetOptimalDFTSize(int vecsize) + +
+           
+static longgetTickCount() + +
+           
+static doublegetTickFrequency() + +
+           
+static voidhconcat(java.util.List<Mat> src, + Mat dst) + +
+           
+static voididct(Mat src, + Mat dst) + +
+           
+static voididct(Mat src, + Mat dst, + int flags) + +
+           
+static voididft(Mat src, + Mat dst) + +
+           
+static voididft(Mat src, + Mat dst, + int flags, + int nonzeroRows) + +
+           
+static voidinRange(Mat src, + Scalar lowerb, + Scalar upperb, + Mat dst) + +
+           
+static voidinsertChannel(Mat src, + Mat dst, + int coi) + +
+           
+static doubleinvert(Mat src, + Mat dst) + +
+           
+static doubleinvert(Mat src, + Mat dst, + int flags) + +
+           
+static doublekmeans(Mat data, + int K, + Mat bestLabels, + TermCriteria criteria, + int attempts, + int flags) + +
+           
+static doublekmeans(Mat data, + int K, + Mat bestLabels, + TermCriteria criteria, + int attempts, + int flags, + Mat centers) + +
+           
+static voidlog(Mat src, + Mat dst) + +
+           
+static voidLUT(Mat src, + Mat lut, + Mat dst) + +
+           
+static voidmagnitude(Mat x, + Mat y, + Mat magnitude) + +
+           
+static doubleMahalanobis(Mat v1, + Mat v2, + Mat icovar) + +
+           
+static voidmax(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidmax(Mat src1, + Scalar src2, + Mat dst) + +
+           
+static Scalarmean(Mat src) + +
+           
+static Scalarmean(Mat src, + Mat mask) + +
+           
+static voidmeanStdDev(Mat src, + MatOfDouble mean, + MatOfDouble stddev) + +
+           
+static voidmeanStdDev(Mat src, + MatOfDouble mean, + MatOfDouble stddev, + Mat mask) + +
+           
+static voidmerge(java.util.List<Mat> mv, + Mat dst) + +
+           
+static voidmin(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidmin(Mat src1, + Scalar src2, + Mat dst) + +
+           
+static Core.MinMaxLocResultminMaxLoc(Mat src) + +
+           
+static Core.MinMaxLocResultminMaxLoc(Mat src, + Mat mask) + +
+           
+static voidmixChannels(java.util.List<Mat> src, + java.util.List<Mat> dst, + MatOfInt fromTo) + +
+           
+static voidmulSpectrums(Mat a, + Mat b, + Mat c, + int flags) + +
+           
+static voidmulSpectrums(Mat a, + Mat b, + Mat c, + int flags, + boolean conjB) + +
+           
+static voidmultiply(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidmultiply(Mat src1, + Mat src2, + Mat dst, + double scale) + +
+           
+static voidmultiply(Mat src1, + Mat src2, + Mat dst, + double scale, + int dtype) + +
+           
+static voidmultiply(Mat src1, + Scalar src2, + Mat dst) + +
+           
+static voidmultiply(Mat src1, + Scalar src2, + Mat dst, + double scale) + +
+           
+static voidmultiply(Mat src1, + Scalar src2, + Mat dst, + double scale, + int dtype) + +
+           
+static voidmulTransposed(Mat src, + Mat dst, + boolean aTa) + +
+           
+static voidmulTransposed(Mat src, + Mat dst, + boolean aTa, + Mat delta, + double scale) + +
+           
+static voidmulTransposed(Mat src, + Mat dst, + boolean aTa, + Mat delta, + double scale, + int dtype) + +
+           
+static doublenorm(Mat src1) + +
+           
+static doublenorm(Mat src1, + int normType) + +
+           
+static doublenorm(Mat src1, + int normType, + Mat mask) + +
+           
+static doublenorm(Mat src1, + Mat src2) + +
+           
+static doublenorm(Mat src1, + Mat src2, + int normType) + +
+           
+static doublenorm(Mat src1, + Mat src2, + int normType, + Mat mask) + +
+           
+static voidnormalize(Mat src, + Mat dst) + +
+           
+static voidnormalize(Mat src, + Mat dst, + double alpha, + double beta, + int norm_type) + +
+           
+static voidnormalize(Mat src, + Mat dst, + double alpha, + double beta, + int norm_type, + int dtype) + +
+           
+static voidnormalize(Mat src, + Mat dst, + double alpha, + double beta, + int norm_type, + int dtype, + Mat mask) + +
+           
+static voidpatchNaNs(Mat a) + +
+           
+static voidpatchNaNs(Mat a, + double val) + +
+           
+static voidPCABackProject(Mat data, + Mat mean, + Mat eigenvectors, + Mat result) + +
+           
+static voidPCACompute(Mat data, + Mat mean, + Mat eigenvectors) + +
+           
+static voidPCACompute(Mat data, + Mat mean, + Mat eigenvectors, + double retainedVariance) + +
+           
+static voidPCACompute(Mat data, + Mat mean, + Mat eigenvectors, + int maxComponents) + +
+           
+static voidPCAProject(Mat data, + Mat mean, + Mat eigenvectors, + Mat result) + +
+           
+static voidperspectiveTransform(Mat src, + Mat dst, + Mat m) + +
+           
+static voidphase(Mat x, + Mat y, + Mat angle) + +
+           
+static voidphase(Mat x, + Mat y, + Mat angle, + boolean angleInDegrees) + +
+           
+static voidpolarToCart(Mat magnitude, + Mat angle, + Mat x, + Mat y) + +
+           
+static voidpolarToCart(Mat magnitude, + Mat angle, + Mat x, + Mat y, + boolean angleInDegrees) + +
+           
+static voidpow(Mat src, + double power, + Mat dst) + +
+           
+static doublePSNR(Mat src1, + Mat src2) + +
+           
+static voidrandn(Mat dst, + double mean, + double stddev) + +
+           
+static voidrandShuffle(Mat dst) + +
+           
+static voidrandShuffle(Mat dst, + double iterFactor) + +
+           
+static voidrandu(Mat dst, + double low, + double high) + +
+           
+static voidreduce(Mat src, + Mat dst, + int dim, + int rtype) + +
+           
+static voidreduce(Mat src, + Mat dst, + int dim, + int rtype, + int dtype) + +
+           
+static voidrepeat(Mat src, + int ny, + int nx, + Mat dst) + +
+           
+static voidscaleAdd(Mat src1, + double alpha, + Mat src2, + Mat dst) + +
+           
+static voidsetErrorVerbosity(boolean verbose) + +
+           
+static voidsetIdentity(Mat mtx) + +
+           
+static voidsetIdentity(Mat mtx, + Scalar s) + +
+           
+static booleansolve(Mat src1, + Mat src2, + Mat dst) + +
+           
+static booleansolve(Mat src1, + Mat src2, + Mat dst, + int flags) + +
+           
+static intsolveCubic(Mat coeffs, + Mat roots) + +
+           
+static doublesolvePoly(Mat coeffs, + Mat roots) + +
+           
+static doublesolvePoly(Mat coeffs, + Mat roots, + int maxIters) + +
+           
+static voidsort(Mat src, + Mat dst, + int flags) + +
+           
+static voidsortIdx(Mat src, + Mat dst, + int flags) + +
+           
+static voidsplit(Mat m, + java.util.List<Mat> mv) + +
+           
+static voidsqrt(Mat src, + Mat dst) + +
+           
+static voidsubtract(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidsubtract(Mat src1, + Mat src2, + Mat dst, + Mat mask) + +
+           
+static voidsubtract(Mat src1, + Mat src2, + Mat dst, + Mat mask, + int dtype) + +
+           
+static voidsubtract(Mat src1, + Scalar src2, + Mat dst) + +
+           
+static voidsubtract(Mat src1, + Scalar src2, + Mat dst, + Mat mask) + +
+           
+static voidsubtract(Mat src1, + Scalar src2, + Mat dst, + Mat mask, + int dtype) + +
+           
+static ScalarsumElems(Mat src) + +
+           
+static voidSVBackSubst(Mat w, + Mat u, + Mat vt, + Mat rhs, + Mat dst) + +
+           
+static voidSVDecomp(Mat src, + Mat w, + Mat u, + Mat vt) + +
+           
+static voidSVDecomp(Mat src, + Mat w, + Mat u, + Mat vt, + int flags) + +
+           
+static Scalartrace(Mat mtx) + +
+           
+static voidtransform(Mat src, + Mat dst, + Mat m) + +
+           
+static voidtranspose(Mat src, + Mat dst) + +
+           
+static voidvconcat(java.util.List<Mat> src, + Mat dst) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+BadAlign

+
+public static final int BadAlign
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadAlphaChannel

+
+public static final int BadAlphaChannel
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadCallBack

+
+public static final int BadCallBack
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadCOI

+
+public static final int BadCOI
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadDataPtr

+
+public static final int BadDataPtr
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadDepth

+
+public static final int BadDepth
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadImageSize

+
+public static final int BadImageSize
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadModelOrChSeq

+
+public static final int BadModelOrChSeq
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadNumChannel1U

+
+public static final int BadNumChannel1U
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadNumChannels

+
+public static final int BadNumChannels
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadOffset

+
+public static final int BadOffset
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadOrder

+
+public static final int BadOrder
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadOrigin

+
+public static final int BadOrigin
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadROISize

+
+public static final int BadROISize
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadStep

+
+public static final int BadStep
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BadTileSize

+
+public static final int BadTileSize
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BORDER_CONSTANT

+
+public static final int BORDER_CONSTANT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BORDER_DEFAULT

+
+public static final int BORDER_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BORDER_ISOLATED

+
+public static final int BORDER_ISOLATED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BORDER_REFLECT

+
+public static final int BORDER_REFLECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BORDER_REFLECT_101

+
+public static final int BORDER_REFLECT_101
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BORDER_REFLECT101

+
+public static final int BORDER_REFLECT101
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BORDER_REPLICATE

+
+public static final int BORDER_REPLICATE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BORDER_TRANSPARENT

+
+public static final int BORDER_TRANSPARENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BORDER_WRAP

+
+public static final int BORDER_WRAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CMP_EQ

+
+public static final int CMP_EQ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CMP_GE

+
+public static final int CMP_GE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CMP_GT

+
+public static final int CMP_GT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CMP_LE

+
+public static final int CMP_LE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CMP_LT

+
+public static final int CMP_LT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CMP_NE

+
+public static final int CMP_NE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COVAR_COLS

+
+public static final int COVAR_COLS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COVAR_NORMAL

+
+public static final int COVAR_NORMAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COVAR_ROWS

+
+public static final int COVAR_ROWS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COVAR_SCALE

+
+public static final int COVAR_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COVAR_SCRAMBLED

+
+public static final int COVAR_SCRAMBLED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COVAR_USE_AVG

+
+public static final int COVAR_USE_AVG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX

+
+public static final int CPU_AVX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX_512BW

+
+public static final int CPU_AVX_512BW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX_512CD

+
+public static final int CPU_AVX_512CD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX_512DQ

+
+public static final int CPU_AVX_512DQ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX_512ER

+
+public static final int CPU_AVX_512ER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX_512F

+
+public static final int CPU_AVX_512F
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX_512IFMA512

+
+public static final int CPU_AVX_512IFMA512
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX_512PF

+
+public static final int CPU_AVX_512PF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX_512VBMI

+
+public static final int CPU_AVX_512VBMI
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX_512VL

+
+public static final int CPU_AVX_512VL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_AVX2

+
+public static final int CPU_AVX2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_FMA3

+
+public static final int CPU_FMA3
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_MMX

+
+public static final int CPU_MMX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_NEON

+
+public static final int CPU_NEON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_POPCNT

+
+public static final int CPU_POPCNT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_SSE

+
+public static final int CPU_SSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_SSE2

+
+public static final int CPU_SSE2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_SSE3

+
+public static final int CPU_SSE3
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_SSE4_1

+
+public static final int CPU_SSE4_1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_SSE4_2

+
+public static final int CPU_SSE4_2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CPU_SSSE3

+
+public static final int CPU_SSSE3
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DCT_INVERSE

+
+public static final int DCT_INVERSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DCT_ROWS

+
+public static final int DCT_ROWS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DECOMP_CHOLESKY

+
+public static final int DECOMP_CHOLESKY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DECOMP_EIG

+
+public static final int DECOMP_EIG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DECOMP_LU

+
+public static final int DECOMP_LU
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DECOMP_NORMAL

+
+public static final int DECOMP_NORMAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DECOMP_QR

+
+public static final int DECOMP_QR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DECOMP_SVD

+
+public static final int DECOMP_SVD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DFT_COMPLEX_OUTPUT

+
+public static final int DFT_COMPLEX_OUTPUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DFT_INVERSE

+
+public static final int DFT_INVERSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DFT_REAL_OUTPUT

+
+public static final int DFT_REAL_OUTPUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DFT_ROWS

+
+public static final int DFT_ROWS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DFT_SCALE

+
+public static final int DFT_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FILLED

+
+public static final int FILLED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FONT_HERSHEY_COMPLEX

+
+public static final int FONT_HERSHEY_COMPLEX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FONT_HERSHEY_COMPLEX_SMALL

+
+public static final int FONT_HERSHEY_COMPLEX_SMALL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FONT_HERSHEY_DUPLEX

+
+public static final int FONT_HERSHEY_DUPLEX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FONT_HERSHEY_PLAIN

+
+public static final int FONT_HERSHEY_PLAIN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FONT_HERSHEY_SCRIPT_COMPLEX

+
+public static final int FONT_HERSHEY_SCRIPT_COMPLEX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FONT_HERSHEY_SCRIPT_SIMPLEX

+
+public static final int FONT_HERSHEY_SCRIPT_SIMPLEX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FONT_HERSHEY_SIMPLEX

+
+public static final int FONT_HERSHEY_SIMPLEX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FONT_HERSHEY_TRIPLEX

+
+public static final int FONT_HERSHEY_TRIPLEX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FONT_ITALIC

+
+public static final int FONT_ITALIC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GEMM_1_T

+
+public static final int GEMM_1_T
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GEMM_2_T

+
+public static final int GEMM_2_T
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GEMM_3_T

+
+public static final int GEMM_3_T
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GpuApiCallError

+
+public static final int GpuApiCallError
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GpuNotSupported

+
+public static final int GpuNotSupported
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HeaderIsNull

+
+public static final int HeaderIsNull
+
+
+
See Also:
Constant Field Values
+
+
+ +

+KMEANS_PP_CENTERS

+
+public static final int KMEANS_PP_CENTERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+KMEANS_RANDOM_CENTERS

+
+public static final int KMEANS_RANDOM_CENTERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+KMEANS_USE_INITIAL_LABELS

+
+public static final int KMEANS_USE_INITIAL_LABELS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LINE_4

+
+public static final int LINE_4
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LINE_8

+
+public static final int LINE_8
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LINE_AA

+
+public static final int LINE_AA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MaskIsTiled

+
+public static final int MaskIsTiled
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NATIVE_LIBRARY_NAME

+
+public static final java.lang.String NATIVE_LIBRARY_NAME
+
+
+
+
+
+ +

+NORM_HAMMING

+
+public static final int NORM_HAMMING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORM_HAMMING2

+
+public static final int NORM_HAMMING2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORM_INF

+
+public static final int NORM_INF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORM_L1

+
+public static final int NORM_L1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORM_L2

+
+public static final int NORM_L2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORM_L2SQR

+
+public static final int NORM_L2SQR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORM_MINMAX

+
+public static final int NORM_MINMAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORM_RELATIVE

+
+public static final int NORM_RELATIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORM_TYPE_MASK

+
+public static final int NORM_TYPE_MASK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OpenCLApiCallError

+
+public static final int OpenCLApiCallError
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OpenCLDoubleNotSupported

+
+public static final int OpenCLDoubleNotSupported
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OpenCLInitError

+
+public static final int OpenCLInitError
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OpenCLNoAMDBlasFft

+
+public static final int OpenCLNoAMDBlasFft
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OpenGlApiCallError

+
+public static final int OpenGlApiCallError
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OpenGlNotSupported

+
+public static final int OpenGlNotSupported
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REDUCE_AVG

+
+public static final int REDUCE_AVG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REDUCE_MAX

+
+public static final int REDUCE_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REDUCE_MIN

+
+public static final int REDUCE_MIN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REDUCE_SUM

+
+public static final int REDUCE_SUM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SORT_ASCENDING

+
+public static final int SORT_ASCENDING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SORT_DESCENDING

+
+public static final int SORT_DESCENDING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SORT_EVERY_COLUMN

+
+public static final int SORT_EVERY_COLUMN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SORT_EVERY_ROW

+
+public static final int SORT_EVERY_ROW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsAssert

+
+public static final int StsAssert
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsAutoTrace

+
+public static final int StsAutoTrace
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsBackTrace

+
+public static final int StsBackTrace
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsBadArg

+
+public static final int StsBadArg
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsBadFlag

+
+public static final int StsBadFlag
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsBadFunc

+
+public static final int StsBadFunc
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsBadMask

+
+public static final int StsBadMask
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsBadMemBlock

+
+public static final int StsBadMemBlock
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsBadPoint

+
+public static final int StsBadPoint
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsBadSize

+
+public static final int StsBadSize
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsDivByZero

+
+public static final int StsDivByZero
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsError

+
+public static final int StsError
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsFilterOffsetErr

+
+public static final int StsFilterOffsetErr
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsFilterStructContentErr

+
+public static final int StsFilterStructContentErr
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsInplaceNotSupported

+
+public static final int StsInplaceNotSupported
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsInternal

+
+public static final int StsInternal
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsKernelStructContentErr

+
+public static final int StsKernelStructContentErr
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsNoConv

+
+public static final int StsNoConv
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsNoMem

+
+public static final int StsNoMem
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsNotImplemented

+
+public static final int StsNotImplemented
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsNullPtr

+
+public static final int StsNullPtr
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsObjectNotFound

+
+public static final int StsObjectNotFound
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsOk

+
+public static final int StsOk
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsOutOfRange

+
+public static final int StsOutOfRange
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsParseError

+
+public static final int StsParseError
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsUnmatchedFormats

+
+public static final int StsUnmatchedFormats
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsUnmatchedSizes

+
+public static final int StsUnmatchedSizes
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsUnsupportedFormat

+
+public static final int StsUnsupportedFormat
+
+
+
See Also:
Constant Field Values
+
+
+ +

+StsVecLengthErr

+
+public static final int StsVecLengthErr
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SVD_FULL_UV

+
+public static final int SVD_FULL_UV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SVD_MODIFY_A

+
+public static final int SVD_MODIFY_A
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SVD_NO_UV

+
+public static final int SVD_NO_UV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VERSION

+
+public static final java.lang.String VERSION
+
+
+
+
+
+ +

+VERSION_MAJOR

+
+public static final int VERSION_MAJOR
+
+
+
+
+
+ +

+VERSION_MINOR

+
+public static final int VERSION_MINOR
+
+
+
+
+
+ +

+VERSION_REVISION

+
+public static final int VERSION_REVISION
+
+
+
+
+
+ +

+VERSION_STATUS

+
+public static final java.lang.String VERSION_STATUS
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Core

+
+public Core()
+
+
+ + + + + + + + +
+Method Detail
+ +

+absdiff

+
+public static void absdiff(Mat src1,
+                           Mat src2,
+                           Mat dst)
+
+
+
+
+
+
+ +

+absdiff

+
+public static void absdiff(Mat src1,
+                           Scalar src2,
+                           Mat dst)
+
+
+
+
+
+
+ +

+add

+
+public static void add(Mat src1,
+                       Mat src2,
+                       Mat dst)
+
+
+
+
+
+
+ +

+add

+
+public static void add(Mat src1,
+                       Mat src2,
+                       Mat dst,
+                       Mat mask)
+
+
+
+
+
+
+ +

+add

+
+public static void add(Mat src1,
+                       Mat src2,
+                       Mat dst,
+                       Mat mask,
+                       int dtype)
+
+
+
+
+
+
+ +

+add

+
+public static void add(Mat src1,
+                       Scalar src2,
+                       Mat dst)
+
+
+
+
+
+
+ +

+add

+
+public static void add(Mat src1,
+                       Scalar src2,
+                       Mat dst,
+                       Mat mask)
+
+
+
+
+
+
+ +

+add

+
+public static void add(Mat src1,
+                       Scalar src2,
+                       Mat dst,
+                       Mat mask,
+                       int dtype)
+
+
+
+
+
+
+ +

+addWeighted

+
+public static void addWeighted(Mat src1,
+                               double alpha,
+                               Mat src2,
+                               double beta,
+                               double gamma,
+                               Mat dst)
+
+
+
+
+
+
+ +

+addWeighted

+
+public static void addWeighted(Mat src1,
+                               double alpha,
+                               Mat src2,
+                               double beta,
+                               double gamma,
+                               Mat dst,
+                               int dtype)
+
+
+
+
+
+
+ +

+batchDistance

+
+public static void batchDistance(Mat src1,
+                                 Mat src2,
+                                 Mat dist,
+                                 int dtype,
+                                 Mat nidx)
+
+
+
+
+
+
+ +

+batchDistance

+
+public static void batchDistance(Mat src1,
+                                 Mat src2,
+                                 Mat dist,
+                                 int dtype,
+                                 Mat nidx,
+                                 int normType,
+                                 int K)
+
+
+
+
+
+
+ +

+batchDistance

+
+public static void batchDistance(Mat src1,
+                                 Mat src2,
+                                 Mat dist,
+                                 int dtype,
+                                 Mat nidx,
+                                 int normType,
+                                 int K,
+                                 Mat mask,
+                                 int update,
+                                 boolean crosscheck)
+
+
+
+
+
+
+ +

+bitwise_and

+
+public static void bitwise_and(Mat src1,
+                               Mat src2,
+                               Mat dst)
+
+
+
+
+
+
+ +

+bitwise_and

+
+public static void bitwise_and(Mat src1,
+                               Mat src2,
+                               Mat dst,
+                               Mat mask)
+
+
+
+
+
+
+ +

+bitwise_not

+
+public static void bitwise_not(Mat src,
+                               Mat dst)
+
+
+
+
+
+
+ +

+bitwise_not

+
+public static void bitwise_not(Mat src,
+                               Mat dst,
+                               Mat mask)
+
+
+
+
+
+
+ +

+bitwise_or

+
+public static void bitwise_or(Mat src1,
+                              Mat src2,
+                              Mat dst)
+
+
+
+
+
+
+ +

+bitwise_or

+
+public static void bitwise_or(Mat src1,
+                              Mat src2,
+                              Mat dst,
+                              Mat mask)
+
+
+
+
+
+
+ +

+bitwise_xor

+
+public static void bitwise_xor(Mat src1,
+                               Mat src2,
+                               Mat dst)
+
+
+
+
+
+
+ +

+bitwise_xor

+
+public static void bitwise_xor(Mat src1,
+                               Mat src2,
+                               Mat dst,
+                               Mat mask)
+
+
+
+
+
+
+ +

+borderInterpolate

+
+public static int borderInterpolate(int p,
+                                    int len,
+                                    int borderType)
+
+
+
+
+
+
+ +

+calcCovarMatrix

+
+public static void calcCovarMatrix(Mat samples,
+                                   Mat covar,
+                                   Mat mean,
+                                   int flags)
+
+
+
+
+
+
+ +

+calcCovarMatrix

+
+public static void calcCovarMatrix(Mat samples,
+                                   Mat covar,
+                                   Mat mean,
+                                   int flags,
+                                   int ctype)
+
+
+
+
+
+
+ +

+cartToPolar

+
+public static void cartToPolar(Mat x,
+                               Mat y,
+                               Mat magnitude,
+                               Mat angle)
+
+
+
+
+
+
+ +

+cartToPolar

+
+public static void cartToPolar(Mat x,
+                               Mat y,
+                               Mat magnitude,
+                               Mat angle,
+                               boolean angleInDegrees)
+
+
+
+
+
+
+ +

+checkRange

+
+public static boolean checkRange(Mat a)
+
+
+
+
+
+
+ +

+checkRange

+
+public static boolean checkRange(Mat a,
+                                 boolean quiet,
+                                 double minVal,
+                                 double maxVal)
+
+
+
+
+
+
+ +

+compare

+
+public static void compare(Mat src1,
+                           Mat src2,
+                           Mat dst,
+                           int cmpop)
+
+
+
+
+
+
+ +

+compare

+
+public static void compare(Mat src1,
+                           Scalar src2,
+                           Mat dst,
+                           int cmpop)
+
+
+
+
+
+
+ +

+completeSymm

+
+public static void completeSymm(Mat mtx)
+
+
+
+
+
+
+ +

+completeSymm

+
+public static void completeSymm(Mat mtx,
+                                boolean lowerToUpper)
+
+
+
+
+
+
+ +

+convertScaleAbs

+
+public static void convertScaleAbs(Mat src,
+                                   Mat dst)
+
+
+
+
+
+
+ +

+convertScaleAbs

+
+public static void convertScaleAbs(Mat src,
+                                   Mat dst,
+                                   double alpha,
+                                   double beta)
+
+
+
+
+
+
+ +

+copyMakeBorder

+
+public static void copyMakeBorder(Mat src,
+                                  Mat dst,
+                                  int top,
+                                  int bottom,
+                                  int left,
+                                  int right,
+                                  int borderType)
+
+
+
+
+
+
+ +

+copyMakeBorder

+
+public static void copyMakeBorder(Mat src,
+                                  Mat dst,
+                                  int top,
+                                  int bottom,
+                                  int left,
+                                  int right,
+                                  int borderType,
+                                  Scalar value)
+
+
+
+
+
+
+ +

+countNonZero

+
+public static int countNonZero(Mat src)
+
+
+
+
+
+
+ +

+cubeRoot

+
+public static float cubeRoot(float val)
+
+
+
+
+
+
+ +

+dct

+
+public static void dct(Mat src,
+                       Mat dst)
+
+
+
+
+
+
+ +

+dct

+
+public static void dct(Mat src,
+                       Mat dst,
+                       int flags)
+
+
+
+
+
+
+ +

+determinant

+
+public static double determinant(Mat mtx)
+
+
+
+
+
+
+ +

+dft

+
+public static void dft(Mat src,
+                       Mat dst)
+
+
+
+
+
+
+ +

+dft

+
+public static void dft(Mat src,
+                       Mat dst,
+                       int flags,
+                       int nonzeroRows)
+
+
+
+
+
+
+ +

+divide

+
+public static void divide(double scale,
+                          Mat src2,
+                          Mat dst)
+
+
+
+
+
+
+ +

+divide

+
+public static void divide(double scale,
+                          Mat src2,
+                          Mat dst,
+                          int dtype)
+
+
+
+
+
+
+ +

+divide

+
+public static void divide(Mat src1,
+                          Mat src2,
+                          Mat dst)
+
+
+
+
+
+
+ +

+divide

+
+public static void divide(Mat src1,
+                          Mat src2,
+                          Mat dst,
+                          double scale)
+
+
+
+
+
+
+ +

+divide

+
+public static void divide(Mat src1,
+                          Mat src2,
+                          Mat dst,
+                          double scale,
+                          int dtype)
+
+
+
+
+
+
+ +

+divide

+
+public static void divide(Mat src1,
+                          Scalar src2,
+                          Mat dst)
+
+
+
+
+
+
+ +

+divide

+
+public static void divide(Mat src1,
+                          Scalar src2,
+                          Mat dst,
+                          double scale)
+
+
+
+
+
+
+ +

+divide

+
+public static void divide(Mat src1,
+                          Scalar src2,
+                          Mat dst,
+                          double scale,
+                          int dtype)
+
+
+
+
+
+
+ +

+eigen

+
+public static boolean eigen(Mat src,
+                            Mat eigenvalues)
+
+
+
+
+
+
+ +

+eigen

+
+public static boolean eigen(Mat src,
+                            Mat eigenvalues,
+                            Mat eigenvectors)
+
+
+
+
+
+
+ +

+exp

+
+public static void exp(Mat src,
+                       Mat dst)
+
+
+
+
+
+
+ +

+extractChannel

+
+public static void extractChannel(Mat src,
+                                  Mat dst,
+                                  int coi)
+
+
+
+
+
+
+ +

+fastAtan2

+
+public static float fastAtan2(float y,
+                              float x)
+
+
+
+
+
+
+ +

+findNonZero

+
+public static void findNonZero(Mat src,
+                               Mat idx)
+
+
+
+
+
+
+ +

+flip

+
+public static void flip(Mat src,
+                        Mat dst,
+                        int flipCode)
+
+
+
+
+
+
+ +

+gemm

+
+public static void gemm(Mat src1,
+                        Mat src2,
+                        double alpha,
+                        Mat src3,
+                        double beta,
+                        Mat dst)
+
+
+
+
+
+
+ +

+gemm

+
+public static void gemm(Mat src1,
+                        Mat src2,
+                        double alpha,
+                        Mat src3,
+                        double beta,
+                        Mat dst,
+                        int flags)
+
+
+
+
+
+
+ +

+getBuildInformation

+
+public static java.lang.String getBuildInformation()
+
+
+
+
+
+
+ +

+getCPUTickCount

+
+public static long getCPUTickCount()
+
+
+
+
+
+
+ +

+getNumberOfCPUs

+
+public static int getNumberOfCPUs()
+
+
+
+
+
+
+ +

+getOptimalDFTSize

+
+public static int getOptimalDFTSize(int vecsize)
+
+
+
+
+
+
+ +

+getTickCount

+
+public static long getTickCount()
+
+
+
+
+
+
+ +

+getTickFrequency

+
+public static double getTickFrequency()
+
+
+
+
+
+
+ +

+hconcat

+
+public static void hconcat(java.util.List<Mat> src,
+                           Mat dst)
+
+
+
+
+
+
+ +

+idct

+
+public static void idct(Mat src,
+                        Mat dst)
+
+
+
+
+
+
+ +

+idct

+
+public static void idct(Mat src,
+                        Mat dst,
+                        int flags)
+
+
+
+
+
+
+ +

+idft

+
+public static void idft(Mat src,
+                        Mat dst)
+
+
+
+
+
+
+ +

+idft

+
+public static void idft(Mat src,
+                        Mat dst,
+                        int flags,
+                        int nonzeroRows)
+
+
+
+
+
+
+ +

+inRange

+
+public static void inRange(Mat src,
+                           Scalar lowerb,
+                           Scalar upperb,
+                           Mat dst)
+
+
+
+
+
+
+ +

+insertChannel

+
+public static void insertChannel(Mat src,
+                                 Mat dst,
+                                 int coi)
+
+
+
+
+
+
+ +

+invert

+
+public static double invert(Mat src,
+                            Mat dst)
+
+
+
+
+
+
+ +

+invert

+
+public static double invert(Mat src,
+                            Mat dst,
+                            int flags)
+
+
+
+
+
+
+ +

+kmeans

+
+public static double kmeans(Mat data,
+                            int K,
+                            Mat bestLabels,
+                            TermCriteria criteria,
+                            int attempts,
+                            int flags)
+
+
+
+
+
+
+ +

+kmeans

+
+public static double kmeans(Mat data,
+                            int K,
+                            Mat bestLabels,
+                            TermCriteria criteria,
+                            int attempts,
+                            int flags,
+                            Mat centers)
+
+
+
+
+
+
+ +

+log

+
+public static void log(Mat src,
+                       Mat dst)
+
+
+
+
+
+
+ +

+LUT

+
+public static void LUT(Mat src,
+                       Mat lut,
+                       Mat dst)
+
+
+
+
+
+
+ +

+magnitude

+
+public static void magnitude(Mat x,
+                             Mat y,
+                             Mat magnitude)
+
+
+
+
+
+
+ +

+Mahalanobis

+
+public static double Mahalanobis(Mat v1,
+                                 Mat v2,
+                                 Mat icovar)
+
+
+
+
+
+
+ +

+max

+
+public static void max(Mat src1,
+                       Mat src2,
+                       Mat dst)
+
+
+
+
+
+
+ +

+max

+
+public static void max(Mat src1,
+                       Scalar src2,
+                       Mat dst)
+
+
+
+
+
+
+ +

+mean

+
+public static Scalar mean(Mat src)
+
+
+
+
+
+
+ +

+mean

+
+public static Scalar mean(Mat src,
+                          Mat mask)
+
+
+
+
+
+
+ +

+meanStdDev

+
+public static void meanStdDev(Mat src,
+                              MatOfDouble mean,
+                              MatOfDouble stddev)
+
+
+
+
+
+
+ +

+meanStdDev

+
+public static void meanStdDev(Mat src,
+                              MatOfDouble mean,
+                              MatOfDouble stddev,
+                              Mat mask)
+
+
+
+
+
+
+ +

+merge

+
+public static void merge(java.util.List<Mat> mv,
+                         Mat dst)
+
+
+
+
+
+
+ +

+min

+
+public static void min(Mat src1,
+                       Mat src2,
+                       Mat dst)
+
+
+
+
+
+
+ +

+min

+
+public static void min(Mat src1,
+                       Scalar src2,
+                       Mat dst)
+
+
+
+
+
+
+ +

+minMaxLoc

+
+public static Core.MinMaxLocResult minMaxLoc(Mat src)
+
+
+
+
+
+
+ +

+minMaxLoc

+
+public static Core.MinMaxLocResult minMaxLoc(Mat src,
+                                             Mat mask)
+
+
+
+
+
+
+ +

+mixChannels

+
+public static void mixChannels(java.util.List<Mat> src,
+                               java.util.List<Mat> dst,
+                               MatOfInt fromTo)
+
+
+
+
+
+
+ +

+mulSpectrums

+
+public static void mulSpectrums(Mat a,
+                                Mat b,
+                                Mat c,
+                                int flags)
+
+
+
+
+
+
+ +

+mulSpectrums

+
+public static void mulSpectrums(Mat a,
+                                Mat b,
+                                Mat c,
+                                int flags,
+                                boolean conjB)
+
+
+
+
+
+
+ +

+multiply

+
+public static void multiply(Mat src1,
+                            Mat src2,
+                            Mat dst)
+
+
+
+
+
+
+ +

+multiply

+
+public static void multiply(Mat src1,
+                            Mat src2,
+                            Mat dst,
+                            double scale)
+
+
+
+
+
+
+ +

+multiply

+
+public static void multiply(Mat src1,
+                            Mat src2,
+                            Mat dst,
+                            double scale,
+                            int dtype)
+
+
+
+
+
+
+ +

+multiply

+
+public static void multiply(Mat src1,
+                            Scalar src2,
+                            Mat dst)
+
+
+
+
+
+
+ +

+multiply

+
+public static void multiply(Mat src1,
+                            Scalar src2,
+                            Mat dst,
+                            double scale)
+
+
+
+
+
+
+ +

+multiply

+
+public static void multiply(Mat src1,
+                            Scalar src2,
+                            Mat dst,
+                            double scale,
+                            int dtype)
+
+
+
+
+
+
+ +

+mulTransposed

+
+public static void mulTransposed(Mat src,
+                                 Mat dst,
+                                 boolean aTa)
+
+
+
+
+
+
+ +

+mulTransposed

+
+public static void mulTransposed(Mat src,
+                                 Mat dst,
+                                 boolean aTa,
+                                 Mat delta,
+                                 double scale)
+
+
+
+
+
+
+ +

+mulTransposed

+
+public static void mulTransposed(Mat src,
+                                 Mat dst,
+                                 boolean aTa,
+                                 Mat delta,
+                                 double scale,
+                                 int dtype)
+
+
+
+
+
+
+ +

+norm

+
+public static double norm(Mat src1)
+
+
+
+
+
+
+ +

+norm

+
+public static double norm(Mat src1,
+                          int normType)
+
+
+
+
+
+
+ +

+norm

+
+public static double norm(Mat src1,
+                          int normType,
+                          Mat mask)
+
+
+
+
+
+
+ +

+norm

+
+public static double norm(Mat src1,
+                          Mat src2)
+
+
+
+
+
+
+ +

+norm

+
+public static double norm(Mat src1,
+                          Mat src2,
+                          int normType)
+
+
+
+
+
+
+ +

+norm

+
+public static double norm(Mat src1,
+                          Mat src2,
+                          int normType,
+                          Mat mask)
+
+
+
+
+
+
+ +

+normalize

+
+public static void normalize(Mat src,
+                             Mat dst)
+
+
+
+
+
+
+ +

+normalize

+
+public static void normalize(Mat src,
+                             Mat dst,
+                             double alpha,
+                             double beta,
+                             int norm_type)
+
+
+
+
+
+
+ +

+normalize

+
+public static void normalize(Mat src,
+                             Mat dst,
+                             double alpha,
+                             double beta,
+                             int norm_type,
+                             int dtype)
+
+
+
+
+
+
+ +

+normalize

+
+public static void normalize(Mat src,
+                             Mat dst,
+                             double alpha,
+                             double beta,
+                             int norm_type,
+                             int dtype,
+                             Mat mask)
+
+
+
+
+
+
+ +

+patchNaNs

+
+public static void patchNaNs(Mat a)
+
+
+
+
+
+
+ +

+patchNaNs

+
+public static void patchNaNs(Mat a,
+                             double val)
+
+
+
+
+
+
+ +

+PCABackProject

+
+public static void PCABackProject(Mat data,
+                                  Mat mean,
+                                  Mat eigenvectors,
+                                  Mat result)
+
+
+
+
+
+
+ +

+PCACompute

+
+public static void PCACompute(Mat data,
+                              Mat mean,
+                              Mat eigenvectors)
+
+
+
+
+
+
+ +

+PCACompute

+
+public static void PCACompute(Mat data,
+                              Mat mean,
+                              Mat eigenvectors,
+                              double retainedVariance)
+
+
+
+
+
+
+ +

+PCACompute

+
+public static void PCACompute(Mat data,
+                              Mat mean,
+                              Mat eigenvectors,
+                              int maxComponents)
+
+
+
+
+
+
+ +

+PCAProject

+
+public static void PCAProject(Mat data,
+                              Mat mean,
+                              Mat eigenvectors,
+                              Mat result)
+
+
+
+
+
+
+ +

+perspectiveTransform

+
+public static void perspectiveTransform(Mat src,
+                                        Mat dst,
+                                        Mat m)
+
+
+
+
+
+
+ +

+phase

+
+public static void phase(Mat x,
+                         Mat y,
+                         Mat angle)
+
+
+
+
+
+
+ +

+phase

+
+public static void phase(Mat x,
+                         Mat y,
+                         Mat angle,
+                         boolean angleInDegrees)
+
+
+
+
+
+
+ +

+polarToCart

+
+public static void polarToCart(Mat magnitude,
+                               Mat angle,
+                               Mat x,
+                               Mat y)
+
+
+
+
+
+
+ +

+polarToCart

+
+public static void polarToCart(Mat magnitude,
+                               Mat angle,
+                               Mat x,
+                               Mat y,
+                               boolean angleInDegrees)
+
+
+
+
+
+
+ +

+pow

+
+public static void pow(Mat src,
+                       double power,
+                       Mat dst)
+
+
+
+
+
+
+ +

+PSNR

+
+public static double PSNR(Mat src1,
+                          Mat src2)
+
+
+
+
+
+
+ +

+randn

+
+public static void randn(Mat dst,
+                         double mean,
+                         double stddev)
+
+
+
+
+
+
+ +

+randShuffle

+
+public static void randShuffle(Mat dst)
+
+
+
+
+
+
+ +

+randShuffle

+
+public static void randShuffle(Mat dst,
+                               double iterFactor)
+
+
+
+
+
+
+ +

+randu

+
+public static void randu(Mat dst,
+                         double low,
+                         double high)
+
+
+
+
+
+
+ +

+reduce

+
+public static void reduce(Mat src,
+                          Mat dst,
+                          int dim,
+                          int rtype)
+
+
+
+
+
+
+ +

+reduce

+
+public static void reduce(Mat src,
+                          Mat dst,
+                          int dim,
+                          int rtype,
+                          int dtype)
+
+
+
+
+
+
+ +

+repeat

+
+public static void repeat(Mat src,
+                          int ny,
+                          int nx,
+                          Mat dst)
+
+
+
+
+
+
+ +

+scaleAdd

+
+public static void scaleAdd(Mat src1,
+                            double alpha,
+                            Mat src2,
+                            Mat dst)
+
+
+
+
+
+
+ +

+setErrorVerbosity

+
+public static void setErrorVerbosity(boolean verbose)
+
+
+
+
+
+
+ +

+setIdentity

+
+public static void setIdentity(Mat mtx)
+
+
+
+
+
+
+ +

+setIdentity

+
+public static void setIdentity(Mat mtx,
+                               Scalar s)
+
+
+
+
+
+
+ +

+solve

+
+public static boolean solve(Mat src1,
+                            Mat src2,
+                            Mat dst)
+
+
+
+
+
+
+ +

+solve

+
+public static boolean solve(Mat src1,
+                            Mat src2,
+                            Mat dst,
+                            int flags)
+
+
+
+
+
+
+ +

+solveCubic

+
+public static int solveCubic(Mat coeffs,
+                             Mat roots)
+
+
+
+
+
+
+ +

+solvePoly

+
+public static double solvePoly(Mat coeffs,
+                               Mat roots)
+
+
+
+
+
+
+ +

+solvePoly

+
+public static double solvePoly(Mat coeffs,
+                               Mat roots,
+                               int maxIters)
+
+
+
+
+
+
+ +

+sort

+
+public static void sort(Mat src,
+                        Mat dst,
+                        int flags)
+
+
+
+
+
+
+ +

+sortIdx

+
+public static void sortIdx(Mat src,
+                           Mat dst,
+                           int flags)
+
+
+
+
+
+
+ +

+split

+
+public static void split(Mat m,
+                         java.util.List<Mat> mv)
+
+
+
+
+
+
+ +

+sqrt

+
+public static void sqrt(Mat src,
+                        Mat dst)
+
+
+
+
+
+
+ +

+subtract

+
+public static void subtract(Mat src1,
+                            Mat src2,
+                            Mat dst)
+
+
+
+
+
+
+ +

+subtract

+
+public static void subtract(Mat src1,
+                            Mat src2,
+                            Mat dst,
+                            Mat mask)
+
+
+
+
+
+
+ +

+subtract

+
+public static void subtract(Mat src1,
+                            Mat src2,
+                            Mat dst,
+                            Mat mask,
+                            int dtype)
+
+
+
+
+
+
+ +

+subtract

+
+public static void subtract(Mat src1,
+                            Scalar src2,
+                            Mat dst)
+
+
+
+
+
+
+ +

+subtract

+
+public static void subtract(Mat src1,
+                            Scalar src2,
+                            Mat dst,
+                            Mat mask)
+
+
+
+
+
+
+ +

+subtract

+
+public static void subtract(Mat src1,
+                            Scalar src2,
+                            Mat dst,
+                            Mat mask,
+                            int dtype)
+
+
+
+
+
+
+ +

+sumElems

+
+public static Scalar sumElems(Mat src)
+
+
+
+
+
+
+ +

+SVBackSubst

+
+public static void SVBackSubst(Mat w,
+                               Mat u,
+                               Mat vt,
+                               Mat rhs,
+                               Mat dst)
+
+
+
+
+
+
+ +

+SVDecomp

+
+public static void SVDecomp(Mat src,
+                            Mat w,
+                            Mat u,
+                            Mat vt)
+
+
+
+
+
+
+ +

+SVDecomp

+
+public static void SVDecomp(Mat src,
+                            Mat w,
+                            Mat u,
+                            Mat vt,
+                            int flags)
+
+
+
+
+
+
+ +

+trace

+
+public static Scalar trace(Mat mtx)
+
+
+
+
+
+
+ +

+transform

+
+public static void transform(Mat src,
+                             Mat dst,
+                             Mat m)
+
+
+
+
+
+
+ +

+transpose

+
+public static void transpose(Mat src,
+                             Mat dst)
+
+
+
+
+
+
+ +

+vconcat

+
+public static void vconcat(java.util.List<Mat> src,
+                           Mat dst)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/CvException.html b/opencv3/javadoc/org/opencv/core/CvException.html new file mode 100644 index 0000000..3f455a9 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/CvException.html @@ -0,0 +1,268 @@ + + + + + + +CvException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class CvException

+
+java.lang.Object
+  extended by java.lang.Throwable
+      extended by java.lang.Exception
+          extended by java.lang.RuntimeException
+              extended by org.opencv.core.CvException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class CvException
extends java.lang.RuntimeException
+ + +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
CvException(java.lang.String msg) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CvException

+
+public CvException(java.lang.String msg)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Throwable
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/CvType.html b/opencv3/javadoc/org/opencv/core/CvType.html new file mode 100644 index 0000000..0901e35 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/CvType.html @@ -0,0 +1,1144 @@ + + + + + + +CvType + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class CvType

+
+java.lang.Object
+  extended by org.opencv.core.CvType
+
+
+
+
public final class CvType
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCV_16S + +
+           
+static intCV_16SC1 + +
+           
+static intCV_16SC2 + +
+           
+static intCV_16SC3 + +
+           
+static intCV_16SC4 + +
+           
+static intCV_16U + +
+           
+static intCV_16UC1 + +
+           
+static intCV_16UC2 + +
+           
+static intCV_16UC3 + +
+           
+static intCV_16UC4 + +
+           
+static intCV_32F + +
+           
+static intCV_32FC1 + +
+           
+static intCV_32FC2 + +
+           
+static intCV_32FC3 + +
+           
+static intCV_32FC4 + +
+           
+static intCV_32S + +
+           
+static intCV_32SC1 + +
+           
+static intCV_32SC2 + +
+           
+static intCV_32SC3 + +
+           
+static intCV_32SC4 + +
+           
+static intCV_64F + +
+           
+static intCV_64FC1 + +
+           
+static intCV_64FC2 + +
+           
+static intCV_64FC3 + +
+           
+static intCV_64FC4 + +
+           
+static intCV_8S + +
+           
+static intCV_8SC1 + +
+           
+static intCV_8SC2 + +
+           
+static intCV_8SC3 + +
+           
+static intCV_8SC4 + +
+           
+static intCV_8U + +
+           
+static intCV_8UC1 + +
+           
+static intCV_8UC2 + +
+           
+static intCV_8UC3 + +
+           
+static intCV_8UC4 + +
+           
+static intCV_USRTYPE1 + +
+           
+  + + + + + + + + + + +
+Constructor Summary
CvType() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static intchannels(int type) + +
+           
+static intCV_16SC(int ch) + +
+           
+static intCV_16UC(int ch) + +
+           
+static intCV_32FC(int ch) + +
+           
+static intCV_32SC(int ch) + +
+           
+static intCV_64FC(int ch) + +
+           
+static intCV_8SC(int ch) + +
+           
+static intCV_8UC(int ch) + +
+           
+static intdepth(int type) + +
+           
+static intELEM_SIZE(int type) + +
+           
+static booleanisInteger(int type) + +
+           
+static intmakeType(int depth, + int channels) + +
+           
+static java.lang.StringtypeToString(int type) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CV_16S

+
+public static final int CV_16S
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_16SC1

+
+public static final int CV_16SC1
+
+
+
+
+
+ +

+CV_16SC2

+
+public static final int CV_16SC2
+
+
+
+
+
+ +

+CV_16SC3

+
+public static final int CV_16SC3
+
+
+
+
+
+ +

+CV_16SC4

+
+public static final int CV_16SC4
+
+
+
+
+
+ +

+CV_16U

+
+public static final int CV_16U
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_16UC1

+
+public static final int CV_16UC1
+
+
+
+
+
+ +

+CV_16UC2

+
+public static final int CV_16UC2
+
+
+
+
+
+ +

+CV_16UC3

+
+public static final int CV_16UC3
+
+
+
+
+
+ +

+CV_16UC4

+
+public static final int CV_16UC4
+
+
+
+
+
+ +

+CV_32F

+
+public static final int CV_32F
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_32FC1

+
+public static final int CV_32FC1
+
+
+
+
+
+ +

+CV_32FC2

+
+public static final int CV_32FC2
+
+
+
+
+
+ +

+CV_32FC3

+
+public static final int CV_32FC3
+
+
+
+
+
+ +

+CV_32FC4

+
+public static final int CV_32FC4
+
+
+
+
+
+ +

+CV_32S

+
+public static final int CV_32S
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_32SC1

+
+public static final int CV_32SC1
+
+
+
+
+
+ +

+CV_32SC2

+
+public static final int CV_32SC2
+
+
+
+
+
+ +

+CV_32SC3

+
+public static final int CV_32SC3
+
+
+
+
+
+ +

+CV_32SC4

+
+public static final int CV_32SC4
+
+
+
+
+
+ +

+CV_64F

+
+public static final int CV_64F
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_64FC1

+
+public static final int CV_64FC1
+
+
+
+
+
+ +

+CV_64FC2

+
+public static final int CV_64FC2
+
+
+
+
+
+ +

+CV_64FC3

+
+public static final int CV_64FC3
+
+
+
+
+
+ +

+CV_64FC4

+
+public static final int CV_64FC4
+
+
+
+
+
+ +

+CV_8S

+
+public static final int CV_8S
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_8SC1

+
+public static final int CV_8SC1
+
+
+
+
+
+ +

+CV_8SC2

+
+public static final int CV_8SC2
+
+
+
+
+
+ +

+CV_8SC3

+
+public static final int CV_8SC3
+
+
+
+
+
+ +

+CV_8SC4

+
+public static final int CV_8SC4
+
+
+
+
+
+ +

+CV_8U

+
+public static final int CV_8U
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_8UC1

+
+public static final int CV_8UC1
+
+
+
+
+
+ +

+CV_8UC2

+
+public static final int CV_8UC2
+
+
+
+
+
+ +

+CV_8UC3

+
+public static final int CV_8UC3
+
+
+
+
+
+ +

+CV_8UC4

+
+public static final int CV_8UC4
+
+
+
+
+
+ +

+CV_USRTYPE1

+
+public static final int CV_USRTYPE1
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+CvType

+
+public CvType()
+
+
+ + + + + + + + +
+Method Detail
+ +

+channels

+
+public static final int channels(int type)
+
+
+
+
+
+
+ +

+CV_16SC

+
+public static final int CV_16SC(int ch)
+
+
+
+
+
+
+ +

+CV_16UC

+
+public static final int CV_16UC(int ch)
+
+
+
+
+
+
+ +

+CV_32FC

+
+public static final int CV_32FC(int ch)
+
+
+
+
+
+
+ +

+CV_32SC

+
+public static final int CV_32SC(int ch)
+
+
+
+
+
+
+ +

+CV_64FC

+
+public static final int CV_64FC(int ch)
+
+
+
+
+
+
+ +

+CV_8SC

+
+public static final int CV_8SC(int ch)
+
+
+
+
+
+
+ +

+CV_8UC

+
+public static final int CV_8UC(int ch)
+
+
+
+
+
+
+ +

+depth

+
+public static final int depth(int type)
+
+
+
+
+
+
+ +

+ELEM_SIZE

+
+public static final int ELEM_SIZE(int type)
+
+
+
+
+
+
+ +

+isInteger

+
+public static final boolean isInteger(int type)
+
+
+
+
+
+
+ +

+makeType

+
+public static final int makeType(int depth,
+                                 int channels)
+
+
+
+
+
+
+ +

+typeToString

+
+public static final java.lang.String typeToString(int type)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/DMatch.html b/opencv3/javadoc/org/opencv/core/DMatch.html new file mode 100644 index 0000000..532cedf --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/DMatch.html @@ -0,0 +1,411 @@ + + + + + + +DMatch + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class DMatch

+
+java.lang.Object
+  extended by org.opencv.core.DMatch
+
+
+
+
public class DMatch
extends java.lang.Object
+ + +

+Structure for matching: query descriptor index, train descriptor index, train + image index and distance between descriptors. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+ floatdistance + +
+           
+ intimgIdx + +
+          Train image index.
+ intqueryIdx + +
+          Query descriptor index.
+ inttrainIdx + +
+          Train descriptor index.
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
DMatch() + +
+           
DMatch(int _queryIdx, + int _trainIdx, + float _distance) + +
+           
DMatch(int _queryIdx, + int _trainIdx, + int _imgIdx, + float _distance) + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ booleanlessThan(DMatch it) + +
+          Less is better.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+distance

+
+public float distance
+
+
+
+
+
+ +

+imgIdx

+
+public int imgIdx
+
+
Train image index. +

+

+
+
+
+ +

+queryIdx

+
+public int queryIdx
+
+
Query descriptor index. +

+

+
+
+
+ +

+trainIdx

+
+public int trainIdx
+
+
Train descriptor index. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+DMatch

+
+public DMatch()
+
+
+
+ +

+DMatch

+
+public DMatch(int _queryIdx,
+              int _trainIdx,
+              float _distance)
+
+
+
+ +

+DMatch

+
+public DMatch(int _queryIdx,
+              int _trainIdx,
+              int _imgIdx,
+              float _distance)
+
+
+ + + + + + + + +
+Method Detail
+ +

+lessThan

+
+public boolean lessThan(DMatch it)
+
+
Less is better. +

+

+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/KeyPoint.html b/opencv3/javadoc/org/opencv/core/KeyPoint.html new file mode 100644 index 0000000..d0377e8 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/KeyPoint.html @@ -0,0 +1,502 @@ + + + + + + +KeyPoint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class KeyPoint

+
+java.lang.Object
+  extended by org.opencv.core.KeyPoint
+
+
+
+
public class KeyPoint
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+ floatangle + +
+          Computed orientation of the keypoint (-1 if not applicable).
+ intclass_id + +
+          Object ID, that can be used to cluster keypoints by an object they + belong to.
+ intoctave + +
+          Octave (pyramid layer), from which the keypoint has been extracted.
+ Pointpt + +
+          Coordinates of the keypoint.
+ floatresponse + +
+          The response, by which the strongest keypoints have been selected.
+ floatsize + +
+          Diameter of the useful keypoint adjacent area.
+  + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
KeyPoint() + +
+           
KeyPoint(float x, + float y, + float _size) + +
+           
KeyPoint(float x, + float y, + float _size, + float _angle) + +
+           
KeyPoint(float x, + float y, + float _size, + float _angle, + float _response) + +
+           
KeyPoint(float x, + float y, + float _size, + float _angle, + float _response, + int _octave) + +
+           
KeyPoint(float x, + float y, + float _size, + float _angle, + float _response, + int _octave, + int _class_id) + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+angle

+
+public float angle
+
+
Computed orientation of the keypoint (-1 if not applicable). +

+

+
+
+
+ +

+class_id

+
+public int class_id
+
+
Object ID, that can be used to cluster keypoints by an object they + belong to. +

+

+
+
+
+ +

+octave

+
+public int octave
+
+
Octave (pyramid layer), from which the keypoint has been extracted. +

+

+
+
+
+ +

+pt

+
+public Point pt
+
+
Coordinates of the keypoint. +

+

+
+
+
+ +

+response

+
+public float response
+
+
The response, by which the strongest keypoints have been selected. Can + be used for further sorting or subsampling. +

+

+
+
+
+ +

+size

+
+public float size
+
+
Diameter of the useful keypoint adjacent area. +

+

+
+
+ + + + + + + + +
+Constructor Detail
+ +

+KeyPoint

+
+public KeyPoint()
+
+
+
+ +

+KeyPoint

+
+public KeyPoint(float x,
+                float y,
+                float _size)
+
+
+
+ +

+KeyPoint

+
+public KeyPoint(float x,
+                float y,
+                float _size,
+                float _angle)
+
+
+
+ +

+KeyPoint

+
+public KeyPoint(float x,
+                float y,
+                float _size,
+                float _angle,
+                float _response)
+
+
+
+ +

+KeyPoint

+
+public KeyPoint(float x,
+                float y,
+                float _size,
+                float _angle,
+                float _response,
+                int _octave)
+
+
+
+ +

+KeyPoint

+
+public KeyPoint(float x,
+                float y,
+                float _size,
+                float _angle,
+                float _response,
+                int _octave,
+                int _class_id)
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Mat.html b/opencv3/javadoc/org/opencv/core/Mat.html new file mode 100644 index 0000000..12ac839 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Mat.html @@ -0,0 +1,2046 @@ + + + + + + +Mat + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Mat

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+
+
+
Direct Known Subclasses:
MatOfByte, MatOfDMatch, MatOfDouble, MatOfFloat, MatOfFloat4, MatOfFloat6, MatOfInt, MatOfInt4, MatOfKeyPoint, MatOfPoint, MatOfPoint2f, MatOfPoint3, MatOfPoint3f, MatOfRect
+
+
+
+
public class Mat
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+ longnativeObj + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
Mat() + +
+           
Mat(int rows, + int cols, + int type) + +
+           
Mat(int rows, + int cols, + int type, + Scalar s) + +
+           
Mat(long addr) + +
+           
Mat(Mat m, + Range rowRange) + +
+           
Mat(Mat m, + Range rowRange, + Range colRange) + +
+           
Mat(Mat m, + Rect roi) + +
+           
Mat(Size size, + int type) + +
+           
Mat(Size size, + int type, + Scalar s) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ MatadjustROI(int dtop, + int dbottom, + int dleft, + int dright) + +
+           
+ voidassignTo(Mat m) + +
+           
+ voidassignTo(Mat m, + int type) + +
+           
+ intchannels() + +
+           
+ intcheckVector(int elemChannels) + +
+           
+ intcheckVector(int elemChannels, + int depth) + +
+           
+ intcheckVector(int elemChannels, + int depth, + boolean requireContinuous) + +
+           
+ Matclone() + +
+           
+ Matcol(int x) + +
+           
+ MatcolRange(int startcol, + int endcol) + +
+           
+ MatcolRange(Range r) + +
+           
+ intcols() + +
+           
+ voidconvertTo(Mat m, + int rtype) + +
+           
+ voidconvertTo(Mat m, + int rtype, + double alpha) + +
+           
+ voidconvertTo(Mat m, + int rtype, + double alpha, + double beta) + +
+           
+ voidcopyTo(Mat m) + +
+           
+ voidcopyTo(Mat m, + Mat mask) + +
+           
+ voidcreate(int rows, + int cols, + int type) + +
+           
+ voidcreate(Size size, + int type) + +
+           
+ Matcross(Mat m) + +
+           
+ longdataAddr() + +
+           
+ intdepth() + +
+           
+ Matdiag() + +
+           
+ Matdiag(int d) + +
+           
+static Matdiag(Mat d) + +
+           
+ intdims() + +
+           
+ doubledot(Mat m) + +
+           
+ java.lang.Stringdump() + +
+           
+ longelemSize() + +
+           
+ longelemSize1() + +
+           
+ booleanempty() + +
+           
+static Mateye(int rows, + int cols, + int type) + +
+           
+static Mateye(Size size, + int type) + +
+           
+ double[]get(int row, + int col) + +
+           
+ intget(int row, + int col, + byte[] data) + +
+           
+ intget(int row, + int col, + double[] data) + +
+           
+ intget(int row, + int col, + float[] data) + +
+           
+ intget(int row, + int col, + int[] data) + +
+           
+ intget(int row, + int col, + short[] data) + +
+           
+ longgetNativeObjAddr() + +
+           
+ intheight() + +
+           
+ Matinv() + +
+           
+ Matinv(int method) + +
+           
+ booleanisContinuous() + +
+           
+ booleanisSubmatrix() + +
+           
+ voidlocateROI(Size wholeSize, + Point ofs) + +
+           
+ Matmul(Mat m) + +
+           
+ Matmul(Mat m, + double scale) + +
+           
+static Matones(int rows, + int cols, + int type) + +
+           
+static Matones(Size size, + int type) + +
+           
+ voidpush_back(Mat m) + +
+           
+ intput(int row, + int col, + byte[] data) + +
+           
+ intput(int row, + int col, + double... data) + +
+           
+ intput(int row, + int col, + float[] data) + +
+           
+ intput(int row, + int col, + int[] data) + +
+           
+ intput(int row, + int col, + short[] data) + +
+           
+ voidrelease() + +
+           
+ Matreshape(int cn) + +
+           
+ Matreshape(int cn, + int rows) + +
+           
+ Matrow(int y) + +
+           
+ MatrowRange(int startrow, + int endrow) + +
+           
+ MatrowRange(Range r) + +
+           
+ introws() + +
+           
+ MatsetTo(Mat value) + +
+           
+ MatsetTo(Mat value, + Mat mask) + +
+           
+ MatsetTo(Scalar s) + +
+           
+ MatsetTo(Scalar value, + Mat mask) + +
+           
+ Sizesize() + +
+           
+ longstep1() + +
+           
+ longstep1(int i) + +
+           
+ Matsubmat(int rowStart, + int rowEnd, + int colStart, + int colEnd) + +
+           
+ Matsubmat(Range rowRange, + Range colRange) + +
+           
+ Matsubmat(Rect roi) + +
+           
+ Matt() + +
+           
+ java.lang.StringtoString() + +
+           
+ longtotal() + +
+           
+ inttype() + +
+           
+ intwidth() + +
+           
+static Matzeros(int rows, + int cols, + int type) + +
+           
+static Matzeros(Size size, + int type) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+nativeObj

+
+public final long nativeObj
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Mat

+
+public Mat()
+
+
+
+ +

+Mat

+
+public Mat(int rows,
+           int cols,
+           int type)
+
+
+
+ +

+Mat

+
+public Mat(int rows,
+           int cols,
+           int type,
+           Scalar s)
+
+
+
+ +

+Mat

+
+public Mat(long addr)
+
+
+
+ +

+Mat

+
+public Mat(Mat m,
+           Range rowRange)
+
+
+
+ +

+Mat

+
+public Mat(Mat m,
+           Range rowRange,
+           Range colRange)
+
+
+
+ +

+Mat

+
+public Mat(Mat m,
+           Rect roi)
+
+
+
+ +

+Mat

+
+public Mat(Size size,
+           int type)
+
+
+
+ +

+Mat

+
+public Mat(Size size,
+           int type,
+           Scalar s)
+
+
+ + + + + + + + +
+Method Detail
+ +

+adjustROI

+
+public Mat adjustROI(int dtop,
+                     int dbottom,
+                     int dleft,
+                     int dright)
+
+
+
+
+
+
+ +

+assignTo

+
+public void assignTo(Mat m)
+
+
+
+
+
+
+ +

+assignTo

+
+public void assignTo(Mat m,
+                     int type)
+
+
+
+
+
+
+ +

+channels

+
+public int channels()
+
+
+
+
+
+
+ +

+checkVector

+
+public int checkVector(int elemChannels)
+
+
+
+
+
+
+ +

+checkVector

+
+public int checkVector(int elemChannels,
+                       int depth)
+
+
+
+
+
+
+ +

+checkVector

+
+public int checkVector(int elemChannels,
+                       int depth,
+                       boolean requireContinuous)
+
+
+
+
+
+
+ +

+clone

+
+public Mat clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+col

+
+public Mat col(int x)
+
+
+
+
+
+
+ +

+colRange

+
+public Mat colRange(int startcol,
+                    int endcol)
+
+
+
+
+
+
+ +

+colRange

+
+public Mat colRange(Range r)
+
+
+
+
+
+
+ +

+cols

+
+public int cols()
+
+
+
+
+
+
+ +

+convertTo

+
+public void convertTo(Mat m,
+                      int rtype)
+
+
+
+
+
+
+ +

+convertTo

+
+public void convertTo(Mat m,
+                      int rtype,
+                      double alpha)
+
+
+
+
+
+
+ +

+convertTo

+
+public void convertTo(Mat m,
+                      int rtype,
+                      double alpha,
+                      double beta)
+
+
+
+
+
+
+ +

+copyTo

+
+public void copyTo(Mat m)
+
+
+
+
+
+
+ +

+copyTo

+
+public void copyTo(Mat m,
+                   Mat mask)
+
+
+
+
+
+
+ +

+create

+
+public void create(int rows,
+                   int cols,
+                   int type)
+
+
+
+
+
+
+ +

+create

+
+public void create(Size size,
+                   int type)
+
+
+
+
+
+
+ +

+cross

+
+public Mat cross(Mat m)
+
+
+
+
+
+
+ +

+dataAddr

+
+public long dataAddr()
+
+
+
+
+
+
+ +

+depth

+
+public int depth()
+
+
+
+
+
+
+ +

+diag

+
+public Mat diag()
+
+
+
+
+
+
+ +

+diag

+
+public Mat diag(int d)
+
+
+
+
+
+
+ +

+diag

+
+public static Mat diag(Mat d)
+
+
+
+
+
+
+ +

+dims

+
+public int dims()
+
+
+
+
+
+
+ +

+dot

+
+public double dot(Mat m)
+
+
+
+
+
+
+ +

+dump

+
+public java.lang.String dump()
+
+
+
+
+
+
+ +

+elemSize

+
+public long elemSize()
+
+
+
+
+
+
+ +

+elemSize1

+
+public long elemSize1()
+
+
+
+
+
+
+ +

+empty

+
+public boolean empty()
+
+
+
+
+
+
+ +

+eye

+
+public static Mat eye(int rows,
+                      int cols,
+                      int type)
+
+
+
+
+
+
+ +

+eye

+
+public static Mat eye(Size size,
+                      int type)
+
+
+
+
+
+
+ +

+get

+
+public double[] get(int row,
+                    int col)
+
+
+
+
+
+
+ +

+get

+
+public int get(int row,
+               int col,
+               byte[] data)
+
+
+
+
+
+
+ +

+get

+
+public int get(int row,
+               int col,
+               double[] data)
+
+
+
+
+
+
+ +

+get

+
+public int get(int row,
+               int col,
+               float[] data)
+
+
+
+
+
+
+ +

+get

+
+public int get(int row,
+               int col,
+               int[] data)
+
+
+
+
+
+
+ +

+get

+
+public int get(int row,
+               int col,
+               short[] data)
+
+
+
+
+
+
+ +

+getNativeObjAddr

+
+public long getNativeObjAddr()
+
+
+
+
+
+
+ +

+height

+
+public int height()
+
+
+
+
+
+
+ +

+inv

+
+public Mat inv()
+
+
+
+
+
+
+ +

+inv

+
+public Mat inv(int method)
+
+
+
+
+
+
+ +

+isContinuous

+
+public boolean isContinuous()
+
+
+
+
+
+
+ +

+isSubmatrix

+
+public boolean isSubmatrix()
+
+
+
+
+
+
+ +

+locateROI

+
+public void locateROI(Size wholeSize,
+                      Point ofs)
+
+
+
+
+
+
+ +

+mul

+
+public Mat mul(Mat m)
+
+
+
+
+
+
+ +

+mul

+
+public Mat mul(Mat m,
+               double scale)
+
+
+
+
+
+
+ +

+ones

+
+public static Mat ones(int rows,
+                       int cols,
+                       int type)
+
+
+
+
+
+
+ +

+ones

+
+public static Mat ones(Size size,
+                       int type)
+
+
+
+
+
+
+ +

+push_back

+
+public void push_back(Mat m)
+
+
+
+
+
+
+ +

+put

+
+public int put(int row,
+               int col,
+               byte[] data)
+
+
+
+
+
+
+ +

+put

+
+public int put(int row,
+               int col,
+               double... data)
+
+
+
+
+
+
+ +

+put

+
+public int put(int row,
+               int col,
+               float[] data)
+
+
+
+
+
+
+ +

+put

+
+public int put(int row,
+               int col,
+               int[] data)
+
+
+
+
+
+
+ +

+put

+
+public int put(int row,
+               int col,
+               short[] data)
+
+
+
+
+
+
+ +

+release

+
+public void release()
+
+
+
+
+
+
+ +

+reshape

+
+public Mat reshape(int cn)
+
+
+
+
+
+
+ +

+reshape

+
+public Mat reshape(int cn,
+                   int rows)
+
+
+
+
+
+
+ +

+row

+
+public Mat row(int y)
+
+
+
+
+
+
+ +

+rowRange

+
+public Mat rowRange(int startrow,
+                    int endrow)
+
+
+
+
+
+
+ +

+rowRange

+
+public Mat rowRange(Range r)
+
+
+
+
+
+
+ +

+rows

+
+public int rows()
+
+
+
+
+
+
+ +

+setTo

+
+public Mat setTo(Mat value)
+
+
+
+
+
+
+ +

+setTo

+
+public Mat setTo(Mat value,
+                 Mat mask)
+
+
+
+
+
+
+ +

+setTo

+
+public Mat setTo(Scalar s)
+
+
+
+
+
+
+ +

+setTo

+
+public Mat setTo(Scalar value,
+                 Mat mask)
+
+
+
+
+
+
+ +

+size

+
+public Size size()
+
+
+
+
+
+
+ +

+step1

+
+public long step1()
+
+
+
+
+
+
+ +

+step1

+
+public long step1(int i)
+
+
+
+
+
+
+ +

+submat

+
+public Mat submat(int rowStart,
+                  int rowEnd,
+                  int colStart,
+                  int colEnd)
+
+
+
+
+
+
+ +

+submat

+
+public Mat submat(Range rowRange,
+                  Range colRange)
+
+
+
+
+
+
+ +

+submat

+
+public Mat submat(Rect roi)
+
+
+
+
+
+
+ +

+t

+
+public Mat t()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+total

+
+public long total()
+
+
+
+
+
+
+ +

+type

+
+public int type()
+
+
+
+
+
+
+ +

+width

+
+public int width()
+
+
+
+
+
+
+ +

+zeros

+
+public static Mat zeros(int rows,
+                        int cols,
+                        int type)
+
+
+
+
+
+
+ +

+zeros

+
+public static Mat zeros(Size size,
+                        int type)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfByte.html b/opencv3/javadoc/org/opencv/core/MatOfByte.html new file mode 100644 index 0000000..271a1a3 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfByte.html @@ -0,0 +1,399 @@ + + + + + + +MatOfByte + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfByte

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfByte
+
+
+
+
public class MatOfByte
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfByte() + +
+           
MatOfByte(byte... a) + +
+           
MatOfByte(Mat m) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(byte... a) + +
+           
+ voidfromList(java.util.List<java.lang.Byte> lb) + +
+           
+static MatOfBytefromNativeAddr(long addr) + +
+           
+ byte[]toArray() + +
+           
+ java.util.List<java.lang.Byte>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfByte

+
+public MatOfByte()
+
+
+
+ +

+MatOfByte

+
+public MatOfByte(byte... a)
+
+
+
+ +

+MatOfByte

+
+public MatOfByte(Mat m)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(byte... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<java.lang.Byte> lb)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfByte fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public byte[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<java.lang.Byte> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfDMatch.html b/opencv3/javadoc/org/opencv/core/MatOfDMatch.html new file mode 100644 index 0000000..8b4b428 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfDMatch.html @@ -0,0 +1,399 @@ + + + + + + +MatOfDMatch + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfDMatch

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfDMatch
+
+
+
+
public class MatOfDMatch
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfDMatch() + +
+           
MatOfDMatch(DMatch... ap) + +
+           
MatOfDMatch(Mat m) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(DMatch... a) + +
+           
+ voidfromList(java.util.List<DMatch> ldm) + +
+           
+static MatOfDMatchfromNativeAddr(long addr) + +
+           
+ DMatch[]toArray() + +
+           
+ java.util.List<DMatch>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfDMatch

+
+public MatOfDMatch()
+
+
+
+ +

+MatOfDMatch

+
+public MatOfDMatch(DMatch... ap)
+
+
+
+ +

+MatOfDMatch

+
+public MatOfDMatch(Mat m)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(DMatch... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<DMatch> ldm)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfDMatch fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public DMatch[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<DMatch> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfDouble.html b/opencv3/javadoc/org/opencv/core/MatOfDouble.html new file mode 100644 index 0000000..ecd164b --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfDouble.html @@ -0,0 +1,399 @@ + + + + + + +MatOfDouble + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfDouble

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfDouble
+
+
+
+
public class MatOfDouble
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfDouble() + +
+           
MatOfDouble(double... a) + +
+           
MatOfDouble(Mat m) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(double... a) + +
+           
+ voidfromList(java.util.List<java.lang.Double> lb) + +
+           
+static MatOfDoublefromNativeAddr(long addr) + +
+           
+ double[]toArray() + +
+           
+ java.util.List<java.lang.Double>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfDouble

+
+public MatOfDouble()
+
+
+
+ +

+MatOfDouble

+
+public MatOfDouble(double... a)
+
+
+
+ +

+MatOfDouble

+
+public MatOfDouble(Mat m)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(double... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<java.lang.Double> lb)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfDouble fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public double[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<java.lang.Double> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfFloat.html b/opencv3/javadoc/org/opencv/core/MatOfFloat.html new file mode 100644 index 0000000..6ea1510 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfFloat.html @@ -0,0 +1,399 @@ + + + + + + +MatOfFloat + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfFloat

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfFloat
+
+
+
+
public class MatOfFloat
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfFloat() + +
+           
MatOfFloat(float... a) + +
+           
MatOfFloat(Mat m) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(float... a) + +
+           
+ voidfromList(java.util.List<java.lang.Float> lb) + +
+           
+static MatOfFloatfromNativeAddr(long addr) + +
+           
+ float[]toArray() + +
+           
+ java.util.List<java.lang.Float>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfFloat

+
+public MatOfFloat()
+
+
+
+ +

+MatOfFloat

+
+public MatOfFloat(float... a)
+
+
+
+ +

+MatOfFloat

+
+public MatOfFloat(Mat m)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(float... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<java.lang.Float> lb)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfFloat fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public float[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<java.lang.Float> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfFloat4.html b/opencv3/javadoc/org/opencv/core/MatOfFloat4.html new file mode 100644 index 0000000..9043758 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfFloat4.html @@ -0,0 +1,399 @@ + + + + + + +MatOfFloat4 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfFloat4

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfFloat4
+
+
+
+
public class MatOfFloat4
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfFloat4() + +
+           
MatOfFloat4(float... a) + +
+           
MatOfFloat4(Mat m) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(float... a) + +
+           
+ voidfromList(java.util.List<java.lang.Float> lb) + +
+           
+static MatOfFloat4fromNativeAddr(long addr) + +
+           
+ float[]toArray() + +
+           
+ java.util.List<java.lang.Float>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfFloat4

+
+public MatOfFloat4()
+
+
+
+ +

+MatOfFloat4

+
+public MatOfFloat4(float... a)
+
+
+
+ +

+MatOfFloat4

+
+public MatOfFloat4(Mat m)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(float... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<java.lang.Float> lb)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfFloat4 fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public float[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<java.lang.Float> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfFloat6.html b/opencv3/javadoc/org/opencv/core/MatOfFloat6.html new file mode 100644 index 0000000..6a8dd1c --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfFloat6.html @@ -0,0 +1,399 @@ + + + + + + +MatOfFloat6 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfFloat6

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfFloat6
+
+
+
+
public class MatOfFloat6
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfFloat6() + +
+           
MatOfFloat6(float... a) + +
+           
MatOfFloat6(Mat m) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(float... a) + +
+           
+ voidfromList(java.util.List<java.lang.Float> lb) + +
+           
+static MatOfFloat6fromNativeAddr(long addr) + +
+           
+ float[]toArray() + +
+           
+ java.util.List<java.lang.Float>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfFloat6

+
+public MatOfFloat6()
+
+
+
+ +

+MatOfFloat6

+
+public MatOfFloat6(float... a)
+
+
+
+ +

+MatOfFloat6

+
+public MatOfFloat6(Mat m)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(float... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<java.lang.Float> lb)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfFloat6 fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public float[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<java.lang.Float> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfInt.html b/opencv3/javadoc/org/opencv/core/MatOfInt.html new file mode 100644 index 0000000..d96ba11 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfInt.html @@ -0,0 +1,399 @@ + + + + + + +MatOfInt + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfInt

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfInt
+
+
+
+
public class MatOfInt
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfInt() + +
+           
MatOfInt(int... a) + +
+           
MatOfInt(Mat m) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(int... a) + +
+           
+ voidfromList(java.util.List<java.lang.Integer> lb) + +
+           
+static MatOfIntfromNativeAddr(long addr) + +
+           
+ int[]toArray() + +
+           
+ java.util.List<java.lang.Integer>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfInt

+
+public MatOfInt()
+
+
+
+ +

+MatOfInt

+
+public MatOfInt(int... a)
+
+
+
+ +

+MatOfInt

+
+public MatOfInt(Mat m)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(int... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<java.lang.Integer> lb)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfInt fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public int[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<java.lang.Integer> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfInt4.html b/opencv3/javadoc/org/opencv/core/MatOfInt4.html new file mode 100644 index 0000000..1738730 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfInt4.html @@ -0,0 +1,399 @@ + + + + + + +MatOfInt4 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfInt4

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfInt4
+
+
+
+
public class MatOfInt4
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfInt4() + +
+           
MatOfInt4(int... a) + +
+           
MatOfInt4(Mat m) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(int... a) + +
+           
+ voidfromList(java.util.List<java.lang.Integer> lb) + +
+           
+static MatOfInt4fromNativeAddr(long addr) + +
+           
+ int[]toArray() + +
+           
+ java.util.List<java.lang.Integer>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfInt4

+
+public MatOfInt4()
+
+
+
+ +

+MatOfInt4

+
+public MatOfInt4(int... a)
+
+
+
+ +

+MatOfInt4

+
+public MatOfInt4(Mat m)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(int... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<java.lang.Integer> lb)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfInt4 fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public int[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<java.lang.Integer> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfKeyPoint.html b/opencv3/javadoc/org/opencv/core/MatOfKeyPoint.html new file mode 100644 index 0000000..27cdbd7 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfKeyPoint.html @@ -0,0 +1,399 @@ + + + + + + +MatOfKeyPoint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfKeyPoint

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfKeyPoint
+
+
+
+
public class MatOfKeyPoint
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfKeyPoint() + +
+           
MatOfKeyPoint(KeyPoint... a) + +
+           
MatOfKeyPoint(Mat m) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(KeyPoint... a) + +
+           
+ voidfromList(java.util.List<KeyPoint> lkp) + +
+           
+static MatOfKeyPointfromNativeAddr(long addr) + +
+           
+ KeyPoint[]toArray() + +
+           
+ java.util.List<KeyPoint>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfKeyPoint

+
+public MatOfKeyPoint()
+
+
+
+ +

+MatOfKeyPoint

+
+public MatOfKeyPoint(KeyPoint... a)
+
+
+
+ +

+MatOfKeyPoint

+
+public MatOfKeyPoint(Mat m)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(KeyPoint... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<KeyPoint> lkp)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfKeyPoint fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public KeyPoint[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<KeyPoint> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfPoint.html b/opencv3/javadoc/org/opencv/core/MatOfPoint.html new file mode 100644 index 0000000..82d5d27 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfPoint.html @@ -0,0 +1,399 @@ + + + + + + +MatOfPoint + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfPoint

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfPoint
+
+
+
+
public class MatOfPoint
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfPoint() + +
+           
MatOfPoint(Mat m) + +
+           
MatOfPoint(Point... a) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(Point... a) + +
+           
+ voidfromList(java.util.List<Point> lp) + +
+           
+static MatOfPointfromNativeAddr(long addr) + +
+           
+ Point[]toArray() + +
+           
+ java.util.List<Point>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfPoint

+
+public MatOfPoint()
+
+
+
+ +

+MatOfPoint

+
+public MatOfPoint(Mat m)
+
+
+
+ +

+MatOfPoint

+
+public MatOfPoint(Point... a)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(Point... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<Point> lp)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfPoint fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public Point[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<Point> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfPoint2f.html b/opencv3/javadoc/org/opencv/core/MatOfPoint2f.html new file mode 100644 index 0000000..9b3d25f --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfPoint2f.html @@ -0,0 +1,399 @@ + + + + + + +MatOfPoint2f + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfPoint2f

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfPoint2f
+
+
+
+
public class MatOfPoint2f
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfPoint2f() + +
+           
MatOfPoint2f(Mat m) + +
+           
MatOfPoint2f(Point... a) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(Point... a) + +
+           
+ voidfromList(java.util.List<Point> lp) + +
+           
+static MatOfPoint2ffromNativeAddr(long addr) + +
+           
+ Point[]toArray() + +
+           
+ java.util.List<Point>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfPoint2f

+
+public MatOfPoint2f()
+
+
+
+ +

+MatOfPoint2f

+
+public MatOfPoint2f(Mat m)
+
+
+
+ +

+MatOfPoint2f

+
+public MatOfPoint2f(Point... a)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(Point... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<Point> lp)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfPoint2f fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public Point[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<Point> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfPoint3.html b/opencv3/javadoc/org/opencv/core/MatOfPoint3.html new file mode 100644 index 0000000..143a098 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfPoint3.html @@ -0,0 +1,399 @@ + + + + + + +MatOfPoint3 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfPoint3

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfPoint3
+
+
+
+
public class MatOfPoint3
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfPoint3() + +
+           
MatOfPoint3(Mat m) + +
+           
MatOfPoint3(Point3... a) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(Point3... a) + +
+           
+ voidfromList(java.util.List<Point3> lp) + +
+           
+static MatOfPoint3fromNativeAddr(long addr) + +
+           
+ Point3[]toArray() + +
+           
+ java.util.List<Point3>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfPoint3

+
+public MatOfPoint3()
+
+
+
+ +

+MatOfPoint3

+
+public MatOfPoint3(Mat m)
+
+
+
+ +

+MatOfPoint3

+
+public MatOfPoint3(Point3... a)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(Point3... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<Point3> lp)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfPoint3 fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public Point3[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<Point3> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfPoint3f.html b/opencv3/javadoc/org/opencv/core/MatOfPoint3f.html new file mode 100644 index 0000000..968f886 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfPoint3f.html @@ -0,0 +1,399 @@ + + + + + + +MatOfPoint3f + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfPoint3f

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfPoint3f
+
+
+
+
public class MatOfPoint3f
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfPoint3f() + +
+           
MatOfPoint3f(Mat m) + +
+           
MatOfPoint3f(Point3... a) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(Point3... a) + +
+           
+ voidfromList(java.util.List<Point3> lp) + +
+           
+static MatOfPoint3ffromNativeAddr(long addr) + +
+           
+ Point3[]toArray() + +
+           
+ java.util.List<Point3>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfPoint3f

+
+public MatOfPoint3f()
+
+
+
+ +

+MatOfPoint3f

+
+public MatOfPoint3f(Mat m)
+
+
+
+ +

+MatOfPoint3f

+
+public MatOfPoint3f(Point3... a)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(Point3... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<Point3> lp)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfPoint3f fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public Point3[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<Point3> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/MatOfRect.html b/opencv3/javadoc/org/opencv/core/MatOfRect.html new file mode 100644 index 0000000..1449ed4 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/MatOfRect.html @@ -0,0 +1,399 @@ + + + + + + +MatOfRect + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class MatOfRect

+
+java.lang.Object
+  extended by org.opencv.core.Mat
+      extended by org.opencv.core.MatOfRect
+
+
+
+
public class MatOfRect
extends Mat
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.core.Mat
nativeObj
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
MatOfRect() + +
+           
MatOfRect(Mat m) + +
+           
MatOfRect(Rect... a) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidalloc(int elemNumber) + +
+           
+ voidfromArray(Rect... a) + +
+           
+ voidfromList(java.util.List<Rect> lr) + +
+           
+static MatOfRectfromNativeAddr(long addr) + +
+           
+ Rect[]toArray() + +
+           
+ java.util.List<Rect>toList() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Mat
adjustROI, assignTo, assignTo, channels, checkVector, checkVector, checkVector, clone, col, colRange, colRange, cols, convertTo, convertTo, convertTo, copyTo, copyTo, create, create, cross, dataAddr, depth, diag, diag, diag, dims, dot, dump, elemSize, elemSize1, empty, eye, eye, get, get, get, get, get, get, getNativeObjAddr, height, inv, inv, isContinuous, isSubmatrix, locateROI, mul, mul, ones, ones, push_back, put, put, put, put, put, release, reshape, reshape, row, rowRange, rowRange, rows, setTo, setTo, setTo, setTo, size, step1, step1, submat, submat, submat, t, toString, total, type, width, zeros, zeros
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+MatOfRect

+
+public MatOfRect()
+
+
+
+ +

+MatOfRect

+
+public MatOfRect(Mat m)
+
+
+
+ +

+MatOfRect

+
+public MatOfRect(Rect... a)
+
+
+ + + + + + + + +
+Method Detail
+ +

+alloc

+
+public void alloc(int elemNumber)
+
+
+
+
+
+
+ +

+fromArray

+
+public void fromArray(Rect... a)
+
+
+
+
+
+
+ +

+fromList

+
+public void fromList(java.util.List<Rect> lr)
+
+
+
+
+
+
+ +

+fromNativeAddr

+
+public static MatOfRect fromNativeAddr(long addr)
+
+
+
+
+
+
+ +

+toArray

+
+public Rect[] toArray()
+
+
+
+
+
+
+ +

+toList

+
+public java.util.List<Rect> toList()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Point.html b/opencv3/javadoc/org/opencv/core/Point.html new file mode 100644 index 0000000..ae260ba --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Point.html @@ -0,0 +1,458 @@ + + + + + + +Point + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Point

+
+java.lang.Object
+  extended by org.opencv.core.Point
+
+
+
+
public class Point
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+ doublex + +
+           
+ doubley + +
+           
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
Point() + +
+           
Point(double[] vals) + +
+           
Point(double x, + double y) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Pointclone() + +
+           
+ doubledot(Point p) + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ inthashCode() + +
+           
+ booleaninside(Rect r) + +
+           
+ voidset(double[] vals) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+x

+
+public double x
+
+
+
+
+
+ +

+y

+
+public double y
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Point

+
+public Point()
+
+
+
+ +

+Point

+
+public Point(double[] vals)
+
+
+
+ +

+Point

+
+public Point(double x,
+             double y)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Point clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+dot

+
+public double dot(Point p)
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+inside

+
+public boolean inside(Rect r)
+
+
+
+
+
+
+ +

+set

+
+public void set(double[] vals)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Point3.html b/opencv3/javadoc/org/opencv/core/Point3.html new file mode 100644 index 0000000..e4b73c7 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Point3.html @@ -0,0 +1,492 @@ + + + + + + +Point3 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Point3

+
+java.lang.Object
+  extended by org.opencv.core.Point3
+
+
+
+
public class Point3
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+ doublex + +
+           
+ doubley + +
+           
+ doublez + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
Point3() + +
+           
Point3(double[] vals) + +
+           
Point3(double x, + double y, + double z) + +
+           
Point3(Point p) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Point3clone() + +
+           
+ Point3cross(Point3 p) + +
+           
+ doubledot(Point3 p) + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ inthashCode() + +
+           
+ voidset(double[] vals) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+x

+
+public double x
+
+
+
+
+
+ +

+y

+
+public double y
+
+
+
+
+
+ +

+z

+
+public double z
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Point3

+
+public Point3()
+
+
+
+ +

+Point3

+
+public Point3(double[] vals)
+
+
+
+ +

+Point3

+
+public Point3(double x,
+              double y,
+              double z)
+
+
+
+ +

+Point3

+
+public Point3(Point p)
+
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public Point3 clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+cross

+
+public Point3 cross(Point3 p)
+
+
+
+
+
+
+ +

+dot

+
+public double dot(Point3 p)
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+set

+
+public void set(double[] vals)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Range.html b/opencv3/javadoc/org/opencv/core/Range.html new file mode 100644 index 0000000..6fd5d82 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Range.html @@ -0,0 +1,515 @@ + + + + + + +Range + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Range

+
+java.lang.Object
+  extended by org.opencv.core.Range
+
+
+
+
public class Range
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+ intend + +
+           
+ intstart + +
+           
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
Range() + +
+           
Range(double[] vals) + +
+           
Range(int s, + int e) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Rangeall() + +
+           
+ Rangeclone() + +
+           
+ booleanempty() + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ inthashCode() + +
+           
+ Rangeintersection(Range r1) + +
+           
+ voidset(double[] vals) + +
+           
+ Rangeshift(int delta) + +
+           
+ intsize() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+end

+
+public int end
+
+
+
+
+
+ +

+start

+
+public int start
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Range

+
+public Range()
+
+
+
+ +

+Range

+
+public Range(double[] vals)
+
+
+
+ +

+Range

+
+public Range(int s,
+             int e)
+
+
+ + + + + + + + +
+Method Detail
+ +

+all

+
+public static Range all()
+
+
+
+
+
+
+ +

+clone

+
+public Range clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+empty

+
+public boolean empty()
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+intersection

+
+public Range intersection(Range r1)
+
+
+
+
+
+
+ +

+set

+
+public void set(double[] vals)
+
+
+
+
+
+
+ +

+shift

+
+public Range shift(int delta)
+
+
+
+
+
+
+ +

+size

+
+public int size()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Rect.html b/opencv3/javadoc/org/opencv/core/Rect.html new file mode 100644 index 0000000..f4f35d0 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Rect.html @@ -0,0 +1,587 @@ + + + + + + +Rect + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Rect

+
+java.lang.Object
+  extended by org.opencv.core.Rect
+
+
+
+
public class Rect
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+ intheight + +
+           
+ intwidth + +
+           
+ intx + +
+           
+ inty + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
Rect() + +
+           
Rect(double[] vals) + +
+           
Rect(int x, + int y, + int width, + int height) + +
+           
Rect(Point p1, + Point p2) + +
+           
Rect(Point p, + Size s) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublearea() + +
+           
+ Pointbr() + +
+           
+ Rectclone() + +
+           
+ booleancontains(Point p) + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ inthashCode() + +
+           
+ voidset(double[] vals) + +
+           
+ Sizesize() + +
+           
+ Pointtl() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+height

+
+public int height
+
+
+
+
+
+ +

+width

+
+public int width
+
+
+
+
+
+ +

+x

+
+public int x
+
+
+
+
+
+ +

+y

+
+public int y
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Rect

+
+public Rect()
+
+
+
+ +

+Rect

+
+public Rect(double[] vals)
+
+
+
+ +

+Rect

+
+public Rect(int x,
+            int y,
+            int width,
+            int height)
+
+
+
+ +

+Rect

+
+public Rect(Point p1,
+            Point p2)
+
+
+
+ +

+Rect

+
+public Rect(Point p,
+            Size s)
+
+
+ + + + + + + + +
+Method Detail
+ +

+area

+
+public double area()
+
+
+
+
+
+
+ +

+br

+
+public Point br()
+
+
+
+
+
+
+ +

+clone

+
+public Rect clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+contains

+
+public boolean contains(Point p)
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+set

+
+public void set(double[] vals)
+
+
+
+
+
+
+ +

+size

+
+public Size size()
+
+
+
+
+
+
+ +

+tl

+
+public Point tl()
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/RotatedRect.html b/opencv3/javadoc/org/opencv/core/RotatedRect.html new file mode 100644 index 0000000..17caa3b --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/RotatedRect.html @@ -0,0 +1,478 @@ + + + + + + +RotatedRect + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class RotatedRect

+
+java.lang.Object
+  extended by org.opencv.core.RotatedRect
+
+
+
+
public class RotatedRect
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+ doubleangle + +
+           
+ Pointcenter + +
+           
+ Sizesize + +
+           
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
RotatedRect() + +
+           
RotatedRect(double[] vals) + +
+           
RotatedRect(Point c, + Size s, + double a) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ RectboundingRect() + +
+           
+ RotatedRectclone() + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ inthashCode() + +
+           
+ voidpoints(Point[] pt) + +
+           
+ voidset(double[] vals) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+angle

+
+public double angle
+
+
+
+
+
+ +

+center

+
+public Point center
+
+
+
+
+
+ +

+size

+
+public Size size
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+RotatedRect

+
+public RotatedRect()
+
+
+
+ +

+RotatedRect

+
+public RotatedRect(double[] vals)
+
+
+
+ +

+RotatedRect

+
+public RotatedRect(Point c,
+                   Size s,
+                   double a)
+
+
+ + + + + + + + +
+Method Detail
+ +

+boundingRect

+
+public Rect boundingRect()
+
+
+
+
+
+
+ +

+clone

+
+public RotatedRect clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+points

+
+public void points(Point[] pt)
+
+
+
+
+
+
+ +

+set

+
+public void set(double[] vals)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Scalar.html b/opencv3/javadoc/org/opencv/core/Scalar.html new file mode 100644 index 0000000..0462266 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Scalar.html @@ -0,0 +1,537 @@ + + + + + + +Scalar + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Scalar

+
+java.lang.Object
+  extended by org.opencv.core.Scalar
+
+
+
+
public class Scalar
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Field Summary
+ double[]val + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
Scalar(double v0) + +
+           
Scalar(double[] vals) + +
+           
Scalar(double v0, + double v1) + +
+           
Scalar(double v0, + double v1, + double v2) + +
+           
Scalar(double v0, + double v1, + double v2, + double v3) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Scalarall(double v) + +
+           
+ Scalarclone() + +
+           
+ Scalarconj() + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ inthashCode() + +
+           
+ booleanisReal() + +
+           
+ Scalarmul(Scalar it) + +
+           
+ Scalarmul(Scalar it, + double scale) + +
+           
+ voidset(double[] vals) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+val

+
+public double[] val
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Scalar

+
+public Scalar(double v0)
+
+
+
+ +

+Scalar

+
+public Scalar(double[] vals)
+
+
+
+ +

+Scalar

+
+public Scalar(double v0,
+              double v1)
+
+
+
+ +

+Scalar

+
+public Scalar(double v0,
+              double v1,
+              double v2)
+
+
+
+ +

+Scalar

+
+public Scalar(double v0,
+              double v1,
+              double v2,
+              double v3)
+
+
+ + + + + + + + +
+Method Detail
+ +

+all

+
+public static Scalar all(double v)
+
+
+
+
+
+
+ +

+clone

+
+public Scalar clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+conj

+
+public Scalar conj()
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+isReal

+
+public boolean isReal()
+
+
+
+
+
+
+ +

+mul

+
+public Scalar mul(Scalar it)
+
+
+
+
+
+
+ +

+mul

+
+public Scalar mul(Scalar it,
+                  double scale)
+
+
+
+
+
+
+ +

+set

+
+public void set(double[] vals)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/Size.html b/opencv3/javadoc/org/opencv/core/Size.html new file mode 100644 index 0000000..30b30a1 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/Size.html @@ -0,0 +1,453 @@ + + + + + + +Size + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class Size

+
+java.lang.Object
+  extended by org.opencv.core.Size
+
+
+
+
public class Size
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+ doubleheight + +
+           
+ doublewidth + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
Size() + +
+           
Size(double[] vals) + +
+           
Size(double width, + double height) + +
+           
Size(Point p) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublearea() + +
+           
+ Sizeclone() + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ inthashCode() + +
+           
+ voidset(double[] vals) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+height

+
+public double height
+
+
+
+
+
+ +

+width

+
+public double width
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+Size

+
+public Size()
+
+
+
+ +

+Size

+
+public Size(double[] vals)
+
+
+
+ +

+Size

+
+public Size(double width,
+            double height)
+
+
+
+ +

+Size

+
+public Size(Point p)
+
+
+ + + + + + + + +
+Method Detail
+ +

+area

+
+public double area()
+
+
+
+
+
+
+ +

+clone

+
+public Size clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+set

+
+public void set(double[] vals)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/TermCriteria.html b/opencv3/javadoc/org/opencv/core/TermCriteria.html new file mode 100644 index 0000000..ab15cef --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/TermCriteria.html @@ -0,0 +1,506 @@ + + + + + + +TermCriteria + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.core +
+Class TermCriteria

+
+java.lang.Object
+  extended by org.opencv.core.TermCriteria
+
+
+
+
public class TermCriteria
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCOUNT + +
+          The maximum number of iterations or elements to compute
+static intEPS + +
+          The desired accuracy threshold or change in parameters at which the iterative algorithm is terminated.
+ doubleepsilon + +
+           
+static intMAX_ITER + +
+          The maximum number of iterations or elements to compute
+ intmaxCount + +
+           
+ inttype + +
+           
+  + + + + + + + + + + + + + + + + +
+Constructor Summary
TermCriteria() + +
+          Termination criteria for iterative algorithms.
TermCriteria(double[] vals) + +
+           
TermCriteria(int type, + int maxCount, + double epsilon) + +
+          Termination criteria for iterative algorithms.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ TermCriteriaclone() + +
+           
+ booleanequals(java.lang.Object obj) + +
+           
+ inthashCode() + +
+           
+ voidset(double[] vals) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+COUNT

+
+public static final int COUNT
+
+
The maximum number of iterations or elements to compute +

+

+
See Also:
Constant Field Values
+
+
+ +

+EPS

+
+public static final int EPS
+
+
The desired accuracy threshold or change in parameters at which the iterative algorithm is terminated. +

+

+
See Also:
Constant Field Values
+
+
+ +

+epsilon

+
+public double epsilon
+
+
+
+
+
+ +

+MAX_ITER

+
+public static final int MAX_ITER
+
+
The maximum number of iterations or elements to compute +

+

+
See Also:
Constant Field Values
+
+
+ +

+maxCount

+
+public int maxCount
+
+
+
+
+
+ +

+type

+
+public int type
+
+
+
+
+ + + + + + + + +
+Constructor Detail
+ +

+TermCriteria

+
+public TermCriteria()
+
+
Termination criteria for iterative algorithms. +

+

+
+ +

+TermCriteria

+
+public TermCriteria(double[] vals)
+
+
+
+ +

+TermCriteria

+
+public TermCriteria(int type,
+                    int maxCount,
+                    double epsilon)
+
+
Termination criteria for iterative algorithms. +

+

+
Parameters:
type - the type of termination criteria: COUNT, EPS or COUNT + EPS.
maxCount - the maximum number of iterations/elements.
epsilon - the desired accuracy.
+
+ + + + + + + + +
+Method Detail
+ +

+clone

+
+public TermCriteria clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+set

+
+public void set(double[] vals)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/package-frame.html b/opencv3/javadoc/org/opencv/core/package-frame.html new file mode 100644 index 0000000..efdb3d9 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/package-frame.html @@ -0,0 +1,99 @@ + + + + + + +org.opencv.core + + + + + + + + + + + +org.opencv.core + + + + +
+Classes  + +
+Algorithm +
+Core +
+Core.MinMaxLocResult +
+CvType +
+DMatch +
+KeyPoint +
+Mat +
+MatOfByte +
+MatOfDMatch +
+MatOfDouble +
+MatOfFloat +
+MatOfFloat4 +
+MatOfFloat6 +
+MatOfInt +
+MatOfInt4 +
+MatOfKeyPoint +
+MatOfPoint +
+MatOfPoint2f +
+MatOfPoint3 +
+MatOfPoint3f +
+MatOfRect +
+Point +
+Point3 +
+Range +
+Rect +
+RotatedRect +
+Scalar +
+Size +
+TermCriteria
+ + + + + + +
+Exceptions  + +
+CvException
+ + + + diff --git a/opencv3/javadoc/org/opencv/core/package-summary.html b/opencv3/javadoc/org/opencv/core/package-summary.html new file mode 100644 index 0000000..a9eacd4 --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/package-summary.html @@ -0,0 +1,280 @@ + + + + + + +org.opencv.core + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.core +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
Algorithm 
Core 
Core.MinMaxLocResult 
CvType 
DMatchStructure for matching: query descriptor index, train descriptor index, train + image index and distance between descriptors.
KeyPoint 
Mat 
MatOfByte 
MatOfDMatch 
MatOfDouble 
MatOfFloat 
MatOfFloat4 
MatOfFloat6 
MatOfInt 
MatOfInt4 
MatOfKeyPoint 
MatOfPoint 
MatOfPoint2f 
MatOfPoint3 
MatOfPoint3f 
MatOfRect 
Point 
Point3 
Range 
Rect 
RotatedRect 
Scalar 
Size 
TermCriteria 
+  + +

+ + + + + + + + + +
+Exception Summary
CvException 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/core/package-tree.html b/opencv3/javadoc/org/opencv/core/package-tree.html new file mode 100644 index 0000000..98aaa6d --- /dev/null +++ b/opencv3/javadoc/org/opencv/core/package-tree.html @@ -0,0 +1,158 @@ + + + + + + +org.opencv.core Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.core +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/engine/package-frame.html b/opencv3/javadoc/org/opencv/engine/package-frame.html new file mode 100644 index 0000000..92b2715 --- /dev/null +++ b/opencv3/javadoc/org/opencv/engine/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +org.opencv.engine + + + + + + + + + + + +org.opencv.engine + + diff --git a/opencv3/javadoc/org/opencv/engine/package-summary.html b/opencv3/javadoc/org/opencv/engine/package-summary.html new file mode 100644 index 0000000..7559139 --- /dev/null +++ b/opencv3/javadoc/org/opencv/engine/package-summary.html @@ -0,0 +1,139 @@ + + + + + + +org.opencv.engine + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.engine +

+
+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/engine/package-tree.html b/opencv3/javadoc/org/opencv/engine/package-tree.html new file mode 100644 index 0000000..4604f06 --- /dev/null +++ b/opencv3/javadoc/org/opencv/engine/package-tree.html @@ -0,0 +1,142 @@ + + + + + + +org.opencv.engine Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.engine +

+
+
+
Package Hierarchies:
All Packages
+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/features2d/DescriptorExtractor.html b/opencv3/javadoc/org/opencv/features2d/DescriptorExtractor.html new file mode 100644 index 0000000..2cac7b1 --- /dev/null +++ b/opencv3/javadoc/org/opencv/features2d/DescriptorExtractor.html @@ -0,0 +1,626 @@ + + + + + + +DescriptorExtractor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.features2d +
+Class DescriptorExtractor

+
+java.lang.Object
+  extended by org.opencv.features2d.DescriptorExtractor
+
+
+
+
public class DescriptorExtractor
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intAKAZE + +
+           
+static intBRIEF + +
+           
+static intBRISK + +
+           
+static intFREAK + +
+           
+static intOPPONENT_AKAZE + +
+           
+static intOPPONENT_BRIEF + +
+           
+static intOPPONENT_BRISK + +
+           
+static intOPPONENT_FREAK + +
+           
+static intOPPONENT_ORB + +
+           
+static intOPPONENT_SIFT + +
+           
+static intOPPONENT_SURF + +
+           
+static intORB + +
+           
+static intSIFT + +
+           
+static intSURF + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidcompute(java.util.List<Mat> images, + java.util.List<MatOfKeyPoint> keypoints, + java.util.List<Mat> descriptors) + +
+           
+ voidcompute(Mat image, + MatOfKeyPoint keypoints, + Mat descriptors) + +
+           
+static DescriptorExtractorcreate(int extractorType) + +
+           
+ intdescriptorSize() + +
+           
+ intdescriptorType() + +
+           
+ booleanempty() + +
+           
+ voidread(java.lang.String fileName) + +
+           
+ voidwrite(java.lang.String fileName) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+AKAZE

+
+public static final int AKAZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BRIEF

+
+public static final int BRIEF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BRISK

+
+public static final int BRISK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FREAK

+
+public static final int FREAK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPPONENT_AKAZE

+
+public static final int OPPONENT_AKAZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPPONENT_BRIEF

+
+public static final int OPPONENT_BRIEF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPPONENT_BRISK

+
+public static final int OPPONENT_BRISK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPPONENT_FREAK

+
+public static final int OPPONENT_FREAK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPPONENT_ORB

+
+public static final int OPPONENT_ORB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPPONENT_SIFT

+
+public static final int OPPONENT_SIFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPPONENT_SURF

+
+public static final int OPPONENT_SURF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ORB

+
+public static final int ORB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SIFT

+
+public static final int SIFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SURF

+
+public static final int SURF
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+compute

+
+public void compute(java.util.List<Mat> images,
+                    java.util.List<MatOfKeyPoint> keypoints,
+                    java.util.List<Mat> descriptors)
+
+
+
+
+
+
+ +

+compute

+
+public void compute(Mat image,
+                    MatOfKeyPoint keypoints,
+                    Mat descriptors)
+
+
+
+
+
+
+ +

+create

+
+public static DescriptorExtractor create(int extractorType)
+
+
+
+
+
+
+ +

+descriptorSize

+
+public int descriptorSize()
+
+
+
+
+
+
+ +

+descriptorType

+
+public int descriptorType()
+
+
+
+
+
+
+ +

+empty

+
+public boolean empty()
+
+
+
+
+
+
+ +

+read

+
+public void read(java.lang.String fileName)
+
+
+
+
+
+
+ +

+write

+
+public void write(java.lang.String fileName)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/features2d/DescriptorMatcher.html b/opencv3/javadoc/org/opencv/features2d/DescriptorMatcher.html new file mode 100644 index 0000000..b21ea81 --- /dev/null +++ b/opencv3/javadoc/org/opencv/features2d/DescriptorMatcher.html @@ -0,0 +1,834 @@ + + + + + + +DescriptorMatcher + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.features2d +
+Class DescriptorMatcher

+
+java.lang.Object
+  extended by org.opencv.features2d.DescriptorMatcher
+
+
+
+
public class DescriptorMatcher
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intBRUTEFORCE + +
+           
+static intBRUTEFORCE_HAMMING + +
+           
+static intBRUTEFORCE_HAMMINGLUT + +
+           
+static intBRUTEFORCE_L1 + +
+           
+static intBRUTEFORCE_SL2 + +
+           
+static intFLANNBASED + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidadd(java.util.List<Mat> descriptors) + +
+           
+ voidclear() + +
+           
+ DescriptorMatcherclone() + +
+           
+ DescriptorMatcherclone(boolean emptyTrainData) + +
+           
+static DescriptorMatchercreate(int matcherType) + +
+           
+ booleanempty() + +
+           
+ java.util.List<Mat>getTrainDescriptors() + +
+           
+ booleanisMaskSupported() + +
+           
+ voidknnMatch(Mat queryDescriptors, + java.util.List<MatOfDMatch> matches, + int k) + +
+           
+ voidknnMatch(Mat queryDescriptors, + java.util.List<MatOfDMatch> matches, + int k, + java.util.List<Mat> masks, + boolean compactResult) + +
+           
+ voidknnMatch(Mat queryDescriptors, + Mat trainDescriptors, + java.util.List<MatOfDMatch> matches, + int k) + +
+           
+ voidknnMatch(Mat queryDescriptors, + Mat trainDescriptors, + java.util.List<MatOfDMatch> matches, + int k, + Mat mask, + boolean compactResult) + +
+           
+ voidmatch(Mat queryDescriptors, + Mat trainDescriptors, + MatOfDMatch matches) + +
+           
+ voidmatch(Mat queryDescriptors, + Mat trainDescriptors, + MatOfDMatch matches, + Mat mask) + +
+           
+ voidmatch(Mat queryDescriptors, + MatOfDMatch matches) + +
+           
+ voidmatch(Mat queryDescriptors, + MatOfDMatch matches, + java.util.List<Mat> masks) + +
+           
+ voidradiusMatch(Mat queryDescriptors, + java.util.List<MatOfDMatch> matches, + float maxDistance) + +
+           
+ voidradiusMatch(Mat queryDescriptors, + java.util.List<MatOfDMatch> matches, + float maxDistance, + java.util.List<Mat> masks, + boolean compactResult) + +
+           
+ voidradiusMatch(Mat queryDescriptors, + Mat trainDescriptors, + java.util.List<MatOfDMatch> matches, + float maxDistance) + +
+           
+ voidradiusMatch(Mat queryDescriptors, + Mat trainDescriptors, + java.util.List<MatOfDMatch> matches, + float maxDistance, + Mat mask, + boolean compactResult) + +
+           
+ voidread(java.lang.String fileName) + +
+           
+ voidtrain() + +
+           
+ voidwrite(java.lang.String fileName) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+BRUTEFORCE

+
+public static final int BRUTEFORCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BRUTEFORCE_HAMMING

+
+public static final int BRUTEFORCE_HAMMING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BRUTEFORCE_HAMMINGLUT

+
+public static final int BRUTEFORCE_HAMMINGLUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BRUTEFORCE_L1

+
+public static final int BRUTEFORCE_L1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BRUTEFORCE_SL2

+
+public static final int BRUTEFORCE_SL2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FLANNBASED

+
+public static final int FLANNBASED
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+add

+
+public void add(java.util.List<Mat> descriptors)
+
+
+
+
+
+
+ +

+clear

+
+public void clear()
+
+
+
+
+
+
+ +

+clone

+
+public DescriptorMatcher clone()
+
+
+
Overrides:
clone in class java.lang.Object
+
+
+
+
+
+
+ +

+clone

+
+public DescriptorMatcher clone(boolean emptyTrainData)
+
+
+
+
+
+
+ +

+create

+
+public static DescriptorMatcher create(int matcherType)
+
+
+
+
+
+
+ +

+empty

+
+public boolean empty()
+
+
+
+
+
+
+ +

+getTrainDescriptors

+
+public java.util.List<Mat> getTrainDescriptors()
+
+
+
+
+
+
+ +

+isMaskSupported

+
+public boolean isMaskSupported()
+
+
+
+
+
+
+ +

+knnMatch

+
+public void knnMatch(Mat queryDescriptors,
+                     java.util.List<MatOfDMatch> matches,
+                     int k)
+
+
+
+
+
+
+ +

+knnMatch

+
+public void knnMatch(Mat queryDescriptors,
+                     java.util.List<MatOfDMatch> matches,
+                     int k,
+                     java.util.List<Mat> masks,
+                     boolean compactResult)
+
+
+
+
+
+
+ +

+knnMatch

+
+public void knnMatch(Mat queryDescriptors,
+                     Mat trainDescriptors,
+                     java.util.List<MatOfDMatch> matches,
+                     int k)
+
+
+
+
+
+
+ +

+knnMatch

+
+public void knnMatch(Mat queryDescriptors,
+                     Mat trainDescriptors,
+                     java.util.List<MatOfDMatch> matches,
+                     int k,
+                     Mat mask,
+                     boolean compactResult)
+
+
+
+
+
+
+ +

+match

+
+public void match(Mat queryDescriptors,
+                  Mat trainDescriptors,
+                  MatOfDMatch matches)
+
+
+
+
+
+
+ +

+match

+
+public void match(Mat queryDescriptors,
+                  Mat trainDescriptors,
+                  MatOfDMatch matches,
+                  Mat mask)
+
+
+
+
+
+
+ +

+match

+
+public void match(Mat queryDescriptors,
+                  MatOfDMatch matches)
+
+
+
+
+
+
+ +

+match

+
+public void match(Mat queryDescriptors,
+                  MatOfDMatch matches,
+                  java.util.List<Mat> masks)
+
+
+
+
+
+
+ +

+radiusMatch

+
+public void radiusMatch(Mat queryDescriptors,
+                        java.util.List<MatOfDMatch> matches,
+                        float maxDistance)
+
+
+
+
+
+
+ +

+radiusMatch

+
+public void radiusMatch(Mat queryDescriptors,
+                        java.util.List<MatOfDMatch> matches,
+                        float maxDistance,
+                        java.util.List<Mat> masks,
+                        boolean compactResult)
+
+
+
+
+
+
+ +

+radiusMatch

+
+public void radiusMatch(Mat queryDescriptors,
+                        Mat trainDescriptors,
+                        java.util.List<MatOfDMatch> matches,
+                        float maxDistance)
+
+
+
+
+
+
+ +

+radiusMatch

+
+public void radiusMatch(Mat queryDescriptors,
+                        Mat trainDescriptors,
+                        java.util.List<MatOfDMatch> matches,
+                        float maxDistance,
+                        Mat mask,
+                        boolean compactResult)
+
+
+
+
+
+
+ +

+read

+
+public void read(java.lang.String fileName)
+
+
+
+
+
+
+ +

+train

+
+public void train()
+
+
+
+
+
+
+ +

+write

+
+public void write(java.lang.String fileName)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/features2d/FeatureDetector.html b/opencv3/javadoc/org/opencv/features2d/FeatureDetector.html new file mode 100644 index 0000000..0255550 --- /dev/null +++ b/opencv3/javadoc/org/opencv/features2d/FeatureDetector.html @@ -0,0 +1,1242 @@ + + + + + + +FeatureDetector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.features2d +
+Class FeatureDetector

+
+java.lang.Object
+  extended by org.opencv.features2d.FeatureDetector
+
+
+
+
public class FeatureDetector
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intAKAZE + +
+           
+static intBRISK + +
+           
+static intDENSE + +
+           
+static intDYNAMIC_AKAZE + +
+           
+static intDYNAMIC_BRISK + +
+           
+static intDYNAMIC_DENSE + +
+           
+static intDYNAMIC_FAST + +
+           
+static intDYNAMIC_GFTT + +
+           
+static intDYNAMIC_HARRIS + +
+           
+static intDYNAMIC_MSER + +
+           
+static intDYNAMIC_ORB + +
+           
+static intDYNAMIC_SIFT + +
+           
+static intDYNAMIC_SIMPLEBLOB + +
+           
+static intDYNAMIC_STAR + +
+           
+static intDYNAMIC_SURF + +
+           
+static intFAST + +
+           
+static intGFTT + +
+           
+static intGRID_AKAZE + +
+           
+static intGRID_BRISK + +
+           
+static intGRID_DENSE + +
+           
+static intGRID_FAST + +
+           
+static intGRID_GFTT + +
+           
+static intGRID_HARRIS + +
+           
+static intGRID_MSER + +
+           
+static intGRID_ORB + +
+           
+static intGRID_SIFT + +
+           
+static intGRID_SIMPLEBLOB + +
+           
+static intGRID_STAR + +
+           
+static intGRID_SURF + +
+           
+static intHARRIS + +
+           
+static intMSER + +
+           
+static intORB + +
+           
+static intPYRAMID_AKAZE + +
+           
+static intPYRAMID_BRISK + +
+           
+static intPYRAMID_DENSE + +
+           
+static intPYRAMID_FAST + +
+           
+static intPYRAMID_GFTT + +
+           
+static intPYRAMID_HARRIS + +
+           
+static intPYRAMID_MSER + +
+           
+static intPYRAMID_ORB + +
+           
+static intPYRAMID_SIFT + +
+           
+static intPYRAMID_SIMPLEBLOB + +
+           
+static intPYRAMID_STAR + +
+           
+static intPYRAMID_SURF + +
+           
+static intSIFT + +
+           
+static intSIMPLEBLOB + +
+           
+static intSTAR + +
+           
+static intSURF + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static FeatureDetectorcreate(int detectorType) + +
+           
+ voiddetect(java.util.List<Mat> images, + java.util.List<MatOfKeyPoint> keypoints) + +
+           
+ voiddetect(java.util.List<Mat> images, + java.util.List<MatOfKeyPoint> keypoints, + java.util.List<Mat> masks) + +
+           
+ voiddetect(Mat image, + MatOfKeyPoint keypoints) + +
+           
+ voiddetect(Mat image, + MatOfKeyPoint keypoints, + Mat mask) + +
+           
+ booleanempty() + +
+           
+ voidread(java.lang.String fileName) + +
+           
+ voidwrite(java.lang.String fileName) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+AKAZE

+
+public static final int AKAZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+BRISK

+
+public static final int BRISK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DENSE

+
+public static final int DENSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_AKAZE

+
+public static final int DYNAMIC_AKAZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_BRISK

+
+public static final int DYNAMIC_BRISK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_DENSE

+
+public static final int DYNAMIC_DENSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_FAST

+
+public static final int DYNAMIC_FAST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_GFTT

+
+public static final int DYNAMIC_GFTT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_HARRIS

+
+public static final int DYNAMIC_HARRIS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_MSER

+
+public static final int DYNAMIC_MSER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_ORB

+
+public static final int DYNAMIC_ORB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_SIFT

+
+public static final int DYNAMIC_SIFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_SIMPLEBLOB

+
+public static final int DYNAMIC_SIMPLEBLOB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_STAR

+
+public static final int DYNAMIC_STAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DYNAMIC_SURF

+
+public static final int DYNAMIC_SURF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FAST

+
+public static final int FAST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GFTT

+
+public static final int GFTT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_AKAZE

+
+public static final int GRID_AKAZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_BRISK

+
+public static final int GRID_BRISK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_DENSE

+
+public static final int GRID_DENSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_FAST

+
+public static final int GRID_FAST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_GFTT

+
+public static final int GRID_GFTT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_HARRIS

+
+public static final int GRID_HARRIS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_MSER

+
+public static final int GRID_MSER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_ORB

+
+public static final int GRID_ORB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_SIFT

+
+public static final int GRID_SIFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_SIMPLEBLOB

+
+public static final int GRID_SIMPLEBLOB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_STAR

+
+public static final int GRID_STAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GRID_SURF

+
+public static final int GRID_SURF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HARRIS

+
+public static final int HARRIS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MSER

+
+public static final int MSER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ORB

+
+public static final int ORB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_AKAZE

+
+public static final int PYRAMID_AKAZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_BRISK

+
+public static final int PYRAMID_BRISK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_DENSE

+
+public static final int PYRAMID_DENSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_FAST

+
+public static final int PYRAMID_FAST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_GFTT

+
+public static final int PYRAMID_GFTT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_HARRIS

+
+public static final int PYRAMID_HARRIS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_MSER

+
+public static final int PYRAMID_MSER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_ORB

+
+public static final int PYRAMID_ORB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_SIFT

+
+public static final int PYRAMID_SIFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_SIMPLEBLOB

+
+public static final int PYRAMID_SIMPLEBLOB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_STAR

+
+public static final int PYRAMID_STAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PYRAMID_SURF

+
+public static final int PYRAMID_SURF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SIFT

+
+public static final int SIFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SIMPLEBLOB

+
+public static final int SIMPLEBLOB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+STAR

+
+public static final int STAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SURF

+
+public static final int SURF
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static FeatureDetector create(int detectorType)
+
+
+
+
+
+
+ +

+detect

+
+public void detect(java.util.List<Mat> images,
+                   java.util.List<MatOfKeyPoint> keypoints)
+
+
+
+
+
+
+ +

+detect

+
+public void detect(java.util.List<Mat> images,
+                   java.util.List<MatOfKeyPoint> keypoints,
+                   java.util.List<Mat> masks)
+
+
+
+
+
+
+ +

+detect

+
+public void detect(Mat image,
+                   MatOfKeyPoint keypoints)
+
+
+
+
+
+
+ +

+detect

+
+public void detect(Mat image,
+                   MatOfKeyPoint keypoints,
+                   Mat mask)
+
+
+
+
+
+
+ +

+empty

+
+public boolean empty()
+
+
+
+
+
+
+ +

+read

+
+public void read(java.lang.String fileName)
+
+
+
+
+
+
+ +

+write

+
+public void write(java.lang.String fileName)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/features2d/Features2d.html b/opencv3/javadoc/org/opencv/features2d/Features2d.html new file mode 100644 index 0000000..30dd318 --- /dev/null +++ b/opencv3/javadoc/org/opencv/features2d/Features2d.html @@ -0,0 +1,483 @@ + + + + + + +Features2d + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.features2d +
+Class Features2d

+
+java.lang.Object
+  extended by org.opencv.features2d.Features2d
+
+
+
+
public class Features2d
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intDRAW_OVER_OUTIMG + +
+           
+static intDRAW_RICH_KEYPOINTS + +
+           
+static intNOT_DRAW_SINGLE_POINTS + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Features2d() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voiddrawKeypoints(Mat image, + MatOfKeyPoint keypoints, + Mat outImage) + +
+           
+static voiddrawKeypoints(Mat image, + MatOfKeyPoint keypoints, + Mat outImage, + Scalar color, + int flags) + +
+           
+static voiddrawMatches(Mat img1, + MatOfKeyPoint keypoints1, + Mat img2, + MatOfKeyPoint keypoints2, + MatOfDMatch matches1to2, + Mat outImg) + +
+           
+static voiddrawMatches(Mat img1, + MatOfKeyPoint keypoints1, + Mat img2, + MatOfKeyPoint keypoints2, + MatOfDMatch matches1to2, + Mat outImg, + Scalar matchColor, + Scalar singlePointColor, + MatOfByte matchesMask, + int flags) + +
+           
+static voiddrawMatches2(Mat img1, + MatOfKeyPoint keypoints1, + Mat img2, + MatOfKeyPoint keypoints2, + java.util.List<MatOfDMatch> matches1to2, + Mat outImg) + +
+           
+static voiddrawMatches2(Mat img1, + MatOfKeyPoint keypoints1, + Mat img2, + MatOfKeyPoint keypoints2, + java.util.List<MatOfDMatch> matches1to2, + Mat outImg, + Scalar matchColor, + Scalar singlePointColor, + java.util.List<MatOfByte> matchesMask, + int flags) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DRAW_OVER_OUTIMG

+
+public static final int DRAW_OVER_OUTIMG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DRAW_RICH_KEYPOINTS

+
+public static final int DRAW_RICH_KEYPOINTS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NOT_DRAW_SINGLE_POINTS

+
+public static final int NOT_DRAW_SINGLE_POINTS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Features2d

+
+public Features2d()
+
+
+ + + + + + + + +
+Method Detail
+ +

+drawKeypoints

+
+public static void drawKeypoints(Mat image,
+                                 MatOfKeyPoint keypoints,
+                                 Mat outImage)
+
+
+
+
+
+
+ +

+drawKeypoints

+
+public static void drawKeypoints(Mat image,
+                                 MatOfKeyPoint keypoints,
+                                 Mat outImage,
+                                 Scalar color,
+                                 int flags)
+
+
+
+
+
+
+ +

+drawMatches

+
+public static void drawMatches(Mat img1,
+                               MatOfKeyPoint keypoints1,
+                               Mat img2,
+                               MatOfKeyPoint keypoints2,
+                               MatOfDMatch matches1to2,
+                               Mat outImg)
+
+
+
+
+
+
+ +

+drawMatches

+
+public static void drawMatches(Mat img1,
+                               MatOfKeyPoint keypoints1,
+                               Mat img2,
+                               MatOfKeyPoint keypoints2,
+                               MatOfDMatch matches1to2,
+                               Mat outImg,
+                               Scalar matchColor,
+                               Scalar singlePointColor,
+                               MatOfByte matchesMask,
+                               int flags)
+
+
+
+
+
+
+ +

+drawMatches2

+
+public static void drawMatches2(Mat img1,
+                                MatOfKeyPoint keypoints1,
+                                Mat img2,
+                                MatOfKeyPoint keypoints2,
+                                java.util.List<MatOfDMatch> matches1to2,
+                                Mat outImg)
+
+
+
+
+
+
+ +

+drawMatches2

+
+public static void drawMatches2(Mat img1,
+                                MatOfKeyPoint keypoints1,
+                                Mat img2,
+                                MatOfKeyPoint keypoints2,
+                                java.util.List<MatOfDMatch> matches1to2,
+                                Mat outImg,
+                                Scalar matchColor,
+                                Scalar singlePointColor,
+                                java.util.List<MatOfByte> matchesMask,
+                                int flags)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/features2d/package-frame.html b/opencv3/javadoc/org/opencv/features2d/package-frame.html new file mode 100644 index 0000000..828fce8 --- /dev/null +++ b/opencv3/javadoc/org/opencv/features2d/package-frame.html @@ -0,0 +1,38 @@ + + + + + + +org.opencv.features2d + + + + + + + + + + + +org.opencv.features2d + + + + +
+Classes  + +
+DescriptorExtractor +
+DescriptorMatcher +
+FeatureDetector +
+Features2d
+ + + + diff --git a/opencv3/javadoc/org/opencv/features2d/package-summary.html b/opencv3/javadoc/org/opencv/features2d/package-summary.html new file mode 100644 index 0000000..09f731f --- /dev/null +++ b/opencv3/javadoc/org/opencv/features2d/package-summary.html @@ -0,0 +1,165 @@ + + + + + + +org.opencv.features2d + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.features2d +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
DescriptorExtractor 
DescriptorMatcher 
FeatureDetector 
Features2d 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/features2d/package-tree.html b/opencv3/javadoc/org/opencv/features2d/package-tree.html new file mode 100644 index 0000000..788b6ad --- /dev/null +++ b/opencv3/javadoc/org/opencv/features2d/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +org.opencv.features2d Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.features2d +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/imgcodecs/Imgcodecs.html b/opencv3/javadoc/org/opencv/imgcodecs/Imgcodecs.html new file mode 100644 index 0000000..d406274 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgcodecs/Imgcodecs.html @@ -0,0 +1,1254 @@ + + + + + + +Imgcodecs + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.imgcodecs +
+Class Imgcodecs

+
+java.lang.Object
+  extended by org.opencv.imgcodecs.Imgcodecs
+
+
+
+
public class Imgcodecs
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCV_CVTIMG_FLIP + +
+           
+static intCV_CVTIMG_SWAP_RB + +
+           
+static intCV_IMWRITE_JPEG_CHROMA_QUALITY + +
+           
+static intCV_IMWRITE_JPEG_LUMA_QUALITY + +
+           
+static intCV_IMWRITE_JPEG_OPTIMIZE + +
+           
+static intCV_IMWRITE_JPEG_PROGRESSIVE + +
+           
+static intCV_IMWRITE_JPEG_QUALITY + +
+           
+static intCV_IMWRITE_JPEG_RST_INTERVAL + +
+           
+static intCV_IMWRITE_PNG_BILEVEL + +
+           
+static intCV_IMWRITE_PNG_COMPRESSION + +
+           
+static intCV_IMWRITE_PNG_STRATEGY + +
+           
+static intCV_IMWRITE_PNG_STRATEGY_DEFAULT + +
+           
+static intCV_IMWRITE_PNG_STRATEGY_FILTERED + +
+           
+static intCV_IMWRITE_PNG_STRATEGY_FIXED + +
+           
+static intCV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY + +
+           
+static intCV_IMWRITE_PNG_STRATEGY_RLE + +
+           
+static intCV_IMWRITE_PXM_BINARY + +
+           
+static intCV_IMWRITE_WEBP_QUALITY + +
+           
+static intCV_LOAD_IMAGE_ANYCOLOR + +
+           
+static intCV_LOAD_IMAGE_ANYDEPTH + +
+           
+static intCV_LOAD_IMAGE_COLOR + +
+           
+static intCV_LOAD_IMAGE_GRAYSCALE + +
+           
+static intCV_LOAD_IMAGE_UNCHANGED + +
+           
+static intIMREAD_ANYCOLOR + +
+           
+static intIMREAD_ANYDEPTH + +
+           
+static intIMREAD_COLOR + +
+           
+static intIMREAD_GRAYSCALE + +
+           
+static intIMREAD_LOAD_GDAL + +
+           
+static intIMREAD_UNCHANGED + +
+           
+static intIMWRITE_JPEG_CHROMA_QUALITY + +
+           
+static intIMWRITE_JPEG_LUMA_QUALITY + +
+           
+static intIMWRITE_JPEG_OPTIMIZE + +
+           
+static intIMWRITE_JPEG_PROGRESSIVE + +
+           
+static intIMWRITE_JPEG_QUALITY + +
+           
+static intIMWRITE_JPEG_RST_INTERVAL + +
+           
+static intIMWRITE_PNG_BILEVEL + +
+           
+static intIMWRITE_PNG_COMPRESSION + +
+           
+static intIMWRITE_PNG_STRATEGY + +
+           
+static intIMWRITE_PNG_STRATEGY_DEFAULT + +
+           
+static intIMWRITE_PNG_STRATEGY_FILTERED + +
+           
+static intIMWRITE_PNG_STRATEGY_FIXED + +
+           
+static intIMWRITE_PNG_STRATEGY_HUFFMAN_ONLY + +
+           
+static intIMWRITE_PNG_STRATEGY_RLE + +
+           
+static intIMWRITE_PXM_BINARY + +
+           
+static intIMWRITE_WEBP_QUALITY + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Imgcodecs() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Matimdecode(Mat buf, + int flags) + +
+           
+static booleanimencode(java.lang.String ext, + Mat img, + MatOfByte buf) + +
+           
+static booleanimencode(java.lang.String ext, + Mat img, + MatOfByte buf, + MatOfInt params) + +
+           
+static Matimread(java.lang.String filename) + +
+           
+static Matimread(java.lang.String filename, + int flags) + +
+           
+static booleanimreadmulti(java.lang.String filename, + java.util.List<Mat> mats) + +
+           
+static booleanimreadmulti(java.lang.String filename, + java.util.List<Mat> mats, + int flags) + +
+           
+static booleanimwrite(java.lang.String filename, + Mat img) + +
+           
+static booleanimwrite(java.lang.String filename, + Mat img, + MatOfInt params) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CV_CVTIMG_FLIP

+
+public static final int CV_CVTIMG_FLIP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CVTIMG_SWAP_RB

+
+public static final int CV_CVTIMG_SWAP_RB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_JPEG_CHROMA_QUALITY

+
+public static final int CV_IMWRITE_JPEG_CHROMA_QUALITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_JPEG_LUMA_QUALITY

+
+public static final int CV_IMWRITE_JPEG_LUMA_QUALITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_JPEG_OPTIMIZE

+
+public static final int CV_IMWRITE_JPEG_OPTIMIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_JPEG_PROGRESSIVE

+
+public static final int CV_IMWRITE_JPEG_PROGRESSIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_JPEG_QUALITY

+
+public static final int CV_IMWRITE_JPEG_QUALITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_JPEG_RST_INTERVAL

+
+public static final int CV_IMWRITE_JPEG_RST_INTERVAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_PNG_BILEVEL

+
+public static final int CV_IMWRITE_PNG_BILEVEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_PNG_COMPRESSION

+
+public static final int CV_IMWRITE_PNG_COMPRESSION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_PNG_STRATEGY

+
+public static final int CV_IMWRITE_PNG_STRATEGY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_PNG_STRATEGY_DEFAULT

+
+public static final int CV_IMWRITE_PNG_STRATEGY_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_PNG_STRATEGY_FILTERED

+
+public static final int CV_IMWRITE_PNG_STRATEGY_FILTERED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_PNG_STRATEGY_FIXED

+
+public static final int CV_IMWRITE_PNG_STRATEGY_FIXED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY

+
+public static final int CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_PNG_STRATEGY_RLE

+
+public static final int CV_IMWRITE_PNG_STRATEGY_RLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_PXM_BINARY

+
+public static final int CV_IMWRITE_PXM_BINARY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_IMWRITE_WEBP_QUALITY

+
+public static final int CV_IMWRITE_WEBP_QUALITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_LOAD_IMAGE_ANYCOLOR

+
+public static final int CV_LOAD_IMAGE_ANYCOLOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_LOAD_IMAGE_ANYDEPTH

+
+public static final int CV_LOAD_IMAGE_ANYDEPTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_LOAD_IMAGE_COLOR

+
+public static final int CV_LOAD_IMAGE_COLOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_LOAD_IMAGE_GRAYSCALE

+
+public static final int CV_LOAD_IMAGE_GRAYSCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_LOAD_IMAGE_UNCHANGED

+
+public static final int CV_LOAD_IMAGE_UNCHANGED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMREAD_ANYCOLOR

+
+public static final int IMREAD_ANYCOLOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMREAD_ANYDEPTH

+
+public static final int IMREAD_ANYDEPTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMREAD_COLOR

+
+public static final int IMREAD_COLOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMREAD_GRAYSCALE

+
+public static final int IMREAD_GRAYSCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMREAD_LOAD_GDAL

+
+public static final int IMREAD_LOAD_GDAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMREAD_UNCHANGED

+
+public static final int IMREAD_UNCHANGED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_JPEG_CHROMA_QUALITY

+
+public static final int IMWRITE_JPEG_CHROMA_QUALITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_JPEG_LUMA_QUALITY

+
+public static final int IMWRITE_JPEG_LUMA_QUALITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_JPEG_OPTIMIZE

+
+public static final int IMWRITE_JPEG_OPTIMIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_JPEG_PROGRESSIVE

+
+public static final int IMWRITE_JPEG_PROGRESSIVE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_JPEG_QUALITY

+
+public static final int IMWRITE_JPEG_QUALITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_JPEG_RST_INTERVAL

+
+public static final int IMWRITE_JPEG_RST_INTERVAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_PNG_BILEVEL

+
+public static final int IMWRITE_PNG_BILEVEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_PNG_COMPRESSION

+
+public static final int IMWRITE_PNG_COMPRESSION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_PNG_STRATEGY

+
+public static final int IMWRITE_PNG_STRATEGY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_PNG_STRATEGY_DEFAULT

+
+public static final int IMWRITE_PNG_STRATEGY_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_PNG_STRATEGY_FILTERED

+
+public static final int IMWRITE_PNG_STRATEGY_FILTERED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_PNG_STRATEGY_FIXED

+
+public static final int IMWRITE_PNG_STRATEGY_FIXED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY

+
+public static final int IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_PNG_STRATEGY_RLE

+
+public static final int IMWRITE_PNG_STRATEGY_RLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_PXM_BINARY

+
+public static final int IMWRITE_PXM_BINARY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IMWRITE_WEBP_QUALITY

+
+public static final int IMWRITE_WEBP_QUALITY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Imgcodecs

+
+public Imgcodecs()
+
+
+ + + + + + + + +
+Method Detail
+ +

+imdecode

+
+public static Mat imdecode(Mat buf,
+                           int flags)
+
+
+
+
+
+
+ +

+imencode

+
+public static boolean imencode(java.lang.String ext,
+                               Mat img,
+                               MatOfByte buf)
+
+
+
+
+
+
+ +

+imencode

+
+public static boolean imencode(java.lang.String ext,
+                               Mat img,
+                               MatOfByte buf,
+                               MatOfInt params)
+
+
+
+
+
+
+ +

+imread

+
+public static Mat imread(java.lang.String filename)
+
+
+
+
+
+
+ +

+imread

+
+public static Mat imread(java.lang.String filename,
+                         int flags)
+
+
+
+
+
+
+ +

+imreadmulti

+
+public static boolean imreadmulti(java.lang.String filename,
+                                  java.util.List<Mat> mats)
+
+
+
+
+
+
+ +

+imreadmulti

+
+public static boolean imreadmulti(java.lang.String filename,
+                                  java.util.List<Mat> mats,
+                                  int flags)
+
+
+
+
+
+
+ +

+imwrite

+
+public static boolean imwrite(java.lang.String filename,
+                              Mat img)
+
+
+
+
+
+
+ +

+imwrite

+
+public static boolean imwrite(java.lang.String filename,
+                              Mat img,
+                              MatOfInt params)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/imgcodecs/package-frame.html b/opencv3/javadoc/org/opencv/imgcodecs/package-frame.html new file mode 100644 index 0000000..9d06b18 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgcodecs/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +org.opencv.imgcodecs + + + + + + + + + + + +org.opencv.imgcodecs + + + + +
+Classes  + +
+Imgcodecs
+ + + + diff --git a/opencv3/javadoc/org/opencv/imgcodecs/package-summary.html b/opencv3/javadoc/org/opencv/imgcodecs/package-summary.html new file mode 100644 index 0000000..5b86828 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgcodecs/package-summary.html @@ -0,0 +1,153 @@ + + + + + + +org.opencv.imgcodecs + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.imgcodecs +

+ + + + + + + + + +
+Class Summary
Imgcodecs 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/imgcodecs/package-tree.html b/opencv3/javadoc/org/opencv/imgcodecs/package-tree.html new file mode 100644 index 0000000..9b456c6 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgcodecs/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +org.opencv.imgcodecs Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.imgcodecs +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+
    +
  • java.lang.Object +
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/imgproc/CLAHE.html b/opencv3/javadoc/org/opencv/imgproc/CLAHE.html new file mode 100644 index 0000000..6ba538b --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgproc/CLAHE.html @@ -0,0 +1,322 @@ + + + + + + +CLAHE + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.imgproc +
+Class CLAHE

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.imgproc.CLAHE
+
+
+
+
public class CLAHE
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidapply(Mat src, + Mat dst) + +
+           
+ voidcollectGarbage() + +
+           
+ doublegetClipLimit() + +
+           
+ SizegetTilesGridSize() + +
+           
+ voidsetClipLimit(double clipLimit) + +
+           
+ voidsetTilesGridSize(Size tileGridSize) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+apply

+
+public void apply(Mat src,
+                  Mat dst)
+
+
+
+
+
+
+ +

+collectGarbage

+
+public void collectGarbage()
+
+
+
+
+
+
+ +

+getClipLimit

+
+public double getClipLimit()
+
+
+
+
+
+
+ +

+getTilesGridSize

+
+public Size getTilesGridSize()
+
+
+
+
+
+
+ +

+setClipLimit

+
+public void setClipLimit(double clipLimit)
+
+
+
+
+
+
+ +

+setTilesGridSize

+
+public void setTilesGridSize(Size tileGridSize)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/imgproc/Imgproc.html b/opencv3/javadoc/org/opencv/imgproc/Imgproc.html new file mode 100644 index 0000000..ff6e598 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgproc/Imgproc.html @@ -0,0 +1,12126 @@ + + + + + + +Imgproc + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.imgproc +
+Class Imgproc

+
+java.lang.Object
+  extended by org.opencv.imgproc.Imgproc
+
+
+
+
public class Imgproc
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intADAPTIVE_THRESH_GAUSSIAN_C + +
+           
+static intADAPTIVE_THRESH_MEAN_C + +
+           
+static intCC_STAT_AREA + +
+           
+static intCC_STAT_HEIGHT + +
+           
+static intCC_STAT_LEFT + +
+           
+static intCC_STAT_MAX + +
+           
+static intCC_STAT_TOP + +
+           
+static intCC_STAT_WIDTH + +
+           
+static intCHAIN_APPROX_NONE + +
+           
+static intCHAIN_APPROX_SIMPLE + +
+           
+static intCHAIN_APPROX_TC89_KCOS + +
+           
+static intCHAIN_APPROX_TC89_L1 + +
+           
+static intCOLOR_BayerBG2BGR + +
+           
+static intCOLOR_BayerBG2BGR_EA + +
+           
+static intCOLOR_BayerBG2BGR_VNG + +
+           
+static intCOLOR_BayerBG2GRAY + +
+           
+static intCOLOR_BayerBG2RGB + +
+           
+static intCOLOR_BayerBG2RGB_EA + +
+           
+static intCOLOR_BayerBG2RGB_VNG + +
+           
+static intCOLOR_BayerGB2BGR + +
+           
+static intCOLOR_BayerGB2BGR_EA + +
+           
+static intCOLOR_BayerGB2BGR_VNG + +
+           
+static intCOLOR_BayerGB2GRAY + +
+           
+static intCOLOR_BayerGB2RGB + +
+           
+static intCOLOR_BayerGB2RGB_EA + +
+           
+static intCOLOR_BayerGB2RGB_VNG + +
+           
+static intCOLOR_BayerGR2BGR + +
+           
+static intCOLOR_BayerGR2BGR_EA + +
+           
+static intCOLOR_BayerGR2BGR_VNG + +
+           
+static intCOLOR_BayerGR2GRAY + +
+           
+static intCOLOR_BayerGR2RGB + +
+           
+static intCOLOR_BayerGR2RGB_EA + +
+           
+static intCOLOR_BayerGR2RGB_VNG + +
+           
+static intCOLOR_BayerRG2BGR + +
+           
+static intCOLOR_BayerRG2BGR_EA + +
+           
+static intCOLOR_BayerRG2BGR_VNG + +
+           
+static intCOLOR_BayerRG2GRAY + +
+           
+static intCOLOR_BayerRG2RGB + +
+           
+static intCOLOR_BayerRG2RGB_EA + +
+           
+static intCOLOR_BayerRG2RGB_VNG + +
+           
+static intCOLOR_BGR2BGR555 + +
+           
+static intCOLOR_BGR2BGR565 + +
+           
+static intCOLOR_BGR2BGRA + +
+           
+static intCOLOR_BGR2GRAY + +
+           
+static intCOLOR_BGR2HLS + +
+           
+static intCOLOR_BGR2HLS_FULL + +
+           
+static intCOLOR_BGR2HSV + +
+           
+static intCOLOR_BGR2HSV_FULL + +
+           
+static intCOLOR_BGR2Lab + +
+           
+static intCOLOR_BGR2Luv + +
+           
+static intCOLOR_BGR2RGB + +
+           
+static intCOLOR_BGR2RGBA + +
+           
+static intCOLOR_BGR2XYZ + +
+           
+static intCOLOR_BGR2YCrCb + +
+           
+static intCOLOR_BGR2YUV + +
+           
+static intCOLOR_BGR2YUV_I420 + +
+           
+static intCOLOR_BGR2YUV_IYUV + +
+           
+static intCOLOR_BGR2YUV_YV12 + +
+           
+static intCOLOR_BGR5552BGR + +
+           
+static intCOLOR_BGR5552BGRA + +
+           
+static intCOLOR_BGR5552GRAY + +
+           
+static intCOLOR_BGR5552RGB + +
+           
+static intCOLOR_BGR5552RGBA + +
+           
+static intCOLOR_BGR5652BGR + +
+           
+static intCOLOR_BGR5652BGRA + +
+           
+static intCOLOR_BGR5652GRAY + +
+           
+static intCOLOR_BGR5652RGB + +
+           
+static intCOLOR_BGR5652RGBA + +
+           
+static intCOLOR_BGRA2BGR + +
+           
+static intCOLOR_BGRA2BGR555 + +
+           
+static intCOLOR_BGRA2BGR565 + +
+           
+static intCOLOR_BGRA2GRAY + +
+           
+static intCOLOR_BGRA2RGB + +
+           
+static intCOLOR_BGRA2RGBA + +
+           
+static intCOLOR_BGRA2YUV_I420 + +
+           
+static intCOLOR_BGRA2YUV_IYUV + +
+           
+static intCOLOR_BGRA2YUV_YV12 + +
+           
+static intCOLOR_COLORCVT_MAX + +
+           
+static intCOLOR_GRAY2BGR + +
+           
+static intCOLOR_GRAY2BGR555 + +
+           
+static intCOLOR_GRAY2BGR565 + +
+           
+static intCOLOR_GRAY2BGRA + +
+           
+static intCOLOR_GRAY2RGB + +
+           
+static intCOLOR_GRAY2RGBA + +
+           
+static intCOLOR_HLS2BGR + +
+           
+static intCOLOR_HLS2BGR_FULL + +
+           
+static intCOLOR_HLS2RGB + +
+           
+static intCOLOR_HLS2RGB_FULL + +
+           
+static intCOLOR_HSV2BGR + +
+           
+static intCOLOR_HSV2BGR_FULL + +
+           
+static intCOLOR_HSV2RGB + +
+           
+static intCOLOR_HSV2RGB_FULL + +
+           
+static intCOLOR_Lab2BGR + +
+           
+static intCOLOR_Lab2LBGR + +
+           
+static intCOLOR_Lab2LRGB + +
+           
+static intCOLOR_Lab2RGB + +
+           
+static intCOLOR_LBGR2Lab + +
+           
+static intCOLOR_LBGR2Luv + +
+           
+static intCOLOR_LRGB2Lab + +
+           
+static intCOLOR_LRGB2Luv + +
+           
+static intCOLOR_Luv2BGR + +
+           
+static intCOLOR_Luv2LBGR + +
+           
+static intCOLOR_Luv2LRGB + +
+           
+static intCOLOR_Luv2RGB + +
+           
+static intCOLOR_mRGBA2RGBA + +
+           
+static intCOLOR_RGB2BGR + +
+           
+static intCOLOR_RGB2BGR555 + +
+           
+static intCOLOR_RGB2BGR565 + +
+           
+static intCOLOR_RGB2BGRA + +
+           
+static intCOLOR_RGB2GRAY + +
+           
+static intCOLOR_RGB2HLS + +
+           
+static intCOLOR_RGB2HLS_FULL + +
+           
+static intCOLOR_RGB2HSV + +
+           
+static intCOLOR_RGB2HSV_FULL + +
+           
+static intCOLOR_RGB2Lab + +
+           
+static intCOLOR_RGB2Luv + +
+           
+static intCOLOR_RGB2RGBA + +
+           
+static intCOLOR_RGB2XYZ + +
+           
+static intCOLOR_RGB2YCrCb + +
+           
+static intCOLOR_RGB2YUV + +
+           
+static intCOLOR_RGB2YUV_I420 + +
+           
+static intCOLOR_RGB2YUV_IYUV + +
+           
+static intCOLOR_RGB2YUV_YV12 + +
+           
+static intCOLOR_RGBA2BGR + +
+           
+static intCOLOR_RGBA2BGR555 + +
+           
+static intCOLOR_RGBA2BGR565 + +
+           
+static intCOLOR_RGBA2BGRA + +
+           
+static intCOLOR_RGBA2GRAY + +
+           
+static intCOLOR_RGBA2mRGBA + +
+           
+static intCOLOR_RGBA2RGB + +
+           
+static intCOLOR_RGBA2YUV_I420 + +
+           
+static intCOLOR_RGBA2YUV_IYUV + +
+           
+static intCOLOR_RGBA2YUV_YV12 + +
+           
+static intCOLOR_XYZ2BGR + +
+           
+static intCOLOR_XYZ2RGB + +
+           
+static intCOLOR_YCrCb2BGR + +
+           
+static intCOLOR_YCrCb2RGB + +
+           
+static intCOLOR_YUV2BGR + +
+           
+static intCOLOR_YUV2BGR_I420 + +
+           
+static intCOLOR_YUV2BGR_IYUV + +
+           
+static intCOLOR_YUV2BGR_NV12 + +
+           
+static intCOLOR_YUV2BGR_NV21 + +
+           
+static intCOLOR_YUV2BGR_UYNV + +
+           
+static intCOLOR_YUV2BGR_UYVY + +
+           
+static intCOLOR_YUV2BGR_Y422 + +
+           
+static intCOLOR_YUV2BGR_YUNV + +
+           
+static intCOLOR_YUV2BGR_YUY2 + +
+           
+static intCOLOR_YUV2BGR_YUYV + +
+           
+static intCOLOR_YUV2BGR_YV12 + +
+           
+static intCOLOR_YUV2BGR_YVYU + +
+           
+static intCOLOR_YUV2BGRA_I420 + +
+           
+static intCOLOR_YUV2BGRA_IYUV + +
+           
+static intCOLOR_YUV2BGRA_NV12 + +
+           
+static intCOLOR_YUV2BGRA_NV21 + +
+           
+static intCOLOR_YUV2BGRA_UYNV + +
+           
+static intCOLOR_YUV2BGRA_UYVY + +
+           
+static intCOLOR_YUV2BGRA_Y422 + +
+           
+static intCOLOR_YUV2BGRA_YUNV + +
+           
+static intCOLOR_YUV2BGRA_YUY2 + +
+           
+static intCOLOR_YUV2BGRA_YUYV + +
+           
+static intCOLOR_YUV2BGRA_YV12 + +
+           
+static intCOLOR_YUV2BGRA_YVYU + +
+           
+static intCOLOR_YUV2GRAY_420 + +
+           
+static intCOLOR_YUV2GRAY_I420 + +
+           
+static intCOLOR_YUV2GRAY_IYUV + +
+           
+static intCOLOR_YUV2GRAY_NV12 + +
+           
+static intCOLOR_YUV2GRAY_NV21 + +
+           
+static intCOLOR_YUV2GRAY_UYNV + +
+           
+static intCOLOR_YUV2GRAY_UYVY + +
+           
+static intCOLOR_YUV2GRAY_Y422 + +
+           
+static intCOLOR_YUV2GRAY_YUNV + +
+           
+static intCOLOR_YUV2GRAY_YUY2 + +
+           
+static intCOLOR_YUV2GRAY_YUYV + +
+           
+static intCOLOR_YUV2GRAY_YV12 + +
+           
+static intCOLOR_YUV2GRAY_YVYU + +
+           
+static intCOLOR_YUV2RGB + +
+           
+static intCOLOR_YUV2RGB_I420 + +
+           
+static intCOLOR_YUV2RGB_IYUV + +
+           
+static intCOLOR_YUV2RGB_NV12 + +
+           
+static intCOLOR_YUV2RGB_NV21 + +
+           
+static intCOLOR_YUV2RGB_UYNV + +
+           
+static intCOLOR_YUV2RGB_UYVY + +
+           
+static intCOLOR_YUV2RGB_Y422 + +
+           
+static intCOLOR_YUV2RGB_YUNV + +
+           
+static intCOLOR_YUV2RGB_YUY2 + +
+           
+static intCOLOR_YUV2RGB_YUYV + +
+           
+static intCOLOR_YUV2RGB_YV12 + +
+           
+static intCOLOR_YUV2RGB_YVYU + +
+           
+static intCOLOR_YUV2RGBA_I420 + +
+           
+static intCOLOR_YUV2RGBA_IYUV + +
+           
+static intCOLOR_YUV2RGBA_NV12 + +
+           
+static intCOLOR_YUV2RGBA_NV21 + +
+           
+static intCOLOR_YUV2RGBA_UYNV + +
+           
+static intCOLOR_YUV2RGBA_UYVY + +
+           
+static intCOLOR_YUV2RGBA_Y422 + +
+           
+static intCOLOR_YUV2RGBA_YUNV + +
+           
+static intCOLOR_YUV2RGBA_YUY2 + +
+           
+static intCOLOR_YUV2RGBA_YUYV + +
+           
+static intCOLOR_YUV2RGBA_YV12 + +
+           
+static intCOLOR_YUV2RGBA_YVYU + +
+           
+static intCOLOR_YUV420p2BGR + +
+           
+static intCOLOR_YUV420p2BGRA + +
+           
+static intCOLOR_YUV420p2GRAY + +
+           
+static intCOLOR_YUV420p2RGB + +
+           
+static intCOLOR_YUV420p2RGBA + +
+           
+static intCOLOR_YUV420sp2BGR + +
+           
+static intCOLOR_YUV420sp2BGRA + +
+           
+static intCOLOR_YUV420sp2GRAY + +
+           
+static intCOLOR_YUV420sp2RGB + +
+           
+static intCOLOR_YUV420sp2RGBA + +
+           
+static intCOLORMAP_AUTUMN + +
+           
+static intCOLORMAP_BONE + +
+           
+static intCOLORMAP_COOL + +
+           
+static intCOLORMAP_HOT + +
+           
+static intCOLORMAP_HSV + +
+           
+static intCOLORMAP_JET + +
+           
+static intCOLORMAP_OCEAN + +
+           
+static intCOLORMAP_PARULA + +
+           
+static intCOLORMAP_PINK + +
+           
+static intCOLORMAP_RAINBOW + +
+           
+static intCOLORMAP_SPRING + +
+           
+static intCOLORMAP_SUMMER + +
+           
+static intCOLORMAP_WINTER + +
+           
+static intCV_BILATERAL + +
+           
+static intCV_BLUR + +
+           
+static intCV_BLUR_NO_SCALE + +
+           
+static intCV_CANNY_L2_GRADIENT + +
+           
+static intCV_CHAIN_CODE + +
+           
+static intCV_CLOCKWISE + +
+           
+static intCV_COMP_BHATTACHARYYA + +
+           
+static intCV_COMP_CHISQR + +
+           
+static intCV_COMP_CHISQR_ALT + +
+           
+static intCV_COMP_CORREL + +
+           
+static intCV_COMP_HELLINGER + +
+           
+static intCV_COMP_INTERSECT + +
+           
+static intCV_COMP_KL_DIV + +
+           
+static intCV_CONTOURS_MATCH_I1 + +
+           
+static intCV_CONTOURS_MATCH_I2 + +
+           
+static intCV_CONTOURS_MATCH_I3 + +
+           
+static intCV_COUNTER_CLOCKWISE + +
+           
+static intCV_DIST_C + +
+           
+static intCV_DIST_FAIR + +
+           
+static intCV_DIST_HUBER + +
+           
+static intCV_DIST_L1 + +
+           
+static intCV_DIST_L12 + +
+           
+static intCV_DIST_L2 + +
+           
+static intCV_DIST_LABEL_CCOMP + +
+           
+static intCV_DIST_LABEL_PIXEL + +
+           
+static intCV_DIST_MASK_3 + +
+           
+static intCV_DIST_MASK_5 + +
+           
+static intCV_DIST_MASK_PRECISE + +
+           
+static intCV_DIST_USER + +
+           
+static intCV_DIST_WELSCH + +
+           
+static intCV_GAUSSIAN + +
+           
+static intCV_GAUSSIAN_5x5 + +
+           
+static intCV_HOUGH_GRADIENT + +
+           
+static intCV_HOUGH_MULTI_SCALE + +
+           
+static intCV_HOUGH_PROBABILISTIC + +
+           
+static intCV_HOUGH_STANDARD + +
+           
+static intCV_LINK_RUNS + +
+           
+static intCV_MAX_SOBEL_KSIZE + +
+           
+static intCV_MEDIAN + +
+           
+static intCV_mRGBA2RGBA + +
+           
+static intCV_POLY_APPROX_DP + +
+           
+static intCV_RGBA2mRGBA + +
+           
+static intCV_SCHARR + +
+           
+static intCV_SHAPE_CROSS + +
+           
+static intCV_SHAPE_CUSTOM + +
+           
+static intCV_SHAPE_ELLIPSE + +
+           
+static intCV_SHAPE_RECT + +
+           
+static intCV_WARP_FILL_OUTLIERS + +
+           
+static intCV_WARP_INVERSE_MAP + +
+           
+static intDIST_C + +
+           
+static intDIST_FAIR + +
+           
+static intDIST_HUBER + +
+           
+static intDIST_L1 + +
+           
+static intDIST_L12 + +
+           
+static intDIST_L2 + +
+           
+static intDIST_LABEL_CCOMP + +
+           
+static intDIST_LABEL_PIXEL + +
+           
+static intDIST_MASK_3 + +
+           
+static intDIST_MASK_5 + +
+           
+static intDIST_MASK_PRECISE + +
+           
+static intDIST_USER + +
+           
+static intDIST_WELSCH + +
+           
+static intFLOODFILL_FIXED_RANGE + +
+           
+static intFLOODFILL_MASK_ONLY + +
+           
+static intGC_BGD + +
+           
+static intGC_EVAL + +
+           
+static intGC_FGD + +
+           
+static intGC_INIT_WITH_MASK + +
+           
+static intGC_INIT_WITH_RECT + +
+           
+static intGC_PR_BGD + +
+           
+static intGC_PR_FGD + +
+           
+static intHISTCMP_BHATTACHARYYA + +
+           
+static intHISTCMP_CHISQR + +
+           
+static intHISTCMP_CHISQR_ALT + +
+           
+static intHISTCMP_CORREL + +
+           
+static intHISTCMP_HELLINGER + +
+           
+static intHISTCMP_INTERSECT + +
+           
+static intHISTCMP_KL_DIV + +
+           
+static intHOUGH_GRADIENT + +
+           
+static intHOUGH_MULTI_SCALE + +
+           
+static intHOUGH_PROBABILISTIC + +
+           
+static intHOUGH_STANDARD + +
+           
+static intINTER_AREA + +
+           
+static intINTER_BITS + +
+           
+static intINTER_BITS2 + +
+           
+static intINTER_CUBIC + +
+           
+static intINTER_LANCZOS4 + +
+           
+static intINTER_LINEAR + +
+           
+static intINTER_MAX + +
+           
+static intINTER_NEAREST + +
+           
+static intINTER_TAB_SIZE + +
+           
+static intINTER_TAB_SIZE2 + +
+           
+static intINTERSECT_FULL + +
+           
+static intINTERSECT_NONE + +
+           
+static intINTERSECT_PARTIAL + +
+           
+static intLINE_4 + +
+           
+static intLINE_8 + +
+           
+static intLINE_AA + +
+           
+static intLSD_REFINE_ADV + +
+           
+static intLSD_REFINE_NONE + +
+           
+static intLSD_REFINE_STD + +
+           
+static intMORPH_BLACKHAT + +
+           
+static intMORPH_CLOSE + +
+           
+static intMORPH_CROSS + +
+           
+static intMORPH_DILATE + +
+           
+static intMORPH_ELLIPSE + +
+           
+static intMORPH_ERODE + +
+           
+static intMORPH_GRADIENT + +
+           
+static intMORPH_OPEN + +
+           
+static intMORPH_RECT + +
+           
+static intMORPH_TOPHAT + +
+           
+static intPROJ_SPHERICAL_EQRECT + +
+           
+static intPROJ_SPHERICAL_ORTHO + +
+           
+static intRETR_CCOMP + +
+           
+static intRETR_EXTERNAL + +
+           
+static intRETR_FLOODFILL + +
+           
+static intRETR_LIST + +
+           
+static intRETR_TREE + +
+           
+static intTHRESH_BINARY + +
+           
+static intTHRESH_BINARY_INV + +
+           
+static intTHRESH_MASK + +
+           
+static intTHRESH_OTSU + +
+           
+static intTHRESH_TOZERO + +
+           
+static intTHRESH_TOZERO_INV + +
+           
+static intTHRESH_TRIANGLE + +
+           
+static intTHRESH_TRUNC + +
+           
+static intTM_CCOEFF + +
+           
+static intTM_CCOEFF_NORMED + +
+           
+static intTM_CCORR + +
+           
+static intTM_CCORR_NORMED + +
+           
+static intTM_SQDIFF + +
+           
+static intTM_SQDIFF_NORMED + +
+           
+static intWARP_FILL_OUTLIERS + +
+           
+static intWARP_INVERSE_MAP + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Imgproc() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidaccumulate(Mat src, + Mat dst) + +
+           
+static voidaccumulate(Mat src, + Mat dst, + Mat mask) + +
+           
+static voidaccumulateProduct(Mat src1, + Mat src2, + Mat dst) + +
+           
+static voidaccumulateProduct(Mat src1, + Mat src2, + Mat dst, + Mat mask) + +
+           
+static voidaccumulateSquare(Mat src, + Mat dst) + +
+           
+static voidaccumulateSquare(Mat src, + Mat dst, + Mat mask) + +
+           
+static voidaccumulateWeighted(Mat src, + Mat dst, + double alpha) + +
+           
+static voidaccumulateWeighted(Mat src, + Mat dst, + double alpha, + Mat mask) + +
+           
+static voidadaptiveThreshold(Mat src, + Mat dst, + double maxValue, + int adaptiveMethod, + int thresholdType, + int blockSize, + double C) + +
+           
+static voidapplyColorMap(Mat src, + Mat dst, + int colormap) + +
+           
+static voidapproxPolyDP(MatOfPoint2f curve, + MatOfPoint2f approxCurve, + double epsilon, + boolean closed) + +
+           
+static doublearcLength(MatOfPoint2f curve, + boolean closed) + +
+           
+static voidarrowedLine(Mat img, + Point pt1, + Point pt2, + Scalar color) + +
+           
+static voidarrowedLine(Mat img, + Point pt1, + Point pt2, + Scalar color, + int thickness, + int line_type, + int shift, + double tipLength) + +
+           
+static voidbilateralFilter(Mat src, + Mat dst, + int d, + double sigmaColor, + double sigmaSpace) + +
+           
+static voidbilateralFilter(Mat src, + Mat dst, + int d, + double sigmaColor, + double sigmaSpace, + int borderType) + +
+           
+static voidblur(Mat src, + Mat dst, + Size ksize) + +
+           
+static voidblur(Mat src, + Mat dst, + Size ksize, + Point anchor) + +
+           
+static voidblur(Mat src, + Mat dst, + Size ksize, + Point anchor, + int borderType) + +
+           
+static RectboundingRect(MatOfPoint points) + +
+           
+static voidboxFilter(Mat src, + Mat dst, + int ddepth, + Size ksize) + +
+           
+static voidboxFilter(Mat src, + Mat dst, + int ddepth, + Size ksize, + Point anchor, + boolean normalize) + +
+           
+static voidboxFilter(Mat src, + Mat dst, + int ddepth, + Size ksize, + Point anchor, + boolean normalize, + int borderType) + +
+           
+static voidboxPoints(RotatedRect box, + Mat points) + +
+           
+static voidcalcBackProject(java.util.List<Mat> images, + MatOfInt channels, + Mat hist, + Mat dst, + MatOfFloat ranges, + double scale) + +
+           
+static voidcalcHist(java.util.List<Mat> images, + MatOfInt channels, + Mat mask, + Mat hist, + MatOfInt histSize, + MatOfFloat ranges) + +
+           
+static voidcalcHist(java.util.List<Mat> images, + MatOfInt channels, + Mat mask, + Mat hist, + MatOfInt histSize, + MatOfFloat ranges, + boolean accumulate) + +
+           
+static voidCanny(Mat image, + Mat edges, + double threshold1, + double threshold2) + +
+           
+static voidCanny(Mat image, + Mat edges, + double threshold1, + double threshold2, + int apertureSize, + boolean L2gradient) + +
+           
+static voidcircle(Mat img, + Point center, + int radius, + Scalar color) + +
+           
+static voidcircle(Mat img, + Point center, + int radius, + Scalar color, + int thickness) + +
+           
+static voidcircle(Mat img, + Point center, + int radius, + Scalar color, + int thickness, + int lineType, + int shift) + +
+           
+static booleanclipLine(Rect imgRect, + Point pt1, + Point pt2) + +
+           
+static doublecompareHist(Mat H1, + Mat H2, + int method) + +
+           
+static intconnectedComponents(Mat image, + Mat labels) + +
+           
+static intconnectedComponents(Mat image, + Mat labels, + int connectivity, + int ltype) + +
+           
+static intconnectedComponentsWithStats(Mat image, + Mat labels, + Mat stats, + Mat centroids) + +
+           
+static intconnectedComponentsWithStats(Mat image, + Mat labels, + Mat stats, + Mat centroids, + int connectivity, + int ltype) + +
+           
+static doublecontourArea(Mat contour) + +
+           
+static doublecontourArea(Mat contour, + boolean oriented) + +
+           
+static voidconvertMaps(Mat map1, + Mat map2, + Mat dstmap1, + Mat dstmap2, + int dstmap1type) + +
+           
+static voidconvertMaps(Mat map1, + Mat map2, + Mat dstmap1, + Mat dstmap2, + int dstmap1type, + boolean nninterpolation) + +
+           
+static voidconvexHull(MatOfPoint points, + MatOfInt hull) + +
+           
+static voidconvexHull(MatOfPoint points, + MatOfInt hull, + boolean clockwise) + +
+           
+static voidconvexityDefects(MatOfPoint contour, + MatOfInt convexhull, + MatOfInt4 convexityDefects) + +
+           
+static voidcornerEigenValsAndVecs(Mat src, + Mat dst, + int blockSize, + int ksize) + +
+           
+static voidcornerEigenValsAndVecs(Mat src, + Mat dst, + int blockSize, + int ksize, + int borderType) + +
+           
+static voidcornerHarris(Mat src, + Mat dst, + int blockSize, + int ksize, + double k) + +
+           
+static voidcornerHarris(Mat src, + Mat dst, + int blockSize, + int ksize, + double k, + int borderType) + +
+           
+static voidcornerMinEigenVal(Mat src, + Mat dst, + int blockSize) + +
+           
+static voidcornerMinEigenVal(Mat src, + Mat dst, + int blockSize, + int ksize) + +
+           
+static voidcornerMinEigenVal(Mat src, + Mat dst, + int blockSize, + int ksize, + int borderType) + +
+           
+static voidcornerSubPix(Mat image, + MatOfPoint2f corners, + Size winSize, + Size zeroZone, + TermCriteria criteria) + +
+           
+static CLAHEcreateCLAHE() + +
+           
+static CLAHEcreateCLAHE(double clipLimit, + Size tileGridSize) + +
+           
+static voidcreateHanningWindow(Mat dst, + Size winSize, + int type) + +
+           
+static LineSegmentDetectorcreateLineSegmentDetector() + +
+           
+static LineSegmentDetectorcreateLineSegmentDetector(int _refine, + double _scale, + double _sigma_scale, + double _quant, + double _ang_th, + double _log_eps, + double _density_th, + int _n_bins) + +
+           
+static voidcvtColor(Mat src, + Mat dst, + int code) + +
+           
+static voidcvtColor(Mat src, + Mat dst, + int code, + int dstCn) + +
+           
+static voiddemosaicing(Mat _src, + Mat _dst, + int code) + +
+           
+static voiddemosaicing(Mat _src, + Mat _dst, + int code, + int dcn) + +
+           
+static voiddilate(Mat src, + Mat dst, + Mat kernel) + +
+           
+static voiddilate(Mat src, + Mat dst, + Mat kernel, + Point anchor, + int iterations) + +
+           
+static voiddilate(Mat src, + Mat dst, + Mat kernel, + Point anchor, + int iterations, + int borderType, + Scalar borderValue) + +
+           
+static voiddistanceTransform(Mat src, + Mat dst, + int distanceType, + int maskSize) + +
+           
+static voiddistanceTransform(Mat src, + Mat dst, + int distanceType, + int maskSize, + int dstType) + +
+           
+static voiddistanceTransformWithLabels(Mat src, + Mat dst, + Mat labels, + int distanceType, + int maskSize) + +
+           
+static voiddistanceTransformWithLabels(Mat src, + Mat dst, + Mat labels, + int distanceType, + int maskSize, + int labelType) + +
+           
+static voiddrawContours(Mat image, + java.util.List<MatOfPoint> contours, + int contourIdx, + Scalar color) + +
+           
+static voiddrawContours(Mat image, + java.util.List<MatOfPoint> contours, + int contourIdx, + Scalar color, + int thickness) + +
+           
+static voiddrawContours(Mat image, + java.util.List<MatOfPoint> contours, + int contourIdx, + Scalar color, + int thickness, + int lineType, + Mat hierarchy, + int maxLevel, + Point offset) + +
+           
+static voidellipse(Mat img, + Point center, + Size axes, + double angle, + double startAngle, + double endAngle, + Scalar color) + +
+           
+static voidellipse(Mat img, + Point center, + Size axes, + double angle, + double startAngle, + double endAngle, + Scalar color, + int thickness) + +
+           
+static voidellipse(Mat img, + Point center, + Size axes, + double angle, + double startAngle, + double endAngle, + Scalar color, + int thickness, + int lineType, + int shift) + +
+           
+static voidellipse(Mat img, + RotatedRect box, + Scalar color) + +
+           
+static voidellipse(Mat img, + RotatedRect box, + Scalar color, + int thickness) + +
+           
+static voidellipse(Mat img, + RotatedRect box, + Scalar color, + int thickness, + int lineType) + +
+           
+static voidellipse2Poly(Point center, + Size axes, + int angle, + int arcStart, + int arcEnd, + int delta, + MatOfPoint pts) + +
+           
+static voidequalizeHist(Mat src, + Mat dst) + +
+           
+static voiderode(Mat src, + Mat dst, + Mat kernel) + +
+           
+static voiderode(Mat src, + Mat dst, + Mat kernel, + Point anchor, + int iterations) + +
+           
+static voiderode(Mat src, + Mat dst, + Mat kernel, + Point anchor, + int iterations, + int borderType, + Scalar borderValue) + +
+           
+static voidfillConvexPoly(Mat img, + MatOfPoint points, + Scalar color) + +
+           
+static voidfillConvexPoly(Mat img, + MatOfPoint points, + Scalar color, + int lineType, + int shift) + +
+           
+static voidfillPoly(Mat img, + java.util.List<MatOfPoint> pts, + Scalar color) + +
+           
+static voidfillPoly(Mat img, + java.util.List<MatOfPoint> pts, + Scalar color, + int lineType, + int shift, + Point offset) + +
+           
+static voidfilter2D(Mat src, + Mat dst, + int ddepth, + Mat kernel) + +
+           
+static voidfilter2D(Mat src, + Mat dst, + int ddepth, + Mat kernel, + Point anchor, + double delta) + +
+           
+static voidfilter2D(Mat src, + Mat dst, + int ddepth, + Mat kernel, + Point anchor, + double delta, + int borderType) + +
+           
+static voidfindContours(Mat image, + java.util.List<MatOfPoint> contours, + Mat hierarchy, + int mode, + int method) + +
+           
+static voidfindContours(Mat image, + java.util.List<MatOfPoint> contours, + Mat hierarchy, + int mode, + int method, + Point offset) + +
+           
+static RotatedRectfitEllipse(MatOfPoint2f points) + +
+           
+static voidfitLine(Mat points, + Mat line, + int distType, + double param, + double reps, + double aeps) + +
+           
+static intfloodFill(Mat image, + Mat mask, + Point seedPoint, + Scalar newVal) + +
+           
+static intfloodFill(Mat image, + Mat mask, + Point seedPoint, + Scalar newVal, + Rect rect, + Scalar loDiff, + Scalar upDiff, + int flags) + +
+           
+static voidGaussianBlur(Mat src, + Mat dst, + Size ksize, + double sigmaX) + +
+           
+static voidGaussianBlur(Mat src, + Mat dst, + Size ksize, + double sigmaX, + double sigmaY) + +
+           
+static voidGaussianBlur(Mat src, + Mat dst, + Size ksize, + double sigmaX, + double sigmaY, + int borderType) + +
+           
+static MatgetAffineTransform(MatOfPoint2f src, + MatOfPoint2f dst) + +
+           
+static MatgetDefaultNewCameraMatrix(Mat cameraMatrix) + +
+           
+static MatgetDefaultNewCameraMatrix(Mat cameraMatrix, + Size imgsize, + boolean centerPrincipalPoint) + +
+           
+static voidgetDerivKernels(Mat kx, + Mat ky, + int dx, + int dy, + int ksize) + +
+           
+static voidgetDerivKernels(Mat kx, + Mat ky, + int dx, + int dy, + int ksize, + boolean normalize, + int ktype) + +
+           
+static MatgetGaborKernel(Size ksize, + double sigma, + double theta, + double lambd, + double gamma) + +
+           
+static MatgetGaborKernel(Size ksize, + double sigma, + double theta, + double lambd, + double gamma, + double psi, + int ktype) + +
+           
+static MatgetGaussianKernel(int ksize, + double sigma) + +
+           
+static MatgetGaussianKernel(int ksize, + double sigma, + int ktype) + +
+           
+static MatgetPerspectiveTransform(Mat src, + Mat dst) + +
+           
+static voidgetRectSubPix(Mat image, + Size patchSize, + Point center, + Mat patch) + +
+           
+static voidgetRectSubPix(Mat image, + Size patchSize, + Point center, + Mat patch, + int patchType) + +
+           
+static MatgetRotationMatrix2D(Point center, + double angle, + double scale) + +
+           
+static MatgetStructuringElement(int shape, + Size ksize) + +
+           
+static MatgetStructuringElement(int shape, + Size ksize, + Point anchor) + +
+           
+static SizegetTextSize(java.lang.String text, + int fontFace, + double fontScale, + int thickness, + int[] baseLine) + +
+           
+static voidgoodFeaturesToTrack(Mat image, + MatOfPoint corners, + int maxCorners, + double qualityLevel, + double minDistance) + +
+           
+static voidgoodFeaturesToTrack(Mat image, + MatOfPoint corners, + int maxCorners, + double qualityLevel, + double minDistance, + Mat mask, + int blockSize, + boolean useHarrisDetector, + double k) + +
+           
+static voidgrabCut(Mat img, + Mat mask, + Rect rect, + Mat bgdModel, + Mat fgdModel, + int iterCount) + +
+           
+static voidgrabCut(Mat img, + Mat mask, + Rect rect, + Mat bgdModel, + Mat fgdModel, + int iterCount, + int mode) + +
+           
+static voidHoughCircles(Mat image, + Mat circles, + int method, + double dp, + double minDist) + +
+           
+static voidHoughCircles(Mat image, + Mat circles, + int method, + double dp, + double minDist, + double param1, + double param2, + int minRadius, + int maxRadius) + +
+           
+static voidHoughLines(Mat image, + Mat lines, + double rho, + double theta, + int threshold) + +
+           
+static voidHoughLines(Mat image, + Mat lines, + double rho, + double theta, + int threshold, + double srn, + double stn, + double min_theta, + double max_theta) + +
+           
+static voidHoughLinesP(Mat image, + Mat lines, + double rho, + double theta, + int threshold) + +
+           
+static voidHoughLinesP(Mat image, + Mat lines, + double rho, + double theta, + int threshold, + double minLineLength, + double maxLineGap) + +
+           
+static voidinitUndistortRectifyMap(Mat cameraMatrix, + Mat distCoeffs, + Mat R, + Mat newCameraMatrix, + Size size, + int m1type, + Mat map1, + Mat map2) + +
+           
+static floatinitWideAngleProjMap(Mat cameraMatrix, + Mat distCoeffs, + Size imageSize, + int destImageWidth, + int m1type, + Mat map1, + Mat map2) + +
+           
+static floatinitWideAngleProjMap(Mat cameraMatrix, + Mat distCoeffs, + Size imageSize, + int destImageWidth, + int m1type, + Mat map1, + Mat map2, + int projType, + double alpha) + +
+           
+static voidintegral(Mat src, + Mat sum) + +
+           
+static voidintegral(Mat src, + Mat sum, + int sdepth) + +
+           
+static voidintegral2(Mat src, + Mat sum, + Mat sqsum) + +
+           
+static voidintegral2(Mat src, + Mat sum, + Mat sqsum, + int sdepth, + int sqdepth) + +
+           
+static voidintegral3(Mat src, + Mat sum, + Mat sqsum, + Mat tilted) + +
+           
+static voidintegral3(Mat src, + Mat sum, + Mat sqsum, + Mat tilted, + int sdepth, + int sqdepth) + +
+           
+static floatintersectConvexConvex(Mat _p1, + Mat _p2, + Mat _p12) + +
+           
+static floatintersectConvexConvex(Mat _p1, + Mat _p2, + Mat _p12, + boolean handleNested) + +
+           
+static voidinvertAffineTransform(Mat M, + Mat iM) + +
+           
+static booleanisContourConvex(MatOfPoint contour) + +
+           
+static voidLaplacian(Mat src, + Mat dst, + int ddepth) + +
+           
+static voidLaplacian(Mat src, + Mat dst, + int ddepth, + int ksize, + double scale, + double delta) + +
+           
+static voidLaplacian(Mat src, + Mat dst, + int ddepth, + int ksize, + double scale, + double delta, + int borderType) + +
+           
+static voidline(Mat img, + Point pt1, + Point pt2, + Scalar color) + +
+           
+static voidline(Mat img, + Point pt1, + Point pt2, + Scalar color, + int thickness) + +
+           
+static voidline(Mat img, + Point pt1, + Point pt2, + Scalar color, + int thickness, + int lineType, + int shift) + +
+           
+static voidlinearPolar(Mat src, + Mat dst, + Point center, + double maxRadius, + int flags) + +
+           
+static voidlogPolar(Mat src, + Mat dst, + Point center, + double M, + int flags) + +
+           
+static doublematchShapes(Mat contour1, + Mat contour2, + int method, + double parameter) + +
+           
+static voidmatchTemplate(Mat image, + Mat templ, + Mat result, + int method) + +
+           
+static voidmatchTemplate(Mat image, + Mat templ, + Mat result, + int method, + Mat mask) + +
+           
+static voidmedianBlur(Mat src, + Mat dst, + int ksize) + +
+           
+static RotatedRectminAreaRect(MatOfPoint2f points) + +
+           
+static voidminEnclosingCircle(MatOfPoint2f points, + Point center, + float[] radius) + +
+           
+static doubleminEnclosingTriangle(Mat points, + Mat triangle) + +
+           
+static voidmorphologyEx(Mat src, + Mat dst, + int op, + Mat kernel) + +
+           
+static voidmorphologyEx(Mat src, + Mat dst, + int op, + Mat kernel, + Point anchor, + int iterations) + +
+           
+static voidmorphologyEx(Mat src, + Mat dst, + int op, + Mat kernel, + Point anchor, + int iterations, + int borderType, + Scalar borderValue) + +
+           
+static PointphaseCorrelate(Mat src1, + Mat src2) + +
+           
+static PointphaseCorrelate(Mat src1, + Mat src2, + Mat window, + double[] response) + +
+           
+static doublepointPolygonTest(MatOfPoint2f contour, + Point pt, + boolean measureDist) + +
+           
+static voidpolylines(Mat img, + java.util.List<MatOfPoint> pts, + boolean isClosed, + Scalar color) + +
+           
+static voidpolylines(Mat img, + java.util.List<MatOfPoint> pts, + boolean isClosed, + Scalar color, + int thickness) + +
+           
+static voidpolylines(Mat img, + java.util.List<MatOfPoint> pts, + boolean isClosed, + Scalar color, + int thickness, + int lineType, + int shift) + +
+           
+static voidpreCornerDetect(Mat src, + Mat dst, + int ksize) + +
+           
+static voidpreCornerDetect(Mat src, + Mat dst, + int ksize, + int borderType) + +
+           
+static voidputText(Mat img, + java.lang.String text, + Point org, + int fontFace, + double fontScale, + Scalar color) + +
+           
+static voidputText(Mat img, + java.lang.String text, + Point org, + int fontFace, + double fontScale, + Scalar color, + int thickness) + +
+           
+static voidputText(Mat img, + java.lang.String text, + Point org, + int fontFace, + double fontScale, + Scalar color, + int thickness, + int lineType, + boolean bottomLeftOrigin) + +
+           
+static voidpyrDown(Mat src, + Mat dst) + +
+           
+static voidpyrDown(Mat src, + Mat dst, + Size dstsize) + +
+           
+static voidpyrDown(Mat src, + Mat dst, + Size dstsize, + int borderType) + +
+           
+static voidpyrMeanShiftFiltering(Mat src, + Mat dst, + double sp, + double sr) + +
+           
+static voidpyrMeanShiftFiltering(Mat src, + Mat dst, + double sp, + double sr, + int maxLevel, + TermCriteria termcrit) + +
+           
+static voidpyrUp(Mat src, + Mat dst) + +
+           
+static voidpyrUp(Mat src, + Mat dst, + Size dstsize) + +
+           
+static voidpyrUp(Mat src, + Mat dst, + Size dstsize, + int borderType) + +
+           
+static voidrectangle(Mat img, + Point pt1, + Point pt2, + Scalar color) + +
+           
+static voidrectangle(Mat img, + Point pt1, + Point pt2, + Scalar color, + int thickness) + +
+           
+static voidrectangle(Mat img, + Point pt1, + Point pt2, + Scalar color, + int thickness, + int lineType, + int shift) + +
+           
+static voidremap(Mat src, + Mat dst, + Mat map1, + Mat map2, + int interpolation) + +
+           
+static voidremap(Mat src, + Mat dst, + Mat map1, + Mat map2, + int interpolation, + int borderMode, + Scalar borderValue) + +
+           
+static voidresize(Mat src, + Mat dst, + Size dsize) + +
+           
+static voidresize(Mat src, + Mat dst, + Size dsize, + double fx, + double fy, + int interpolation) + +
+           
+static introtatedRectangleIntersection(RotatedRect rect1, + RotatedRect rect2, + Mat intersectingRegion) + +
+           
+static voidScharr(Mat src, + Mat dst, + int ddepth, + int dx, + int dy) + +
+           
+static voidScharr(Mat src, + Mat dst, + int ddepth, + int dx, + int dy, + double scale, + double delta) + +
+           
+static voidScharr(Mat src, + Mat dst, + int ddepth, + int dx, + int dy, + double scale, + double delta, + int borderType) + +
+           
+static voidsepFilter2D(Mat src, + Mat dst, + int ddepth, + Mat kernelX, + Mat kernelY) + +
+           
+static voidsepFilter2D(Mat src, + Mat dst, + int ddepth, + Mat kernelX, + Mat kernelY, + Point anchor, + double delta) + +
+           
+static voidsepFilter2D(Mat src, + Mat dst, + int ddepth, + Mat kernelX, + Mat kernelY, + Point anchor, + double delta, + int borderType) + +
+           
+static voidSobel(Mat src, + Mat dst, + int ddepth, + int dx, + int dy) + +
+           
+static voidSobel(Mat src, + Mat dst, + int ddepth, + int dx, + int dy, + int ksize, + double scale, + double delta) + +
+           
+static voidSobel(Mat src, + Mat dst, + int ddepth, + int dx, + int dy, + int ksize, + double scale, + double delta, + int borderType) + +
+           
+static voidsqrBoxFilter(Mat _src, + Mat _dst, + int ddepth, + Size ksize) + +
+           
+static voidsqrBoxFilter(Mat _src, + Mat _dst, + int ddepth, + Size ksize, + Point anchor, + boolean normalize) + +
+           
+static voidsqrBoxFilter(Mat _src, + Mat _dst, + int ddepth, + Size ksize, + Point anchor, + boolean normalize, + int borderType) + +
+           
+static doublethreshold(Mat src, + Mat dst, + double thresh, + double maxval, + int type) + +
+           
+static voidundistort(Mat src, + Mat dst, + Mat cameraMatrix, + Mat distCoeffs) + +
+           
+static voidundistort(Mat src, + Mat dst, + Mat cameraMatrix, + Mat distCoeffs, + Mat newCameraMatrix) + +
+           
+static voidundistortPoints(MatOfPoint2f src, + MatOfPoint2f dst, + Mat cameraMatrix, + Mat distCoeffs) + +
+           
+static voidundistortPoints(MatOfPoint2f src, + MatOfPoint2f dst, + Mat cameraMatrix, + Mat distCoeffs, + Mat R, + Mat P) + +
+           
+static voidwarpAffine(Mat src, + Mat dst, + Mat M, + Size dsize) + +
+           
+static voidwarpAffine(Mat src, + Mat dst, + Mat M, + Size dsize, + int flags) + +
+           
+static voidwarpAffine(Mat src, + Mat dst, + Mat M, + Size dsize, + int flags, + int borderMode, + Scalar borderValue) + +
+           
+static voidwarpPerspective(Mat src, + Mat dst, + Mat M, + Size dsize) + +
+           
+static voidwarpPerspective(Mat src, + Mat dst, + Mat M, + Size dsize, + int flags) + +
+           
+static voidwarpPerspective(Mat src, + Mat dst, + Mat M, + Size dsize, + int flags, + int borderMode, + Scalar borderValue) + +
+           
+static voidwatershed(Mat image, + Mat markers) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+ADAPTIVE_THRESH_GAUSSIAN_C

+
+public static final int ADAPTIVE_THRESH_GAUSSIAN_C
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ADAPTIVE_THRESH_MEAN_C

+
+public static final int ADAPTIVE_THRESH_MEAN_C
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CC_STAT_AREA

+
+public static final int CC_STAT_AREA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CC_STAT_HEIGHT

+
+public static final int CC_STAT_HEIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CC_STAT_LEFT

+
+public static final int CC_STAT_LEFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CC_STAT_MAX

+
+public static final int CC_STAT_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CC_STAT_TOP

+
+public static final int CC_STAT_TOP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CC_STAT_WIDTH

+
+public static final int CC_STAT_WIDTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHAIN_APPROX_NONE

+
+public static final int CHAIN_APPROX_NONE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHAIN_APPROX_SIMPLE

+
+public static final int CHAIN_APPROX_SIMPLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHAIN_APPROX_TC89_KCOS

+
+public static final int CHAIN_APPROX_TC89_KCOS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHAIN_APPROX_TC89_L1

+
+public static final int CHAIN_APPROX_TC89_L1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerBG2BGR

+
+public static final int COLOR_BayerBG2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerBG2BGR_EA

+
+public static final int COLOR_BayerBG2BGR_EA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerBG2BGR_VNG

+
+public static final int COLOR_BayerBG2BGR_VNG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerBG2GRAY

+
+public static final int COLOR_BayerBG2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerBG2RGB

+
+public static final int COLOR_BayerBG2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerBG2RGB_EA

+
+public static final int COLOR_BayerBG2RGB_EA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerBG2RGB_VNG

+
+public static final int COLOR_BayerBG2RGB_VNG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGB2BGR

+
+public static final int COLOR_BayerGB2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGB2BGR_EA

+
+public static final int COLOR_BayerGB2BGR_EA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGB2BGR_VNG

+
+public static final int COLOR_BayerGB2BGR_VNG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGB2GRAY

+
+public static final int COLOR_BayerGB2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGB2RGB

+
+public static final int COLOR_BayerGB2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGB2RGB_EA

+
+public static final int COLOR_BayerGB2RGB_EA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGB2RGB_VNG

+
+public static final int COLOR_BayerGB2RGB_VNG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGR2BGR

+
+public static final int COLOR_BayerGR2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGR2BGR_EA

+
+public static final int COLOR_BayerGR2BGR_EA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGR2BGR_VNG

+
+public static final int COLOR_BayerGR2BGR_VNG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGR2GRAY

+
+public static final int COLOR_BayerGR2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGR2RGB

+
+public static final int COLOR_BayerGR2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGR2RGB_EA

+
+public static final int COLOR_BayerGR2RGB_EA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerGR2RGB_VNG

+
+public static final int COLOR_BayerGR2RGB_VNG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerRG2BGR

+
+public static final int COLOR_BayerRG2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerRG2BGR_EA

+
+public static final int COLOR_BayerRG2BGR_EA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerRG2BGR_VNG

+
+public static final int COLOR_BayerRG2BGR_VNG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerRG2GRAY

+
+public static final int COLOR_BayerRG2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerRG2RGB

+
+public static final int COLOR_BayerRG2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerRG2RGB_EA

+
+public static final int COLOR_BayerRG2RGB_EA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BayerRG2RGB_VNG

+
+public static final int COLOR_BayerRG2RGB_VNG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2BGR555

+
+public static final int COLOR_BGR2BGR555
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2BGR565

+
+public static final int COLOR_BGR2BGR565
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2BGRA

+
+public static final int COLOR_BGR2BGRA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2GRAY

+
+public static final int COLOR_BGR2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2HLS

+
+public static final int COLOR_BGR2HLS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2HLS_FULL

+
+public static final int COLOR_BGR2HLS_FULL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2HSV

+
+public static final int COLOR_BGR2HSV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2HSV_FULL

+
+public static final int COLOR_BGR2HSV_FULL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2Lab

+
+public static final int COLOR_BGR2Lab
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2Luv

+
+public static final int COLOR_BGR2Luv
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2RGB

+
+public static final int COLOR_BGR2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2RGBA

+
+public static final int COLOR_BGR2RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2XYZ

+
+public static final int COLOR_BGR2XYZ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2YCrCb

+
+public static final int COLOR_BGR2YCrCb
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2YUV

+
+public static final int COLOR_BGR2YUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2YUV_I420

+
+public static final int COLOR_BGR2YUV_I420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2YUV_IYUV

+
+public static final int COLOR_BGR2YUV_IYUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR2YUV_YV12

+
+public static final int COLOR_BGR2YUV_YV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5552BGR

+
+public static final int COLOR_BGR5552BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5552BGRA

+
+public static final int COLOR_BGR5552BGRA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5552GRAY

+
+public static final int COLOR_BGR5552GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5552RGB

+
+public static final int COLOR_BGR5552RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5552RGBA

+
+public static final int COLOR_BGR5552RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5652BGR

+
+public static final int COLOR_BGR5652BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5652BGRA

+
+public static final int COLOR_BGR5652BGRA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5652GRAY

+
+public static final int COLOR_BGR5652GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5652RGB

+
+public static final int COLOR_BGR5652RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGR5652RGBA

+
+public static final int COLOR_BGR5652RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGRA2BGR

+
+public static final int COLOR_BGRA2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGRA2BGR555

+
+public static final int COLOR_BGRA2BGR555
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGRA2BGR565

+
+public static final int COLOR_BGRA2BGR565
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGRA2GRAY

+
+public static final int COLOR_BGRA2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGRA2RGB

+
+public static final int COLOR_BGRA2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGRA2RGBA

+
+public static final int COLOR_BGRA2RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGRA2YUV_I420

+
+public static final int COLOR_BGRA2YUV_I420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGRA2YUV_IYUV

+
+public static final int COLOR_BGRA2YUV_IYUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_BGRA2YUV_YV12

+
+public static final int COLOR_BGRA2YUV_YV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_COLORCVT_MAX

+
+public static final int COLOR_COLORCVT_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_GRAY2BGR

+
+public static final int COLOR_GRAY2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_GRAY2BGR555

+
+public static final int COLOR_GRAY2BGR555
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_GRAY2BGR565

+
+public static final int COLOR_GRAY2BGR565
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_GRAY2BGRA

+
+public static final int COLOR_GRAY2BGRA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_GRAY2RGB

+
+public static final int COLOR_GRAY2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_GRAY2RGBA

+
+public static final int COLOR_GRAY2RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_HLS2BGR

+
+public static final int COLOR_HLS2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_HLS2BGR_FULL

+
+public static final int COLOR_HLS2BGR_FULL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_HLS2RGB

+
+public static final int COLOR_HLS2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_HLS2RGB_FULL

+
+public static final int COLOR_HLS2RGB_FULL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_HSV2BGR

+
+public static final int COLOR_HSV2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_HSV2BGR_FULL

+
+public static final int COLOR_HSV2BGR_FULL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_HSV2RGB

+
+public static final int COLOR_HSV2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_HSV2RGB_FULL

+
+public static final int COLOR_HSV2RGB_FULL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_Lab2BGR

+
+public static final int COLOR_Lab2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_Lab2LBGR

+
+public static final int COLOR_Lab2LBGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_Lab2LRGB

+
+public static final int COLOR_Lab2LRGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_Lab2RGB

+
+public static final int COLOR_Lab2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_LBGR2Lab

+
+public static final int COLOR_LBGR2Lab
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_LBGR2Luv

+
+public static final int COLOR_LBGR2Luv
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_LRGB2Lab

+
+public static final int COLOR_LRGB2Lab
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_LRGB2Luv

+
+public static final int COLOR_LRGB2Luv
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_Luv2BGR

+
+public static final int COLOR_Luv2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_Luv2LBGR

+
+public static final int COLOR_Luv2LBGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_Luv2LRGB

+
+public static final int COLOR_Luv2LRGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_Luv2RGB

+
+public static final int COLOR_Luv2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_mRGBA2RGBA

+
+public static final int COLOR_mRGBA2RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2BGR

+
+public static final int COLOR_RGB2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2BGR555

+
+public static final int COLOR_RGB2BGR555
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2BGR565

+
+public static final int COLOR_RGB2BGR565
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2BGRA

+
+public static final int COLOR_RGB2BGRA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2GRAY

+
+public static final int COLOR_RGB2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2HLS

+
+public static final int COLOR_RGB2HLS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2HLS_FULL

+
+public static final int COLOR_RGB2HLS_FULL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2HSV

+
+public static final int COLOR_RGB2HSV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2HSV_FULL

+
+public static final int COLOR_RGB2HSV_FULL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2Lab

+
+public static final int COLOR_RGB2Lab
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2Luv

+
+public static final int COLOR_RGB2Luv
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2RGBA

+
+public static final int COLOR_RGB2RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2XYZ

+
+public static final int COLOR_RGB2XYZ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2YCrCb

+
+public static final int COLOR_RGB2YCrCb
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2YUV

+
+public static final int COLOR_RGB2YUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2YUV_I420

+
+public static final int COLOR_RGB2YUV_I420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2YUV_IYUV

+
+public static final int COLOR_RGB2YUV_IYUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGB2YUV_YV12

+
+public static final int COLOR_RGB2YUV_YV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2BGR

+
+public static final int COLOR_RGBA2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2BGR555

+
+public static final int COLOR_RGBA2BGR555
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2BGR565

+
+public static final int COLOR_RGBA2BGR565
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2BGRA

+
+public static final int COLOR_RGBA2BGRA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2GRAY

+
+public static final int COLOR_RGBA2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2mRGBA

+
+public static final int COLOR_RGBA2mRGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2RGB

+
+public static final int COLOR_RGBA2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2YUV_I420

+
+public static final int COLOR_RGBA2YUV_I420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2YUV_IYUV

+
+public static final int COLOR_RGBA2YUV_IYUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_RGBA2YUV_YV12

+
+public static final int COLOR_RGBA2YUV_YV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_XYZ2BGR

+
+public static final int COLOR_XYZ2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_XYZ2RGB

+
+public static final int COLOR_XYZ2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YCrCb2BGR

+
+public static final int COLOR_YCrCb2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YCrCb2RGB

+
+public static final int COLOR_YCrCb2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR

+
+public static final int COLOR_YUV2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_I420

+
+public static final int COLOR_YUV2BGR_I420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_IYUV

+
+public static final int COLOR_YUV2BGR_IYUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_NV12

+
+public static final int COLOR_YUV2BGR_NV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_NV21

+
+public static final int COLOR_YUV2BGR_NV21
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_UYNV

+
+public static final int COLOR_YUV2BGR_UYNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_UYVY

+
+public static final int COLOR_YUV2BGR_UYVY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_Y422

+
+public static final int COLOR_YUV2BGR_Y422
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_YUNV

+
+public static final int COLOR_YUV2BGR_YUNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_YUY2

+
+public static final int COLOR_YUV2BGR_YUY2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_YUYV

+
+public static final int COLOR_YUV2BGR_YUYV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_YV12

+
+public static final int COLOR_YUV2BGR_YV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGR_YVYU

+
+public static final int COLOR_YUV2BGR_YVYU
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_I420

+
+public static final int COLOR_YUV2BGRA_I420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_IYUV

+
+public static final int COLOR_YUV2BGRA_IYUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_NV12

+
+public static final int COLOR_YUV2BGRA_NV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_NV21

+
+public static final int COLOR_YUV2BGRA_NV21
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_UYNV

+
+public static final int COLOR_YUV2BGRA_UYNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_UYVY

+
+public static final int COLOR_YUV2BGRA_UYVY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_Y422

+
+public static final int COLOR_YUV2BGRA_Y422
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_YUNV

+
+public static final int COLOR_YUV2BGRA_YUNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_YUY2

+
+public static final int COLOR_YUV2BGRA_YUY2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_YUYV

+
+public static final int COLOR_YUV2BGRA_YUYV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_YV12

+
+public static final int COLOR_YUV2BGRA_YV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2BGRA_YVYU

+
+public static final int COLOR_YUV2BGRA_YVYU
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_420

+
+public static final int COLOR_YUV2GRAY_420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_I420

+
+public static final int COLOR_YUV2GRAY_I420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_IYUV

+
+public static final int COLOR_YUV2GRAY_IYUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_NV12

+
+public static final int COLOR_YUV2GRAY_NV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_NV21

+
+public static final int COLOR_YUV2GRAY_NV21
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_UYNV

+
+public static final int COLOR_YUV2GRAY_UYNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_UYVY

+
+public static final int COLOR_YUV2GRAY_UYVY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_Y422

+
+public static final int COLOR_YUV2GRAY_Y422
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_YUNV

+
+public static final int COLOR_YUV2GRAY_YUNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_YUY2

+
+public static final int COLOR_YUV2GRAY_YUY2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_YUYV

+
+public static final int COLOR_YUV2GRAY_YUYV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_YV12

+
+public static final int COLOR_YUV2GRAY_YV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2GRAY_YVYU

+
+public static final int COLOR_YUV2GRAY_YVYU
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB

+
+public static final int COLOR_YUV2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_I420

+
+public static final int COLOR_YUV2RGB_I420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_IYUV

+
+public static final int COLOR_YUV2RGB_IYUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_NV12

+
+public static final int COLOR_YUV2RGB_NV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_NV21

+
+public static final int COLOR_YUV2RGB_NV21
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_UYNV

+
+public static final int COLOR_YUV2RGB_UYNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_UYVY

+
+public static final int COLOR_YUV2RGB_UYVY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_Y422

+
+public static final int COLOR_YUV2RGB_Y422
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_YUNV

+
+public static final int COLOR_YUV2RGB_YUNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_YUY2

+
+public static final int COLOR_YUV2RGB_YUY2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_YUYV

+
+public static final int COLOR_YUV2RGB_YUYV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_YV12

+
+public static final int COLOR_YUV2RGB_YV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGB_YVYU

+
+public static final int COLOR_YUV2RGB_YVYU
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_I420

+
+public static final int COLOR_YUV2RGBA_I420
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_IYUV

+
+public static final int COLOR_YUV2RGBA_IYUV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_NV12

+
+public static final int COLOR_YUV2RGBA_NV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_NV21

+
+public static final int COLOR_YUV2RGBA_NV21
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_UYNV

+
+public static final int COLOR_YUV2RGBA_UYNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_UYVY

+
+public static final int COLOR_YUV2RGBA_UYVY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_Y422

+
+public static final int COLOR_YUV2RGBA_Y422
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_YUNV

+
+public static final int COLOR_YUV2RGBA_YUNV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_YUY2

+
+public static final int COLOR_YUV2RGBA_YUY2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_YUYV

+
+public static final int COLOR_YUV2RGBA_YUYV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_YV12

+
+public static final int COLOR_YUV2RGBA_YV12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV2RGBA_YVYU

+
+public static final int COLOR_YUV2RGBA_YVYU
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420p2BGR

+
+public static final int COLOR_YUV420p2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420p2BGRA

+
+public static final int COLOR_YUV420p2BGRA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420p2GRAY

+
+public static final int COLOR_YUV420p2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420p2RGB

+
+public static final int COLOR_YUV420p2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420p2RGBA

+
+public static final int COLOR_YUV420p2RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420sp2BGR

+
+public static final int COLOR_YUV420sp2BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420sp2BGRA

+
+public static final int COLOR_YUV420sp2BGRA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420sp2GRAY

+
+public static final int COLOR_YUV420sp2GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420sp2RGB

+
+public static final int COLOR_YUV420sp2RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLOR_YUV420sp2RGBA

+
+public static final int COLOR_YUV420sp2RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_AUTUMN

+
+public static final int COLORMAP_AUTUMN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_BONE

+
+public static final int COLORMAP_BONE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_COOL

+
+public static final int COLORMAP_COOL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_HOT

+
+public static final int COLORMAP_HOT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_HSV

+
+public static final int COLORMAP_HSV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_JET

+
+public static final int COLORMAP_JET
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_OCEAN

+
+public static final int COLORMAP_OCEAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_PARULA

+
+public static final int COLORMAP_PARULA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_PINK

+
+public static final int COLORMAP_PINK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_RAINBOW

+
+public static final int COLORMAP_RAINBOW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_SPRING

+
+public static final int COLORMAP_SPRING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_SUMMER

+
+public static final int COLORMAP_SUMMER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COLORMAP_WINTER

+
+public static final int COLORMAP_WINTER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_BILATERAL

+
+public static final int CV_BILATERAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_BLUR

+
+public static final int CV_BLUR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_BLUR_NO_SCALE

+
+public static final int CV_BLUR_NO_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CANNY_L2_GRADIENT

+
+public static final int CV_CANNY_L2_GRADIENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CHAIN_CODE

+
+public static final int CV_CHAIN_CODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CLOCKWISE

+
+public static final int CV_CLOCKWISE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_COMP_BHATTACHARYYA

+
+public static final int CV_COMP_BHATTACHARYYA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_COMP_CHISQR

+
+public static final int CV_COMP_CHISQR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_COMP_CHISQR_ALT

+
+public static final int CV_COMP_CHISQR_ALT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_COMP_CORREL

+
+public static final int CV_COMP_CORREL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_COMP_HELLINGER

+
+public static final int CV_COMP_HELLINGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_COMP_INTERSECT

+
+public static final int CV_COMP_INTERSECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_COMP_KL_DIV

+
+public static final int CV_COMP_KL_DIV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CONTOURS_MATCH_I1

+
+public static final int CV_CONTOURS_MATCH_I1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CONTOURS_MATCH_I2

+
+public static final int CV_CONTOURS_MATCH_I2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CONTOURS_MATCH_I3

+
+public static final int CV_CONTOURS_MATCH_I3
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_COUNTER_CLOCKWISE

+
+public static final int CV_COUNTER_CLOCKWISE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_C

+
+public static final int CV_DIST_C
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_FAIR

+
+public static final int CV_DIST_FAIR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_HUBER

+
+public static final int CV_DIST_HUBER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_L1

+
+public static final int CV_DIST_L1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_L12

+
+public static final int CV_DIST_L12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_L2

+
+public static final int CV_DIST_L2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_LABEL_CCOMP

+
+public static final int CV_DIST_LABEL_CCOMP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_LABEL_PIXEL

+
+public static final int CV_DIST_LABEL_PIXEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_MASK_3

+
+public static final int CV_DIST_MASK_3
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_MASK_5

+
+public static final int CV_DIST_MASK_5
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_MASK_PRECISE

+
+public static final int CV_DIST_MASK_PRECISE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_USER

+
+public static final int CV_DIST_USER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_DIST_WELSCH

+
+public static final int CV_DIST_WELSCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_GAUSSIAN

+
+public static final int CV_GAUSSIAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_GAUSSIAN_5x5

+
+public static final int CV_GAUSSIAN_5x5
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_HOUGH_GRADIENT

+
+public static final int CV_HOUGH_GRADIENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_HOUGH_MULTI_SCALE

+
+public static final int CV_HOUGH_MULTI_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_HOUGH_PROBABILISTIC

+
+public static final int CV_HOUGH_PROBABILISTIC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_HOUGH_STANDARD

+
+public static final int CV_HOUGH_STANDARD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_LINK_RUNS

+
+public static final int CV_LINK_RUNS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_MAX_SOBEL_KSIZE

+
+public static final int CV_MAX_SOBEL_KSIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_MEDIAN

+
+public static final int CV_MEDIAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_mRGBA2RGBA

+
+public static final int CV_mRGBA2RGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_POLY_APPROX_DP

+
+public static final int CV_POLY_APPROX_DP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_RGBA2mRGBA

+
+public static final int CV_RGBA2mRGBA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_SCHARR

+
+public static final int CV_SCHARR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_SHAPE_CROSS

+
+public static final int CV_SHAPE_CROSS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_SHAPE_CUSTOM

+
+public static final int CV_SHAPE_CUSTOM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_SHAPE_ELLIPSE

+
+public static final int CV_SHAPE_ELLIPSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_SHAPE_RECT

+
+public static final int CV_SHAPE_RECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_WARP_FILL_OUTLIERS

+
+public static final int CV_WARP_FILL_OUTLIERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_WARP_INVERSE_MAP

+
+public static final int CV_WARP_INVERSE_MAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_C

+
+public static final int DIST_C
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_FAIR

+
+public static final int DIST_FAIR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_HUBER

+
+public static final int DIST_HUBER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_L1

+
+public static final int DIST_L1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_L12

+
+public static final int DIST_L12
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_L2

+
+public static final int DIST_L2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_LABEL_CCOMP

+
+public static final int DIST_LABEL_CCOMP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_LABEL_PIXEL

+
+public static final int DIST_LABEL_PIXEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_MASK_3

+
+public static final int DIST_MASK_3
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_MASK_5

+
+public static final int DIST_MASK_5
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_MASK_PRECISE

+
+public static final int DIST_MASK_PRECISE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_USER

+
+public static final int DIST_USER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DIST_WELSCH

+
+public static final int DIST_WELSCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FLOODFILL_FIXED_RANGE

+
+public static final int FLOODFILL_FIXED_RANGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+FLOODFILL_MASK_ONLY

+
+public static final int FLOODFILL_MASK_ONLY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GC_BGD

+
+public static final int GC_BGD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GC_EVAL

+
+public static final int GC_EVAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GC_FGD

+
+public static final int GC_FGD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GC_INIT_WITH_MASK

+
+public static final int GC_INIT_WITH_MASK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GC_INIT_WITH_RECT

+
+public static final int GC_INIT_WITH_RECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GC_PR_BGD

+
+public static final int GC_PR_BGD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GC_PR_FGD

+
+public static final int GC_PR_FGD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HISTCMP_BHATTACHARYYA

+
+public static final int HISTCMP_BHATTACHARYYA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HISTCMP_CHISQR

+
+public static final int HISTCMP_CHISQR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HISTCMP_CHISQR_ALT

+
+public static final int HISTCMP_CHISQR_ALT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HISTCMP_CORREL

+
+public static final int HISTCMP_CORREL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HISTCMP_HELLINGER

+
+public static final int HISTCMP_HELLINGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HISTCMP_INTERSECT

+
+public static final int HISTCMP_INTERSECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HISTCMP_KL_DIV

+
+public static final int HISTCMP_KL_DIV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HOUGH_GRADIENT

+
+public static final int HOUGH_GRADIENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HOUGH_MULTI_SCALE

+
+public static final int HOUGH_MULTI_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HOUGH_PROBABILISTIC

+
+public static final int HOUGH_PROBABILISTIC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+HOUGH_STANDARD

+
+public static final int HOUGH_STANDARD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_AREA

+
+public static final int INTER_AREA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_BITS

+
+public static final int INTER_BITS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_BITS2

+
+public static final int INTER_BITS2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_CUBIC

+
+public static final int INTER_CUBIC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_LANCZOS4

+
+public static final int INTER_LANCZOS4
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_LINEAR

+
+public static final int INTER_LINEAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_MAX

+
+public static final int INTER_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_NEAREST

+
+public static final int INTER_NEAREST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_TAB_SIZE

+
+public static final int INTER_TAB_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER_TAB_SIZE2

+
+public static final int INTER_TAB_SIZE2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTERSECT_FULL

+
+public static final int INTERSECT_FULL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTERSECT_NONE

+
+public static final int INTERSECT_NONE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTERSECT_PARTIAL

+
+public static final int INTERSECT_PARTIAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LINE_4

+
+public static final int LINE_4
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LINE_8

+
+public static final int LINE_8
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LINE_AA

+
+public static final int LINE_AA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LSD_REFINE_ADV

+
+public static final int LSD_REFINE_ADV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LSD_REFINE_NONE

+
+public static final int LSD_REFINE_NONE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LSD_REFINE_STD

+
+public static final int LSD_REFINE_STD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_BLACKHAT

+
+public static final int MORPH_BLACKHAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_CLOSE

+
+public static final int MORPH_CLOSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_CROSS

+
+public static final int MORPH_CROSS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_DILATE

+
+public static final int MORPH_DILATE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_ELLIPSE

+
+public static final int MORPH_ELLIPSE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_ERODE

+
+public static final int MORPH_ERODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_GRADIENT

+
+public static final int MORPH_GRADIENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_OPEN

+
+public static final int MORPH_OPEN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_RECT

+
+public static final int MORPH_RECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MORPH_TOPHAT

+
+public static final int MORPH_TOPHAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROJ_SPHERICAL_EQRECT

+
+public static final int PROJ_SPHERICAL_EQRECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PROJ_SPHERICAL_ORTHO

+
+public static final int PROJ_SPHERICAL_ORTHO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RETR_CCOMP

+
+public static final int RETR_CCOMP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RETR_EXTERNAL

+
+public static final int RETR_EXTERNAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RETR_FLOODFILL

+
+public static final int RETR_FLOODFILL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RETR_LIST

+
+public static final int RETR_LIST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RETR_TREE

+
+public static final int RETR_TREE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THRESH_BINARY

+
+public static final int THRESH_BINARY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THRESH_BINARY_INV

+
+public static final int THRESH_BINARY_INV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THRESH_MASK

+
+public static final int THRESH_MASK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THRESH_OTSU

+
+public static final int THRESH_OTSU
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THRESH_TOZERO

+
+public static final int THRESH_TOZERO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THRESH_TOZERO_INV

+
+public static final int THRESH_TOZERO_INV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THRESH_TRIANGLE

+
+public static final int THRESH_TRIANGLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+THRESH_TRUNC

+
+public static final int THRESH_TRUNC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TM_CCOEFF

+
+public static final int TM_CCOEFF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TM_CCOEFF_NORMED

+
+public static final int TM_CCOEFF_NORMED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TM_CCORR

+
+public static final int TM_CCORR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TM_CCORR_NORMED

+
+public static final int TM_CCORR_NORMED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TM_SQDIFF

+
+public static final int TM_SQDIFF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TM_SQDIFF_NORMED

+
+public static final int TM_SQDIFF_NORMED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WARP_FILL_OUTLIERS

+
+public static final int WARP_FILL_OUTLIERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+WARP_INVERSE_MAP

+
+public static final int WARP_INVERSE_MAP
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Imgproc

+
+public Imgproc()
+
+
+ + + + + + + + +
+Method Detail
+ +

+accumulate

+
+public static void accumulate(Mat src,
+                              Mat dst)
+
+
+
+
+
+
+ +

+accumulate

+
+public static void accumulate(Mat src,
+                              Mat dst,
+                              Mat mask)
+
+
+
+
+
+
+ +

+accumulateProduct

+
+public static void accumulateProduct(Mat src1,
+                                     Mat src2,
+                                     Mat dst)
+
+
+
+
+
+
+ +

+accumulateProduct

+
+public static void accumulateProduct(Mat src1,
+                                     Mat src2,
+                                     Mat dst,
+                                     Mat mask)
+
+
+
+
+
+
+ +

+accumulateSquare

+
+public static void accumulateSquare(Mat src,
+                                    Mat dst)
+
+
+
+
+
+
+ +

+accumulateSquare

+
+public static void accumulateSquare(Mat src,
+                                    Mat dst,
+                                    Mat mask)
+
+
+
+
+
+
+ +

+accumulateWeighted

+
+public static void accumulateWeighted(Mat src,
+                                      Mat dst,
+                                      double alpha)
+
+
+
+
+
+
+ +

+accumulateWeighted

+
+public static void accumulateWeighted(Mat src,
+                                      Mat dst,
+                                      double alpha,
+                                      Mat mask)
+
+
+
+
+
+
+ +

+adaptiveThreshold

+
+public static void adaptiveThreshold(Mat src,
+                                     Mat dst,
+                                     double maxValue,
+                                     int adaptiveMethod,
+                                     int thresholdType,
+                                     int blockSize,
+                                     double C)
+
+
+
+
+
+
+ +

+applyColorMap

+
+public static void applyColorMap(Mat src,
+                                 Mat dst,
+                                 int colormap)
+
+
+
+
+
+
+ +

+approxPolyDP

+
+public static void approxPolyDP(MatOfPoint2f curve,
+                                MatOfPoint2f approxCurve,
+                                double epsilon,
+                                boolean closed)
+
+
+
+
+
+
+ +

+arcLength

+
+public static double arcLength(MatOfPoint2f curve,
+                               boolean closed)
+
+
+
+
+
+
+ +

+arrowedLine

+
+public static void arrowedLine(Mat img,
+                               Point pt1,
+                               Point pt2,
+                               Scalar color)
+
+
+
+
+
+
+ +

+arrowedLine

+
+public static void arrowedLine(Mat img,
+                               Point pt1,
+                               Point pt2,
+                               Scalar color,
+                               int thickness,
+                               int line_type,
+                               int shift,
+                               double tipLength)
+
+
+
+
+
+
+ +

+bilateralFilter

+
+public static void bilateralFilter(Mat src,
+                                   Mat dst,
+                                   int d,
+                                   double sigmaColor,
+                                   double sigmaSpace)
+
+
+
+
+
+
+ +

+bilateralFilter

+
+public static void bilateralFilter(Mat src,
+                                   Mat dst,
+                                   int d,
+                                   double sigmaColor,
+                                   double sigmaSpace,
+                                   int borderType)
+
+
+
+
+
+
+ +

+blur

+
+public static void blur(Mat src,
+                        Mat dst,
+                        Size ksize)
+
+
+
+
+
+
+ +

+blur

+
+public static void blur(Mat src,
+                        Mat dst,
+                        Size ksize,
+                        Point anchor)
+
+
+
+
+
+
+ +

+blur

+
+public static void blur(Mat src,
+                        Mat dst,
+                        Size ksize,
+                        Point anchor,
+                        int borderType)
+
+
+
+
+
+
+ +

+boundingRect

+
+public static Rect boundingRect(MatOfPoint points)
+
+
+
+
+
+
+ +

+boxFilter

+
+public static void boxFilter(Mat src,
+                             Mat dst,
+                             int ddepth,
+                             Size ksize)
+
+
+
+
+
+
+ +

+boxFilter

+
+public static void boxFilter(Mat src,
+                             Mat dst,
+                             int ddepth,
+                             Size ksize,
+                             Point anchor,
+                             boolean normalize)
+
+
+
+
+
+
+ +

+boxFilter

+
+public static void boxFilter(Mat src,
+                             Mat dst,
+                             int ddepth,
+                             Size ksize,
+                             Point anchor,
+                             boolean normalize,
+                             int borderType)
+
+
+
+
+
+
+ +

+boxPoints

+
+public static void boxPoints(RotatedRect box,
+                             Mat points)
+
+
+
+
+
+
+ +

+calcBackProject

+
+public static void calcBackProject(java.util.List<Mat> images,
+                                   MatOfInt channels,
+                                   Mat hist,
+                                   Mat dst,
+                                   MatOfFloat ranges,
+                                   double scale)
+
+
+
+
+
+
+ +

+calcHist

+
+public static void calcHist(java.util.List<Mat> images,
+                            MatOfInt channels,
+                            Mat mask,
+                            Mat hist,
+                            MatOfInt histSize,
+                            MatOfFloat ranges)
+
+
+
+
+
+
+ +

+calcHist

+
+public static void calcHist(java.util.List<Mat> images,
+                            MatOfInt channels,
+                            Mat mask,
+                            Mat hist,
+                            MatOfInt histSize,
+                            MatOfFloat ranges,
+                            boolean accumulate)
+
+
+
+
+
+
+ +

+Canny

+
+public static void Canny(Mat image,
+                         Mat edges,
+                         double threshold1,
+                         double threshold2)
+
+
+
+
+
+
+ +

+Canny

+
+public static void Canny(Mat image,
+                         Mat edges,
+                         double threshold1,
+                         double threshold2,
+                         int apertureSize,
+                         boolean L2gradient)
+
+
+
+
+
+
+ +

+circle

+
+public static void circle(Mat img,
+                          Point center,
+                          int radius,
+                          Scalar color)
+
+
+
+
+
+
+ +

+circle

+
+public static void circle(Mat img,
+                          Point center,
+                          int radius,
+                          Scalar color,
+                          int thickness)
+
+
+
+
+
+
+ +

+circle

+
+public static void circle(Mat img,
+                          Point center,
+                          int radius,
+                          Scalar color,
+                          int thickness,
+                          int lineType,
+                          int shift)
+
+
+
+
+
+
+ +

+clipLine

+
+public static boolean clipLine(Rect imgRect,
+                               Point pt1,
+                               Point pt2)
+
+
+
+
+
+
+ +

+compareHist

+
+public static double compareHist(Mat H1,
+                                 Mat H2,
+                                 int method)
+
+
+
+
+
+
+ +

+connectedComponents

+
+public static int connectedComponents(Mat image,
+                                      Mat labels)
+
+
+
+
+
+
+ +

+connectedComponents

+
+public static int connectedComponents(Mat image,
+                                      Mat labels,
+                                      int connectivity,
+                                      int ltype)
+
+
+
+
+
+
+ +

+connectedComponentsWithStats

+
+public static int connectedComponentsWithStats(Mat image,
+                                               Mat labels,
+                                               Mat stats,
+                                               Mat centroids)
+
+
+
+
+
+
+ +

+connectedComponentsWithStats

+
+public static int connectedComponentsWithStats(Mat image,
+                                               Mat labels,
+                                               Mat stats,
+                                               Mat centroids,
+                                               int connectivity,
+                                               int ltype)
+
+
+
+
+
+
+ +

+contourArea

+
+public static double contourArea(Mat contour)
+
+
+
+
+
+
+ +

+contourArea

+
+public static double contourArea(Mat contour,
+                                 boolean oriented)
+
+
+
+
+
+
+ +

+convertMaps

+
+public static void convertMaps(Mat map1,
+                               Mat map2,
+                               Mat dstmap1,
+                               Mat dstmap2,
+                               int dstmap1type)
+
+
+
+
+
+
+ +

+convertMaps

+
+public static void convertMaps(Mat map1,
+                               Mat map2,
+                               Mat dstmap1,
+                               Mat dstmap2,
+                               int dstmap1type,
+                               boolean nninterpolation)
+
+
+
+
+
+
+ +

+convexHull

+
+public static void convexHull(MatOfPoint points,
+                              MatOfInt hull)
+
+
+
+
+
+
+ +

+convexHull

+
+public static void convexHull(MatOfPoint points,
+                              MatOfInt hull,
+                              boolean clockwise)
+
+
+
+
+
+
+ +

+convexityDefects

+
+public static void convexityDefects(MatOfPoint contour,
+                                    MatOfInt convexhull,
+                                    MatOfInt4 convexityDefects)
+
+
+
+
+
+
+ +

+cornerEigenValsAndVecs

+
+public static void cornerEigenValsAndVecs(Mat src,
+                                          Mat dst,
+                                          int blockSize,
+                                          int ksize)
+
+
+
+
+
+
+ +

+cornerEigenValsAndVecs

+
+public static void cornerEigenValsAndVecs(Mat src,
+                                          Mat dst,
+                                          int blockSize,
+                                          int ksize,
+                                          int borderType)
+
+
+
+
+
+
+ +

+cornerHarris

+
+public static void cornerHarris(Mat src,
+                                Mat dst,
+                                int blockSize,
+                                int ksize,
+                                double k)
+
+
+
+
+
+
+ +

+cornerHarris

+
+public static void cornerHarris(Mat src,
+                                Mat dst,
+                                int blockSize,
+                                int ksize,
+                                double k,
+                                int borderType)
+
+
+
+
+
+
+ +

+cornerMinEigenVal

+
+public static void cornerMinEigenVal(Mat src,
+                                     Mat dst,
+                                     int blockSize)
+
+
+
+
+
+
+ +

+cornerMinEigenVal

+
+public static void cornerMinEigenVal(Mat src,
+                                     Mat dst,
+                                     int blockSize,
+                                     int ksize)
+
+
+
+
+
+
+ +

+cornerMinEigenVal

+
+public static void cornerMinEigenVal(Mat src,
+                                     Mat dst,
+                                     int blockSize,
+                                     int ksize,
+                                     int borderType)
+
+
+
+
+
+
+ +

+cornerSubPix

+
+public static void cornerSubPix(Mat image,
+                                MatOfPoint2f corners,
+                                Size winSize,
+                                Size zeroZone,
+                                TermCriteria criteria)
+
+
+
+
+
+
+ +

+createCLAHE

+
+public static CLAHE createCLAHE()
+
+
+
+
+
+
+ +

+createCLAHE

+
+public static CLAHE createCLAHE(double clipLimit,
+                                Size tileGridSize)
+
+
+
+
+
+
+ +

+createHanningWindow

+
+public static void createHanningWindow(Mat dst,
+                                       Size winSize,
+                                       int type)
+
+
+
+
+
+
+ +

+createLineSegmentDetector

+
+public static LineSegmentDetector createLineSegmentDetector()
+
+
+
+
+
+
+ +

+createLineSegmentDetector

+
+public static LineSegmentDetector createLineSegmentDetector(int _refine,
+                                                            double _scale,
+                                                            double _sigma_scale,
+                                                            double _quant,
+                                                            double _ang_th,
+                                                            double _log_eps,
+                                                            double _density_th,
+                                                            int _n_bins)
+
+
+
+
+
+
+ +

+cvtColor

+
+public static void cvtColor(Mat src,
+                            Mat dst,
+                            int code)
+
+
+
+
+
+
+ +

+cvtColor

+
+public static void cvtColor(Mat src,
+                            Mat dst,
+                            int code,
+                            int dstCn)
+
+
+
+
+
+
+ +

+demosaicing

+
+public static void demosaicing(Mat _src,
+                               Mat _dst,
+                               int code)
+
+
+
+
+
+
+ +

+demosaicing

+
+public static void demosaicing(Mat _src,
+                               Mat _dst,
+                               int code,
+                               int dcn)
+
+
+
+
+
+
+ +

+dilate

+
+public static void dilate(Mat src,
+                          Mat dst,
+                          Mat kernel)
+
+
+
+
+
+
+ +

+dilate

+
+public static void dilate(Mat src,
+                          Mat dst,
+                          Mat kernel,
+                          Point anchor,
+                          int iterations)
+
+
+
+
+
+
+ +

+dilate

+
+public static void dilate(Mat src,
+                          Mat dst,
+                          Mat kernel,
+                          Point anchor,
+                          int iterations,
+                          int borderType,
+                          Scalar borderValue)
+
+
+
+
+
+
+ +

+distanceTransform

+
+public static void distanceTransform(Mat src,
+                                     Mat dst,
+                                     int distanceType,
+                                     int maskSize)
+
+
+
+
+
+
+ +

+distanceTransform

+
+public static void distanceTransform(Mat src,
+                                     Mat dst,
+                                     int distanceType,
+                                     int maskSize,
+                                     int dstType)
+
+
+
+
+
+
+ +

+distanceTransformWithLabels

+
+public static void distanceTransformWithLabels(Mat src,
+                                               Mat dst,
+                                               Mat labels,
+                                               int distanceType,
+                                               int maskSize)
+
+
+
+
+
+
+ +

+distanceTransformWithLabels

+
+public static void distanceTransformWithLabels(Mat src,
+                                               Mat dst,
+                                               Mat labels,
+                                               int distanceType,
+                                               int maskSize,
+                                               int labelType)
+
+
+
+
+
+
+ +

+drawContours

+
+public static void drawContours(Mat image,
+                                java.util.List<MatOfPoint> contours,
+                                int contourIdx,
+                                Scalar color)
+
+
+
+
+
+
+ +

+drawContours

+
+public static void drawContours(Mat image,
+                                java.util.List<MatOfPoint> contours,
+                                int contourIdx,
+                                Scalar color,
+                                int thickness)
+
+
+
+
+
+
+ +

+drawContours

+
+public static void drawContours(Mat image,
+                                java.util.List<MatOfPoint> contours,
+                                int contourIdx,
+                                Scalar color,
+                                int thickness,
+                                int lineType,
+                                Mat hierarchy,
+                                int maxLevel,
+                                Point offset)
+
+
+
+
+
+
+ +

+ellipse

+
+public static void ellipse(Mat img,
+                           Point center,
+                           Size axes,
+                           double angle,
+                           double startAngle,
+                           double endAngle,
+                           Scalar color)
+
+
+
+
+
+
+ +

+ellipse

+
+public static void ellipse(Mat img,
+                           Point center,
+                           Size axes,
+                           double angle,
+                           double startAngle,
+                           double endAngle,
+                           Scalar color,
+                           int thickness)
+
+
+
+
+
+
+ +

+ellipse

+
+public static void ellipse(Mat img,
+                           Point center,
+                           Size axes,
+                           double angle,
+                           double startAngle,
+                           double endAngle,
+                           Scalar color,
+                           int thickness,
+                           int lineType,
+                           int shift)
+
+
+
+
+
+
+ +

+ellipse

+
+public static void ellipse(Mat img,
+                           RotatedRect box,
+                           Scalar color)
+
+
+
+
+
+
+ +

+ellipse

+
+public static void ellipse(Mat img,
+                           RotatedRect box,
+                           Scalar color,
+                           int thickness)
+
+
+
+
+
+
+ +

+ellipse

+
+public static void ellipse(Mat img,
+                           RotatedRect box,
+                           Scalar color,
+                           int thickness,
+                           int lineType)
+
+
+
+
+
+
+ +

+ellipse2Poly

+
+public static void ellipse2Poly(Point center,
+                                Size axes,
+                                int angle,
+                                int arcStart,
+                                int arcEnd,
+                                int delta,
+                                MatOfPoint pts)
+
+
+
+
+
+
+ +

+equalizeHist

+
+public static void equalizeHist(Mat src,
+                                Mat dst)
+
+
+
+
+
+
+ +

+erode

+
+public static void erode(Mat src,
+                         Mat dst,
+                         Mat kernel)
+
+
+
+
+
+
+ +

+erode

+
+public static void erode(Mat src,
+                         Mat dst,
+                         Mat kernel,
+                         Point anchor,
+                         int iterations)
+
+
+
+
+
+
+ +

+erode

+
+public static void erode(Mat src,
+                         Mat dst,
+                         Mat kernel,
+                         Point anchor,
+                         int iterations,
+                         int borderType,
+                         Scalar borderValue)
+
+
+
+
+
+
+ +

+fillConvexPoly

+
+public static void fillConvexPoly(Mat img,
+                                  MatOfPoint points,
+                                  Scalar color)
+
+
+
+
+
+
+ +

+fillConvexPoly

+
+public static void fillConvexPoly(Mat img,
+                                  MatOfPoint points,
+                                  Scalar color,
+                                  int lineType,
+                                  int shift)
+
+
+
+
+
+
+ +

+fillPoly

+
+public static void fillPoly(Mat img,
+                            java.util.List<MatOfPoint> pts,
+                            Scalar color)
+
+
+
+
+
+
+ +

+fillPoly

+
+public static void fillPoly(Mat img,
+                            java.util.List<MatOfPoint> pts,
+                            Scalar color,
+                            int lineType,
+                            int shift,
+                            Point offset)
+
+
+
+
+
+
+ +

+filter2D

+
+public static void filter2D(Mat src,
+                            Mat dst,
+                            int ddepth,
+                            Mat kernel)
+
+
+
+
+
+
+ +

+filter2D

+
+public static void filter2D(Mat src,
+                            Mat dst,
+                            int ddepth,
+                            Mat kernel,
+                            Point anchor,
+                            double delta)
+
+
+
+
+
+
+ +

+filter2D

+
+public static void filter2D(Mat src,
+                            Mat dst,
+                            int ddepth,
+                            Mat kernel,
+                            Point anchor,
+                            double delta,
+                            int borderType)
+
+
+
+
+
+
+ +

+findContours

+
+public static void findContours(Mat image,
+                                java.util.List<MatOfPoint> contours,
+                                Mat hierarchy,
+                                int mode,
+                                int method)
+
+
+
+
+
+
+ +

+findContours

+
+public static void findContours(Mat image,
+                                java.util.List<MatOfPoint> contours,
+                                Mat hierarchy,
+                                int mode,
+                                int method,
+                                Point offset)
+
+
+
+
+
+
+ +

+fitEllipse

+
+public static RotatedRect fitEllipse(MatOfPoint2f points)
+
+
+
+
+
+
+ +

+fitLine

+
+public static void fitLine(Mat points,
+                           Mat line,
+                           int distType,
+                           double param,
+                           double reps,
+                           double aeps)
+
+
+
+
+
+
+ +

+floodFill

+
+public static int floodFill(Mat image,
+                            Mat mask,
+                            Point seedPoint,
+                            Scalar newVal)
+
+
+
+
+
+
+ +

+floodFill

+
+public static int floodFill(Mat image,
+                            Mat mask,
+                            Point seedPoint,
+                            Scalar newVal,
+                            Rect rect,
+                            Scalar loDiff,
+                            Scalar upDiff,
+                            int flags)
+
+
+
+
+
+
+ +

+GaussianBlur

+
+public static void GaussianBlur(Mat src,
+                                Mat dst,
+                                Size ksize,
+                                double sigmaX)
+
+
+
+
+
+
+ +

+GaussianBlur

+
+public static void GaussianBlur(Mat src,
+                                Mat dst,
+                                Size ksize,
+                                double sigmaX,
+                                double sigmaY)
+
+
+
+
+
+
+ +

+GaussianBlur

+
+public static void GaussianBlur(Mat src,
+                                Mat dst,
+                                Size ksize,
+                                double sigmaX,
+                                double sigmaY,
+                                int borderType)
+
+
+
+
+
+
+ +

+getAffineTransform

+
+public static Mat getAffineTransform(MatOfPoint2f src,
+                                     MatOfPoint2f dst)
+
+
+
+
+
+
+ +

+getDefaultNewCameraMatrix

+
+public static Mat getDefaultNewCameraMatrix(Mat cameraMatrix)
+
+
+
+
+
+
+ +

+getDefaultNewCameraMatrix

+
+public static Mat getDefaultNewCameraMatrix(Mat cameraMatrix,
+                                            Size imgsize,
+                                            boolean centerPrincipalPoint)
+
+
+
+
+
+
+ +

+getDerivKernels

+
+public static void getDerivKernels(Mat kx,
+                                   Mat ky,
+                                   int dx,
+                                   int dy,
+                                   int ksize)
+
+
+
+
+
+
+ +

+getDerivKernels

+
+public static void getDerivKernels(Mat kx,
+                                   Mat ky,
+                                   int dx,
+                                   int dy,
+                                   int ksize,
+                                   boolean normalize,
+                                   int ktype)
+
+
+
+
+
+
+ +

+getGaborKernel

+
+public static Mat getGaborKernel(Size ksize,
+                                 double sigma,
+                                 double theta,
+                                 double lambd,
+                                 double gamma)
+
+
+
+
+
+
+ +

+getGaborKernel

+
+public static Mat getGaborKernel(Size ksize,
+                                 double sigma,
+                                 double theta,
+                                 double lambd,
+                                 double gamma,
+                                 double psi,
+                                 int ktype)
+
+
+
+
+
+
+ +

+getGaussianKernel

+
+public static Mat getGaussianKernel(int ksize,
+                                    double sigma)
+
+
+
+
+
+
+ +

+getGaussianKernel

+
+public static Mat getGaussianKernel(int ksize,
+                                    double sigma,
+                                    int ktype)
+
+
+
+
+
+
+ +

+getPerspectiveTransform

+
+public static Mat getPerspectiveTransform(Mat src,
+                                          Mat dst)
+
+
+
+
+
+
+ +

+getRectSubPix

+
+public static void getRectSubPix(Mat image,
+                                 Size patchSize,
+                                 Point center,
+                                 Mat patch)
+
+
+
+
+
+
+ +

+getRectSubPix

+
+public static void getRectSubPix(Mat image,
+                                 Size patchSize,
+                                 Point center,
+                                 Mat patch,
+                                 int patchType)
+
+
+
+
+
+
+ +

+getRotationMatrix2D

+
+public static Mat getRotationMatrix2D(Point center,
+                                      double angle,
+                                      double scale)
+
+
+
+
+
+
+ +

+getStructuringElement

+
+public static Mat getStructuringElement(int shape,
+                                        Size ksize)
+
+
+
+
+
+
+ +

+getStructuringElement

+
+public static Mat getStructuringElement(int shape,
+                                        Size ksize,
+                                        Point anchor)
+
+
+
+
+
+
+ +

+getTextSize

+
+public static Size getTextSize(java.lang.String text,
+                               int fontFace,
+                               double fontScale,
+                               int thickness,
+                               int[] baseLine)
+
+
+
+
+
+
+ +

+goodFeaturesToTrack

+
+public static void goodFeaturesToTrack(Mat image,
+                                       MatOfPoint corners,
+                                       int maxCorners,
+                                       double qualityLevel,
+                                       double minDistance)
+
+
+
+
+
+
+ +

+goodFeaturesToTrack

+
+public static void goodFeaturesToTrack(Mat image,
+                                       MatOfPoint corners,
+                                       int maxCorners,
+                                       double qualityLevel,
+                                       double minDistance,
+                                       Mat mask,
+                                       int blockSize,
+                                       boolean useHarrisDetector,
+                                       double k)
+
+
+
+
+
+
+ +

+grabCut

+
+public static void grabCut(Mat img,
+                           Mat mask,
+                           Rect rect,
+                           Mat bgdModel,
+                           Mat fgdModel,
+                           int iterCount)
+
+
+
+
+
+
+ +

+grabCut

+
+public static void grabCut(Mat img,
+                           Mat mask,
+                           Rect rect,
+                           Mat bgdModel,
+                           Mat fgdModel,
+                           int iterCount,
+                           int mode)
+
+
+
+
+
+
+ +

+HoughCircles

+
+public static void HoughCircles(Mat image,
+                                Mat circles,
+                                int method,
+                                double dp,
+                                double minDist)
+
+
+
+
+
+
+ +

+HoughCircles

+
+public static void HoughCircles(Mat image,
+                                Mat circles,
+                                int method,
+                                double dp,
+                                double minDist,
+                                double param1,
+                                double param2,
+                                int minRadius,
+                                int maxRadius)
+
+
+
+
+
+
+ +

+HoughLines

+
+public static void HoughLines(Mat image,
+                              Mat lines,
+                              double rho,
+                              double theta,
+                              int threshold)
+
+
+
+
+
+
+ +

+HoughLines

+
+public static void HoughLines(Mat image,
+                              Mat lines,
+                              double rho,
+                              double theta,
+                              int threshold,
+                              double srn,
+                              double stn,
+                              double min_theta,
+                              double max_theta)
+
+
+
+
+
+
+ +

+HoughLinesP

+
+public static void HoughLinesP(Mat image,
+                               Mat lines,
+                               double rho,
+                               double theta,
+                               int threshold)
+
+
+
+
+
+
+ +

+HoughLinesP

+
+public static void HoughLinesP(Mat image,
+                               Mat lines,
+                               double rho,
+                               double theta,
+                               int threshold,
+                               double minLineLength,
+                               double maxLineGap)
+
+
+
+
+
+
+ +

+initUndistortRectifyMap

+
+public static void initUndistortRectifyMap(Mat cameraMatrix,
+                                           Mat distCoeffs,
+                                           Mat R,
+                                           Mat newCameraMatrix,
+                                           Size size,
+                                           int m1type,
+                                           Mat map1,
+                                           Mat map2)
+
+
+
+
+
+
+ +

+initWideAngleProjMap

+
+public static float initWideAngleProjMap(Mat cameraMatrix,
+                                         Mat distCoeffs,
+                                         Size imageSize,
+                                         int destImageWidth,
+                                         int m1type,
+                                         Mat map1,
+                                         Mat map2)
+
+
+
+
+
+
+ +

+initWideAngleProjMap

+
+public static float initWideAngleProjMap(Mat cameraMatrix,
+                                         Mat distCoeffs,
+                                         Size imageSize,
+                                         int destImageWidth,
+                                         int m1type,
+                                         Mat map1,
+                                         Mat map2,
+                                         int projType,
+                                         double alpha)
+
+
+
+
+
+
+ +

+integral

+
+public static void integral(Mat src,
+                            Mat sum)
+
+
+
+
+
+
+ +

+integral

+
+public static void integral(Mat src,
+                            Mat sum,
+                            int sdepth)
+
+
+
+
+
+
+ +

+integral2

+
+public static void integral2(Mat src,
+                             Mat sum,
+                             Mat sqsum)
+
+
+
+
+
+
+ +

+integral2

+
+public static void integral2(Mat src,
+                             Mat sum,
+                             Mat sqsum,
+                             int sdepth,
+                             int sqdepth)
+
+
+
+
+
+
+ +

+integral3

+
+public static void integral3(Mat src,
+                             Mat sum,
+                             Mat sqsum,
+                             Mat tilted)
+
+
+
+
+
+
+ +

+integral3

+
+public static void integral3(Mat src,
+                             Mat sum,
+                             Mat sqsum,
+                             Mat tilted,
+                             int sdepth,
+                             int sqdepth)
+
+
+
+
+
+
+ +

+intersectConvexConvex

+
+public static float intersectConvexConvex(Mat _p1,
+                                          Mat _p2,
+                                          Mat _p12)
+
+
+
+
+
+
+ +

+intersectConvexConvex

+
+public static float intersectConvexConvex(Mat _p1,
+                                          Mat _p2,
+                                          Mat _p12,
+                                          boolean handleNested)
+
+
+
+
+
+
+ +

+invertAffineTransform

+
+public static void invertAffineTransform(Mat M,
+                                         Mat iM)
+
+
+
+
+
+
+ +

+isContourConvex

+
+public static boolean isContourConvex(MatOfPoint contour)
+
+
+
+
+
+
+ +

+Laplacian

+
+public static void Laplacian(Mat src,
+                             Mat dst,
+                             int ddepth)
+
+
+
+
+
+
+ +

+Laplacian

+
+public static void Laplacian(Mat src,
+                             Mat dst,
+                             int ddepth,
+                             int ksize,
+                             double scale,
+                             double delta)
+
+
+
+
+
+
+ +

+Laplacian

+
+public static void Laplacian(Mat src,
+                             Mat dst,
+                             int ddepth,
+                             int ksize,
+                             double scale,
+                             double delta,
+                             int borderType)
+
+
+
+
+
+
+ +

+line

+
+public static void line(Mat img,
+                        Point pt1,
+                        Point pt2,
+                        Scalar color)
+
+
+
+
+
+
+ +

+line

+
+public static void line(Mat img,
+                        Point pt1,
+                        Point pt2,
+                        Scalar color,
+                        int thickness)
+
+
+
+
+
+
+ +

+line

+
+public static void line(Mat img,
+                        Point pt1,
+                        Point pt2,
+                        Scalar color,
+                        int thickness,
+                        int lineType,
+                        int shift)
+
+
+
+
+
+
+ +

+linearPolar

+
+public static void linearPolar(Mat src,
+                               Mat dst,
+                               Point center,
+                               double maxRadius,
+                               int flags)
+
+
+
+
+
+
+ +

+logPolar

+
+public static void logPolar(Mat src,
+                            Mat dst,
+                            Point center,
+                            double M,
+                            int flags)
+
+
+
+
+
+
+ +

+matchShapes

+
+public static double matchShapes(Mat contour1,
+                                 Mat contour2,
+                                 int method,
+                                 double parameter)
+
+
+
+
+
+
+ +

+matchTemplate

+
+public static void matchTemplate(Mat image,
+                                 Mat templ,
+                                 Mat result,
+                                 int method)
+
+
+
+
+
+
+ +

+matchTemplate

+
+public static void matchTemplate(Mat image,
+                                 Mat templ,
+                                 Mat result,
+                                 int method,
+                                 Mat mask)
+
+
+
+
+
+
+ +

+medianBlur

+
+public static void medianBlur(Mat src,
+                              Mat dst,
+                              int ksize)
+
+
+
+
+
+
+ +

+minAreaRect

+
+public static RotatedRect minAreaRect(MatOfPoint2f points)
+
+
+
+
+
+
+ +

+minEnclosingCircle

+
+public static void minEnclosingCircle(MatOfPoint2f points,
+                                      Point center,
+                                      float[] radius)
+
+
+
+
+
+
+ +

+minEnclosingTriangle

+
+public static double minEnclosingTriangle(Mat points,
+                                          Mat triangle)
+
+
+
+
+
+
+ +

+morphologyEx

+
+public static void morphologyEx(Mat src,
+                                Mat dst,
+                                int op,
+                                Mat kernel)
+
+
+
+
+
+
+ +

+morphologyEx

+
+public static void morphologyEx(Mat src,
+                                Mat dst,
+                                int op,
+                                Mat kernel,
+                                Point anchor,
+                                int iterations)
+
+
+
+
+
+
+ +

+morphologyEx

+
+public static void morphologyEx(Mat src,
+                                Mat dst,
+                                int op,
+                                Mat kernel,
+                                Point anchor,
+                                int iterations,
+                                int borderType,
+                                Scalar borderValue)
+
+
+
+
+
+
+ +

+phaseCorrelate

+
+public static Point phaseCorrelate(Mat src1,
+                                   Mat src2)
+
+
+
+
+
+
+ +

+phaseCorrelate

+
+public static Point phaseCorrelate(Mat src1,
+                                   Mat src2,
+                                   Mat window,
+                                   double[] response)
+
+
+
+
+
+
+ +

+pointPolygonTest

+
+public static double pointPolygonTest(MatOfPoint2f contour,
+                                      Point pt,
+                                      boolean measureDist)
+
+
+
+
+
+
+ +

+polylines

+
+public static void polylines(Mat img,
+                             java.util.List<MatOfPoint> pts,
+                             boolean isClosed,
+                             Scalar color)
+
+
+
+
+
+
+ +

+polylines

+
+public static void polylines(Mat img,
+                             java.util.List<MatOfPoint> pts,
+                             boolean isClosed,
+                             Scalar color,
+                             int thickness)
+
+
+
+
+
+
+ +

+polylines

+
+public static void polylines(Mat img,
+                             java.util.List<MatOfPoint> pts,
+                             boolean isClosed,
+                             Scalar color,
+                             int thickness,
+                             int lineType,
+                             int shift)
+
+
+
+
+
+
+ +

+preCornerDetect

+
+public static void preCornerDetect(Mat src,
+                                   Mat dst,
+                                   int ksize)
+
+
+
+
+
+
+ +

+preCornerDetect

+
+public static void preCornerDetect(Mat src,
+                                   Mat dst,
+                                   int ksize,
+                                   int borderType)
+
+
+
+
+
+
+ +

+putText

+
+public static void putText(Mat img,
+                           java.lang.String text,
+                           Point org,
+                           int fontFace,
+                           double fontScale,
+                           Scalar color)
+
+
+
+
+
+
+ +

+putText

+
+public static void putText(Mat img,
+                           java.lang.String text,
+                           Point org,
+                           int fontFace,
+                           double fontScale,
+                           Scalar color,
+                           int thickness)
+
+
+
+
+
+
+ +

+putText

+
+public static void putText(Mat img,
+                           java.lang.String text,
+                           Point org,
+                           int fontFace,
+                           double fontScale,
+                           Scalar color,
+                           int thickness,
+                           int lineType,
+                           boolean bottomLeftOrigin)
+
+
+
+
+
+
+ +

+pyrDown

+
+public static void pyrDown(Mat src,
+                           Mat dst)
+
+
+
+
+
+
+ +

+pyrDown

+
+public static void pyrDown(Mat src,
+                           Mat dst,
+                           Size dstsize)
+
+
+
+
+
+
+ +

+pyrDown

+
+public static void pyrDown(Mat src,
+                           Mat dst,
+                           Size dstsize,
+                           int borderType)
+
+
+
+
+
+
+ +

+pyrMeanShiftFiltering

+
+public static void pyrMeanShiftFiltering(Mat src,
+                                         Mat dst,
+                                         double sp,
+                                         double sr)
+
+
+
+
+
+
+ +

+pyrMeanShiftFiltering

+
+public static void pyrMeanShiftFiltering(Mat src,
+                                         Mat dst,
+                                         double sp,
+                                         double sr,
+                                         int maxLevel,
+                                         TermCriteria termcrit)
+
+
+
+
+
+
+ +

+pyrUp

+
+public static void pyrUp(Mat src,
+                         Mat dst)
+
+
+
+
+
+
+ +

+pyrUp

+
+public static void pyrUp(Mat src,
+                         Mat dst,
+                         Size dstsize)
+
+
+
+
+
+
+ +

+pyrUp

+
+public static void pyrUp(Mat src,
+                         Mat dst,
+                         Size dstsize,
+                         int borderType)
+
+
+
+
+
+
+ +

+rectangle

+
+public static void rectangle(Mat img,
+                             Point pt1,
+                             Point pt2,
+                             Scalar color)
+
+
+
+
+
+
+ +

+rectangle

+
+public static void rectangle(Mat img,
+                             Point pt1,
+                             Point pt2,
+                             Scalar color,
+                             int thickness)
+
+
+
+
+
+
+ +

+rectangle

+
+public static void rectangle(Mat img,
+                             Point pt1,
+                             Point pt2,
+                             Scalar color,
+                             int thickness,
+                             int lineType,
+                             int shift)
+
+
+
+
+
+
+ +

+remap

+
+public static void remap(Mat src,
+                         Mat dst,
+                         Mat map1,
+                         Mat map2,
+                         int interpolation)
+
+
+
+
+
+
+ +

+remap

+
+public static void remap(Mat src,
+                         Mat dst,
+                         Mat map1,
+                         Mat map2,
+                         int interpolation,
+                         int borderMode,
+                         Scalar borderValue)
+
+
+
+
+
+
+ +

+resize

+
+public static void resize(Mat src,
+                          Mat dst,
+                          Size dsize)
+
+
+
+
+
+
+ +

+resize

+
+public static void resize(Mat src,
+                          Mat dst,
+                          Size dsize,
+                          double fx,
+                          double fy,
+                          int interpolation)
+
+
+
+
+
+
+ +

+rotatedRectangleIntersection

+
+public static int rotatedRectangleIntersection(RotatedRect rect1,
+                                               RotatedRect rect2,
+                                               Mat intersectingRegion)
+
+
+
+
+
+
+ +

+Scharr

+
+public static void Scharr(Mat src,
+                          Mat dst,
+                          int ddepth,
+                          int dx,
+                          int dy)
+
+
+
+
+
+
+ +

+Scharr

+
+public static void Scharr(Mat src,
+                          Mat dst,
+                          int ddepth,
+                          int dx,
+                          int dy,
+                          double scale,
+                          double delta)
+
+
+
+
+
+
+ +

+Scharr

+
+public static void Scharr(Mat src,
+                          Mat dst,
+                          int ddepth,
+                          int dx,
+                          int dy,
+                          double scale,
+                          double delta,
+                          int borderType)
+
+
+
+
+
+
+ +

+sepFilter2D

+
+public static void sepFilter2D(Mat src,
+                               Mat dst,
+                               int ddepth,
+                               Mat kernelX,
+                               Mat kernelY)
+
+
+
+
+
+
+ +

+sepFilter2D

+
+public static void sepFilter2D(Mat src,
+                               Mat dst,
+                               int ddepth,
+                               Mat kernelX,
+                               Mat kernelY,
+                               Point anchor,
+                               double delta)
+
+
+
+
+
+
+ +

+sepFilter2D

+
+public static void sepFilter2D(Mat src,
+                               Mat dst,
+                               int ddepth,
+                               Mat kernelX,
+                               Mat kernelY,
+                               Point anchor,
+                               double delta,
+                               int borderType)
+
+
+
+
+
+
+ +

+Sobel

+
+public static void Sobel(Mat src,
+                         Mat dst,
+                         int ddepth,
+                         int dx,
+                         int dy)
+
+
+
+
+
+
+ +

+Sobel

+
+public static void Sobel(Mat src,
+                         Mat dst,
+                         int ddepth,
+                         int dx,
+                         int dy,
+                         int ksize,
+                         double scale,
+                         double delta)
+
+
+
+
+
+
+ +

+Sobel

+
+public static void Sobel(Mat src,
+                         Mat dst,
+                         int ddepth,
+                         int dx,
+                         int dy,
+                         int ksize,
+                         double scale,
+                         double delta,
+                         int borderType)
+
+
+
+
+
+
+ +

+sqrBoxFilter

+
+public static void sqrBoxFilter(Mat _src,
+                                Mat _dst,
+                                int ddepth,
+                                Size ksize)
+
+
+
+
+
+
+ +

+sqrBoxFilter

+
+public static void sqrBoxFilter(Mat _src,
+                                Mat _dst,
+                                int ddepth,
+                                Size ksize,
+                                Point anchor,
+                                boolean normalize)
+
+
+
+
+
+
+ +

+sqrBoxFilter

+
+public static void sqrBoxFilter(Mat _src,
+                                Mat _dst,
+                                int ddepth,
+                                Size ksize,
+                                Point anchor,
+                                boolean normalize,
+                                int borderType)
+
+
+
+
+
+
+ +

+threshold

+
+public static double threshold(Mat src,
+                               Mat dst,
+                               double thresh,
+                               double maxval,
+                               int type)
+
+
+
+
+
+
+ +

+undistort

+
+public static void undistort(Mat src,
+                             Mat dst,
+                             Mat cameraMatrix,
+                             Mat distCoeffs)
+
+
+
+
+
+
+ +

+undistort

+
+public static void undistort(Mat src,
+                             Mat dst,
+                             Mat cameraMatrix,
+                             Mat distCoeffs,
+                             Mat newCameraMatrix)
+
+
+
+
+
+
+ +

+undistortPoints

+
+public static void undistortPoints(MatOfPoint2f src,
+                                   MatOfPoint2f dst,
+                                   Mat cameraMatrix,
+                                   Mat distCoeffs)
+
+
+
+
+
+
+ +

+undistortPoints

+
+public static void undistortPoints(MatOfPoint2f src,
+                                   MatOfPoint2f dst,
+                                   Mat cameraMatrix,
+                                   Mat distCoeffs,
+                                   Mat R,
+                                   Mat P)
+
+
+
+
+
+
+ +

+warpAffine

+
+public static void warpAffine(Mat src,
+                              Mat dst,
+                              Mat M,
+                              Size dsize)
+
+
+
+
+
+
+ +

+warpAffine

+
+public static void warpAffine(Mat src,
+                              Mat dst,
+                              Mat M,
+                              Size dsize,
+                              int flags)
+
+
+
+
+
+
+ +

+warpAffine

+
+public static void warpAffine(Mat src,
+                              Mat dst,
+                              Mat M,
+                              Size dsize,
+                              int flags,
+                              int borderMode,
+                              Scalar borderValue)
+
+
+
+
+
+
+ +

+warpPerspective

+
+public static void warpPerspective(Mat src,
+                                   Mat dst,
+                                   Mat M,
+                                   Size dsize)
+
+
+
+
+
+
+ +

+warpPerspective

+
+public static void warpPerspective(Mat src,
+                                   Mat dst,
+                                   Mat M,
+                                   Size dsize,
+                                   int flags)
+
+
+
+
+
+
+ +

+warpPerspective

+
+public static void warpPerspective(Mat src,
+                                   Mat dst,
+                                   Mat M,
+                                   Size dsize,
+                                   int flags,
+                                   int borderMode,
+                                   Scalar borderValue)
+
+
+
+
+
+
+ +

+watershed

+
+public static void watershed(Mat image,
+                             Mat markers)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/imgproc/LineSegmentDetector.html b/opencv3/javadoc/org/opencv/imgproc/LineSegmentDetector.html new file mode 100644 index 0000000..86e4587 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgproc/LineSegmentDetector.html @@ -0,0 +1,323 @@ + + + + + + +LineSegmentDetector + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.imgproc +
+Class LineSegmentDetector

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.imgproc.LineSegmentDetector
+
+
+
+
public class LineSegmentDetector
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intcompareSegments(Size size, + Mat lines1, + Mat lines2) + +
+           
+ intcompareSegments(Size size, + Mat lines1, + Mat lines2, + Mat _image) + +
+           
+ voiddetect(Mat _image, + Mat _lines) + +
+           
+ voiddetect(Mat _image, + Mat _lines, + Mat width, + Mat prec, + Mat nfa) + +
+           
+ voiddrawSegments(Mat _image, + Mat lines) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+compareSegments

+
+public int compareSegments(Size size,
+                           Mat lines1,
+                           Mat lines2)
+
+
+
+
+
+
+ +

+compareSegments

+
+public int compareSegments(Size size,
+                           Mat lines1,
+                           Mat lines2,
+                           Mat _image)
+
+
+
+
+
+
+ +

+detect

+
+public void detect(Mat _image,
+                   Mat _lines)
+
+
+
+
+
+
+ +

+detect

+
+public void detect(Mat _image,
+                   Mat _lines,
+                   Mat width,
+                   Mat prec,
+                   Mat nfa)
+
+
+
+
+
+
+ +

+drawSegments

+
+public void drawSegments(Mat _image,
+                         Mat lines)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/imgproc/Subdiv2D.html b/opencv3/javadoc/org/opencv/imgproc/Subdiv2D.html new file mode 100644 index 0000000..40e3980 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgproc/Subdiv2D.html @@ -0,0 +1,876 @@ + + + + + + +Subdiv2D + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.imgproc +
+Class Subdiv2D

+
+java.lang.Object
+  extended by org.opencv.imgproc.Subdiv2D
+
+
+
+
public class Subdiv2D
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intNEXT_AROUND_DST + +
+           
+static intNEXT_AROUND_LEFT + +
+           
+static intNEXT_AROUND_ORG + +
+           
+static intNEXT_AROUND_RIGHT + +
+           
+static intPREV_AROUND_DST + +
+           
+static intPREV_AROUND_LEFT + +
+           
+static intPREV_AROUND_ORG + +
+           
+static intPREV_AROUND_RIGHT + +
+           
+static intPTLOC_ERROR + +
+           
+static intPTLOC_INSIDE + +
+           
+static intPTLOC_ON_EDGE + +
+           
+static intPTLOC_OUTSIDE_RECT + +
+           
+static intPTLOC_VERTEX + +
+           
+  + + + + + + + + + + + + + +
+Constructor Summary
Subdiv2D() + +
+           
Subdiv2D(Rect rect) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intedgeDst(int edge) + +
+           
+ intedgeDst(int edge, + Point dstpt) + +
+           
+ intedgeOrg(int edge) + +
+           
+ intedgeOrg(int edge, + Point orgpt) + +
+           
+ intfindNearest(Point pt) + +
+           
+ intfindNearest(Point pt, + Point nearestPt) + +
+           
+ intgetEdge(int edge, + int nextEdgeType) + +
+           
+ voidgetEdgeList(MatOfFloat4 edgeList) + +
+           
+ voidgetTriangleList(MatOfFloat6 triangleList) + +
+           
+ PointgetVertex(int vertex) + +
+           
+ PointgetVertex(int vertex, + int[] firstEdge) + +
+           
+ voidgetVoronoiFacetList(MatOfInt idx, + java.util.List<MatOfPoint2f> facetList, + MatOfPoint2f facetCenters) + +
+           
+ voidinitDelaunay(Rect rect) + +
+           
+ voidinsert(MatOfPoint2f ptvec) + +
+           
+ intinsert(Point pt) + +
+           
+ intlocate(Point pt, + int[] edge, + int[] vertex) + +
+           
+ intnextEdge(int edge) + +
+           
+ introtateEdge(int edge, + int rotate) + +
+           
+ intsymEdge(int edge) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+NEXT_AROUND_DST

+
+public static final int NEXT_AROUND_DST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NEXT_AROUND_LEFT

+
+public static final int NEXT_AROUND_LEFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NEXT_AROUND_ORG

+
+public static final int NEXT_AROUND_ORG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NEXT_AROUND_RIGHT

+
+public static final int NEXT_AROUND_RIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PREV_AROUND_DST

+
+public static final int PREV_AROUND_DST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PREV_AROUND_LEFT

+
+public static final int PREV_AROUND_LEFT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PREV_AROUND_ORG

+
+public static final int PREV_AROUND_ORG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PREV_AROUND_RIGHT

+
+public static final int PREV_AROUND_RIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PTLOC_ERROR

+
+public static final int PTLOC_ERROR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PTLOC_INSIDE

+
+public static final int PTLOC_INSIDE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PTLOC_ON_EDGE

+
+public static final int PTLOC_ON_EDGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PTLOC_OUTSIDE_RECT

+
+public static final int PTLOC_OUTSIDE_RECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PTLOC_VERTEX

+
+public static final int PTLOC_VERTEX
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Subdiv2D

+
+public Subdiv2D()
+
+
+
+ +

+Subdiv2D

+
+public Subdiv2D(Rect rect)
+
+
+ + + + + + + + +
+Method Detail
+ +

+edgeDst

+
+public int edgeDst(int edge)
+
+
+
+
+
+
+ +

+edgeDst

+
+public int edgeDst(int edge,
+                   Point dstpt)
+
+
+
+
+
+
+ +

+edgeOrg

+
+public int edgeOrg(int edge)
+
+
+
+
+
+
+ +

+edgeOrg

+
+public int edgeOrg(int edge,
+                   Point orgpt)
+
+
+
+
+
+
+ +

+findNearest

+
+public int findNearest(Point pt)
+
+
+
+
+
+
+ +

+findNearest

+
+public int findNearest(Point pt,
+                       Point nearestPt)
+
+
+
+
+
+
+ +

+getEdge

+
+public int getEdge(int edge,
+                   int nextEdgeType)
+
+
+
+
+
+
+ +

+getEdgeList

+
+public void getEdgeList(MatOfFloat4 edgeList)
+
+
+
+
+
+
+ +

+getTriangleList

+
+public void getTriangleList(MatOfFloat6 triangleList)
+
+
+
+
+
+
+ +

+getVertex

+
+public Point getVertex(int vertex)
+
+
+
+
+
+
+ +

+getVertex

+
+public Point getVertex(int vertex,
+                       int[] firstEdge)
+
+
+
+
+
+
+ +

+getVoronoiFacetList

+
+public void getVoronoiFacetList(MatOfInt idx,
+                                java.util.List<MatOfPoint2f> facetList,
+                                MatOfPoint2f facetCenters)
+
+
+
+
+
+
+ +

+initDelaunay

+
+public void initDelaunay(Rect rect)
+
+
+
+
+
+
+ +

+insert

+
+public void insert(MatOfPoint2f ptvec)
+
+
+
+
+
+
+ +

+insert

+
+public int insert(Point pt)
+
+
+
+
+
+
+ +

+locate

+
+public int locate(Point pt,
+                  int[] edge,
+                  int[] vertex)
+
+
+
+
+
+
+ +

+nextEdge

+
+public int nextEdge(int edge)
+
+
+
+
+
+
+ +

+rotateEdge

+
+public int rotateEdge(int edge,
+                      int rotate)
+
+
+
+
+
+
+ +

+symEdge

+
+public int symEdge(int edge)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/imgproc/package-frame.html b/opencv3/javadoc/org/opencv/imgproc/package-frame.html new file mode 100644 index 0000000..68c5543 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgproc/package-frame.html @@ -0,0 +1,38 @@ + + + + + + +org.opencv.imgproc + + + + + + + + + + + +org.opencv.imgproc + + + + +
+Classes  + +
+CLAHE +
+Imgproc +
+LineSegmentDetector +
+Subdiv2D
+ + + + diff --git a/opencv3/javadoc/org/opencv/imgproc/package-summary.html b/opencv3/javadoc/org/opencv/imgproc/package-summary.html new file mode 100644 index 0000000..cde0bf0 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgproc/package-summary.html @@ -0,0 +1,165 @@ + + + + + + +org.opencv.imgproc + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.imgproc +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CLAHE 
Imgproc 
LineSegmentDetector 
Subdiv2D 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/imgproc/package-tree.html b/opencv3/javadoc/org/opencv/imgproc/package-tree.html new file mode 100644 index 0000000..8b51041 --- /dev/null +++ b/opencv3/javadoc/org/opencv/imgproc/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +org.opencv.imgproc Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.imgproc +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/ANN_MLP.html b/opencv3/javadoc/org/opencv/ml/ANN_MLP.html new file mode 100644 index 0000000..60ddda5 --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/ANN_MLP.html @@ -0,0 +1,870 @@ + + + + + + +ANN_MLP + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class ANN_MLP

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+          extended by org.opencv.ml.ANN_MLP
+
+
+
+
public class ANN_MLP
extends StatModel
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intBACKPROP + +
+           
+static intGAUSSIAN + +
+           
+static intIDENTITY + +
+           
+static intNO_INPUT_SCALE + +
+           
+static intNO_OUTPUT_SCALE + +
+           
+static intRPROP + +
+           
+static intSIGMOID_SYM + +
+           
+static intUPDATE_WEIGHTS + +
+           
+ + + + + + + +
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static ANN_MLPcreate() + +
+           
+ doublegetBackpropMomentumScale() + +
+           
+ doublegetBackpropWeightScale() + +
+           
+ MatgetLayerSizes() + +
+           
+ doublegetRpropDW0() + +
+           
+ doublegetRpropDWMax() + +
+           
+ doublegetRpropDWMin() + +
+           
+ doublegetRpropDWMinus() + +
+           
+ doublegetRpropDWPlus() + +
+           
+ TermCriteriagetTermCriteria() + +
+           
+ intgetTrainMethod() + +
+           
+ MatgetWeights(int layerIdx) + +
+           
+ voidsetActivationFunction(int type) + +
+           
+ voidsetActivationFunction(int type, + double param1, + double param2) + +
+           
+ voidsetBackpropMomentumScale(double val) + +
+           
+ voidsetBackpropWeightScale(double val) + +
+           
+ voidsetLayerSizes(Mat _layer_sizes) + +
+           
+ voidsetRpropDW0(double val) + +
+           
+ voidsetRpropDWMax(double val) + +
+           
+ voidsetRpropDWMin(double val) + +
+           
+ voidsetRpropDWMinus(double val) + +
+           
+ voidsetRpropDWPlus(double val) + +
+           
+ voidsetTermCriteria(TermCriteria val) + +
+           
+ voidsetTrainMethod(int method) + +
+           
+ voidsetTrainMethod(int method, + double param1, + double param2) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, predict, predict, train
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+BACKPROP

+
+public static final int BACKPROP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GAUSSIAN

+
+public static final int GAUSSIAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+IDENTITY

+
+public static final int IDENTITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NO_INPUT_SCALE

+
+public static final int NO_INPUT_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NO_OUTPUT_SCALE

+
+public static final int NO_OUTPUT_SCALE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RPROP

+
+public static final int RPROP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SIGMOID_SYM

+
+public static final int SIGMOID_SYM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UPDATE_WEIGHTS

+
+public static final int UPDATE_WEIGHTS
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static ANN_MLP create()
+
+
+
+
+
+
+ +

+getBackpropMomentumScale

+
+public double getBackpropMomentumScale()
+
+
+
+
+
+
+ +

+getBackpropWeightScale

+
+public double getBackpropWeightScale()
+
+
+
+
+
+
+ +

+getLayerSizes

+
+public Mat getLayerSizes()
+
+
+
+
+
+
+ +

+getRpropDW0

+
+public double getRpropDW0()
+
+
+
+
+
+
+ +

+getRpropDWMax

+
+public double getRpropDWMax()
+
+
+
+
+
+
+ +

+getRpropDWMin

+
+public double getRpropDWMin()
+
+
+
+
+
+
+ +

+getRpropDWMinus

+
+public double getRpropDWMinus()
+
+
+
+
+
+
+ +

+getRpropDWPlus

+
+public double getRpropDWPlus()
+
+
+
+
+
+
+ +

+getTermCriteria

+
+public TermCriteria getTermCriteria()
+
+
+
+
+
+
+ +

+getTrainMethod

+
+public int getTrainMethod()
+
+
+
+
+
+
+ +

+getWeights

+
+public Mat getWeights(int layerIdx)
+
+
+
+
+
+
+ +

+setActivationFunction

+
+public void setActivationFunction(int type)
+
+
+
+
+
+
+ +

+setActivationFunction

+
+public void setActivationFunction(int type,
+                                  double param1,
+                                  double param2)
+
+
+
+
+
+
+ +

+setBackpropMomentumScale

+
+public void setBackpropMomentumScale(double val)
+
+
+
+
+
+
+ +

+setBackpropWeightScale

+
+public void setBackpropWeightScale(double val)
+
+
+
+
+
+
+ +

+setLayerSizes

+
+public void setLayerSizes(Mat _layer_sizes)
+
+
+
+
+
+
+ +

+setRpropDW0

+
+public void setRpropDW0(double val)
+
+
+
+
+
+
+ +

+setRpropDWMax

+
+public void setRpropDWMax(double val)
+
+
+
+
+
+
+ +

+setRpropDWMin

+
+public void setRpropDWMin(double val)
+
+
+
+
+
+
+ +

+setRpropDWMinus

+
+public void setRpropDWMinus(double val)
+
+
+
+
+
+
+ +

+setRpropDWPlus

+
+public void setRpropDWPlus(double val)
+
+
+
+
+
+
+ +

+setTermCriteria

+
+public void setTermCriteria(TermCriteria val)
+
+
+
+
+
+
+ +

+setTrainMethod

+
+public void setTrainMethod(int method)
+
+
+
+
+
+
+ +

+setTrainMethod

+
+public void setTrainMethod(int method,
+                           double param1,
+                           double param2)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/Boost.html b/opencv3/javadoc/org/opencv/ml/Boost.html new file mode 100644 index 0000000..a7fdccd --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/Boost.html @@ -0,0 +1,467 @@ + + + + + + +Boost + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class Boost

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+          extended by org.opencv.ml.DTrees
+              extended by org.opencv.ml.Boost
+
+
+
+
public class Boost
extends DTrees
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intDISCRETE + +
+           
+static intGENTLE + +
+           
+static intLOGIT + +
+           
+static intREAL + +
+           
+ + + + + + + +
Fields inherited from class org.opencv.ml.DTrees
PREDICT_AUTO, PREDICT_MASK, PREDICT_MAX_VOTE, PREDICT_SUM
+ + + + + + + +
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static Boostcreate() + +
+           
+ intgetBoostType() + +
+           
+ intgetWeakCount() + +
+           
+ doublegetWeightTrimRate() + +
+           
+ voidsetBoostType(int val) + +
+           
+ voidsetWeakCount(int val) + +
+           
+ voidsetWeightTrimRate(double val) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.ml.DTrees
getCVFolds, getMaxCategories, getMaxDepth, getMinSampleCount, getPriors, getRegressionAccuracy, getTruncatePrunedTree, getUse1SERule, getUseSurrogates, setCVFolds, setMaxCategories, setMaxDepth, setMinSampleCount, setPriors, setRegressionAccuracy, setTruncatePrunedTree, setUse1SERule, setUseSurrogates
+ + + + + + + +
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, predict, predict, train
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DISCRETE

+
+public static final int DISCRETE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GENTLE

+
+public static final int GENTLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOGIT

+
+public static final int LOGIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REAL

+
+public static final int REAL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static Boost create()
+
+
+
+
+
+
+ +

+getBoostType

+
+public int getBoostType()
+
+
+
+
+
+
+ +

+getWeakCount

+
+public int getWeakCount()
+
+
+
+
+
+
+ +

+getWeightTrimRate

+
+public double getWeightTrimRate()
+
+
+
+
+
+
+ +

+setBoostType

+
+public void setBoostType(int val)
+
+
+
+
+
+
+ +

+setWeakCount

+
+public void setWeakCount(int val)
+
+
+
+
+
+
+ +

+setWeightTrimRate

+
+public void setWeightTrimRate(double val)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/DTrees.html b/opencv3/javadoc/org/opencv/ml/DTrees.html new file mode 100644 index 0000000..ae99832 --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/DTrees.html @@ -0,0 +1,679 @@ + + + + + + +DTrees + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class DTrees

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+          extended by org.opencv.ml.DTrees
+
+
+
Direct Known Subclasses:
Boost, RTrees
+
+
+
+
public class DTrees
extends StatModel
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intPREDICT_AUTO + +
+           
+static intPREDICT_MASK + +
+           
+static intPREDICT_MAX_VOTE + +
+           
+static intPREDICT_SUM + +
+           
+ + + + + + + +
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static DTreescreate() + +
+           
+ intgetCVFolds() + +
+           
+ intgetMaxCategories() + +
+           
+ intgetMaxDepth() + +
+           
+ intgetMinSampleCount() + +
+           
+ MatgetPriors() + +
+           
+ floatgetRegressionAccuracy() + +
+           
+ booleangetTruncatePrunedTree() + +
+           
+ booleangetUse1SERule() + +
+           
+ booleangetUseSurrogates() + +
+           
+ voidsetCVFolds(int val) + +
+           
+ voidsetMaxCategories(int val) + +
+           
+ voidsetMaxDepth(int val) + +
+           
+ voidsetMinSampleCount(int val) + +
+           
+ voidsetPriors(Mat val) + +
+           
+ voidsetRegressionAccuracy(float val) + +
+           
+ voidsetTruncatePrunedTree(boolean val) + +
+           
+ voidsetUse1SERule(boolean val) + +
+           
+ voidsetUseSurrogates(boolean val) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, predict, predict, train
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+PREDICT_AUTO

+
+public static final int PREDICT_AUTO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PREDICT_MASK

+
+public static final int PREDICT_MASK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PREDICT_MAX_VOTE

+
+public static final int PREDICT_MAX_VOTE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PREDICT_SUM

+
+public static final int PREDICT_SUM
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static DTrees create()
+
+
+
+
+
+
+ +

+getCVFolds

+
+public int getCVFolds()
+
+
+
+
+
+
+ +

+getMaxCategories

+
+public int getMaxCategories()
+
+
+
+
+
+
+ +

+getMaxDepth

+
+public int getMaxDepth()
+
+
+
+
+
+
+ +

+getMinSampleCount

+
+public int getMinSampleCount()
+
+
+
+
+
+
+ +

+getPriors

+
+public Mat getPriors()
+
+
+
+
+
+
+ +

+getRegressionAccuracy

+
+public float getRegressionAccuracy()
+
+
+
+
+
+
+ +

+getTruncatePrunedTree

+
+public boolean getTruncatePrunedTree()
+
+
+
+
+
+
+ +

+getUse1SERule

+
+public boolean getUse1SERule()
+
+
+
+
+
+
+ +

+getUseSurrogates

+
+public boolean getUseSurrogates()
+
+
+
+
+
+
+ +

+setCVFolds

+
+public void setCVFolds(int val)
+
+
+
+
+
+
+ +

+setMaxCategories

+
+public void setMaxCategories(int val)
+
+
+
+
+
+
+ +

+setMaxDepth

+
+public void setMaxDepth(int val)
+
+
+
+
+
+
+ +

+setMinSampleCount

+
+public void setMinSampleCount(int val)
+
+
+
+
+
+
+ +

+setPriors

+
+public void setPriors(Mat val)
+
+
+
+
+
+
+ +

+setRegressionAccuracy

+
+public void setRegressionAccuracy(float val)
+
+
+
+
+
+
+ +

+setTruncatePrunedTree

+
+public void setTruncatePrunedTree(boolean val)
+
+
+
+
+
+
+ +

+setUse1SERule

+
+public void setUse1SERule(boolean val)
+
+
+
+
+
+
+ +

+setUseSurrogates

+
+public void setUseSurrogates(boolean val)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/EM.html b/opencv3/javadoc/org/opencv/ml/EM.html new file mode 100644 index 0000000..15bdc90 --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/EM.html @@ -0,0 +1,741 @@ + + + + + + +EM + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class EM

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+          extended by org.opencv.ml.EM
+
+
+
+
public class EM
extends StatModel
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCOV_MAT_DEFAULT + +
+           
+static intCOV_MAT_DIAGONAL + +
+           
+static intCOV_MAT_GENERIC + +
+           
+static intCOV_MAT_SPHERICAL + +
+           
+static intDEFAULT_MAX_ITERS + +
+           
+static intDEFAULT_NCLUSTERS + +
+           
+static intSTART_AUTO_STEP + +
+           
+static intSTART_E_STEP + +
+           
+static intSTART_M_STEP + +
+           
+ + + + + + + +
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static EMcreate() + +
+           
+ intgetClustersNumber() + +
+           
+ intgetCovarianceMatrixType() + +
+           
+ MatgetMeans() + +
+           
+ TermCriteriagetTermCriteria() + +
+           
+ MatgetWeights() + +
+           
+ double[]predict2(Mat sample, + Mat probs) + +
+           
+ voidsetClustersNumber(int val) + +
+           
+ voidsetCovarianceMatrixType(int val) + +
+           
+ voidsetTermCriteria(TermCriteria val) + +
+           
+ booleantrainE(Mat samples, + Mat means0) + +
+           
+ booleantrainE(Mat samples, + Mat means0, + Mat covs0, + Mat weights0, + Mat logLikelihoods, + Mat labels, + Mat probs) + +
+           
+ booleantrainEM(Mat samples) + +
+           
+ booleantrainEM(Mat samples, + Mat logLikelihoods, + Mat labels, + Mat probs) + +
+           
+ booleantrainM(Mat samples, + Mat probs0) + +
+           
+ booleantrainM(Mat samples, + Mat probs0, + Mat logLikelihoods, + Mat labels, + Mat probs) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, predict, predict, train
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+COV_MAT_DEFAULT

+
+public static final int COV_MAT_DEFAULT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COV_MAT_DIAGONAL

+
+public static final int COV_MAT_DIAGONAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COV_MAT_GENERIC

+
+public static final int COV_MAT_GENERIC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COV_MAT_SPHERICAL

+
+public static final int COV_MAT_SPHERICAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_MAX_ITERS

+
+public static final int DEFAULT_MAX_ITERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEFAULT_NCLUSTERS

+
+public static final int DEFAULT_NCLUSTERS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+START_AUTO_STEP

+
+public static final int START_AUTO_STEP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+START_E_STEP

+
+public static final int START_E_STEP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+START_M_STEP

+
+public static final int START_M_STEP
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static EM create()
+
+
+
+
+
+
+ +

+getClustersNumber

+
+public int getClustersNumber()
+
+
+
+
+
+
+ +

+getCovarianceMatrixType

+
+public int getCovarianceMatrixType()
+
+
+
+
+
+
+ +

+getMeans

+
+public Mat getMeans()
+
+
+
+
+
+
+ +

+getTermCriteria

+
+public TermCriteria getTermCriteria()
+
+
+
+
+
+
+ +

+getWeights

+
+public Mat getWeights()
+
+
+
+
+
+
+ +

+predict2

+
+public double[] predict2(Mat sample,
+                         Mat probs)
+
+
+
+
+
+
+ +

+setClustersNumber

+
+public void setClustersNumber(int val)
+
+
+
+
+
+
+ +

+setCovarianceMatrixType

+
+public void setCovarianceMatrixType(int val)
+
+
+
+
+
+
+ +

+setTermCriteria

+
+public void setTermCriteria(TermCriteria val)
+
+
+
+
+
+
+ +

+trainE

+
+public boolean trainE(Mat samples,
+                      Mat means0)
+
+
+
+
+
+
+ +

+trainE

+
+public boolean trainE(Mat samples,
+                      Mat means0,
+                      Mat covs0,
+                      Mat weights0,
+                      Mat logLikelihoods,
+                      Mat labels,
+                      Mat probs)
+
+
+
+
+
+
+ +

+trainEM

+
+public boolean trainEM(Mat samples)
+
+
+
+
+
+
+ +

+trainEM

+
+public boolean trainEM(Mat samples,
+                       Mat logLikelihoods,
+                       Mat labels,
+                       Mat probs)
+
+
+
+
+
+
+ +

+trainM

+
+public boolean trainM(Mat samples,
+                      Mat probs0)
+
+
+
+
+
+
+ +

+trainM

+
+public boolean trainM(Mat samples,
+                      Mat probs0,
+                      Mat logLikelihoods,
+                      Mat labels,
+                      Mat probs)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/KNearest.html b/opencv3/javadoc/org/opencv/ml/KNearest.html new file mode 100644 index 0000000..952e95f --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/KNearest.html @@ -0,0 +1,500 @@ + + + + + + +KNearest + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class KNearest

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+          extended by org.opencv.ml.KNearest
+
+
+
+
public class KNearest
extends StatModel
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intBRUTE_FORCE + +
+           
+static intKDTREE + +
+           
+ + + + + + + +
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static KNearestcreate() + +
+           
+ floatfindNearest(Mat samples, + int k, + Mat results) + +
+           
+ floatfindNearest(Mat samples, + int k, + Mat results, + Mat neighborResponses, + Mat dist) + +
+           
+ intgetAlgorithmType() + +
+           
+ intgetDefaultK() + +
+           
+ intgetEmax() + +
+           
+ booleangetIsClassifier() + +
+           
+ voidsetAlgorithmType(int val) + +
+           
+ voidsetDefaultK(int val) + +
+           
+ voidsetEmax(int val) + +
+           
+ voidsetIsClassifier(boolean val) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, predict, predict, train
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+BRUTE_FORCE

+
+public static final int BRUTE_FORCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+KDTREE

+
+public static final int KDTREE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static KNearest create()
+
+
+
+
+
+
+ +

+findNearest

+
+public float findNearest(Mat samples,
+                         int k,
+                         Mat results)
+
+
+
+
+
+
+ +

+findNearest

+
+public float findNearest(Mat samples,
+                         int k,
+                         Mat results,
+                         Mat neighborResponses,
+                         Mat dist)
+
+
+
+
+
+
+ +

+getAlgorithmType

+
+public int getAlgorithmType()
+
+
+
+
+
+
+ +

+getDefaultK

+
+public int getDefaultK()
+
+
+
+
+
+
+ +

+getEmax

+
+public int getEmax()
+
+
+
+
+
+
+ +

+getIsClassifier

+
+public boolean getIsClassifier()
+
+
+
+
+
+
+ +

+setAlgorithmType

+
+public void setAlgorithmType(int val)
+
+
+
+
+
+
+ +

+setDefaultK

+
+public void setDefaultK(int val)
+
+
+
+
+
+
+ +

+setEmax

+
+public void setEmax(int val)
+
+
+
+
+
+
+ +

+setIsClassifier

+
+public void setIsClassifier(boolean val)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/LogisticRegression.html b/opencv3/javadoc/org/opencv/ml/LogisticRegression.html new file mode 100644 index 0000000..7c09e0c --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/LogisticRegression.html @@ -0,0 +1,647 @@ + + + + + + +LogisticRegression + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class LogisticRegression

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+          extended by org.opencv.ml.LogisticRegression
+
+
+
+
public class LogisticRegression
extends StatModel
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intBATCH + +
+           
+static intMINI_BATCH + +
+           
+static intREG_DISABLE + +
+           
+static intREG_L1 + +
+           
+static intREG_L2 + +
+           
+ + + + + + + +
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static LogisticRegressioncreate() + +
+           
+ Matget_learnt_thetas() + +
+           
+ intgetIterations() + +
+           
+ doublegetLearningRate() + +
+           
+ intgetMiniBatchSize() + +
+           
+ intgetRegularization() + +
+           
+ TermCriteriagetTermCriteria() + +
+           
+ intgetTrainMethod() + +
+           
+ floatpredict(Mat samples) + +
+           
+ floatpredict(Mat samples, + Mat results, + int flags) + +
+           
+ voidsetIterations(int val) + +
+           
+ voidsetLearningRate(double val) + +
+           
+ voidsetMiniBatchSize(int val) + +
+           
+ voidsetRegularization(int val) + +
+           
+ voidsetTermCriteria(TermCriteria val) + +
+           
+ voidsetTrainMethod(int val) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, train
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+BATCH

+
+public static final int BATCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MINI_BATCH

+
+public static final int MINI_BATCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REG_DISABLE

+
+public static final int REG_DISABLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REG_L1

+
+public static final int REG_L1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+REG_L2

+
+public static final int REG_L2
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static LogisticRegression create()
+
+
+
+
+
+
+ +

+get_learnt_thetas

+
+public Mat get_learnt_thetas()
+
+
+
+
+
+
+ +

+getIterations

+
+public int getIterations()
+
+
+
+
+
+
+ +

+getLearningRate

+
+public double getLearningRate()
+
+
+
+
+
+
+ +

+getMiniBatchSize

+
+public int getMiniBatchSize()
+
+
+
+
+
+
+ +

+getRegularization

+
+public int getRegularization()
+
+
+
+
+
+
+ +

+getTermCriteria

+
+public TermCriteria getTermCriteria()
+
+
+
+
+
+
+ +

+getTrainMethod

+
+public int getTrainMethod()
+
+
+
+
+
+
+ +

+predict

+
+public float predict(Mat samples)
+
+
+
Overrides:
predict in class StatModel
+
+
+
+
+
+
+ +

+predict

+
+public float predict(Mat samples,
+                     Mat results,
+                     int flags)
+
+
+
Overrides:
predict in class StatModel
+
+
+
+
+
+
+ +

+setIterations

+
+public void setIterations(int val)
+
+
+
+
+
+
+ +

+setLearningRate

+
+public void setLearningRate(double val)
+
+
+
+
+
+
+ +

+setMiniBatchSize

+
+public void setMiniBatchSize(int val)
+
+
+
+
+
+
+ +

+setRegularization

+
+public void setRegularization(int val)
+
+
+
+
+
+
+ +

+setTermCriteria

+
+public void setTermCriteria(TermCriteria val)
+
+
+
+
+
+
+ +

+setTrainMethod

+
+public void setTrainMethod(int val)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/Ml.html b/opencv3/javadoc/org/opencv/ml/Ml.html new file mode 100644 index 0000000..a61e4ea --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/Ml.html @@ -0,0 +1,364 @@ + + + + + + +Ml + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class Ml

+
+java.lang.Object
+  extended by org.opencv.ml.Ml
+
+
+
+
public class Ml
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCOL_SAMPLE + +
+           
+static intROW_SAMPLE + +
+           
+static intTEST_ERROR + +
+           
+static intTRAIN_ERROR + +
+           
+static intVAR_CATEGORICAL + +
+           
+static intVAR_NUMERICAL + +
+           
+static intVAR_ORDERED + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Ml() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+COL_SAMPLE

+
+public static final int COL_SAMPLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ROW_SAMPLE

+
+public static final int ROW_SAMPLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TEST_ERROR

+
+public static final int TEST_ERROR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TRAIN_ERROR

+
+public static final int TRAIN_ERROR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VAR_CATEGORICAL

+
+public static final int VAR_CATEGORICAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VAR_NUMERICAL

+
+public static final int VAR_NUMERICAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VAR_ORDERED

+
+public static final int VAR_ORDERED
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Ml

+
+public Ml()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/NormalBayesClassifier.html b/opencv3/javadoc/org/opencv/ml/NormalBayesClassifier.html new file mode 100644 index 0000000..c1c540f --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/NormalBayesClassifier.html @@ -0,0 +1,301 @@ + + + + + + +NormalBayesClassifier + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class NormalBayesClassifier

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+          extended by org.opencv.ml.NormalBayesClassifier
+
+
+
+
public class NormalBayesClassifier
extends StatModel
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static NormalBayesClassifiercreate() + +
+           
+ floatpredictProb(Mat inputs, + Mat outputs, + Mat outputProbs) + +
+           
+ floatpredictProb(Mat inputs, + Mat outputs, + Mat outputProbs, + int flags) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, predict, predict, train
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static NormalBayesClassifier create()
+
+
+
+
+
+
+ +

+predictProb

+
+public float predictProb(Mat inputs,
+                         Mat outputs,
+                         Mat outputProbs)
+
+
+
+
+
+
+ +

+predictProb

+
+public float predictProb(Mat inputs,
+                         Mat outputs,
+                         Mat outputProbs,
+                         int flags)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/RTrees.html b/opencv3/javadoc/org/opencv/ml/RTrees.html new file mode 100644 index 0000000..45aaefe --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/RTrees.html @@ -0,0 +1,405 @@ + + + + + + +RTrees + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class RTrees

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+          extended by org.opencv.ml.DTrees
+              extended by org.opencv.ml.RTrees
+
+
+
+
public class RTrees
extends DTrees
+ + +

+


+ +

+ + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class org.opencv.ml.DTrees
PREDICT_AUTO, PREDICT_MASK, PREDICT_MAX_VOTE, PREDICT_SUM
+ + + + + + + +
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static RTreescreate() + +
+           
+ intgetActiveVarCount() + +
+           
+ booleangetCalculateVarImportance() + +
+           
+ TermCriteriagetTermCriteria() + +
+           
+ MatgetVarImportance() + +
+           
+ voidsetActiveVarCount(int val) + +
+           
+ voidsetCalculateVarImportance(boolean val) + +
+           
+ voidsetTermCriteria(TermCriteria val) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.ml.DTrees
getCVFolds, getMaxCategories, getMaxDepth, getMinSampleCount, getPriors, getRegressionAccuracy, getTruncatePrunedTree, getUse1SERule, getUseSurrogates, setCVFolds, setMaxCategories, setMaxDepth, setMinSampleCount, setPriors, setRegressionAccuracy, setTruncatePrunedTree, setUse1SERule, setUseSurrogates
+ + + + + + + +
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, predict, predict, train
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static RTrees create()
+
+
+
+
+
+
+ +

+getActiveVarCount

+
+public int getActiveVarCount()
+
+
+
+
+
+
+ +

+getCalculateVarImportance

+
+public boolean getCalculateVarImportance()
+
+
+
+
+
+
+ +

+getTermCriteria

+
+public TermCriteria getTermCriteria()
+
+
+
+
+
+
+ +

+getVarImportance

+
+public Mat getVarImportance()
+
+
+
+
+
+
+ +

+setActiveVarCount

+
+public void setActiveVarCount(int val)
+
+
+
+
+
+
+ +

+setCalculateVarImportance

+
+public void setCalculateVarImportance(boolean val)
+
+
+
+
+
+
+ +

+setTermCriteria

+
+public void setTermCriteria(TermCriteria val)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/SVM.html b/opencv3/javadoc/org/opencv/ml/SVM.html new file mode 100644 index 0000000..1ebea9d --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/SVM.html @@ -0,0 +1,1008 @@ + + + + + + +SVM + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class SVM

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+          extended by org.opencv.ml.SVM
+
+
+
+
public class SVM
extends StatModel
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intC + +
+           
+static intC_SVC + +
+           
+static intCHI2 + +
+           
+static intCOEF + +
+           
+static intCUSTOM + +
+           
+static intDEGREE + +
+           
+static intEPS_SVR + +
+           
+static intGAMMA + +
+           
+static intINTER + +
+           
+static intLINEAR + +
+           
+static intNU + +
+           
+static intNU_SVC + +
+           
+static intNU_SVR + +
+           
+static intONE_CLASS + +
+           
+static intP + +
+           
+static intPOLY + +
+           
+static intRBF + +
+           
+static intSIGMOID + +
+           
+ + + + + + + +
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static SVMcreate() + +
+           
+ doublegetC() + +
+           
+ MatgetClassWeights() + +
+           
+ doublegetCoef0() + +
+           
+ doublegetDecisionFunction(int i, + Mat alpha, + Mat svidx) + +
+           
+ doublegetDegree() + +
+           
+ doublegetGamma() + +
+           
+ intgetKernelType() + +
+           
+ doublegetNu() + +
+           
+ doublegetP() + +
+           
+ MatgetSupportVectors() + +
+           
+ TermCriteriagetTermCriteria() + +
+           
+ intgetType() + +
+           
+ voidsetC(double val) + +
+           
+ voidsetClassWeights(Mat val) + +
+           
+ voidsetCoef0(double val) + +
+           
+ voidsetDegree(double val) + +
+           
+ voidsetGamma(double val) + +
+           
+ voidsetKernel(int kernelType) + +
+           
+ voidsetNu(double val) + +
+           
+ voidsetP(double val) + +
+           
+ voidsetTermCriteria(TermCriteria val) + +
+           
+ voidsetType(int val) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.ml.StatModel
empty, getVarCount, isClassifier, isTrained, predict, predict, train
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+C

+
+public static final int C
+
+
+
See Also:
Constant Field Values
+
+
+ +

+C_SVC

+
+public static final int C_SVC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CHI2

+
+public static final int CHI2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+COEF

+
+public static final int COEF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CUSTOM

+
+public static final int CUSTOM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+DEGREE

+
+public static final int DEGREE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+EPS_SVR

+
+public static final int EPS_SVR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+GAMMA

+
+public static final int GAMMA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INTER

+
+public static final int INTER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LINEAR

+
+public static final int LINEAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NU

+
+public static final int NU
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NU_SVC

+
+public static final int NU_SVC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NU_SVR

+
+public static final int NU_SVR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ONE_CLASS

+
+public static final int ONE_CLASS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+P

+
+public static final int P
+
+
+
See Also:
Constant Field Values
+
+
+ +

+POLY

+
+public static final int POLY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RBF

+
+public static final int RBF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SIGMOID

+
+public static final int SIGMOID
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+create

+
+public static SVM create()
+
+
+
+
+
+
+ +

+getC

+
+public double getC()
+
+
+
+
+
+
+ +

+getClassWeights

+
+public Mat getClassWeights()
+
+
+
+
+
+
+ +

+getCoef0

+
+public double getCoef0()
+
+
+
+
+
+
+ +

+getDecisionFunction

+
+public double getDecisionFunction(int i,
+                                  Mat alpha,
+                                  Mat svidx)
+
+
+
+
+
+
+ +

+getDegree

+
+public double getDegree()
+
+
+
+
+
+
+ +

+getGamma

+
+public double getGamma()
+
+
+
+
+
+
+ +

+getKernelType

+
+public int getKernelType()
+
+
+
+
+
+
+ +

+getNu

+
+public double getNu()
+
+
+
+
+
+
+ +

+getP

+
+public double getP()
+
+
+
+
+
+
+ +

+getSupportVectors

+
+public Mat getSupportVectors()
+
+
+
+
+
+
+ +

+getTermCriteria

+
+public TermCriteria getTermCriteria()
+
+
+
+
+
+
+ +

+getType

+
+public int getType()
+
+
+
+
+
+
+ +

+setC

+
+public void setC(double val)
+
+
+
+
+
+
+ +

+setClassWeights

+
+public void setClassWeights(Mat val)
+
+
+
+
+
+
+ +

+setCoef0

+
+public void setCoef0(double val)
+
+
+
+
+
+
+ +

+setDegree

+
+public void setDegree(double val)
+
+
+
+
+
+
+ +

+setGamma

+
+public void setGamma(double val)
+
+
+
+
+
+
+ +

+setKernel

+
+public void setKernel(int kernelType)
+
+
+
+
+
+
+ +

+setNu

+
+public void setNu(double val)
+
+
+
+
+
+
+ +

+setP

+
+public void setP(double val)
+
+
+
+
+
+
+ +

+setTermCriteria

+
+public void setTermCriteria(TermCriteria val)
+
+
+
+
+
+
+ +

+setType

+
+public void setType(int val)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/StatModel.html b/opencv3/javadoc/org/opencv/ml/StatModel.html new file mode 100644 index 0000000..74b532b --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/StatModel.html @@ -0,0 +1,440 @@ + + + + + + +StatModel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class StatModel

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.ml.StatModel
+
+
+
Direct Known Subclasses:
ANN_MLP, DTrees, EM, KNearest, LogisticRegression, NormalBayesClassifier, SVM
+
+
+
+
public class StatModel
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCOMPRESSED_INPUT + +
+           
+static intPREPROCESSED_INPUT + +
+           
+static intRAW_OUTPUT + +
+           
+static intUPDATE_MODEL + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanempty() + +
+           
+ intgetVarCount() + +
+           
+ booleanisClassifier() + +
+           
+ booleanisTrained() + +
+           
+ floatpredict(Mat samples) + +
+           
+ floatpredict(Mat samples, + Mat results, + int flags) + +
+           
+ booleantrain(Mat samples, + int layout, + Mat responses) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+COMPRESSED_INPUT

+
+public static final int COMPRESSED_INPUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+PREPROCESSED_INPUT

+
+public static final int PREPROCESSED_INPUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RAW_OUTPUT

+
+public static final int RAW_OUTPUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UPDATE_MODEL

+
+public static final int UPDATE_MODEL
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Method Detail
+ +

+empty

+
+public boolean empty()
+
+
+
+
+
+
+ +

+getVarCount

+
+public int getVarCount()
+
+
+
+
+
+
+ +

+isClassifier

+
+public boolean isClassifier()
+
+
+
+
+
+
+ +

+isTrained

+
+public boolean isTrained()
+
+
+
+
+
+
+ +

+predict

+
+public float predict(Mat samples)
+
+
+
+
+
+
+ +

+predict

+
+public float predict(Mat samples,
+                     Mat results,
+                     int flags)
+
+
+
+
+
+
+ +

+train

+
+public boolean train(Mat samples,
+                     int layout,
+                     Mat responses)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/TrainData.html b/opencv3/javadoc/org/opencv/ml/TrainData.html new file mode 100644 index 0000000..eb81f5b --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/TrainData.html @@ -0,0 +1,917 @@ + + + + + + +TrainData + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.ml +
+Class TrainData

+
+java.lang.Object
+  extended by org.opencv.ml.TrainData
+
+
+
+
public class TrainData
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetCatCount(int vi) + +
+           
+ MatgetCatMap() + +
+           
+ MatgetCatOfs() + +
+           
+ MatgetClassLabels() + +
+           
+ MatgetDefaultSubstValues() + +
+           
+ intgetLayout() + +
+           
+ MatgetMissing() + +
+           
+ intgetNAllVars() + +
+           
+ MatgetNormCatResponses() + +
+           
+ intgetNSamples() + +
+           
+ intgetNTestSamples() + +
+           
+ intgetNTrainSamples() + +
+           
+ intgetNVars() + +
+           
+ MatgetResponses() + +
+           
+ intgetResponseType() + +
+           
+ voidgetSample(Mat varIdx, + int sidx, + float buf) + +
+           
+ MatgetSamples() + +
+           
+ MatgetSampleWeights() + +
+           
+static MatgetSubVector(Mat vec, + Mat idx) + +
+           
+ MatgetTestNormCatResponses() + +
+           
+ MatgetTestResponses() + +
+           
+ MatgetTestSampleIdx() + +
+           
+ MatgetTestSampleWeights() + +
+           
+ MatgetTrainNormCatResponses() + +
+           
+ MatgetTrainResponses() + +
+           
+ MatgetTrainSampleIdx() + +
+           
+ MatgetTrainSamples() + +
+           
+ MatgetTrainSamples(int layout, + boolean compressSamples, + boolean compressVars) + +
+           
+ MatgetTrainSampleWeights() + +
+           
+ voidgetValues(int vi, + Mat sidx, + float values) + +
+           
+ MatgetVarIdx() + +
+           
+ MatgetVarType() + +
+           
+ voidsetTrainTestSplit(int count) + +
+           
+ voidsetTrainTestSplit(int count, + boolean shuffle) + +
+           
+ voidsetTrainTestSplitRatio(double ratio) + +
+           
+ voidsetTrainTestSplitRatio(double ratio, + boolean shuffle) + +
+           
+ voidshuffleTrainTest() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getCatCount

+
+public int getCatCount(int vi)
+
+
+
+
+
+
+ +

+getCatMap

+
+public Mat getCatMap()
+
+
+
+
+
+
+ +

+getCatOfs

+
+public Mat getCatOfs()
+
+
+
+
+
+
+ +

+getClassLabels

+
+public Mat getClassLabels()
+
+
+
+
+
+
+ +

+getDefaultSubstValues

+
+public Mat getDefaultSubstValues()
+
+
+
+
+
+
+ +

+getLayout

+
+public int getLayout()
+
+
+
+
+
+
+ +

+getMissing

+
+public Mat getMissing()
+
+
+
+
+
+
+ +

+getNAllVars

+
+public int getNAllVars()
+
+
+
+
+
+
+ +

+getNormCatResponses

+
+public Mat getNormCatResponses()
+
+
+
+
+
+
+ +

+getNSamples

+
+public int getNSamples()
+
+
+
+
+
+
+ +

+getNTestSamples

+
+public int getNTestSamples()
+
+
+
+
+
+
+ +

+getNTrainSamples

+
+public int getNTrainSamples()
+
+
+
+
+
+
+ +

+getNVars

+
+public int getNVars()
+
+
+
+
+
+
+ +

+getResponses

+
+public Mat getResponses()
+
+
+
+
+
+
+ +

+getResponseType

+
+public int getResponseType()
+
+
+
+
+
+
+ +

+getSample

+
+public void getSample(Mat varIdx,
+                      int sidx,
+                      float buf)
+
+
+
+
+
+
+ +

+getSamples

+
+public Mat getSamples()
+
+
+
+
+
+
+ +

+getSampleWeights

+
+public Mat getSampleWeights()
+
+
+
+
+
+
+ +

+getSubVector

+
+public static Mat getSubVector(Mat vec,
+                               Mat idx)
+
+
+
+
+
+
+ +

+getTestNormCatResponses

+
+public Mat getTestNormCatResponses()
+
+
+
+
+
+
+ +

+getTestResponses

+
+public Mat getTestResponses()
+
+
+
+
+
+
+ +

+getTestSampleIdx

+
+public Mat getTestSampleIdx()
+
+
+
+
+
+
+ +

+getTestSampleWeights

+
+public Mat getTestSampleWeights()
+
+
+
+
+
+
+ +

+getTrainNormCatResponses

+
+public Mat getTrainNormCatResponses()
+
+
+
+
+
+
+ +

+getTrainResponses

+
+public Mat getTrainResponses()
+
+
+
+
+
+
+ +

+getTrainSampleIdx

+
+public Mat getTrainSampleIdx()
+
+
+
+
+
+
+ +

+getTrainSamples

+
+public Mat getTrainSamples()
+
+
+
+
+
+
+ +

+getTrainSamples

+
+public Mat getTrainSamples(int layout,
+                           boolean compressSamples,
+                           boolean compressVars)
+
+
+
+
+
+
+ +

+getTrainSampleWeights

+
+public Mat getTrainSampleWeights()
+
+
+
+
+
+
+ +

+getValues

+
+public void getValues(int vi,
+                      Mat sidx,
+                      float values)
+
+
+
+
+
+
+ +

+getVarIdx

+
+public Mat getVarIdx()
+
+
+
+
+
+
+ +

+getVarType

+
+public Mat getVarType()
+
+
+
+
+
+
+ +

+setTrainTestSplit

+
+public void setTrainTestSplit(int count)
+
+
+
+
+
+
+ +

+setTrainTestSplit

+
+public void setTrainTestSplit(int count,
+                              boolean shuffle)
+
+
+
+
+
+
+ +

+setTrainTestSplitRatio

+
+public void setTrainTestSplitRatio(double ratio)
+
+
+
+
+
+
+ +

+setTrainTestSplitRatio

+
+public void setTrainTestSplitRatio(double ratio,
+                                   boolean shuffle)
+
+
+
+
+
+
+ +

+shuffleTrainTest

+
+public void shuffleTrainTest()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/package-frame.html b/opencv3/javadoc/org/opencv/ml/package-frame.html new file mode 100644 index 0000000..700a1ee --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/package-frame.html @@ -0,0 +1,54 @@ + + + + + + +org.opencv.ml + + + + + + + + + + + +org.opencv.ml + + + + +
+Classes  + +
+ANN_MLP +
+Boost +
+DTrees +
+EM +
+KNearest +
+LogisticRegression +
+Ml +
+NormalBayesClassifier +
+RTrees +
+StatModel +
+SVM +
+TrainData
+ + + + diff --git a/opencv3/javadoc/org/opencv/ml/package-summary.html b/opencv3/javadoc/org/opencv/ml/package-summary.html new file mode 100644 index 0000000..b0d225f --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/package-summary.html @@ -0,0 +1,197 @@ + + + + + + +org.opencv.ml + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.ml +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
ANN_MLP 
Boost 
DTrees 
EM 
KNearest 
LogisticRegression 
Ml 
NormalBayesClassifier 
RTrees 
StatModel 
SVM 
TrainData 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/ml/package-tree.html b/opencv3/javadoc/org/opencv/ml/package-tree.html new file mode 100644 index 0000000..bb51254 --- /dev/null +++ b/opencv3/javadoc/org/opencv/ml/package-tree.html @@ -0,0 +1,155 @@ + + + + + + +org.opencv.ml Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.ml +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/objdetect/BaseCascadeClassifier.html b/opencv3/javadoc/org/opencv/objdetect/BaseCascadeClassifier.html new file mode 100644 index 0000000..5bc5e80 --- /dev/null +++ b/opencv3/javadoc/org/opencv/objdetect/BaseCascadeClassifier.html @@ -0,0 +1,197 @@ + + + + + + +BaseCascadeClassifier + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.objdetect +
+Class BaseCascadeClassifier

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.objdetect.BaseCascadeClassifier
+
+
+
+
public class BaseCascadeClassifier
extends Algorithm
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/objdetect/CascadeClassifier.html b/opencv3/javadoc/org/opencv/objdetect/CascadeClassifier.html new file mode 100644 index 0000000..82c80a1 --- /dev/null +++ b/opencv3/javadoc/org/opencv/objdetect/CascadeClassifier.html @@ -0,0 +1,529 @@ + + + + + + +CascadeClassifier + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.objdetect +
+Class CascadeClassifier

+
+java.lang.Object
+  extended by org.opencv.objdetect.CascadeClassifier
+
+
+
+
public class CascadeClassifier
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + +
+Constructor Summary
CascadeClassifier() + +
+           
CascadeClassifier(java.lang.String filename) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static booleanconvert(java.lang.String oldcascade, + java.lang.String newcascade) + +
+           
+ voiddetectMultiScale(Mat image, + MatOfRect objects) + +
+           
+ voiddetectMultiScale(Mat image, + MatOfRect objects, + double scaleFactor, + int minNeighbors, + int flags, + Size minSize, + Size maxSize) + +
+           
+ voiddetectMultiScale2(Mat image, + MatOfRect objects, + MatOfInt numDetections) + +
+           
+ voiddetectMultiScale2(Mat image, + MatOfRect objects, + MatOfInt numDetections, + double scaleFactor, + int minNeighbors, + int flags, + Size minSize, + Size maxSize) + +
+           
+ voiddetectMultiScale3(Mat image, + MatOfRect objects, + MatOfInt rejectLevels, + MatOfDouble levelWeights) + +
+           
+ voiddetectMultiScale3(Mat image, + MatOfRect objects, + MatOfInt rejectLevels, + MatOfDouble levelWeights, + double scaleFactor, + int minNeighbors, + int flags, + Size minSize, + Size maxSize, + boolean outputRejectLevels) + +
+           
+ booleanempty() + +
+           
+ intgetFeatureType() + +
+           
+ SizegetOriginalWindowSize() + +
+           
+ booleanisOldFormatCascade() + +
+           
+ booleanload(java.lang.String filename) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+CascadeClassifier

+
+public CascadeClassifier()
+
+
+
+ +

+CascadeClassifier

+
+public CascadeClassifier(java.lang.String filename)
+
+
+ + + + + + + + +
+Method Detail
+ +

+convert

+
+public static boolean convert(java.lang.String oldcascade,
+                              java.lang.String newcascade)
+
+
+
+
+
+
+ +

+detectMultiScale

+
+public void detectMultiScale(Mat image,
+                             MatOfRect objects)
+
+
+
+
+
+
+ +

+detectMultiScale

+
+public void detectMultiScale(Mat image,
+                             MatOfRect objects,
+                             double scaleFactor,
+                             int minNeighbors,
+                             int flags,
+                             Size minSize,
+                             Size maxSize)
+
+
+
+
+
+
+ +

+detectMultiScale2

+
+public void detectMultiScale2(Mat image,
+                              MatOfRect objects,
+                              MatOfInt numDetections)
+
+
+
+
+
+
+ +

+detectMultiScale2

+
+public void detectMultiScale2(Mat image,
+                              MatOfRect objects,
+                              MatOfInt numDetections,
+                              double scaleFactor,
+                              int minNeighbors,
+                              int flags,
+                              Size minSize,
+                              Size maxSize)
+
+
+
+
+
+
+ +

+detectMultiScale3

+
+public void detectMultiScale3(Mat image,
+                              MatOfRect objects,
+                              MatOfInt rejectLevels,
+                              MatOfDouble levelWeights)
+
+
+
+
+
+
+ +

+detectMultiScale3

+
+public void detectMultiScale3(Mat image,
+                              MatOfRect objects,
+                              MatOfInt rejectLevels,
+                              MatOfDouble levelWeights,
+                              double scaleFactor,
+                              int minNeighbors,
+                              int flags,
+                              Size minSize,
+                              Size maxSize,
+                              boolean outputRejectLevels)
+
+
+
+
+
+
+ +

+empty

+
+public boolean empty()
+
+
+
+
+
+
+ +

+getFeatureType

+
+public int getFeatureType()
+
+
+
+
+
+
+ +

+getOriginalWindowSize

+
+public Size getOriginalWindowSize()
+
+
+
+
+
+
+ +

+isOldFormatCascade

+
+public boolean isOldFormatCascade()
+
+
+
+
+
+
+ +

+load

+
+public boolean load(java.lang.String filename)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/objdetect/HOGDescriptor.html b/opencv3/javadoc/org/opencv/objdetect/HOGDescriptor.html new file mode 100644 index 0000000..a724e2d --- /dev/null +++ b/opencv3/javadoc/org/opencv/objdetect/HOGDescriptor.html @@ -0,0 +1,1006 @@ + + + + + + +HOGDescriptor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.objdetect +
+Class HOGDescriptor

+
+java.lang.Object
+  extended by org.opencv.objdetect.HOGDescriptor
+
+
+
+
public class HOGDescriptor
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + +
+Field Summary
+static intDEFAULT_NLEVELS + +
+           
+static intL2Hys + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
HOGDescriptor() + +
+           
HOGDescriptor(Size _winSize, + Size _blockSize, + Size _blockStride, + Size _cellSize, + int _nbins) + +
+           
HOGDescriptor(Size _winSize, + Size _blockSize, + Size _blockStride, + Size _cellSize, + int _nbins, + int _derivAperture, + double _winSigma, + int _histogramNormType, + double _L2HysThreshold, + boolean _gammaCorrection, + int _nlevels, + boolean _signedGradient) + +
+           
HOGDescriptor(java.lang.String filename) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancheckDetectorSize() + +
+           
+ voidcompute(Mat img, + MatOfFloat descriptors) + +
+           
+ voidcompute(Mat img, + MatOfFloat descriptors, + Size winStride, + Size padding, + MatOfPoint locations) + +
+           
+ voidcomputeGradient(Mat img, + Mat grad, + Mat angleOfs) + +
+           
+ voidcomputeGradient(Mat img, + Mat grad, + Mat angleOfs, + Size paddingTL, + Size paddingBR) + +
+           
+ voiddetect(Mat img, + MatOfPoint foundLocations, + MatOfDouble weights) + +
+           
+ voiddetect(Mat img, + MatOfPoint foundLocations, + MatOfDouble weights, + double hitThreshold, + Size winStride, + Size padding, + MatOfPoint searchLocations) + +
+           
+ voiddetectMultiScale(Mat img, + MatOfRect foundLocations, + MatOfDouble foundWeights) + +
+           
+ voiddetectMultiScale(Mat img, + MatOfRect foundLocations, + MatOfDouble foundWeights, + double hitThreshold, + Size winStride, + Size padding, + double scale, + double finalThreshold, + boolean useMeanshiftGrouping) + +
+           
+ Sizeget_blockSize() + +
+           
+ Sizeget_blockStride() + +
+           
+ Sizeget_cellSize() + +
+           
+ intget_derivAperture() + +
+           
+ booleanget_gammaCorrection() + +
+           
+ intget_histogramNormType() + +
+           
+ doubleget_L2HysThreshold() + +
+           
+ intget_nbins() + +
+           
+ intget_nlevels() + +
+           
+ booleanget_signedGradient() + +
+           
+ MatOfFloatget_svmDetector() + +
+           
+ doubleget_winSigma() + +
+           
+ Sizeget_winSize() + +
+           
+static MatOfFloatgetDaimlerPeopleDetector() + +
+           
+static MatOfFloatgetDefaultPeopleDetector() + +
+           
+ longgetDescriptorSize() + +
+           
+ doublegetWinSigma() + +
+           
+ booleanload(java.lang.String filename) + +
+           
+ booleanload(java.lang.String filename, + java.lang.String objname) + +
+           
+ voidsave(java.lang.String filename) + +
+           
+ voidsave(java.lang.String filename, + java.lang.String objname) + +
+           
+ voidsetSVMDetector(Mat _svmdetector) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DEFAULT_NLEVELS

+
+public static final int DEFAULT_NLEVELS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+L2Hys

+
+public static final int L2Hys
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+HOGDescriptor

+
+public HOGDescriptor()
+
+
+
+ +

+HOGDescriptor

+
+public HOGDescriptor(Size _winSize,
+                     Size _blockSize,
+                     Size _blockStride,
+                     Size _cellSize,
+                     int _nbins)
+
+
+
+ +

+HOGDescriptor

+
+public HOGDescriptor(Size _winSize,
+                     Size _blockSize,
+                     Size _blockStride,
+                     Size _cellSize,
+                     int _nbins,
+                     int _derivAperture,
+                     double _winSigma,
+                     int _histogramNormType,
+                     double _L2HysThreshold,
+                     boolean _gammaCorrection,
+                     int _nlevels,
+                     boolean _signedGradient)
+
+
+
+ +

+HOGDescriptor

+
+public HOGDescriptor(java.lang.String filename)
+
+
+ + + + + + + + +
+Method Detail
+ +

+checkDetectorSize

+
+public boolean checkDetectorSize()
+
+
+
+
+
+
+ +

+compute

+
+public void compute(Mat img,
+                    MatOfFloat descriptors)
+
+
+
+
+
+
+ +

+compute

+
+public void compute(Mat img,
+                    MatOfFloat descriptors,
+                    Size winStride,
+                    Size padding,
+                    MatOfPoint locations)
+
+
+
+
+
+
+ +

+computeGradient

+
+public void computeGradient(Mat img,
+                            Mat grad,
+                            Mat angleOfs)
+
+
+
+
+
+
+ +

+computeGradient

+
+public void computeGradient(Mat img,
+                            Mat grad,
+                            Mat angleOfs,
+                            Size paddingTL,
+                            Size paddingBR)
+
+
+
+
+
+
+ +

+detect

+
+public void detect(Mat img,
+                   MatOfPoint foundLocations,
+                   MatOfDouble weights)
+
+
+
+
+
+
+ +

+detect

+
+public void detect(Mat img,
+                   MatOfPoint foundLocations,
+                   MatOfDouble weights,
+                   double hitThreshold,
+                   Size winStride,
+                   Size padding,
+                   MatOfPoint searchLocations)
+
+
+
+
+
+
+ +

+detectMultiScale

+
+public void detectMultiScale(Mat img,
+                             MatOfRect foundLocations,
+                             MatOfDouble foundWeights)
+
+
+
+
+
+
+ +

+detectMultiScale

+
+public void detectMultiScale(Mat img,
+                             MatOfRect foundLocations,
+                             MatOfDouble foundWeights,
+                             double hitThreshold,
+                             Size winStride,
+                             Size padding,
+                             double scale,
+                             double finalThreshold,
+                             boolean useMeanshiftGrouping)
+
+
+
+
+
+
+ +

+get_blockSize

+
+public Size get_blockSize()
+
+
+
+
+
+
+ +

+get_blockStride

+
+public Size get_blockStride()
+
+
+
+
+
+
+ +

+get_cellSize

+
+public Size get_cellSize()
+
+
+
+
+
+
+ +

+get_derivAperture

+
+public int get_derivAperture()
+
+
+
+
+
+
+ +

+get_gammaCorrection

+
+public boolean get_gammaCorrection()
+
+
+
+
+
+
+ +

+get_histogramNormType

+
+public int get_histogramNormType()
+
+
+
+
+
+
+ +

+get_L2HysThreshold

+
+public double get_L2HysThreshold()
+
+
+
+
+
+
+ +

+get_nbins

+
+public int get_nbins()
+
+
+
+
+
+
+ +

+get_nlevels

+
+public int get_nlevels()
+
+
+
+
+
+
+ +

+get_signedGradient

+
+public boolean get_signedGradient()
+
+
+
+
+
+
+ +

+get_svmDetector

+
+public MatOfFloat get_svmDetector()
+
+
+
+
+
+
+ +

+get_winSigma

+
+public double get_winSigma()
+
+
+
+
+
+
+ +

+get_winSize

+
+public Size get_winSize()
+
+
+
+
+
+
+ +

+getDaimlerPeopleDetector

+
+public static MatOfFloat getDaimlerPeopleDetector()
+
+
+
+
+
+
+ +

+getDefaultPeopleDetector

+
+public static MatOfFloat getDefaultPeopleDetector()
+
+
+
+
+
+
+ +

+getDescriptorSize

+
+public long getDescriptorSize()
+
+
+
+
+
+
+ +

+getWinSigma

+
+public double getWinSigma()
+
+
+
+
+
+
+ +

+load

+
+public boolean load(java.lang.String filename)
+
+
+
+
+
+
+ +

+load

+
+public boolean load(java.lang.String filename,
+                    java.lang.String objname)
+
+
+
+
+
+
+ +

+save

+
+public void save(java.lang.String filename)
+
+
+
+
+
+
+ +

+save

+
+public void save(java.lang.String filename,
+                 java.lang.String objname)
+
+
+
+
+
+
+ +

+setSVMDetector

+
+public void setSVMDetector(Mat _svmdetector)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/objdetect/Objdetect.html b/opencv3/javadoc/org/opencv/objdetect/Objdetect.html new file mode 100644 index 0000000..a264c49 --- /dev/null +++ b/opencv3/javadoc/org/opencv/objdetect/Objdetect.html @@ -0,0 +1,367 @@ + + + + + + +Objdetect + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.objdetect +
+Class Objdetect

+
+java.lang.Object
+  extended by org.opencv.objdetect.Objdetect
+
+
+
+
public class Objdetect
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCASCADE_DO_CANNY_PRUNING + +
+           
+static intCASCADE_DO_ROUGH_SEARCH + +
+           
+static intCASCADE_FIND_BIGGEST_OBJECT + +
+           
+static intCASCADE_SCALE_IMAGE + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Objdetect() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+static voidgroupRectangles(MatOfRect rectList, + MatOfInt weights, + int groupThreshold) + +
+           
+static voidgroupRectangles(MatOfRect rectList, + MatOfInt weights, + int groupThreshold, + double eps) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CASCADE_DO_CANNY_PRUNING

+
+public static final int CASCADE_DO_CANNY_PRUNING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CASCADE_DO_ROUGH_SEARCH

+
+public static final int CASCADE_DO_ROUGH_SEARCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CASCADE_FIND_BIGGEST_OBJECT

+
+public static final int CASCADE_FIND_BIGGEST_OBJECT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CASCADE_SCALE_IMAGE

+
+public static final int CASCADE_SCALE_IMAGE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Objdetect

+
+public Objdetect()
+
+
+ + + + + + + + +
+Method Detail
+ +

+groupRectangles

+
+public static void groupRectangles(MatOfRect rectList,
+                                   MatOfInt weights,
+                                   int groupThreshold)
+
+
+
+
+
+
+ +

+groupRectangles

+
+public static void groupRectangles(MatOfRect rectList,
+                                   MatOfInt weights,
+                                   int groupThreshold,
+                                   double eps)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/objdetect/package-frame.html b/opencv3/javadoc/org/opencv/objdetect/package-frame.html new file mode 100644 index 0000000..0ee50da --- /dev/null +++ b/opencv3/javadoc/org/opencv/objdetect/package-frame.html @@ -0,0 +1,38 @@ + + + + + + +org.opencv.objdetect + + + + + + + + + + + +org.opencv.objdetect + + + + +
+Classes  + +
+BaseCascadeClassifier +
+CascadeClassifier +
+HOGDescriptor +
+Objdetect
+ + + + diff --git a/opencv3/javadoc/org/opencv/objdetect/package-summary.html b/opencv3/javadoc/org/opencv/objdetect/package-summary.html new file mode 100644 index 0000000..f93f20a --- /dev/null +++ b/opencv3/javadoc/org/opencv/objdetect/package-summary.html @@ -0,0 +1,165 @@ + + + + + + +org.opencv.objdetect + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.objdetect +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BaseCascadeClassifier 
CascadeClassifier 
HOGDescriptor 
Objdetect 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/objdetect/package-tree.html b/opencv3/javadoc/org/opencv/objdetect/package-tree.html new file mode 100644 index 0000000..35ed74c --- /dev/null +++ b/opencv3/javadoc/org/opencv/objdetect/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +org.opencv.objdetect Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.objdetect +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/AlignExposures.html b/opencv3/javadoc/org/opencv/photo/AlignExposures.html new file mode 100644 index 0000000..b814548 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/AlignExposures.html @@ -0,0 +1,234 @@ + + + + + + +AlignExposures + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class AlignExposures

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.AlignExposures
+
+
+
Direct Known Subclasses:
AlignMTB
+
+
+
+
public class AlignExposures
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidprocess(java.util.List<Mat> src, + java.util.List<Mat> dst, + Mat times, + Mat response) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    java.util.List<Mat> dst,
+                    Mat times,
+                    Mat response)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/AlignMTB.html b/opencv3/javadoc/org/opencv/photo/AlignMTB.html new file mode 100644 index 0000000..5d2b556 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/AlignMTB.html @@ -0,0 +1,437 @@ + + + + + + +AlignMTB + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class AlignMTB

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.AlignExposures
+          extended by org.opencv.photo.AlignMTB
+
+
+
+
public class AlignMTB
extends AlignExposures
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ PointcalculateShift(Mat img0, + Mat img1) + +
+           
+ voidcomputeBitmaps(Mat img, + Mat tb, + Mat eb) + +
+           
+ booleangetCut() + +
+           
+ intgetExcludeRange() + +
+           
+ intgetMaxBits() + +
+           
+ voidprocess(java.util.List<Mat> src, + java.util.List<Mat> dst) + +
+           
+ voidprocess(java.util.List<Mat> src, + java.util.List<Mat> dst, + Mat times, + Mat response) + +
+           
+ voidsetCut(boolean value) + +
+           
+ voidsetExcludeRange(int exclude_range) + +
+           
+ voidsetMaxBits(int max_bits) + +
+           
+ voidshiftMat(Mat src, + Mat dst, + Point shift) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+calculateShift

+
+public Point calculateShift(Mat img0,
+                            Mat img1)
+
+
+
+
+
+
+ +

+computeBitmaps

+
+public void computeBitmaps(Mat img,
+                           Mat tb,
+                           Mat eb)
+
+
+
+
+
+
+ +

+getCut

+
+public boolean getCut()
+
+
+
+
+
+
+ +

+getExcludeRange

+
+public int getExcludeRange()
+
+
+
+
+
+
+ +

+getMaxBits

+
+public int getMaxBits()
+
+
+
+
+
+
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    java.util.List<Mat> dst)
+
+
+
+
+
+
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    java.util.List<Mat> dst,
+                    Mat times,
+                    Mat response)
+
+
+
Overrides:
process in class AlignExposures
+
+
+
+
+
+
+ +

+setCut

+
+public void setCut(boolean value)
+
+
+
+
+
+
+ +

+setExcludeRange

+
+public void setExcludeRange(int exclude_range)
+
+
+
+
+
+
+ +

+setMaxBits

+
+public void setMaxBits(int max_bits)
+
+
+
+
+
+
+ +

+shiftMat

+
+public void shiftMat(Mat src,
+                     Mat dst,
+                     Point shift)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/CalibrateCRF.html b/opencv3/javadoc/org/opencv/photo/CalibrateCRF.html new file mode 100644 index 0000000..2ae9cb4 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/CalibrateCRF.html @@ -0,0 +1,232 @@ + + + + + + +CalibrateCRF + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class CalibrateCRF

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.CalibrateCRF
+
+
+
Direct Known Subclasses:
CalibrateDebevec, CalibrateRobertson
+
+
+
+
public class CalibrateCRF
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidprocess(java.util.List<Mat> src, + Mat dst, + Mat times) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    Mat dst,
+                    Mat times)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/CalibrateDebevec.html b/opencv3/javadoc/org/opencv/photo/CalibrateDebevec.html new file mode 100644 index 0000000..498ed39 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/CalibrateDebevec.html @@ -0,0 +1,330 @@ + + + + + + +CalibrateDebevec + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class CalibrateDebevec

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.CalibrateCRF
+          extended by org.opencv.photo.CalibrateDebevec
+
+
+
+
public class CalibrateDebevec
extends CalibrateCRF
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ floatgetLambda() + +
+           
+ booleangetRandom() + +
+           
+ intgetSamples() + +
+           
+ voidsetLambda(float lambda) + +
+           
+ voidsetRandom(boolean random) + +
+           
+ voidsetSamples(int samples) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.photo.CalibrateCRF
process
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getLambda

+
+public float getLambda()
+
+
+
+
+
+
+ +

+getRandom

+
+public boolean getRandom()
+
+
+
+
+
+
+ +

+getSamples

+
+public int getSamples()
+
+
+
+
+
+
+ +

+setLambda

+
+public void setLambda(float lambda)
+
+
+
+
+
+
+ +

+setRandom

+
+public void setRandom(boolean random)
+
+
+
+
+
+
+ +

+setSamples

+
+public void setSamples(int samples)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/CalibrateRobertson.html b/opencv3/javadoc/org/opencv/photo/CalibrateRobertson.html new file mode 100644 index 0000000..87f02a0 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/CalibrateRobertson.html @@ -0,0 +1,311 @@ + + + + + + +CalibrateRobertson + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class CalibrateRobertson

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.CalibrateCRF
+          extended by org.opencv.photo.CalibrateRobertson
+
+
+
+
public class CalibrateRobertson
extends CalibrateCRF
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intgetMaxIter() + +
+           
+ MatgetRadiance() + +
+           
+ floatgetThreshold() + +
+           
+ voidsetMaxIter(int max_iter) + +
+           
+ voidsetThreshold(float threshold) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.photo.CalibrateCRF
process
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getMaxIter

+
+public int getMaxIter()
+
+
+
+
+
+
+ +

+getRadiance

+
+public Mat getRadiance()
+
+
+
+
+
+
+ +

+getThreshold

+
+public float getThreshold()
+
+
+
+
+
+
+ +

+setMaxIter

+
+public void setMaxIter(int max_iter)
+
+
+
+
+
+
+ +

+setThreshold

+
+public void setThreshold(float threshold)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/MergeDebevec.html b/opencv3/javadoc/org/opencv/photo/MergeDebevec.html new file mode 100644 index 0000000..41a7a08 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/MergeDebevec.html @@ -0,0 +1,258 @@ + + + + + + +MergeDebevec + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class MergeDebevec

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.MergeExposures
+          extended by org.opencv.photo.MergeDebevec
+
+
+
+
public class MergeDebevec
extends MergeExposures
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidprocess(java.util.List<Mat> src, + Mat dst, + Mat times) + +
+           
+ voidprocess(java.util.List<Mat> src, + Mat dst, + Mat times, + Mat response) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    Mat dst,
+                    Mat times)
+
+
+
+
+
+
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    Mat dst,
+                    Mat times,
+                    Mat response)
+
+
+
Overrides:
process in class MergeExposures
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/MergeExposures.html b/opencv3/javadoc/org/opencv/photo/MergeExposures.html new file mode 100644 index 0000000..2ca0418 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/MergeExposures.html @@ -0,0 +1,234 @@ + + + + + + +MergeExposures + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class MergeExposures

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.MergeExposures
+
+
+
Direct Known Subclasses:
MergeDebevec, MergeMertens, MergeRobertson
+
+
+
+
public class MergeExposures
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + +
+Method Summary
+ voidprocess(java.util.List<Mat> src, + Mat dst, + Mat times, + Mat response) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    Mat dst,
+                    Mat times,
+                    Mat response)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/MergeMertens.html b/opencv3/javadoc/org/opencv/photo/MergeMertens.html new file mode 100644 index 0000000..9c84627 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/MergeMertens.html @@ -0,0 +1,370 @@ + + + + + + +MergeMertens + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class MergeMertens

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.MergeExposures
+          extended by org.opencv.photo.MergeMertens
+
+
+
+
public class MergeMertens
extends MergeExposures
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ floatgetContrastWeight() + +
+           
+ floatgetExposureWeight() + +
+           
+ floatgetSaturationWeight() + +
+           
+ voidprocess(java.util.List<Mat> src, + Mat dst) + +
+           
+ voidprocess(java.util.List<Mat> src, + Mat dst, + Mat times, + Mat response) + +
+           
+ voidsetContrastWeight(float contrast_weiht) + +
+           
+ voidsetExposureWeight(float exposure_weight) + +
+           
+ voidsetSaturationWeight(float saturation_weight) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getContrastWeight

+
+public float getContrastWeight()
+
+
+
+
+
+
+ +

+getExposureWeight

+
+public float getExposureWeight()
+
+
+
+
+
+
+ +

+getSaturationWeight

+
+public float getSaturationWeight()
+
+
+
+
+
+
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    Mat dst)
+
+
+
+
+
+
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    Mat dst,
+                    Mat times,
+                    Mat response)
+
+
+
Overrides:
process in class MergeExposures
+
+
+
+
+
+
+ +

+setContrastWeight

+
+public void setContrastWeight(float contrast_weiht)
+
+
+
+
+
+
+ +

+setExposureWeight

+
+public void setExposureWeight(float exposure_weight)
+
+
+
+
+
+
+ +

+setSaturationWeight

+
+public void setSaturationWeight(float saturation_weight)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/MergeRobertson.html b/opencv3/javadoc/org/opencv/photo/MergeRobertson.html new file mode 100644 index 0000000..9b4b6f9 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/MergeRobertson.html @@ -0,0 +1,258 @@ + + + + + + +MergeRobertson + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class MergeRobertson

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.MergeExposures
+          extended by org.opencv.photo.MergeRobertson
+
+
+
+
public class MergeRobertson
extends MergeExposures
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidprocess(java.util.List<Mat> src, + Mat dst, + Mat times) + +
+           
+ voidprocess(java.util.List<Mat> src, + Mat dst, + Mat times, + Mat response) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    Mat dst,
+                    Mat times)
+
+
+
+
+
+
+ +

+process

+
+public void process(java.util.List<Mat> src,
+                    Mat dst,
+                    Mat times,
+                    Mat response)
+
+
+
Overrides:
process in class MergeExposures
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/Photo.html b/opencv3/javadoc/org/opencv/photo/Photo.html new file mode 100644 index 0000000..e71c344 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/Photo.html @@ -0,0 +1,1602 @@ + + + + + + +Photo + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class Photo

+
+java.lang.Object
+  extended by org.opencv.photo.Photo
+
+
+
+
public class Photo
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intINPAINT_NS + +
+           
+static intINPAINT_TELEA + +
+           
+static intLDR_SIZE + +
+           
+static intMIXED_CLONE + +
+           
+static intMONOCHROME_TRANSFER + +
+           
+static intNORMAL_CLONE + +
+           
+static intNORMCONV_FILTER + +
+           
+static intRECURS_FILTER + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Photo() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidcolorChange(Mat src, + Mat mask, + Mat dst) + +
+           
+static voidcolorChange(Mat src, + Mat mask, + Mat dst, + float red_mul, + float green_mul, + float blue_mul) + +
+           
+static AlignMTBcreateAlignMTB() + +
+           
+static AlignMTBcreateAlignMTB(int max_bits, + int exclude_range, + boolean cut) + +
+           
+static CalibrateDebeveccreateCalibrateDebevec() + +
+           
+static CalibrateDebeveccreateCalibrateDebevec(int samples, + float lambda, + boolean random) + +
+           
+static CalibrateRobertsoncreateCalibrateRobertson() + +
+           
+static CalibrateRobertsoncreateCalibrateRobertson(int max_iter, + float threshold) + +
+           
+static MergeDebeveccreateMergeDebevec() + +
+           
+static MergeMertenscreateMergeMertens() + +
+           
+static MergeMertenscreateMergeMertens(float contrast_weight, + float saturation_weight, + float exposure_weight) + +
+           
+static MergeRobertsoncreateMergeRobertson() + +
+           
+static TonemapcreateTonemap() + +
+           
+static TonemapcreateTonemap(float gamma) + +
+           
+static TonemapDragocreateTonemapDrago() + +
+           
+static TonemapDragocreateTonemapDrago(float gamma, + float saturation, + float bias) + +
+           
+static TonemapDurandcreateTonemapDurand() + +
+           
+static TonemapDurandcreateTonemapDurand(float gamma, + float contrast, + float saturation, + float sigma_space, + float sigma_color) + +
+           
+static TonemapMantiukcreateTonemapMantiuk() + +
+           
+static TonemapMantiukcreateTonemapMantiuk(float gamma, + float scale, + float saturation) + +
+           
+static TonemapReinhardcreateTonemapReinhard() + +
+           
+static TonemapReinhardcreateTonemapReinhard(float gamma, + float intensity, + float light_adapt, + float color_adapt) + +
+           
+static voiddecolor(Mat src, + Mat grayscale, + Mat color_boost) + +
+           
+static voiddenoise_TVL1(java.util.List<Mat> observations, + Mat result) + +
+           
+static voiddenoise_TVL1(java.util.List<Mat> observations, + Mat result, + double lambda, + int niters) + +
+           
+static voiddetailEnhance(Mat src, + Mat dst) + +
+           
+static voiddetailEnhance(Mat src, + Mat dst, + float sigma_s, + float sigma_r) + +
+           
+static voidedgePreservingFilter(Mat src, + Mat dst) + +
+           
+static voidedgePreservingFilter(Mat src, + Mat dst, + int flags, + float sigma_s, + float sigma_r) + +
+           
+static voidfastNlMeansDenoising(Mat src, + Mat dst) + +
+           
+static voidfastNlMeansDenoising(Mat src, + Mat dst, + float h, + int templateWindowSize, + int searchWindowSize) + +
+           
+static voidfastNlMeansDenoising(Mat src, + Mat dst, + MatOfFloat h) + +
+           
+static voidfastNlMeansDenoising(Mat src, + Mat dst, + MatOfFloat h, + int templateWindowSize, + int searchWindowSize, + int normType) + +
+           
+static voidfastNlMeansDenoisingColored(Mat src, + Mat dst) + +
+           
+static voidfastNlMeansDenoisingColored(Mat src, + Mat dst, + float h, + float hColor, + int templateWindowSize, + int searchWindowSize) + +
+           
+static voidfastNlMeansDenoisingColoredMulti(java.util.List<Mat> srcImgs, + Mat dst, + int imgToDenoiseIndex, + int temporalWindowSize) + +
+           
+static voidfastNlMeansDenoisingColoredMulti(java.util.List<Mat> srcImgs, + Mat dst, + int imgToDenoiseIndex, + int temporalWindowSize, + float h, + float hColor, + int templateWindowSize, + int searchWindowSize) + +
+           
+static voidfastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs, + Mat dst, + int imgToDenoiseIndex, + int temporalWindowSize) + +
+           
+static voidfastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs, + Mat dst, + int imgToDenoiseIndex, + int temporalWindowSize, + float h, + int templateWindowSize, + int searchWindowSize) + +
+           
+static voidfastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs, + Mat dst, + int imgToDenoiseIndex, + int temporalWindowSize, + MatOfFloat h) + +
+           
+static voidfastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs, + Mat dst, + int imgToDenoiseIndex, + int temporalWindowSize, + MatOfFloat h, + int templateWindowSize, + int searchWindowSize, + int normType) + +
+           
+static voidilluminationChange(Mat src, + Mat mask, + Mat dst) + +
+           
+static voidilluminationChange(Mat src, + Mat mask, + Mat dst, + float alpha, + float beta) + +
+           
+static voidinpaint(Mat src, + Mat inpaintMask, + Mat dst, + double inpaintRadius, + int flags) + +
+           
+static voidpencilSketch(Mat src, + Mat dst1, + Mat dst2) + +
+           
+static voidpencilSketch(Mat src, + Mat dst1, + Mat dst2, + float sigma_s, + float sigma_r, + float shade_factor) + +
+           
+static voidseamlessClone(Mat src, + Mat dst, + Mat mask, + Point p, + Mat blend, + int flags) + +
+           
+static voidstylization(Mat src, + Mat dst) + +
+           
+static voidstylization(Mat src, + Mat dst, + float sigma_s, + float sigma_r) + +
+           
+static voidtextureFlattening(Mat src, + Mat mask, + Mat dst) + +
+           
+static voidtextureFlattening(Mat src, + Mat mask, + Mat dst, + float low_threshold, + float high_threshold, + int kernel_size) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+INPAINT_NS

+
+public static final int INPAINT_NS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+INPAINT_TELEA

+
+public static final int INPAINT_TELEA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LDR_SIZE

+
+public static final int LDR_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MIXED_CLONE

+
+public static final int MIXED_CLONE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MONOCHROME_TRANSFER

+
+public static final int MONOCHROME_TRANSFER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORMAL_CLONE

+
+public static final int NORMAL_CLONE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NORMCONV_FILTER

+
+public static final int NORMCONV_FILTER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+RECURS_FILTER

+
+public static final int RECURS_FILTER
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Photo

+
+public Photo()
+
+
+ + + + + + + + +
+Method Detail
+ +

+colorChange

+
+public static void colorChange(Mat src,
+                               Mat mask,
+                               Mat dst)
+
+
+
+
+
+
+ +

+colorChange

+
+public static void colorChange(Mat src,
+                               Mat mask,
+                               Mat dst,
+                               float red_mul,
+                               float green_mul,
+                               float blue_mul)
+
+
+
+
+
+
+ +

+createAlignMTB

+
+public static AlignMTB createAlignMTB()
+
+
+
+
+
+
+ +

+createAlignMTB

+
+public static AlignMTB createAlignMTB(int max_bits,
+                                      int exclude_range,
+                                      boolean cut)
+
+
+
+
+
+
+ +

+createCalibrateDebevec

+
+public static CalibrateDebevec createCalibrateDebevec()
+
+
+
+
+
+
+ +

+createCalibrateDebevec

+
+public static CalibrateDebevec createCalibrateDebevec(int samples,
+                                                      float lambda,
+                                                      boolean random)
+
+
+
+
+
+
+ +

+createCalibrateRobertson

+
+public static CalibrateRobertson createCalibrateRobertson()
+
+
+
+
+
+
+ +

+createCalibrateRobertson

+
+public static CalibrateRobertson createCalibrateRobertson(int max_iter,
+                                                          float threshold)
+
+
+
+
+
+
+ +

+createMergeDebevec

+
+public static MergeDebevec createMergeDebevec()
+
+
+
+
+
+
+ +

+createMergeMertens

+
+public static MergeMertens createMergeMertens()
+
+
+
+
+
+
+ +

+createMergeMertens

+
+public static MergeMertens createMergeMertens(float contrast_weight,
+                                              float saturation_weight,
+                                              float exposure_weight)
+
+
+
+
+
+
+ +

+createMergeRobertson

+
+public static MergeRobertson createMergeRobertson()
+
+
+
+
+
+
+ +

+createTonemap

+
+public static Tonemap createTonemap()
+
+
+
+
+
+
+ +

+createTonemap

+
+public static Tonemap createTonemap(float gamma)
+
+
+
+
+
+
+ +

+createTonemapDrago

+
+public static TonemapDrago createTonemapDrago()
+
+
+
+
+
+
+ +

+createTonemapDrago

+
+public static TonemapDrago createTonemapDrago(float gamma,
+                                              float saturation,
+                                              float bias)
+
+
+
+
+
+
+ +

+createTonemapDurand

+
+public static TonemapDurand createTonemapDurand()
+
+
+
+
+
+
+ +

+createTonemapDurand

+
+public static TonemapDurand createTonemapDurand(float gamma,
+                                                float contrast,
+                                                float saturation,
+                                                float sigma_space,
+                                                float sigma_color)
+
+
+
+
+
+
+ +

+createTonemapMantiuk

+
+public static TonemapMantiuk createTonemapMantiuk()
+
+
+
+
+
+
+ +

+createTonemapMantiuk

+
+public static TonemapMantiuk createTonemapMantiuk(float gamma,
+                                                  float scale,
+                                                  float saturation)
+
+
+
+
+
+
+ +

+createTonemapReinhard

+
+public static TonemapReinhard createTonemapReinhard()
+
+
+
+
+
+
+ +

+createTonemapReinhard

+
+public static TonemapReinhard createTonemapReinhard(float gamma,
+                                                    float intensity,
+                                                    float light_adapt,
+                                                    float color_adapt)
+
+
+
+
+
+
+ +

+decolor

+
+public static void decolor(Mat src,
+                           Mat grayscale,
+                           Mat color_boost)
+
+
+
+
+
+
+ +

+denoise_TVL1

+
+public static void denoise_TVL1(java.util.List<Mat> observations,
+                                Mat result)
+
+
+
+
+
+
+ +

+denoise_TVL1

+
+public static void denoise_TVL1(java.util.List<Mat> observations,
+                                Mat result,
+                                double lambda,
+                                int niters)
+
+
+
+
+
+
+ +

+detailEnhance

+
+public static void detailEnhance(Mat src,
+                                 Mat dst)
+
+
+
+
+
+
+ +

+detailEnhance

+
+public static void detailEnhance(Mat src,
+                                 Mat dst,
+                                 float sigma_s,
+                                 float sigma_r)
+
+
+
+
+
+
+ +

+edgePreservingFilter

+
+public static void edgePreservingFilter(Mat src,
+                                        Mat dst)
+
+
+
+
+
+
+ +

+edgePreservingFilter

+
+public static void edgePreservingFilter(Mat src,
+                                        Mat dst,
+                                        int flags,
+                                        float sigma_s,
+                                        float sigma_r)
+
+
+
+
+
+
+ +

+fastNlMeansDenoising

+
+public static void fastNlMeansDenoising(Mat src,
+                                        Mat dst)
+
+
+
+
+
+
+ +

+fastNlMeansDenoising

+
+public static void fastNlMeansDenoising(Mat src,
+                                        Mat dst,
+                                        float h,
+                                        int templateWindowSize,
+                                        int searchWindowSize)
+
+
+
+
+
+
+ +

+fastNlMeansDenoising

+
+public static void fastNlMeansDenoising(Mat src,
+                                        Mat dst,
+                                        MatOfFloat h)
+
+
+
+
+
+
+ +

+fastNlMeansDenoising

+
+public static void fastNlMeansDenoising(Mat src,
+                                        Mat dst,
+                                        MatOfFloat h,
+                                        int templateWindowSize,
+                                        int searchWindowSize,
+                                        int normType)
+
+
+
+
+
+
+ +

+fastNlMeansDenoisingColored

+
+public static void fastNlMeansDenoisingColored(Mat src,
+                                               Mat dst)
+
+
+
+
+
+
+ +

+fastNlMeansDenoisingColored

+
+public static void fastNlMeansDenoisingColored(Mat src,
+                                               Mat dst,
+                                               float h,
+                                               float hColor,
+                                               int templateWindowSize,
+                                               int searchWindowSize)
+
+
+
+
+
+
+ +

+fastNlMeansDenoisingColoredMulti

+
+public static void fastNlMeansDenoisingColoredMulti(java.util.List<Mat> srcImgs,
+                                                    Mat dst,
+                                                    int imgToDenoiseIndex,
+                                                    int temporalWindowSize)
+
+
+
+
+
+
+ +

+fastNlMeansDenoisingColoredMulti

+
+public static void fastNlMeansDenoisingColoredMulti(java.util.List<Mat> srcImgs,
+                                                    Mat dst,
+                                                    int imgToDenoiseIndex,
+                                                    int temporalWindowSize,
+                                                    float h,
+                                                    float hColor,
+                                                    int templateWindowSize,
+                                                    int searchWindowSize)
+
+
+
+
+
+
+ +

+fastNlMeansDenoisingMulti

+
+public static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs,
+                                             Mat dst,
+                                             int imgToDenoiseIndex,
+                                             int temporalWindowSize)
+
+
+
+
+
+
+ +

+fastNlMeansDenoisingMulti

+
+public static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs,
+                                             Mat dst,
+                                             int imgToDenoiseIndex,
+                                             int temporalWindowSize,
+                                             float h,
+                                             int templateWindowSize,
+                                             int searchWindowSize)
+
+
+
+
+
+
+ +

+fastNlMeansDenoisingMulti

+
+public static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs,
+                                             Mat dst,
+                                             int imgToDenoiseIndex,
+                                             int temporalWindowSize,
+                                             MatOfFloat h)
+
+
+
+
+
+
+ +

+fastNlMeansDenoisingMulti

+
+public static void fastNlMeansDenoisingMulti(java.util.List<Mat> srcImgs,
+                                             Mat dst,
+                                             int imgToDenoiseIndex,
+                                             int temporalWindowSize,
+                                             MatOfFloat h,
+                                             int templateWindowSize,
+                                             int searchWindowSize,
+                                             int normType)
+
+
+
+
+
+
+ +

+illuminationChange

+
+public static void illuminationChange(Mat src,
+                                      Mat mask,
+                                      Mat dst)
+
+
+
+
+
+
+ +

+illuminationChange

+
+public static void illuminationChange(Mat src,
+                                      Mat mask,
+                                      Mat dst,
+                                      float alpha,
+                                      float beta)
+
+
+
+
+
+
+ +

+inpaint

+
+public static void inpaint(Mat src,
+                           Mat inpaintMask,
+                           Mat dst,
+                           double inpaintRadius,
+                           int flags)
+
+
+
+
+
+
+ +

+pencilSketch

+
+public static void pencilSketch(Mat src,
+                                Mat dst1,
+                                Mat dst2)
+
+
+
+
+
+
+ +

+pencilSketch

+
+public static void pencilSketch(Mat src,
+                                Mat dst1,
+                                Mat dst2,
+                                float sigma_s,
+                                float sigma_r,
+                                float shade_factor)
+
+
+
+
+
+
+ +

+seamlessClone

+
+public static void seamlessClone(Mat src,
+                                 Mat dst,
+                                 Mat mask,
+                                 Point p,
+                                 Mat blend,
+                                 int flags)
+
+
+
+
+
+
+ +

+stylization

+
+public static void stylization(Mat src,
+                               Mat dst)
+
+
+
+
+
+
+ +

+stylization

+
+public static void stylization(Mat src,
+                               Mat dst,
+                               float sigma_s,
+                               float sigma_r)
+
+
+
+
+
+
+ +

+textureFlattening

+
+public static void textureFlattening(Mat src,
+                                     Mat mask,
+                                     Mat dst)
+
+
+
+
+
+
+ +

+textureFlattening

+
+public static void textureFlattening(Mat src,
+                                     Mat mask,
+                                     Mat dst,
+                                     float low_threshold,
+                                     float high_threshold,
+                                     int kernel_size)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/Tonemap.html b/opencv3/javadoc/org/opencv/photo/Tonemap.html new file mode 100644 index 0000000..601e5ba --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/Tonemap.html @@ -0,0 +1,268 @@ + + + + + + +Tonemap + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class Tonemap

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.Tonemap
+
+
+
Direct Known Subclasses:
TonemapDrago, TonemapDurand, TonemapMantiuk, TonemapReinhard
+
+
+
+
public class Tonemap
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ floatgetGamma() + +
+           
+ voidprocess(Mat src, + Mat dst) + +
+           
+ voidsetGamma(float gamma) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getGamma

+
+public float getGamma()
+
+
+
+
+
+
+ +

+process

+
+public void process(Mat src,
+                    Mat dst)
+
+
+
+
+
+
+ +

+setGamma

+
+public void setGamma(float gamma)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/TonemapDrago.html b/opencv3/javadoc/org/opencv/photo/TonemapDrago.html new file mode 100644 index 0000000..cd278e9 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/TonemapDrago.html @@ -0,0 +1,292 @@ + + + + + + +TonemapDrago + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class TonemapDrago

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.Tonemap
+          extended by org.opencv.photo.TonemapDrago
+
+
+
+
public class TonemapDrago
extends Tonemap
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ floatgetBias() + +
+           
+ floatgetSaturation() + +
+           
+ voidsetBias(float bias) + +
+           
+ voidsetSaturation(float saturation) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.photo.Tonemap
getGamma, process, setGamma
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getBias

+
+public float getBias()
+
+
+
+
+
+
+ +

+getSaturation

+
+public float getSaturation()
+
+
+
+
+
+
+ +

+setBias

+
+public void setBias(float bias)
+
+
+
+
+
+
+ +

+setSaturation

+
+public void setSaturation(float saturation)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/TonemapDurand.html b/opencv3/javadoc/org/opencv/photo/TonemapDurand.html new file mode 100644 index 0000000..2537b2f --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/TonemapDurand.html @@ -0,0 +1,368 @@ + + + + + + +TonemapDurand + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class TonemapDurand

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.Tonemap
+          extended by org.opencv.photo.TonemapDurand
+
+
+
+
public class TonemapDurand
extends Tonemap
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ floatgetContrast() + +
+           
+ floatgetSaturation() + +
+           
+ floatgetSigmaColor() + +
+           
+ floatgetSigmaSpace() + +
+           
+ voidsetContrast(float contrast) + +
+           
+ voidsetSaturation(float saturation) + +
+           
+ voidsetSigmaColor(float sigma_color) + +
+           
+ voidsetSigmaSpace(float sigma_space) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.photo.Tonemap
getGamma, process, setGamma
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getContrast

+
+public float getContrast()
+
+
+
+
+
+
+ +

+getSaturation

+
+public float getSaturation()
+
+
+
+
+
+
+ +

+getSigmaColor

+
+public float getSigmaColor()
+
+
+
+
+
+
+ +

+getSigmaSpace

+
+public float getSigmaSpace()
+
+
+
+
+
+
+ +

+setContrast

+
+public void setContrast(float contrast)
+
+
+
+
+
+
+ +

+setSaturation

+
+public void setSaturation(float saturation)
+
+
+
+
+
+
+ +

+setSigmaColor

+
+public void setSigmaColor(float sigma_color)
+
+
+
+
+
+
+ +

+setSigmaSpace

+
+public void setSigmaSpace(float sigma_space)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/TonemapMantiuk.html b/opencv3/javadoc/org/opencv/photo/TonemapMantiuk.html new file mode 100644 index 0000000..e0307eb --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/TonemapMantiuk.html @@ -0,0 +1,292 @@ + + + + + + +TonemapMantiuk + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class TonemapMantiuk

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.Tonemap
+          extended by org.opencv.photo.TonemapMantiuk
+
+
+
+
public class TonemapMantiuk
extends Tonemap
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ floatgetSaturation() + +
+           
+ floatgetScale() + +
+           
+ voidsetSaturation(float saturation) + +
+           
+ voidsetScale(float scale) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.photo.Tonemap
getGamma, process, setGamma
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getSaturation

+
+public float getSaturation()
+
+
+
+
+
+
+ +

+getScale

+
+public float getScale()
+
+
+
+
+
+
+ +

+setSaturation

+
+public void setSaturation(float saturation)
+
+
+
+
+
+
+ +

+setScale

+
+public void setScale(float scale)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/TonemapReinhard.html b/opencv3/javadoc/org/opencv/photo/TonemapReinhard.html new file mode 100644 index 0000000..2a71654 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/TonemapReinhard.html @@ -0,0 +1,330 @@ + + + + + + +TonemapReinhard + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.photo +
+Class TonemapReinhard

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.photo.Tonemap
+          extended by org.opencv.photo.TonemapReinhard
+
+
+
+
public class TonemapReinhard
extends Tonemap
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ floatgetColorAdaptation() + +
+           
+ floatgetIntensity() + +
+           
+ floatgetLightAdaptation() + +
+           
+ voidsetColorAdaptation(float color_adapt) + +
+           
+ voidsetIntensity(float intensity) + +
+           
+ voidsetLightAdaptation(float light_adapt) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.photo.Tonemap
getGamma, process, setGamma
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getColorAdaptation

+
+public float getColorAdaptation()
+
+
+
+
+
+
+ +

+getIntensity

+
+public float getIntensity()
+
+
+
+
+
+
+ +

+getLightAdaptation

+
+public float getLightAdaptation()
+
+
+
+
+
+
+ +

+setColorAdaptation

+
+public void setColorAdaptation(float color_adapt)
+
+
+
+
+
+
+ +

+setIntensity

+
+public void setIntensity(float intensity)
+
+
+
+
+
+
+ +

+setLightAdaptation

+
+public void setLightAdaptation(float light_adapt)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/package-frame.html b/opencv3/javadoc/org/opencv/photo/package-frame.html new file mode 100644 index 0000000..8b53855 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/package-frame.html @@ -0,0 +1,60 @@ + + + + + + +org.opencv.photo + + + + + + + + + + + +org.opencv.photo + + + + +
+Classes  + +
+AlignExposures +
+AlignMTB +
+CalibrateCRF +
+CalibrateDebevec +
+CalibrateRobertson +
+MergeDebevec +
+MergeExposures +
+MergeMertens +
+MergeRobertson +
+Photo +
+Tonemap +
+TonemapDrago +
+TonemapDurand +
+TonemapMantiuk +
+TonemapReinhard
+ + + + diff --git a/opencv3/javadoc/org/opencv/photo/package-summary.html b/opencv3/javadoc/org/opencv/photo/package-summary.html new file mode 100644 index 0000000..feac5e4 --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/package-summary.html @@ -0,0 +1,209 @@ + + + + + + +org.opencv.photo + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.photo +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AlignExposures 
AlignMTB 
CalibrateCRF 
CalibrateDebevec 
CalibrateRobertson 
MergeDebevec 
MergeExposures 
MergeMertens 
MergeRobertson 
Photo 
Tonemap 
TonemapDrago 
TonemapDurand 
TonemapMantiuk 
TonemapReinhard 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/photo/package-tree.html b/opencv3/javadoc/org/opencv/photo/package-tree.html new file mode 100644 index 0000000..acefacb --- /dev/null +++ b/opencv3/javadoc/org/opencv/photo/package-tree.html @@ -0,0 +1,159 @@ + + + + + + +org.opencv.photo Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.photo +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/utils/Converters.html b/opencv3/javadoc/org/opencv/utils/Converters.html new file mode 100644 index 0000000..6e73341 --- /dev/null +++ b/opencv3/javadoc/org/opencv/utils/Converters.html @@ -0,0 +1,1144 @@ + + + + + + +Converters + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.utils +
+Class Converters

+
+java.lang.Object
+  extended by org.opencv.utils.Converters
+
+
+
+
public class Converters
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + +
+Constructor Summary
Converters() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voidMat_to_vector_char(Mat m, + java.util.List<java.lang.Byte> bs) + +
+           
+static voidMat_to_vector_DMatch(Mat m, + java.util.List<DMatch> matches) + +
+           
+static voidMat_to_vector_double(Mat m, + java.util.List<java.lang.Double> ds) + +
+           
+static voidMat_to_vector_float(Mat m, + java.util.List<java.lang.Float> fs) + +
+           
+static voidMat_to_vector_int(Mat m, + java.util.List<java.lang.Integer> is) + +
+           
+static voidMat_to_vector_KeyPoint(Mat m, + java.util.List<KeyPoint> kps) + +
+           
+static voidMat_to_vector_Mat(Mat m, + java.util.List<Mat> mats) + +
+           
+static voidMat_to_vector_Point(Mat m, + java.util.List<Point> pts) + +
+           
+static voidMat_to_vector_Point2d(Mat m, + java.util.List<Point> pts) + +
+           
+static voidMat_to_vector_Point2f(Mat m, + java.util.List<Point> pts) + +
+           
+static voidMat_to_vector_Point3(Mat m, + java.util.List<Point3> pts) + +
+           
+static voidMat_to_vector_Point3d(Mat m, + java.util.List<Point3> pts) + +
+           
+static voidMat_to_vector_Point3f(Mat m, + java.util.List<Point3> pts) + +
+           
+static voidMat_to_vector_Point3i(Mat m, + java.util.List<Point3> pts) + +
+           
+static voidMat_to_vector_Rect(Mat m, + java.util.List<Rect> rs) + +
+           
+static voidMat_to_vector_uchar(Mat m, + java.util.List<java.lang.Byte> us) + +
+           
+static voidMat_to_vector_vector_char(Mat m, + java.util.List<java.util.List<java.lang.Byte>> llb) + +
+           
+static voidMat_to_vector_vector_DMatch(Mat m, + java.util.List<MatOfDMatch> lvdm) + +
+           
+static voidMat_to_vector_vector_KeyPoint(Mat m, + java.util.List<MatOfKeyPoint> kps) + +
+           
+static voidMat_to_vector_vector_Point(Mat m, + java.util.List<MatOfPoint> pts) + +
+           
+static voidMat_to_vector_vector_Point2f(Mat m, + java.util.List<MatOfPoint2f> pts) + +
+           
+static voidMat_to_vector_vector_Point3f(Mat m, + java.util.List<MatOfPoint3f> pts) + +
+           
+static Matvector_char_to_Mat(java.util.List<java.lang.Byte> bs) + +
+           
+static Matvector_DMatch_to_Mat(java.util.List<DMatch> matches) + +
+           
+static Matvector_double_to_Mat(java.util.List<java.lang.Double> ds) + +
+           
+static Matvector_float_to_Mat(java.util.List<java.lang.Float> fs) + +
+           
+static Matvector_int_to_Mat(java.util.List<java.lang.Integer> is) + +
+           
+static Matvector_KeyPoint_to_Mat(java.util.List<KeyPoint> kps) + +
+           
+static Matvector_Mat_to_Mat(java.util.List<Mat> mats) + +
+           
+static Matvector_Point_to_Mat(java.util.List<Point> pts) + +
+           
+static Matvector_Point_to_Mat(java.util.List<Point> pts, + int typeDepth) + +
+           
+static Matvector_Point2d_to_Mat(java.util.List<Point> pts) + +
+           
+static Matvector_Point2f_to_Mat(java.util.List<Point> pts) + +
+           
+static Matvector_Point3_to_Mat(java.util.List<Point3> pts, + int typeDepth) + +
+           
+static Matvector_Point3d_to_Mat(java.util.List<Point3> pts) + +
+           
+static Matvector_Point3f_to_Mat(java.util.List<Point3> pts) + +
+           
+static Matvector_Point3i_to_Mat(java.util.List<Point3> pts) + +
+           
+static Matvector_Rect_to_Mat(java.util.List<Rect> rs) + +
+           
+static Matvector_uchar_to_Mat(java.util.List<java.lang.Byte> bs) + +
+           
+static Matvector_vector_char_to_Mat(java.util.List<MatOfByte> lvb, + java.util.List<Mat> mats) + +
+           
+static Matvector_vector_DMatch_to_Mat(java.util.List<MatOfDMatch> lvdm, + java.util.List<Mat> mats) + +
+           
+static Matvector_vector_KeyPoint_to_Mat(java.util.List<MatOfKeyPoint> kps, + java.util.List<Mat> mats) + +
+           
+static Matvector_vector_Point_to_Mat(java.util.List<MatOfPoint> pts, + java.util.List<Mat> mats) + +
+           
+static Matvector_vector_Point2f_to_Mat(java.util.List<MatOfPoint2f> pts, + java.util.List<Mat> mats) + +
+           
+static Matvector_vector_Point3f_to_Mat(java.util.List<MatOfPoint3f> pts, + java.util.List<Mat> mats) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Converters

+
+public Converters()
+
+
+ + + + + + + + +
+Method Detail
+ +

+Mat_to_vector_char

+
+public static void Mat_to_vector_char(Mat m,
+                                      java.util.List<java.lang.Byte> bs)
+
+
+
+
+
+
+ +

+Mat_to_vector_DMatch

+
+public static void Mat_to_vector_DMatch(Mat m,
+                                        java.util.List<DMatch> matches)
+
+
+
+
+
+
+ +

+Mat_to_vector_double

+
+public static void Mat_to_vector_double(Mat m,
+                                        java.util.List<java.lang.Double> ds)
+
+
+
+
+
+
+ +

+Mat_to_vector_float

+
+public static void Mat_to_vector_float(Mat m,
+                                       java.util.List<java.lang.Float> fs)
+
+
+
+
+
+
+ +

+Mat_to_vector_int

+
+public static void Mat_to_vector_int(Mat m,
+                                     java.util.List<java.lang.Integer> is)
+
+
+
+
+
+
+ +

+Mat_to_vector_KeyPoint

+
+public static void Mat_to_vector_KeyPoint(Mat m,
+                                          java.util.List<KeyPoint> kps)
+
+
+
+
+
+
+ +

+Mat_to_vector_Mat

+
+public static void Mat_to_vector_Mat(Mat m,
+                                     java.util.List<Mat> mats)
+
+
+
+
+
+
+ +

+Mat_to_vector_Point

+
+public static void Mat_to_vector_Point(Mat m,
+                                       java.util.List<Point> pts)
+
+
+
+
+
+
+ +

+Mat_to_vector_Point2d

+
+public static void Mat_to_vector_Point2d(Mat m,
+                                         java.util.List<Point> pts)
+
+
+
+
+
+
+ +

+Mat_to_vector_Point2f

+
+public static void Mat_to_vector_Point2f(Mat m,
+                                         java.util.List<Point> pts)
+
+
+
+
+
+
+ +

+Mat_to_vector_Point3

+
+public static void Mat_to_vector_Point3(Mat m,
+                                        java.util.List<Point3> pts)
+
+
+
+
+
+
+ +

+Mat_to_vector_Point3d

+
+public static void Mat_to_vector_Point3d(Mat m,
+                                         java.util.List<Point3> pts)
+
+
+
+
+
+
+ +

+Mat_to_vector_Point3f

+
+public static void Mat_to_vector_Point3f(Mat m,
+                                         java.util.List<Point3> pts)
+
+
+
+
+
+
+ +

+Mat_to_vector_Point3i

+
+public static void Mat_to_vector_Point3i(Mat m,
+                                         java.util.List<Point3> pts)
+
+
+
+
+
+
+ +

+Mat_to_vector_Rect

+
+public static void Mat_to_vector_Rect(Mat m,
+                                      java.util.List<Rect> rs)
+
+
+
+
+
+
+ +

+Mat_to_vector_uchar

+
+public static void Mat_to_vector_uchar(Mat m,
+                                       java.util.List<java.lang.Byte> us)
+
+
+
+
+
+
+ +

+Mat_to_vector_vector_char

+
+public static void Mat_to_vector_vector_char(Mat m,
+                                             java.util.List<java.util.List<java.lang.Byte>> llb)
+
+
+
+
+
+
+ +

+Mat_to_vector_vector_DMatch

+
+public static void Mat_to_vector_vector_DMatch(Mat m,
+                                               java.util.List<MatOfDMatch> lvdm)
+
+
+
+
+
+
+ +

+Mat_to_vector_vector_KeyPoint

+
+public static void Mat_to_vector_vector_KeyPoint(Mat m,
+                                                 java.util.List<MatOfKeyPoint> kps)
+
+
+
+
+
+
+ +

+Mat_to_vector_vector_Point

+
+public static void Mat_to_vector_vector_Point(Mat m,
+                                              java.util.List<MatOfPoint> pts)
+
+
+
+
+
+
+ +

+Mat_to_vector_vector_Point2f

+
+public static void Mat_to_vector_vector_Point2f(Mat m,
+                                                java.util.List<MatOfPoint2f> pts)
+
+
+
+
+
+
+ +

+Mat_to_vector_vector_Point3f

+
+public static void Mat_to_vector_vector_Point3f(Mat m,
+                                                java.util.List<MatOfPoint3f> pts)
+
+
+
+
+
+
+ +

+vector_char_to_Mat

+
+public static Mat vector_char_to_Mat(java.util.List<java.lang.Byte> bs)
+
+
+
+
+
+
+ +

+vector_DMatch_to_Mat

+
+public static Mat vector_DMatch_to_Mat(java.util.List<DMatch> matches)
+
+
+
+
+
+
+ +

+vector_double_to_Mat

+
+public static Mat vector_double_to_Mat(java.util.List<java.lang.Double> ds)
+
+
+
+
+
+
+ +

+vector_float_to_Mat

+
+public static Mat vector_float_to_Mat(java.util.List<java.lang.Float> fs)
+
+
+
+
+
+
+ +

+vector_int_to_Mat

+
+public static Mat vector_int_to_Mat(java.util.List<java.lang.Integer> is)
+
+
+
+
+
+
+ +

+vector_KeyPoint_to_Mat

+
+public static Mat vector_KeyPoint_to_Mat(java.util.List<KeyPoint> kps)
+
+
+
+
+
+
+ +

+vector_Mat_to_Mat

+
+public static Mat vector_Mat_to_Mat(java.util.List<Mat> mats)
+
+
+
+
+
+
+ +

+vector_Point_to_Mat

+
+public static Mat vector_Point_to_Mat(java.util.List<Point> pts)
+
+
+
+
+
+
+ +

+vector_Point_to_Mat

+
+public static Mat vector_Point_to_Mat(java.util.List<Point> pts,
+                                      int typeDepth)
+
+
+
+
+
+
+ +

+vector_Point2d_to_Mat

+
+public static Mat vector_Point2d_to_Mat(java.util.List<Point> pts)
+
+
+
+
+
+
+ +

+vector_Point2f_to_Mat

+
+public static Mat vector_Point2f_to_Mat(java.util.List<Point> pts)
+
+
+
+
+
+
+ +

+vector_Point3_to_Mat

+
+public static Mat vector_Point3_to_Mat(java.util.List<Point3> pts,
+                                       int typeDepth)
+
+
+
+
+
+
+ +

+vector_Point3d_to_Mat

+
+public static Mat vector_Point3d_to_Mat(java.util.List<Point3> pts)
+
+
+
+
+
+
+ +

+vector_Point3f_to_Mat

+
+public static Mat vector_Point3f_to_Mat(java.util.List<Point3> pts)
+
+
+
+
+
+
+ +

+vector_Point3i_to_Mat

+
+public static Mat vector_Point3i_to_Mat(java.util.List<Point3> pts)
+
+
+
+
+
+
+ +

+vector_Rect_to_Mat

+
+public static Mat vector_Rect_to_Mat(java.util.List<Rect> rs)
+
+
+
+
+
+
+ +

+vector_uchar_to_Mat

+
+public static Mat vector_uchar_to_Mat(java.util.List<java.lang.Byte> bs)
+
+
+
+
+
+
+ +

+vector_vector_char_to_Mat

+
+public static Mat vector_vector_char_to_Mat(java.util.List<MatOfByte> lvb,
+                                            java.util.List<Mat> mats)
+
+
+
+
+
+
+ +

+vector_vector_DMatch_to_Mat

+
+public static Mat vector_vector_DMatch_to_Mat(java.util.List<MatOfDMatch> lvdm,
+                                              java.util.List<Mat> mats)
+
+
+
+
+
+
+ +

+vector_vector_KeyPoint_to_Mat

+
+public static Mat vector_vector_KeyPoint_to_Mat(java.util.List<MatOfKeyPoint> kps,
+                                                java.util.List<Mat> mats)
+
+
+
+
+
+
+ +

+vector_vector_Point_to_Mat

+
+public static Mat vector_vector_Point_to_Mat(java.util.List<MatOfPoint> pts,
+                                             java.util.List<Mat> mats)
+
+
+
+
+
+
+ +

+vector_vector_Point2f_to_Mat

+
+public static Mat vector_vector_Point2f_to_Mat(java.util.List<MatOfPoint2f> pts,
+                                               java.util.List<Mat> mats)
+
+
+
+
+
+
+ +

+vector_vector_Point3f_to_Mat

+
+public static Mat vector_vector_Point3f_to_Mat(java.util.List<MatOfPoint3f> pts,
+                                               java.util.List<Mat> mats)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/utils/package-frame.html b/opencv3/javadoc/org/opencv/utils/package-frame.html new file mode 100644 index 0000000..4af0378 --- /dev/null +++ b/opencv3/javadoc/org/opencv/utils/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +org.opencv.utils + + + + + + + + + + + +org.opencv.utils + + + + +
+Classes  + +
+Converters
+ + + + diff --git a/opencv3/javadoc/org/opencv/utils/package-summary.html b/opencv3/javadoc/org/opencv/utils/package-summary.html new file mode 100644 index 0000000..99efb13 --- /dev/null +++ b/opencv3/javadoc/org/opencv/utils/package-summary.html @@ -0,0 +1,153 @@ + + + + + + +org.opencv.utils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.utils +

+ + + + + + + + + +
+Class Summary
Converters 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/utils/package-tree.html b/opencv3/javadoc/org/opencv/utils/package-tree.html new file mode 100644 index 0000000..0ea25a7 --- /dev/null +++ b/opencv3/javadoc/org/opencv/utils/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +org.opencv.utils Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.utils +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/video/BackgroundSubtractor.html b/opencv3/javadoc/org/opencv/video/BackgroundSubtractor.html new file mode 100644 index 0000000..0602a60 --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/BackgroundSubtractor.html @@ -0,0 +1,272 @@ + + + + + + +BackgroundSubtractor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.video +
+Class BackgroundSubtractor

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.video.BackgroundSubtractor
+
+
+
Direct Known Subclasses:
BackgroundSubtractorKNN, BackgroundSubtractorMOG2
+
+
+
+
public class BackgroundSubtractor
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidapply(Mat image, + Mat fgmask) + +
+           
+ voidapply(Mat image, + Mat fgmask, + double learningRate) + +
+           
+ voidgetBackgroundImage(Mat backgroundImage) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+apply

+
+public void apply(Mat image,
+                  Mat fgmask)
+
+
+
+
+
+
+ +

+apply

+
+public void apply(Mat image,
+                  Mat fgmask,
+                  double learningRate)
+
+
+
+
+
+
+ +

+getBackgroundImage

+
+public void getBackgroundImage(Mat backgroundImage)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/video/BackgroundSubtractorKNN.html b/opencv3/javadoc/org/opencv/video/BackgroundSubtractorKNN.html new file mode 100644 index 0000000..fc24e29 --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/BackgroundSubtractorKNN.html @@ -0,0 +1,482 @@ + + + + + + +BackgroundSubtractorKNN + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.video +
+Class BackgroundSubtractorKNN

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.video.BackgroundSubtractor
+          extended by org.opencv.video.BackgroundSubtractorKNN
+
+
+
+
public class BackgroundSubtractorKNN
extends BackgroundSubtractor
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleangetDetectShadows() + +
+           
+ doublegetDist2Threshold() + +
+           
+ intgetHistory() + +
+           
+ intgetkNNSamples() + +
+           
+ intgetNSamples() + +
+           
+ doublegetShadowThreshold() + +
+           
+ intgetShadowValue() + +
+           
+ voidsetDetectShadows(boolean detectShadows) + +
+           
+ voidsetDist2Threshold(double _dist2Threshold) + +
+           
+ voidsetHistory(int history) + +
+           
+ voidsetkNNSamples(int _nkNN) + +
+           
+ voidsetNSamples(int _nN) + +
+           
+ voidsetShadowThreshold(double threshold) + +
+           
+ voidsetShadowValue(int value) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.video.BackgroundSubtractor
apply, apply, getBackgroundImage
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getDetectShadows

+
+public boolean getDetectShadows()
+
+
+
+
+
+
+ +

+getDist2Threshold

+
+public double getDist2Threshold()
+
+
+
+
+
+
+ +

+getHistory

+
+public int getHistory()
+
+
+
+
+
+
+ +

+getkNNSamples

+
+public int getkNNSamples()
+
+
+
+
+
+
+ +

+getNSamples

+
+public int getNSamples()
+
+
+
+
+
+
+ +

+getShadowThreshold

+
+public double getShadowThreshold()
+
+
+
+
+
+
+ +

+getShadowValue

+
+public int getShadowValue()
+
+
+
+
+
+
+ +

+setDetectShadows

+
+public void setDetectShadows(boolean detectShadows)
+
+
+
+
+
+
+ +

+setDist2Threshold

+
+public void setDist2Threshold(double _dist2Threshold)
+
+
+
+
+
+
+ +

+setHistory

+
+public void setHistory(int history)
+
+
+
+
+
+
+ +

+setkNNSamples

+
+public void setkNNSamples(int _nkNN)
+
+
+
+
+
+
+ +

+setNSamples

+
+public void setNSamples(int _nN)
+
+
+
+
+
+
+ +

+setShadowThreshold

+
+public void setShadowThreshold(double threshold)
+
+
+
+
+
+
+ +

+setShadowValue

+
+public void setShadowValue(int value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/video/BackgroundSubtractorMOG2.html b/opencv3/javadoc/org/opencv/video/BackgroundSubtractorMOG2.html new file mode 100644 index 0000000..8866d9d --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/BackgroundSubtractorMOG2.html @@ -0,0 +1,672 @@ + + + + + + +BackgroundSubtractorMOG2 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.video +
+Class BackgroundSubtractorMOG2

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.video.BackgroundSubtractor
+          extended by org.opencv.video.BackgroundSubtractorMOG2
+
+
+
+
public class BackgroundSubtractorMOG2
extends BackgroundSubtractor
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doublegetBackgroundRatio() + +
+           
+ doublegetComplexityReductionThreshold() + +
+           
+ booleangetDetectShadows() + +
+           
+ intgetHistory() + +
+           
+ intgetNMixtures() + +
+           
+ doublegetShadowThreshold() + +
+           
+ intgetShadowValue() + +
+           
+ doublegetVarInit() + +
+           
+ doublegetVarMax() + +
+           
+ doublegetVarMin() + +
+           
+ doublegetVarThreshold() + +
+           
+ doublegetVarThresholdGen() + +
+           
+ voidsetBackgroundRatio(double ratio) + +
+           
+ voidsetComplexityReductionThreshold(double ct) + +
+           
+ voidsetDetectShadows(boolean detectShadows) + +
+           
+ voidsetHistory(int history) + +
+           
+ voidsetNMixtures(int nmixtures) + +
+           
+ voidsetShadowThreshold(double threshold) + +
+           
+ voidsetShadowValue(int value) + +
+           
+ voidsetVarInit(double varInit) + +
+           
+ voidsetVarMax(double varMax) + +
+           
+ voidsetVarMin(double varMin) + +
+           
+ voidsetVarThreshold(double varThreshold) + +
+           
+ voidsetVarThresholdGen(double varThresholdGen) + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.video.BackgroundSubtractor
apply, apply, getBackgroundImage
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+getBackgroundRatio

+
+public double getBackgroundRatio()
+
+
+
+
+
+
+ +

+getComplexityReductionThreshold

+
+public double getComplexityReductionThreshold()
+
+
+
+
+
+
+ +

+getDetectShadows

+
+public boolean getDetectShadows()
+
+
+
+
+
+
+ +

+getHistory

+
+public int getHistory()
+
+
+
+
+
+
+ +

+getNMixtures

+
+public int getNMixtures()
+
+
+
+
+
+
+ +

+getShadowThreshold

+
+public double getShadowThreshold()
+
+
+
+
+
+
+ +

+getShadowValue

+
+public int getShadowValue()
+
+
+
+
+
+
+ +

+getVarInit

+
+public double getVarInit()
+
+
+
+
+
+
+ +

+getVarMax

+
+public double getVarMax()
+
+
+
+
+
+
+ +

+getVarMin

+
+public double getVarMin()
+
+
+
+
+
+
+ +

+getVarThreshold

+
+public double getVarThreshold()
+
+
+
+
+
+
+ +

+getVarThresholdGen

+
+public double getVarThresholdGen()
+
+
+
+
+
+
+ +

+setBackgroundRatio

+
+public void setBackgroundRatio(double ratio)
+
+
+
+
+
+
+ +

+setComplexityReductionThreshold

+
+public void setComplexityReductionThreshold(double ct)
+
+
+
+
+
+
+ +

+setDetectShadows

+
+public void setDetectShadows(boolean detectShadows)
+
+
+
+
+
+
+ +

+setHistory

+
+public void setHistory(int history)
+
+
+
+
+
+
+ +

+setNMixtures

+
+public void setNMixtures(int nmixtures)
+
+
+
+
+
+
+ +

+setShadowThreshold

+
+public void setShadowThreshold(double threshold)
+
+
+
+
+
+
+ +

+setShadowValue

+
+public void setShadowValue(int value)
+
+
+
+
+
+
+ +

+setVarInit

+
+public void setVarInit(double varInit)
+
+
+
+
+
+
+ +

+setVarMax

+
+public void setVarMax(double varMax)
+
+
+
+
+
+
+ +

+setVarMin

+
+public void setVarMin(double varMin)
+
+
+
+
+
+
+ +

+setVarThreshold

+
+public void setVarThreshold(double varThreshold)
+
+
+
+
+
+
+ +

+setVarThresholdGen

+
+public void setVarThresholdGen(double varThresholdGen)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/video/DenseOpticalFlow.html b/opencv3/javadoc/org/opencv/video/DenseOpticalFlow.html new file mode 100644 index 0000000..3daa6f1 --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/DenseOpticalFlow.html @@ -0,0 +1,251 @@ + + + + + + +DenseOpticalFlow + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.video +
+Class DenseOpticalFlow

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.video.DenseOpticalFlow
+
+
+
Direct Known Subclasses:
DualTVL1OpticalFlow
+
+
+
+
public class DenseOpticalFlow
extends Algorithm
+ + +

+


+ +

+ + + + + + + + + + + + + + + + +
+Method Summary
+ voidcalc(Mat I0, + Mat I1, + Mat flow) + +
+           
+ voidcollectGarbage() + +
+           
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Method Detail
+ +

+calc

+
+public void calc(Mat I0,
+                 Mat I1,
+                 Mat flow)
+
+
+
+
+
+
+ +

+collectGarbage

+
+public void collectGarbage()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/video/DualTVL1OpticalFlow.html b/opencv3/javadoc/org/opencv/video/DualTVL1OpticalFlow.html new file mode 100644 index 0000000..f813751 --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/DualTVL1OpticalFlow.html @@ -0,0 +1,207 @@ + + + + + + +DualTVL1OpticalFlow + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.video +
+Class DualTVL1OpticalFlow

+
+java.lang.Object
+  extended by org.opencv.core.Algorithm
+      extended by org.opencv.video.DenseOpticalFlow
+          extended by org.opencv.video.DualTVL1OpticalFlow
+
+
+
+
public class DualTVL1OpticalFlow
extends DenseOpticalFlow
+ + +

+


+ +

+ + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class org.opencv.video.DenseOpticalFlow
calc, collectGarbage
+ + + + + + + +
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, save
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ +


+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/video/KalmanFilter.html b/opencv3/javadoc/org/opencv/video/KalmanFilter.html new file mode 100644 index 0000000..d781af3 --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/KalmanFilter.html @@ -0,0 +1,702 @@ + + + + + + +KalmanFilter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.video +
+Class KalmanFilter

+
+java.lang.Object
+  extended by org.opencv.video.KalmanFilter
+
+
+
+
public class KalmanFilter
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
KalmanFilter() + +
+           
KalmanFilter(int dynamParams, + int measureParams) + +
+           
KalmanFilter(int dynamParams, + int measureParams, + int controlParams, + int type) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ Matcorrect(Mat measurement) + +
+           
+ Matget_controlMatrix() + +
+           
+ Matget_errorCovPost() + +
+           
+ Matget_errorCovPre() + +
+           
+ Matget_gain() + +
+           
+ Matget_measurementMatrix() + +
+           
+ Matget_measurementNoiseCov() + +
+           
+ Matget_processNoiseCov() + +
+           
+ Matget_statePost() + +
+           
+ Matget_statePre() + +
+           
+ Matget_transitionMatrix() + +
+           
+ Matpredict() + +
+           
+ Matpredict(Mat control) + +
+           
+ voidset_controlMatrix(Mat controlMatrix) + +
+           
+ voidset_errorCovPost(Mat errorCovPost) + +
+           
+ voidset_errorCovPre(Mat errorCovPre) + +
+           
+ voidset_gain(Mat gain) + +
+           
+ voidset_measurementMatrix(Mat measurementMatrix) + +
+           
+ voidset_measurementNoiseCov(Mat measurementNoiseCov) + +
+           
+ voidset_processNoiseCov(Mat processNoiseCov) + +
+           
+ voidset_statePost(Mat statePost) + +
+           
+ voidset_statePre(Mat statePre) + +
+           
+ voidset_transitionMatrix(Mat transitionMatrix) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+KalmanFilter

+
+public KalmanFilter()
+
+
+
+ +

+KalmanFilter

+
+public KalmanFilter(int dynamParams,
+                    int measureParams)
+
+
+
+ +

+KalmanFilter

+
+public KalmanFilter(int dynamParams,
+                    int measureParams,
+                    int controlParams,
+                    int type)
+
+
+ + + + + + + + +
+Method Detail
+ +

+correct

+
+public Mat correct(Mat measurement)
+
+
+
+
+
+
+ +

+get_controlMatrix

+
+public Mat get_controlMatrix()
+
+
+
+
+
+
+ +

+get_errorCovPost

+
+public Mat get_errorCovPost()
+
+
+
+
+
+
+ +

+get_errorCovPre

+
+public Mat get_errorCovPre()
+
+
+
+
+
+
+ +

+get_gain

+
+public Mat get_gain()
+
+
+
+
+
+
+ +

+get_measurementMatrix

+
+public Mat get_measurementMatrix()
+
+
+
+
+
+
+ +

+get_measurementNoiseCov

+
+public Mat get_measurementNoiseCov()
+
+
+
+
+
+
+ +

+get_processNoiseCov

+
+public Mat get_processNoiseCov()
+
+
+
+
+
+
+ +

+get_statePost

+
+public Mat get_statePost()
+
+
+
+
+
+
+ +

+get_statePre

+
+public Mat get_statePre()
+
+
+
+
+
+
+ +

+get_transitionMatrix

+
+public Mat get_transitionMatrix()
+
+
+
+
+
+
+ +

+predict

+
+public Mat predict()
+
+
+
+
+
+
+ +

+predict

+
+public Mat predict(Mat control)
+
+
+
+
+
+
+ +

+set_controlMatrix

+
+public void set_controlMatrix(Mat controlMatrix)
+
+
+
+
+
+
+ +

+set_errorCovPost

+
+public void set_errorCovPost(Mat errorCovPost)
+
+
+
+
+
+
+ +

+set_errorCovPre

+
+public void set_errorCovPre(Mat errorCovPre)
+
+
+
+
+
+
+ +

+set_gain

+
+public void set_gain(Mat gain)
+
+
+
+
+
+
+ +

+set_measurementMatrix

+
+public void set_measurementMatrix(Mat measurementMatrix)
+
+
+
+
+
+
+ +

+set_measurementNoiseCov

+
+public void set_measurementNoiseCov(Mat measurementNoiseCov)
+
+
+
+
+
+
+ +

+set_processNoiseCov

+
+public void set_processNoiseCov(Mat processNoiseCov)
+
+
+
+
+
+
+ +

+set_statePost

+
+public void set_statePost(Mat statePost)
+
+
+
+
+
+
+ +

+set_statePre

+
+public void set_statePre(Mat statePre)
+
+
+
+
+
+
+ +

+set_transitionMatrix

+
+public void set_transitionMatrix(Mat transitionMatrix)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/video/Video.html b/opencv3/javadoc/org/opencv/video/Video.html new file mode 100644 index 0000000..f45c711 --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/Video.html @@ -0,0 +1,818 @@ + + + + + + +Video + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.video +
+Class Video

+
+java.lang.Object
+  extended by org.opencv.video.Video
+
+
+
+
public class Video
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intMOTION_AFFINE + +
+           
+static intMOTION_EUCLIDEAN + +
+           
+static intMOTION_HOMOGRAPHY + +
+           
+static intMOTION_TRANSLATION + +
+           
+static intOPTFLOW_FARNEBACK_GAUSSIAN + +
+           
+static intOPTFLOW_LK_GET_MIN_EIGENVALS + +
+           
+static intOPTFLOW_USE_INITIAL_FLOW + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Video() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static intbuildOpticalFlowPyramid(Mat img, + java.util.List<Mat> pyramid, + Size winSize, + int maxLevel) + +
+           
+static intbuildOpticalFlowPyramid(Mat img, + java.util.List<Mat> pyramid, + Size winSize, + int maxLevel, + boolean withDerivatives, + int pyrBorder, + int derivBorder, + boolean tryReuseInputImage) + +
+           
+static voidcalcOpticalFlowFarneback(Mat prev, + Mat next, + Mat flow, + double pyr_scale, + int levels, + int winsize, + int iterations, + int poly_n, + double poly_sigma, + int flags) + +
+           
+static voidcalcOpticalFlowPyrLK(Mat prevImg, + Mat nextImg, + MatOfPoint2f prevPts, + MatOfPoint2f nextPts, + MatOfByte status, + MatOfFloat err) + +
+           
+static voidcalcOpticalFlowPyrLK(Mat prevImg, + Mat nextImg, + MatOfPoint2f prevPts, + MatOfPoint2f nextPts, + MatOfByte status, + MatOfFloat err, + Size winSize, + int maxLevel) + +
+           
+static voidcalcOpticalFlowPyrLK(Mat prevImg, + Mat nextImg, + MatOfPoint2f prevPts, + MatOfPoint2f nextPts, + MatOfByte status, + MatOfFloat err, + Size winSize, + int maxLevel, + TermCriteria criteria, + int flags, + double minEigThreshold) + +
+           
+static RotatedRectCamShift(Mat probImage, + Rect window, + TermCriteria criteria) + +
+           
+static BackgroundSubtractorKNNcreateBackgroundSubtractorKNN() + +
+           
+static BackgroundSubtractorKNNcreateBackgroundSubtractorKNN(int history, + double dist2Threshold, + boolean detectShadows) + +
+           
+static BackgroundSubtractorMOG2createBackgroundSubtractorMOG2() + +
+           
+static BackgroundSubtractorMOG2createBackgroundSubtractorMOG2(int history, + double varThreshold, + boolean detectShadows) + +
+           
+static DualTVL1OpticalFlowcreateOptFlow_DualTVL1() + +
+           
+static MatestimateRigidTransform(Mat src, + Mat dst, + boolean fullAffine) + +
+           
+static doublefindTransformECC(Mat templateImage, + Mat inputImage, + Mat warpMatrix) + +
+           
+static doublefindTransformECC(Mat templateImage, + Mat inputImage, + Mat warpMatrix, + int motionType) + +
+           
+static doublefindTransformECC(Mat templateImage, + Mat inputImage, + Mat warpMatrix, + int motionType, + TermCriteria criteria, + Mat inputMask) + +
+           
+static intmeanShift(Mat probImage, + Rect window, + TermCriteria criteria) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+MOTION_AFFINE

+
+public static final int MOTION_AFFINE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MOTION_EUCLIDEAN

+
+public static final int MOTION_EUCLIDEAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MOTION_HOMOGRAPHY

+
+public static final int MOTION_HOMOGRAPHY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+MOTION_TRANSLATION

+
+public static final int MOTION_TRANSLATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPTFLOW_FARNEBACK_GAUSSIAN

+
+public static final int OPTFLOW_FARNEBACK_GAUSSIAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPTFLOW_LK_GET_MIN_EIGENVALS

+
+public static final int OPTFLOW_LK_GET_MIN_EIGENVALS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+OPTFLOW_USE_INITIAL_FLOW

+
+public static final int OPTFLOW_USE_INITIAL_FLOW
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Video

+
+public Video()
+
+
+ + + + + + + + +
+Method Detail
+ +

+buildOpticalFlowPyramid

+
+public static int buildOpticalFlowPyramid(Mat img,
+                                          java.util.List<Mat> pyramid,
+                                          Size winSize,
+                                          int maxLevel)
+
+
+
+
+
+
+ +

+buildOpticalFlowPyramid

+
+public static int buildOpticalFlowPyramid(Mat img,
+                                          java.util.List<Mat> pyramid,
+                                          Size winSize,
+                                          int maxLevel,
+                                          boolean withDerivatives,
+                                          int pyrBorder,
+                                          int derivBorder,
+                                          boolean tryReuseInputImage)
+
+
+
+
+
+
+ +

+calcOpticalFlowFarneback

+
+public static void calcOpticalFlowFarneback(Mat prev,
+                                            Mat next,
+                                            Mat flow,
+                                            double pyr_scale,
+                                            int levels,
+                                            int winsize,
+                                            int iterations,
+                                            int poly_n,
+                                            double poly_sigma,
+                                            int flags)
+
+
+
+
+
+
+ +

+calcOpticalFlowPyrLK

+
+public static void calcOpticalFlowPyrLK(Mat prevImg,
+                                        Mat nextImg,
+                                        MatOfPoint2f prevPts,
+                                        MatOfPoint2f nextPts,
+                                        MatOfByte status,
+                                        MatOfFloat err)
+
+
+
+
+
+
+ +

+calcOpticalFlowPyrLK

+
+public static void calcOpticalFlowPyrLK(Mat prevImg,
+                                        Mat nextImg,
+                                        MatOfPoint2f prevPts,
+                                        MatOfPoint2f nextPts,
+                                        MatOfByte status,
+                                        MatOfFloat err,
+                                        Size winSize,
+                                        int maxLevel)
+
+
+
+
+
+
+ +

+calcOpticalFlowPyrLK

+
+public static void calcOpticalFlowPyrLK(Mat prevImg,
+                                        Mat nextImg,
+                                        MatOfPoint2f prevPts,
+                                        MatOfPoint2f nextPts,
+                                        MatOfByte status,
+                                        MatOfFloat err,
+                                        Size winSize,
+                                        int maxLevel,
+                                        TermCriteria criteria,
+                                        int flags,
+                                        double minEigThreshold)
+
+
+
+
+
+
+ +

+CamShift

+
+public static RotatedRect CamShift(Mat probImage,
+                                   Rect window,
+                                   TermCriteria criteria)
+
+
+
+
+
+
+ +

+createBackgroundSubtractorKNN

+
+public static BackgroundSubtractorKNN createBackgroundSubtractorKNN()
+
+
+
+
+
+
+ +

+createBackgroundSubtractorKNN

+
+public static BackgroundSubtractorKNN createBackgroundSubtractorKNN(int history,
+                                                                    double dist2Threshold,
+                                                                    boolean detectShadows)
+
+
+
+
+
+
+ +

+createBackgroundSubtractorMOG2

+
+public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2()
+
+
+
+
+
+
+ +

+createBackgroundSubtractorMOG2

+
+public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2(int history,
+                                                                      double varThreshold,
+                                                                      boolean detectShadows)
+
+
+
+
+
+
+ +

+createOptFlow_DualTVL1

+
+public static DualTVL1OpticalFlow createOptFlow_DualTVL1()
+
+
+
+
+
+
+ +

+estimateRigidTransform

+
+public static Mat estimateRigidTransform(Mat src,
+                                         Mat dst,
+                                         boolean fullAffine)
+
+
+
+
+
+
+ +

+findTransformECC

+
+public static double findTransformECC(Mat templateImage,
+                                      Mat inputImage,
+                                      Mat warpMatrix)
+
+
+
+
+
+
+ +

+findTransformECC

+
+public static double findTransformECC(Mat templateImage,
+                                      Mat inputImage,
+                                      Mat warpMatrix,
+                                      int motionType)
+
+
+
+
+
+
+ +

+findTransformECC

+
+public static double findTransformECC(Mat templateImage,
+                                      Mat inputImage,
+                                      Mat warpMatrix,
+                                      int motionType,
+                                      TermCriteria criteria,
+                                      Mat inputMask)
+
+
+
+
+
+
+ +

+meanShift

+
+public static int meanShift(Mat probImage,
+                            Rect window,
+                            TermCriteria criteria)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/video/package-frame.html b/opencv3/javadoc/org/opencv/video/package-frame.html new file mode 100644 index 0000000..31a5d01 --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/package-frame.html @@ -0,0 +1,44 @@ + + + + + + +org.opencv.video + + + + + + + + + + + +org.opencv.video + + + + +
+Classes  + +
+BackgroundSubtractor +
+BackgroundSubtractorKNN +
+BackgroundSubtractorMOG2 +
+DenseOpticalFlow +
+DualTVL1OpticalFlow +
+KalmanFilter +
+Video
+ + + + diff --git a/opencv3/javadoc/org/opencv/video/package-summary.html b/opencv3/javadoc/org/opencv/video/package-summary.html new file mode 100644 index 0000000..2218643 --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/package-summary.html @@ -0,0 +1,177 @@ + + + + + + +org.opencv.video + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.video +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
BackgroundSubtractor 
BackgroundSubtractorKNN 
BackgroundSubtractorMOG2 
DenseOpticalFlow 
DualTVL1OpticalFlow 
KalmanFilter 
Video 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/video/package-tree.html b/opencv3/javadoc/org/opencv/video/package-tree.html new file mode 100644 index 0000000..ffa8cb0 --- /dev/null +++ b/opencv3/javadoc/org/opencv/video/package-tree.html @@ -0,0 +1,155 @@ + + + + + + +org.opencv.video Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.video +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/videoio/VideoCapture.html b/opencv3/javadoc/org/opencv/videoio/VideoCapture.html new file mode 100644 index 0000000..c608b73 --- /dev/null +++ b/opencv3/javadoc/org/opencv/videoio/VideoCapture.html @@ -0,0 +1,451 @@ + + + + + + +VideoCapture + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.videoio +
+Class VideoCapture

+
+java.lang.Object
+  extended by org.opencv.videoio.VideoCapture
+
+
+
+
public class VideoCapture
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
VideoCapture() + +
+           
VideoCapture(int device) + +
+           
VideoCapture(java.lang.String filename) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ doubleget(int propId) + +
+           
+ booleangrab() + +
+           
+ booleanisOpened() + +
+           
+ booleanopen(int device) + +
+           
+ booleanopen(java.lang.String filename) + +
+           
+ booleanread(Mat image) + +
+           
+ voidrelease() + +
+           
+ booleanretrieve(Mat image) + +
+           
+ booleanretrieve(Mat image, + int flag) + +
+           
+ booleanset(int propId, + double value) + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+VideoCapture

+
+public VideoCapture()
+
+
+
+ +

+VideoCapture

+
+public VideoCapture(int device)
+
+
+
+ +

+VideoCapture

+
+public VideoCapture(java.lang.String filename)
+
+
+ + + + + + + + +
+Method Detail
+ +

+get

+
+public double get(int propId)
+
+
+
+
+
+
+ +

+grab

+
+public boolean grab()
+
+
+
+
+
+
+ +

+isOpened

+
+public boolean isOpened()
+
+
+
+
+
+
+ +

+open

+
+public boolean open(int device)
+
+
+
+
+
+
+ +

+open

+
+public boolean open(java.lang.String filename)
+
+
+
+
+
+
+ +

+read

+
+public boolean read(Mat image)
+
+
+
+
+
+
+ +

+release

+
+public void release()
+
+
+
+
+
+
+ +

+retrieve

+
+public boolean retrieve(Mat image)
+
+
+
+
+
+
+ +

+retrieve

+
+public boolean retrieve(Mat image,
+                        int flag)
+
+
+
+
+
+
+ +

+set

+
+public boolean set(int propId,
+                   double value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/videoio/Videoio.html b/opencv3/javadoc/org/opencv/videoio/Videoio.html new file mode 100644 index 0000000..c6fc219 --- /dev/null +++ b/opencv3/javadoc/org/opencv/videoio/Videoio.html @@ -0,0 +1,5296 @@ + + + + + + +Videoio + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ +

+ +org.opencv.videoio +
+Class Videoio

+
+java.lang.Object
+  extended by org.opencv.videoio.Videoio
+
+
+
+
public class Videoio
extends java.lang.Object
+ + +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intCAP_ANDROID + +
+           
+static intCAP_ANY + +
+           
+static intCAP_AVFOUNDATION + +
+           
+static intCAP_CMU1394 + +
+           
+static intCAP_DC1394 + +
+           
+static intCAP_DSHOW + +
+           
+static intCAP_FIREWARE + +
+           
+static intCAP_FIREWIRE + +
+           
+static intCAP_GIGANETIX + +
+           
+static intCAP_GPHOTO2 + +
+           
+static intCAP_IEEE1394 + +
+           
+static intCAP_INTELPERC + +
+           
+static intCAP_INTELPERC_DEPTH_GENERATOR + +
+           
+static intCAP_INTELPERC_DEPTH_MAP + +
+           
+static intCAP_INTELPERC_GENERATORS_MASK + +
+           
+static intCAP_INTELPERC_IMAGE + +
+           
+static intCAP_INTELPERC_IMAGE_GENERATOR + +
+           
+static intCAP_INTELPERC_IR_MAP + +
+           
+static intCAP_INTELPERC_UVDEPTH_MAP + +
+           
+static intCAP_MODE_BGR + +
+           
+static intCAP_MODE_GRAY + +
+           
+static intCAP_MODE_RGB + +
+           
+static intCAP_MODE_YUYV + +
+           
+static intCAP_MSMF + +
+           
+static intCAP_OPENNI + +
+           
+static intCAP_OPENNI_ASUS + +
+           
+static intCAP_OPENNI_BGR_IMAGE + +
+           
+static intCAP_OPENNI_DEPTH_GENERATOR + +
+           
+static intCAP_OPENNI_DEPTH_GENERATOR_BASELINE + +
+           
+static intCAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH + +
+           
+static intCAP_OPENNI_DEPTH_GENERATOR_REGISTRATION + +
+           
+static intCAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON + +
+           
+static intCAP_OPENNI_DEPTH_MAP + +
+           
+static intCAP_OPENNI_DISPARITY_MAP + +
+           
+static intCAP_OPENNI_DISPARITY_MAP_32F + +
+           
+static intCAP_OPENNI_GENERATORS_MASK + +
+           
+static intCAP_OPENNI_GRAY_IMAGE + +
+           
+static intCAP_OPENNI_IMAGE_GENERATOR + +
+           
+static intCAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE + +
+           
+static intCAP_OPENNI_IMAGE_GENERATOR_PRESENT + +
+           
+static intCAP_OPENNI_POINT_CLOUD_MAP + +
+           
+static intCAP_OPENNI_QVGA_30HZ + +
+           
+static intCAP_OPENNI_QVGA_60HZ + +
+           
+static intCAP_OPENNI_SXGA_15HZ + +
+           
+static intCAP_OPENNI_SXGA_30HZ + +
+           
+static intCAP_OPENNI_VALID_DEPTH_MASK + +
+           
+static intCAP_OPENNI_VGA_30HZ + +
+           
+static intCAP_OPENNI2 + +
+           
+static intCAP_OPENNI2_ASUS + +
+           
+static intCAP_PROP_APERTURE + +
+           
+static intCAP_PROP_AUTO_EXPOSURE + +
+           
+static intCAP_PROP_BACKLIGHT + +
+           
+static intCAP_PROP_BRIGHTNESS + +
+           
+static intCAP_PROP_CONTRAST + +
+           
+static intCAP_PROP_CONVERT_RGB + +
+           
+static intCAP_PROP_DC1394_MAX + +
+           
+static intCAP_PROP_DC1394_MODE_AUTO + +
+           
+static intCAP_PROP_DC1394_MODE_MANUAL + +
+           
+static intCAP_PROP_DC1394_MODE_ONE_PUSH_AUTO + +
+           
+static intCAP_PROP_DC1394_OFF + +
+           
+static intCAP_PROP_EXPOSURE + +
+           
+static intCAP_PROP_EXPOSUREPROGRAM + +
+           
+static intCAP_PROP_FOCUS + +
+           
+static intCAP_PROP_FORMAT + +
+           
+static intCAP_PROP_FOURCC + +
+           
+static intCAP_PROP_FPS + +
+           
+static intCAP_PROP_FRAME_COUNT + +
+           
+static intCAP_PROP_FRAME_HEIGHT + +
+           
+static intCAP_PROP_FRAME_WIDTH + +
+           
+static intCAP_PROP_GAIN + +
+           
+static intCAP_PROP_GAMMA + +
+           
+static intCAP_PROP_GIGA_FRAME_HEIGH_MAX + +
+           
+static intCAP_PROP_GIGA_FRAME_OFFSET_X + +
+           
+static intCAP_PROP_GIGA_FRAME_OFFSET_Y + +
+           
+static intCAP_PROP_GIGA_FRAME_SENS_HEIGH + +
+           
+static intCAP_PROP_GIGA_FRAME_SENS_WIDTH + +
+           
+static intCAP_PROP_GIGA_FRAME_WIDTH_MAX + +
+           
+static intCAP_PROP_GPHOTO2_COLLECT_MSGS + +
+           
+static intCAP_PROP_GPHOTO2_FLUSH_MSGS + +
+           
+static intCAP_PROP_GPHOTO2_PREVIEW + +
+           
+static intCAP_PROP_GPHOTO2_RELOAD_CONFIG + +
+           
+static intCAP_PROP_GPHOTO2_RELOAD_ON_CHANGE + +
+           
+static intCAP_PROP_GPHOTO2_WIDGET_ENUMERATE + +
+           
+static intCAP_PROP_GSTREAMER_QUEUE_LENGTH + +
+           
+static intCAP_PROP_GUID + +
+           
+static intCAP_PROP_HUE + +
+           
+static intCAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD + +
+           
+static intCAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ + +
+           
+static intCAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT + +
+           
+static intCAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE + +
+           
+static intCAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE + +
+           
+static intCAP_PROP_INTELPERC_PROFILE_COUNT + +
+           
+static intCAP_PROP_INTELPERC_PROFILE_IDX + +
+           
+static intCAP_PROP_IOS_DEVICE_EXPOSURE + +
+           
+static intCAP_PROP_IOS_DEVICE_FLASH + +
+           
+static intCAP_PROP_IOS_DEVICE_FOCUS + +
+           
+static intCAP_PROP_IOS_DEVICE_TORCH + +
+           
+static intCAP_PROP_IOS_DEVICE_WHITEBALANCE + +
+           
+static intCAP_PROP_IRIS + +
+           
+static intCAP_PROP_ISO_SPEED + +
+           
+static intCAP_PROP_MODE + +
+           
+static intCAP_PROP_MONOCHROME + +
+           
+static intCAP_PROP_OPENNI_APPROX_FRAME_SYNC + +
+           
+static intCAP_PROP_OPENNI_BASELINE + +
+           
+static intCAP_PROP_OPENNI_CIRCLE_BUFFER + +
+           
+static intCAP_PROP_OPENNI_FOCAL_LENGTH + +
+           
+static intCAP_PROP_OPENNI_FRAME_MAX_DEPTH + +
+           
+static intCAP_PROP_OPENNI_GENERATOR_PRESENT + +
+           
+static intCAP_PROP_OPENNI_MAX_BUFFER_SIZE + +
+           
+static intCAP_PROP_OPENNI_MAX_TIME_DURATION + +
+           
+static intCAP_PROP_OPENNI_OUTPUT_MODE + +
+           
+static intCAP_PROP_OPENNI_REGISTRATION + +
+           
+static intCAP_PROP_OPENNI_REGISTRATION_ON + +
+           
+static intCAP_PROP_OPENNI2_MIRROR + +
+           
+static intCAP_PROP_OPENNI2_SYNC + +
+           
+static intCAP_PROP_PAN + +
+           
+static intCAP_PROP_POS_AVI_RATIO + +
+           
+static intCAP_PROP_POS_FRAMES + +
+           
+static intCAP_PROP_POS_MSEC + +
+           
+static intCAP_PROP_PVAPI_BINNINGX + +
+           
+static intCAP_PROP_PVAPI_BINNINGY + +
+           
+static intCAP_PROP_PVAPI_DECIMATIONHORIZONTAL + +
+           
+static intCAP_PROP_PVAPI_DECIMATIONVERTICAL + +
+           
+static intCAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE + +
+           
+static intCAP_PROP_PVAPI_MULTICASTIP + +
+           
+static intCAP_PROP_PVAPI_PIXELFORMAT + +
+           
+static intCAP_PROP_RECTIFICATION + +
+           
+static intCAP_PROP_ROLL + +
+           
+static intCAP_PROP_SATURATION + +
+           
+static intCAP_PROP_SETTINGS + +
+           
+static intCAP_PROP_SHARPNESS + +
+           
+static intCAP_PROP_SPEED + +
+           
+static intCAP_PROP_TEMPERATURE + +
+           
+static intCAP_PROP_TILT + +
+           
+static intCAP_PROP_TRIGGER + +
+           
+static intCAP_PROP_TRIGGER_DELAY + +
+           
+static intCAP_PROP_VIEWFINDER + +
+           
+static intCAP_PROP_WHITE_BALANCE_BLUE_U + +
+           
+static intCAP_PROP_WHITE_BALANCE_RED_V + +
+           
+static intCAP_PROP_XI_AE_MAX_LIMIT + +
+           
+static intCAP_PROP_XI_AEAG + +
+           
+static intCAP_PROP_XI_AEAG_LEVEL + +
+           
+static intCAP_PROP_XI_AG_MAX_LIMIT + +
+           
+static intCAP_PROP_XI_AUTO_WB + +
+           
+static intCAP_PROP_XI_DATA_FORMAT + +
+           
+static intCAP_PROP_XI_DOWNSAMPLING + +
+           
+static intCAP_PROP_XI_EXP_PRIORITY + +
+           
+static intCAP_PROP_XI_GPI_LEVEL + +
+           
+static intCAP_PROP_XI_GPI_MODE + +
+           
+static intCAP_PROP_XI_GPI_SELECTOR + +
+           
+static intCAP_PROP_XI_GPO_MODE + +
+           
+static intCAP_PROP_XI_GPO_SELECTOR + +
+           
+static intCAP_PROP_XI_LED_MODE + +
+           
+static intCAP_PROP_XI_LED_SELECTOR + +
+           
+static intCAP_PROP_XI_MANUAL_WB + +
+           
+static intCAP_PROP_XI_OFFSET_X + +
+           
+static intCAP_PROP_XI_OFFSET_Y + +
+           
+static intCAP_PROP_XI_TIMEOUT + +
+           
+static intCAP_PROP_XI_TRG_SOFTWARE + +
+           
+static intCAP_PROP_XI_TRG_SOURCE + +
+           
+static intCAP_PROP_ZOOM + +
+           
+static intCAP_PVAPI + +
+           
+static intCAP_PVAPI_DECIMATION_2OUTOF16 + +
+           
+static intCAP_PVAPI_DECIMATION_2OUTOF4 + +
+           
+static intCAP_PVAPI_DECIMATION_2OUTOF8 + +
+           
+static intCAP_PVAPI_DECIMATION_OFF + +
+           
+static intCAP_PVAPI_FSTRIGMODE_FIXEDRATE + +
+           
+static intCAP_PVAPI_FSTRIGMODE_FREERUN + +
+           
+static intCAP_PVAPI_FSTRIGMODE_SOFTWARE + +
+           
+static intCAP_PVAPI_FSTRIGMODE_SYNCIN1 + +
+           
+static intCAP_PVAPI_FSTRIGMODE_SYNCIN2 + +
+           
+static intCAP_PVAPI_PIXELFORMAT_BAYER16 + +
+           
+static intCAP_PVAPI_PIXELFORMAT_BAYER8 + +
+           
+static intCAP_PVAPI_PIXELFORMAT_BGR24 + +
+           
+static intCAP_PVAPI_PIXELFORMAT_BGRA32 + +
+           
+static intCAP_PVAPI_PIXELFORMAT_MONO16 + +
+           
+static intCAP_PVAPI_PIXELFORMAT_MONO8 + +
+           
+static intCAP_PVAPI_PIXELFORMAT_RGB24 + +
+           
+static intCAP_PVAPI_PIXELFORMAT_RGBA32 + +
+           
+static intCAP_QT + +
+           
+static intCAP_UNICAP + +
+           
+static intCAP_V4L + +
+           
+static intCAP_V4L2 + +
+           
+static intCAP_VFW + +
+           
+static intCAP_WINRT + +
+           
+static intCAP_XIAPI + +
+           
+static intCV_CAP_ANDROID + +
+           
+static intCV_CAP_ANDROID_BACK + +
+           
+static intCV_CAP_ANDROID_FRONT + +
+           
+static intCV_CAP_AVFOUNDATION + +
+           
+static intCV_CAP_GIGANETIX + +
+           
+static intCV_CAP_GPHOTO2 + +
+           
+static intCV_CAP_MODE_BGR + +
+           
+static intCV_CAP_MODE_GRAY + +
+           
+static intCV_CAP_MODE_RGB + +
+           
+static intCV_CAP_MODE_YUYV + +
+           
+static intCV_CAP_MSMF + +
+           
+static intCV_CAP_PROP_ANDROID_ANTIBANDING + +
+           
+static intCV_CAP_PROP_ANDROID_EXPOSE_LOCK + +
+           
+static intCV_CAP_PROP_ANDROID_FLASH_MODE + +
+           
+static intCV_CAP_PROP_ANDROID_FOCAL_LENGTH + +
+           
+static intCV_CAP_PROP_ANDROID_FOCUS_DISTANCE_FAR + +
+           
+static intCV_CAP_PROP_ANDROID_FOCUS_DISTANCE_NEAR + +
+           
+static intCV_CAP_PROP_ANDROID_FOCUS_DISTANCE_OPTIMAL + +
+           
+static intCV_CAP_PROP_ANDROID_FOCUS_MODE + +
+           
+static intCV_CAP_PROP_ANDROID_WHITE_BALANCE + +
+           
+static intCV_CAP_PROP_ANDROID_WHITEBALANCE_LOCK + +
+           
+static intCV_CAP_PROP_APERTURE + +
+           
+static intCV_CAP_PROP_AUTOGRAB + +
+           
+static intCV_CAP_PROP_BACKLIGHT + +
+           
+static intCV_CAP_PROP_BUFFERSIZE + +
+           
+static intCV_CAP_PROP_FOCUS + +
+           
+static intCV_CAP_PROP_FRAME_HEIGHT + +
+           
+static intCV_CAP_PROP_FRAME_WIDTH + +
+           
+static intCV_CAP_PROP_GIGA_FRAME_HEIGH_MAX + +
+           
+static intCV_CAP_PROP_GIGA_FRAME_OFFSET_X + +
+           
+static intCV_CAP_PROP_GIGA_FRAME_OFFSET_Y + +
+           
+static intCV_CAP_PROP_GIGA_FRAME_SENS_HEIGH + +
+           
+static intCV_CAP_PROP_GIGA_FRAME_SENS_WIDTH + +
+           
+static intCV_CAP_PROP_GIGA_FRAME_WIDTH_MAX + +
+           
+static intCV_CAP_PROP_GPHOTO2_COLLECT_MSGS + +
+           
+static intCV_CAP_PROP_GPHOTO2_FLUSH_MSGS + +
+           
+static intCV_CAP_PROP_GPHOTO2_PREVIEW + +
+           
+static intCV_CAP_PROP_GPHOTO2_RELOAD_CONFIG + +
+           
+static intCV_CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE + +
+           
+static intCV_CAP_PROP_GPHOTO2_WIDGET_ENUMERATE + +
+           
+static intCV_CAP_PROP_GUID + +
+           
+static intCV_CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD + +
+           
+static intCV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ + +
+           
+static intCV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT + +
+           
+static intCV_CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE + +
+           
+static intCV_CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE + +
+           
+static intCV_CAP_PROP_INTELPERC_PROFILE_COUNT + +
+           
+static intCV_CAP_PROP_INTELPERC_PROFILE_IDX + +
+           
+static intCV_CAP_PROP_IOS_DEVICE_EXPOSURE + +
+           
+static intCV_CAP_PROP_IOS_DEVICE_FLASH + +
+           
+static intCV_CAP_PROP_IOS_DEVICE_FOCUS + +
+           
+static intCV_CAP_PROP_IOS_DEVICE_TORCH + +
+           
+static intCV_CAP_PROP_IOS_DEVICE_WHITEBALANCE + +
+           
+static intCV_CAP_PROP_IRIS + +
+           
+static intCV_CAP_PROP_ISO_SPEED + +
+           
+static intCV_CAP_PROP_OPENNI2_MIRROR + +
+           
+static intCV_CAP_PROP_OPENNI2_SYNC + +
+           
+static intCV_CAP_PROP_PAN + +
+           
+static intCV_CAP_PROP_PREVIEW_FORMAT + +
+           
+static intCV_CAP_PROP_PVAPI_BINNINGX + +
+           
+static intCV_CAP_PROP_PVAPI_BINNINGY + +
+           
+static intCV_CAP_PROP_PVAPI_DECIMATIONHORIZONTAL + +
+           
+static intCV_CAP_PROP_PVAPI_DECIMATIONVERTICAL + +
+           
+static intCV_CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE + +
+           
+static intCV_CAP_PROP_PVAPI_PIXELFORMAT + +
+           
+static intCV_CAP_PROP_ROLL + +
+           
+static intCV_CAP_PROP_SETTINGS + +
+           
+static intCV_CAP_PROP_SPEED + +
+           
+static intCV_CAP_PROP_TILT + +
+           
+static intCV_CAP_PROP_VIEWFINDER + +
+           
+static intCV_CAP_PROP_XI_AE_MAX_LIMIT + +
+           
+static intCV_CAP_PROP_XI_AEAG + +
+           
+static intCV_CAP_PROP_XI_AEAG_LEVEL + +
+           
+static intCV_CAP_PROP_XI_AG_MAX_LIMIT + +
+           
+static intCV_CAP_PROP_XI_AUTO_WB + +
+           
+static intCV_CAP_PROP_XI_DATA_FORMAT + +
+           
+static intCV_CAP_PROP_XI_DOWNSAMPLING + +
+           
+static intCV_CAP_PROP_XI_EXP_PRIORITY + +
+           
+static intCV_CAP_PROP_XI_GPI_LEVEL + +
+           
+static intCV_CAP_PROP_XI_GPI_MODE + +
+           
+static intCV_CAP_PROP_XI_GPI_SELECTOR + +
+           
+static intCV_CAP_PROP_XI_GPO_MODE + +
+           
+static intCV_CAP_PROP_XI_GPO_SELECTOR + +
+           
+static intCV_CAP_PROP_XI_LED_MODE + +
+           
+static intCV_CAP_PROP_XI_LED_SELECTOR + +
+           
+static intCV_CAP_PROP_XI_MANUAL_WB + +
+           
+static intCV_CAP_PROP_XI_OFFSET_X + +
+           
+static intCV_CAP_PROP_XI_OFFSET_Y + +
+           
+static intCV_CAP_PROP_XI_TIMEOUT + +
+           
+static intCV_CAP_PROP_XI_TRG_SOFTWARE + +
+           
+static intCV_CAP_PROP_XI_TRG_SOURCE + +
+           
+static intCV_CAP_PROP_ZOOM + +
+           
+static intCV_CAP_XIAPI + +
+           
+static intVIDEOWRITER_PROP_FRAMEBYTES + +
+           
+static intVIDEOWRITER_PROP_QUALITY + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Videoio() + +
+           
+  + + + + + + + +
+Method Summary
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+CAP_ANDROID

+
+public static final int CAP_ANDROID
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_ANY

+
+public static final int CAP_ANY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_AVFOUNDATION

+
+public static final int CAP_AVFOUNDATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_CMU1394

+
+public static final int CAP_CMU1394
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_DC1394

+
+public static final int CAP_DC1394
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_DSHOW

+
+public static final int CAP_DSHOW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_FIREWARE

+
+public static final int CAP_FIREWARE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_FIREWIRE

+
+public static final int CAP_FIREWIRE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_GIGANETIX

+
+public static final int CAP_GIGANETIX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_GPHOTO2

+
+public static final int CAP_GPHOTO2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_IEEE1394

+
+public static final int CAP_IEEE1394
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_INTELPERC

+
+public static final int CAP_INTELPERC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_INTELPERC_DEPTH_GENERATOR

+
+public static final int CAP_INTELPERC_DEPTH_GENERATOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_INTELPERC_DEPTH_MAP

+
+public static final int CAP_INTELPERC_DEPTH_MAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_INTELPERC_GENERATORS_MASK

+
+public static final int CAP_INTELPERC_GENERATORS_MASK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_INTELPERC_IMAGE

+
+public static final int CAP_INTELPERC_IMAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_INTELPERC_IMAGE_GENERATOR

+
+public static final int CAP_INTELPERC_IMAGE_GENERATOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_INTELPERC_IR_MAP

+
+public static final int CAP_INTELPERC_IR_MAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_INTELPERC_UVDEPTH_MAP

+
+public static final int CAP_INTELPERC_UVDEPTH_MAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_MODE_BGR

+
+public static final int CAP_MODE_BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_MODE_GRAY

+
+public static final int CAP_MODE_GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_MODE_RGB

+
+public static final int CAP_MODE_RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_MODE_YUYV

+
+public static final int CAP_MODE_YUYV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_MSMF

+
+public static final int CAP_MSMF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI

+
+public static final int CAP_OPENNI
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_ASUS

+
+public static final int CAP_OPENNI_ASUS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_BGR_IMAGE

+
+public static final int CAP_OPENNI_BGR_IMAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_DEPTH_GENERATOR

+
+public static final int CAP_OPENNI_DEPTH_GENERATOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_DEPTH_GENERATOR_BASELINE

+
+public static final int CAP_OPENNI_DEPTH_GENERATOR_BASELINE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH

+
+public static final int CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION

+
+public static final int CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON

+
+public static final int CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_DEPTH_MAP

+
+public static final int CAP_OPENNI_DEPTH_MAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_DISPARITY_MAP

+
+public static final int CAP_OPENNI_DISPARITY_MAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_DISPARITY_MAP_32F

+
+public static final int CAP_OPENNI_DISPARITY_MAP_32F
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_GENERATORS_MASK

+
+public static final int CAP_OPENNI_GENERATORS_MASK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_GRAY_IMAGE

+
+public static final int CAP_OPENNI_GRAY_IMAGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_IMAGE_GENERATOR

+
+public static final int CAP_OPENNI_IMAGE_GENERATOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE

+
+public static final int CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_IMAGE_GENERATOR_PRESENT

+
+public static final int CAP_OPENNI_IMAGE_GENERATOR_PRESENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_POINT_CLOUD_MAP

+
+public static final int CAP_OPENNI_POINT_CLOUD_MAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_QVGA_30HZ

+
+public static final int CAP_OPENNI_QVGA_30HZ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_QVGA_60HZ

+
+public static final int CAP_OPENNI_QVGA_60HZ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_SXGA_15HZ

+
+public static final int CAP_OPENNI_SXGA_15HZ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_SXGA_30HZ

+
+public static final int CAP_OPENNI_SXGA_30HZ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_VALID_DEPTH_MASK

+
+public static final int CAP_OPENNI_VALID_DEPTH_MASK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI_VGA_30HZ

+
+public static final int CAP_OPENNI_VGA_30HZ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI2

+
+public static final int CAP_OPENNI2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_OPENNI2_ASUS

+
+public static final int CAP_OPENNI2_ASUS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_APERTURE

+
+public static final int CAP_PROP_APERTURE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_AUTO_EXPOSURE

+
+public static final int CAP_PROP_AUTO_EXPOSURE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_BACKLIGHT

+
+public static final int CAP_PROP_BACKLIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_BRIGHTNESS

+
+public static final int CAP_PROP_BRIGHTNESS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_CONTRAST

+
+public static final int CAP_PROP_CONTRAST
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_CONVERT_RGB

+
+public static final int CAP_PROP_CONVERT_RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_DC1394_MAX

+
+public static final int CAP_PROP_DC1394_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_DC1394_MODE_AUTO

+
+public static final int CAP_PROP_DC1394_MODE_AUTO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_DC1394_MODE_MANUAL

+
+public static final int CAP_PROP_DC1394_MODE_MANUAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO

+
+public static final int CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_DC1394_OFF

+
+public static final int CAP_PROP_DC1394_OFF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_EXPOSURE

+
+public static final int CAP_PROP_EXPOSURE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_EXPOSUREPROGRAM

+
+public static final int CAP_PROP_EXPOSUREPROGRAM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_FOCUS

+
+public static final int CAP_PROP_FOCUS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_FORMAT

+
+public static final int CAP_PROP_FORMAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_FOURCC

+
+public static final int CAP_PROP_FOURCC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_FPS

+
+public static final int CAP_PROP_FPS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_FRAME_COUNT

+
+public static final int CAP_PROP_FRAME_COUNT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_FRAME_HEIGHT

+
+public static final int CAP_PROP_FRAME_HEIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_FRAME_WIDTH

+
+public static final int CAP_PROP_FRAME_WIDTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GAIN

+
+public static final int CAP_PROP_GAIN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GAMMA

+
+public static final int CAP_PROP_GAMMA
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GIGA_FRAME_HEIGH_MAX

+
+public static final int CAP_PROP_GIGA_FRAME_HEIGH_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GIGA_FRAME_OFFSET_X

+
+public static final int CAP_PROP_GIGA_FRAME_OFFSET_X
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GIGA_FRAME_OFFSET_Y

+
+public static final int CAP_PROP_GIGA_FRAME_OFFSET_Y
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GIGA_FRAME_SENS_HEIGH

+
+public static final int CAP_PROP_GIGA_FRAME_SENS_HEIGH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GIGA_FRAME_SENS_WIDTH

+
+public static final int CAP_PROP_GIGA_FRAME_SENS_WIDTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GIGA_FRAME_WIDTH_MAX

+
+public static final int CAP_PROP_GIGA_FRAME_WIDTH_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GPHOTO2_COLLECT_MSGS

+
+public static final int CAP_PROP_GPHOTO2_COLLECT_MSGS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GPHOTO2_FLUSH_MSGS

+
+public static final int CAP_PROP_GPHOTO2_FLUSH_MSGS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GPHOTO2_PREVIEW

+
+public static final int CAP_PROP_GPHOTO2_PREVIEW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GPHOTO2_RELOAD_CONFIG

+
+public static final int CAP_PROP_GPHOTO2_RELOAD_CONFIG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE

+
+public static final int CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GPHOTO2_WIDGET_ENUMERATE

+
+public static final int CAP_PROP_GPHOTO2_WIDGET_ENUMERATE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GSTREAMER_QUEUE_LENGTH

+
+public static final int CAP_PROP_GSTREAMER_QUEUE_LENGTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_GUID

+
+public static final int CAP_PROP_GUID
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_HUE

+
+public static final int CAP_PROP_HUE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD

+
+public static final int CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ

+
+public static final int CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT

+
+public static final int CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE

+
+public static final int CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE

+
+public static final int CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_INTELPERC_PROFILE_COUNT

+
+public static final int CAP_PROP_INTELPERC_PROFILE_COUNT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_INTELPERC_PROFILE_IDX

+
+public static final int CAP_PROP_INTELPERC_PROFILE_IDX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_IOS_DEVICE_EXPOSURE

+
+public static final int CAP_PROP_IOS_DEVICE_EXPOSURE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_IOS_DEVICE_FLASH

+
+public static final int CAP_PROP_IOS_DEVICE_FLASH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_IOS_DEVICE_FOCUS

+
+public static final int CAP_PROP_IOS_DEVICE_FOCUS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_IOS_DEVICE_TORCH

+
+public static final int CAP_PROP_IOS_DEVICE_TORCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_IOS_DEVICE_WHITEBALANCE

+
+public static final int CAP_PROP_IOS_DEVICE_WHITEBALANCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_IRIS

+
+public static final int CAP_PROP_IRIS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_ISO_SPEED

+
+public static final int CAP_PROP_ISO_SPEED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_MODE

+
+public static final int CAP_PROP_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_MONOCHROME

+
+public static final int CAP_PROP_MONOCHROME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_APPROX_FRAME_SYNC

+
+public static final int CAP_PROP_OPENNI_APPROX_FRAME_SYNC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_BASELINE

+
+public static final int CAP_PROP_OPENNI_BASELINE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_CIRCLE_BUFFER

+
+public static final int CAP_PROP_OPENNI_CIRCLE_BUFFER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_FOCAL_LENGTH

+
+public static final int CAP_PROP_OPENNI_FOCAL_LENGTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_FRAME_MAX_DEPTH

+
+public static final int CAP_PROP_OPENNI_FRAME_MAX_DEPTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_GENERATOR_PRESENT

+
+public static final int CAP_PROP_OPENNI_GENERATOR_PRESENT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_MAX_BUFFER_SIZE

+
+public static final int CAP_PROP_OPENNI_MAX_BUFFER_SIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_MAX_TIME_DURATION

+
+public static final int CAP_PROP_OPENNI_MAX_TIME_DURATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_OUTPUT_MODE

+
+public static final int CAP_PROP_OPENNI_OUTPUT_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_REGISTRATION

+
+public static final int CAP_PROP_OPENNI_REGISTRATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI_REGISTRATION_ON

+
+public static final int CAP_PROP_OPENNI_REGISTRATION_ON
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI2_MIRROR

+
+public static final int CAP_PROP_OPENNI2_MIRROR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_OPENNI2_SYNC

+
+public static final int CAP_PROP_OPENNI2_SYNC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_PAN

+
+public static final int CAP_PROP_PAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_POS_AVI_RATIO

+
+public static final int CAP_PROP_POS_AVI_RATIO
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_POS_FRAMES

+
+public static final int CAP_PROP_POS_FRAMES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_POS_MSEC

+
+public static final int CAP_PROP_POS_MSEC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_PVAPI_BINNINGX

+
+public static final int CAP_PROP_PVAPI_BINNINGX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_PVAPI_BINNINGY

+
+public static final int CAP_PROP_PVAPI_BINNINGY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_PVAPI_DECIMATIONHORIZONTAL

+
+public static final int CAP_PROP_PVAPI_DECIMATIONHORIZONTAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_PVAPI_DECIMATIONVERTICAL

+
+public static final int CAP_PROP_PVAPI_DECIMATIONVERTICAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE

+
+public static final int CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_PVAPI_MULTICASTIP

+
+public static final int CAP_PROP_PVAPI_MULTICASTIP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_PVAPI_PIXELFORMAT

+
+public static final int CAP_PROP_PVAPI_PIXELFORMAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_RECTIFICATION

+
+public static final int CAP_PROP_RECTIFICATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_ROLL

+
+public static final int CAP_PROP_ROLL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_SATURATION

+
+public static final int CAP_PROP_SATURATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_SETTINGS

+
+public static final int CAP_PROP_SETTINGS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_SHARPNESS

+
+public static final int CAP_PROP_SHARPNESS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_SPEED

+
+public static final int CAP_PROP_SPEED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_TEMPERATURE

+
+public static final int CAP_PROP_TEMPERATURE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_TILT

+
+public static final int CAP_PROP_TILT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_TRIGGER

+
+public static final int CAP_PROP_TRIGGER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_TRIGGER_DELAY

+
+public static final int CAP_PROP_TRIGGER_DELAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_VIEWFINDER

+
+public static final int CAP_PROP_VIEWFINDER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_WHITE_BALANCE_BLUE_U

+
+public static final int CAP_PROP_WHITE_BALANCE_BLUE_U
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_WHITE_BALANCE_RED_V

+
+public static final int CAP_PROP_WHITE_BALANCE_RED_V
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_AE_MAX_LIMIT

+
+public static final int CAP_PROP_XI_AE_MAX_LIMIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_AEAG

+
+public static final int CAP_PROP_XI_AEAG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_AEAG_LEVEL

+
+public static final int CAP_PROP_XI_AEAG_LEVEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_AG_MAX_LIMIT

+
+public static final int CAP_PROP_XI_AG_MAX_LIMIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_AUTO_WB

+
+public static final int CAP_PROP_XI_AUTO_WB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_DATA_FORMAT

+
+public static final int CAP_PROP_XI_DATA_FORMAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_DOWNSAMPLING

+
+public static final int CAP_PROP_XI_DOWNSAMPLING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_EXP_PRIORITY

+
+public static final int CAP_PROP_XI_EXP_PRIORITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_GPI_LEVEL

+
+public static final int CAP_PROP_XI_GPI_LEVEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_GPI_MODE

+
+public static final int CAP_PROP_XI_GPI_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_GPI_SELECTOR

+
+public static final int CAP_PROP_XI_GPI_SELECTOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_GPO_MODE

+
+public static final int CAP_PROP_XI_GPO_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_GPO_SELECTOR

+
+public static final int CAP_PROP_XI_GPO_SELECTOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_LED_MODE

+
+public static final int CAP_PROP_XI_LED_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_LED_SELECTOR

+
+public static final int CAP_PROP_XI_LED_SELECTOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_MANUAL_WB

+
+public static final int CAP_PROP_XI_MANUAL_WB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_OFFSET_X

+
+public static final int CAP_PROP_XI_OFFSET_X
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_OFFSET_Y

+
+public static final int CAP_PROP_XI_OFFSET_Y
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_TIMEOUT

+
+public static final int CAP_PROP_XI_TIMEOUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_TRG_SOFTWARE

+
+public static final int CAP_PROP_XI_TRG_SOFTWARE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_XI_TRG_SOURCE

+
+public static final int CAP_PROP_XI_TRG_SOURCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PROP_ZOOM

+
+public static final int CAP_PROP_ZOOM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI

+
+public static final int CAP_PVAPI
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_DECIMATION_2OUTOF16

+
+public static final int CAP_PVAPI_DECIMATION_2OUTOF16
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_DECIMATION_2OUTOF4

+
+public static final int CAP_PVAPI_DECIMATION_2OUTOF4
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_DECIMATION_2OUTOF8

+
+public static final int CAP_PVAPI_DECIMATION_2OUTOF8
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_DECIMATION_OFF

+
+public static final int CAP_PVAPI_DECIMATION_OFF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_FSTRIGMODE_FIXEDRATE

+
+public static final int CAP_PVAPI_FSTRIGMODE_FIXEDRATE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_FSTRIGMODE_FREERUN

+
+public static final int CAP_PVAPI_FSTRIGMODE_FREERUN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_FSTRIGMODE_SOFTWARE

+
+public static final int CAP_PVAPI_FSTRIGMODE_SOFTWARE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_FSTRIGMODE_SYNCIN1

+
+public static final int CAP_PVAPI_FSTRIGMODE_SYNCIN1
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_FSTRIGMODE_SYNCIN2

+
+public static final int CAP_PVAPI_FSTRIGMODE_SYNCIN2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_PIXELFORMAT_BAYER16

+
+public static final int CAP_PVAPI_PIXELFORMAT_BAYER16
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_PIXELFORMAT_BAYER8

+
+public static final int CAP_PVAPI_PIXELFORMAT_BAYER8
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_PIXELFORMAT_BGR24

+
+public static final int CAP_PVAPI_PIXELFORMAT_BGR24
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_PIXELFORMAT_BGRA32

+
+public static final int CAP_PVAPI_PIXELFORMAT_BGRA32
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_PIXELFORMAT_MONO16

+
+public static final int CAP_PVAPI_PIXELFORMAT_MONO16
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_PIXELFORMAT_MONO8

+
+public static final int CAP_PVAPI_PIXELFORMAT_MONO8
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_PIXELFORMAT_RGB24

+
+public static final int CAP_PVAPI_PIXELFORMAT_RGB24
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_PVAPI_PIXELFORMAT_RGBA32

+
+public static final int CAP_PVAPI_PIXELFORMAT_RGBA32
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_QT

+
+public static final int CAP_QT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_UNICAP

+
+public static final int CAP_UNICAP
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_V4L

+
+public static final int CAP_V4L
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_V4L2

+
+public static final int CAP_V4L2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_VFW

+
+public static final int CAP_VFW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_WINRT

+
+public static final int CAP_WINRT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CAP_XIAPI

+
+public static final int CAP_XIAPI
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_ANDROID

+
+public static final int CV_CAP_ANDROID
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_ANDROID_BACK

+
+public static final int CV_CAP_ANDROID_BACK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_ANDROID_FRONT

+
+public static final int CV_CAP_ANDROID_FRONT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_AVFOUNDATION

+
+public static final int CV_CAP_AVFOUNDATION
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_GIGANETIX

+
+public static final int CV_CAP_GIGANETIX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_GPHOTO2

+
+public static final int CV_CAP_GPHOTO2
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_MODE_BGR

+
+public static final int CV_CAP_MODE_BGR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_MODE_GRAY

+
+public static final int CV_CAP_MODE_GRAY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_MODE_RGB

+
+public static final int CV_CAP_MODE_RGB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_MODE_YUYV

+
+public static final int CV_CAP_MODE_YUYV
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_MSMF

+
+public static final int CV_CAP_MSMF
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_ANTIBANDING

+
+public static final int CV_CAP_PROP_ANDROID_ANTIBANDING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_EXPOSE_LOCK

+
+public static final int CV_CAP_PROP_ANDROID_EXPOSE_LOCK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_FLASH_MODE

+
+public static final int CV_CAP_PROP_ANDROID_FLASH_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_FOCAL_LENGTH

+
+public static final int CV_CAP_PROP_ANDROID_FOCAL_LENGTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_FAR

+
+public static final int CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_FAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_NEAR

+
+public static final int CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_NEAR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_OPTIMAL

+
+public static final int CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_OPTIMAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_FOCUS_MODE

+
+public static final int CV_CAP_PROP_ANDROID_FOCUS_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_WHITE_BALANCE

+
+public static final int CV_CAP_PROP_ANDROID_WHITE_BALANCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ANDROID_WHITEBALANCE_LOCK

+
+public static final int CV_CAP_PROP_ANDROID_WHITEBALANCE_LOCK
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_APERTURE

+
+public static final int CV_CAP_PROP_APERTURE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_AUTOGRAB

+
+public static final int CV_CAP_PROP_AUTOGRAB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_BACKLIGHT

+
+public static final int CV_CAP_PROP_BACKLIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_BUFFERSIZE

+
+public static final int CV_CAP_PROP_BUFFERSIZE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_FOCUS

+
+public static final int CV_CAP_PROP_FOCUS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_FRAME_HEIGHT

+
+public static final int CV_CAP_PROP_FRAME_HEIGHT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_FRAME_WIDTH

+
+public static final int CV_CAP_PROP_FRAME_WIDTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GIGA_FRAME_HEIGH_MAX

+
+public static final int CV_CAP_PROP_GIGA_FRAME_HEIGH_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GIGA_FRAME_OFFSET_X

+
+public static final int CV_CAP_PROP_GIGA_FRAME_OFFSET_X
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GIGA_FRAME_OFFSET_Y

+
+public static final int CV_CAP_PROP_GIGA_FRAME_OFFSET_Y
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GIGA_FRAME_SENS_HEIGH

+
+public static final int CV_CAP_PROP_GIGA_FRAME_SENS_HEIGH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GIGA_FRAME_SENS_WIDTH

+
+public static final int CV_CAP_PROP_GIGA_FRAME_SENS_WIDTH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GIGA_FRAME_WIDTH_MAX

+
+public static final int CV_CAP_PROP_GIGA_FRAME_WIDTH_MAX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GPHOTO2_COLLECT_MSGS

+
+public static final int CV_CAP_PROP_GPHOTO2_COLLECT_MSGS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GPHOTO2_FLUSH_MSGS

+
+public static final int CV_CAP_PROP_GPHOTO2_FLUSH_MSGS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GPHOTO2_PREVIEW

+
+public static final int CV_CAP_PROP_GPHOTO2_PREVIEW
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GPHOTO2_RELOAD_CONFIG

+
+public static final int CV_CAP_PROP_GPHOTO2_RELOAD_CONFIG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE

+
+public static final int CV_CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GPHOTO2_WIDGET_ENUMERATE

+
+public static final int CV_CAP_PROP_GPHOTO2_WIDGET_ENUMERATE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_GUID

+
+public static final int CV_CAP_PROP_GUID
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD

+
+public static final int CV_CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ

+
+public static final int CV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT

+
+public static final int CV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE

+
+public static final int CV_CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE

+
+public static final int CV_CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_INTELPERC_PROFILE_COUNT

+
+public static final int CV_CAP_PROP_INTELPERC_PROFILE_COUNT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_INTELPERC_PROFILE_IDX

+
+public static final int CV_CAP_PROP_INTELPERC_PROFILE_IDX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_IOS_DEVICE_EXPOSURE

+
+public static final int CV_CAP_PROP_IOS_DEVICE_EXPOSURE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_IOS_DEVICE_FLASH

+
+public static final int CV_CAP_PROP_IOS_DEVICE_FLASH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_IOS_DEVICE_FOCUS

+
+public static final int CV_CAP_PROP_IOS_DEVICE_FOCUS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_IOS_DEVICE_TORCH

+
+public static final int CV_CAP_PROP_IOS_DEVICE_TORCH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_IOS_DEVICE_WHITEBALANCE

+
+public static final int CV_CAP_PROP_IOS_DEVICE_WHITEBALANCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_IRIS

+
+public static final int CV_CAP_PROP_IRIS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ISO_SPEED

+
+public static final int CV_CAP_PROP_ISO_SPEED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_OPENNI2_MIRROR

+
+public static final int CV_CAP_PROP_OPENNI2_MIRROR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_OPENNI2_SYNC

+
+public static final int CV_CAP_PROP_OPENNI2_SYNC
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_PAN

+
+public static final int CV_CAP_PROP_PAN
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_PREVIEW_FORMAT

+
+public static final int CV_CAP_PROP_PREVIEW_FORMAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_PVAPI_BINNINGX

+
+public static final int CV_CAP_PROP_PVAPI_BINNINGX
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_PVAPI_BINNINGY

+
+public static final int CV_CAP_PROP_PVAPI_BINNINGY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_PVAPI_DECIMATIONHORIZONTAL

+
+public static final int CV_CAP_PROP_PVAPI_DECIMATIONHORIZONTAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_PVAPI_DECIMATIONVERTICAL

+
+public static final int CV_CAP_PROP_PVAPI_DECIMATIONVERTICAL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE

+
+public static final int CV_CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_PVAPI_PIXELFORMAT

+
+public static final int CV_CAP_PROP_PVAPI_PIXELFORMAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ROLL

+
+public static final int CV_CAP_PROP_ROLL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_SETTINGS

+
+public static final int CV_CAP_PROP_SETTINGS
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_SPEED

+
+public static final int CV_CAP_PROP_SPEED
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_TILT

+
+public static final int CV_CAP_PROP_TILT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_VIEWFINDER

+
+public static final int CV_CAP_PROP_VIEWFINDER
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_AE_MAX_LIMIT

+
+public static final int CV_CAP_PROP_XI_AE_MAX_LIMIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_AEAG

+
+public static final int CV_CAP_PROP_XI_AEAG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_AEAG_LEVEL

+
+public static final int CV_CAP_PROP_XI_AEAG_LEVEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_AG_MAX_LIMIT

+
+public static final int CV_CAP_PROP_XI_AG_MAX_LIMIT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_AUTO_WB

+
+public static final int CV_CAP_PROP_XI_AUTO_WB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_DATA_FORMAT

+
+public static final int CV_CAP_PROP_XI_DATA_FORMAT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_DOWNSAMPLING

+
+public static final int CV_CAP_PROP_XI_DOWNSAMPLING
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_EXP_PRIORITY

+
+public static final int CV_CAP_PROP_XI_EXP_PRIORITY
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_GPI_LEVEL

+
+public static final int CV_CAP_PROP_XI_GPI_LEVEL
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_GPI_MODE

+
+public static final int CV_CAP_PROP_XI_GPI_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_GPI_SELECTOR

+
+public static final int CV_CAP_PROP_XI_GPI_SELECTOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_GPO_MODE

+
+public static final int CV_CAP_PROP_XI_GPO_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_GPO_SELECTOR

+
+public static final int CV_CAP_PROP_XI_GPO_SELECTOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_LED_MODE

+
+public static final int CV_CAP_PROP_XI_LED_MODE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_LED_SELECTOR

+
+public static final int CV_CAP_PROP_XI_LED_SELECTOR
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_MANUAL_WB

+
+public static final int CV_CAP_PROP_XI_MANUAL_WB
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_OFFSET_X

+
+public static final int CV_CAP_PROP_XI_OFFSET_X
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_OFFSET_Y

+
+public static final int CV_CAP_PROP_XI_OFFSET_Y
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_TIMEOUT

+
+public static final int CV_CAP_PROP_XI_TIMEOUT
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_TRG_SOFTWARE

+
+public static final int CV_CAP_PROP_XI_TRG_SOFTWARE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_XI_TRG_SOURCE

+
+public static final int CV_CAP_PROP_XI_TRG_SOURCE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_PROP_ZOOM

+
+public static final int CV_CAP_PROP_ZOOM
+
+
+
See Also:
Constant Field Values
+
+
+ +

+CV_CAP_XIAPI

+
+public static final int CV_CAP_XIAPI
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VIDEOWRITER_PROP_FRAMEBYTES

+
+public static final int VIDEOWRITER_PROP_FRAMEBYTES
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VIDEOWRITER_PROP_QUALITY

+
+public static final int VIDEOWRITER_PROP_QUALITY
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Videoio

+
+public Videoio()
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/videoio/package-frame.html b/opencv3/javadoc/org/opencv/videoio/package-frame.html new file mode 100644 index 0000000..b66af9c --- /dev/null +++ b/opencv3/javadoc/org/opencv/videoio/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +org.opencv.videoio + + + + + + + + + + + +org.opencv.videoio + + + + +
+Classes  + +
+VideoCapture +
+Videoio
+ + + + diff --git a/opencv3/javadoc/org/opencv/videoio/package-summary.html b/opencv3/javadoc/org/opencv/videoio/package-summary.html new file mode 100644 index 0000000..c81dff4 --- /dev/null +++ b/opencv3/javadoc/org/opencv/videoio/package-summary.html @@ -0,0 +1,157 @@ + + + + + + +org.opencv.videoio + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+

+Package org.opencv.videoio +

+ + + + + + + + + + + + + +
+Class Summary
VideoCapture 
Videoio 
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/org/opencv/videoio/package-tree.html b/opencv3/javadoc/org/opencv/videoio/package-tree.html new file mode 100644 index 0000000..5bbebd4 --- /dev/null +++ b/opencv3/javadoc/org/opencv/videoio/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +org.opencv.videoio Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For Package org.opencv.videoio +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/overview-frame.html b/opencv3/javadoc/overview-frame.html new file mode 100644 index 0000000..6aeb843 --- /dev/null +++ b/opencv3/javadoc/overview-frame.html @@ -0,0 +1,66 @@ + + + + + + +Overview List + + + + + + + + + + + + + + + +
+OpenCV 3.0.0
+ + + + + +
All Classes +

+ +Packages +
+org.opencv.android +
+org.opencv.calib3d +
+org.opencv.core +
+org.opencv.engine +
+org.opencv.features2d +
+org.opencv.imgcodecs +
+org.opencv.imgproc +
+org.opencv.ml +
+org.opencv.objdetect +
+org.opencv.photo +
+org.opencv.utils +
+org.opencv.video +
+org.opencv.videoio +
+

+ +

+  + + diff --git a/opencv3/javadoc/overview-summary.html b/opencv3/javadoc/overview-summary.html new file mode 100644 index 0000000..6925471 --- /dev/null +++ b/opencv3/javadoc/overview-summary.html @@ -0,0 +1,195 @@ + + + + + + +Overview + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages
org.opencv.android 
org.opencv.calib3d 
org.opencv.core 
org.opencv.engine 
org.opencv.features2d 
org.opencv.imgcodecs 
org.opencv.imgproc 
org.opencv.ml 
org.opencv.objdetect 
org.opencv.photo 
org.opencv.utils 
org.opencv.video 
org.opencv.videoio 
+ +


+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/overview-tree.html b/opencv3/javadoc/overview-tree.html new file mode 100644 index 0000000..8c45cc6 --- /dev/null +++ b/opencv3/javadoc/overview-tree.html @@ -0,0 +1,193 @@ + + + + + + +Class Hierarchy + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
org.opencv.android, org.opencv.calib3d, org.opencv.core, org.opencv.engine, org.opencv.features2d, org.opencv.imgcodecs, org.opencv.imgproc, org.opencv.ml, org.opencv.objdetect, org.opencv.photo, org.opencv.utils, org.opencv.video, org.opencv.videoio
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/package-list b/opencv3/javadoc/package-list new file mode 100644 index 0000000..90f682f --- /dev/null +++ b/opencv3/javadoc/package-list @@ -0,0 +1,13 @@ +org.opencv.android +org.opencv.calib3d +org.opencv.core +org.opencv.engine +org.opencv.features2d +org.opencv.imgcodecs +org.opencv.imgproc +org.opencv.ml +org.opencv.objdetect +org.opencv.photo +org.opencv.utils +org.opencv.video +org.opencv.videoio diff --git a/opencv3/javadoc/resources/inherit.gif b/opencv3/javadoc/resources/inherit.gif new file mode 100644 index 0000000..c814867 Binary files /dev/null and b/opencv3/javadoc/resources/inherit.gif differ diff --git a/opencv3/javadoc/serialized-form.html b/opencv3/javadoc/serialized-form.html new file mode 100644 index 0000000..99c6131 --- /dev/null +++ b/opencv3/javadoc/serialized-form.html @@ -0,0 +1,162 @@ + + + + + + +Serialized Form + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package org.opencv.core
+ +

+ + + + + +
+Class org.opencv.core.CvException extends java.lang.RuntimeException implements Serializable
+ +

+serialVersionUID: 1L + +

+ +

+


+ + + + + + + + + + + + + + + +
+OpenCV 3.0.0 Documentation +
+ + + +
+ + + diff --git a/opencv3/javadoc/stylesheet.css b/opencv3/javadoc/stylesheet.css new file mode 100644 index 0000000..6ea9e51 --- /dev/null +++ b/opencv3/javadoc/stylesheet.css @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF; color:#000000 } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* Light mauve */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/opencv3/res/values/attrs.xml b/opencv3/res/values/attrs.xml new file mode 100644 index 0000000..6902621 --- /dev/null +++ b/opencv3/res/values/attrs.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/opencv3/src/org/opencv/android/AsyncServiceHelper.java b/opencv3/src/org/opencv/android/AsyncServiceHelper.java new file mode 100644 index 0000000..4d9d115 --- /dev/null +++ b/opencv3/src/org/opencv/android/AsyncServiceHelper.java @@ -0,0 +1,391 @@ +package org.opencv.android; + +import java.io.File; +import java.util.StringTokenizer; + +import org.opencv.core.Core; +import org.opencv.engine.OpenCVEngineInterface; + +import android.content.ComponentName; +import android.content.Context; +import android.content.Intent; +import android.content.ServiceConnection; +import android.net.Uri; +import android.os.IBinder; +import android.os.RemoteException; +import android.util.Log; + +class AsyncServiceHelper +{ + public static boolean initOpenCV(String Version, final Context AppContext, + final LoaderCallbackInterface Callback) + { + AsyncServiceHelper helper = new AsyncServiceHelper(Version, AppContext, Callback); + Intent intent = new Intent("org.opencv.engine.BIND"); + intent.setPackage("org.opencv.engine"); + if (AppContext.bindService(intent, helper.mServiceConnection, Context.BIND_AUTO_CREATE)) + { + return true; + } + else + { + AppContext.unbindService(helper.mServiceConnection); + InstallService(AppContext, Callback); + return false; + } + } + + protected AsyncServiceHelper(String Version, Context AppContext, LoaderCallbackInterface Callback) + { + mOpenCVersion = Version; + mUserAppCallback = Callback; + mAppContext = AppContext; + } + + protected static final String TAG = "OpenCVManager/Helper"; + protected static final int MINIMUM_ENGINE_VERSION = 2; + protected OpenCVEngineInterface mEngineService; + protected LoaderCallbackInterface mUserAppCallback; + protected String mOpenCVersion; + protected Context mAppContext; + protected static boolean mServiceInstallationProgress = false; + protected static boolean mLibraryInstallationProgress = false; + + protected static boolean InstallServiceQuiet(Context context) + { + boolean result = true; + try + { + Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(OPEN_CV_SERVICE_URL)); + intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); + context.startActivity(intent); + } + catch(Exception e) + { + result = false; + } + + return result; + } + + protected static void InstallService(final Context AppContext, final LoaderCallbackInterface Callback) + { + if (!mServiceInstallationProgress) + { + Log.d(TAG, "Request new service installation"); + InstallCallbackInterface InstallQuery = new InstallCallbackInterface() { + private LoaderCallbackInterface mUserAppCallback = Callback; + public String getPackageName() + { + return "OpenCV Manager"; + } + public void install() { + Log.d(TAG, "Trying to install OpenCV Manager via Google Play"); + + boolean result = InstallServiceQuiet(AppContext); + if (result) + { + mServiceInstallationProgress = true; + Log.d(TAG, "Package installation started"); + } + else + { + Log.d(TAG, "OpenCV package was not installed!"); + int Status = LoaderCallbackInterface.MARKET_ERROR; + Log.d(TAG, "Init finished with status " + Status); + Log.d(TAG, "Unbind from service"); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(Status); + } + } + + public void cancel() + { + Log.d(TAG, "OpenCV library installation was canceled"); + int Status = LoaderCallbackInterface.INSTALL_CANCELED; + Log.d(TAG, "Init finished with status " + Status); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(Status); + } + + public void wait_install() + { + Log.e(TAG, "Instalation was not started! Nothing to wait!"); + } + }; + + Callback.onPackageInstall(InstallCallbackInterface.NEW_INSTALLATION, InstallQuery); + } + else + { + Log.d(TAG, "Waiting current installation process"); + InstallCallbackInterface WaitQuery = new InstallCallbackInterface() { + private LoaderCallbackInterface mUserAppCallback = Callback; + public String getPackageName() + { + return "OpenCV Manager"; + } + public void install() + { + Log.e(TAG, "Nothing to install we just wait current installation"); + } + public void cancel() + { + Log.d(TAG, "Wating for OpenCV canceled by user"); + mServiceInstallationProgress = false; + int Status = LoaderCallbackInterface.INSTALL_CANCELED; + Log.d(TAG, "Init finished with status " + Status); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(Status); + } + public void wait_install() + { + InstallServiceQuiet(AppContext); + } + }; + + Callback.onPackageInstall(InstallCallbackInterface.INSTALLATION_PROGRESS, WaitQuery); + } + } + + /** + * URL of OpenCV Manager page on Google Play Market. + */ + protected static final String OPEN_CV_SERVICE_URL = "market://details?id=org.opencv.engine"; + + protected ServiceConnection mServiceConnection = new ServiceConnection() + { + public void onServiceConnected(ComponentName className, IBinder service) + { + Log.d(TAG, "Service connection created"); + mEngineService = OpenCVEngineInterface.Stub.asInterface(service); + if (null == mEngineService) + { + Log.d(TAG, "OpenCV Manager Service connection fails. May be service was not installed?"); + InstallService(mAppContext, mUserAppCallback); + } + else + { + mServiceInstallationProgress = false; + try + { + if (mEngineService.getEngineVersion() < MINIMUM_ENGINE_VERSION) + { + Log.d(TAG, "Init finished with status " + LoaderCallbackInterface.INCOMPATIBLE_MANAGER_VERSION); + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(LoaderCallbackInterface.INCOMPATIBLE_MANAGER_VERSION); + return; + } + + Log.d(TAG, "Trying to get library path"); + String path = mEngineService.getLibPathByVersion(mOpenCVersion); + if ((null == path) || (path.length() == 0)) + { + if (!mLibraryInstallationProgress) + { + InstallCallbackInterface InstallQuery = new InstallCallbackInterface() { + public String getPackageName() + { + return "OpenCV library"; + } + public void install() { + Log.d(TAG, "Trying to install OpenCV lib via Google Play"); + try + { + if (mEngineService.installVersion(mOpenCVersion)) + { + mLibraryInstallationProgress = true; + Log.d(TAG, "Package installation statred"); + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + } + else + { + Log.d(TAG, "OpenCV package was not installed!"); + Log.d(TAG, "Init finished with status " + LoaderCallbackInterface.MARKET_ERROR); + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(LoaderCallbackInterface.MARKET_ERROR); + } + } catch (RemoteException e) { + e.printStackTrace();; + Log.d(TAG, "Init finished with status " + LoaderCallbackInterface.INIT_FAILED); + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(LoaderCallbackInterface.INIT_FAILED); + } + } + public void cancel() { + Log.d(TAG, "OpenCV library installation was canceled"); + Log.d(TAG, "Init finished with status " + LoaderCallbackInterface.INSTALL_CANCELED); + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(LoaderCallbackInterface.INSTALL_CANCELED); + } + public void wait_install() { + Log.e(TAG, "Instalation was not started! Nothing to wait!"); + } + }; + + mUserAppCallback.onPackageInstall(InstallCallbackInterface.NEW_INSTALLATION, InstallQuery); + } + else + { + InstallCallbackInterface WaitQuery = new InstallCallbackInterface() { + public String getPackageName() + { + return "OpenCV library"; + } + + public void install() { + Log.e(TAG, "Nothing to install we just wait current installation"); + } + public void cancel() + { + Log.d(TAG, "OpenCV library installation was canceled"); + mLibraryInstallationProgress = false; + Log.d(TAG, "Init finished with status " + LoaderCallbackInterface.INSTALL_CANCELED); + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(LoaderCallbackInterface.INSTALL_CANCELED); + } + public void wait_install() { + Log.d(TAG, "Waiting for current installation"); + try + { + if (!mEngineService.installVersion(mOpenCVersion)) + { + Log.d(TAG, "OpenCV package was not installed!"); + Log.d(TAG, "Init finished with status " + LoaderCallbackInterface.MARKET_ERROR); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(LoaderCallbackInterface.MARKET_ERROR); + } + else + { + Log.d(TAG, "Wating for package installation"); + } + + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + + } catch (RemoteException e) { + e.printStackTrace(); + Log.d(TAG, "Init finished with status " + LoaderCallbackInterface.INIT_FAILED); + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(LoaderCallbackInterface.INIT_FAILED); + } + } + }; + + mUserAppCallback.onPackageInstall(InstallCallbackInterface.INSTALLATION_PROGRESS, WaitQuery); + } + return; + } + else + { + Log.d(TAG, "Trying to get library list"); + mLibraryInstallationProgress = false; + String libs = mEngineService.getLibraryList(mOpenCVersion); + Log.d(TAG, "Library list: \"" + libs + "\""); + Log.d(TAG, "First attempt to load libs"); + int status; + if (initOpenCVLibs(path, libs)) + { + Log.d(TAG, "First attempt to load libs is OK"); + String eol = System.getProperty("line.separator"); + for (String str : Core.getBuildInformation().split(eol)) + Log.i(TAG, str); + + status = LoaderCallbackInterface.SUCCESS; + } + else + { + Log.d(TAG, "First attempt to load libs fails"); + status = LoaderCallbackInterface.INIT_FAILED; + } + + Log.d(TAG, "Init finished with status " + status); + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(status); + } + } + catch (RemoteException e) + { + e.printStackTrace(); + Log.d(TAG, "Init finished with status " + LoaderCallbackInterface.INIT_FAILED); + Log.d(TAG, "Unbind from service"); + mAppContext.unbindService(mServiceConnection); + Log.d(TAG, "Calling using callback"); + mUserAppCallback.onManagerConnected(LoaderCallbackInterface.INIT_FAILED); + } + } + } + + public void onServiceDisconnected(ComponentName className) + { + mEngineService = null; + } + }; + + private boolean loadLibrary(String AbsPath) + { + boolean result = true; + + Log.d(TAG, "Trying to load library " + AbsPath); + try + { + System.load(AbsPath); + Log.d(TAG, "OpenCV libs init was ok!"); + } + catch(UnsatisfiedLinkError e) + { + Log.d(TAG, "Cannot load library \"" + AbsPath + "\""); + e.printStackTrace(); + result &= false; + } + + return result; + } + + private boolean initOpenCVLibs(String Path, String Libs) + { + Log.d(TAG, "Trying to init OpenCV libs"); + if ((null != Path) && (Path.length() != 0)) + { + boolean result = true; + if ((null != Libs) && (Libs.length() != 0)) + { + Log.d(TAG, "Trying to load libs by dependency list"); + StringTokenizer splitter = new StringTokenizer(Libs, ";"); + while(splitter.hasMoreTokens()) + { + String AbsLibraryPath = Path + File.separator + splitter.nextToken(); + result &= loadLibrary(AbsLibraryPath); + } + } + else + { + // If the dependencies list is not defined or empty. + String AbsLibraryPath = Path + File.separator + "libopencv_java3.so"; + result &= loadLibrary(AbsLibraryPath); + } + + return result; + } + else + { + Log.d(TAG, "Library path \"" + Path + "\" is empty"); + return false; + } + } +} diff --git a/opencv3/src/org/opencv/android/BaseLoaderCallback.java b/opencv3/src/org/opencv/android/BaseLoaderCallback.java new file mode 100644 index 0000000..6d6a9b8 --- /dev/null +++ b/opencv3/src/org/opencv/android/BaseLoaderCallback.java @@ -0,0 +1,141 @@ +package org.opencv.android; + +import android.app.Activity; +import android.app.AlertDialog; +import android.content.Context; +import android.content.DialogInterface; +import android.content.DialogInterface.OnClickListener; +import android.util.Log; + +/** + * Basic implementation of LoaderCallbackInterface. + */ +public abstract class BaseLoaderCallback implements LoaderCallbackInterface { + + public BaseLoaderCallback(Context AppContext) { + mAppContext = AppContext; + } + + public void onManagerConnected(int status) + { + switch (status) + { + /** OpenCV initialization was successful. **/ + case LoaderCallbackInterface.SUCCESS: + { + /** Application must override this method to handle successful library initialization. **/ + } break; + /** OpenCV loader can not start Google Play Market. **/ + case LoaderCallbackInterface.MARKET_ERROR: + { + Log.e(TAG, "Package installation failed!"); + AlertDialog MarketErrorMessage = new AlertDialog.Builder(mAppContext).create(); + MarketErrorMessage.setTitle("OpenCV Manager"); + MarketErrorMessage.setMessage("Package installation failed!"); + MarketErrorMessage.setCancelable(false); // This blocks the 'BACK' button + MarketErrorMessage.setButton(AlertDialog.BUTTON_POSITIVE, "OK", new OnClickListener() { + public void onClick(DialogInterface dialog, int which) { + finish(); + } + }); + MarketErrorMessage.show(); + } break; + /** Package installation has been canceled. **/ + case LoaderCallbackInterface.INSTALL_CANCELED: + { + Log.d(TAG, "OpenCV library instalation was canceled by user"); + finish(); + } break; + /** Application is incompatible with this version of OpenCV Manager. Possibly, a service update is required. **/ + case LoaderCallbackInterface.INCOMPATIBLE_MANAGER_VERSION: + { + Log.d(TAG, "OpenCV Manager Service is uncompatible with this app!"); + AlertDialog IncomatibilityMessage = new AlertDialog.Builder(mAppContext).create(); + IncomatibilityMessage.setTitle("OpenCV Manager"); + IncomatibilityMessage.setMessage("OpenCV Manager service is incompatible with this app. Try to update it via Google Play."); + IncomatibilityMessage.setCancelable(false); // This blocks the 'BACK' button + IncomatibilityMessage.setButton(AlertDialog.BUTTON_POSITIVE, "OK", new OnClickListener() { + public void onClick(DialogInterface dialog, int which) { + finish(); + } + }); + IncomatibilityMessage.show(); + } break; + /** Other status, i.e. INIT_FAILED. **/ + default: + { + Log.e(TAG, "OpenCV loading failed!"); + AlertDialog InitFailedDialog = new AlertDialog.Builder(mAppContext).create(); + InitFailedDialog.setTitle("OpenCV error"); + InitFailedDialog.setMessage("OpenCV was not initialised correctly. Application will be shut down"); + InitFailedDialog.setCancelable(false); // This blocks the 'BACK' button + InitFailedDialog.setButton(AlertDialog.BUTTON_POSITIVE, "OK", new OnClickListener() { + + public void onClick(DialogInterface dialog, int which) { + finish(); + } + }); + + InitFailedDialog.show(); + } break; + } + } + + public void onPackageInstall(final int operation, final InstallCallbackInterface callback) + { + switch (operation) + { + case InstallCallbackInterface.NEW_INSTALLATION: + { + AlertDialog InstallMessage = new AlertDialog.Builder(mAppContext).create(); + InstallMessage.setTitle("Package not found"); + InstallMessage.setMessage(callback.getPackageName() + " package was not found! Try to install it?"); + InstallMessage.setCancelable(false); // This blocks the 'BACK' button + InstallMessage.setButton(AlertDialog.BUTTON_POSITIVE, "Yes", new OnClickListener() + { + public void onClick(DialogInterface dialog, int which) + { + callback.install(); + } + }); + + InstallMessage.setButton(AlertDialog.BUTTON_NEGATIVE, "No", new OnClickListener() { + + public void onClick(DialogInterface dialog, int which) + { + callback.cancel(); + } + }); + + InstallMessage.show(); + } break; + case InstallCallbackInterface.INSTALLATION_PROGRESS: + { + AlertDialog WaitMessage = new AlertDialog.Builder(mAppContext).create(); + WaitMessage.setTitle("OpenCV is not ready"); + WaitMessage.setMessage("Installation is in progress. Wait or exit?"); + WaitMessage.setCancelable(false); // This blocks the 'BACK' button + WaitMessage.setButton(AlertDialog.BUTTON_POSITIVE, "Wait", new OnClickListener() { + public void onClick(DialogInterface dialog, int which) { + callback.wait_install(); + } + }); + WaitMessage.setButton(AlertDialog.BUTTON_NEGATIVE, "Exit", new OnClickListener() { + public void onClick(DialogInterface dialog, int which) { + callback.cancel(); + } + }); + + WaitMessage.show(); + } break; + } + } + + void finish() + { + ((Activity) mAppContext).finish(); + } + + protected Context mAppContext; + private final static String TAG = "OpenCVLoader/BaseLoaderCallback"; +} diff --git a/opencv3/src/org/opencv/android/CameraBridgeViewBase.java b/opencv3/src/org/opencv/android/CameraBridgeViewBase.java new file mode 100644 index 0000000..cb4f29f --- /dev/null +++ b/opencv3/src/org/opencv/android/CameraBridgeViewBase.java @@ -0,0 +1,495 @@ +package org.opencv.android; + +import java.util.List; + +import org.opencv.R; +import org.opencv.android.Utils; +import org.opencv.core.Mat; +import org.opencv.core.Size; +import org.opencv.videoio.Videoio; + +import android.app.Activity; +import android.app.AlertDialog; +import android.content.Context; +import android.content.DialogInterface; +import android.content.res.TypedArray; +import android.graphics.Bitmap; +import android.graphics.Canvas; +import android.graphics.Rect; +import android.util.AttributeSet; +import android.util.Log; +import android.view.SurfaceHolder; +import android.view.SurfaceView; + +/** + * This is a basic class, implementing the interaction with Camera and OpenCV library. + * The main responsibility of it - is to control when camera can be enabled, process the frame, + * call external listener to make any adjustments to the frame and then draw the resulting + * frame to the screen. + * The clients shall implement CvCameraViewListener. + */ +public abstract class CameraBridgeViewBase extends SurfaceView implements SurfaceHolder.Callback { + + private static final String TAG = "CameraBridge"; + private static final int MAX_UNSPECIFIED = -1; + private static final int STOPPED = 0; + private static final int STARTED = 1; + + private int mState = STOPPED; + private Bitmap mCacheBitmap; + private CvCameraViewListener2 mListener; + private boolean mSurfaceExist; + private Object mSyncObject = new Object(); + + protected int mFrameWidth; + protected int mFrameHeight; + protected int mMaxHeight; + protected int mMaxWidth; + protected float mScale = 0; + protected int mPreviewFormat = RGBA; + protected int mCameraIndex = CAMERA_ID_ANY; + protected boolean mEnabled; + protected FpsMeter mFpsMeter = null; + + public static final int CAMERA_ID_ANY = -1; + public static final int CAMERA_ID_BACK = 99; + public static final int CAMERA_ID_FRONT = 98; + public static final int RGBA = 1; + public static final int GRAY = 2; + + public CameraBridgeViewBase(Context context, int cameraId) { + super(context); + mCameraIndex = cameraId; + getHolder().addCallback(this); + mMaxWidth = MAX_UNSPECIFIED; + mMaxHeight = MAX_UNSPECIFIED; + } + + public CameraBridgeViewBase(Context context, AttributeSet attrs) { + super(context, attrs); + + int count = attrs.getAttributeCount(); + Log.d(TAG, "Attr count: " + Integer.valueOf(count)); + + TypedArray styledAttrs = getContext().obtainStyledAttributes(attrs, R.styleable.CameraBridgeViewBase); + if (styledAttrs.getBoolean(R.styleable.CameraBridgeViewBase_show_fps, false)) + enableFpsMeter(); + + mCameraIndex = styledAttrs.getInt(R.styleable.CameraBridgeViewBase_camera_id, -1); + + getHolder().addCallback(this); + mMaxWidth = MAX_UNSPECIFIED; + mMaxHeight = MAX_UNSPECIFIED; + styledAttrs.recycle(); + } + + /** + * Sets the camera index + * @param cameraIndex new camera index + */ + public void setCameraIndex(int cameraIndex) { + this.mCameraIndex = cameraIndex; + } + + public interface CvCameraViewListener { + /** + * This method is invoked when camera preview has started. After this method is invoked + * the frames will start to be delivered to client via the onCameraFrame() callback. + * @param width - the width of the frames that will be delivered + * @param height - the height of the frames that will be delivered + */ + public void onCameraViewStarted(int width, int height); + + /** + * This method is invoked when camera preview has been stopped for some reason. + * No frames will be delivered via onCameraFrame() callback after this method is called. + */ + public void onCameraViewStopped(); + + /** + * This method is invoked when delivery of the frame needs to be done. + * The returned values - is a modified frame which needs to be displayed on the screen. + * TODO: pass the parameters specifying the format of the frame (BPP, YUV or RGB and etc) + */ + public Mat onCameraFrame(Mat inputFrame); + } + + public interface CvCameraViewListener2 { + /** + * This method is invoked when camera preview has started. After this method is invoked + * the frames will start to be delivered to client via the onCameraFrame() callback. + * @param width - the width of the frames that will be delivered + * @param height - the height of the frames that will be delivered + */ + public void onCameraViewStarted(int width, int height); + + /** + * This method is invoked when camera preview has been stopped for some reason. + * No frames will be delivered via onCameraFrame() callback after this method is called. + */ + public void onCameraViewStopped(); + + /** + * This method is invoked when delivery of the frame needs to be done. + * The returned values - is a modified frame which needs to be displayed on the screen. + * TODO: pass the parameters specifying the format of the frame (BPP, YUV or RGB and etc) + */ + public Mat onCameraFrame(CvCameraViewFrame inputFrame); + }; + + protected class CvCameraViewListenerAdapter implements CvCameraViewListener2 { + public CvCameraViewListenerAdapter(CvCameraViewListener oldStypeListener) { + mOldStyleListener = oldStypeListener; + } + + public void onCameraViewStarted(int width, int height) { + mOldStyleListener.onCameraViewStarted(width, height); + } + + public void onCameraViewStopped() { + mOldStyleListener.onCameraViewStopped(); + } + + public Mat onCameraFrame(CvCameraViewFrame inputFrame) { + Mat result = null; + switch (mPreviewFormat) { + case RGBA: + result = mOldStyleListener.onCameraFrame(inputFrame.rgba()); + break; + case GRAY: + result = mOldStyleListener.onCameraFrame(inputFrame.gray()); + break; + default: + Log.e(TAG, "Invalid frame format! Only RGBA and Gray Scale are supported!"); + }; + + return result; + } + + public void setFrameFormat(int format) { + mPreviewFormat = format; + } + + private int mPreviewFormat = RGBA; + private CvCameraViewListener mOldStyleListener; + }; + + /** + * This class interface is abstract representation of single frame from camera for onCameraFrame callback + * Attention: Do not use objects, that represents this interface out of onCameraFrame callback! + */ + public interface CvCameraViewFrame { + + /** + * This method returns RGBA Mat with frame + */ + public Mat rgba(); + + /** + * This method returns single channel gray scale Mat with frame + */ + public Mat gray(); + }; + + public void surfaceChanged(SurfaceHolder arg0, int arg1, int arg2, int arg3) { + Log.d(TAG, "call surfaceChanged event"); + synchronized(mSyncObject) { + if (!mSurfaceExist) { + mSurfaceExist = true; + checkCurrentState(); + } else { + /** Surface changed. We need to stop camera and restart with new parameters */ + /* Pretend that old surface has been destroyed */ + mSurfaceExist = false; + checkCurrentState(); + /* Now use new surface. Say we have it now */ + mSurfaceExist = true; + checkCurrentState(); + } + } + } + + public void surfaceCreated(SurfaceHolder holder) { + /* Do nothing. Wait until surfaceChanged delivered */ + } + + public void surfaceDestroyed(SurfaceHolder holder) { + synchronized(mSyncObject) { + mSurfaceExist = false; + checkCurrentState(); + } + } + + /** + * This method is provided for clients, so they can enable the camera connection. + * The actual onCameraViewStarted callback will be delivered only after both this method is called and surface is available + */ + public void enableView() { + synchronized(mSyncObject) { + mEnabled = true; + checkCurrentState(); + } + } + + /** + * This method is provided for clients, so they can disable camera connection and stop + * the delivery of frames even though the surface view itself is not destroyed and still stays on the scren + */ + public void disableView() { + synchronized(mSyncObject) { + mEnabled = false; + checkCurrentState(); + } + } + + /** + * This method enables label with fps value on the screen + */ + public void enableFpsMeter() { + if (mFpsMeter == null) { + mFpsMeter = new FpsMeter(); + mFpsMeter.setResolution(mFrameWidth, mFrameHeight); + } + } + + public void disableFpsMeter() { + mFpsMeter = null; + } + + /** + * + * @param listener + */ + + public void setCvCameraViewListener(CvCameraViewListener2 listener) { + mListener = listener; + } + + public void setCvCameraViewListener(CvCameraViewListener listener) { + CvCameraViewListenerAdapter adapter = new CvCameraViewListenerAdapter(listener); + adapter.setFrameFormat(mPreviewFormat); + mListener = adapter; + } + + /** + * This method sets the maximum size that camera frame is allowed to be. When selecting + * size - the biggest size which less or equal the size set will be selected. + * As an example - we set setMaxFrameSize(200,200) and we have 176x152 and 320x240 sizes. The + * preview frame will be selected with 176x152 size. + * This method is useful when need to restrict the size of preview frame for some reason (for example for video recording) + * @param maxWidth - the maximum width allowed for camera frame. + * @param maxHeight - the maximum height allowed for camera frame + */ + public void setMaxFrameSize(int maxWidth, int maxHeight) { + mMaxWidth = maxWidth; + mMaxHeight = maxHeight; + } + + public void SetCaptureFormat(int format) + { + mPreviewFormat = format; + if (mListener instanceof CvCameraViewListenerAdapter) { + CvCameraViewListenerAdapter adapter = (CvCameraViewListenerAdapter) mListener; + adapter.setFrameFormat(mPreviewFormat); + } + } + + /** + * Called when mSyncObject lock is held + */ + private void checkCurrentState() { + Log.d(TAG, "call checkCurrentState"); + int targetState; + + if (mEnabled && mSurfaceExist && getVisibility() == VISIBLE) { + targetState = STARTED; + } else { + targetState = STOPPED; + } + + if (targetState != mState) { + /* The state change detected. Need to exit the current state and enter target state */ + processExitState(mState); + mState = targetState; + processEnterState(mState); + } + } + + private void processEnterState(int state) { + Log.d(TAG, "call processEnterState: " + state); + switch(state) { + case STARTED: + onEnterStartedState(); + if (mListener != null) { + mListener.onCameraViewStarted(mFrameWidth, mFrameHeight); + } + break; + case STOPPED: + onEnterStoppedState(); + if (mListener != null) { + mListener.onCameraViewStopped(); + } + break; + }; + } + + private void processExitState(int state) { + Log.d(TAG, "call processExitState: " + state); + switch(state) { + case STARTED: + onExitStartedState(); + break; + case STOPPED: + onExitStoppedState(); + break; + }; + } + + private void onEnterStoppedState() { + /* nothing to do */ + } + + private void onExitStoppedState() { + /* nothing to do */ + } + + // NOTE: The order of bitmap constructor and camera connection is important for android 4.1.x + // Bitmap must be constructed before surface + private void onEnterStartedState() { + Log.d(TAG, "call onEnterStartedState"); + /* Connect camera */ + if (!connectCamera(getWidth(), getHeight())) { + AlertDialog ad = new AlertDialog.Builder(getContext()).create(); + ad.setCancelable(false); // This blocks the 'BACK' button + ad.setMessage("It seems that you device does not support camera (or it is locked). Application will be closed."); + ad.setButton(DialogInterface.BUTTON_NEUTRAL, "OK", new DialogInterface.OnClickListener() { + public void onClick(DialogInterface dialog, int which) { + dialog.dismiss(); + ((Activity) getContext()).finish(); + } + }); + ad.show(); + + } + } + + private void onExitStartedState() { + disconnectCamera(); + if (mCacheBitmap != null) { + mCacheBitmap.recycle(); + } + } + + /** + * This method shall be called by the subclasses when they have valid + * object and want it to be delivered to external client (via callback) and + * then displayed on the screen. + * @param frame - the current frame to be delivered + */ + protected void deliverAndDrawFrame(CvCameraViewFrame frame) { + Mat modified; + + if (mListener != null) { + modified = mListener.onCameraFrame(frame); + } else { + modified = frame.rgba(); + } + + boolean bmpValid = true; + if (modified != null) { + try { + Utils.matToBitmap(modified, mCacheBitmap); + } catch(Exception e) { + Log.e(TAG, "Mat type: " + modified); + Log.e(TAG, "Bitmap type: " + mCacheBitmap.getWidth() + "*" + mCacheBitmap.getHeight()); + Log.e(TAG, "Utils.matToBitmap() throws an exception: " + e.getMessage()); + bmpValid = false; + } + } + + if (bmpValid && mCacheBitmap != null) { + Canvas canvas = getHolder().lockCanvas(); + if (canvas != null) { + canvas.drawColor(0, android.graphics.PorterDuff.Mode.CLEAR); + Log.d(TAG, "mStretch value: " + mScale); + + if (mScale != 0) { + canvas.drawBitmap(mCacheBitmap, new Rect(0,0,mCacheBitmap.getWidth(), mCacheBitmap.getHeight()), + new Rect((int)((canvas.getWidth() - mScale*mCacheBitmap.getWidth()) / 2), + (int)((canvas.getHeight() - mScale*mCacheBitmap.getHeight()) / 2), + (int)((canvas.getWidth() - mScale*mCacheBitmap.getWidth()) / 2 + mScale*mCacheBitmap.getWidth()), + (int)((canvas.getHeight() - mScale*mCacheBitmap.getHeight()) / 2 + mScale*mCacheBitmap.getHeight())), null); + } else { + canvas.drawBitmap(mCacheBitmap, new Rect(0,0,mCacheBitmap.getWidth(), mCacheBitmap.getHeight()), + new Rect((canvas.getWidth() - mCacheBitmap.getWidth()) / 2, + (canvas.getHeight() - mCacheBitmap.getHeight()) / 2, + (canvas.getWidth() - mCacheBitmap.getWidth()) / 2 + mCacheBitmap.getWidth(), + (canvas.getHeight() - mCacheBitmap.getHeight()) / 2 + mCacheBitmap.getHeight()), null); + } + + if (mFpsMeter != null) { + mFpsMeter.measure(); + mFpsMeter.draw(canvas, 50, 60); + } + getHolder().unlockCanvasAndPost(canvas); + } + } + } + + /** + * This method is invoked shall perform concrete operation to initialize the camera. + * CONTRACT: as a result of this method variables mFrameWidth and mFrameHeight MUST be + * initialized with the size of the Camera frames that will be delivered to external processor. + * @param width - the width of this SurfaceView + * @param height - the height of this SurfaceView + */ + protected abstract boolean connectCamera(int width, int height); + + /** + * Disconnects and release the particular camera object being connected to this surface view. + * Called when syncObject lock is held + */ + protected abstract void disconnectCamera(); + + // NOTE: On Android 4.1.x the function must be called before SurfaceTextre constructor! + protected void AllocateCache() + { + mCacheBitmap = Bitmap.createBitmap(mFrameWidth, mFrameHeight, Bitmap.Config.ARGB_8888); + } + + public interface ListItemAccessor { + public int getWidth(Object obj); + public int getHeight(Object obj); + }; + + /** + * This helper method can be called by subclasses to select camera preview size. + * It goes over the list of the supported preview sizes and selects the maximum one which + * fits both values set via setMaxFrameSize() and surface frame allocated for this view + * @param supportedSizes + * @param surfaceWidth + * @param surfaceHeight + * @return optimal frame size + */ + protected Size calculateCameraFrameSize(List supportedSizes, ListItemAccessor accessor, int surfaceWidth, int surfaceHeight) { + int calcWidth = 0; + int calcHeight = 0; + + int maxAllowedWidth = (mMaxWidth != MAX_UNSPECIFIED && mMaxWidth < surfaceWidth)? mMaxWidth : surfaceWidth; + int maxAllowedHeight = (mMaxHeight != MAX_UNSPECIFIED && mMaxHeight < surfaceHeight)? mMaxHeight : surfaceHeight; + + for (Object size : supportedSizes) { + int width = accessor.getWidth(size); + int height = accessor.getHeight(size); + + if (width <= maxAllowedWidth && height <= maxAllowedHeight) { + if (width >= calcWidth && height >= calcHeight) { + calcWidth = (int) width; + calcHeight = (int) height; + } + } + } + + return new Size(calcWidth, calcHeight); + } +} diff --git a/opencv3/src/org/opencv/android/FpsMeter.java b/opencv3/src/org/opencv/android/FpsMeter.java new file mode 100644 index 0000000..9fe80fb --- /dev/null +++ b/opencv3/src/org/opencv/android/FpsMeter.java @@ -0,0 +1,66 @@ +package org.opencv.android; + +import java.text.DecimalFormat; + +import org.opencv.core.Core; + +import android.graphics.Canvas; +import android.graphics.Color; +import android.graphics.Paint; +import android.util.Log; + +public class FpsMeter { + private static final String TAG = "FpsMeter"; + private static final int STEP = 20; + private static final DecimalFormat FPS_FORMAT = new DecimalFormat("0.00"); + + private int mFramesCouner; + private double mFrequency; + private long mprevFrameTime; + private String mStrfps; + Paint mPaint; + boolean mIsInitialized = false; + int mWidth = 0; + int mHeight = 0; + + public void init() { + mFramesCouner = 0; + mFrequency = Core.getTickFrequency(); + mprevFrameTime = Core.getTickCount(); + mStrfps = ""; + + mPaint = new Paint(); + mPaint.setColor(Color.BLUE); + mPaint.setTextSize(50); + } + + public void measure() { + if (!mIsInitialized) { + init(); + mIsInitialized = true; + } else { + mFramesCouner++; + if (mFramesCouner % STEP == 0) { + long time = Core.getTickCount(); + double fps = STEP * mFrequency / (time - mprevFrameTime); + mprevFrameTime = time; + if (mWidth != 0 && mHeight != 0) + mStrfps = FPS_FORMAT.format(fps) + " FPS@" + Integer.valueOf(mWidth) + "x" + Integer.valueOf(mHeight); + else + mStrfps = FPS_FORMAT.format(fps) + " FPS"; + Log.i(TAG, mStrfps); + } + } + } + + public void setResolution(int width, int height) { + mWidth = width; + mHeight = height; + } + + public void draw(Canvas canvas, float offsetx, float offsety) { + Log.d(TAG, mStrfps); + canvas.drawText(mStrfps, offsetx, offsety, mPaint); + } + +} diff --git a/opencv3/src/org/opencv/android/InstallCallbackInterface.java b/opencv3/src/org/opencv/android/InstallCallbackInterface.java new file mode 100644 index 0000000..f68027a --- /dev/null +++ b/opencv3/src/org/opencv/android/InstallCallbackInterface.java @@ -0,0 +1,34 @@ +package org.opencv.android; + +/** + * Installation callback interface. + */ +public interface InstallCallbackInterface +{ + /** + * New package installation is required. + */ + static final int NEW_INSTALLATION = 0; + /** + * Current package installation is in progress. + */ + static final int INSTALLATION_PROGRESS = 1; + + /** + * Target package name. + * @return Return target package name. + */ + public String getPackageName(); + /** + * Installation is approved. + */ + public void install(); + /** + * Installation is canceled. + */ + public void cancel(); + /** + * Wait for package installation. + */ + public void wait_install(); +}; diff --git a/opencv3/src/org/opencv/android/JavaCameraView.java b/opencv3/src/org/opencv/android/JavaCameraView.java new file mode 100644 index 0000000..fca29db --- /dev/null +++ b/opencv3/src/org/opencv/android/JavaCameraView.java @@ -0,0 +1,352 @@ +package org.opencv.android; + +import java.util.List; + +import android.content.Context; +import android.graphics.ImageFormat; +import android.graphics.SurfaceTexture; +import android.hardware.Camera; +import android.hardware.Camera.PreviewCallback; +import android.os.Build; +import android.util.AttributeSet; +import android.util.Log; +import android.view.ViewGroup.LayoutParams; + +import org.opencv.core.CvType; +import org.opencv.core.Mat; +import org.opencv.core.Size; +import org.opencv.imgproc.Imgproc; + +/** + * This class is an implementation of the Bridge View between OpenCV and Java Camera. + * This class relays on the functionality available in base class and only implements + * required functions: + * connectCamera - opens Java camera and sets the PreviewCallback to be delivered. + * disconnectCamera - closes the camera and stops preview. + * When frame is delivered via callback from Camera - it processed via OpenCV to be + * converted to RGBA32 and then passed to the external callback for modifications if required. + */ +public class JavaCameraView extends CameraBridgeViewBase implements PreviewCallback { + + private static final int MAGIC_TEXTURE_ID = 10; + private static final String TAG = "JavaCameraView"; + + private byte mBuffer[]; + private Mat[] mFrameChain; + private int mChainIdx = 0; + private Thread mThread; + private boolean mStopThread; + + protected Camera mCamera; + protected JavaCameraFrame[] mCameraFrame; + private SurfaceTexture mSurfaceTexture; + + public static class JavaCameraSizeAccessor implements ListItemAccessor { + + @Override + public int getWidth(Object obj) { + Camera.Size size = (Camera.Size) obj; + return size.width; + } + + @Override + public int getHeight(Object obj) { + Camera.Size size = (Camera.Size) obj; + return size.height; + } + } + + public JavaCameraView(Context context, int cameraId) { + super(context, cameraId); + } + + public JavaCameraView(Context context, AttributeSet attrs) { + super(context, attrs); + } + + protected boolean initializeCamera(int width, int height) { + Log.d(TAG, "Initialize java camera"); + boolean result = true; + synchronized (this) { + mCamera = null; + + if (mCameraIndex == CAMERA_ID_ANY) { + Log.d(TAG, "Trying to open camera with old open()"); + try { + mCamera = Camera.open(); + } + catch (Exception e){ + Log.e(TAG, "Camera is not available (in use or does not exist): " + e.getLocalizedMessage()); + } + + if(mCamera == null && Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) { + boolean connected = false; + for (int camIdx = 0; camIdx < Camera.getNumberOfCameras(); ++camIdx) { + Log.d(TAG, "Trying to open camera with new open(" + Integer.valueOf(camIdx) + ")"); + try { + mCamera = Camera.open(camIdx); + connected = true; + } catch (RuntimeException e) { + Log.e(TAG, "Camera #" + camIdx + "failed to open: " + e.getLocalizedMessage()); + } + if (connected) break; + } + } + } else { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) { + int localCameraIndex = mCameraIndex; + if (mCameraIndex == CAMERA_ID_BACK) { + Log.i(TAG, "Trying to open back camera"); + Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); + for (int camIdx = 0; camIdx < Camera.getNumberOfCameras(); ++camIdx) { + Camera.getCameraInfo( camIdx, cameraInfo ); + if (cameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_BACK) { + localCameraIndex = camIdx; + break; + } + } + } else if (mCameraIndex == CAMERA_ID_FRONT) { + Log.i(TAG, "Trying to open front camera"); + Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); + for (int camIdx = 0; camIdx < Camera.getNumberOfCameras(); ++camIdx) { + Camera.getCameraInfo( camIdx, cameraInfo ); + if (cameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { + localCameraIndex = camIdx; + break; + } + } + } + if (localCameraIndex == CAMERA_ID_BACK) { + Log.e(TAG, "Back camera not found!"); + } else if (localCameraIndex == CAMERA_ID_FRONT) { + Log.e(TAG, "Front camera not found!"); + } else { + Log.d(TAG, "Trying to open camera with new open(" + Integer.valueOf(localCameraIndex) + ")"); + try { + mCamera = Camera.open(localCameraIndex); + } catch (RuntimeException e) { + Log.e(TAG, "Camera #" + localCameraIndex + "failed to open: " + e.getLocalizedMessage()); + } + } + } + } + + if (mCamera == null) + return false; + + /* Now set camera parameters */ + try { + Camera.Parameters params = mCamera.getParameters(); + Log.d(TAG, "getSupportedPreviewSizes()"); + List sizes = params.getSupportedPreviewSizes(); + + if (sizes != null) { + /* Select the size that fits surface considering maximum size allowed */ + Size frameSize = calculateCameraFrameSize(sizes, new JavaCameraSizeAccessor(), width, height); + + params.setPreviewFormat(ImageFormat.NV21); + Log.d(TAG, "Set preview size to " + Integer.valueOf((int)frameSize.width) + "x" + Integer.valueOf((int)frameSize.height)); + params.setPreviewSize((int)frameSize.width, (int)frameSize.height); + + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH && !android.os.Build.MODEL.equals("GT-I9100")) + params.setRecordingHint(true); + + List FocusModes = params.getSupportedFocusModes(); + if (FocusModes != null && FocusModes.contains(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO)) + { + params.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO); + } + + mCamera.setParameters(params); + params = mCamera.getParameters(); + + mFrameWidth = params.getPreviewSize().width; + mFrameHeight = params.getPreviewSize().height; + + if ((getLayoutParams().width == LayoutParams.MATCH_PARENT) && (getLayoutParams().height == LayoutParams.MATCH_PARENT)) + mScale = Math.min(((float)height)/mFrameHeight, ((float)width)/mFrameWidth); + else + mScale = 0; + + if (mFpsMeter != null) { + mFpsMeter.setResolution(mFrameWidth, mFrameHeight); + } + + int size = mFrameWidth * mFrameHeight; + size = size * ImageFormat.getBitsPerPixel(params.getPreviewFormat()) / 8; + mBuffer = new byte[size]; + + mCamera.addCallbackBuffer(mBuffer); + mCamera.setPreviewCallbackWithBuffer(this); + + mFrameChain = new Mat[2]; + mFrameChain[0] = new Mat(mFrameHeight + (mFrameHeight/2), mFrameWidth, CvType.CV_8UC1); + mFrameChain[1] = new Mat(mFrameHeight + (mFrameHeight/2), mFrameWidth, CvType.CV_8UC1); + + AllocateCache(); + + mCameraFrame = new JavaCameraFrame[2]; + mCameraFrame[0] = new JavaCameraFrame(mFrameChain[0], mFrameWidth, mFrameHeight); + mCameraFrame[1] = new JavaCameraFrame(mFrameChain[1], mFrameWidth, mFrameHeight); + + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { + mSurfaceTexture = new SurfaceTexture(MAGIC_TEXTURE_ID); + mCamera.setPreviewTexture(mSurfaceTexture); + } else + mCamera.setPreviewDisplay(null); + + /* Finally we are ready to start the preview */ + Log.d(TAG, "startPreview"); + mCamera.startPreview(); + } + else + result = false; + } catch (Exception e) { + result = false; + e.printStackTrace(); + } + } + + return result; + } + + protected void releaseCamera() { + synchronized (this) { + if (mCamera != null) { + mCamera.stopPreview(); + mCamera.setPreviewCallback(null); + + mCamera.release(); + } + mCamera = null; + if (mFrameChain != null) { + mFrameChain[0].release(); + mFrameChain[1].release(); + } + if (mCameraFrame != null) { + mCameraFrame[0].release(); + mCameraFrame[1].release(); + } + } + } + + private boolean mCameraFrameReady = false; + + @Override + protected boolean connectCamera(int width, int height) { + + /* 1. We need to instantiate camera + * 2. We need to start thread which will be getting frames + */ + /* First step - initialize camera connection */ + Log.d(TAG, "Connecting to camera"); + if (!initializeCamera(width, height)) + return false; + + mCameraFrameReady = false; + + /* now we can start update thread */ + Log.d(TAG, "Starting processing thread"); + mStopThread = false; + mThread = new Thread(new CameraWorker()); + mThread.start(); + + return true; + } + + @Override + protected void disconnectCamera() { + /* 1. We need to stop thread which updating the frames + * 2. Stop camera and release it + */ + Log.d(TAG, "Disconnecting from camera"); + try { + mStopThread = true; + Log.d(TAG, "Notify thread"); + synchronized (this) { + this.notify(); + } + Log.d(TAG, "Wating for thread"); + if (mThread != null) + mThread.join(); + } catch (InterruptedException e) { + e.printStackTrace(); + } finally { + mThread = null; + } + + /* Now release camera */ + releaseCamera(); + + mCameraFrameReady = false; + } + + @Override + public void onPreviewFrame(byte[] frame, Camera arg1) { + Log.d(TAG, "Preview Frame received. Frame size: " + frame.length); + synchronized (this) { + mFrameChain[mChainIdx].put(0, 0, frame); + mCameraFrameReady = true; + this.notify(); + } + if (mCamera != null) + mCamera.addCallbackBuffer(mBuffer); + } + + private class JavaCameraFrame implements CvCameraViewFrame { + @Override + public Mat gray() { + return mYuvFrameData.submat(0, mHeight, 0, mWidth); + } + + @Override + public Mat rgba() { + Imgproc.cvtColor(mYuvFrameData, mRgba, Imgproc.COLOR_YUV2RGBA_NV21, 4); + return mRgba; + } + + public JavaCameraFrame(Mat Yuv420sp, int width, int height) { + super(); + mWidth = width; + mHeight = height; + mYuvFrameData = Yuv420sp; + mRgba = new Mat(); + } + + public void release() { + mRgba.release(); + } + + private Mat mYuvFrameData; + private Mat mRgba; + private int mWidth; + private int mHeight; + }; + + private class CameraWorker implements Runnable { + + @Override + public void run() { + do { + synchronized (JavaCameraView.this) { + try { + while (!mCameraFrameReady && !mStopThread) { + JavaCameraView.this.wait(); + } + } catch (InterruptedException e) { + e.printStackTrace(); + } + if (mCameraFrameReady) + mChainIdx = 1 - mChainIdx; + } + + if (!mStopThread && mCameraFrameReady) { + mCameraFrameReady = false; + if (!mFrameChain[1 - mChainIdx].empty()) + deliverAndDrawFrame(mCameraFrame[1 - mChainIdx]); + } + } while (!mStopThread); + Log.d(TAG, "Finish processing thread"); + } + } +} diff --git a/opencv3/src/org/opencv/android/LoaderCallbackInterface.java b/opencv3/src/org/opencv/android/LoaderCallbackInterface.java new file mode 100644 index 0000000..a941e83 --- /dev/null +++ b/opencv3/src/org/opencv/android/LoaderCallbackInterface.java @@ -0,0 +1,40 @@ +package org.opencv.android; + +/** + * Interface for callback object in case of asynchronous initialization of OpenCV. + */ +public interface LoaderCallbackInterface +{ + /** + * OpenCV initialization finished successfully. + */ + static final int SUCCESS = 0; + /** + * Google Play Market cannot be invoked. + */ + static final int MARKET_ERROR = 2; + /** + * OpenCV library installation has been canceled by the user. + */ + static final int INSTALL_CANCELED = 3; + /** + * This version of OpenCV Manager Service is incompatible with the app. Possibly, a service update is required. + */ + static final int INCOMPATIBLE_MANAGER_VERSION = 4; + /** + * OpenCV library initialization has failed. + */ + static final int INIT_FAILED = 0xff; + + /** + * Callback method, called after OpenCV library initialization. + * @param status status of initialization (see initialization status constants). + */ + public void onManagerConnected(int status); + + /** + * Callback method, called in case the package installation is needed. + * @param callback answer object with approve and cancel methods and the package description. + */ + public void onPackageInstall(final int operation, InstallCallbackInterface callback); +}; diff --git a/opencv3/src/org/opencv/android/OpenCVLoader.java b/opencv3/src/org/opencv/android/OpenCVLoader.java new file mode 100644 index 0000000..339ea2d --- /dev/null +++ b/opencv3/src/org/opencv/android/OpenCVLoader.java @@ -0,0 +1,97 @@ +package org.opencv.android; + +import android.content.Context; + +/** + * Helper class provides common initialization methods for OpenCV library. + */ +public class OpenCVLoader +{ + /** + * OpenCV Library version 2.4.2. + */ + public static final String OPENCV_VERSION_2_4_2 = "2.4.2"; + + /** + * OpenCV Library version 2.4.3. + */ + public static final String OPENCV_VERSION_2_4_3 = "2.4.3"; + + /** + * OpenCV Library version 2.4.4. + */ + public static final String OPENCV_VERSION_2_4_4 = "2.4.4"; + + /** + * OpenCV Library version 2.4.5. + */ + public static final String OPENCV_VERSION_2_4_5 = "2.4.5"; + + /** + * OpenCV Library version 2.4.6. + */ + public static final String OPENCV_VERSION_2_4_6 = "2.4.6"; + + /** + * OpenCV Library version 2.4.7. + */ + public static final String OPENCV_VERSION_2_4_7 = "2.4.7"; + + /** + * OpenCV Library version 2.4.8. + */ + public static final String OPENCV_VERSION_2_4_8 = "2.4.8"; + + /** + * OpenCV Library version 2.4.9. + */ + public static final String OPENCV_VERSION_2_4_9 = "2.4.9"; + + /** + * OpenCV Library version 2.4.10. + */ + public static final String OPENCV_VERSION_2_4_10 = "2.4.10"; + + /** + * OpenCV Library version 2.4.11. + */ + public static final String OPENCV_VERSION_2_4_11 = "2.4.11"; + + /** + * OpenCV Library version 3.0.0. + */ + public static final String OPENCV_VERSION_3_0_0 = "3.0.0"; + + + /** + * Loads and initializes OpenCV library from current application package. Roughly, it's an analog of system.loadLibrary("opencv_java"). + * @return Returns true is initialization of OpenCV was successful. + */ + public static boolean initDebug() + { + return StaticHelper.initOpenCV(false); + } + + /** + * Loads and initializes OpenCV library from current application package. Roughly, it's an analog of system.loadLibrary("opencv_java"). + * @param InitCuda load and initialize CUDA runtime libraries. + * @return Returns true is initialization of OpenCV was successful. + */ + public static boolean initDebug(boolean InitCuda) + { + return StaticHelper.initOpenCV(InitCuda); + } + + /** + * Loads and initializes OpenCV library using OpenCV Engine service. + * @param Version OpenCV library version. + * @param AppContext application context for connecting to the service. + * @param Callback object, that implements LoaderCallbackInterface for handling the connection status. + * @return Returns true if initialization of OpenCV is successful. + */ + public static boolean initAsync(String Version, Context AppContext, + LoaderCallbackInterface Callback) + { + return AsyncServiceHelper.initOpenCV(Version, AppContext, Callback); + } +} diff --git a/opencv3/src/org/opencv/android/StaticHelper.java b/opencv3/src/org/opencv/android/StaticHelper.java new file mode 100644 index 0000000..36f9f6f --- /dev/null +++ b/opencv3/src/org/opencv/android/StaticHelper.java @@ -0,0 +1,104 @@ +package org.opencv.android; + +import org.opencv.core.Core; + +import java.util.StringTokenizer; +import android.util.Log; + +class StaticHelper { + + public static boolean initOpenCV(boolean InitCuda) + { + boolean result; + String libs = ""; + + if(InitCuda) + { + loadLibrary("cudart"); + loadLibrary("nppc"); + loadLibrary("nppi"); + loadLibrary("npps"); + loadLibrary("cufft"); + loadLibrary("cublas"); + } + + Log.d(TAG, "Trying to get library list"); + + try + { + System.loadLibrary("opencv_info"); + libs = getLibraryList(); + } + catch(UnsatisfiedLinkError e) + { + Log.e(TAG, "OpenCV error: Cannot load info library for OpenCV"); + } + + Log.d(TAG, "Library list: \"" + libs + "\""); + Log.d(TAG, "First attempt to load libs"); + if (initOpenCVLibs(libs)) + { + Log.d(TAG, "First attempt to load libs is OK"); + String eol = System.getProperty("line.separator"); + for (String str : Core.getBuildInformation().split(eol)) + Log.i(TAG, str); + + result = true; + } + else + { + Log.d(TAG, "First attempt to load libs fails"); + result = false; + } + + return result; + } + + private static boolean loadLibrary(String Name) + { + boolean result = true; + + Log.d(TAG, "Trying to load library " + Name); + try + { + System.loadLibrary(Name); + Log.d(TAG, "Library " + Name + " loaded"); + } + catch(UnsatisfiedLinkError e) + { + Log.d(TAG, "Cannot load library \"" + Name + "\""); + e.printStackTrace(); + result &= false; + } + + return result; + } + + private static boolean initOpenCVLibs(String Libs) + { + Log.d(TAG, "Trying to init OpenCV libs"); + + boolean result = true; + + if ((null != Libs) && (Libs.length() != 0)) + { + Log.d(TAG, "Trying to load libs by dependency list"); + StringTokenizer splitter = new StringTokenizer(Libs, ";"); + while(splitter.hasMoreTokens()) + { + result &= loadLibrary(splitter.nextToken()); + } + } + else + { + // If dependencies list is not defined or empty. + result &= loadLibrary("opencv_java3"); + } + + return result; + } + + private static final String TAG = "OpenCV/StaticHelper"; + + private static native String getLibraryList(); +} diff --git a/opencv3/src/org/opencv/android/Utils.java b/opencv3/src/org/opencv/android/Utils.java new file mode 100644 index 0000000..404c986 --- /dev/null +++ b/opencv3/src/org/opencv/android/Utils.java @@ -0,0 +1,139 @@ +package org.opencv.android; + +import android.content.Context; +import android.graphics.Bitmap; + +import org.opencv.core.CvException; +import org.opencv.core.CvType; +import org.opencv.core.Mat; +import org.opencv.imgcodecs.Imgcodecs; + +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; + +public class Utils { + + public static String exportResource(Context context, int resourceId) { + return exportResource(context, resourceId, "OpenCV_data"); + } + + public static String exportResource(Context context, int resourceId, String dirname) { + String fullname = context.getResources().getString(resourceId); + String resName = fullname.substring(fullname.lastIndexOf("/") + 1); + try { + InputStream is = context.getResources().openRawResource(resourceId); + File resDir = context.getDir(dirname, Context.MODE_PRIVATE); + File resFile = new File(resDir, resName); + + FileOutputStream os = new FileOutputStream(resFile); + + byte[] buffer = new byte[4096]; + int bytesRead; + while ((bytesRead = is.read(buffer)) != -1) { + os.write(buffer, 0, bytesRead); + } + is.close(); + os.close(); + + return resFile.getAbsolutePath(); + } catch (IOException e) { + e.printStackTrace(); + throw new CvException("Failed to export resource " + resName + + ". Exception thrown: " + e); + } + } + + public static Mat loadResource(Context context, int resourceId) throws IOException + { + return loadResource(context, resourceId, -1); + } + + public static Mat loadResource(Context context, int resourceId, int flags) throws IOException + { + InputStream is = context.getResources().openRawResource(resourceId); + ByteArrayOutputStream os = new ByteArrayOutputStream(is.available()); + + byte[] buffer = new byte[4096]; + int bytesRead; + while ((bytesRead = is.read(buffer)) != -1) { + os.write(buffer, 0, bytesRead); + } + is.close(); + + Mat encoded = new Mat(1, os.size(), CvType.CV_8U); + encoded.put(0, 0, os.toByteArray()); + os.close(); + + Mat decoded = Imgcodecs.imdecode(encoded, flags); + encoded.release(); + + return decoded; + } + + /** + * Converts Android Bitmap to OpenCV Mat. + *

+ * This function converts an Android Bitmap image to the OpenCV Mat. + *
'ARGB_8888' and 'RGB_565' input Bitmap formats are supported. + *
The output Mat is always created of the same size as the input Bitmap and of the 'CV_8UC4' type, + * it keeps the image in RGBA format. + *
This function throws an exception if the conversion fails. + * @param bmp is a valid input Bitmap object of the type 'ARGB_8888' or 'RGB_565'. + * @param mat is a valid output Mat object, it will be reallocated if needed, so it may be empty. + * @param unPremultiplyAlpha is a flag, that determines, whether the bitmap needs to be converted from alpha premultiplied format (like Android keeps 'ARGB_8888' ones) to regular one; this flag is ignored for 'RGB_565' bitmaps. + */ + public static void bitmapToMat(Bitmap bmp, Mat mat, boolean unPremultiplyAlpha) { + if (bmp == null) + throw new java.lang.IllegalArgumentException("bmp == null"); + if (mat == null) + throw new java.lang.IllegalArgumentException("mat == null"); + nBitmapToMat2(bmp, mat.nativeObj, unPremultiplyAlpha); + } + + /** + * Short form of the bitmapToMat(bmp, mat, unPremultiplyAlpha=false). + * @param bmp is a valid input Bitmap object of the type 'ARGB_8888' or 'RGB_565'. + * @param mat is a valid output Mat object, it will be reallocated if needed, so Mat may be empty. + */ + public static void bitmapToMat(Bitmap bmp, Mat mat) { + bitmapToMat(bmp, mat, false); + } + + + /** + * Converts OpenCV Mat to Android Bitmap. + *

+ *
This function converts an image in the OpenCV Mat representation to the Android Bitmap. + *
The input Mat object has to be of the types 'CV_8UC1' (gray-scale), 'CV_8UC3' (RGB) or 'CV_8UC4' (RGBA). + *
The output Bitmap object has to be of the same size as the input Mat and of the types 'ARGB_8888' or 'RGB_565'. + *
This function throws an exception if the conversion fails. + * + * @param mat is a valid input Mat object of types 'CV_8UC1', 'CV_8UC3' or 'CV_8UC4'. + * @param bmp is a valid Bitmap object of the same size as the Mat and of type 'ARGB_8888' or 'RGB_565'. + * @param premultiplyAlpha is a flag, that determines, whether the Mat needs to be converted to alpha premultiplied format (like Android keeps 'ARGB_8888' bitmaps); the flag is ignored for 'RGB_565' bitmaps. + */ + public static void matToBitmap(Mat mat, Bitmap bmp, boolean premultiplyAlpha) { + if (mat == null) + throw new java.lang.IllegalArgumentException("mat == null"); + if (bmp == null) + throw new java.lang.IllegalArgumentException("bmp == null"); + nMatToBitmap2(mat.nativeObj, bmp, premultiplyAlpha); + } + + /** + * Short form of the matToBitmap(mat, bmp, premultiplyAlpha=false) + * @param mat is a valid input Mat object of the types 'CV_8UC1', 'CV_8UC3' or 'CV_8UC4'. + * @param bmp is a valid Bitmap object of the same size as the Mat and of type 'ARGB_8888' or 'RGB_565'. + */ + public static void matToBitmap(Mat mat, Bitmap bmp) { + matToBitmap(mat, bmp, false); + } + + + private static native void nBitmapToMat2(Bitmap b, long m_addr, boolean unPremultiplyAlpha); + + private static native void nMatToBitmap2(long m_addr, Bitmap b, boolean premultiplyAlpha); +} diff --git a/opencv3/src/org/opencv/calib3d/Calib3d.java b/opencv3/src/org/opencv/calib3d/Calib3d.java new file mode 100644 index 0000000..9660d43 --- /dev/null +++ b/opencv3/src/org/opencv/calib3d/Calib3d.java @@ -0,0 +1,1312 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.calib3d; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfDouble; +import org.opencv.core.MatOfPoint2f; +import org.opencv.core.MatOfPoint3f; +import org.opencv.core.Point; +import org.opencv.core.Rect; +import org.opencv.core.Size; +import org.opencv.core.TermCriteria; +import org.opencv.utils.Converters; + +public class Calib3d { + + public static final int + CALIB_USE_INTRINSIC_GUESS = 1, + CALIB_RECOMPUTE_EXTRINSIC = 2, + CALIB_CHECK_COND = 4, + CALIB_FIX_SKEW = 8, + CALIB_FIX_K1 = 16, + CALIB_FIX_K2 = 32, + CALIB_FIX_K3 = 64, + CALIB_FIX_K4 = 128, + CALIB_FIX_INTRINSIC = 256, + CV_ITERATIVE = 0, + CV_EPNP = 1, + CV_P3P = 2, + CV_DLS = 3, + LMEDS = 4, + RANSAC = 8, + RHO = 16, + SOLVEPNP_ITERATIVE = 0, + SOLVEPNP_EPNP = 1, + SOLVEPNP_P3P = 2, + SOLVEPNP_DLS = 3, + SOLVEPNP_UPNP = 4, + CALIB_CB_ADAPTIVE_THRESH = 1, + CALIB_CB_NORMALIZE_IMAGE = 2, + CALIB_CB_FILTER_QUADS = 4, + CALIB_CB_FAST_CHECK = 8, + CALIB_CB_SYMMETRIC_GRID = 1, + CALIB_CB_ASYMMETRIC_GRID = 2, + CALIB_CB_CLUSTERING = 4, + CALIB_FIX_ASPECT_RATIO = 0x00002, + CALIB_FIX_PRINCIPAL_POINT = 0x00004, + CALIB_ZERO_TANGENT_DIST = 0x00008, + CALIB_FIX_FOCAL_LENGTH = 0x00010, + CALIB_FIX_K5 = 0x01000, + CALIB_FIX_K6 = 0x02000, + CALIB_RATIONAL_MODEL = 0x04000, + CALIB_THIN_PRISM_MODEL = 0x08000, + CALIB_FIX_S1_S2_S3_S4 = 0x10000, + CALIB_SAME_FOCAL_LENGTH = 0x00200, + CALIB_ZERO_DISPARITY = 0x00400, + FM_7POINT = 1, + FM_8POINT = 2, + FM_LMEDS = 4, + FM_RANSAC = 8; + + + // + // C++: void projectPoints(vector_Point3f objectPoints, Mat rvec, Mat tvec, Mat cameraMatrix, vector_double distCoeffs, vector_Point2f& imagePoints, Mat& jacobian = Mat(), double aspectRatio = 0) + // + + //javadoc: projectPoints(objectPoints, rvec, tvec, cameraMatrix, distCoeffs, imagePoints, jacobian, aspectRatio) + public static void projectPoints(MatOfPoint3f objectPoints, Mat rvec, Mat tvec, Mat cameraMatrix, MatOfDouble distCoeffs, MatOfPoint2f imagePoints, Mat jacobian, double aspectRatio) + { + Mat objectPoints_mat = objectPoints; + Mat distCoeffs_mat = distCoeffs; + Mat imagePoints_mat = imagePoints; + projectPoints_0(objectPoints_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, imagePoints_mat.nativeObj, jacobian.nativeObj, aspectRatio); + + return; + } + + //javadoc: projectPoints(objectPoints, rvec, tvec, cameraMatrix, distCoeffs, imagePoints) + public static void projectPoints(MatOfPoint3f objectPoints, Mat rvec, Mat tvec, Mat cameraMatrix, MatOfDouble distCoeffs, MatOfPoint2f imagePoints) + { + Mat objectPoints_mat = objectPoints; + Mat distCoeffs_mat = distCoeffs; + Mat imagePoints_mat = imagePoints; + projectPoints_1(objectPoints_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, imagePoints_mat.nativeObj); + + return; + } + + + // + // C++: bool solvePnP(vector_Point3f objectPoints, vector_Point2f imagePoints, Mat cameraMatrix, vector_double distCoeffs, Mat& rvec, Mat& tvec, bool useExtrinsicGuess = false, int flags = SOLVEPNP_ITERATIVE) + // + + //javadoc: solvePnP(objectPoints, imagePoints, cameraMatrix, distCoeffs, rvec, tvec, useExtrinsicGuess, flags) + public static boolean solvePnP(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat cameraMatrix, MatOfDouble distCoeffs, Mat rvec, Mat tvec, boolean useExtrinsicGuess, int flags) + { + Mat objectPoints_mat = objectPoints; + Mat imagePoints_mat = imagePoints; + Mat distCoeffs_mat = distCoeffs; + boolean retVal = solvePnP_0(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, useExtrinsicGuess, flags); + + return retVal; + } + + //javadoc: solvePnP(objectPoints, imagePoints, cameraMatrix, distCoeffs, rvec, tvec) + public static boolean solvePnP(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat cameraMatrix, MatOfDouble distCoeffs, Mat rvec, Mat tvec) + { + Mat objectPoints_mat = objectPoints; + Mat imagePoints_mat = imagePoints; + Mat distCoeffs_mat = distCoeffs; + boolean retVal = solvePnP_1(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, rvec.nativeObj, tvec.nativeObj); + + return retVal; + } + + + // + // C++: bool solvePnPRansac(vector_Point3f objectPoints, vector_Point2f imagePoints, Mat cameraMatrix, vector_double distCoeffs, Mat& rvec, Mat& tvec, bool useExtrinsicGuess = false, int iterationsCount = 100, float reprojectionError = 8.0, double confidence = 0.99, Mat& inliers = Mat(), int flags = SOLVEPNP_ITERATIVE) + // + + //javadoc: solvePnPRansac(objectPoints, imagePoints, cameraMatrix, distCoeffs, rvec, tvec, useExtrinsicGuess, iterationsCount, reprojectionError, confidence, inliers, flags) + public static boolean solvePnPRansac(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat cameraMatrix, MatOfDouble distCoeffs, Mat rvec, Mat tvec, boolean useExtrinsicGuess, int iterationsCount, float reprojectionError, double confidence, Mat inliers, int flags) + { + Mat objectPoints_mat = objectPoints; + Mat imagePoints_mat = imagePoints; + Mat distCoeffs_mat = distCoeffs; + boolean retVal = solvePnPRansac_0(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, useExtrinsicGuess, iterationsCount, reprojectionError, confidence, inliers.nativeObj, flags); + + return retVal; + } + + //javadoc: solvePnPRansac(objectPoints, imagePoints, cameraMatrix, distCoeffs, rvec, tvec) + public static boolean solvePnPRansac(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat cameraMatrix, MatOfDouble distCoeffs, Mat rvec, Mat tvec) + { + Mat objectPoints_mat = objectPoints; + Mat imagePoints_mat = imagePoints; + Mat distCoeffs_mat = distCoeffs; + boolean retVal = solvePnPRansac_1(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs_mat.nativeObj, rvec.nativeObj, tvec.nativeObj); + + return retVal; + } + + + // + // C++: bool findChessboardCorners(Mat image, Size patternSize, vector_Point2f& corners, int flags = CALIB_CB_ADAPTIVE_THRESH + CALIB_CB_NORMALIZE_IMAGE) + // + + //javadoc: findChessboardCorners(image, patternSize, corners, flags) + public static boolean findChessboardCorners(Mat image, Size patternSize, MatOfPoint2f corners, int flags) + { + Mat corners_mat = corners; + boolean retVal = findChessboardCorners_0(image.nativeObj, patternSize.width, patternSize.height, corners_mat.nativeObj, flags); + + return retVal; + } + + //javadoc: findChessboardCorners(image, patternSize, corners) + public static boolean findChessboardCorners(Mat image, Size patternSize, MatOfPoint2f corners) + { + Mat corners_mat = corners; + boolean retVal = findChessboardCorners_1(image.nativeObj, patternSize.width, patternSize.height, corners_mat.nativeObj); + + return retVal; + } + + + // + // C++: Mat initCameraMatrix2D(vector_vector_Point3f objectPoints, vector_vector_Point2f imagePoints, Size imageSize, double aspectRatio = 1.0) + // + + //javadoc: initCameraMatrix2D(objectPoints, imagePoints, imageSize, aspectRatio) + public static Mat initCameraMatrix2D(List objectPoints, List imagePoints, Size imageSize, double aspectRatio) + { + List objectPoints_tmplm = new ArrayList((objectPoints != null) ? objectPoints.size() : 0); + Mat objectPoints_mat = Converters.vector_vector_Point3f_to_Mat(objectPoints, objectPoints_tmplm); + List imagePoints_tmplm = new ArrayList((imagePoints != null) ? imagePoints.size() : 0); + Mat imagePoints_mat = Converters.vector_vector_Point2f_to_Mat(imagePoints, imagePoints_tmplm); + Mat retVal = new Mat(initCameraMatrix2D_0(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, imageSize.width, imageSize.height, aspectRatio)); + + return retVal; + } + + //javadoc: initCameraMatrix2D(objectPoints, imagePoints, imageSize) + public static Mat initCameraMatrix2D(List objectPoints, List imagePoints, Size imageSize) + { + List objectPoints_tmplm = new ArrayList((objectPoints != null) ? objectPoints.size() : 0); + Mat objectPoints_mat = Converters.vector_vector_Point3f_to_Mat(objectPoints, objectPoints_tmplm); + List imagePoints_tmplm = new ArrayList((imagePoints != null) ? imagePoints.size() : 0); + Mat imagePoints_mat = Converters.vector_vector_Point2f_to_Mat(imagePoints, imagePoints_tmplm); + Mat retVal = new Mat(initCameraMatrix2D_1(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, imageSize.width, imageSize.height)); + + return retVal; + } + + + // + // C++: void drawChessboardCorners(Mat& image, Size patternSize, vector_Point2f corners, bool patternWasFound) + // + + //javadoc: drawChessboardCorners(image, patternSize, corners, patternWasFound) + public static void drawChessboardCorners(Mat image, Size patternSize, MatOfPoint2f corners, boolean patternWasFound) + { + Mat corners_mat = corners; + drawChessboardCorners_0(image.nativeObj, patternSize.width, patternSize.height, corners_mat.nativeObj, patternWasFound); + + return; + } + + + // + // C++: bool findCirclesGrid(Mat image, Size patternSize, Mat& centers, int flags = CALIB_CB_SYMMETRIC_GRID, Ptr_FeatureDetector blobDetector = SimpleBlobDetector::create()) + // + + //javadoc: findCirclesGrid(image, patternSize, centers, flags) + public static boolean findCirclesGrid(Mat image, Size patternSize, Mat centers, int flags) + { + + boolean retVal = findCirclesGrid_0(image.nativeObj, patternSize.width, patternSize.height, centers.nativeObj, flags); + + return retVal; + } + + //javadoc: findCirclesGrid(image, patternSize, centers) + public static boolean findCirclesGrid(Mat image, Size patternSize, Mat centers) + { + + boolean retVal = findCirclesGrid_1(image.nativeObj, patternSize.width, patternSize.height, centers.nativeObj); + + return retVal; + } + + + // + // C++: double calibrateCamera(vector_Mat objectPoints, vector_Mat imagePoints, Size imageSize, Mat& cameraMatrix, Mat& distCoeffs, vector_Mat& rvecs, vector_Mat& tvecs, int flags = 0, TermCriteria criteria = TermCriteria( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) + // + + //javadoc: calibrateCamera(objectPoints, imagePoints, imageSize, cameraMatrix, distCoeffs, rvecs, tvecs, flags, criteria) + public static double calibrateCamera(List objectPoints, List imagePoints, Size imageSize, Mat cameraMatrix, Mat distCoeffs, List rvecs, List tvecs, int flags, TermCriteria criteria) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints_mat = Converters.vector_Mat_to_Mat(imagePoints); + Mat rvecs_mat = new Mat(); + Mat tvecs_mat = new Mat(); + double retVal = calibrateCamera_0(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, imageSize.width, imageSize.height, cameraMatrix.nativeObj, distCoeffs.nativeObj, rvecs_mat.nativeObj, tvecs_mat.nativeObj, flags, criteria.type, criteria.maxCount, criteria.epsilon); + Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); + rvecs_mat.release(); + Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); + tvecs_mat.release(); + return retVal; + } + + //javadoc: calibrateCamera(objectPoints, imagePoints, imageSize, cameraMatrix, distCoeffs, rvecs, tvecs, flags) + public static double calibrateCamera(List objectPoints, List imagePoints, Size imageSize, Mat cameraMatrix, Mat distCoeffs, List rvecs, List tvecs, int flags) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints_mat = Converters.vector_Mat_to_Mat(imagePoints); + Mat rvecs_mat = new Mat(); + Mat tvecs_mat = new Mat(); + double retVal = calibrateCamera_1(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, imageSize.width, imageSize.height, cameraMatrix.nativeObj, distCoeffs.nativeObj, rvecs_mat.nativeObj, tvecs_mat.nativeObj, flags); + Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); + rvecs_mat.release(); + Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); + tvecs_mat.release(); + return retVal; + } + + //javadoc: calibrateCamera(objectPoints, imagePoints, imageSize, cameraMatrix, distCoeffs, rvecs, tvecs) + public static double calibrateCamera(List objectPoints, List imagePoints, Size imageSize, Mat cameraMatrix, Mat distCoeffs, List rvecs, List tvecs) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints_mat = Converters.vector_Mat_to_Mat(imagePoints); + Mat rvecs_mat = new Mat(); + Mat tvecs_mat = new Mat(); + double retVal = calibrateCamera_2(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, imageSize.width, imageSize.height, cameraMatrix.nativeObj, distCoeffs.nativeObj, rvecs_mat.nativeObj, tvecs_mat.nativeObj); + Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); + rvecs_mat.release(); + Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); + tvecs_mat.release(); + return retVal; + } + + + // + // C++: void calibrationMatrixValues(Mat cameraMatrix, Size imageSize, double apertureWidth, double apertureHeight, double& fovx, double& fovy, double& focalLength, Point2d& principalPoint, double& aspectRatio) + // + + //javadoc: calibrationMatrixValues(cameraMatrix, imageSize, apertureWidth, apertureHeight, fovx, fovy, focalLength, principalPoint, aspectRatio) + public static void calibrationMatrixValues(Mat cameraMatrix, Size imageSize, double apertureWidth, double apertureHeight, double[] fovx, double[] fovy, double[] focalLength, Point principalPoint, double[] aspectRatio) + { + double[] fovx_out = new double[1]; + double[] fovy_out = new double[1]; + double[] focalLength_out = new double[1]; + double[] principalPoint_out = new double[2]; + double[] aspectRatio_out = new double[1]; + calibrationMatrixValues_0(cameraMatrix.nativeObj, imageSize.width, imageSize.height, apertureWidth, apertureHeight, fovx_out, fovy_out, focalLength_out, principalPoint_out, aspectRatio_out); + if(fovx!=null) fovx[0] = (double)fovx_out[0]; + if(fovy!=null) fovy[0] = (double)fovy_out[0]; + if(focalLength!=null) focalLength[0] = (double)focalLength_out[0]; + if(principalPoint!=null){ principalPoint.x = principalPoint_out[0]; principalPoint.y = principalPoint_out[1]; } + if(aspectRatio!=null) aspectRatio[0] = (double)aspectRatio_out[0]; + return; + } + + + // + // C++: double stereoCalibrate(vector_Mat objectPoints, vector_Mat imagePoints1, vector_Mat imagePoints2, Mat& cameraMatrix1, Mat& distCoeffs1, Mat& cameraMatrix2, Mat& distCoeffs2, Size imageSize, Mat& R, Mat& T, Mat& E, Mat& F, int flags = CALIB_FIX_INTRINSIC, TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6)) + // + + //javadoc: stereoCalibrate(objectPoints, imagePoints1, imagePoints2, cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, imageSize, R, T, E, F, flags, criteria) + public static double stereoCalibrate(List objectPoints, List imagePoints1, List imagePoints2, Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Size imageSize, Mat R, Mat T, Mat E, Mat F, int flags, TermCriteria criteria) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints1_mat = Converters.vector_Mat_to_Mat(imagePoints1); + Mat imagePoints2_mat = Converters.vector_Mat_to_Mat(imagePoints2); + double retVal = stereoCalibrate_0(objectPoints_mat.nativeObj, imagePoints1_mat.nativeObj, imagePoints2_mat.nativeObj, cameraMatrix1.nativeObj, distCoeffs1.nativeObj, cameraMatrix2.nativeObj, distCoeffs2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, T.nativeObj, E.nativeObj, F.nativeObj, flags, criteria.type, criteria.maxCount, criteria.epsilon); + + return retVal; + } + + //javadoc: stereoCalibrate(objectPoints, imagePoints1, imagePoints2, cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, imageSize, R, T, E, F, flags) + public static double stereoCalibrate(List objectPoints, List imagePoints1, List imagePoints2, Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Size imageSize, Mat R, Mat T, Mat E, Mat F, int flags) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints1_mat = Converters.vector_Mat_to_Mat(imagePoints1); + Mat imagePoints2_mat = Converters.vector_Mat_to_Mat(imagePoints2); + double retVal = stereoCalibrate_1(objectPoints_mat.nativeObj, imagePoints1_mat.nativeObj, imagePoints2_mat.nativeObj, cameraMatrix1.nativeObj, distCoeffs1.nativeObj, cameraMatrix2.nativeObj, distCoeffs2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, T.nativeObj, E.nativeObj, F.nativeObj, flags); + + return retVal; + } + + //javadoc: stereoCalibrate(objectPoints, imagePoints1, imagePoints2, cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, imageSize, R, T, E, F) + public static double stereoCalibrate(List objectPoints, List imagePoints1, List imagePoints2, Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Size imageSize, Mat R, Mat T, Mat E, Mat F) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints1_mat = Converters.vector_Mat_to_Mat(imagePoints1); + Mat imagePoints2_mat = Converters.vector_Mat_to_Mat(imagePoints2); + double retVal = stereoCalibrate_2(objectPoints_mat.nativeObj, imagePoints1_mat.nativeObj, imagePoints2_mat.nativeObj, cameraMatrix1.nativeObj, distCoeffs1.nativeObj, cameraMatrix2.nativeObj, distCoeffs2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, T.nativeObj, E.nativeObj, F.nativeObj); + + return retVal; + } + + + // + // C++: void stereoRectify(Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Size imageSize, Mat R, Mat T, Mat& R1, Mat& R2, Mat& P1, Mat& P2, Mat& Q, int flags = CALIB_ZERO_DISPARITY, double alpha = -1, Size newImageSize = Size(), Rect* validPixROI1 = 0, Rect* validPixROI2 = 0) + // + + //javadoc: stereoRectify(cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, imageSize, R, T, R1, R2, P1, P2, Q, flags, alpha, newImageSize, validPixROI1, validPixROI2) + public static void stereoRectify(Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Size imageSize, Mat R, Mat T, Mat R1, Mat R2, Mat P1, Mat P2, Mat Q, int flags, double alpha, Size newImageSize, Rect validPixROI1, Rect validPixROI2) + { + double[] validPixROI1_out = new double[4]; + double[] validPixROI2_out = new double[4]; + stereoRectify_0(cameraMatrix1.nativeObj, distCoeffs1.nativeObj, cameraMatrix2.nativeObj, distCoeffs2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, T.nativeObj, R1.nativeObj, R2.nativeObj, P1.nativeObj, P2.nativeObj, Q.nativeObj, flags, alpha, newImageSize.width, newImageSize.height, validPixROI1_out, validPixROI2_out); + if(validPixROI1!=null){ validPixROI1.x = (int)validPixROI1_out[0]; validPixROI1.y = (int)validPixROI1_out[1]; validPixROI1.width = (int)validPixROI1_out[2]; validPixROI1.height = (int)validPixROI1_out[3]; } + if(validPixROI2!=null){ validPixROI2.x = (int)validPixROI2_out[0]; validPixROI2.y = (int)validPixROI2_out[1]; validPixROI2.width = (int)validPixROI2_out[2]; validPixROI2.height = (int)validPixROI2_out[3]; } + return; + } + + //javadoc: stereoRectify(cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, imageSize, R, T, R1, R2, P1, P2, Q) + public static void stereoRectify(Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Size imageSize, Mat R, Mat T, Mat R1, Mat R2, Mat P1, Mat P2, Mat Q) + { + + stereoRectify_1(cameraMatrix1.nativeObj, distCoeffs1.nativeObj, cameraMatrix2.nativeObj, distCoeffs2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, T.nativeObj, R1.nativeObj, R2.nativeObj, P1.nativeObj, P2.nativeObj, Q.nativeObj); + + return; + } + + + // + // C++: bool stereoRectifyUncalibrated(Mat points1, Mat points2, Mat F, Size imgSize, Mat& H1, Mat& H2, double threshold = 5) + // + + //javadoc: stereoRectifyUncalibrated(points1, points2, F, imgSize, H1, H2, threshold) + public static boolean stereoRectifyUncalibrated(Mat points1, Mat points2, Mat F, Size imgSize, Mat H1, Mat H2, double threshold) + { + + boolean retVal = stereoRectifyUncalibrated_0(points1.nativeObj, points2.nativeObj, F.nativeObj, imgSize.width, imgSize.height, H1.nativeObj, H2.nativeObj, threshold); + + return retVal; + } + + //javadoc: stereoRectifyUncalibrated(points1, points2, F, imgSize, H1, H2) + public static boolean stereoRectifyUncalibrated(Mat points1, Mat points2, Mat F, Size imgSize, Mat H1, Mat H2) + { + + boolean retVal = stereoRectifyUncalibrated_1(points1.nativeObj, points2.nativeObj, F.nativeObj, imgSize.width, imgSize.height, H1.nativeObj, H2.nativeObj); + + return retVal; + } + + + // + // C++: float rectify3Collinear(Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Mat cameraMatrix3, Mat distCoeffs3, vector_Mat imgpt1, vector_Mat imgpt3, Size imageSize, Mat R12, Mat T12, Mat R13, Mat T13, Mat& R1, Mat& R2, Mat& R3, Mat& P1, Mat& P2, Mat& P3, Mat& Q, double alpha, Size newImgSize, Rect* roi1, Rect* roi2, int flags) + // + + //javadoc: rectify3Collinear(cameraMatrix1, distCoeffs1, cameraMatrix2, distCoeffs2, cameraMatrix3, distCoeffs3, imgpt1, imgpt3, imageSize, R12, T12, R13, T13, R1, R2, R3, P1, P2, P3, Q, alpha, newImgSize, roi1, roi2, flags) + public static float rectify3Collinear(Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Mat cameraMatrix3, Mat distCoeffs3, List imgpt1, List imgpt3, Size imageSize, Mat R12, Mat T12, Mat R13, Mat T13, Mat R1, Mat R2, Mat R3, Mat P1, Mat P2, Mat P3, Mat Q, double alpha, Size newImgSize, Rect roi1, Rect roi2, int flags) + { + Mat imgpt1_mat = Converters.vector_Mat_to_Mat(imgpt1); + Mat imgpt3_mat = Converters.vector_Mat_to_Mat(imgpt3); + double[] roi1_out = new double[4]; + double[] roi2_out = new double[4]; + float retVal = rectify3Collinear_0(cameraMatrix1.nativeObj, distCoeffs1.nativeObj, cameraMatrix2.nativeObj, distCoeffs2.nativeObj, cameraMatrix3.nativeObj, distCoeffs3.nativeObj, imgpt1_mat.nativeObj, imgpt3_mat.nativeObj, imageSize.width, imageSize.height, R12.nativeObj, T12.nativeObj, R13.nativeObj, T13.nativeObj, R1.nativeObj, R2.nativeObj, R3.nativeObj, P1.nativeObj, P2.nativeObj, P3.nativeObj, Q.nativeObj, alpha, newImgSize.width, newImgSize.height, roi1_out, roi2_out, flags); + if(roi1!=null){ roi1.x = (int)roi1_out[0]; roi1.y = (int)roi1_out[1]; roi1.width = (int)roi1_out[2]; roi1.height = (int)roi1_out[3]; } + if(roi2!=null){ roi2.x = (int)roi2_out[0]; roi2.y = (int)roi2_out[1]; roi2.width = (int)roi2_out[2]; roi2.height = (int)roi2_out[3]; } + return retVal; + } + + + // + // C++: Mat getOptimalNewCameraMatrix(Mat cameraMatrix, Mat distCoeffs, Size imageSize, double alpha, Size newImgSize = Size(), Rect* validPixROI = 0, bool centerPrincipalPoint = false) + // + + //javadoc: getOptimalNewCameraMatrix(cameraMatrix, distCoeffs, imageSize, alpha, newImgSize, validPixROI, centerPrincipalPoint) + public static Mat getOptimalNewCameraMatrix(Mat cameraMatrix, Mat distCoeffs, Size imageSize, double alpha, Size newImgSize, Rect validPixROI, boolean centerPrincipalPoint) + { + double[] validPixROI_out = new double[4]; + Mat retVal = new Mat(getOptimalNewCameraMatrix_0(cameraMatrix.nativeObj, distCoeffs.nativeObj, imageSize.width, imageSize.height, alpha, newImgSize.width, newImgSize.height, validPixROI_out, centerPrincipalPoint)); + if(validPixROI!=null){ validPixROI.x = (int)validPixROI_out[0]; validPixROI.y = (int)validPixROI_out[1]; validPixROI.width = (int)validPixROI_out[2]; validPixROI.height = (int)validPixROI_out[3]; } + return retVal; + } + + //javadoc: getOptimalNewCameraMatrix(cameraMatrix, distCoeffs, imageSize, alpha) + public static Mat getOptimalNewCameraMatrix(Mat cameraMatrix, Mat distCoeffs, Size imageSize, double alpha) + { + + Mat retVal = new Mat(getOptimalNewCameraMatrix_1(cameraMatrix.nativeObj, distCoeffs.nativeObj, imageSize.width, imageSize.height, alpha)); + + return retVal; + } + + + // + // C++: void convertPointsToHomogeneous(Mat src, Mat& dst) + // + + //javadoc: convertPointsToHomogeneous(src, dst) + public static void convertPointsToHomogeneous(Mat src, Mat dst) + { + + convertPointsToHomogeneous_0(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void convertPointsFromHomogeneous(Mat src, Mat& dst) + // + + //javadoc: convertPointsFromHomogeneous(src, dst) + public static void convertPointsFromHomogeneous(Mat src, Mat dst) + { + + convertPointsFromHomogeneous_0(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: Mat findFundamentalMat(vector_Point2f points1, vector_Point2f points2, int method = FM_RANSAC, double param1 = 3., double param2 = 0.99, Mat& mask = Mat()) + // + + //javadoc: findFundamentalMat(points1, points2, method, param1, param2, mask) + public static Mat findFundamentalMat(MatOfPoint2f points1, MatOfPoint2f points2, int method, double param1, double param2, Mat mask) + { + Mat points1_mat = points1; + Mat points2_mat = points2; + Mat retVal = new Mat(findFundamentalMat_0(points1_mat.nativeObj, points2_mat.nativeObj, method, param1, param2, mask.nativeObj)); + + return retVal; + } + + //javadoc: findFundamentalMat(points1, points2, method, param1, param2) + public static Mat findFundamentalMat(MatOfPoint2f points1, MatOfPoint2f points2, int method, double param1, double param2) + { + Mat points1_mat = points1; + Mat points2_mat = points2; + Mat retVal = new Mat(findFundamentalMat_1(points1_mat.nativeObj, points2_mat.nativeObj, method, param1, param2)); + + return retVal; + } + + //javadoc: findFundamentalMat(points1, points2) + public static Mat findFundamentalMat(MatOfPoint2f points1, MatOfPoint2f points2) + { + Mat points1_mat = points1; + Mat points2_mat = points2; + Mat retVal = new Mat(findFundamentalMat_2(points1_mat.nativeObj, points2_mat.nativeObj)); + + return retVal; + } + + + // + // C++: Mat findEssentialMat(Mat points1, Mat points2, double focal = 1.0, Point2d pp = Point2d(0, 0), int method = RANSAC, double prob = 0.999, double threshold = 1.0, Mat& mask = Mat()) + // + + //javadoc: findEssentialMat(points1, points2, focal, pp, method, prob, threshold, mask) + public static Mat findEssentialMat(Mat points1, Mat points2, double focal, Point pp, int method, double prob, double threshold, Mat mask) + { + + Mat retVal = new Mat(findEssentialMat_0(points1.nativeObj, points2.nativeObj, focal, pp.x, pp.y, method, prob, threshold, mask.nativeObj)); + + return retVal; + } + + //javadoc: findEssentialMat(points1, points2, focal, pp, method, prob, threshold) + public static Mat findEssentialMat(Mat points1, Mat points2, double focal, Point pp, int method, double prob, double threshold) + { + + Mat retVal = new Mat(findEssentialMat_1(points1.nativeObj, points2.nativeObj, focal, pp.x, pp.y, method, prob, threshold)); + + return retVal; + } + + //javadoc: findEssentialMat(points1, points2) + public static Mat findEssentialMat(Mat points1, Mat points2) + { + + Mat retVal = new Mat(findEssentialMat_2(points1.nativeObj, points2.nativeObj)); + + return retVal; + } + + + // + // C++: void decomposeEssentialMat(Mat E, Mat& R1, Mat& R2, Mat& t) + // + + //javadoc: decomposeEssentialMat(E, R1, R2, t) + public static void decomposeEssentialMat(Mat E, Mat R1, Mat R2, Mat t) + { + + decomposeEssentialMat_0(E.nativeObj, R1.nativeObj, R2.nativeObj, t.nativeObj); + + return; + } + + + // + // C++: int recoverPose(Mat E, Mat points1, Mat points2, Mat& R, Mat& t, double focal = 1.0, Point2d pp = Point2d(0, 0), Mat& mask = Mat()) + // + + //javadoc: recoverPose(E, points1, points2, R, t, focal, pp, mask) + public static int recoverPose(Mat E, Mat points1, Mat points2, Mat R, Mat t, double focal, Point pp, Mat mask) + { + + int retVal = recoverPose_0(E.nativeObj, points1.nativeObj, points2.nativeObj, R.nativeObj, t.nativeObj, focal, pp.x, pp.y, mask.nativeObj); + + return retVal; + } + + //javadoc: recoverPose(E, points1, points2, R, t, focal, pp) + public static int recoverPose(Mat E, Mat points1, Mat points2, Mat R, Mat t, double focal, Point pp) + { + + int retVal = recoverPose_1(E.nativeObj, points1.nativeObj, points2.nativeObj, R.nativeObj, t.nativeObj, focal, pp.x, pp.y); + + return retVal; + } + + //javadoc: recoverPose(E, points1, points2, R, t) + public static int recoverPose(Mat E, Mat points1, Mat points2, Mat R, Mat t) + { + + int retVal = recoverPose_2(E.nativeObj, points1.nativeObj, points2.nativeObj, R.nativeObj, t.nativeObj); + + return retVal; + } + + + // + // C++: void computeCorrespondEpilines(Mat points, int whichImage, Mat F, Mat& lines) + // + + //javadoc: computeCorrespondEpilines(points, whichImage, F, lines) + public static void computeCorrespondEpilines(Mat points, int whichImage, Mat F, Mat lines) + { + + computeCorrespondEpilines_0(points.nativeObj, whichImage, F.nativeObj, lines.nativeObj); + + return; + } + + + // + // C++: void triangulatePoints(Mat projMatr1, Mat projMatr2, Mat projPoints1, Mat projPoints2, Mat& points4D) + // + + //javadoc: triangulatePoints(projMatr1, projMatr2, projPoints1, projPoints2, points4D) + public static void triangulatePoints(Mat projMatr1, Mat projMatr2, Mat projPoints1, Mat projPoints2, Mat points4D) + { + + triangulatePoints_0(projMatr1.nativeObj, projMatr2.nativeObj, projPoints1.nativeObj, projPoints2.nativeObj, points4D.nativeObj); + + return; + } + + + // + // C++: void correctMatches(Mat F, Mat points1, Mat points2, Mat& newPoints1, Mat& newPoints2) + // + + //javadoc: correctMatches(F, points1, points2, newPoints1, newPoints2) + public static void correctMatches(Mat F, Mat points1, Mat points2, Mat newPoints1, Mat newPoints2) + { + + correctMatches_0(F.nativeObj, points1.nativeObj, points2.nativeObj, newPoints1.nativeObj, newPoints2.nativeObj); + + return; + } + + + // + // C++: void filterSpeckles(Mat& img, double newVal, int maxSpeckleSize, double maxDiff, Mat& buf = Mat()) + // + + //javadoc: filterSpeckles(img, newVal, maxSpeckleSize, maxDiff, buf) + public static void filterSpeckles(Mat img, double newVal, int maxSpeckleSize, double maxDiff, Mat buf) + { + + filterSpeckles_0(img.nativeObj, newVal, maxSpeckleSize, maxDiff, buf.nativeObj); + + return; + } + + //javadoc: filterSpeckles(img, newVal, maxSpeckleSize, maxDiff) + public static void filterSpeckles(Mat img, double newVal, int maxSpeckleSize, double maxDiff) + { + + filterSpeckles_1(img.nativeObj, newVal, maxSpeckleSize, maxDiff); + + return; + } + + + // + // C++: Rect getValidDisparityROI(Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int SADWindowSize) + // + + //javadoc: getValidDisparityROI(roi1, roi2, minDisparity, numberOfDisparities, SADWindowSize) + public static Rect getValidDisparityROI(Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int SADWindowSize) + { + + Rect retVal = new Rect(getValidDisparityROI_0(roi1.x, roi1.y, roi1.width, roi1.height, roi2.x, roi2.y, roi2.width, roi2.height, minDisparity, numberOfDisparities, SADWindowSize)); + + return retVal; + } + + + // + // C++: void validateDisparity(Mat& disparity, Mat cost, int minDisparity, int numberOfDisparities, int disp12MaxDisp = 1) + // + + //javadoc: validateDisparity(disparity, cost, minDisparity, numberOfDisparities, disp12MaxDisp) + public static void validateDisparity(Mat disparity, Mat cost, int minDisparity, int numberOfDisparities, int disp12MaxDisp) + { + + validateDisparity_0(disparity.nativeObj, cost.nativeObj, minDisparity, numberOfDisparities, disp12MaxDisp); + + return; + } + + //javadoc: validateDisparity(disparity, cost, minDisparity, numberOfDisparities) + public static void validateDisparity(Mat disparity, Mat cost, int minDisparity, int numberOfDisparities) + { + + validateDisparity_1(disparity.nativeObj, cost.nativeObj, minDisparity, numberOfDisparities); + + return; + } + + + // + // C++: void reprojectImageTo3D(Mat disparity, Mat& _3dImage, Mat Q, bool handleMissingValues = false, int ddepth = -1) + // + + //javadoc: reprojectImageTo3D(disparity, _3dImage, Q, handleMissingValues, ddepth) + public static void reprojectImageTo3D(Mat disparity, Mat _3dImage, Mat Q, boolean handleMissingValues, int ddepth) + { + + reprojectImageTo3D_0(disparity.nativeObj, _3dImage.nativeObj, Q.nativeObj, handleMissingValues, ddepth); + + return; + } + + //javadoc: reprojectImageTo3D(disparity, _3dImage, Q, handleMissingValues) + public static void reprojectImageTo3D(Mat disparity, Mat _3dImage, Mat Q, boolean handleMissingValues) + { + + reprojectImageTo3D_1(disparity.nativeObj, _3dImage.nativeObj, Q.nativeObj, handleMissingValues); + + return; + } + + //javadoc: reprojectImageTo3D(disparity, _3dImage, Q) + public static void reprojectImageTo3D(Mat disparity, Mat _3dImage, Mat Q) + { + + reprojectImageTo3D_2(disparity.nativeObj, _3dImage.nativeObj, Q.nativeObj); + + return; + } + + + // + // C++: int estimateAffine3D(Mat src, Mat dst, Mat& out, Mat& inliers, double ransacThreshold = 3, double confidence = 0.99) + // + + //javadoc: estimateAffine3D(src, dst, out, inliers, ransacThreshold, confidence) + public static int estimateAffine3D(Mat src, Mat dst, Mat out, Mat inliers, double ransacThreshold, double confidence) + { + + int retVal = estimateAffine3D_0(src.nativeObj, dst.nativeObj, out.nativeObj, inliers.nativeObj, ransacThreshold, confidence); + + return retVal; + } + + //javadoc: estimateAffine3D(src, dst, out, inliers) + public static int estimateAffine3D(Mat src, Mat dst, Mat out, Mat inliers) + { + + int retVal = estimateAffine3D_1(src.nativeObj, dst.nativeObj, out.nativeObj, inliers.nativeObj); + + return retVal; + } + + + // + // C++: int decomposeHomographyMat(Mat H, Mat K, vector_Mat& rotations, vector_Mat& translations, vector_Mat& normals) + // + + //javadoc: decomposeHomographyMat(H, K, rotations, translations, normals) + public static int decomposeHomographyMat(Mat H, Mat K, List rotations, List translations, List normals) + { + Mat rotations_mat = new Mat(); + Mat translations_mat = new Mat(); + Mat normals_mat = new Mat(); + int retVal = decomposeHomographyMat_0(H.nativeObj, K.nativeObj, rotations_mat.nativeObj, translations_mat.nativeObj, normals_mat.nativeObj); + Converters.Mat_to_vector_Mat(rotations_mat, rotations); + rotations_mat.release(); + Converters.Mat_to_vector_Mat(translations_mat, translations); + translations_mat.release(); + Converters.Mat_to_vector_Mat(normals_mat, normals); + normals_mat.release(); + return retVal; + } + + + // + // C++: void projectPoints(vector_Point3f objectPoints, vector_Point2f& imagePoints, Mat rvec, Mat tvec, Mat K, Mat D, double alpha = 0, Mat& jacobian = Mat()) + // + + //javadoc: projectPoints(objectPoints, imagePoints, rvec, tvec, K, D, alpha, jacobian) + public static void projectPoints(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat rvec, Mat tvec, Mat K, Mat D, double alpha, Mat jacobian) + { + Mat objectPoints_mat = objectPoints; + Mat imagePoints_mat = imagePoints; + projectPoints_2(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, K.nativeObj, D.nativeObj, alpha, jacobian.nativeObj); + + return; + } + + //javadoc: projectPoints(objectPoints, imagePoints, rvec, tvec, K, D) + public static void projectPoints(MatOfPoint3f objectPoints, MatOfPoint2f imagePoints, Mat rvec, Mat tvec, Mat K, Mat D) + { + Mat objectPoints_mat = objectPoints; + Mat imagePoints_mat = imagePoints; + projectPoints_3(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, rvec.nativeObj, tvec.nativeObj, K.nativeObj, D.nativeObj); + + return; + } + + + // + // C++: void distortPoints(Mat undistorted, Mat& distorted, Mat K, Mat D, double alpha = 0) + // + + //javadoc: distortPoints(undistorted, distorted, K, D, alpha) + public static void distortPoints(Mat undistorted, Mat distorted, Mat K, Mat D, double alpha) + { + + distortPoints_0(undistorted.nativeObj, distorted.nativeObj, K.nativeObj, D.nativeObj, alpha); + + return; + } + + //javadoc: distortPoints(undistorted, distorted, K, D) + public static void distortPoints(Mat undistorted, Mat distorted, Mat K, Mat D) + { + + distortPoints_1(undistorted.nativeObj, distorted.nativeObj, K.nativeObj, D.nativeObj); + + return; + } + + + // + // C++: void undistortPoints(Mat distorted, Mat& undistorted, Mat K, Mat D, Mat R = Mat(), Mat P = Mat()) + // + + //javadoc: undistortPoints(distorted, undistorted, K, D, R, P) + public static void undistortPoints(Mat distorted, Mat undistorted, Mat K, Mat D, Mat R, Mat P) + { + + undistortPoints_0(distorted.nativeObj, undistorted.nativeObj, K.nativeObj, D.nativeObj, R.nativeObj, P.nativeObj); + + return; + } + + //javadoc: undistortPoints(distorted, undistorted, K, D) + public static void undistortPoints(Mat distorted, Mat undistorted, Mat K, Mat D) + { + + undistortPoints_1(distorted.nativeObj, undistorted.nativeObj, K.nativeObj, D.nativeObj); + + return; + } + + + // + // C++: void initUndistortRectifyMap(Mat K, Mat D, Mat R, Mat P, Size size, int m1type, Mat& map1, Mat& map2) + // + + //javadoc: initUndistortRectifyMap(K, D, R, P, size, m1type, map1, map2) + public static void initUndistortRectifyMap(Mat K, Mat D, Mat R, Mat P, Size size, int m1type, Mat map1, Mat map2) + { + + initUndistortRectifyMap_0(K.nativeObj, D.nativeObj, R.nativeObj, P.nativeObj, size.width, size.height, m1type, map1.nativeObj, map2.nativeObj); + + return; + } + + + // + // C++: void undistortImage(Mat distorted, Mat& undistorted, Mat K, Mat D, Mat Knew = cv::Mat(), Size new_size = Size()) + // + + //javadoc: undistortImage(distorted, undistorted, K, D, Knew, new_size) + public static void undistortImage(Mat distorted, Mat undistorted, Mat K, Mat D, Mat Knew, Size new_size) + { + + undistortImage_0(distorted.nativeObj, undistorted.nativeObj, K.nativeObj, D.nativeObj, Knew.nativeObj, new_size.width, new_size.height); + + return; + } + + //javadoc: undistortImage(distorted, undistorted, K, D) + public static void undistortImage(Mat distorted, Mat undistorted, Mat K, Mat D) + { + + undistortImage_1(distorted.nativeObj, undistorted.nativeObj, K.nativeObj, D.nativeObj); + + return; + } + + + // + // C++: void estimateNewCameraMatrixForUndistortRectify(Mat K, Mat D, Size image_size, Mat R, Mat& P, double balance = 0.0, Size new_size = Size(), double fov_scale = 1.0) + // + + //javadoc: estimateNewCameraMatrixForUndistortRectify(K, D, image_size, R, P, balance, new_size, fov_scale) + public static void estimateNewCameraMatrixForUndistortRectify(Mat K, Mat D, Size image_size, Mat R, Mat P, double balance, Size new_size, double fov_scale) + { + + estimateNewCameraMatrixForUndistortRectify_0(K.nativeObj, D.nativeObj, image_size.width, image_size.height, R.nativeObj, P.nativeObj, balance, new_size.width, new_size.height, fov_scale); + + return; + } + + //javadoc: estimateNewCameraMatrixForUndistortRectify(K, D, image_size, R, P) + public static void estimateNewCameraMatrixForUndistortRectify(Mat K, Mat D, Size image_size, Mat R, Mat P) + { + + estimateNewCameraMatrixForUndistortRectify_1(K.nativeObj, D.nativeObj, image_size.width, image_size.height, R.nativeObj, P.nativeObj); + + return; + } + + + // + // C++: double calibrate(vector_Mat objectPoints, vector_Mat imagePoints, Size image_size, Mat& K, Mat& D, vector_Mat& rvecs, vector_Mat& tvecs, int flags = 0, TermCriteria criteria = TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 100, DBL_EPSILON)) + // + + //javadoc: calibrate(objectPoints, imagePoints, image_size, K, D, rvecs, tvecs, flags, criteria) + public static double calibrate(List objectPoints, List imagePoints, Size image_size, Mat K, Mat D, List rvecs, List tvecs, int flags, TermCriteria criteria) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints_mat = Converters.vector_Mat_to_Mat(imagePoints); + Mat rvecs_mat = new Mat(); + Mat tvecs_mat = new Mat(); + double retVal = calibrate_0(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, image_size.width, image_size.height, K.nativeObj, D.nativeObj, rvecs_mat.nativeObj, tvecs_mat.nativeObj, flags, criteria.type, criteria.maxCount, criteria.epsilon); + Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); + rvecs_mat.release(); + Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); + tvecs_mat.release(); + return retVal; + } + + //javadoc: calibrate(objectPoints, imagePoints, image_size, K, D, rvecs, tvecs, flags) + public static double calibrate(List objectPoints, List imagePoints, Size image_size, Mat K, Mat D, List rvecs, List tvecs, int flags) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints_mat = Converters.vector_Mat_to_Mat(imagePoints); + Mat rvecs_mat = new Mat(); + Mat tvecs_mat = new Mat(); + double retVal = calibrate_1(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, image_size.width, image_size.height, K.nativeObj, D.nativeObj, rvecs_mat.nativeObj, tvecs_mat.nativeObj, flags); + Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); + rvecs_mat.release(); + Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); + tvecs_mat.release(); + return retVal; + } + + //javadoc: calibrate(objectPoints, imagePoints, image_size, K, D, rvecs, tvecs) + public static double calibrate(List objectPoints, List imagePoints, Size image_size, Mat K, Mat D, List rvecs, List tvecs) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints_mat = Converters.vector_Mat_to_Mat(imagePoints); + Mat rvecs_mat = new Mat(); + Mat tvecs_mat = new Mat(); + double retVal = calibrate_2(objectPoints_mat.nativeObj, imagePoints_mat.nativeObj, image_size.width, image_size.height, K.nativeObj, D.nativeObj, rvecs_mat.nativeObj, tvecs_mat.nativeObj); + Converters.Mat_to_vector_Mat(rvecs_mat, rvecs); + rvecs_mat.release(); + Converters.Mat_to_vector_Mat(tvecs_mat, tvecs); + tvecs_mat.release(); + return retVal; + } + + + // + // C++: void stereoRectify(Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat tvec, Mat& R1, Mat& R2, Mat& P1, Mat& P2, Mat& Q, int flags, Size newImageSize = Size(), double balance = 0.0, double fov_scale = 1.0) + // + + //javadoc: stereoRectify(K1, D1, K2, D2, imageSize, R, tvec, R1, R2, P1, P2, Q, flags, newImageSize, balance, fov_scale) + public static void stereoRectify(Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat tvec, Mat R1, Mat R2, Mat P1, Mat P2, Mat Q, int flags, Size newImageSize, double balance, double fov_scale) + { + + stereoRectify_2(K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, tvec.nativeObj, R1.nativeObj, R2.nativeObj, P1.nativeObj, P2.nativeObj, Q.nativeObj, flags, newImageSize.width, newImageSize.height, balance, fov_scale); + + return; + } + + //javadoc: stereoRectify(K1, D1, K2, D2, imageSize, R, tvec, R1, R2, P1, P2, Q, flags) + public static void stereoRectify(Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat tvec, Mat R1, Mat R2, Mat P1, Mat P2, Mat Q, int flags) + { + + stereoRectify_3(K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, tvec.nativeObj, R1.nativeObj, R2.nativeObj, P1.nativeObj, P2.nativeObj, Q.nativeObj, flags); + + return; + } + + + // + // C++: double stereoCalibrate(vector_Mat objectPoints, vector_Mat imagePoints1, vector_Mat imagePoints2, Mat& K1, Mat& D1, Mat& K2, Mat& D2, Size imageSize, Mat& R, Mat& T, int flags = fisheye::CALIB_FIX_INTRINSIC, TermCriteria criteria = TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 100, DBL_EPSILON)) + // + + //javadoc: stereoCalibrate(objectPoints, imagePoints1, imagePoints2, K1, D1, K2, D2, imageSize, R, T, flags, criteria) + public static double stereoCalibrate(List objectPoints, List imagePoints1, List imagePoints2, Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat T, int flags, TermCriteria criteria) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints1_mat = Converters.vector_Mat_to_Mat(imagePoints1); + Mat imagePoints2_mat = Converters.vector_Mat_to_Mat(imagePoints2); + double retVal = stereoCalibrate_3(objectPoints_mat.nativeObj, imagePoints1_mat.nativeObj, imagePoints2_mat.nativeObj, K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, T.nativeObj, flags, criteria.type, criteria.maxCount, criteria.epsilon); + + return retVal; + } + + //javadoc: stereoCalibrate(objectPoints, imagePoints1, imagePoints2, K1, D1, K2, D2, imageSize, R, T, flags) + public static double stereoCalibrate(List objectPoints, List imagePoints1, List imagePoints2, Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat T, int flags) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints1_mat = Converters.vector_Mat_to_Mat(imagePoints1); + Mat imagePoints2_mat = Converters.vector_Mat_to_Mat(imagePoints2); + double retVal = stereoCalibrate_4(objectPoints_mat.nativeObj, imagePoints1_mat.nativeObj, imagePoints2_mat.nativeObj, K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, T.nativeObj, flags); + + return retVal; + } + + //javadoc: stereoCalibrate(objectPoints, imagePoints1, imagePoints2, K1, D1, K2, D2, imageSize, R, T) + public static double stereoCalibrate(List objectPoints, List imagePoints1, List imagePoints2, Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat T) + { + Mat objectPoints_mat = Converters.vector_Mat_to_Mat(objectPoints); + Mat imagePoints1_mat = Converters.vector_Mat_to_Mat(imagePoints1); + Mat imagePoints2_mat = Converters.vector_Mat_to_Mat(imagePoints2); + double retVal = stereoCalibrate_5(objectPoints_mat.nativeObj, imagePoints1_mat.nativeObj, imagePoints2_mat.nativeObj, K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, R.nativeObj, T.nativeObj); + + return retVal; + } + + + // + // C++: void Rodrigues(Mat src, Mat& dst, Mat& jacobian = Mat()) + // + + //javadoc: Rodrigues(src, dst, jacobian) + public static void Rodrigues(Mat src, Mat dst, Mat jacobian) + { + + Rodrigues_0(src.nativeObj, dst.nativeObj, jacobian.nativeObj); + + return; + } + + //javadoc: Rodrigues(src, dst) + public static void Rodrigues(Mat src, Mat dst) + { + + Rodrigues_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: Mat findHomography(vector_Point2f srcPoints, vector_Point2f dstPoints, int method = 0, double ransacReprojThreshold = 3, Mat& mask = Mat(), int maxIters = 2000, double confidence = 0.995) + // + + //javadoc: findHomography(srcPoints, dstPoints, method, ransacReprojThreshold, mask, maxIters, confidence) + public static Mat findHomography(MatOfPoint2f srcPoints, MatOfPoint2f dstPoints, int method, double ransacReprojThreshold, Mat mask, int maxIters, double confidence) + { + Mat srcPoints_mat = srcPoints; + Mat dstPoints_mat = dstPoints; + Mat retVal = new Mat(findHomography_0(srcPoints_mat.nativeObj, dstPoints_mat.nativeObj, method, ransacReprojThreshold, mask.nativeObj, maxIters, confidence)); + + return retVal; + } + + //javadoc: findHomography(srcPoints, dstPoints, method, ransacReprojThreshold) + public static Mat findHomography(MatOfPoint2f srcPoints, MatOfPoint2f dstPoints, int method, double ransacReprojThreshold) + { + Mat srcPoints_mat = srcPoints; + Mat dstPoints_mat = dstPoints; + Mat retVal = new Mat(findHomography_1(srcPoints_mat.nativeObj, dstPoints_mat.nativeObj, method, ransacReprojThreshold)); + + return retVal; + } + + //javadoc: findHomography(srcPoints, dstPoints) + public static Mat findHomography(MatOfPoint2f srcPoints, MatOfPoint2f dstPoints) + { + Mat srcPoints_mat = srcPoints; + Mat dstPoints_mat = dstPoints; + Mat retVal = new Mat(findHomography_2(srcPoints_mat.nativeObj, dstPoints_mat.nativeObj)); + + return retVal; + } + + + // + // C++: Vec3d RQDecomp3x3(Mat src, Mat& mtxR, Mat& mtxQ, Mat& Qx = Mat(), Mat& Qy = Mat(), Mat& Qz = Mat()) + // + + //javadoc: RQDecomp3x3(src, mtxR, mtxQ, Qx, Qy, Qz) + public static double[] RQDecomp3x3(Mat src, Mat mtxR, Mat mtxQ, Mat Qx, Mat Qy, Mat Qz) + { + + double[] retVal = RQDecomp3x3_0(src.nativeObj, mtxR.nativeObj, mtxQ.nativeObj, Qx.nativeObj, Qy.nativeObj, Qz.nativeObj); + + return retVal; + } + + //javadoc: RQDecomp3x3(src, mtxR, mtxQ) + public static double[] RQDecomp3x3(Mat src, Mat mtxR, Mat mtxQ) + { + + double[] retVal = RQDecomp3x3_1(src.nativeObj, mtxR.nativeObj, mtxQ.nativeObj); + + return retVal; + } + + + // + // C++: void decomposeProjectionMatrix(Mat projMatrix, Mat& cameraMatrix, Mat& rotMatrix, Mat& transVect, Mat& rotMatrixX = Mat(), Mat& rotMatrixY = Mat(), Mat& rotMatrixZ = Mat(), Mat& eulerAngles = Mat()) + // + + //javadoc: decomposeProjectionMatrix(projMatrix, cameraMatrix, rotMatrix, transVect, rotMatrixX, rotMatrixY, rotMatrixZ, eulerAngles) + public static void decomposeProjectionMatrix(Mat projMatrix, Mat cameraMatrix, Mat rotMatrix, Mat transVect, Mat rotMatrixX, Mat rotMatrixY, Mat rotMatrixZ, Mat eulerAngles) + { + + decomposeProjectionMatrix_0(projMatrix.nativeObj, cameraMatrix.nativeObj, rotMatrix.nativeObj, transVect.nativeObj, rotMatrixX.nativeObj, rotMatrixY.nativeObj, rotMatrixZ.nativeObj, eulerAngles.nativeObj); + + return; + } + + //javadoc: decomposeProjectionMatrix(projMatrix, cameraMatrix, rotMatrix, transVect) + public static void decomposeProjectionMatrix(Mat projMatrix, Mat cameraMatrix, Mat rotMatrix, Mat transVect) + { + + decomposeProjectionMatrix_1(projMatrix.nativeObj, cameraMatrix.nativeObj, rotMatrix.nativeObj, transVect.nativeObj); + + return; + } + + + // + // C++: void matMulDeriv(Mat A, Mat B, Mat& dABdA, Mat& dABdB) + // + + //javadoc: matMulDeriv(A, B, dABdA, dABdB) + public static void matMulDeriv(Mat A, Mat B, Mat dABdA, Mat dABdB) + { + + matMulDeriv_0(A.nativeObj, B.nativeObj, dABdA.nativeObj, dABdB.nativeObj); + + return; + } + + + // + // C++: void composeRT(Mat rvec1, Mat tvec1, Mat rvec2, Mat tvec2, Mat& rvec3, Mat& tvec3, Mat& dr3dr1 = Mat(), Mat& dr3dt1 = Mat(), Mat& dr3dr2 = Mat(), Mat& dr3dt2 = Mat(), Mat& dt3dr1 = Mat(), Mat& dt3dt1 = Mat(), Mat& dt3dr2 = Mat(), Mat& dt3dt2 = Mat()) + // + + //javadoc: composeRT(rvec1, tvec1, rvec2, tvec2, rvec3, tvec3, dr3dr1, dr3dt1, dr3dr2, dr3dt2, dt3dr1, dt3dt1, dt3dr2, dt3dt2) + public static void composeRT(Mat rvec1, Mat tvec1, Mat rvec2, Mat tvec2, Mat rvec3, Mat tvec3, Mat dr3dr1, Mat dr3dt1, Mat dr3dr2, Mat dr3dt2, Mat dt3dr1, Mat dt3dt1, Mat dt3dr2, Mat dt3dt2) + { + + composeRT_0(rvec1.nativeObj, tvec1.nativeObj, rvec2.nativeObj, tvec2.nativeObj, rvec3.nativeObj, tvec3.nativeObj, dr3dr1.nativeObj, dr3dt1.nativeObj, dr3dr2.nativeObj, dr3dt2.nativeObj, dt3dr1.nativeObj, dt3dt1.nativeObj, dt3dr2.nativeObj, dt3dt2.nativeObj); + + return; + } + + //javadoc: composeRT(rvec1, tvec1, rvec2, tvec2, rvec3, tvec3) + public static void composeRT(Mat rvec1, Mat tvec1, Mat rvec2, Mat tvec2, Mat rvec3, Mat tvec3) + { + + composeRT_1(rvec1.nativeObj, tvec1.nativeObj, rvec2.nativeObj, tvec2.nativeObj, rvec3.nativeObj, tvec3.nativeObj); + + return; + } + + + + + // C++: void projectPoints(vector_Point3f objectPoints, Mat rvec, Mat tvec, Mat cameraMatrix, vector_double distCoeffs, vector_Point2f& imagePoints, Mat& jacobian = Mat(), double aspectRatio = 0) + private static native void projectPoints_0(long objectPoints_mat_nativeObj, long rvec_nativeObj, long tvec_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_mat_nativeObj, long imagePoints_mat_nativeObj, long jacobian_nativeObj, double aspectRatio); + private static native void projectPoints_1(long objectPoints_mat_nativeObj, long rvec_nativeObj, long tvec_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_mat_nativeObj, long imagePoints_mat_nativeObj); + + // C++: bool solvePnP(vector_Point3f objectPoints, vector_Point2f imagePoints, Mat cameraMatrix, vector_double distCoeffs, Mat& rvec, Mat& tvec, bool useExtrinsicGuess = false, int flags = SOLVEPNP_ITERATIVE) + private static native boolean solvePnP_0(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_mat_nativeObj, long rvec_nativeObj, long tvec_nativeObj, boolean useExtrinsicGuess, int flags); + private static native boolean solvePnP_1(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_mat_nativeObj, long rvec_nativeObj, long tvec_nativeObj); + + // C++: bool solvePnPRansac(vector_Point3f objectPoints, vector_Point2f imagePoints, Mat cameraMatrix, vector_double distCoeffs, Mat& rvec, Mat& tvec, bool useExtrinsicGuess = false, int iterationsCount = 100, float reprojectionError = 8.0, double confidence = 0.99, Mat& inliers = Mat(), int flags = SOLVEPNP_ITERATIVE) + private static native boolean solvePnPRansac_0(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_mat_nativeObj, long rvec_nativeObj, long tvec_nativeObj, boolean useExtrinsicGuess, int iterationsCount, float reprojectionError, double confidence, long inliers_nativeObj, int flags); + private static native boolean solvePnPRansac_1(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_mat_nativeObj, long rvec_nativeObj, long tvec_nativeObj); + + // C++: bool findChessboardCorners(Mat image, Size patternSize, vector_Point2f& corners, int flags = CALIB_CB_ADAPTIVE_THRESH + CALIB_CB_NORMALIZE_IMAGE) + private static native boolean findChessboardCorners_0(long image_nativeObj, double patternSize_width, double patternSize_height, long corners_mat_nativeObj, int flags); + private static native boolean findChessboardCorners_1(long image_nativeObj, double patternSize_width, double patternSize_height, long corners_mat_nativeObj); + + // C++: Mat initCameraMatrix2D(vector_vector_Point3f objectPoints, vector_vector_Point2f imagePoints, Size imageSize, double aspectRatio = 1.0) + private static native long initCameraMatrix2D_0(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, double imageSize_width, double imageSize_height, double aspectRatio); + private static native long initCameraMatrix2D_1(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, double imageSize_width, double imageSize_height); + + // C++: void drawChessboardCorners(Mat& image, Size patternSize, vector_Point2f corners, bool patternWasFound) + private static native void drawChessboardCorners_0(long image_nativeObj, double patternSize_width, double patternSize_height, long corners_mat_nativeObj, boolean patternWasFound); + + // C++: bool findCirclesGrid(Mat image, Size patternSize, Mat& centers, int flags = CALIB_CB_SYMMETRIC_GRID, Ptr_FeatureDetector blobDetector = SimpleBlobDetector::create()) + private static native boolean findCirclesGrid_0(long image_nativeObj, double patternSize_width, double patternSize_height, long centers_nativeObj, int flags); + private static native boolean findCirclesGrid_1(long image_nativeObj, double patternSize_width, double patternSize_height, long centers_nativeObj); + + // C++: double calibrateCamera(vector_Mat objectPoints, vector_Mat imagePoints, Size imageSize, Mat& cameraMatrix, Mat& distCoeffs, vector_Mat& rvecs, vector_Mat& tvecs, int flags = 0, TermCriteria criteria = TermCriteria( TermCriteria::COUNT + TermCriteria::EPS, 30, DBL_EPSILON)) + private static native double calibrateCamera_0(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, double imageSize_width, double imageSize_height, long cameraMatrix_nativeObj, long distCoeffs_nativeObj, long rvecs_mat_nativeObj, long tvecs_mat_nativeObj, int flags, int criteria_type, int criteria_maxCount, double criteria_epsilon); + private static native double calibrateCamera_1(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, double imageSize_width, double imageSize_height, long cameraMatrix_nativeObj, long distCoeffs_nativeObj, long rvecs_mat_nativeObj, long tvecs_mat_nativeObj, int flags); + private static native double calibrateCamera_2(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, double imageSize_width, double imageSize_height, long cameraMatrix_nativeObj, long distCoeffs_nativeObj, long rvecs_mat_nativeObj, long tvecs_mat_nativeObj); + + // C++: void calibrationMatrixValues(Mat cameraMatrix, Size imageSize, double apertureWidth, double apertureHeight, double& fovx, double& fovy, double& focalLength, Point2d& principalPoint, double& aspectRatio) + private static native void calibrationMatrixValues_0(long cameraMatrix_nativeObj, double imageSize_width, double imageSize_height, double apertureWidth, double apertureHeight, double[] fovx_out, double[] fovy_out, double[] focalLength_out, double[] principalPoint_out, double[] aspectRatio_out); + + // C++: double stereoCalibrate(vector_Mat objectPoints, vector_Mat imagePoints1, vector_Mat imagePoints2, Mat& cameraMatrix1, Mat& distCoeffs1, Mat& cameraMatrix2, Mat& distCoeffs2, Size imageSize, Mat& R, Mat& T, Mat& E, Mat& F, int flags = CALIB_FIX_INTRINSIC, TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6)) + private static native double stereoCalibrate_0(long objectPoints_mat_nativeObj, long imagePoints1_mat_nativeObj, long imagePoints2_mat_nativeObj, long cameraMatrix1_nativeObj, long distCoeffs1_nativeObj, long cameraMatrix2_nativeObj, long distCoeffs2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long T_nativeObj, long E_nativeObj, long F_nativeObj, int flags, int criteria_type, int criteria_maxCount, double criteria_epsilon); + private static native double stereoCalibrate_1(long objectPoints_mat_nativeObj, long imagePoints1_mat_nativeObj, long imagePoints2_mat_nativeObj, long cameraMatrix1_nativeObj, long distCoeffs1_nativeObj, long cameraMatrix2_nativeObj, long distCoeffs2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long T_nativeObj, long E_nativeObj, long F_nativeObj, int flags); + private static native double stereoCalibrate_2(long objectPoints_mat_nativeObj, long imagePoints1_mat_nativeObj, long imagePoints2_mat_nativeObj, long cameraMatrix1_nativeObj, long distCoeffs1_nativeObj, long cameraMatrix2_nativeObj, long distCoeffs2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long T_nativeObj, long E_nativeObj, long F_nativeObj); + + // C++: void stereoRectify(Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Size imageSize, Mat R, Mat T, Mat& R1, Mat& R2, Mat& P1, Mat& P2, Mat& Q, int flags = CALIB_ZERO_DISPARITY, double alpha = -1, Size newImageSize = Size(), Rect* validPixROI1 = 0, Rect* validPixROI2 = 0) + private static native void stereoRectify_0(long cameraMatrix1_nativeObj, long distCoeffs1_nativeObj, long cameraMatrix2_nativeObj, long distCoeffs2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long T_nativeObj, long R1_nativeObj, long R2_nativeObj, long P1_nativeObj, long P2_nativeObj, long Q_nativeObj, int flags, double alpha, double newImageSize_width, double newImageSize_height, double[] validPixROI1_out, double[] validPixROI2_out); + private static native void stereoRectify_1(long cameraMatrix1_nativeObj, long distCoeffs1_nativeObj, long cameraMatrix2_nativeObj, long distCoeffs2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long T_nativeObj, long R1_nativeObj, long R2_nativeObj, long P1_nativeObj, long P2_nativeObj, long Q_nativeObj); + + // C++: bool stereoRectifyUncalibrated(Mat points1, Mat points2, Mat F, Size imgSize, Mat& H1, Mat& H2, double threshold = 5) + private static native boolean stereoRectifyUncalibrated_0(long points1_nativeObj, long points2_nativeObj, long F_nativeObj, double imgSize_width, double imgSize_height, long H1_nativeObj, long H2_nativeObj, double threshold); + private static native boolean stereoRectifyUncalibrated_1(long points1_nativeObj, long points2_nativeObj, long F_nativeObj, double imgSize_width, double imgSize_height, long H1_nativeObj, long H2_nativeObj); + + // C++: float rectify3Collinear(Mat cameraMatrix1, Mat distCoeffs1, Mat cameraMatrix2, Mat distCoeffs2, Mat cameraMatrix3, Mat distCoeffs3, vector_Mat imgpt1, vector_Mat imgpt3, Size imageSize, Mat R12, Mat T12, Mat R13, Mat T13, Mat& R1, Mat& R2, Mat& R3, Mat& P1, Mat& P2, Mat& P3, Mat& Q, double alpha, Size newImgSize, Rect* roi1, Rect* roi2, int flags) + private static native float rectify3Collinear_0(long cameraMatrix1_nativeObj, long distCoeffs1_nativeObj, long cameraMatrix2_nativeObj, long distCoeffs2_nativeObj, long cameraMatrix3_nativeObj, long distCoeffs3_nativeObj, long imgpt1_mat_nativeObj, long imgpt3_mat_nativeObj, double imageSize_width, double imageSize_height, long R12_nativeObj, long T12_nativeObj, long R13_nativeObj, long T13_nativeObj, long R1_nativeObj, long R2_nativeObj, long R3_nativeObj, long P1_nativeObj, long P2_nativeObj, long P3_nativeObj, long Q_nativeObj, double alpha, double newImgSize_width, double newImgSize_height, double[] roi1_out, double[] roi2_out, int flags); + + // C++: Mat getOptimalNewCameraMatrix(Mat cameraMatrix, Mat distCoeffs, Size imageSize, double alpha, Size newImgSize = Size(), Rect* validPixROI = 0, bool centerPrincipalPoint = false) + private static native long getOptimalNewCameraMatrix_0(long cameraMatrix_nativeObj, long distCoeffs_nativeObj, double imageSize_width, double imageSize_height, double alpha, double newImgSize_width, double newImgSize_height, double[] validPixROI_out, boolean centerPrincipalPoint); + private static native long getOptimalNewCameraMatrix_1(long cameraMatrix_nativeObj, long distCoeffs_nativeObj, double imageSize_width, double imageSize_height, double alpha); + + // C++: void convertPointsToHomogeneous(Mat src, Mat& dst) + private static native void convertPointsToHomogeneous_0(long src_nativeObj, long dst_nativeObj); + + // C++: void convertPointsFromHomogeneous(Mat src, Mat& dst) + private static native void convertPointsFromHomogeneous_0(long src_nativeObj, long dst_nativeObj); + + // C++: Mat findFundamentalMat(vector_Point2f points1, vector_Point2f points2, int method = FM_RANSAC, double param1 = 3., double param2 = 0.99, Mat& mask = Mat()) + private static native long findFundamentalMat_0(long points1_mat_nativeObj, long points2_mat_nativeObj, int method, double param1, double param2, long mask_nativeObj); + private static native long findFundamentalMat_1(long points1_mat_nativeObj, long points2_mat_nativeObj, int method, double param1, double param2); + private static native long findFundamentalMat_2(long points1_mat_nativeObj, long points2_mat_nativeObj); + + // C++: Mat findEssentialMat(Mat points1, Mat points2, double focal = 1.0, Point2d pp = Point2d(0, 0), int method = RANSAC, double prob = 0.999, double threshold = 1.0, Mat& mask = Mat()) + private static native long findEssentialMat_0(long points1_nativeObj, long points2_nativeObj, double focal, double pp_x, double pp_y, int method, double prob, double threshold, long mask_nativeObj); + private static native long findEssentialMat_1(long points1_nativeObj, long points2_nativeObj, double focal, double pp_x, double pp_y, int method, double prob, double threshold); + private static native long findEssentialMat_2(long points1_nativeObj, long points2_nativeObj); + + // C++: void decomposeEssentialMat(Mat E, Mat& R1, Mat& R2, Mat& t) + private static native void decomposeEssentialMat_0(long E_nativeObj, long R1_nativeObj, long R2_nativeObj, long t_nativeObj); + + // C++: int recoverPose(Mat E, Mat points1, Mat points2, Mat& R, Mat& t, double focal = 1.0, Point2d pp = Point2d(0, 0), Mat& mask = Mat()) + private static native int recoverPose_0(long E_nativeObj, long points1_nativeObj, long points2_nativeObj, long R_nativeObj, long t_nativeObj, double focal, double pp_x, double pp_y, long mask_nativeObj); + private static native int recoverPose_1(long E_nativeObj, long points1_nativeObj, long points2_nativeObj, long R_nativeObj, long t_nativeObj, double focal, double pp_x, double pp_y); + private static native int recoverPose_2(long E_nativeObj, long points1_nativeObj, long points2_nativeObj, long R_nativeObj, long t_nativeObj); + + // C++: void computeCorrespondEpilines(Mat points, int whichImage, Mat F, Mat& lines) + private static native void computeCorrespondEpilines_0(long points_nativeObj, int whichImage, long F_nativeObj, long lines_nativeObj); + + // C++: void triangulatePoints(Mat projMatr1, Mat projMatr2, Mat projPoints1, Mat projPoints2, Mat& points4D) + private static native void triangulatePoints_0(long projMatr1_nativeObj, long projMatr2_nativeObj, long projPoints1_nativeObj, long projPoints2_nativeObj, long points4D_nativeObj); + + // C++: void correctMatches(Mat F, Mat points1, Mat points2, Mat& newPoints1, Mat& newPoints2) + private static native void correctMatches_0(long F_nativeObj, long points1_nativeObj, long points2_nativeObj, long newPoints1_nativeObj, long newPoints2_nativeObj); + + // C++: void filterSpeckles(Mat& img, double newVal, int maxSpeckleSize, double maxDiff, Mat& buf = Mat()) + private static native void filterSpeckles_0(long img_nativeObj, double newVal, int maxSpeckleSize, double maxDiff, long buf_nativeObj); + private static native void filterSpeckles_1(long img_nativeObj, double newVal, int maxSpeckleSize, double maxDiff); + + // C++: Rect getValidDisparityROI(Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int SADWindowSize) + private static native double[] getValidDisparityROI_0(int roi1_x, int roi1_y, int roi1_width, int roi1_height, int roi2_x, int roi2_y, int roi2_width, int roi2_height, int minDisparity, int numberOfDisparities, int SADWindowSize); + + // C++: void validateDisparity(Mat& disparity, Mat cost, int minDisparity, int numberOfDisparities, int disp12MaxDisp = 1) + private static native void validateDisparity_0(long disparity_nativeObj, long cost_nativeObj, int minDisparity, int numberOfDisparities, int disp12MaxDisp); + private static native void validateDisparity_1(long disparity_nativeObj, long cost_nativeObj, int minDisparity, int numberOfDisparities); + + // C++: void reprojectImageTo3D(Mat disparity, Mat& _3dImage, Mat Q, bool handleMissingValues = false, int ddepth = -1) + private static native void reprojectImageTo3D_0(long disparity_nativeObj, long _3dImage_nativeObj, long Q_nativeObj, boolean handleMissingValues, int ddepth); + private static native void reprojectImageTo3D_1(long disparity_nativeObj, long _3dImage_nativeObj, long Q_nativeObj, boolean handleMissingValues); + private static native void reprojectImageTo3D_2(long disparity_nativeObj, long _3dImage_nativeObj, long Q_nativeObj); + + // C++: int estimateAffine3D(Mat src, Mat dst, Mat& out, Mat& inliers, double ransacThreshold = 3, double confidence = 0.99) + private static native int estimateAffine3D_0(long src_nativeObj, long dst_nativeObj, long out_nativeObj, long inliers_nativeObj, double ransacThreshold, double confidence); + private static native int estimateAffine3D_1(long src_nativeObj, long dst_nativeObj, long out_nativeObj, long inliers_nativeObj); + + // C++: int decomposeHomographyMat(Mat H, Mat K, vector_Mat& rotations, vector_Mat& translations, vector_Mat& normals) + private static native int decomposeHomographyMat_0(long H_nativeObj, long K_nativeObj, long rotations_mat_nativeObj, long translations_mat_nativeObj, long normals_mat_nativeObj); + + // C++: void projectPoints(vector_Point3f objectPoints, vector_Point2f& imagePoints, Mat rvec, Mat tvec, Mat K, Mat D, double alpha = 0, Mat& jacobian = Mat()) + private static native void projectPoints_2(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, long rvec_nativeObj, long tvec_nativeObj, long K_nativeObj, long D_nativeObj, double alpha, long jacobian_nativeObj); + private static native void projectPoints_3(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, long rvec_nativeObj, long tvec_nativeObj, long K_nativeObj, long D_nativeObj); + + // C++: void distortPoints(Mat undistorted, Mat& distorted, Mat K, Mat D, double alpha = 0) + private static native void distortPoints_0(long undistorted_nativeObj, long distorted_nativeObj, long K_nativeObj, long D_nativeObj, double alpha); + private static native void distortPoints_1(long undistorted_nativeObj, long distorted_nativeObj, long K_nativeObj, long D_nativeObj); + + // C++: void undistortPoints(Mat distorted, Mat& undistorted, Mat K, Mat D, Mat R = Mat(), Mat P = Mat()) + private static native void undistortPoints_0(long distorted_nativeObj, long undistorted_nativeObj, long K_nativeObj, long D_nativeObj, long R_nativeObj, long P_nativeObj); + private static native void undistortPoints_1(long distorted_nativeObj, long undistorted_nativeObj, long K_nativeObj, long D_nativeObj); + + // C++: void initUndistortRectifyMap(Mat K, Mat D, Mat R, Mat P, Size size, int m1type, Mat& map1, Mat& map2) + private static native void initUndistortRectifyMap_0(long K_nativeObj, long D_nativeObj, long R_nativeObj, long P_nativeObj, double size_width, double size_height, int m1type, long map1_nativeObj, long map2_nativeObj); + + // C++: void undistortImage(Mat distorted, Mat& undistorted, Mat K, Mat D, Mat Knew = cv::Mat(), Size new_size = Size()) + private static native void undistortImage_0(long distorted_nativeObj, long undistorted_nativeObj, long K_nativeObj, long D_nativeObj, long Knew_nativeObj, double new_size_width, double new_size_height); + private static native void undistortImage_1(long distorted_nativeObj, long undistorted_nativeObj, long K_nativeObj, long D_nativeObj); + + // C++: void estimateNewCameraMatrixForUndistortRectify(Mat K, Mat D, Size image_size, Mat R, Mat& P, double balance = 0.0, Size new_size = Size(), double fov_scale = 1.0) + private static native void estimateNewCameraMatrixForUndistortRectify_0(long K_nativeObj, long D_nativeObj, double image_size_width, double image_size_height, long R_nativeObj, long P_nativeObj, double balance, double new_size_width, double new_size_height, double fov_scale); + private static native void estimateNewCameraMatrixForUndistortRectify_1(long K_nativeObj, long D_nativeObj, double image_size_width, double image_size_height, long R_nativeObj, long P_nativeObj); + + // C++: double calibrate(vector_Mat objectPoints, vector_Mat imagePoints, Size image_size, Mat& K, Mat& D, vector_Mat& rvecs, vector_Mat& tvecs, int flags = 0, TermCriteria criteria = TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 100, DBL_EPSILON)) + private static native double calibrate_0(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, double image_size_width, double image_size_height, long K_nativeObj, long D_nativeObj, long rvecs_mat_nativeObj, long tvecs_mat_nativeObj, int flags, int criteria_type, int criteria_maxCount, double criteria_epsilon); + private static native double calibrate_1(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, double image_size_width, double image_size_height, long K_nativeObj, long D_nativeObj, long rvecs_mat_nativeObj, long tvecs_mat_nativeObj, int flags); + private static native double calibrate_2(long objectPoints_mat_nativeObj, long imagePoints_mat_nativeObj, double image_size_width, double image_size_height, long K_nativeObj, long D_nativeObj, long rvecs_mat_nativeObj, long tvecs_mat_nativeObj); + + // C++: void stereoRectify(Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat tvec, Mat& R1, Mat& R2, Mat& P1, Mat& P2, Mat& Q, int flags, Size newImageSize = Size(), double balance = 0.0, double fov_scale = 1.0) + private static native void stereoRectify_2(long K1_nativeObj, long D1_nativeObj, long K2_nativeObj, long D2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long tvec_nativeObj, long R1_nativeObj, long R2_nativeObj, long P1_nativeObj, long P2_nativeObj, long Q_nativeObj, int flags, double newImageSize_width, double newImageSize_height, double balance, double fov_scale); + private static native void stereoRectify_3(long K1_nativeObj, long D1_nativeObj, long K2_nativeObj, long D2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long tvec_nativeObj, long R1_nativeObj, long R2_nativeObj, long P1_nativeObj, long P2_nativeObj, long Q_nativeObj, int flags); + + // C++: double stereoCalibrate(vector_Mat objectPoints, vector_Mat imagePoints1, vector_Mat imagePoints2, Mat& K1, Mat& D1, Mat& K2, Mat& D2, Size imageSize, Mat& R, Mat& T, int flags = fisheye::CALIB_FIX_INTRINSIC, TermCriteria criteria = TermCriteria(TermCriteria::COUNT + TermCriteria::EPS, 100, DBL_EPSILON)) + private static native double stereoCalibrate_3(long objectPoints_mat_nativeObj, long imagePoints1_mat_nativeObj, long imagePoints2_mat_nativeObj, long K1_nativeObj, long D1_nativeObj, long K2_nativeObj, long D2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long T_nativeObj, int flags, int criteria_type, int criteria_maxCount, double criteria_epsilon); + private static native double stereoCalibrate_4(long objectPoints_mat_nativeObj, long imagePoints1_mat_nativeObj, long imagePoints2_mat_nativeObj, long K1_nativeObj, long D1_nativeObj, long K2_nativeObj, long D2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long T_nativeObj, int flags); + private static native double stereoCalibrate_5(long objectPoints_mat_nativeObj, long imagePoints1_mat_nativeObj, long imagePoints2_mat_nativeObj, long K1_nativeObj, long D1_nativeObj, long K2_nativeObj, long D2_nativeObj, double imageSize_width, double imageSize_height, long R_nativeObj, long T_nativeObj); + + // C++: void Rodrigues(Mat src, Mat& dst, Mat& jacobian = Mat()) + private static native void Rodrigues_0(long src_nativeObj, long dst_nativeObj, long jacobian_nativeObj); + private static native void Rodrigues_1(long src_nativeObj, long dst_nativeObj); + + // C++: Mat findHomography(vector_Point2f srcPoints, vector_Point2f dstPoints, int method = 0, double ransacReprojThreshold = 3, Mat& mask = Mat(), int maxIters = 2000, double confidence = 0.995) + private static native long findHomography_0(long srcPoints_mat_nativeObj, long dstPoints_mat_nativeObj, int method, double ransacReprojThreshold, long mask_nativeObj, int maxIters, double confidence); + private static native long findHomography_1(long srcPoints_mat_nativeObj, long dstPoints_mat_nativeObj, int method, double ransacReprojThreshold); + private static native long findHomography_2(long srcPoints_mat_nativeObj, long dstPoints_mat_nativeObj); + + // C++: Vec3d RQDecomp3x3(Mat src, Mat& mtxR, Mat& mtxQ, Mat& Qx = Mat(), Mat& Qy = Mat(), Mat& Qz = Mat()) + private static native double[] RQDecomp3x3_0(long src_nativeObj, long mtxR_nativeObj, long mtxQ_nativeObj, long Qx_nativeObj, long Qy_nativeObj, long Qz_nativeObj); + private static native double[] RQDecomp3x3_1(long src_nativeObj, long mtxR_nativeObj, long mtxQ_nativeObj); + + // C++: void decomposeProjectionMatrix(Mat projMatrix, Mat& cameraMatrix, Mat& rotMatrix, Mat& transVect, Mat& rotMatrixX = Mat(), Mat& rotMatrixY = Mat(), Mat& rotMatrixZ = Mat(), Mat& eulerAngles = Mat()) + private static native void decomposeProjectionMatrix_0(long projMatrix_nativeObj, long cameraMatrix_nativeObj, long rotMatrix_nativeObj, long transVect_nativeObj, long rotMatrixX_nativeObj, long rotMatrixY_nativeObj, long rotMatrixZ_nativeObj, long eulerAngles_nativeObj); + private static native void decomposeProjectionMatrix_1(long projMatrix_nativeObj, long cameraMatrix_nativeObj, long rotMatrix_nativeObj, long transVect_nativeObj); + + // C++: void matMulDeriv(Mat A, Mat B, Mat& dABdA, Mat& dABdB) + private static native void matMulDeriv_0(long A_nativeObj, long B_nativeObj, long dABdA_nativeObj, long dABdB_nativeObj); + + // C++: void composeRT(Mat rvec1, Mat tvec1, Mat rvec2, Mat tvec2, Mat& rvec3, Mat& tvec3, Mat& dr3dr1 = Mat(), Mat& dr3dt1 = Mat(), Mat& dr3dr2 = Mat(), Mat& dr3dt2 = Mat(), Mat& dt3dr1 = Mat(), Mat& dt3dt1 = Mat(), Mat& dt3dr2 = Mat(), Mat& dt3dt2 = Mat()) + private static native void composeRT_0(long rvec1_nativeObj, long tvec1_nativeObj, long rvec2_nativeObj, long tvec2_nativeObj, long rvec3_nativeObj, long tvec3_nativeObj, long dr3dr1_nativeObj, long dr3dt1_nativeObj, long dr3dr2_nativeObj, long dr3dt2_nativeObj, long dt3dr1_nativeObj, long dt3dt1_nativeObj, long dt3dr2_nativeObj, long dt3dt2_nativeObj); + private static native void composeRT_1(long rvec1_nativeObj, long tvec1_nativeObj, long rvec2_nativeObj, long tvec2_nativeObj, long rvec3_nativeObj, long tvec3_nativeObj); + +} diff --git a/opencv3/src/org/opencv/calib3d/StereoBM.java b/opencv3/src/org/opencv/calib3d/StereoBM.java new file mode 100644 index 0000000..3fee1c6 --- /dev/null +++ b/opencv3/src/org/opencv/calib3d/StereoBM.java @@ -0,0 +1,330 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.calib3d; + +import org.opencv.core.Rect; + +// C++: class StereoBM +//javadoc: StereoBM +public class StereoBM extends StereoMatcher { + + protected StereoBM(long addr) { super(addr); } + + + public static final int + PREFILTER_NORMALIZED_RESPONSE = 0, + PREFILTER_XSOBEL = 1; + + + // + // C++: int getPreFilterType() + // + + //javadoc: StereoBM::getPreFilterType() + public int getPreFilterType() + { + + int retVal = getPreFilterType_0(nativeObj); + + return retVal; + } + + + // + // C++: void setPreFilterType(int preFilterType) + // + + //javadoc: StereoBM::setPreFilterType(preFilterType) + public void setPreFilterType(int preFilterType) + { + + setPreFilterType_0(nativeObj, preFilterType); + + return; + } + + + // + // C++: int getPreFilterSize() + // + + //javadoc: StereoBM::getPreFilterSize() + public int getPreFilterSize() + { + + int retVal = getPreFilterSize_0(nativeObj); + + return retVal; + } + + + // + // C++: void setPreFilterSize(int preFilterSize) + // + + //javadoc: StereoBM::setPreFilterSize(preFilterSize) + public void setPreFilterSize(int preFilterSize) + { + + setPreFilterSize_0(nativeObj, preFilterSize); + + return; + } + + + // + // C++: int getPreFilterCap() + // + + //javadoc: StereoBM::getPreFilterCap() + public int getPreFilterCap() + { + + int retVal = getPreFilterCap_0(nativeObj); + + return retVal; + } + + + // + // C++: void setPreFilterCap(int preFilterCap) + // + + //javadoc: StereoBM::setPreFilterCap(preFilterCap) + public void setPreFilterCap(int preFilterCap) + { + + setPreFilterCap_0(nativeObj, preFilterCap); + + return; + } + + + // + // C++: int getTextureThreshold() + // + + //javadoc: StereoBM::getTextureThreshold() + public int getTextureThreshold() + { + + int retVal = getTextureThreshold_0(nativeObj); + + return retVal; + } + + + // + // C++: void setTextureThreshold(int textureThreshold) + // + + //javadoc: StereoBM::setTextureThreshold(textureThreshold) + public void setTextureThreshold(int textureThreshold) + { + + setTextureThreshold_0(nativeObj, textureThreshold); + + return; + } + + + // + // C++: int getUniquenessRatio() + // + + //javadoc: StereoBM::getUniquenessRatio() + public int getUniquenessRatio() + { + + int retVal = getUniquenessRatio_0(nativeObj); + + return retVal; + } + + + // + // C++: void setUniquenessRatio(int uniquenessRatio) + // + + //javadoc: StereoBM::setUniquenessRatio(uniquenessRatio) + public void setUniquenessRatio(int uniquenessRatio) + { + + setUniquenessRatio_0(nativeObj, uniquenessRatio); + + return; + } + + + // + // C++: int getSmallerBlockSize() + // + + //javadoc: StereoBM::getSmallerBlockSize() + public int getSmallerBlockSize() + { + + int retVal = getSmallerBlockSize_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSmallerBlockSize(int blockSize) + // + + //javadoc: StereoBM::setSmallerBlockSize(blockSize) + public void setSmallerBlockSize(int blockSize) + { + + setSmallerBlockSize_0(nativeObj, blockSize); + + return; + } + + + // + // C++: Rect getROI1() + // + + //javadoc: StereoBM::getROI1() + public Rect getROI1() + { + + Rect retVal = new Rect(getROI1_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setROI1(Rect roi1) + // + + //javadoc: StereoBM::setROI1(roi1) + public void setROI1(Rect roi1) + { + + setROI1_0(nativeObj, roi1.x, roi1.y, roi1.width, roi1.height); + + return; + } + + + // + // C++: Rect getROI2() + // + + //javadoc: StereoBM::getROI2() + public Rect getROI2() + { + + Rect retVal = new Rect(getROI2_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setROI2(Rect roi2) + // + + //javadoc: StereoBM::setROI2(roi2) + public void setROI2(Rect roi2) + { + + setROI2_0(nativeObj, roi2.x, roi2.y, roi2.width, roi2.height); + + return; + } + + + // + // C++: static Ptr_StereoBM create(int numDisparities = 0, int blockSize = 21) + // + + //javadoc: StereoBM::create(numDisparities, blockSize) + public static StereoBM create(int numDisparities, int blockSize) + { + + StereoBM retVal = new StereoBM(create_0(numDisparities, blockSize)); + + return retVal; + } + + //javadoc: StereoBM::create() + public static StereoBM create() + { + + StereoBM retVal = new StereoBM(create_1()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getPreFilterType() + private static native int getPreFilterType_0(long nativeObj); + + // C++: void setPreFilterType(int preFilterType) + private static native void setPreFilterType_0(long nativeObj, int preFilterType); + + // C++: int getPreFilterSize() + private static native int getPreFilterSize_0(long nativeObj); + + // C++: void setPreFilterSize(int preFilterSize) + private static native void setPreFilterSize_0(long nativeObj, int preFilterSize); + + // C++: int getPreFilterCap() + private static native int getPreFilterCap_0(long nativeObj); + + // C++: void setPreFilterCap(int preFilterCap) + private static native void setPreFilterCap_0(long nativeObj, int preFilterCap); + + // C++: int getTextureThreshold() + private static native int getTextureThreshold_0(long nativeObj); + + // C++: void setTextureThreshold(int textureThreshold) + private static native void setTextureThreshold_0(long nativeObj, int textureThreshold); + + // C++: int getUniquenessRatio() + private static native int getUniquenessRatio_0(long nativeObj); + + // C++: void setUniquenessRatio(int uniquenessRatio) + private static native void setUniquenessRatio_0(long nativeObj, int uniquenessRatio); + + // C++: int getSmallerBlockSize() + private static native int getSmallerBlockSize_0(long nativeObj); + + // C++: void setSmallerBlockSize(int blockSize) + private static native void setSmallerBlockSize_0(long nativeObj, int blockSize); + + // C++: Rect getROI1() + private static native double[] getROI1_0(long nativeObj); + + // C++: void setROI1(Rect roi1) + private static native void setROI1_0(long nativeObj, int roi1_x, int roi1_y, int roi1_width, int roi1_height); + + // C++: Rect getROI2() + private static native double[] getROI2_0(long nativeObj); + + // C++: void setROI2(Rect roi2) + private static native void setROI2_0(long nativeObj, int roi2_x, int roi2_y, int roi2_width, int roi2_height); + + // C++: static Ptr_StereoBM create(int numDisparities = 0, int blockSize = 21) + private static native long create_0(int numDisparities, int blockSize); + private static native long create_1(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/calib3d/StereoMatcher.java b/opencv3/src/org/opencv/calib3d/StereoMatcher.java new file mode 100644 index 0000000..31ce673 --- /dev/null +++ b/opencv3/src/org/opencv/calib3d/StereoMatcher.java @@ -0,0 +1,253 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.calib3d; + +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; + +// C++: class StereoMatcher +//javadoc: StereoMatcher +public class StereoMatcher extends Algorithm { + + protected StereoMatcher(long addr) { super(addr); } + + + public static final int + DISP_SHIFT = 4, + DISP_SCALE = (1 << DISP_SHIFT); + + + // + // C++: void compute(Mat left, Mat right, Mat& disparity) + // + + //javadoc: StereoMatcher::compute(left, right, disparity) + public void compute(Mat left, Mat right, Mat disparity) + { + + compute_0(nativeObj, left.nativeObj, right.nativeObj, disparity.nativeObj); + + return; + } + + + // + // C++: int getMinDisparity() + // + + //javadoc: StereoMatcher::getMinDisparity() + public int getMinDisparity() + { + + int retVal = getMinDisparity_0(nativeObj); + + return retVal; + } + + + // + // C++: void setMinDisparity(int minDisparity) + // + + //javadoc: StereoMatcher::setMinDisparity(minDisparity) + public void setMinDisparity(int minDisparity) + { + + setMinDisparity_0(nativeObj, minDisparity); + + return; + } + + + // + // C++: int getNumDisparities() + // + + //javadoc: StereoMatcher::getNumDisparities() + public int getNumDisparities() + { + + int retVal = getNumDisparities_0(nativeObj); + + return retVal; + } + + + // + // C++: void setNumDisparities(int numDisparities) + // + + //javadoc: StereoMatcher::setNumDisparities(numDisparities) + public void setNumDisparities(int numDisparities) + { + + setNumDisparities_0(nativeObj, numDisparities); + + return; + } + + + // + // C++: int getBlockSize() + // + + //javadoc: StereoMatcher::getBlockSize() + public int getBlockSize() + { + + int retVal = getBlockSize_0(nativeObj); + + return retVal; + } + + + // + // C++: void setBlockSize(int blockSize) + // + + //javadoc: StereoMatcher::setBlockSize(blockSize) + public void setBlockSize(int blockSize) + { + + setBlockSize_0(nativeObj, blockSize); + + return; + } + + + // + // C++: int getSpeckleWindowSize() + // + + //javadoc: StereoMatcher::getSpeckleWindowSize() + public int getSpeckleWindowSize() + { + + int retVal = getSpeckleWindowSize_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSpeckleWindowSize(int speckleWindowSize) + // + + //javadoc: StereoMatcher::setSpeckleWindowSize(speckleWindowSize) + public void setSpeckleWindowSize(int speckleWindowSize) + { + + setSpeckleWindowSize_0(nativeObj, speckleWindowSize); + + return; + } + + + // + // C++: int getSpeckleRange() + // + + //javadoc: StereoMatcher::getSpeckleRange() + public int getSpeckleRange() + { + + int retVal = getSpeckleRange_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSpeckleRange(int speckleRange) + // + + //javadoc: StereoMatcher::setSpeckleRange(speckleRange) + public void setSpeckleRange(int speckleRange) + { + + setSpeckleRange_0(nativeObj, speckleRange); + + return; + } + + + // + // C++: int getDisp12MaxDiff() + // + + //javadoc: StereoMatcher::getDisp12MaxDiff() + public int getDisp12MaxDiff() + { + + int retVal = getDisp12MaxDiff_0(nativeObj); + + return retVal; + } + + + // + // C++: void setDisp12MaxDiff(int disp12MaxDiff) + // + + //javadoc: StereoMatcher::setDisp12MaxDiff(disp12MaxDiff) + public void setDisp12MaxDiff(int disp12MaxDiff) + { + + setDisp12MaxDiff_0(nativeObj, disp12MaxDiff); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void compute(Mat left, Mat right, Mat& disparity) + private static native void compute_0(long nativeObj, long left_nativeObj, long right_nativeObj, long disparity_nativeObj); + + // C++: int getMinDisparity() + private static native int getMinDisparity_0(long nativeObj); + + // C++: void setMinDisparity(int minDisparity) + private static native void setMinDisparity_0(long nativeObj, int minDisparity); + + // C++: int getNumDisparities() + private static native int getNumDisparities_0(long nativeObj); + + // C++: void setNumDisparities(int numDisparities) + private static native void setNumDisparities_0(long nativeObj, int numDisparities); + + // C++: int getBlockSize() + private static native int getBlockSize_0(long nativeObj); + + // C++: void setBlockSize(int blockSize) + private static native void setBlockSize_0(long nativeObj, int blockSize); + + // C++: int getSpeckleWindowSize() + private static native int getSpeckleWindowSize_0(long nativeObj); + + // C++: void setSpeckleWindowSize(int speckleWindowSize) + private static native void setSpeckleWindowSize_0(long nativeObj, int speckleWindowSize); + + // C++: int getSpeckleRange() + private static native int getSpeckleRange_0(long nativeObj); + + // C++: void setSpeckleRange(int speckleRange) + private static native void setSpeckleRange_0(long nativeObj, int speckleRange); + + // C++: int getDisp12MaxDiff() + private static native int getDisp12MaxDiff_0(long nativeObj); + + // C++: void setDisp12MaxDiff(int disp12MaxDiff) + private static native void setDisp12MaxDiff_0(long nativeObj, int disp12MaxDiff); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/calib3d/StereoSGBM.java b/opencv3/src/org/opencv/calib3d/StereoSGBM.java new file mode 100644 index 0000000..3f9bbe6 --- /dev/null +++ b/opencv3/src/org/opencv/calib3d/StereoSGBM.java @@ -0,0 +1,228 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.calib3d; + + + +// C++: class StereoSGBM +//javadoc: StereoSGBM +public class StereoSGBM extends StereoMatcher { + + protected StereoSGBM(long addr) { super(addr); } + + + public static final int + MODE_SGBM = 0, + MODE_HH = 1; + + + // + // C++: int getPreFilterCap() + // + + //javadoc: StereoSGBM::getPreFilterCap() + public int getPreFilterCap() + { + + int retVal = getPreFilterCap_0(nativeObj); + + return retVal; + } + + + // + // C++: void setPreFilterCap(int preFilterCap) + // + + //javadoc: StereoSGBM::setPreFilterCap(preFilterCap) + public void setPreFilterCap(int preFilterCap) + { + + setPreFilterCap_0(nativeObj, preFilterCap); + + return; + } + + + // + // C++: int getUniquenessRatio() + // + + //javadoc: StereoSGBM::getUniquenessRatio() + public int getUniquenessRatio() + { + + int retVal = getUniquenessRatio_0(nativeObj); + + return retVal; + } + + + // + // C++: void setUniquenessRatio(int uniquenessRatio) + // + + //javadoc: StereoSGBM::setUniquenessRatio(uniquenessRatio) + public void setUniquenessRatio(int uniquenessRatio) + { + + setUniquenessRatio_0(nativeObj, uniquenessRatio); + + return; + } + + + // + // C++: int getP1() + // + + //javadoc: StereoSGBM::getP1() + public int getP1() + { + + int retVal = getP1_0(nativeObj); + + return retVal; + } + + + // + // C++: void setP1(int P1) + // + + //javadoc: StereoSGBM::setP1(P1) + public void setP1(int P1) + { + + setP1_0(nativeObj, P1); + + return; + } + + + // + // C++: int getP2() + // + + //javadoc: StereoSGBM::getP2() + public int getP2() + { + + int retVal = getP2_0(nativeObj); + + return retVal; + } + + + // + // C++: void setP2(int P2) + // + + //javadoc: StereoSGBM::setP2(P2) + public void setP2(int P2) + { + + setP2_0(nativeObj, P2); + + return; + } + + + // + // C++: int getMode() + // + + //javadoc: StereoSGBM::getMode() + public int getMode() + { + + int retVal = getMode_0(nativeObj); + + return retVal; + } + + + // + // C++: void setMode(int mode) + // + + //javadoc: StereoSGBM::setMode(mode) + public void setMode(int mode) + { + + setMode_0(nativeObj, mode); + + return; + } + + + // + // C++: static Ptr_StereoSGBM create(int minDisparity, int numDisparities, int blockSize, int P1 = 0, int P2 = 0, int disp12MaxDiff = 0, int preFilterCap = 0, int uniquenessRatio = 0, int speckleWindowSize = 0, int speckleRange = 0, int mode = StereoSGBM::MODE_SGBM) + // + + //javadoc: StereoSGBM::create(minDisparity, numDisparities, blockSize, P1, P2, disp12MaxDiff, preFilterCap, uniquenessRatio, speckleWindowSize, speckleRange, mode) + public static StereoSGBM create(int minDisparity, int numDisparities, int blockSize, int P1, int P2, int disp12MaxDiff, int preFilterCap, int uniquenessRatio, int speckleWindowSize, int speckleRange, int mode) + { + + StereoSGBM retVal = new StereoSGBM(create_0(minDisparity, numDisparities, blockSize, P1, P2, disp12MaxDiff, preFilterCap, uniquenessRatio, speckleWindowSize, speckleRange, mode)); + + return retVal; + } + + //javadoc: StereoSGBM::create(minDisparity, numDisparities, blockSize) + public static StereoSGBM create(int minDisparity, int numDisparities, int blockSize) + { + + StereoSGBM retVal = new StereoSGBM(create_1(minDisparity, numDisparities, blockSize)); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getPreFilterCap() + private static native int getPreFilterCap_0(long nativeObj); + + // C++: void setPreFilterCap(int preFilterCap) + private static native void setPreFilterCap_0(long nativeObj, int preFilterCap); + + // C++: int getUniquenessRatio() + private static native int getUniquenessRatio_0(long nativeObj); + + // C++: void setUniquenessRatio(int uniquenessRatio) + private static native void setUniquenessRatio_0(long nativeObj, int uniquenessRatio); + + // C++: int getP1() + private static native int getP1_0(long nativeObj); + + // C++: void setP1(int P1) + private static native void setP1_0(long nativeObj, int P1); + + // C++: int getP2() + private static native int getP2_0(long nativeObj); + + // C++: void setP2(int P2) + private static native void setP2_0(long nativeObj, int P2); + + // C++: int getMode() + private static native int getMode_0(long nativeObj); + + // C++: void setMode(int mode) + private static native void setMode_0(long nativeObj, int mode); + + // C++: static Ptr_StereoSGBM create(int minDisparity, int numDisparities, int blockSize, int P1 = 0, int P2 = 0, int disp12MaxDiff = 0, int preFilterCap = 0, int uniquenessRatio = 0, int speckleWindowSize = 0, int speckleRange = 0, int mode = StereoSGBM::MODE_SGBM) + private static native long create_0(int minDisparity, int numDisparities, int blockSize, int P1, int P2, int disp12MaxDiff, int preFilterCap, int uniquenessRatio, int speckleWindowSize, int speckleRange, int mode); + private static native long create_1(int minDisparity, int numDisparities, int blockSize); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/core/Algorithm.java b/opencv3/src/org/opencv/core/Algorithm.java new file mode 100644 index 0000000..f5186b6 --- /dev/null +++ b/opencv3/src/org/opencv/core/Algorithm.java @@ -0,0 +1,78 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.core; + +import java.lang.String; + +// C++: class Algorithm +//javadoc: Algorithm +public class Algorithm { + + protected final long nativeObj; + protected Algorithm(long addr) { nativeObj = addr; } + + + // + // C++: void clear() + // + + //javadoc: Algorithm::clear() + public void clear() + { + + clear_0(nativeObj); + + return; + } + + + // + // C++: void save(String filename) + // + + //javadoc: Algorithm::save(filename) + public void save(String filename) + { + + save_0(nativeObj, filename); + + return; + } + + + // + // C++: String getDefaultName() + // + + //javadoc: Algorithm::getDefaultName() + public String getDefaultName() + { + + String retVal = getDefaultName_0(nativeObj); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void clear() + private static native void clear_0(long nativeObj); + + // C++: void save(String filename) + private static native void save_0(long nativeObj, String filename); + + // C++: String getDefaultName() + private static native String getDefaultName_0(long nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/core/Core.java b/opencv3/src/org/opencv/core/Core.java new file mode 100644 index 0000000..7df4ea9 --- /dev/null +++ b/opencv3/src/org/opencv/core/Core.java @@ -0,0 +1,2544 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.core; + +import java.lang.String; +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfDouble; +import org.opencv.core.MatOfInt; +import org.opencv.core.Scalar; +import org.opencv.core.TermCriteria; +import org.opencv.utils.Converters; + +public class Core { + + // these constants are wrapped inside functions to prevent inlining + private static String getVersion() { return "3.0.0"; } + private static String getNativeLibraryName() { return "opencv_java300"; } + private static int getVersionMajor() { return 3; } + private static int getVersionMinor() { return 0; } + private static int getVersionRevision() { return 0; } + private static String getVersionStatus() { return ""; } + + public static final String VERSION = getVersion(); + public static final String NATIVE_LIBRARY_NAME = getNativeLibraryName(); + public static final int VERSION_MAJOR = getVersionMajor(); + public static final int VERSION_MINOR = getVersionMinor(); + public static final int VERSION_REVISION = getVersionRevision(); + public static final String VERSION_STATUS = getVersionStatus(); + + private static final int + CV_8U = 0, + CV_8S = 1, + CV_16U = 2, + CV_16S = 3, + CV_32S = 4, + CV_32F = 5, + CV_64F = 6, + CV_USRTYPE1 = 7; + + + public static final int + SVD_MODIFY_A = 1, + SVD_NO_UV = 2, + SVD_FULL_UV = 4, + FILLED = -1, + REDUCE_SUM = 0, + REDUCE_AVG = 1, + REDUCE_MAX = 2, + REDUCE_MIN = 3, + StsOk = 0, + StsBackTrace = -1, + StsError = -2, + StsInternal = -3, + StsNoMem = -4, + StsBadArg = -5, + StsBadFunc = -6, + StsNoConv = -7, + StsAutoTrace = -8, + HeaderIsNull = -9, + BadImageSize = -10, + BadOffset = -11, + BadDataPtr = -12, + BadStep = -13, + BadModelOrChSeq = -14, + BadNumChannels = -15, + BadNumChannel1U = -16, + BadDepth = -17, + BadAlphaChannel = -18, + BadOrder = -19, + BadOrigin = -20, + BadAlign = -21, + BadCallBack = -22, + BadTileSize = -23, + BadCOI = -24, + BadROISize = -25, + MaskIsTiled = -26, + StsNullPtr = -27, + StsVecLengthErr = -28, + StsFilterStructContentErr = -29, + StsKernelStructContentErr = -30, + StsFilterOffsetErr = -31, + StsBadSize = -201, + StsDivByZero = -202, + StsInplaceNotSupported = -203, + StsObjectNotFound = -204, + StsUnmatchedFormats = -205, + StsBadFlag = -206, + StsBadPoint = -207, + StsBadMask = -208, + StsUnmatchedSizes = -209, + StsUnsupportedFormat = -210, + StsOutOfRange = -211, + StsParseError = -212, + StsNotImplemented = -213, + StsBadMemBlock = -214, + StsAssert = -215, + GpuNotSupported = -216, + GpuApiCallError = -217, + OpenGlNotSupported = -218, + OpenGlApiCallError = -219, + OpenCLApiCallError = -220, + OpenCLDoubleNotSupported = -221, + OpenCLInitError = -222, + OpenCLNoAMDBlasFft = -223, + DECOMP_LU = 0, + DECOMP_SVD = 1, + DECOMP_EIG = 2, + DECOMP_CHOLESKY = 3, + DECOMP_QR = 4, + DECOMP_NORMAL = 16, + NORM_INF = 1, + NORM_L1 = 2, + NORM_L2 = 4, + NORM_L2SQR = 5, + NORM_HAMMING = 6, + NORM_HAMMING2 = 7, + NORM_TYPE_MASK = 7, + NORM_RELATIVE = 8, + NORM_MINMAX = 32, + CMP_EQ = 0, + CMP_GT = 1, + CMP_GE = 2, + CMP_LT = 3, + CMP_LE = 4, + CMP_NE = 5, + GEMM_1_T = 1, + GEMM_2_T = 2, + GEMM_3_T = 4, + DFT_INVERSE = 1, + DFT_SCALE = 2, + DFT_ROWS = 4, + DFT_COMPLEX_OUTPUT = 16, + DFT_REAL_OUTPUT = 32, + DCT_INVERSE = DFT_INVERSE, + DCT_ROWS = DFT_ROWS, + BORDER_CONSTANT = 0, + BORDER_REPLICATE = 1, + BORDER_REFLECT = 2, + BORDER_WRAP = 3, + BORDER_REFLECT_101 = 4, + BORDER_TRANSPARENT = 5, + BORDER_REFLECT101 = BORDER_REFLECT_101, + BORDER_DEFAULT = BORDER_REFLECT_101, + BORDER_ISOLATED = 16, + SORT_EVERY_ROW = 0, + SORT_EVERY_COLUMN = 1, + SORT_ASCENDING = 0, + SORT_DESCENDING = 16, + COVAR_SCRAMBLED = 0, + COVAR_NORMAL = 1, + COVAR_USE_AVG = 2, + COVAR_SCALE = 4, + COVAR_ROWS = 8, + COVAR_COLS = 16, + KMEANS_RANDOM_CENTERS = 0, + KMEANS_PP_CENTERS = 2, + KMEANS_USE_INITIAL_LABELS = 1, + LINE_4 = 4, + LINE_8 = 8, + LINE_AA = 16, + FONT_HERSHEY_SIMPLEX = 0, + FONT_HERSHEY_PLAIN = 1, + FONT_HERSHEY_DUPLEX = 2, + FONT_HERSHEY_COMPLEX = 3, + FONT_HERSHEY_TRIPLEX = 4, + FONT_HERSHEY_COMPLEX_SMALL = 5, + FONT_HERSHEY_SCRIPT_SIMPLEX = 6, + FONT_HERSHEY_SCRIPT_COMPLEX = 7, + FONT_ITALIC = 16, + CPU_MMX = 1, + CPU_SSE = 2, + CPU_SSE2 = 3, + CPU_SSE3 = 4, + CPU_SSSE3 = 5, + CPU_SSE4_1 = 6, + CPU_SSE4_2 = 7, + CPU_POPCNT = 8, + CPU_AVX = 10, + CPU_AVX2 = 11, + CPU_FMA3 = 12, + CPU_AVX_512F = 13, + CPU_AVX_512BW = 14, + CPU_AVX_512CD = 15, + CPU_AVX_512DQ = 16, + CPU_AVX_512ER = 17, + CPU_AVX_512IFMA512 = 18, + CPU_AVX_512PF = 19, + CPU_AVX_512VBMI = 20, + CPU_AVX_512VL = 21, + CPU_NEON = 100; + + + // + // C++: void subtract(Mat src1, Mat src2, Mat& dst, Mat mask = Mat(), int dtype = -1) + // + + //javadoc: subtract(src1, src2, dst, mask, dtype) + public static void subtract(Mat src1, Mat src2, Mat dst, Mat mask, int dtype) + { + + subtract_0(src1.nativeObj, src2.nativeObj, dst.nativeObj, mask.nativeObj, dtype); + + return; + } + + //javadoc: subtract(src1, src2, dst, mask) + public static void subtract(Mat src1, Mat src2, Mat dst, Mat mask) + { + + subtract_1(src1.nativeObj, src2.nativeObj, dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: subtract(src1, src2, dst) + public static void subtract(Mat src1, Mat src2, Mat dst) + { + + subtract_2(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void reduce(Mat src, Mat& dst, int dim, int rtype, int dtype = -1) + // + + //javadoc: reduce(src, dst, dim, rtype, dtype) + public static void reduce(Mat src, Mat dst, int dim, int rtype, int dtype) + { + + reduce_0(src.nativeObj, dst.nativeObj, dim, rtype, dtype); + + return; + } + + //javadoc: reduce(src, dst, dim, rtype) + public static void reduce(Mat src, Mat dst, int dim, int rtype) + { + + reduce_1(src.nativeObj, dst.nativeObj, dim, rtype); + + return; + } + + + // + // C++: void merge(vector_Mat mv, Mat& dst) + // + + //javadoc: merge(mv, dst) + public static void merge(List mv, Mat dst) + { + Mat mv_mat = Converters.vector_Mat_to_Mat(mv); + merge_0(mv_mat.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void split(Mat m, vector_Mat& mv) + // + + //javadoc: split(m, mv) + public static void split(Mat m, List mv) + { + Mat mv_mat = new Mat(); + split_0(m.nativeObj, mv_mat.nativeObj); + Converters.Mat_to_vector_Mat(mv_mat, mv); + mv_mat.release(); + return; + } + + + // + // C++: void mixChannels(vector_Mat src, vector_Mat dst, vector_int fromTo) + // + + //javadoc: mixChannels(src, dst, fromTo) + public static void mixChannels(List src, List dst, MatOfInt fromTo) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + Mat dst_mat = Converters.vector_Mat_to_Mat(dst); + Mat fromTo_mat = fromTo; + mixChannels_0(src_mat.nativeObj, dst_mat.nativeObj, fromTo_mat.nativeObj); + + return; + } + + + // + // C++: void extractChannel(Mat src, Mat& dst, int coi) + // + + //javadoc: extractChannel(src, dst, coi) + public static void extractChannel(Mat src, Mat dst, int coi) + { + + extractChannel_0(src.nativeObj, dst.nativeObj, coi); + + return; + } + + + // + // C++: void insertChannel(Mat src, Mat& dst, int coi) + // + + //javadoc: insertChannel(src, dst, coi) + public static void insertChannel(Mat src, Mat dst, int coi) + { + + insertChannel_0(src.nativeObj, dst.nativeObj, coi); + + return; + } + + + // + // C++: void flip(Mat src, Mat& dst, int flipCode) + // + + //javadoc: flip(src, dst, flipCode) + public static void flip(Mat src, Mat dst, int flipCode) + { + + flip_0(src.nativeObj, dst.nativeObj, flipCode); + + return; + } + + + // + // C++: void repeat(Mat src, int ny, int nx, Mat& dst) + // + + //javadoc: repeat(src, ny, nx, dst) + public static void repeat(Mat src, int ny, int nx, Mat dst) + { + + repeat_0(src.nativeObj, ny, nx, dst.nativeObj); + + return; + } + + + // + // C++: void add(Mat src1, Scalar src2, Mat& dst, Mat mask = Mat(), int dtype = -1) + // + + //javadoc: add(src1, src2, dst, mask, dtype) + public static void add(Mat src1, Scalar src2, Mat dst, Mat mask, int dtype) + { + + add_0(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj, mask.nativeObj, dtype); + + return; + } + + //javadoc: add(src1, src2, dst, mask) + public static void add(Mat src1, Scalar src2, Mat dst, Mat mask) + { + + add_1(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: add(src1, src2, dst) + public static void add(Mat src1, Scalar src2, Mat dst) + { + + add_2(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj); + + return; + } + + + // + // C++: int getNumberOfCPUs() + // + + //javadoc: getNumberOfCPUs() + public static int getNumberOfCPUs() + { + + int retVal = getNumberOfCPUs_0(); + + return retVal; + } + + + // + // C++: void mulTransposed(Mat src, Mat& dst, bool aTa, Mat delta = Mat(), double scale = 1, int dtype = -1) + // + + //javadoc: mulTransposed(src, dst, aTa, delta, scale, dtype) + public static void mulTransposed(Mat src, Mat dst, boolean aTa, Mat delta, double scale, int dtype) + { + + mulTransposed_0(src.nativeObj, dst.nativeObj, aTa, delta.nativeObj, scale, dtype); + + return; + } + + //javadoc: mulTransposed(src, dst, aTa, delta, scale) + public static void mulTransposed(Mat src, Mat dst, boolean aTa, Mat delta, double scale) + { + + mulTransposed_1(src.nativeObj, dst.nativeObj, aTa, delta.nativeObj, scale); + + return; + } + + //javadoc: mulTransposed(src, dst, aTa) + public static void mulTransposed(Mat src, Mat dst, boolean aTa) + { + + mulTransposed_2(src.nativeObj, dst.nativeObj, aTa); + + return; + } + + + // + // C++: void transpose(Mat src, Mat& dst) + // + + //javadoc: transpose(src, dst) + public static void transpose(Mat src, Mat dst) + { + + transpose_0(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void transform(Mat src, Mat& dst, Mat m) + // + + //javadoc: transform(src, dst, m) + public static void transform(Mat src, Mat dst, Mat m) + { + + transform_0(src.nativeObj, dst.nativeObj, m.nativeObj); + + return; + } + + + // + // C++: void perspectiveTransform(Mat src, Mat& dst, Mat m) + // + + //javadoc: perspectiveTransform(src, dst, m) + public static void perspectiveTransform(Mat src, Mat dst, Mat m) + { + + perspectiveTransform_0(src.nativeObj, dst.nativeObj, m.nativeObj); + + return; + } + + + // + // C++: void completeSymm(Mat& mtx, bool lowerToUpper = false) + // + + //javadoc: completeSymm(mtx, lowerToUpper) + public static void completeSymm(Mat mtx, boolean lowerToUpper) + { + + completeSymm_0(mtx.nativeObj, lowerToUpper); + + return; + } + + //javadoc: completeSymm(mtx) + public static void completeSymm(Mat mtx) + { + + completeSymm_1(mtx.nativeObj); + + return; + } + + + // + // C++: void setIdentity(Mat& mtx, Scalar s = Scalar(1)) + // + + //javadoc: setIdentity(mtx, s) + public static void setIdentity(Mat mtx, Scalar s) + { + + setIdentity_0(mtx.nativeObj, s.val[0], s.val[1], s.val[2], s.val[3]); + + return; + } + + //javadoc: setIdentity(mtx) + public static void setIdentity(Mat mtx) + { + + setIdentity_1(mtx.nativeObj); + + return; + } + + + // + // C++: double determinant(Mat mtx) + // + + //javadoc: determinant(mtx) + public static double determinant(Mat mtx) + { + + double retVal = determinant_0(mtx.nativeObj); + + return retVal; + } + + + // + // C++: Scalar trace(Mat mtx) + // + + //javadoc: trace(mtx) + public static Scalar trace(Mat mtx) + { + + Scalar retVal = new Scalar(trace_0(mtx.nativeObj)); + + return retVal; + } + + + // + // C++: double invert(Mat src, Mat& dst, int flags = DECOMP_LU) + // + + //javadoc: invert(src, dst, flags) + public static double invert(Mat src, Mat dst, int flags) + { + + double retVal = invert_0(src.nativeObj, dst.nativeObj, flags); + + return retVal; + } + + //javadoc: invert(src, dst) + public static double invert(Mat src, Mat dst) + { + + double retVal = invert_1(src.nativeObj, dst.nativeObj); + + return retVal; + } + + + // + // C++: bool solve(Mat src1, Mat src2, Mat& dst, int flags = DECOMP_LU) + // + + //javadoc: solve(src1, src2, dst, flags) + public static boolean solve(Mat src1, Mat src2, Mat dst, int flags) + { + + boolean retVal = solve_0(src1.nativeObj, src2.nativeObj, dst.nativeObj, flags); + + return retVal; + } + + //javadoc: solve(src1, src2, dst) + public static boolean solve(Mat src1, Mat src2, Mat dst) + { + + boolean retVal = solve_1(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return retVal; + } + + + // + // C++: void sort(Mat src, Mat& dst, int flags) + // + + //javadoc: sort(src, dst, flags) + public static void sort(Mat src, Mat dst, int flags) + { + + sort_0(src.nativeObj, dst.nativeObj, flags); + + return; + } + + + // + // C++: void sortIdx(Mat src, Mat& dst, int flags) + // + + //javadoc: sortIdx(src, dst, flags) + public static void sortIdx(Mat src, Mat dst, int flags) + { + + sortIdx_0(src.nativeObj, dst.nativeObj, flags); + + return; + } + + + // + // C++: int solveCubic(Mat coeffs, Mat& roots) + // + + //javadoc: solveCubic(coeffs, roots) + public static int solveCubic(Mat coeffs, Mat roots) + { + + int retVal = solveCubic_0(coeffs.nativeObj, roots.nativeObj); + + return retVal; + } + + + // + // C++: double solvePoly(Mat coeffs, Mat& roots, int maxIters = 300) + // + + //javadoc: solvePoly(coeffs, roots, maxIters) + public static double solvePoly(Mat coeffs, Mat roots, int maxIters) + { + + double retVal = solvePoly_0(coeffs.nativeObj, roots.nativeObj, maxIters); + + return retVal; + } + + //javadoc: solvePoly(coeffs, roots) + public static double solvePoly(Mat coeffs, Mat roots) + { + + double retVal = solvePoly_1(coeffs.nativeObj, roots.nativeObj); + + return retVal; + } + + + // + // C++: bool eigen(Mat src, Mat& eigenvalues, Mat& eigenvectors = Mat()) + // + + //javadoc: eigen(src, eigenvalues, eigenvectors) + public static boolean eigen(Mat src, Mat eigenvalues, Mat eigenvectors) + { + + boolean retVal = eigen_0(src.nativeObj, eigenvalues.nativeObj, eigenvectors.nativeObj); + + return retVal; + } + + //javadoc: eigen(src, eigenvalues) + public static boolean eigen(Mat src, Mat eigenvalues) + { + + boolean retVal = eigen_1(src.nativeObj, eigenvalues.nativeObj); + + return retVal; + } + + + // + // C++: void calcCovarMatrix(Mat samples, Mat& covar, Mat& mean, int flags, int ctype = CV_64F) + // + + //javadoc: calcCovarMatrix(samples, covar, mean, flags, ctype) + public static void calcCovarMatrix(Mat samples, Mat covar, Mat mean, int flags, int ctype) + { + + calcCovarMatrix_0(samples.nativeObj, covar.nativeObj, mean.nativeObj, flags, ctype); + + return; + } + + //javadoc: calcCovarMatrix(samples, covar, mean, flags) + public static void calcCovarMatrix(Mat samples, Mat covar, Mat mean, int flags) + { + + calcCovarMatrix_1(samples.nativeObj, covar.nativeObj, mean.nativeObj, flags); + + return; + } + + + // + // C++: void PCACompute(Mat data, Mat& mean, Mat& eigenvectors, int maxComponents = 0) + // + + //javadoc: PCACompute(data, mean, eigenvectors, maxComponents) + public static void PCACompute(Mat data, Mat mean, Mat eigenvectors, int maxComponents) + { + + PCACompute_0(data.nativeObj, mean.nativeObj, eigenvectors.nativeObj, maxComponents); + + return; + } + + //javadoc: PCACompute(data, mean, eigenvectors) + public static void PCACompute(Mat data, Mat mean, Mat eigenvectors) + { + + PCACompute_1(data.nativeObj, mean.nativeObj, eigenvectors.nativeObj); + + return; + } + + + // + // C++: void PCACompute(Mat data, Mat& mean, Mat& eigenvectors, double retainedVariance) + // + + //javadoc: PCACompute(data, mean, eigenvectors, retainedVariance) + public static void PCACompute(Mat data, Mat mean, Mat eigenvectors, double retainedVariance) + { + + PCACompute_2(data.nativeObj, mean.nativeObj, eigenvectors.nativeObj, retainedVariance); + + return; + } + + + // + // C++: void PCAProject(Mat data, Mat mean, Mat eigenvectors, Mat& result) + // + + //javadoc: PCAProject(data, mean, eigenvectors, result) + public static void PCAProject(Mat data, Mat mean, Mat eigenvectors, Mat result) + { + + PCAProject_0(data.nativeObj, mean.nativeObj, eigenvectors.nativeObj, result.nativeObj); + + return; + } + + + // + // C++: void PCABackProject(Mat data, Mat mean, Mat eigenvectors, Mat& result) + // + + //javadoc: PCABackProject(data, mean, eigenvectors, result) + public static void PCABackProject(Mat data, Mat mean, Mat eigenvectors, Mat result) + { + + PCABackProject_0(data.nativeObj, mean.nativeObj, eigenvectors.nativeObj, result.nativeObj); + + return; + } + + + // + // C++: void SVDecomp(Mat src, Mat& w, Mat& u, Mat& vt, int flags = 0) + // + + //javadoc: SVDecomp(src, w, u, vt, flags) + public static void SVDecomp(Mat src, Mat w, Mat u, Mat vt, int flags) + { + + SVDecomp_0(src.nativeObj, w.nativeObj, u.nativeObj, vt.nativeObj, flags); + + return; + } + + //javadoc: SVDecomp(src, w, u, vt) + public static void SVDecomp(Mat src, Mat w, Mat u, Mat vt) + { + + SVDecomp_1(src.nativeObj, w.nativeObj, u.nativeObj, vt.nativeObj); + + return; + } + + + // + // C++: void SVBackSubst(Mat w, Mat u, Mat vt, Mat rhs, Mat& dst) + // + + //javadoc: SVBackSubst(w, u, vt, rhs, dst) + public static void SVBackSubst(Mat w, Mat u, Mat vt, Mat rhs, Mat dst) + { + + SVBackSubst_0(w.nativeObj, u.nativeObj, vt.nativeObj, rhs.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: double Mahalanobis(Mat v1, Mat v2, Mat icovar) + // + + //javadoc: Mahalanobis(v1, v2, icovar) + public static double Mahalanobis(Mat v1, Mat v2, Mat icovar) + { + + double retVal = Mahalanobis_0(v1.nativeObj, v2.nativeObj, icovar.nativeObj); + + return retVal; + } + + + // + // C++: void dft(Mat src, Mat& dst, int flags = 0, int nonzeroRows = 0) + // + + //javadoc: dft(src, dst, flags, nonzeroRows) + public static void dft(Mat src, Mat dst, int flags, int nonzeroRows) + { + + dft_0(src.nativeObj, dst.nativeObj, flags, nonzeroRows); + + return; + } + + //javadoc: dft(src, dst) + public static void dft(Mat src, Mat dst) + { + + dft_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void idft(Mat src, Mat& dst, int flags = 0, int nonzeroRows = 0) + // + + //javadoc: idft(src, dst, flags, nonzeroRows) + public static void idft(Mat src, Mat dst, int flags, int nonzeroRows) + { + + idft_0(src.nativeObj, dst.nativeObj, flags, nonzeroRows); + + return; + } + + //javadoc: idft(src, dst) + public static void idft(Mat src, Mat dst) + { + + idft_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void dct(Mat src, Mat& dst, int flags = 0) + // + + //javadoc: dct(src, dst, flags) + public static void dct(Mat src, Mat dst, int flags) + { + + dct_0(src.nativeObj, dst.nativeObj, flags); + + return; + } + + //javadoc: dct(src, dst) + public static void dct(Mat src, Mat dst) + { + + dct_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void idct(Mat src, Mat& dst, int flags = 0) + // + + //javadoc: idct(src, dst, flags) + public static void idct(Mat src, Mat dst, int flags) + { + + idct_0(src.nativeObj, dst.nativeObj, flags); + + return; + } + + //javadoc: idct(src, dst) + public static void idct(Mat src, Mat dst) + { + + idct_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void mulSpectrums(Mat a, Mat b, Mat& c, int flags, bool conjB = false) + // + + //javadoc: mulSpectrums(a, b, c, flags, conjB) + public static void mulSpectrums(Mat a, Mat b, Mat c, int flags, boolean conjB) + { + + mulSpectrums_0(a.nativeObj, b.nativeObj, c.nativeObj, flags, conjB); + + return; + } + + //javadoc: mulSpectrums(a, b, c, flags) + public static void mulSpectrums(Mat a, Mat b, Mat c, int flags) + { + + mulSpectrums_1(a.nativeObj, b.nativeObj, c.nativeObj, flags); + + return; + } + + + // + // C++: int getOptimalDFTSize(int vecsize) + // + + //javadoc: getOptimalDFTSize(vecsize) + public static int getOptimalDFTSize(int vecsize) + { + + int retVal = getOptimalDFTSize_0(vecsize); + + return retVal; + } + + + // + // C++: void randu(Mat& dst, double low, double high) + // + + //javadoc: randu(dst, low, high) + public static void randu(Mat dst, double low, double high) + { + + randu_0(dst.nativeObj, low, high); + + return; + } + + + // + // C++: void randn(Mat& dst, double mean, double stddev) + // + + //javadoc: randn(dst, mean, stddev) + public static void randn(Mat dst, double mean, double stddev) + { + + randn_0(dst.nativeObj, mean, stddev); + + return; + } + + + // + // C++: void randShuffle(Mat& dst, double iterFactor = 1., RNG* rng = 0) + // + + //javadoc: randShuffle(dst, iterFactor) + public static void randShuffle(Mat dst, double iterFactor) + { + + randShuffle_0(dst.nativeObj, iterFactor); + + return; + } + + //javadoc: randShuffle(dst) + public static void randShuffle(Mat dst) + { + + randShuffle_1(dst.nativeObj); + + return; + } + + + // + // C++: double kmeans(Mat data, int K, Mat& bestLabels, TermCriteria criteria, int attempts, int flags, Mat& centers = Mat()) + // + + //javadoc: kmeans(data, K, bestLabels, criteria, attempts, flags, centers) + public static double kmeans(Mat data, int K, Mat bestLabels, TermCriteria criteria, int attempts, int flags, Mat centers) + { + + double retVal = kmeans_0(data.nativeObj, K, bestLabels.nativeObj, criteria.type, criteria.maxCount, criteria.epsilon, attempts, flags, centers.nativeObj); + + return retVal; + } + + //javadoc: kmeans(data, K, bestLabels, criteria, attempts, flags) + public static double kmeans(Mat data, int K, Mat bestLabels, TermCriteria criteria, int attempts, int flags) + { + + double retVal = kmeans_1(data.nativeObj, K, bestLabels.nativeObj, criteria.type, criteria.maxCount, criteria.epsilon, attempts, flags); + + return retVal; + } + + + // + // C++: void setErrorVerbosity(bool verbose) + // + + //javadoc: setErrorVerbosity(verbose) + public static void setErrorVerbosity(boolean verbose) + { + + setErrorVerbosity_0(verbose); + + return; + } + + + // + // C++: void max(Mat src1, Scalar src2, Mat& dst) + // + + //javadoc: max(src1, src2, dst) + public static void max(Mat src1, Scalar src2, Mat dst) + { + + max_0(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj); + + return; + } + + + // + // C++: void absdiff(Mat src1, Scalar src2, Mat& dst) + // + + //javadoc: absdiff(src1, src2, dst) + public static void absdiff(Mat src1, Scalar src2, Mat dst) + { + + absdiff_0(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj); + + return; + } + + + // + // C++: void subtract(Mat src1, Scalar src2, Mat& dst, Mat mask = Mat(), int dtype = -1) + // + + //javadoc: subtract(src1, src2, dst, mask, dtype) + public static void subtract(Mat src1, Scalar src2, Mat dst, Mat mask, int dtype) + { + + subtract_3(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj, mask.nativeObj, dtype); + + return; + } + + //javadoc: subtract(src1, src2, dst, mask) + public static void subtract(Mat src1, Scalar src2, Mat dst, Mat mask) + { + + subtract_4(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: subtract(src1, src2, dst) + public static void subtract(Mat src1, Scalar src2, Mat dst) + { + + subtract_5(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj); + + return; + } + + + // + // C++: void multiply(Mat src1, Scalar src2, Mat& dst, double scale = 1, int dtype = -1) + // + + //javadoc: multiply(src1, src2, dst, scale, dtype) + public static void multiply(Mat src1, Scalar src2, Mat dst, double scale, int dtype) + { + + multiply_0(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj, scale, dtype); + + return; + } + + //javadoc: multiply(src1, src2, dst, scale) + public static void multiply(Mat src1, Scalar src2, Mat dst, double scale) + { + + multiply_1(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj, scale); + + return; + } + + //javadoc: multiply(src1, src2, dst) + public static void multiply(Mat src1, Scalar src2, Mat dst) + { + + multiply_2(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj); + + return; + } + + + // + // C++: void divide(Mat src1, Scalar src2, Mat& dst, double scale = 1, int dtype = -1) + // + + //javadoc: divide(src1, src2, dst, scale, dtype) + public static void divide(Mat src1, Scalar src2, Mat dst, double scale, int dtype) + { + + divide_0(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj, scale, dtype); + + return; + } + + //javadoc: divide(src1, src2, dst, scale) + public static void divide(Mat src1, Scalar src2, Mat dst, double scale) + { + + divide_1(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj, scale); + + return; + } + + //javadoc: divide(src1, src2, dst) + public static void divide(Mat src1, Scalar src2, Mat dst) + { + + divide_2(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj); + + return; + } + + + // + // C++: void compare(Mat src1, Scalar src2, Mat& dst, int cmpop) + // + + //javadoc: compare(src1, src2, dst, cmpop) + public static void compare(Mat src1, Scalar src2, Mat dst, int cmpop) + { + + compare_0(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj, cmpop); + + return; + } + + + // + // C++: void min(Mat src1, Scalar src2, Mat& dst) + // + + //javadoc: min(src1, src2, dst) + public static void min(Mat src1, Scalar src2, Mat dst) + { + + min_0(src1.nativeObj, src2.val[0], src2.val[1], src2.val[2], src2.val[3], dst.nativeObj); + + return; + } + + + // + // C++: int64 getTickCount() + // + + //javadoc: getTickCount() + public static long getTickCount() + { + + long retVal = getTickCount_0(); + + return retVal; + } + + + // + // C++: double getTickFrequency() + // + + //javadoc: getTickFrequency() + public static double getTickFrequency() + { + + double retVal = getTickFrequency_0(); + + return retVal; + } + + + // + // C++: String getBuildInformation() + // + + //javadoc: getBuildInformation() + public static String getBuildInformation() + { + + String retVal = getBuildInformation_0(); + + return retVal; + } + + + // + // C++: void exp(Mat src, Mat& dst) + // + + //javadoc: exp(src, dst) + public static void exp(Mat src, Mat dst) + { + + exp_0(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void log(Mat src, Mat& dst) + // + + //javadoc: log(src, dst) + public static void log(Mat src, Mat dst) + { + + log_0(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void polarToCart(Mat magnitude, Mat angle, Mat& x, Mat& y, bool angleInDegrees = false) + // + + //javadoc: polarToCart(magnitude, angle, x, y, angleInDegrees) + public static void polarToCart(Mat magnitude, Mat angle, Mat x, Mat y, boolean angleInDegrees) + { + + polarToCart_0(magnitude.nativeObj, angle.nativeObj, x.nativeObj, y.nativeObj, angleInDegrees); + + return; + } + + //javadoc: polarToCart(magnitude, angle, x, y) + public static void polarToCart(Mat magnitude, Mat angle, Mat x, Mat y) + { + + polarToCart_1(magnitude.nativeObj, angle.nativeObj, x.nativeObj, y.nativeObj); + + return; + } + + + // + // C++: void cartToPolar(Mat x, Mat y, Mat& magnitude, Mat& angle, bool angleInDegrees = false) + // + + //javadoc: cartToPolar(x, y, magnitude, angle, angleInDegrees) + public static void cartToPolar(Mat x, Mat y, Mat magnitude, Mat angle, boolean angleInDegrees) + { + + cartToPolar_0(x.nativeObj, y.nativeObj, magnitude.nativeObj, angle.nativeObj, angleInDegrees); + + return; + } + + //javadoc: cartToPolar(x, y, magnitude, angle) + public static void cartToPolar(Mat x, Mat y, Mat magnitude, Mat angle) + { + + cartToPolar_1(x.nativeObj, y.nativeObj, magnitude.nativeObj, angle.nativeObj); + + return; + } + + + // + // C++: void phase(Mat x, Mat y, Mat& angle, bool angleInDegrees = false) + // + + //javadoc: phase(x, y, angle, angleInDegrees) + public static void phase(Mat x, Mat y, Mat angle, boolean angleInDegrees) + { + + phase_0(x.nativeObj, y.nativeObj, angle.nativeObj, angleInDegrees); + + return; + } + + //javadoc: phase(x, y, angle) + public static void phase(Mat x, Mat y, Mat angle) + { + + phase_1(x.nativeObj, y.nativeObj, angle.nativeObj); + + return; + } + + + // + // C++: void magnitude(Mat x, Mat y, Mat& magnitude) + // + + //javadoc: magnitude(x, y, magnitude) + public static void magnitude(Mat x, Mat y, Mat magnitude) + { + + magnitude_0(x.nativeObj, y.nativeObj, magnitude.nativeObj); + + return; + } + + + // + // C++: bool checkRange(Mat a, bool quiet = true, _hidden_ * pos = 0, double minVal = -DBL_MAX, double maxVal = DBL_MAX) + // + + //javadoc: checkRange(a, quiet, minVal, maxVal) + public static boolean checkRange(Mat a, boolean quiet, double minVal, double maxVal) + { + + boolean retVal = checkRange_0(a.nativeObj, quiet, minVal, maxVal); + + return retVal; + } + + //javadoc: checkRange(a) + public static boolean checkRange(Mat a) + { + + boolean retVal = checkRange_1(a.nativeObj); + + return retVal; + } + + + // + // C++: void patchNaNs(Mat& a, double val = 0) + // + + //javadoc: patchNaNs(a, val) + public static void patchNaNs(Mat a, double val) + { + + patchNaNs_0(a.nativeObj, val); + + return; + } + + //javadoc: patchNaNs(a) + public static void patchNaNs(Mat a) + { + + patchNaNs_1(a.nativeObj); + + return; + } + + + // + // C++: void gemm(Mat src1, Mat src2, double alpha, Mat src3, double beta, Mat& dst, int flags = 0) + // + + //javadoc: gemm(src1, src2, alpha, src3, beta, dst, flags) + public static void gemm(Mat src1, Mat src2, double alpha, Mat src3, double beta, Mat dst, int flags) + { + + gemm_0(src1.nativeObj, src2.nativeObj, alpha, src3.nativeObj, beta, dst.nativeObj, flags); + + return; + } + + //javadoc: gemm(src1, src2, alpha, src3, beta, dst) + public static void gemm(Mat src1, Mat src2, double alpha, Mat src3, double beta, Mat dst) + { + + gemm_1(src1.nativeObj, src2.nativeObj, alpha, src3.nativeObj, beta, dst.nativeObj); + + return; + } + + + // + // C++: int64 getCPUTickCount() + // + + //javadoc: getCPUTickCount() + public static long getCPUTickCount() + { + + long retVal = getCPUTickCount_0(); + + return retVal; + } + + + // + // C++: float cubeRoot(float val) + // + + //javadoc: cubeRoot(val) + public static float cubeRoot(float val) + { + + float retVal = cubeRoot_0(val); + + return retVal; + } + + + // + // C++: float fastAtan2(float y, float x) + // + + //javadoc: fastAtan2(y, x) + public static float fastAtan2(float y, float x) + { + + float retVal = fastAtan2_0(y, x); + + return retVal; + } + + + // + // C++: void hconcat(vector_Mat src, Mat& dst) + // + + //javadoc: hconcat(src, dst) + public static void hconcat(List src, Mat dst) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + hconcat_0(src_mat.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void vconcat(vector_Mat src, Mat& dst) + // + + //javadoc: vconcat(src, dst) + public static void vconcat(List src, Mat dst) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + vconcat_0(src_mat.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void bitwise_and(Mat src1, Mat src2, Mat& dst, Mat mask = Mat()) + // + + //javadoc: bitwise_and(src1, src2, dst, mask) + public static void bitwise_and(Mat src1, Mat src2, Mat dst, Mat mask) + { + + bitwise_and_0(src1.nativeObj, src2.nativeObj, dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: bitwise_and(src1, src2, dst) + public static void bitwise_and(Mat src1, Mat src2, Mat dst) + { + + bitwise_and_1(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void bitwise_or(Mat src1, Mat src2, Mat& dst, Mat mask = Mat()) + // + + //javadoc: bitwise_or(src1, src2, dst, mask) + public static void bitwise_or(Mat src1, Mat src2, Mat dst, Mat mask) + { + + bitwise_or_0(src1.nativeObj, src2.nativeObj, dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: bitwise_or(src1, src2, dst) + public static void bitwise_or(Mat src1, Mat src2, Mat dst) + { + + bitwise_or_1(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void bitwise_xor(Mat src1, Mat src2, Mat& dst, Mat mask = Mat()) + // + + //javadoc: bitwise_xor(src1, src2, dst, mask) + public static void bitwise_xor(Mat src1, Mat src2, Mat dst, Mat mask) + { + + bitwise_xor_0(src1.nativeObj, src2.nativeObj, dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: bitwise_xor(src1, src2, dst) + public static void bitwise_xor(Mat src1, Mat src2, Mat dst) + { + + bitwise_xor_1(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void bitwise_not(Mat src, Mat& dst, Mat mask = Mat()) + // + + //javadoc: bitwise_not(src, dst, mask) + public static void bitwise_not(Mat src, Mat dst, Mat mask) + { + + bitwise_not_0(src.nativeObj, dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: bitwise_not(src, dst) + public static void bitwise_not(Mat src, Mat dst) + { + + bitwise_not_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void absdiff(Mat src1, Mat src2, Mat& dst) + // + + //javadoc: absdiff(src1, src2, dst) + public static void absdiff(Mat src1, Mat src2, Mat dst) + { + + absdiff_1(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void inRange(Mat src, Scalar lowerb, Scalar upperb, Mat& dst) + // + + //javadoc: inRange(src, lowerb, upperb, dst) + public static void inRange(Mat src, Scalar lowerb, Scalar upperb, Mat dst) + { + + inRange_0(src.nativeObj, lowerb.val[0], lowerb.val[1], lowerb.val[2], lowerb.val[3], upperb.val[0], upperb.val[1], upperb.val[2], upperb.val[3], dst.nativeObj); + + return; + } + + + // + // C++: void compare(Mat src1, Mat src2, Mat& dst, int cmpop) + // + + //javadoc: compare(src1, src2, dst, cmpop) + public static void compare(Mat src1, Mat src2, Mat dst, int cmpop) + { + + compare_1(src1.nativeObj, src2.nativeObj, dst.nativeObj, cmpop); + + return; + } + + + // + // C++: void min(Mat src1, Mat src2, Mat& dst) + // + + //javadoc: min(src1, src2, dst) + public static void min(Mat src1, Mat src2, Mat dst) + { + + min_1(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void max(Mat src1, Mat src2, Mat& dst) + // + + //javadoc: max(src1, src2, dst) + public static void max(Mat src1, Mat src2, Mat dst) + { + + max_1(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void sqrt(Mat src, Mat& dst) + // + + //javadoc: sqrt(src, dst) + public static void sqrt(Mat src, Mat dst) + { + + sqrt_0(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void pow(Mat src, double power, Mat& dst) + // + + //javadoc: pow(src, power, dst) + public static void pow(Mat src, double power, Mat dst) + { + + pow_0(src.nativeObj, power, dst.nativeObj); + + return; + } + + + // + // C++: int borderInterpolate(int p, int len, int borderType) + // + + //javadoc: borderInterpolate(p, len, borderType) + public static int borderInterpolate(int p, int len, int borderType) + { + + int retVal = borderInterpolate_0(p, len, borderType); + + return retVal; + } + + + // + // C++: void copyMakeBorder(Mat src, Mat& dst, int top, int bottom, int left, int right, int borderType, Scalar value = Scalar()) + // + + //javadoc: copyMakeBorder(src, dst, top, bottom, left, right, borderType, value) + public static void copyMakeBorder(Mat src, Mat dst, int top, int bottom, int left, int right, int borderType, Scalar value) + { + + copyMakeBorder_0(src.nativeObj, dst.nativeObj, top, bottom, left, right, borderType, value.val[0], value.val[1], value.val[2], value.val[3]); + + return; + } + + //javadoc: copyMakeBorder(src, dst, top, bottom, left, right, borderType) + public static void copyMakeBorder(Mat src, Mat dst, int top, int bottom, int left, int right, int borderType) + { + + copyMakeBorder_1(src.nativeObj, dst.nativeObj, top, bottom, left, right, borderType); + + return; + } + + + // + // C++: void add(Mat src1, Mat src2, Mat& dst, Mat mask = Mat(), int dtype = -1) + // + + //javadoc: add(src1, src2, dst, mask, dtype) + public static void add(Mat src1, Mat src2, Mat dst, Mat mask, int dtype) + { + + add_3(src1.nativeObj, src2.nativeObj, dst.nativeObj, mask.nativeObj, dtype); + + return; + } + + //javadoc: add(src1, src2, dst, mask) + public static void add(Mat src1, Mat src2, Mat dst, Mat mask) + { + + add_4(src1.nativeObj, src2.nativeObj, dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: add(src1, src2, dst) + public static void add(Mat src1, Mat src2, Mat dst) + { + + add_5(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void multiply(Mat src1, Mat src2, Mat& dst, double scale = 1, int dtype = -1) + // + + //javadoc: multiply(src1, src2, dst, scale, dtype) + public static void multiply(Mat src1, Mat src2, Mat dst, double scale, int dtype) + { + + multiply_3(src1.nativeObj, src2.nativeObj, dst.nativeObj, scale, dtype); + + return; + } + + //javadoc: multiply(src1, src2, dst, scale) + public static void multiply(Mat src1, Mat src2, Mat dst, double scale) + { + + multiply_4(src1.nativeObj, src2.nativeObj, dst.nativeObj, scale); + + return; + } + + //javadoc: multiply(src1, src2, dst) + public static void multiply(Mat src1, Mat src2, Mat dst) + { + + multiply_5(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void divide(Mat src1, Mat src2, Mat& dst, double scale = 1, int dtype = -1) + // + + //javadoc: divide(src1, src2, dst, scale, dtype) + public static void divide(Mat src1, Mat src2, Mat dst, double scale, int dtype) + { + + divide_3(src1.nativeObj, src2.nativeObj, dst.nativeObj, scale, dtype); + + return; + } + + //javadoc: divide(src1, src2, dst, scale) + public static void divide(Mat src1, Mat src2, Mat dst, double scale) + { + + divide_4(src1.nativeObj, src2.nativeObj, dst.nativeObj, scale); + + return; + } + + //javadoc: divide(src1, src2, dst) + public static void divide(Mat src1, Mat src2, Mat dst) + { + + divide_5(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void divide(double scale, Mat src2, Mat& dst, int dtype = -1) + // + + //javadoc: divide(scale, src2, dst, dtype) + public static void divide(double scale, Mat src2, Mat dst, int dtype) + { + + divide_6(scale, src2.nativeObj, dst.nativeObj, dtype); + + return; + } + + //javadoc: divide(scale, src2, dst) + public static void divide(double scale, Mat src2, Mat dst) + { + + divide_7(scale, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void scaleAdd(Mat src1, double alpha, Mat src2, Mat& dst) + // + + //javadoc: scaleAdd(src1, alpha, src2, dst) + public static void scaleAdd(Mat src1, double alpha, Mat src2, Mat dst) + { + + scaleAdd_0(src1.nativeObj, alpha, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void addWeighted(Mat src1, double alpha, Mat src2, double beta, double gamma, Mat& dst, int dtype = -1) + // + + //javadoc: addWeighted(src1, alpha, src2, beta, gamma, dst, dtype) + public static void addWeighted(Mat src1, double alpha, Mat src2, double beta, double gamma, Mat dst, int dtype) + { + + addWeighted_0(src1.nativeObj, alpha, src2.nativeObj, beta, gamma, dst.nativeObj, dtype); + + return; + } + + //javadoc: addWeighted(src1, alpha, src2, beta, gamma, dst) + public static void addWeighted(Mat src1, double alpha, Mat src2, double beta, double gamma, Mat dst) + { + + addWeighted_1(src1.nativeObj, alpha, src2.nativeObj, beta, gamma, dst.nativeObj); + + return; + } + + + // + // C++: void convertScaleAbs(Mat src, Mat& dst, double alpha = 1, double beta = 0) + // + + //javadoc: convertScaleAbs(src, dst, alpha, beta) + public static void convertScaleAbs(Mat src, Mat dst, double alpha, double beta) + { + + convertScaleAbs_0(src.nativeObj, dst.nativeObj, alpha, beta); + + return; + } + + //javadoc: convertScaleAbs(src, dst) + public static void convertScaleAbs(Mat src, Mat dst) + { + + convertScaleAbs_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void LUT(Mat src, Mat lut, Mat& dst) + // + + //javadoc: LUT(src, lut, dst) + public static void LUT(Mat src, Mat lut, Mat dst) + { + + LUT_0(src.nativeObj, lut.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: Scalar sum(Mat src) + // + + //javadoc: sum(src) + public static Scalar sumElems(Mat src) + { + + Scalar retVal = new Scalar(sumElems_0(src.nativeObj)); + + return retVal; + } + + + // + // C++: int countNonZero(Mat src) + // + + //javadoc: countNonZero(src) + public static int countNonZero(Mat src) + { + + int retVal = countNonZero_0(src.nativeObj); + + return retVal; + } + + + // + // C++: void findNonZero(Mat src, Mat& idx) + // + + //javadoc: findNonZero(src, idx) + public static void findNonZero(Mat src, Mat idx) + { + + findNonZero_0(src.nativeObj, idx.nativeObj); + + return; + } + + + // + // C++: void meanStdDev(Mat src, vector_double& mean, vector_double& stddev, Mat mask = Mat()) + // + + //javadoc: meanStdDev(src, mean, stddev, mask) + public static void meanStdDev(Mat src, MatOfDouble mean, MatOfDouble stddev, Mat mask) + { + Mat mean_mat = mean; + Mat stddev_mat = stddev; + meanStdDev_0(src.nativeObj, mean_mat.nativeObj, stddev_mat.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: meanStdDev(src, mean, stddev) + public static void meanStdDev(Mat src, MatOfDouble mean, MatOfDouble stddev) + { + Mat mean_mat = mean; + Mat stddev_mat = stddev; + meanStdDev_1(src.nativeObj, mean_mat.nativeObj, stddev_mat.nativeObj); + + return; + } + + + // + // C++: Scalar mean(Mat src, Mat mask = Mat()) + // + + //javadoc: mean(src, mask) + public static Scalar mean(Mat src, Mat mask) + { + + Scalar retVal = new Scalar(mean_0(src.nativeObj, mask.nativeObj)); + + return retVal; + } + + //javadoc: mean(src) + public static Scalar mean(Mat src) + { + + Scalar retVal = new Scalar(mean_1(src.nativeObj)); + + return retVal; + } + + + // + // C++: double norm(Mat src1, int normType = NORM_L2, Mat mask = Mat()) + // + + //javadoc: norm(src1, normType, mask) + public static double norm(Mat src1, int normType, Mat mask) + { + + double retVal = norm_0(src1.nativeObj, normType, mask.nativeObj); + + return retVal; + } + + //javadoc: norm(src1, normType) + public static double norm(Mat src1, int normType) + { + + double retVal = norm_1(src1.nativeObj, normType); + + return retVal; + } + + //javadoc: norm(src1) + public static double norm(Mat src1) + { + + double retVal = norm_2(src1.nativeObj); + + return retVal; + } + + + // + // C++: double norm(Mat src1, Mat src2, int normType = NORM_L2, Mat mask = Mat()) + // + + //javadoc: norm(src1, src2, normType, mask) + public static double norm(Mat src1, Mat src2, int normType, Mat mask) + { + + double retVal = norm_3(src1.nativeObj, src2.nativeObj, normType, mask.nativeObj); + + return retVal; + } + + //javadoc: norm(src1, src2, normType) + public static double norm(Mat src1, Mat src2, int normType) + { + + double retVal = norm_4(src1.nativeObj, src2.nativeObj, normType); + + return retVal; + } + + //javadoc: norm(src1, src2) + public static double norm(Mat src1, Mat src2) + { + + double retVal = norm_5(src1.nativeObj, src2.nativeObj); + + return retVal; + } + + + // + // C++: double PSNR(Mat src1, Mat src2) + // + + //javadoc: PSNR(src1, src2) + public static double PSNR(Mat src1, Mat src2) + { + + double retVal = PSNR_0(src1.nativeObj, src2.nativeObj); + + return retVal; + } + + + // + // C++: void batchDistance(Mat src1, Mat src2, Mat& dist, int dtype, Mat& nidx, int normType = NORM_L2, int K = 0, Mat mask = Mat(), int update = 0, bool crosscheck = false) + // + + //javadoc: batchDistance(src1, src2, dist, dtype, nidx, normType, K, mask, update, crosscheck) + public static void batchDistance(Mat src1, Mat src2, Mat dist, int dtype, Mat nidx, int normType, int K, Mat mask, int update, boolean crosscheck) + { + + batchDistance_0(src1.nativeObj, src2.nativeObj, dist.nativeObj, dtype, nidx.nativeObj, normType, K, mask.nativeObj, update, crosscheck); + + return; + } + + //javadoc: batchDistance(src1, src2, dist, dtype, nidx, normType, K) + public static void batchDistance(Mat src1, Mat src2, Mat dist, int dtype, Mat nidx, int normType, int K) + { + + batchDistance_1(src1.nativeObj, src2.nativeObj, dist.nativeObj, dtype, nidx.nativeObj, normType, K); + + return; + } + + //javadoc: batchDistance(src1, src2, dist, dtype, nidx) + public static void batchDistance(Mat src1, Mat src2, Mat dist, int dtype, Mat nidx) + { + + batchDistance_2(src1.nativeObj, src2.nativeObj, dist.nativeObj, dtype, nidx.nativeObj); + + return; + } + + + // + // C++: void normalize(Mat src, Mat& dst, double alpha = 1, double beta = 0, int norm_type = NORM_L2, int dtype = -1, Mat mask = Mat()) + // + + //javadoc: normalize(src, dst, alpha, beta, norm_type, dtype, mask) + public static void normalize(Mat src, Mat dst, double alpha, double beta, int norm_type, int dtype, Mat mask) + { + + normalize_0(src.nativeObj, dst.nativeObj, alpha, beta, norm_type, dtype, mask.nativeObj); + + return; + } + + //javadoc: normalize(src, dst, alpha, beta, norm_type, dtype) + public static void normalize(Mat src, Mat dst, double alpha, double beta, int norm_type, int dtype) + { + + normalize_1(src.nativeObj, dst.nativeObj, alpha, beta, norm_type, dtype); + + return; + } + + //javadoc: normalize(src, dst, alpha, beta, norm_type) + public static void normalize(Mat src, Mat dst, double alpha, double beta, int norm_type) + { + + normalize_2(src.nativeObj, dst.nativeObj, alpha, beta, norm_type); + + return; + } + + //javadoc: normalize(src, dst) + public static void normalize(Mat src, Mat dst) + { + + normalize_3(src.nativeObj, dst.nativeObj); + + return; + } + + + // manual port + public static class MinMaxLocResult { + public double minVal; + public double maxVal; + public Point minLoc; + public Point maxLoc; + + public MinMaxLocResult() { + minVal=0; maxVal=0; + minLoc=new Point(); + maxLoc=new Point(); + } + } + + // C++: minMaxLoc(Mat src, double* minVal, double* maxVal=0, Point* minLoc=0, Point* maxLoc=0, InputArray mask=noArray()) + + //javadoc: minMaxLoc(src, mask) + public static MinMaxLocResult minMaxLoc(Mat src, Mat mask) { + MinMaxLocResult res = new MinMaxLocResult(); + long maskNativeObj=0; + if (mask != null) { + maskNativeObj=mask.nativeObj; + } + double resarr[] = n_minMaxLocManual(src.nativeObj, maskNativeObj); + res.minVal=resarr[0]; + res.maxVal=resarr[1]; + res.minLoc.x=resarr[2]; + res.minLoc.y=resarr[3]; + res.maxLoc.x=resarr[4]; + res.maxLoc.y=resarr[5]; + return res; + } + + //javadoc: minMaxLoc(src) + public static MinMaxLocResult minMaxLoc(Mat src) { + return minMaxLoc(src, null); + } + + + + + // C++: void subtract(Mat src1, Mat src2, Mat& dst, Mat mask = Mat(), int dtype = -1) + private static native void subtract_0(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, long mask_nativeObj, int dtype); + private static native void subtract_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, long mask_nativeObj); + private static native void subtract_2(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void reduce(Mat src, Mat& dst, int dim, int rtype, int dtype = -1) + private static native void reduce_0(long src_nativeObj, long dst_nativeObj, int dim, int rtype, int dtype); + private static native void reduce_1(long src_nativeObj, long dst_nativeObj, int dim, int rtype); + + // C++: void merge(vector_Mat mv, Mat& dst) + private static native void merge_0(long mv_mat_nativeObj, long dst_nativeObj); + + // C++: void split(Mat m, vector_Mat& mv) + private static native void split_0(long m_nativeObj, long mv_mat_nativeObj); + + // C++: void mixChannels(vector_Mat src, vector_Mat dst, vector_int fromTo) + private static native void mixChannels_0(long src_mat_nativeObj, long dst_mat_nativeObj, long fromTo_mat_nativeObj); + + // C++: void extractChannel(Mat src, Mat& dst, int coi) + private static native void extractChannel_0(long src_nativeObj, long dst_nativeObj, int coi); + + // C++: void insertChannel(Mat src, Mat& dst, int coi) + private static native void insertChannel_0(long src_nativeObj, long dst_nativeObj, int coi); + + // C++: void flip(Mat src, Mat& dst, int flipCode) + private static native void flip_0(long src_nativeObj, long dst_nativeObj, int flipCode); + + // C++: void repeat(Mat src, int ny, int nx, Mat& dst) + private static native void repeat_0(long src_nativeObj, int ny, int nx, long dst_nativeObj); + + // C++: void add(Mat src1, Scalar src2, Mat& dst, Mat mask = Mat(), int dtype = -1) + private static native void add_0(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj, long mask_nativeObj, int dtype); + private static native void add_1(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj, long mask_nativeObj); + private static native void add_2(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj); + + // C++: int getNumberOfCPUs() + private static native int getNumberOfCPUs_0(); + + // C++: void mulTransposed(Mat src, Mat& dst, bool aTa, Mat delta = Mat(), double scale = 1, int dtype = -1) + private static native void mulTransposed_0(long src_nativeObj, long dst_nativeObj, boolean aTa, long delta_nativeObj, double scale, int dtype); + private static native void mulTransposed_1(long src_nativeObj, long dst_nativeObj, boolean aTa, long delta_nativeObj, double scale); + private static native void mulTransposed_2(long src_nativeObj, long dst_nativeObj, boolean aTa); + + // C++: void transpose(Mat src, Mat& dst) + private static native void transpose_0(long src_nativeObj, long dst_nativeObj); + + // C++: void transform(Mat src, Mat& dst, Mat m) + private static native void transform_0(long src_nativeObj, long dst_nativeObj, long m_nativeObj); + + // C++: void perspectiveTransform(Mat src, Mat& dst, Mat m) + private static native void perspectiveTransform_0(long src_nativeObj, long dst_nativeObj, long m_nativeObj); + + // C++: void completeSymm(Mat& mtx, bool lowerToUpper = false) + private static native void completeSymm_0(long mtx_nativeObj, boolean lowerToUpper); + private static native void completeSymm_1(long mtx_nativeObj); + + // C++: void setIdentity(Mat& mtx, Scalar s = Scalar(1)) + private static native void setIdentity_0(long mtx_nativeObj, double s_val0, double s_val1, double s_val2, double s_val3); + private static native void setIdentity_1(long mtx_nativeObj); + + // C++: double determinant(Mat mtx) + private static native double determinant_0(long mtx_nativeObj); + + // C++: Scalar trace(Mat mtx) + private static native double[] trace_0(long mtx_nativeObj); + + // C++: double invert(Mat src, Mat& dst, int flags = DECOMP_LU) + private static native double invert_0(long src_nativeObj, long dst_nativeObj, int flags); + private static native double invert_1(long src_nativeObj, long dst_nativeObj); + + // C++: bool solve(Mat src1, Mat src2, Mat& dst, int flags = DECOMP_LU) + private static native boolean solve_0(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, int flags); + private static native boolean solve_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void sort(Mat src, Mat& dst, int flags) + private static native void sort_0(long src_nativeObj, long dst_nativeObj, int flags); + + // C++: void sortIdx(Mat src, Mat& dst, int flags) + private static native void sortIdx_0(long src_nativeObj, long dst_nativeObj, int flags); + + // C++: int solveCubic(Mat coeffs, Mat& roots) + private static native int solveCubic_0(long coeffs_nativeObj, long roots_nativeObj); + + // C++: double solvePoly(Mat coeffs, Mat& roots, int maxIters = 300) + private static native double solvePoly_0(long coeffs_nativeObj, long roots_nativeObj, int maxIters); + private static native double solvePoly_1(long coeffs_nativeObj, long roots_nativeObj); + + // C++: bool eigen(Mat src, Mat& eigenvalues, Mat& eigenvectors = Mat()) + private static native boolean eigen_0(long src_nativeObj, long eigenvalues_nativeObj, long eigenvectors_nativeObj); + private static native boolean eigen_1(long src_nativeObj, long eigenvalues_nativeObj); + + // C++: void calcCovarMatrix(Mat samples, Mat& covar, Mat& mean, int flags, int ctype = CV_64F) + private static native void calcCovarMatrix_0(long samples_nativeObj, long covar_nativeObj, long mean_nativeObj, int flags, int ctype); + private static native void calcCovarMatrix_1(long samples_nativeObj, long covar_nativeObj, long mean_nativeObj, int flags); + + // C++: void PCACompute(Mat data, Mat& mean, Mat& eigenvectors, int maxComponents = 0) + private static native void PCACompute_0(long data_nativeObj, long mean_nativeObj, long eigenvectors_nativeObj, int maxComponents); + private static native void PCACompute_1(long data_nativeObj, long mean_nativeObj, long eigenvectors_nativeObj); + + // C++: void PCACompute(Mat data, Mat& mean, Mat& eigenvectors, double retainedVariance) + private static native void PCACompute_2(long data_nativeObj, long mean_nativeObj, long eigenvectors_nativeObj, double retainedVariance); + + // C++: void PCAProject(Mat data, Mat mean, Mat eigenvectors, Mat& result) + private static native void PCAProject_0(long data_nativeObj, long mean_nativeObj, long eigenvectors_nativeObj, long result_nativeObj); + + // C++: void PCABackProject(Mat data, Mat mean, Mat eigenvectors, Mat& result) + private static native void PCABackProject_0(long data_nativeObj, long mean_nativeObj, long eigenvectors_nativeObj, long result_nativeObj); + + // C++: void SVDecomp(Mat src, Mat& w, Mat& u, Mat& vt, int flags = 0) + private static native void SVDecomp_0(long src_nativeObj, long w_nativeObj, long u_nativeObj, long vt_nativeObj, int flags); + private static native void SVDecomp_1(long src_nativeObj, long w_nativeObj, long u_nativeObj, long vt_nativeObj); + + // C++: void SVBackSubst(Mat w, Mat u, Mat vt, Mat rhs, Mat& dst) + private static native void SVBackSubst_0(long w_nativeObj, long u_nativeObj, long vt_nativeObj, long rhs_nativeObj, long dst_nativeObj); + + // C++: double Mahalanobis(Mat v1, Mat v2, Mat icovar) + private static native double Mahalanobis_0(long v1_nativeObj, long v2_nativeObj, long icovar_nativeObj); + + // C++: void dft(Mat src, Mat& dst, int flags = 0, int nonzeroRows = 0) + private static native void dft_0(long src_nativeObj, long dst_nativeObj, int flags, int nonzeroRows); + private static native void dft_1(long src_nativeObj, long dst_nativeObj); + + // C++: void idft(Mat src, Mat& dst, int flags = 0, int nonzeroRows = 0) + private static native void idft_0(long src_nativeObj, long dst_nativeObj, int flags, int nonzeroRows); + private static native void idft_1(long src_nativeObj, long dst_nativeObj); + + // C++: void dct(Mat src, Mat& dst, int flags = 0) + private static native void dct_0(long src_nativeObj, long dst_nativeObj, int flags); + private static native void dct_1(long src_nativeObj, long dst_nativeObj); + + // C++: void idct(Mat src, Mat& dst, int flags = 0) + private static native void idct_0(long src_nativeObj, long dst_nativeObj, int flags); + private static native void idct_1(long src_nativeObj, long dst_nativeObj); + + // C++: void mulSpectrums(Mat a, Mat b, Mat& c, int flags, bool conjB = false) + private static native void mulSpectrums_0(long a_nativeObj, long b_nativeObj, long c_nativeObj, int flags, boolean conjB); + private static native void mulSpectrums_1(long a_nativeObj, long b_nativeObj, long c_nativeObj, int flags); + + // C++: int getOptimalDFTSize(int vecsize) + private static native int getOptimalDFTSize_0(int vecsize); + + // C++: void randu(Mat& dst, double low, double high) + private static native void randu_0(long dst_nativeObj, double low, double high); + + // C++: void randn(Mat& dst, double mean, double stddev) + private static native void randn_0(long dst_nativeObj, double mean, double stddev); + + // C++: void randShuffle(Mat& dst, double iterFactor = 1., RNG* rng = 0) + private static native void randShuffle_0(long dst_nativeObj, double iterFactor); + private static native void randShuffle_1(long dst_nativeObj); + + // C++: double kmeans(Mat data, int K, Mat& bestLabels, TermCriteria criteria, int attempts, int flags, Mat& centers = Mat()) + private static native double kmeans_0(long data_nativeObj, int K, long bestLabels_nativeObj, int criteria_type, int criteria_maxCount, double criteria_epsilon, int attempts, int flags, long centers_nativeObj); + private static native double kmeans_1(long data_nativeObj, int K, long bestLabels_nativeObj, int criteria_type, int criteria_maxCount, double criteria_epsilon, int attempts, int flags); + + // C++: void setErrorVerbosity(bool verbose) + private static native void setErrorVerbosity_0(boolean verbose); + + // C++: void max(Mat src1, Scalar src2, Mat& dst) + private static native void max_0(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj); + + // C++: void absdiff(Mat src1, Scalar src2, Mat& dst) + private static native void absdiff_0(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj); + + // C++: void subtract(Mat src1, Scalar src2, Mat& dst, Mat mask = Mat(), int dtype = -1) + private static native void subtract_3(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj, long mask_nativeObj, int dtype); + private static native void subtract_4(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj, long mask_nativeObj); + private static native void subtract_5(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj); + + // C++: void multiply(Mat src1, Scalar src2, Mat& dst, double scale = 1, int dtype = -1) + private static native void multiply_0(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj, double scale, int dtype); + private static native void multiply_1(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj, double scale); + private static native void multiply_2(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj); + + // C++: void divide(Mat src1, Scalar src2, Mat& dst, double scale = 1, int dtype = -1) + private static native void divide_0(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj, double scale, int dtype); + private static native void divide_1(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj, double scale); + private static native void divide_2(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj); + + // C++: void compare(Mat src1, Scalar src2, Mat& dst, int cmpop) + private static native void compare_0(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj, int cmpop); + + // C++: void min(Mat src1, Scalar src2, Mat& dst) + private static native void min_0(long src1_nativeObj, double src2_val0, double src2_val1, double src2_val2, double src2_val3, long dst_nativeObj); + + // C++: int64 getTickCount() + private static native long getTickCount_0(); + + // C++: double getTickFrequency() + private static native double getTickFrequency_0(); + + // C++: String getBuildInformation() + private static native String getBuildInformation_0(); + + // C++: void exp(Mat src, Mat& dst) + private static native void exp_0(long src_nativeObj, long dst_nativeObj); + + // C++: void log(Mat src, Mat& dst) + private static native void log_0(long src_nativeObj, long dst_nativeObj); + + // C++: void polarToCart(Mat magnitude, Mat angle, Mat& x, Mat& y, bool angleInDegrees = false) + private static native void polarToCart_0(long magnitude_nativeObj, long angle_nativeObj, long x_nativeObj, long y_nativeObj, boolean angleInDegrees); + private static native void polarToCart_1(long magnitude_nativeObj, long angle_nativeObj, long x_nativeObj, long y_nativeObj); + + // C++: void cartToPolar(Mat x, Mat y, Mat& magnitude, Mat& angle, bool angleInDegrees = false) + private static native void cartToPolar_0(long x_nativeObj, long y_nativeObj, long magnitude_nativeObj, long angle_nativeObj, boolean angleInDegrees); + private static native void cartToPolar_1(long x_nativeObj, long y_nativeObj, long magnitude_nativeObj, long angle_nativeObj); + + // C++: void phase(Mat x, Mat y, Mat& angle, bool angleInDegrees = false) + private static native void phase_0(long x_nativeObj, long y_nativeObj, long angle_nativeObj, boolean angleInDegrees); + private static native void phase_1(long x_nativeObj, long y_nativeObj, long angle_nativeObj); + + // C++: void magnitude(Mat x, Mat y, Mat& magnitude) + private static native void magnitude_0(long x_nativeObj, long y_nativeObj, long magnitude_nativeObj); + + // C++: bool checkRange(Mat a, bool quiet = true, _hidden_ * pos = 0, double minVal = -DBL_MAX, double maxVal = DBL_MAX) + private static native boolean checkRange_0(long a_nativeObj, boolean quiet, double minVal, double maxVal); + private static native boolean checkRange_1(long a_nativeObj); + + // C++: void patchNaNs(Mat& a, double val = 0) + private static native void patchNaNs_0(long a_nativeObj, double val); + private static native void patchNaNs_1(long a_nativeObj); + + // C++: void gemm(Mat src1, Mat src2, double alpha, Mat src3, double beta, Mat& dst, int flags = 0) + private static native void gemm_0(long src1_nativeObj, long src2_nativeObj, double alpha, long src3_nativeObj, double beta, long dst_nativeObj, int flags); + private static native void gemm_1(long src1_nativeObj, long src2_nativeObj, double alpha, long src3_nativeObj, double beta, long dst_nativeObj); + + // C++: int64 getCPUTickCount() + private static native long getCPUTickCount_0(); + + // C++: float cubeRoot(float val) + private static native float cubeRoot_0(float val); + + // C++: float fastAtan2(float y, float x) + private static native float fastAtan2_0(float y, float x); + + // C++: void hconcat(vector_Mat src, Mat& dst) + private static native void hconcat_0(long src_mat_nativeObj, long dst_nativeObj); + + // C++: void vconcat(vector_Mat src, Mat& dst) + private static native void vconcat_0(long src_mat_nativeObj, long dst_nativeObj); + + // C++: void bitwise_and(Mat src1, Mat src2, Mat& dst, Mat mask = Mat()) + private static native void bitwise_and_0(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, long mask_nativeObj); + private static native void bitwise_and_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void bitwise_or(Mat src1, Mat src2, Mat& dst, Mat mask = Mat()) + private static native void bitwise_or_0(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, long mask_nativeObj); + private static native void bitwise_or_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void bitwise_xor(Mat src1, Mat src2, Mat& dst, Mat mask = Mat()) + private static native void bitwise_xor_0(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, long mask_nativeObj); + private static native void bitwise_xor_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void bitwise_not(Mat src, Mat& dst, Mat mask = Mat()) + private static native void bitwise_not_0(long src_nativeObj, long dst_nativeObj, long mask_nativeObj); + private static native void bitwise_not_1(long src_nativeObj, long dst_nativeObj); + + // C++: void absdiff(Mat src1, Mat src2, Mat& dst) + private static native void absdiff_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void inRange(Mat src, Scalar lowerb, Scalar upperb, Mat& dst) + private static native void inRange_0(long src_nativeObj, double lowerb_val0, double lowerb_val1, double lowerb_val2, double lowerb_val3, double upperb_val0, double upperb_val1, double upperb_val2, double upperb_val3, long dst_nativeObj); + + // C++: void compare(Mat src1, Mat src2, Mat& dst, int cmpop) + private static native void compare_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, int cmpop); + + // C++: void min(Mat src1, Mat src2, Mat& dst) + private static native void min_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void max(Mat src1, Mat src2, Mat& dst) + private static native void max_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void sqrt(Mat src, Mat& dst) + private static native void sqrt_0(long src_nativeObj, long dst_nativeObj); + + // C++: void pow(Mat src, double power, Mat& dst) + private static native void pow_0(long src_nativeObj, double power, long dst_nativeObj); + + // C++: int borderInterpolate(int p, int len, int borderType) + private static native int borderInterpolate_0(int p, int len, int borderType); + + // C++: void copyMakeBorder(Mat src, Mat& dst, int top, int bottom, int left, int right, int borderType, Scalar value = Scalar()) + private static native void copyMakeBorder_0(long src_nativeObj, long dst_nativeObj, int top, int bottom, int left, int right, int borderType, double value_val0, double value_val1, double value_val2, double value_val3); + private static native void copyMakeBorder_1(long src_nativeObj, long dst_nativeObj, int top, int bottom, int left, int right, int borderType); + + // C++: void add(Mat src1, Mat src2, Mat& dst, Mat mask = Mat(), int dtype = -1) + private static native void add_3(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, long mask_nativeObj, int dtype); + private static native void add_4(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, long mask_nativeObj); + private static native void add_5(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void multiply(Mat src1, Mat src2, Mat& dst, double scale = 1, int dtype = -1) + private static native void multiply_3(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, double scale, int dtype); + private static native void multiply_4(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, double scale); + private static native void multiply_5(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void divide(Mat src1, Mat src2, Mat& dst, double scale = 1, int dtype = -1) + private static native void divide_3(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, double scale, int dtype); + private static native void divide_4(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, double scale); + private static native void divide_5(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void divide(double scale, Mat src2, Mat& dst, int dtype = -1) + private static native void divide_6(double scale, long src2_nativeObj, long dst_nativeObj, int dtype); + private static native void divide_7(double scale, long src2_nativeObj, long dst_nativeObj); + + // C++: void scaleAdd(Mat src1, double alpha, Mat src2, Mat& dst) + private static native void scaleAdd_0(long src1_nativeObj, double alpha, long src2_nativeObj, long dst_nativeObj); + + // C++: void addWeighted(Mat src1, double alpha, Mat src2, double beta, double gamma, Mat& dst, int dtype = -1) + private static native void addWeighted_0(long src1_nativeObj, double alpha, long src2_nativeObj, double beta, double gamma, long dst_nativeObj, int dtype); + private static native void addWeighted_1(long src1_nativeObj, double alpha, long src2_nativeObj, double beta, double gamma, long dst_nativeObj); + + // C++: void convertScaleAbs(Mat src, Mat& dst, double alpha = 1, double beta = 0) + private static native void convertScaleAbs_0(long src_nativeObj, long dst_nativeObj, double alpha, double beta); + private static native void convertScaleAbs_1(long src_nativeObj, long dst_nativeObj); + + // C++: void LUT(Mat src, Mat lut, Mat& dst) + private static native void LUT_0(long src_nativeObj, long lut_nativeObj, long dst_nativeObj); + + // C++: Scalar sum(Mat src) + private static native double[] sumElems_0(long src_nativeObj); + + // C++: int countNonZero(Mat src) + private static native int countNonZero_0(long src_nativeObj); + + // C++: void findNonZero(Mat src, Mat& idx) + private static native void findNonZero_0(long src_nativeObj, long idx_nativeObj); + + // C++: void meanStdDev(Mat src, vector_double& mean, vector_double& stddev, Mat mask = Mat()) + private static native void meanStdDev_0(long src_nativeObj, long mean_mat_nativeObj, long stddev_mat_nativeObj, long mask_nativeObj); + private static native void meanStdDev_1(long src_nativeObj, long mean_mat_nativeObj, long stddev_mat_nativeObj); + + // C++: Scalar mean(Mat src, Mat mask = Mat()) + private static native double[] mean_0(long src_nativeObj, long mask_nativeObj); + private static native double[] mean_1(long src_nativeObj); + + // C++: double norm(Mat src1, int normType = NORM_L2, Mat mask = Mat()) + private static native double norm_0(long src1_nativeObj, int normType, long mask_nativeObj); + private static native double norm_1(long src1_nativeObj, int normType); + private static native double norm_2(long src1_nativeObj); + + // C++: double norm(Mat src1, Mat src2, int normType = NORM_L2, Mat mask = Mat()) + private static native double norm_3(long src1_nativeObj, long src2_nativeObj, int normType, long mask_nativeObj); + private static native double norm_4(long src1_nativeObj, long src2_nativeObj, int normType); + private static native double norm_5(long src1_nativeObj, long src2_nativeObj); + + // C++: double PSNR(Mat src1, Mat src2) + private static native double PSNR_0(long src1_nativeObj, long src2_nativeObj); + + // C++: void batchDistance(Mat src1, Mat src2, Mat& dist, int dtype, Mat& nidx, int normType = NORM_L2, int K = 0, Mat mask = Mat(), int update = 0, bool crosscheck = false) + private static native void batchDistance_0(long src1_nativeObj, long src2_nativeObj, long dist_nativeObj, int dtype, long nidx_nativeObj, int normType, int K, long mask_nativeObj, int update, boolean crosscheck); + private static native void batchDistance_1(long src1_nativeObj, long src2_nativeObj, long dist_nativeObj, int dtype, long nidx_nativeObj, int normType, int K); + private static native void batchDistance_2(long src1_nativeObj, long src2_nativeObj, long dist_nativeObj, int dtype, long nidx_nativeObj); + + // C++: void normalize(Mat src, Mat& dst, double alpha = 1, double beta = 0, int norm_type = NORM_L2, int dtype = -1, Mat mask = Mat()) + private static native void normalize_0(long src_nativeObj, long dst_nativeObj, double alpha, double beta, int norm_type, int dtype, long mask_nativeObj); + private static native void normalize_1(long src_nativeObj, long dst_nativeObj, double alpha, double beta, int norm_type, int dtype); + private static native void normalize_2(long src_nativeObj, long dst_nativeObj, double alpha, double beta, int norm_type); + private static native void normalize_3(long src_nativeObj, long dst_nativeObj); + private static native double[] n_minMaxLocManual(long src_nativeObj, long mask_nativeObj); + +} diff --git a/opencv3/src/org/opencv/core/CvException.java b/opencv3/src/org/opencv/core/CvException.java new file mode 100644 index 0000000..e9241e6 --- /dev/null +++ b/opencv3/src/org/opencv/core/CvException.java @@ -0,0 +1,15 @@ +package org.opencv.core; + +public class CvException extends RuntimeException { + + private static final long serialVersionUID = 1L; + + public CvException(String msg) { + super(msg); + } + + @Override + public String toString() { + return "CvException [" + super.toString() + "]"; + } +} diff --git a/opencv3/src/org/opencv/core/CvType.java b/opencv3/src/org/opencv/core/CvType.java new file mode 100644 index 0000000..748c1cd --- /dev/null +++ b/opencv3/src/org/opencv/core/CvType.java @@ -0,0 +1,136 @@ +package org.opencv.core; + +public final class CvType { + + // type depth constants + public static final int + CV_8U = 0, CV_8S = 1, + CV_16U = 2, CV_16S = 3, + CV_32S = 4, + CV_32F = 5, + CV_64F = 6, + CV_USRTYPE1 = 7; + + // predefined type constants + public static final int + CV_8UC1 = CV_8UC(1), CV_8UC2 = CV_8UC(2), CV_8UC3 = CV_8UC(3), CV_8UC4 = CV_8UC(4), + CV_8SC1 = CV_8SC(1), CV_8SC2 = CV_8SC(2), CV_8SC3 = CV_8SC(3), CV_8SC4 = CV_8SC(4), + CV_16UC1 = CV_16UC(1), CV_16UC2 = CV_16UC(2), CV_16UC3 = CV_16UC(3), CV_16UC4 = CV_16UC(4), + CV_16SC1 = CV_16SC(1), CV_16SC2 = CV_16SC(2), CV_16SC3 = CV_16SC(3), CV_16SC4 = CV_16SC(4), + CV_32SC1 = CV_32SC(1), CV_32SC2 = CV_32SC(2), CV_32SC3 = CV_32SC(3), CV_32SC4 = CV_32SC(4), + CV_32FC1 = CV_32FC(1), CV_32FC2 = CV_32FC(2), CV_32FC3 = CV_32FC(3), CV_32FC4 = CV_32FC(4), + CV_64FC1 = CV_64FC(1), CV_64FC2 = CV_64FC(2), CV_64FC3 = CV_64FC(3), CV_64FC4 = CV_64FC(4); + + private static final int CV_CN_MAX = 512, CV_CN_SHIFT = 3, CV_DEPTH_MAX = (1 << CV_CN_SHIFT); + + public static final int makeType(int depth, int channels) { + if (channels <= 0 || channels >= CV_CN_MAX) { + throw new java.lang.UnsupportedOperationException( + "Channels count should be 1.." + (CV_CN_MAX - 1)); + } + if (depth < 0 || depth >= CV_DEPTH_MAX) { + throw new java.lang.UnsupportedOperationException( + "Data type depth should be 0.." + (CV_DEPTH_MAX - 1)); + } + return (depth & (CV_DEPTH_MAX - 1)) + ((channels - 1) << CV_CN_SHIFT); + } + + public static final int CV_8UC(int ch) { + return makeType(CV_8U, ch); + } + + public static final int CV_8SC(int ch) { + return makeType(CV_8S, ch); + } + + public static final int CV_16UC(int ch) { + return makeType(CV_16U, ch); + } + + public static final int CV_16SC(int ch) { + return makeType(CV_16S, ch); + } + + public static final int CV_32SC(int ch) { + return makeType(CV_32S, ch); + } + + public static final int CV_32FC(int ch) { + return makeType(CV_32F, ch); + } + + public static final int CV_64FC(int ch) { + return makeType(CV_64F, ch); + } + + public static final int channels(int type) { + return (type >> CV_CN_SHIFT) + 1; + } + + public static final int depth(int type) { + return type & (CV_DEPTH_MAX - 1); + } + + public static final boolean isInteger(int type) { + return depth(type) < CV_32F; + } + + public static final int ELEM_SIZE(int type) { + switch (depth(type)) { + case CV_8U: + case CV_8S: + return channels(type); + case CV_16U: + case CV_16S: + return 2 * channels(type); + case CV_32S: + case CV_32F: + return 4 * channels(type); + case CV_64F: + return 8 * channels(type); + default: + throw new java.lang.UnsupportedOperationException( + "Unsupported CvType value: " + type); + } + } + + public static final String typeToString(int type) { + String s; + switch (depth(type)) { + case CV_8U: + s = "CV_8U"; + break; + case CV_8S: + s = "CV_8S"; + break; + case CV_16U: + s = "CV_16U"; + break; + case CV_16S: + s = "CV_16S"; + break; + case CV_32S: + s = "CV_32S"; + break; + case CV_32F: + s = "CV_32F"; + break; + case CV_64F: + s = "CV_64F"; + break; + case CV_USRTYPE1: + s = "CV_USRTYPE1"; + break; + default: + throw new java.lang.UnsupportedOperationException( + "Unsupported CvType value: " + type); + } + + int ch = channels(type); + if (ch <= 4) + return s + "C" + ch; + else + return s + "C(" + ch + ")"; + } + +} diff --git a/opencv3/src/org/opencv/core/DMatch.java b/opencv3/src/org/opencv/core/DMatch.java new file mode 100644 index 0000000..12bd86e --- /dev/null +++ b/opencv3/src/org/opencv/core/DMatch.java @@ -0,0 +1,61 @@ +package org.opencv.core; + +//C++: class DMatch + +/** + * Structure for matching: query descriptor index, train descriptor index, train + * image index and distance between descriptors. + */ +public class DMatch { + + /** + * Query descriptor index. + */ + public int queryIdx; + /** + * Train descriptor index. + */ + public int trainIdx; + /** + * Train image index. + */ + public int imgIdx; + + // javadoc: DMatch::distance + public float distance; + + // javadoc: DMatch::DMatch() + public DMatch() { + this(-1, -1, Float.MAX_VALUE); + } + + // javadoc: DMatch::DMatch(_queryIdx, _trainIdx, _distance) + public DMatch(int _queryIdx, int _trainIdx, float _distance) { + queryIdx = _queryIdx; + trainIdx = _trainIdx; + imgIdx = -1; + distance = _distance; + } + + // javadoc: DMatch::DMatch(_queryIdx, _trainIdx, _imgIdx, _distance) + public DMatch(int _queryIdx, int _trainIdx, int _imgIdx, float _distance) { + queryIdx = _queryIdx; + trainIdx = _trainIdx; + imgIdx = _imgIdx; + distance = _distance; + } + + /** + * Less is better. + */ + public boolean lessThan(DMatch it) { + return distance < it.distance; + } + + @Override + public String toString() { + return "DMatch [queryIdx=" + queryIdx + ", trainIdx=" + trainIdx + + ", imgIdx=" + imgIdx + ", distance=" + distance + "]"; + } + +} diff --git a/opencv3/src/org/opencv/core/KeyPoint.java b/opencv3/src/org/opencv/core/KeyPoint.java new file mode 100644 index 0000000..de5b215 --- /dev/null +++ b/opencv3/src/org/opencv/core/KeyPoint.java @@ -0,0 +1,83 @@ +package org.opencv.core; + +import org.opencv.core.Point; + +//javadoc: KeyPoint +public class KeyPoint { + + /** + * Coordinates of the keypoint. + */ + public Point pt; + /** + * Diameter of the useful keypoint adjacent area. + */ + public float size; + /** + * Computed orientation of the keypoint (-1 if not applicable). + */ + public float angle; + /** + * The response, by which the strongest keypoints have been selected. Can + * be used for further sorting or subsampling. + */ + public float response; + /** + * Octave (pyramid layer), from which the keypoint has been extracted. + */ + public int octave; + /** + * Object ID, that can be used to cluster keypoints by an object they + * belong to. + */ + public int class_id; + + // javadoc:KeyPoint::KeyPoint(x,y,_size,_angle,_response,_octave,_class_id) + public KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave, int _class_id) + { + pt = new Point(x, y); + size = _size; + angle = _angle; + response = _response; + octave = _octave; + class_id = _class_id; + } + + // javadoc: KeyPoint::KeyPoint() + public KeyPoint() + { + this(0, 0, 0, -1, 0, 0, -1); + } + + // javadoc: KeyPoint::KeyPoint(x, y, _size, _angle, _response, _octave) + public KeyPoint(float x, float y, float _size, float _angle, float _response, int _octave) + { + this(x, y, _size, _angle, _response, _octave, -1); + } + + // javadoc: KeyPoint::KeyPoint(x, y, _size, _angle, _response) + public KeyPoint(float x, float y, float _size, float _angle, float _response) + { + this(x, y, _size, _angle, _response, 0, -1); + } + + // javadoc: KeyPoint::KeyPoint(x, y, _size, _angle) + public KeyPoint(float x, float y, float _size, float _angle) + { + this(x, y, _size, _angle, 0, 0, -1); + } + + // javadoc: KeyPoint::KeyPoint(x, y, _size) + public KeyPoint(float x, float y, float _size) + { + this(x, y, _size, -1, 0, 0, -1); + } + + @Override + public String toString() { + return "KeyPoint [pt=" + pt + ", size=" + size + ", angle=" + angle + + ", response=" + response + ", octave=" + octave + + ", class_id=" + class_id + "]"; + } + +} diff --git a/opencv3/src/org/opencv/core/Mat.java b/opencv3/src/org/opencv/core/Mat.java new file mode 100644 index 0000000..6db2554 --- /dev/null +++ b/opencv3/src/org/opencv/core/Mat.java @@ -0,0 +1,1316 @@ +package org.opencv.core; + +// C++: class Mat +//javadoc: Mat +public class Mat { + + public final long nativeObj; + + public Mat(long addr) + { + if (addr == 0) + throw new java.lang.UnsupportedOperationException("Native object address is NULL"); + nativeObj = addr; + } + + // + // C++: Mat::Mat() + // + + // javadoc: Mat::Mat() + public Mat() + { + + nativeObj = n_Mat(); + + return; + } + + // + // C++: Mat::Mat(int rows, int cols, int type) + // + + // javadoc: Mat::Mat(rows, cols, type) + public Mat(int rows, int cols, int type) + { + + nativeObj = n_Mat(rows, cols, type); + + return; + } + + // + // C++: Mat::Mat(Size size, int type) + // + + // javadoc: Mat::Mat(size, type) + public Mat(Size size, int type) + { + + nativeObj = n_Mat(size.width, size.height, type); + + return; + } + + // + // C++: Mat::Mat(int rows, int cols, int type, Scalar s) + // + + // javadoc: Mat::Mat(rows, cols, type, s) + public Mat(int rows, int cols, int type, Scalar s) + { + + nativeObj = n_Mat(rows, cols, type, s.val[0], s.val[1], s.val[2], s.val[3]); + + return; + } + + // + // C++: Mat::Mat(Size size, int type, Scalar s) + // + + // javadoc: Mat::Mat(size, type, s) + public Mat(Size size, int type, Scalar s) + { + + nativeObj = n_Mat(size.width, size.height, type, s.val[0], s.val[1], s.val[2], s.val[3]); + + return; + } + + // + // C++: Mat::Mat(Mat m, Range rowRange, Range colRange = Range::all()) + // + + // javadoc: Mat::Mat(m, rowRange, colRange) + public Mat(Mat m, Range rowRange, Range colRange) + { + + nativeObj = n_Mat(m.nativeObj, rowRange.start, rowRange.end, colRange.start, colRange.end); + + return; + } + + // javadoc: Mat::Mat(m, rowRange) + public Mat(Mat m, Range rowRange) + { + + nativeObj = n_Mat(m.nativeObj, rowRange.start, rowRange.end); + + return; + } + + // + // C++: Mat::Mat(Mat m, Rect roi) + // + + // javadoc: Mat::Mat(m, roi) + public Mat(Mat m, Rect roi) + { + + nativeObj = n_Mat(m.nativeObj, roi.y, roi.y + roi.height, roi.x, roi.x + roi.width); + + return; + } + + // + // C++: Mat Mat::adjustROI(int dtop, int dbottom, int dleft, int dright) + // + + // javadoc: Mat::adjustROI(dtop, dbottom, dleft, dright) + public Mat adjustROI(int dtop, int dbottom, int dleft, int dright) + { + + Mat retVal = new Mat(n_adjustROI(nativeObj, dtop, dbottom, dleft, dright)); + + return retVal; + } + + // + // C++: void Mat::assignTo(Mat m, int type = -1) + // + + // javadoc: Mat::assignTo(m, type) + public void assignTo(Mat m, int type) + { + + n_assignTo(nativeObj, m.nativeObj, type); + + return; + } + + // javadoc: Mat::assignTo(m) + public void assignTo(Mat m) + { + + n_assignTo(nativeObj, m.nativeObj); + + return; + } + + // + // C++: int Mat::channels() + // + + // javadoc: Mat::channels() + public int channels() + { + + int retVal = n_channels(nativeObj); + + return retVal; + } + + // + // C++: int Mat::checkVector(int elemChannels, int depth = -1, bool + // requireContinuous = true) + // + + // javadoc: Mat::checkVector(elemChannels, depth, requireContinuous) + public int checkVector(int elemChannels, int depth, boolean requireContinuous) + { + + int retVal = n_checkVector(nativeObj, elemChannels, depth, requireContinuous); + + return retVal; + } + + // javadoc: Mat::checkVector(elemChannels, depth) + public int checkVector(int elemChannels, int depth) + { + + int retVal = n_checkVector(nativeObj, elemChannels, depth); + + return retVal; + } + + // javadoc: Mat::checkVector(elemChannels) + public int checkVector(int elemChannels) + { + + int retVal = n_checkVector(nativeObj, elemChannels); + + return retVal; + } + + // + // C++: Mat Mat::clone() + // + + // javadoc: Mat::clone() + public Mat clone() + { + + Mat retVal = new Mat(n_clone(nativeObj)); + + return retVal; + } + + // + // C++: Mat Mat::col(int x) + // + + // javadoc: Mat::col(x) + public Mat col(int x) + { + + Mat retVal = new Mat(n_col(nativeObj, x)); + + return retVal; + } + + // + // C++: Mat Mat::colRange(int startcol, int endcol) + // + + // javadoc: Mat::colRange(startcol, endcol) + public Mat colRange(int startcol, int endcol) + { + + Mat retVal = new Mat(n_colRange(nativeObj, startcol, endcol)); + + return retVal; + } + + // + // C++: Mat Mat::colRange(Range r) + // + + // javadoc: Mat::colRange(r) + public Mat colRange(Range r) + { + + Mat retVal = new Mat(n_colRange(nativeObj, r.start, r.end)); + + return retVal; + } + + // + // C++: int Mat::dims() + // + + // javadoc: Mat::dims() + public int dims() + { + + int retVal = n_dims(nativeObj); + + return retVal; + } + + // + // C++: int Mat::cols() + // + + // javadoc: Mat::cols() + public int cols() + { + + int retVal = n_cols(nativeObj); + + return retVal; + } + + // + // C++: void Mat::convertTo(Mat& m, int rtype, double alpha = 1, double beta + // = 0) + // + + // javadoc: Mat::convertTo(m, rtype, alpha, beta) + public void convertTo(Mat m, int rtype, double alpha, double beta) + { + + n_convertTo(nativeObj, m.nativeObj, rtype, alpha, beta); + + return; + } + + // javadoc: Mat::convertTo(m, rtype, alpha) + public void convertTo(Mat m, int rtype, double alpha) + { + + n_convertTo(nativeObj, m.nativeObj, rtype, alpha); + + return; + } + + // javadoc: Mat::convertTo(m, rtype) + public void convertTo(Mat m, int rtype) + { + + n_convertTo(nativeObj, m.nativeObj, rtype); + + return; + } + + // + // C++: void Mat::copyTo(Mat& m) + // + + // javadoc: Mat::copyTo(m) + public void copyTo(Mat m) + { + + n_copyTo(nativeObj, m.nativeObj); + + return; + } + + // + // C++: void Mat::copyTo(Mat& m, Mat mask) + // + + // javadoc: Mat::copyTo(m, mask) + public void copyTo(Mat m, Mat mask) + { + + n_copyTo(nativeObj, m.nativeObj, mask.nativeObj); + + return; + } + + // + // C++: void Mat::create(int rows, int cols, int type) + // + + // javadoc: Mat::create(rows, cols, type) + public void create(int rows, int cols, int type) + { + + n_create(nativeObj, rows, cols, type); + + return; + } + + // + // C++: void Mat::create(Size size, int type) + // + + // javadoc: Mat::create(size, type) + public void create(Size size, int type) + { + + n_create(nativeObj, size.width, size.height, type); + + return; + } + + // + // C++: Mat Mat::cross(Mat m) + // + + // javadoc: Mat::cross(m) + public Mat cross(Mat m) + { + + Mat retVal = new Mat(n_cross(nativeObj, m.nativeObj)); + + return retVal; + } + + // + // C++: long Mat::dataAddr() + // + + // javadoc: Mat::dataAddr() + public long dataAddr() + { + + long retVal = n_dataAddr(nativeObj); + + return retVal; + } + + // + // C++: int Mat::depth() + // + + // javadoc: Mat::depth() + public int depth() + { + + int retVal = n_depth(nativeObj); + + return retVal; + } + + // + // C++: Mat Mat::diag(int d = 0) + // + + // javadoc: Mat::diag(d) + public Mat diag(int d) + { + + Mat retVal = new Mat(n_diag(nativeObj, d)); + + return retVal; + } + + // javadoc: Mat::diag() + public Mat diag() + { + + Mat retVal = new Mat(n_diag(nativeObj, 0)); + + return retVal; + } + + // + // C++: static Mat Mat::diag(Mat d) + // + + // javadoc: Mat::diag(d) + public static Mat diag(Mat d) + { + + Mat retVal = new Mat(n_diag(d.nativeObj)); + + return retVal; + } + + // + // C++: double Mat::dot(Mat m) + // + + // javadoc: Mat::dot(m) + public double dot(Mat m) + { + + double retVal = n_dot(nativeObj, m.nativeObj); + + return retVal; + } + + // + // C++: size_t Mat::elemSize() + // + + // javadoc: Mat::elemSize() + public long elemSize() + { + + long retVal = n_elemSize(nativeObj); + + return retVal; + } + + // + // C++: size_t Mat::elemSize1() + // + + // javadoc: Mat::elemSize1() + public long elemSize1() + { + + long retVal = n_elemSize1(nativeObj); + + return retVal; + } + + // + // C++: bool Mat::empty() + // + + // javadoc: Mat::empty() + public boolean empty() + { + + boolean retVal = n_empty(nativeObj); + + return retVal; + } + + // + // C++: static Mat Mat::eye(int rows, int cols, int type) + // + + // javadoc: Mat::eye(rows, cols, type) + public static Mat eye(int rows, int cols, int type) + { + + Mat retVal = new Mat(n_eye(rows, cols, type)); + + return retVal; + } + + // + // C++: static Mat Mat::eye(Size size, int type) + // + + // javadoc: Mat::eye(size, type) + public static Mat eye(Size size, int type) + { + + Mat retVal = new Mat(n_eye(size.width, size.height, type)); + + return retVal; + } + + // + // C++: Mat Mat::inv(int method = DECOMP_LU) + // + + // javadoc: Mat::inv(method) + public Mat inv(int method) + { + + Mat retVal = new Mat(n_inv(nativeObj, method)); + + return retVal; + } + + // javadoc: Mat::inv() + public Mat inv() + { + + Mat retVal = new Mat(n_inv(nativeObj)); + + return retVal; + } + + // + // C++: bool Mat::isContinuous() + // + + // javadoc: Mat::isContinuous() + public boolean isContinuous() + { + + boolean retVal = n_isContinuous(nativeObj); + + return retVal; + } + + // + // C++: bool Mat::isSubmatrix() + // + + // javadoc: Mat::isSubmatrix() + public boolean isSubmatrix() + { + + boolean retVal = n_isSubmatrix(nativeObj); + + return retVal; + } + + // + // C++: void Mat::locateROI(Size wholeSize, Point ofs) + // + + // javadoc: Mat::locateROI(wholeSize, ofs) + public void locateROI(Size wholeSize, Point ofs) + { + double[] wholeSize_out = new double[2]; + double[] ofs_out = new double[2]; + locateROI_0(nativeObj, wholeSize_out, ofs_out); + if(wholeSize!=null){ wholeSize.width = wholeSize_out[0]; wholeSize.height = wholeSize_out[1]; } + if(ofs!=null){ ofs.x = ofs_out[0]; ofs.y = ofs_out[1]; } + return; + } + + // + // C++: Mat Mat::mul(Mat m, double scale = 1) + // + + // javadoc: Mat::mul(m, scale) + public Mat mul(Mat m, double scale) + { + + Mat retVal = new Mat(n_mul(nativeObj, m.nativeObj, scale)); + + return retVal; + } + + // javadoc: Mat::mul(m) + public Mat mul(Mat m) + { + + Mat retVal = new Mat(n_mul(nativeObj, m.nativeObj)); + + return retVal; + } + + // + // C++: static Mat Mat::ones(int rows, int cols, int type) + // + + // javadoc: Mat::ones(rows, cols, type) + public static Mat ones(int rows, int cols, int type) + { + + Mat retVal = new Mat(n_ones(rows, cols, type)); + + return retVal; + } + + // + // C++: static Mat Mat::ones(Size size, int type) + // + + // javadoc: Mat::ones(size, type) + public static Mat ones(Size size, int type) + { + + Mat retVal = new Mat(n_ones(size.width, size.height, type)); + + return retVal; + } + + // + // C++: void Mat::push_back(Mat m) + // + + // javadoc: Mat::push_back(m) + public void push_back(Mat m) + { + + n_push_back(nativeObj, m.nativeObj); + + return; + } + + // + // C++: void Mat::release() + // + + // javadoc: Mat::release() + public void release() + { + + n_release(nativeObj); + + return; + } + + // + // C++: Mat Mat::reshape(int cn, int rows = 0) + // + + // javadoc: Mat::reshape(cn, rows) + public Mat reshape(int cn, int rows) + { + + Mat retVal = new Mat(n_reshape(nativeObj, cn, rows)); + + return retVal; + } + + // javadoc: Mat::reshape(cn) + public Mat reshape(int cn) + { + + Mat retVal = new Mat(n_reshape(nativeObj, cn)); + + return retVal; + } + + // + // C++: Mat Mat::row(int y) + // + + // javadoc: Mat::row(y) + public Mat row(int y) + { + + Mat retVal = new Mat(n_row(nativeObj, y)); + + return retVal; + } + + // + // C++: Mat Mat::rowRange(int startrow, int endrow) + // + + // javadoc: Mat::rowRange(startrow, endrow) + public Mat rowRange(int startrow, int endrow) + { + + Mat retVal = new Mat(n_rowRange(nativeObj, startrow, endrow)); + + return retVal; + } + + // + // C++: Mat Mat::rowRange(Range r) + // + + // javadoc: Mat::rowRange(r) + public Mat rowRange(Range r) + { + + Mat retVal = new Mat(n_rowRange(nativeObj, r.start, r.end)); + + return retVal; + } + + // + // C++: int Mat::rows() + // + + // javadoc: Mat::rows() + public int rows() + { + + int retVal = n_rows(nativeObj); + + return retVal; + } + + // + // C++: Mat Mat::operator =(Scalar s) + // + + // javadoc: Mat::operator =(s) + public Mat setTo(Scalar s) + { + + Mat retVal = new Mat(n_setTo(nativeObj, s.val[0], s.val[1], s.val[2], s.val[3])); + + return retVal; + } + + // + // C++: Mat Mat::setTo(Scalar value, Mat mask = Mat()) + // + + // javadoc: Mat::setTo(value, mask) + public Mat setTo(Scalar value, Mat mask) + { + + Mat retVal = new Mat(n_setTo(nativeObj, value.val[0], value.val[1], value.val[2], value.val[3], mask.nativeObj)); + + return retVal; + } + + // + // C++: Mat Mat::setTo(Mat value, Mat mask = Mat()) + // + + // javadoc: Mat::setTo(value, mask) + public Mat setTo(Mat value, Mat mask) + { + + Mat retVal = new Mat(n_setTo(nativeObj, value.nativeObj, mask.nativeObj)); + + return retVal; + } + + // javadoc: Mat::setTo(value) + public Mat setTo(Mat value) + { + + Mat retVal = new Mat(n_setTo(nativeObj, value.nativeObj)); + + return retVal; + } + + // + // C++: Size Mat::size() + // + + // javadoc: Mat::size() + public Size size() + { + + Size retVal = new Size(n_size(nativeObj)); + + return retVal; + } + + // + // C++: size_t Mat::step1(int i = 0) + // + + // javadoc: Mat::step1(i) + public long step1(int i) + { + + long retVal = n_step1(nativeObj, i); + + return retVal; + } + + // javadoc: Mat::step1() + public long step1() + { + + long retVal = n_step1(nativeObj); + + return retVal; + } + + // + // C++: Mat Mat::operator()(int rowStart, int rowEnd, int colStart, int + // colEnd) + // + + // javadoc: Mat::operator()(rowStart, rowEnd, colStart, colEnd) + public Mat submat(int rowStart, int rowEnd, int colStart, int colEnd) + { + + Mat retVal = new Mat(n_submat_rr(nativeObj, rowStart, rowEnd, colStart, colEnd)); + + return retVal; + } + + // + // C++: Mat Mat::operator()(Range rowRange, Range colRange) + // + + // javadoc: Mat::operator()(rowRange, colRange) + public Mat submat(Range rowRange, Range colRange) + { + + Mat retVal = new Mat(n_submat_rr(nativeObj, rowRange.start, rowRange.end, colRange.start, colRange.end)); + + return retVal; + } + + // + // C++: Mat Mat::operator()(Rect roi) + // + + // javadoc: Mat::operator()(roi) + public Mat submat(Rect roi) + { + + Mat retVal = new Mat(n_submat(nativeObj, roi.x, roi.y, roi.width, roi.height)); + + return retVal; + } + + // + // C++: Mat Mat::t() + // + + // javadoc: Mat::t() + public Mat t() + { + + Mat retVal = new Mat(n_t(nativeObj)); + + return retVal; + } + + // + // C++: size_t Mat::total() + // + + // javadoc: Mat::total() + public long total() + { + + long retVal = n_total(nativeObj); + + return retVal; + } + + // + // C++: int Mat::type() + // + + // javadoc: Mat::type() + public int type() + { + + int retVal = n_type(nativeObj); + + return retVal; + } + + // + // C++: static Mat Mat::zeros(int rows, int cols, int type) + // + + // javadoc: Mat::zeros(rows, cols, type) + public static Mat zeros(int rows, int cols, int type) + { + + Mat retVal = new Mat(n_zeros(rows, cols, type)); + + return retVal; + } + + // + // C++: static Mat Mat::zeros(Size size, int type) + // + + // javadoc: Mat::zeros(size, type) + public static Mat zeros(Size size, int type) + { + + Mat retVal = new Mat(n_zeros(size.width, size.height, type)); + + return retVal; + } + + @Override + protected void finalize() throws Throwable { + n_delete(nativeObj); + super.finalize(); + } + + // javadoc:Mat::toString() + @Override + public String toString() { + return "Mat [ " + + rows() + "*" + cols() + "*" + CvType.typeToString(type()) + + ", isCont=" + isContinuous() + ", isSubmat=" + isSubmatrix() + + ", nativeObj=0x" + Long.toHexString(nativeObj) + + ", dataAddr=0x" + Long.toHexString(dataAddr()) + + " ]"; + } + + // javadoc:Mat::dump() + public String dump() { + return nDump(nativeObj); + } + + // javadoc:Mat::put(row,col,data) + public int put(int row, int col, double... data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + return nPutD(nativeObj, row, col, data.length, data); + } + + // javadoc:Mat::put(row,col,data) + public int put(int row, int col, float[] data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + if (CvType.depth(t) == CvType.CV_32F) { + return nPutF(nativeObj, row, col, data.length, data); + } + throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t); + } + + // javadoc:Mat::put(row,col,data) + public int put(int row, int col, int[] data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + if (CvType.depth(t) == CvType.CV_32S) { + return nPutI(nativeObj, row, col, data.length, data); + } + throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t); + } + + // javadoc:Mat::put(row,col,data) + public int put(int row, int col, short[] data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + if (CvType.depth(t) == CvType.CV_16U || CvType.depth(t) == CvType.CV_16S) { + return nPutS(nativeObj, row, col, data.length, data); + } + throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t); + } + + // javadoc:Mat::put(row,col,data) + public int put(int row, int col, byte[] data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) { + return nPutB(nativeObj, row, col, data.length, data); + } + throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t); + } + + // javadoc:Mat::get(row,col,data) + public int get(int row, int col, byte[] data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + if (CvType.depth(t) == CvType.CV_8U || CvType.depth(t) == CvType.CV_8S) { + return nGetB(nativeObj, row, col, data.length, data); + } + throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t); + } + + // javadoc:Mat::get(row,col,data) + public int get(int row, int col, short[] data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + if (CvType.depth(t) == CvType.CV_16U || CvType.depth(t) == CvType.CV_16S) { + return nGetS(nativeObj, row, col, data.length, data); + } + throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t); + } + + // javadoc:Mat::get(row,col,data) + public int get(int row, int col, int[] data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + if (CvType.depth(t) == CvType.CV_32S) { + return nGetI(nativeObj, row, col, data.length, data); + } + throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t); + } + + // javadoc:Mat::get(row,col,data) + public int get(int row, int col, float[] data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + if (CvType.depth(t) == CvType.CV_32F) { + return nGetF(nativeObj, row, col, data.length, data); + } + throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t); + } + + // javadoc:Mat::get(row,col,data) + public int get(int row, int col, double[] data) { + int t = type(); + if (data == null || data.length % CvType.channels(t) != 0) + throw new java.lang.UnsupportedOperationException( + "Provided data element number (" + + (data == null ? 0 : data.length) + + ") should be multiple of the Mat channels count (" + + CvType.channels(t) + ")"); + if (CvType.depth(t) == CvType.CV_64F) { + return nGetD(nativeObj, row, col, data.length, data); + } + throw new java.lang.UnsupportedOperationException("Mat data type is not compatible: " + t); + } + + // javadoc:Mat::get(row,col) + public double[] get(int row, int col) { + return nGet(nativeObj, row, col); + } + + // javadoc:Mat::height() + public int height() { + return rows(); + } + + // javadoc:Mat::width() + public int width() { + return cols(); + } + + // javadoc:Mat::getNativeObjAddr() + public long getNativeObjAddr() { + return nativeObj; + } + + // C++: Mat::Mat() + private static native long n_Mat(); + + // C++: Mat::Mat(int rows, int cols, int type) + private static native long n_Mat(int rows, int cols, int type); + + // C++: Mat::Mat(Size size, int type) + private static native long n_Mat(double size_width, double size_height, int type); + + // C++: Mat::Mat(int rows, int cols, int type, Scalar s) + private static native long n_Mat(int rows, int cols, int type, double s_val0, double s_val1, double s_val2, double s_val3); + + // C++: Mat::Mat(Size size, int type, Scalar s) + private static native long n_Mat(double size_width, double size_height, int type, double s_val0, double s_val1, double s_val2, double s_val3); + + // C++: Mat::Mat(Mat m, Range rowRange, Range colRange = Range::all()) + private static native long n_Mat(long m_nativeObj, int rowRange_start, int rowRange_end, int colRange_start, int colRange_end); + + private static native long n_Mat(long m_nativeObj, int rowRange_start, int rowRange_end); + + // C++: Mat Mat::adjustROI(int dtop, int dbottom, int dleft, int dright) + private static native long n_adjustROI(long nativeObj, int dtop, int dbottom, int dleft, int dright); + + // C++: void Mat::assignTo(Mat m, int type = -1) + private static native void n_assignTo(long nativeObj, long m_nativeObj, int type); + + private static native void n_assignTo(long nativeObj, long m_nativeObj); + + // C++: int Mat::channels() + private static native int n_channels(long nativeObj); + + // C++: int Mat::checkVector(int elemChannels, int depth = -1, bool + // requireContinuous = true) + private static native int n_checkVector(long nativeObj, int elemChannels, int depth, boolean requireContinuous); + + private static native int n_checkVector(long nativeObj, int elemChannels, int depth); + + private static native int n_checkVector(long nativeObj, int elemChannels); + + // C++: Mat Mat::clone() + private static native long n_clone(long nativeObj); + + // C++: Mat Mat::col(int x) + private static native long n_col(long nativeObj, int x); + + // C++: Mat Mat::colRange(int startcol, int endcol) + private static native long n_colRange(long nativeObj, int startcol, int endcol); + + // C++: int Mat::dims() + private static native int n_dims(long nativeObj); + + // C++: int Mat::cols() + private static native int n_cols(long nativeObj); + + // C++: void Mat::convertTo(Mat& m, int rtype, double alpha = 1, double beta + // = 0) + private static native void n_convertTo(long nativeObj, long m_nativeObj, int rtype, double alpha, double beta); + + private static native void n_convertTo(long nativeObj, long m_nativeObj, int rtype, double alpha); + + private static native void n_convertTo(long nativeObj, long m_nativeObj, int rtype); + + // C++: void Mat::copyTo(Mat& m) + private static native void n_copyTo(long nativeObj, long m_nativeObj); + + // C++: void Mat::copyTo(Mat& m, Mat mask) + private static native void n_copyTo(long nativeObj, long m_nativeObj, long mask_nativeObj); + + // C++: void Mat::create(int rows, int cols, int type) + private static native void n_create(long nativeObj, int rows, int cols, int type); + + // C++: void Mat::create(Size size, int type) + private static native void n_create(long nativeObj, double size_width, double size_height, int type); + + // C++: Mat Mat::cross(Mat m) + private static native long n_cross(long nativeObj, long m_nativeObj); + + // C++: long Mat::dataAddr() + private static native long n_dataAddr(long nativeObj); + + // C++: int Mat::depth() + private static native int n_depth(long nativeObj); + + // C++: Mat Mat::diag(int d = 0) + private static native long n_diag(long nativeObj, int d); + + // C++: static Mat Mat::diag(Mat d) + private static native long n_diag(long d_nativeObj); + + // C++: double Mat::dot(Mat m) + private static native double n_dot(long nativeObj, long m_nativeObj); + + // C++: size_t Mat::elemSize() + private static native long n_elemSize(long nativeObj); + + // C++: size_t Mat::elemSize1() + private static native long n_elemSize1(long nativeObj); + + // C++: bool Mat::empty() + private static native boolean n_empty(long nativeObj); + + // C++: static Mat Mat::eye(int rows, int cols, int type) + private static native long n_eye(int rows, int cols, int type); + + // C++: static Mat Mat::eye(Size size, int type) + private static native long n_eye(double size_width, double size_height, int type); + + // C++: Mat Mat::inv(int method = DECOMP_LU) + private static native long n_inv(long nativeObj, int method); + + private static native long n_inv(long nativeObj); + + // C++: bool Mat::isContinuous() + private static native boolean n_isContinuous(long nativeObj); + + // C++: bool Mat::isSubmatrix() + private static native boolean n_isSubmatrix(long nativeObj); + + // C++: void Mat::locateROI(Size wholeSize, Point ofs) + private static native void locateROI_0(long nativeObj, double[] wholeSize_out, double[] ofs_out); + + // C++: Mat Mat::mul(Mat m, double scale = 1) + private static native long n_mul(long nativeObj, long m_nativeObj, double scale); + + private static native long n_mul(long nativeObj, long m_nativeObj); + + // C++: static Mat Mat::ones(int rows, int cols, int type) + private static native long n_ones(int rows, int cols, int type); + + // C++: static Mat Mat::ones(Size size, int type) + private static native long n_ones(double size_width, double size_height, int type); + + // C++: void Mat::push_back(Mat m) + private static native void n_push_back(long nativeObj, long m_nativeObj); + + // C++: void Mat::release() + private static native void n_release(long nativeObj); + + // C++: Mat Mat::reshape(int cn, int rows = 0) + private static native long n_reshape(long nativeObj, int cn, int rows); + + private static native long n_reshape(long nativeObj, int cn); + + // C++: Mat Mat::row(int y) + private static native long n_row(long nativeObj, int y); + + // C++: Mat Mat::rowRange(int startrow, int endrow) + private static native long n_rowRange(long nativeObj, int startrow, int endrow); + + // C++: int Mat::rows() + private static native int n_rows(long nativeObj); + + // C++: Mat Mat::operator =(Scalar s) + private static native long n_setTo(long nativeObj, double s_val0, double s_val1, double s_val2, double s_val3); + + // C++: Mat Mat::setTo(Scalar value, Mat mask = Mat()) + private static native long n_setTo(long nativeObj, double s_val0, double s_val1, double s_val2, double s_val3, long mask_nativeObj); + + // C++: Mat Mat::setTo(Mat value, Mat mask = Mat()) + private static native long n_setTo(long nativeObj, long value_nativeObj, long mask_nativeObj); + + private static native long n_setTo(long nativeObj, long value_nativeObj); + + // C++: Size Mat::size() + private static native double[] n_size(long nativeObj); + + // C++: size_t Mat::step1(int i = 0) + private static native long n_step1(long nativeObj, int i); + + private static native long n_step1(long nativeObj); + + // C++: Mat Mat::operator()(Range rowRange, Range colRange) + private static native long n_submat_rr(long nativeObj, int rowRange_start, int rowRange_end, int colRange_start, int colRange_end); + + // C++: Mat Mat::operator()(Rect roi) + private static native long n_submat(long nativeObj, int roi_x, int roi_y, int roi_width, int roi_height); + + // C++: Mat Mat::t() + private static native long n_t(long nativeObj); + + // C++: size_t Mat::total() + private static native long n_total(long nativeObj); + + // C++: int Mat::type() + private static native int n_type(long nativeObj); + + // C++: static Mat Mat::zeros(int rows, int cols, int type) + private static native long n_zeros(int rows, int cols, int type); + + // C++: static Mat Mat::zeros(Size size, int type) + private static native long n_zeros(double size_width, double size_height, int type); + + // native support for java finalize() + private static native void n_delete(long nativeObj); + + private static native int nPutD(long self, int row, int col, int count, double[] data); + + private static native int nPutF(long self, int row, int col, int count, float[] data); + + private static native int nPutI(long self, int row, int col, int count, int[] data); + + private static native int nPutS(long self, int row, int col, int count, short[] data); + + private static native int nPutB(long self, int row, int col, int count, byte[] data); + + private static native int nGetB(long self, int row, int col, int count, byte[] vals); + + private static native int nGetS(long self, int row, int col, int count, short[] vals); + + private static native int nGetI(long self, int row, int col, int count, int[] vals); + + private static native int nGetF(long self, int row, int col, int count, float[] vals); + + private static native int nGetD(long self, int row, int col, int count, double[] vals); + + private static native double[] nGet(long self, int row, int col); + + private static native String nDump(long self); +} diff --git a/opencv3/src/org/opencv/core/MatOfByte.java b/opencv3/src/org/opencv/core/MatOfByte.java new file mode 100644 index 0000000..7756eb9 --- /dev/null +++ b/opencv3/src/org/opencv/core/MatOfByte.java @@ -0,0 +1,79 @@ +package org.opencv.core; + +import java.util.Arrays; +import java.util.List; + +public class MatOfByte extends Mat { + // 8UC(x) + private static final int _depth = CvType.CV_8U; + private static final int _channels = 1; + + public MatOfByte() { + super(); + } + + protected MatOfByte(long addr) { + super(addr); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public static MatOfByte fromNativeAddr(long addr) { + return new MatOfByte(addr); + } + + public MatOfByte(Mat m) { + super(m, Range.all()); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public MatOfByte(byte...a) { + super(); + fromArray(a); + } + + public void alloc(int elemNumber) { + if(elemNumber>0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(byte...a) { + if(a==null || a.length==0) + return; + int num = a.length / _channels; + alloc(num); + put(0, 0, a); //TODO: check ret val! + } + + public byte[] toArray() { + int num = checkVector(_channels, _depth); + if(num < 0) + throw new RuntimeException("Native Mat has unexpected type or size: " + toString()); + byte[] a = new byte[num * _channels]; + if(num == 0) + return a; + get(0, 0, a); //TODO: check ret val! + return a; + } + + public void fromList(List lb) { + if(lb==null || lb.size()==0) + return; + Byte ab[] = lb.toArray(new Byte[0]); + byte a[] = new byte[ab.length]; + for(int i=0; i toList() { + byte[] a = toArray(); + Byte ab[] = new Byte[a.length]; + for(int i=0; i0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + + public void fromArray(DMatch...a) { + if(a==null || a.length==0) + return; + int num = a.length; + alloc(num); + float buff[] = new float[num * _channels]; + for(int i=0; i ldm) { + DMatch adm[] = ldm.toArray(new DMatch[0]); + fromArray(adm); + } + + public List toList() { + DMatch[] adm = toArray(); + return Arrays.asList(adm); + } +} diff --git a/opencv3/src/org/opencv/core/MatOfDouble.java b/opencv3/src/org/opencv/core/MatOfDouble.java new file mode 100644 index 0000000..1a8e23c --- /dev/null +++ b/opencv3/src/org/opencv/core/MatOfDouble.java @@ -0,0 +1,79 @@ +package org.opencv.core; + +import java.util.Arrays; +import java.util.List; + +public class MatOfDouble extends Mat { + // 64FC(x) + private static final int _depth = CvType.CV_64F; + private static final int _channels = 1; + + public MatOfDouble() { + super(); + } + + protected MatOfDouble(long addr) { + super(addr); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public static MatOfDouble fromNativeAddr(long addr) { + return new MatOfDouble(addr); + } + + public MatOfDouble(Mat m) { + super(m, Range.all()); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public MatOfDouble(double...a) { + super(); + fromArray(a); + } + + public void alloc(int elemNumber) { + if(elemNumber>0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(double...a) { + if(a==null || a.length==0) + return; + int num = a.length / _channels; + alloc(num); + put(0, 0, a); //TODO: check ret val! + } + + public double[] toArray() { + int num = checkVector(_channels, _depth); + if(num < 0) + throw new RuntimeException("Native Mat has unexpected type or size: " + toString()); + double[] a = new double[num * _channels]; + if(num == 0) + return a; + get(0, 0, a); //TODO: check ret val! + return a; + } + + public void fromList(List lb) { + if(lb==null || lb.size()==0) + return; + Double ab[] = lb.toArray(new Double[0]); + double a[] = new double[ab.length]; + for(int i=0; i toList() { + double[] a = toArray(); + Double ab[] = new Double[a.length]; + for(int i=0; i0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(float...a) { + if(a==null || a.length==0) + return; + int num = a.length / _channels; + alloc(num); + put(0, 0, a); //TODO: check ret val! + } + + public float[] toArray() { + int num = checkVector(_channels, _depth); + if(num < 0) + throw new RuntimeException("Native Mat has unexpected type or size: " + toString()); + float[] a = new float[num * _channels]; + if(num == 0) + return a; + get(0, 0, a); //TODO: check ret val! + return a; + } + + public void fromList(List lb) { + if(lb==null || lb.size()==0) + return; + Float ab[] = lb.toArray(new Float[0]); + float a[] = new float[ab.length]; + for(int i=0; i toList() { + float[] a = toArray(); + Float ab[] = new Float[a.length]; + for(int i=0; i0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(float...a) { + if(a==null || a.length==0) + return; + int num = a.length / _channels; + alloc(num); + put(0, 0, a); //TODO: check ret val! + } + + public float[] toArray() { + int num = checkVector(_channels, _depth); + if(num < 0) + throw new RuntimeException("Native Mat has unexpected type or size: " + toString()); + float[] a = new float[num * _channels]; + if(num == 0) + return a; + get(0, 0, a); //TODO: check ret val! + return a; + } + + public void fromList(List lb) { + if(lb==null || lb.size()==0) + return; + Float ab[] = lb.toArray(new Float[0]); + float a[] = new float[ab.length]; + for(int i=0; i toList() { + float[] a = toArray(); + Float ab[] = new Float[a.length]; + for(int i=0; i0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(float...a) { + if(a==null || a.length==0) + return; + int num = a.length / _channels; + alloc(num); + put(0, 0, a); //TODO: check ret val! + } + + public float[] toArray() { + int num = checkVector(_channels, _depth); + if(num < 0) + throw new RuntimeException("Native Mat has unexpected type or size: " + toString()); + float[] a = new float[num * _channels]; + if(num == 0) + return a; + get(0, 0, a); //TODO: check ret val! + return a; + } + + public void fromList(List lb) { + if(lb==null || lb.size()==0) + return; + Float ab[] = lb.toArray(new Float[0]); + float a[] = new float[ab.length]; + for(int i=0; i toList() { + float[] a = toArray(); + Float ab[] = new Float[a.length]; + for(int i=0; i0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(int...a) { + if(a==null || a.length==0) + return; + int num = a.length / _channels; + alloc(num); + put(0, 0, a); //TODO: check ret val! + } + + public int[] toArray() { + int num = checkVector(_channels, _depth); + if(num < 0) + throw new RuntimeException("Native Mat has unexpected type or size: " + toString()); + int[] a = new int[num * _channels]; + if(num == 0) + return a; + get(0, 0, a); //TODO: check ret val! + return a; + } + + public void fromList(List lb) { + if(lb==null || lb.size()==0) + return; + Integer ab[] = lb.toArray(new Integer[0]); + int a[] = new int[ab.length]; + for(int i=0; i toList() { + int[] a = toArray(); + Integer ab[] = new Integer[a.length]; + for(int i=0; i0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(int...a) { + if(a==null || a.length==0) + return; + int num = a.length / _channels; + alloc(num); + put(0, 0, a); //TODO: check ret val! + } + + public int[] toArray() { + int num = checkVector(_channels, _depth); + if(num < 0) + throw new RuntimeException("Native Mat has unexpected type or size: " + toString()); + int[] a = new int[num * _channels]; + if(num == 0) + return a; + get(0, 0, a); //TODO: check ret val! + return a; + } + + public void fromList(List lb) { + if(lb==null || lb.size()==0) + return; + Integer ab[] = lb.toArray(new Integer[0]); + int a[] = new int[ab.length]; + for(int i=0; i toList() { + int[] a = toArray(); + Integer ab[] = new Integer[a.length]; + for(int i=0; i0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(KeyPoint...a) { + if(a==null || a.length==0) + return; + int num = a.length; + alloc(num); + float buff[] = new float[num * _channels]; + for(int i=0; i lkp) { + KeyPoint akp[] = lkp.toArray(new KeyPoint[0]); + fromArray(akp); + } + + public List toList() { + KeyPoint[] akp = toArray(); + return Arrays.asList(akp); + } +} diff --git a/opencv3/src/org/opencv/core/MatOfPoint.java b/opencv3/src/org/opencv/core/MatOfPoint.java new file mode 100644 index 0000000..f4d573b --- /dev/null +++ b/opencv3/src/org/opencv/core/MatOfPoint.java @@ -0,0 +1,78 @@ +package org.opencv.core; + +import java.util.Arrays; +import java.util.List; + +public class MatOfPoint extends Mat { + // 32SC2 + private static final int _depth = CvType.CV_32S; + private static final int _channels = 2; + + public MatOfPoint() { + super(); + } + + protected MatOfPoint(long addr) { + super(addr); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public static MatOfPoint fromNativeAddr(long addr) { + return new MatOfPoint(addr); + } + + public MatOfPoint(Mat m) { + super(m, Range.all()); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public MatOfPoint(Point...a) { + super(); + fromArray(a); + } + + public void alloc(int elemNumber) { + if(elemNumber>0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(Point...a) { + if(a==null || a.length==0) + return; + int num = a.length; + alloc(num); + int buff[] = new int[num * _channels]; + for(int i=0; i lp) { + Point ap[] = lp.toArray(new Point[0]); + fromArray(ap); + } + + public List toList() { + Point[] ap = toArray(); + return Arrays.asList(ap); + } +} diff --git a/opencv3/src/org/opencv/core/MatOfPoint2f.java b/opencv3/src/org/opencv/core/MatOfPoint2f.java new file mode 100644 index 0000000..4b8c926 --- /dev/null +++ b/opencv3/src/org/opencv/core/MatOfPoint2f.java @@ -0,0 +1,78 @@ +package org.opencv.core; + +import java.util.Arrays; +import java.util.List; + +public class MatOfPoint2f extends Mat { + // 32FC2 + private static final int _depth = CvType.CV_32F; + private static final int _channels = 2; + + public MatOfPoint2f() { + super(); + } + + protected MatOfPoint2f(long addr) { + super(addr); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public static MatOfPoint2f fromNativeAddr(long addr) { + return new MatOfPoint2f(addr); + } + + public MatOfPoint2f(Mat m) { + super(m, Range.all()); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public MatOfPoint2f(Point...a) { + super(); + fromArray(a); + } + + public void alloc(int elemNumber) { + if(elemNumber>0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(Point...a) { + if(a==null || a.length==0) + return; + int num = a.length; + alloc(num); + float buff[] = new float[num * _channels]; + for(int i=0; i lp) { + Point ap[] = lp.toArray(new Point[0]); + fromArray(ap); + } + + public List toList() { + Point[] ap = toArray(); + return Arrays.asList(ap); + } +} diff --git a/opencv3/src/org/opencv/core/MatOfPoint3.java b/opencv3/src/org/opencv/core/MatOfPoint3.java new file mode 100644 index 0000000..3b50561 --- /dev/null +++ b/opencv3/src/org/opencv/core/MatOfPoint3.java @@ -0,0 +1,79 @@ +package org.opencv.core; + +import java.util.Arrays; +import java.util.List; + +public class MatOfPoint3 extends Mat { + // 32SC3 + private static final int _depth = CvType.CV_32S; + private static final int _channels = 3; + + public MatOfPoint3() { + super(); + } + + protected MatOfPoint3(long addr) { + super(addr); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public static MatOfPoint3 fromNativeAddr(long addr) { + return new MatOfPoint3(addr); + } + + public MatOfPoint3(Mat m) { + super(m, Range.all()); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public MatOfPoint3(Point3...a) { + super(); + fromArray(a); + } + + public void alloc(int elemNumber) { + if(elemNumber>0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(Point3...a) { + if(a==null || a.length==0) + return; + int num = a.length; + alloc(num); + int buff[] = new int[num * _channels]; + for(int i=0; i lp) { + Point3 ap[] = lp.toArray(new Point3[0]); + fromArray(ap); + } + + public List toList() { + Point3[] ap = toArray(); + return Arrays.asList(ap); + } +} diff --git a/opencv3/src/org/opencv/core/MatOfPoint3f.java b/opencv3/src/org/opencv/core/MatOfPoint3f.java new file mode 100644 index 0000000..fc5fee4 --- /dev/null +++ b/opencv3/src/org/opencv/core/MatOfPoint3f.java @@ -0,0 +1,79 @@ +package org.opencv.core; + +import java.util.Arrays; +import java.util.List; + +public class MatOfPoint3f extends Mat { + // 32FC3 + private static final int _depth = CvType.CV_32F; + private static final int _channels = 3; + + public MatOfPoint3f() { + super(); + } + + protected MatOfPoint3f(long addr) { + super(addr); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public static MatOfPoint3f fromNativeAddr(long addr) { + return new MatOfPoint3f(addr); + } + + public MatOfPoint3f(Mat m) { + super(m, Range.all()); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public MatOfPoint3f(Point3...a) { + super(); + fromArray(a); + } + + public void alloc(int elemNumber) { + if(elemNumber>0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(Point3...a) { + if(a==null || a.length==0) + return; + int num = a.length; + alloc(num); + float buff[] = new float[num * _channels]; + for(int i=0; i lp) { + Point3 ap[] = lp.toArray(new Point3[0]); + fromArray(ap); + } + + public List toList() { + Point3[] ap = toArray(); + return Arrays.asList(ap); + } +} diff --git a/opencv3/src/org/opencv/core/MatOfRect.java b/opencv3/src/org/opencv/core/MatOfRect.java new file mode 100644 index 0000000..ec0fb01 --- /dev/null +++ b/opencv3/src/org/opencv/core/MatOfRect.java @@ -0,0 +1,81 @@ +package org.opencv.core; + +import java.util.Arrays; +import java.util.List; + + +public class MatOfRect extends Mat { + // 32SC4 + private static final int _depth = CvType.CV_32S; + private static final int _channels = 4; + + public MatOfRect() { + super(); + } + + protected MatOfRect(long addr) { + super(addr); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public static MatOfRect fromNativeAddr(long addr) { + return new MatOfRect(addr); + } + + public MatOfRect(Mat m) { + super(m, Range.all()); + if( !empty() && checkVector(_channels, _depth) < 0 ) + throw new IllegalArgumentException("Incompatible Mat"); + //FIXME: do we need release() here? + } + + public MatOfRect(Rect...a) { + super(); + fromArray(a); + } + + public void alloc(int elemNumber) { + if(elemNumber>0) + super.create(elemNumber, 1, CvType.makeType(_depth, _channels)); + } + + public void fromArray(Rect...a) { + if(a==null || a.length==0) + return; + int num = a.length; + alloc(num); + int buff[] = new int[num * _channels]; + for(int i=0; i lr) { + Rect ap[] = lr.toArray(new Rect[0]); + fromArray(ap); + } + + public List toList() { + Rect[] ar = toArray(); + return Arrays.asList(ar); + } +} diff --git a/opencv3/src/org/opencv/core/Point.java b/opencv3/src/org/opencv/core/Point.java new file mode 100644 index 0000000..ce493d7 --- /dev/null +++ b/opencv3/src/org/opencv/core/Point.java @@ -0,0 +1,68 @@ +package org.opencv.core; + +//javadoc:Point_ +public class Point { + + public double x, y; + + public Point(double x, double y) { + this.x = x; + this.y = y; + } + + public Point() { + this(0, 0); + } + + public Point(double[] vals) { + this(); + set(vals); + } + + public void set(double[] vals) { + if (vals != null) { + x = vals.length > 0 ? vals[0] : 0; + y = vals.length > 1 ? vals[1] : 0; + } else { + x = 0; + y = 0; + } + } + + public Point clone() { + return new Point(x, y); + } + + public double dot(Point p) { + return x * p.x + y * p.y; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + long temp; + temp = Double.doubleToLongBits(x); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(y); + result = prime * result + (int) (temp ^ (temp >>> 32)); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (!(obj instanceof Point)) return false; + Point it = (Point) obj; + return x == it.x && y == it.y; + } + + public boolean inside(Rect r) { + return r.contains(this); + } + + @Override + public String toString() { + return "{" + x + ", " + y + "}"; + } +} diff --git a/opencv3/src/org/opencv/core/Point3.java b/opencv3/src/org/opencv/core/Point3.java new file mode 100644 index 0000000..14b91c6 --- /dev/null +++ b/opencv3/src/org/opencv/core/Point3.java @@ -0,0 +1,79 @@ +package org.opencv.core; + +//javadoc:Point3_ +public class Point3 { + + public double x, y, z; + + public Point3(double x, double y, double z) { + this.x = x; + this.y = y; + this.z = z; + } + + public Point3() { + this(0, 0, 0); + } + + public Point3(Point p) { + x = p.x; + y = p.y; + z = 0; + } + + public Point3(double[] vals) { + this(); + set(vals); + } + + public void set(double[] vals) { + if (vals != null) { + x = vals.length > 0 ? vals[0] : 0; + y = vals.length > 1 ? vals[1] : 0; + z = vals.length > 2 ? vals[2] : 0; + } else { + x = 0; + y = 0; + z = 0; + } + } + + public Point3 clone() { + return new Point3(x, y, z); + } + + public double dot(Point3 p) { + return x * p.x + y * p.y + z * p.z; + } + + public Point3 cross(Point3 p) { + return new Point3(y * p.z - z * p.y, z * p.x - x * p.z, x * p.y - y * p.x); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + long temp; + temp = Double.doubleToLongBits(x); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(y); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(z); + result = prime * result + (int) (temp ^ (temp >>> 32)); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (!(obj instanceof Point3)) return false; + Point3 it = (Point3) obj; + return x == it.x && y == it.y && z == it.z; + } + + @Override + public String toString() { + return "{" + x + ", " + y + ", " + z + "}"; + } +} diff --git a/opencv3/src/org/opencv/core/Range.java b/opencv3/src/org/opencv/core/Range.java new file mode 100644 index 0000000..f7eee4d --- /dev/null +++ b/opencv3/src/org/opencv/core/Range.java @@ -0,0 +1,82 @@ +package org.opencv.core; + +//javadoc:Range +public class Range { + + public int start, end; + + public Range(int s, int e) { + this.start = s; + this.end = e; + } + + public Range() { + this(0, 0); + } + + public Range(double[] vals) { + set(vals); + } + + public void set(double[] vals) { + if (vals != null) { + start = vals.length > 0 ? (int) vals[0] : 0; + end = vals.length > 1 ? (int) vals[1] : 0; + } else { + start = 0; + end = 0; + } + + } + + public int size() { + return empty() ? 0 : end - start; + } + + public boolean empty() { + return end <= start; + } + + public static Range all() { + return new Range(Integer.MIN_VALUE, Integer.MAX_VALUE); + } + + public Range intersection(Range r1) { + Range r = new Range(Math.max(r1.start, this.start), Math.min(r1.end, this.end)); + r.end = Math.max(r.end, r.start); + return r; + } + + public Range shift(int delta) { + return new Range(start + delta, end + delta); + } + + public Range clone() { + return new Range(start, end); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + long temp; + temp = Double.doubleToLongBits(start); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(end); + result = prime * result + (int) (temp ^ (temp >>> 32)); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (!(obj instanceof Range)) return false; + Range it = (Range) obj; + return start == it.start && end == it.end; + } + + @Override + public String toString() { + return "[" + start + ", " + end + ")"; + } +} diff --git a/opencv3/src/org/opencv/core/Rect.java b/opencv3/src/org/opencv/core/Rect.java new file mode 100644 index 0000000..8f3fad7 --- /dev/null +++ b/opencv3/src/org/opencv/core/Rect.java @@ -0,0 +1,100 @@ +package org.opencv.core; + +//javadoc:Rect_ +public class Rect { + + public int x, y, width, height; + + public Rect(int x, int y, int width, int height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + } + + public Rect() { + this(0, 0, 0, 0); + } + + public Rect(Point p1, Point p2) { + x = (int) (p1.x < p2.x ? p1.x : p2.x); + y = (int) (p1.y < p2.y ? p1.y : p2.y); + width = (int) (p1.x > p2.x ? p1.x : p2.x) - x; + height = (int) (p1.y > p2.y ? p1.y : p2.y) - y; + } + + public Rect(Point p, Size s) { + this((int) p.x, (int) p.y, (int) s.width, (int) s.height); + } + + public Rect(double[] vals) { + set(vals); + } + + public void set(double[] vals) { + if (vals != null) { + x = vals.length > 0 ? (int) vals[0] : 0; + y = vals.length > 1 ? (int) vals[1] : 0; + width = vals.length > 2 ? (int) vals[2] : 0; + height = vals.length > 3 ? (int) vals[3] : 0; + } else { + x = 0; + y = 0; + width = 0; + height = 0; + } + } + + public Rect clone() { + return new Rect(x, y, width, height); + } + + public Point tl() { + return new Point(x, y); + } + + public Point br() { + return new Point(x + width, y + height); + } + + public Size size() { + return new Size(width, height); + } + + public double area() { + return width * height; + } + + public boolean contains(Point p) { + return x <= p.x && p.x < x + width && y <= p.y && p.y < y + height; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + long temp; + temp = Double.doubleToLongBits(height); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(width); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(x); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(y); + result = prime * result + (int) (temp ^ (temp >>> 32)); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (!(obj instanceof Rect)) return false; + Rect it = (Rect) obj; + return x == it.x && y == it.y && width == it.width && height == it.height; + } + + @Override + public String toString() { + return "{" + x + ", " + y + ", " + width + "x" + height + "}"; + } +} diff --git a/opencv3/src/org/opencv/core/RotatedRect.java b/opencv3/src/org/opencv/core/RotatedRect.java new file mode 100644 index 0000000..f6d1163 --- /dev/null +++ b/opencv3/src/org/opencv/core/RotatedRect.java @@ -0,0 +1,113 @@ +package org.opencv.core; + +//javadoc:RotatedRect_ +public class RotatedRect { + + public Point center; + public Size size; + public double angle; + + public RotatedRect() { + this.center = new Point(); + this.size = new Size(); + this.angle = 0; + } + + public RotatedRect(Point c, Size s, double a) { + this.center = c.clone(); + this.size = s.clone(); + this.angle = a; + } + + public RotatedRect(double[] vals) { + this(); + set(vals); + } + + public void set(double[] vals) { + if (vals != null) { + center.x = vals.length > 0 ? (double) vals[0] : 0; + center.y = vals.length > 1 ? (double) vals[1] : 0; + size.width = vals.length > 2 ? (double) vals[2] : 0; + size.height = vals.length > 3 ? (double) vals[3] : 0; + angle = vals.length > 4 ? (double) vals[4] : 0; + } else { + center.x = 0; + center.x = 0; + size.width = 0; + size.height = 0; + angle = 0; + } + } + + public void points(Point pt[]) + { + double _angle = angle * Math.PI / 180.0; + double b = (double) Math.cos(_angle) * 0.5f; + double a = (double) Math.sin(_angle) * 0.5f; + + pt[0] = new Point( + center.x - a * size.height - b * size.width, + center.y + b * size.height - a * size.width); + + pt[1] = new Point( + center.x + a * size.height - b * size.width, + center.y - b * size.height - a * size.width); + + pt[2] = new Point( + 2 * center.x - pt[0].x, + 2 * center.y - pt[0].y); + + pt[3] = new Point( + 2 * center.x - pt[1].x, + 2 * center.y - pt[1].y); + } + + public Rect boundingRect() + { + Point pt[] = new Point[4]; + points(pt); + Rect r = new Rect((int) Math.floor(Math.min(Math.min(Math.min(pt[0].x, pt[1].x), pt[2].x), pt[3].x)), + (int) Math.floor(Math.min(Math.min(Math.min(pt[0].y, pt[1].y), pt[2].y), pt[3].y)), + (int) Math.ceil(Math.max(Math.max(Math.max(pt[0].x, pt[1].x), pt[2].x), pt[3].x)), + (int) Math.ceil(Math.max(Math.max(Math.max(pt[0].y, pt[1].y), pt[2].y), pt[3].y))); + r.width -= r.x - 1; + r.height -= r.y - 1; + return r; + } + + public RotatedRect clone() { + return new RotatedRect(center, size, angle); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + long temp; + temp = Double.doubleToLongBits(center.x); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(center.y); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(size.width); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(size.height); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(angle); + result = prime * result + (int) (temp ^ (temp >>> 32)); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (!(obj instanceof RotatedRect)) return false; + RotatedRect it = (RotatedRect) obj; + return center.equals(it.center) && size.equals(it.size) && angle == it.angle; + } + + @Override + public String toString() { + return "{ " + center + " " + size + " * " + angle + " }"; + } +} diff --git a/opencv3/src/org/opencv/core/Scalar.java b/opencv3/src/org/opencv/core/Scalar.java new file mode 100644 index 0000000..01676e4 --- /dev/null +++ b/opencv3/src/org/opencv/core/Scalar.java @@ -0,0 +1,90 @@ +package org.opencv.core; + +//javadoc:Scalar_ +public class Scalar { + + public double val[]; + + public Scalar(double v0, double v1, double v2, double v3) { + val = new double[] { v0, v1, v2, v3 }; + } + + public Scalar(double v0, double v1, double v2) { + val = new double[] { v0, v1, v2, 0 }; + } + + public Scalar(double v0, double v1) { + val = new double[] { v0, v1, 0, 0 }; + } + + public Scalar(double v0) { + val = new double[] { v0, 0, 0, 0 }; + } + + public Scalar(double[] vals) { + if (vals != null && vals.length == 4) + val = vals.clone(); + else { + val = new double[4]; + set(vals); + } + } + + public void set(double[] vals) { + if (vals != null) { + val[0] = vals.length > 0 ? vals[0] : 0; + val[1] = vals.length > 1 ? vals[1] : 0; + val[2] = vals.length > 2 ? vals[2] : 0; + val[3] = vals.length > 3 ? vals[3] : 0; + } else + val[0] = val[1] = val[2] = val[3] = 0; + } + + public static Scalar all(double v) { + return new Scalar(v, v, v, v); + } + + public Scalar clone() { + return new Scalar(val); + } + + public Scalar mul(Scalar it, double scale) { + return new Scalar(val[0] * it.val[0] * scale, val[1] * it.val[1] * scale, + val[2] * it.val[2] * scale, val[3] * it.val[3] * scale); + } + + public Scalar mul(Scalar it) { + return mul(it, 1); + } + + public Scalar conj() { + return new Scalar(val[0], -val[1], -val[2], -val[3]); + } + + public boolean isReal() { + return val[1] == 0 && val[2] == 0 && val[3] == 0; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + java.util.Arrays.hashCode(val); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (!(obj instanceof Scalar)) return false; + Scalar it = (Scalar) obj; + if (!java.util.Arrays.equals(val, it.val)) return false; + return true; + } + + @Override + public String toString() { + return "[" + val[0] + ", " + val[1] + ", " + val[2] + ", " + val[3] + "]"; + } + +} diff --git a/opencv3/src/org/opencv/core/Size.java b/opencv3/src/org/opencv/core/Size.java new file mode 100644 index 0000000..dcc5742 --- /dev/null +++ b/opencv3/src/org/opencv/core/Size.java @@ -0,0 +1,69 @@ +package org.opencv.core; + +//javadoc:Size_ +public class Size { + + public double width, height; + + public Size(double width, double height) { + this.width = width; + this.height = height; + } + + public Size() { + this(0, 0); + } + + public Size(Point p) { + width = p.x; + height = p.y; + } + + public Size(double[] vals) { + set(vals); + } + + public void set(double[] vals) { + if (vals != null) { + width = vals.length > 0 ? vals[0] : 0; + height = vals.length > 1 ? vals[1] : 0; + } else { + width = 0; + height = 0; + } + } + + public double area() { + return width * height; + } + + public Size clone() { + return new Size(width, height); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + long temp; + temp = Double.doubleToLongBits(height); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(width); + result = prime * result + (int) (temp ^ (temp >>> 32)); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (!(obj instanceof Size)) return false; + Size it = (Size) obj; + return width == it.width && height == it.height; + } + + @Override + public String toString() { + return (int)width + "x" + (int)height; + } + +} diff --git a/opencv3/src/org/opencv/core/TermCriteria.java b/opencv3/src/org/opencv/core/TermCriteria.java new file mode 100644 index 0000000..c67e51e --- /dev/null +++ b/opencv3/src/org/opencv/core/TermCriteria.java @@ -0,0 +1,92 @@ +package org.opencv.core; + +//javadoc:TermCriteria +public class TermCriteria { + + /** + * The maximum number of iterations or elements to compute + */ + public static final int COUNT = 1; + /** + * The maximum number of iterations or elements to compute + */ + public static final int MAX_ITER = COUNT; + /** + * The desired accuracy threshold or change in parameters at which the iterative algorithm is terminated. + */ + public static final int EPS = 2; + + public int type; + public int maxCount; + public double epsilon; + + /** + * Termination criteria for iterative algorithms. + * + * @param type + * the type of termination criteria: COUNT, EPS or COUNT + EPS. + * @param maxCount + * the maximum number of iterations/elements. + * @param epsilon + * the desired accuracy. + */ + public TermCriteria(int type, int maxCount, double epsilon) { + this.type = type; + this.maxCount = maxCount; + this.epsilon = epsilon; + } + + /** + * Termination criteria for iterative algorithms. + */ + public TermCriteria() { + this(0, 0, 0.0); + } + + public TermCriteria(double[] vals) { + set(vals); + } + + public void set(double[] vals) { + if (vals != null) { + type = vals.length > 0 ? (int) vals[0] : 0; + maxCount = vals.length > 1 ? (int) vals[1] : 0; + epsilon = vals.length > 2 ? (double) vals[2] : 0; + } else { + type = 0; + maxCount = 0; + epsilon = 0; + } + } + + public TermCriteria clone() { + return new TermCriteria(type, maxCount, epsilon); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + long temp; + temp = Double.doubleToLongBits(type); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(maxCount); + result = prime * result + (int) (temp ^ (temp >>> 32)); + temp = Double.doubleToLongBits(epsilon); + result = prime * result + (int) (temp ^ (temp >>> 32)); + return result; + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (!(obj instanceof TermCriteria)) return false; + TermCriteria it = (TermCriteria) obj; + return type == it.type && maxCount == it.maxCount && epsilon == it.epsilon; + } + + @Override + public String toString() { + return "{ type: " + type + ", maxCount: " + maxCount + ", epsilon: " + epsilon + "}"; + } +} diff --git a/opencv3/src/org/opencv/engine/OpenCVEngineInterface.aidl b/opencv3/src/org/opencv/engine/OpenCVEngineInterface.aidl new file mode 100644 index 0000000..21fe5f7 --- /dev/null +++ b/opencv3/src/org/opencv/engine/OpenCVEngineInterface.aidl @@ -0,0 +1,33 @@ +package org.opencv.engine; + +/** +* Class provides a Java interface for OpenCV Engine Service. It's synchronous with native OpenCVEngine class. +*/ +interface OpenCVEngineInterface +{ + /** + * @return Returns service version. + */ + int getEngineVersion(); + + /** + * Finds an installed OpenCV library. + * @param OpenCV version. + * @return Returns path to OpenCV native libs or an empty string if OpenCV can not be found. + */ + String getLibPathByVersion(String version); + + /** + * Tries to install defined version of OpenCV from Google Play Market. + * @param OpenCV version. + * @return Returns true if installation was successful or OpenCV package has been already installed. + */ + boolean installVersion(String version); + + /** + * Returns list of libraries in loading order, separated by semicolon. + * @param OpenCV version. + * @return Returns names of OpenCV libraries, separated by semicolon. + */ + String getLibraryList(String version); +} diff --git a/opencv3/src/org/opencv/features2d/DescriptorExtractor.java b/opencv3/src/org/opencv/features2d/DescriptorExtractor.java new file mode 100644 index 0000000..1d5ff9a --- /dev/null +++ b/opencv3/src/org/opencv/features2d/DescriptorExtractor.java @@ -0,0 +1,195 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.features2d; + +import java.lang.String; +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfKeyPoint; +import org.opencv.utils.Converters; + +// C++: class javaDescriptorExtractor +//javadoc: javaDescriptorExtractor +public class DescriptorExtractor { + + protected final long nativeObj; + protected DescriptorExtractor(long addr) { nativeObj = addr; } + + + private static final int + OPPONENTEXTRACTOR = 1000; + + + public static final int + SIFT = 1, + SURF = 2, + ORB = 3, + BRIEF = 4, + BRISK = 5, + FREAK = 6, + AKAZE = 7, + OPPONENT_SIFT = OPPONENTEXTRACTOR + SIFT, + OPPONENT_SURF = OPPONENTEXTRACTOR + SURF, + OPPONENT_ORB = OPPONENTEXTRACTOR + ORB, + OPPONENT_BRIEF = OPPONENTEXTRACTOR + BRIEF, + OPPONENT_BRISK = OPPONENTEXTRACTOR + BRISK, + OPPONENT_FREAK = OPPONENTEXTRACTOR + FREAK, + OPPONENT_AKAZE = OPPONENTEXTRACTOR + AKAZE; + + + // + // C++: void compute(Mat image, vector_KeyPoint& keypoints, Mat descriptors) + // + + //javadoc: javaDescriptorExtractor::compute(image, keypoints, descriptors) + public void compute(Mat image, MatOfKeyPoint keypoints, Mat descriptors) + { + Mat keypoints_mat = keypoints; + compute_0(nativeObj, image.nativeObj, keypoints_mat.nativeObj, descriptors.nativeObj); + + return; + } + + + // + // C++: void compute(vector_Mat images, vector_vector_KeyPoint& keypoints, vector_Mat& descriptors) + // + + //javadoc: javaDescriptorExtractor::compute(images, keypoints, descriptors) + public void compute(List images, List keypoints, List descriptors) + { + Mat images_mat = Converters.vector_Mat_to_Mat(images); + List keypoints_tmplm = new ArrayList((keypoints != null) ? keypoints.size() : 0); + Mat keypoints_mat = Converters.vector_vector_KeyPoint_to_Mat(keypoints, keypoints_tmplm); + Mat descriptors_mat = new Mat(); + compute_1(nativeObj, images_mat.nativeObj, keypoints_mat.nativeObj, descriptors_mat.nativeObj); + Converters.Mat_to_vector_vector_KeyPoint(keypoints_mat, keypoints); + keypoints_mat.release(); + Converters.Mat_to_vector_Mat(descriptors_mat, descriptors); + descriptors_mat.release(); + return; + } + + + // + // C++: int descriptorSize() + // + + //javadoc: javaDescriptorExtractor::descriptorSize() + public int descriptorSize() + { + + int retVal = descriptorSize_0(nativeObj); + + return retVal; + } + + + // + // C++: int descriptorType() + // + + //javadoc: javaDescriptorExtractor::descriptorType() + public int descriptorType() + { + + int retVal = descriptorType_0(nativeObj); + + return retVal; + } + + + // + // C++: bool empty() + // + + //javadoc: javaDescriptorExtractor::empty() + public boolean empty() + { + + boolean retVal = empty_0(nativeObj); + + return retVal; + } + + + // + // C++: static javaDescriptorExtractor* create(int extractorType) + // + + //javadoc: javaDescriptorExtractor::create(extractorType) + public static DescriptorExtractor create(int extractorType) + { + + DescriptorExtractor retVal = new DescriptorExtractor(create_0(extractorType)); + + return retVal; + } + + + // + // C++: void write(String fileName) + // + + //javadoc: javaDescriptorExtractor::write(fileName) + public void write(String fileName) + { + + write_0(nativeObj, fileName); + + return; + } + + + // + // C++: void read(String fileName) + // + + //javadoc: javaDescriptorExtractor::read(fileName) + public void read(String fileName) + { + + read_0(nativeObj, fileName); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void compute(Mat image, vector_KeyPoint& keypoints, Mat descriptors) + private static native void compute_0(long nativeObj, long image_nativeObj, long keypoints_mat_nativeObj, long descriptors_nativeObj); + + // C++: void compute(vector_Mat images, vector_vector_KeyPoint& keypoints, vector_Mat& descriptors) + private static native void compute_1(long nativeObj, long images_mat_nativeObj, long keypoints_mat_nativeObj, long descriptors_mat_nativeObj); + + // C++: int descriptorSize() + private static native int descriptorSize_0(long nativeObj); + + // C++: int descriptorType() + private static native int descriptorType_0(long nativeObj); + + // C++: bool empty() + private static native boolean empty_0(long nativeObj); + + // C++: static javaDescriptorExtractor* create(int extractorType) + private static native long create_0(int extractorType); + + // C++: void write(String fileName) + private static native void write_0(long nativeObj, String fileName); + + // C++: void read(String fileName) + private static native void read_0(long nativeObj, String fileName); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/features2d/DescriptorMatcher.java b/opencv3/src/org/opencv/features2d/DescriptorMatcher.java new file mode 100644 index 0000000..7123751 --- /dev/null +++ b/opencv3/src/org/opencv/features2d/DescriptorMatcher.java @@ -0,0 +1,394 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.features2d; + +import java.lang.String; +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfDMatch; +import org.opencv.utils.Converters; + +// C++: class javaDescriptorMatcher +//javadoc: javaDescriptorMatcher +public class DescriptorMatcher { + + protected final long nativeObj; + protected DescriptorMatcher(long addr) { nativeObj = addr; } + + + public static final int + FLANNBASED = 1, + BRUTEFORCE = 2, + BRUTEFORCE_L1 = 3, + BRUTEFORCE_HAMMING = 4, + BRUTEFORCE_HAMMINGLUT = 5, + BRUTEFORCE_SL2 = 6; + + + // + // C++: bool isMaskSupported() + // + + //javadoc: javaDescriptorMatcher::isMaskSupported() + public boolean isMaskSupported() + { + + boolean retVal = isMaskSupported_0(nativeObj); + + return retVal; + } + + + // + // C++: void add(vector_Mat descriptors) + // + + //javadoc: javaDescriptorMatcher::add(descriptors) + public void add(List descriptors) + { + Mat descriptors_mat = Converters.vector_Mat_to_Mat(descriptors); + add_0(nativeObj, descriptors_mat.nativeObj); + + return; + } + + + // + // C++: vector_Mat getTrainDescriptors() + // + + //javadoc: javaDescriptorMatcher::getTrainDescriptors() + public List getTrainDescriptors() + { + List retVal = new ArrayList(); + Mat retValMat = new Mat(getTrainDescriptors_0(nativeObj)); + Converters.Mat_to_vector_Mat(retValMat, retVal); + return retVal; + } + + + // + // C++: void clear() + // + + //javadoc: javaDescriptorMatcher::clear() + public void clear() + { + + clear_0(nativeObj); + + return; + } + + + // + // C++: bool empty() + // + + //javadoc: javaDescriptorMatcher::empty() + public boolean empty() + { + + boolean retVal = empty_0(nativeObj); + + return retVal; + } + + + // + // C++: void train() + // + + //javadoc: javaDescriptorMatcher::train() + public void train() + { + + train_0(nativeObj); + + return; + } + + + // + // C++: void match(Mat queryDescriptors, Mat trainDescriptors, vector_DMatch& matches, Mat mask = Mat()) + // + + //javadoc: javaDescriptorMatcher::match(queryDescriptors, trainDescriptors, matches, mask) + public void match(Mat queryDescriptors, Mat trainDescriptors, MatOfDMatch matches, Mat mask) + { + Mat matches_mat = matches; + match_0(nativeObj, queryDescriptors.nativeObj, trainDescriptors.nativeObj, matches_mat.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: javaDescriptorMatcher::match(queryDescriptors, trainDescriptors, matches) + public void match(Mat queryDescriptors, Mat trainDescriptors, MatOfDMatch matches) + { + Mat matches_mat = matches; + match_1(nativeObj, queryDescriptors.nativeObj, trainDescriptors.nativeObj, matches_mat.nativeObj); + + return; + } + + + // + // C++: void knnMatch(Mat queryDescriptors, Mat trainDescriptors, vector_vector_DMatch& matches, int k, Mat mask = Mat(), bool compactResult = false) + // + + //javadoc: javaDescriptorMatcher::knnMatch(queryDescriptors, trainDescriptors, matches, k, mask, compactResult) + public void knnMatch(Mat queryDescriptors, Mat trainDescriptors, List matches, int k, Mat mask, boolean compactResult) + { + Mat matches_mat = new Mat(); + knnMatch_0(nativeObj, queryDescriptors.nativeObj, trainDescriptors.nativeObj, matches_mat.nativeObj, k, mask.nativeObj, compactResult); + Converters.Mat_to_vector_vector_DMatch(matches_mat, matches); + matches_mat.release(); + return; + } + + //javadoc: javaDescriptorMatcher::knnMatch(queryDescriptors, trainDescriptors, matches, k) + public void knnMatch(Mat queryDescriptors, Mat trainDescriptors, List matches, int k) + { + Mat matches_mat = new Mat(); + knnMatch_1(nativeObj, queryDescriptors.nativeObj, trainDescriptors.nativeObj, matches_mat.nativeObj, k); + Converters.Mat_to_vector_vector_DMatch(matches_mat, matches); + matches_mat.release(); + return; + } + + + // + // C++: void radiusMatch(Mat queryDescriptors, Mat trainDescriptors, vector_vector_DMatch& matches, float maxDistance, Mat mask = Mat(), bool compactResult = false) + // + + //javadoc: javaDescriptorMatcher::radiusMatch(queryDescriptors, trainDescriptors, matches, maxDistance, mask, compactResult) + public void radiusMatch(Mat queryDescriptors, Mat trainDescriptors, List matches, float maxDistance, Mat mask, boolean compactResult) + { + Mat matches_mat = new Mat(); + radiusMatch_0(nativeObj, queryDescriptors.nativeObj, trainDescriptors.nativeObj, matches_mat.nativeObj, maxDistance, mask.nativeObj, compactResult); + Converters.Mat_to_vector_vector_DMatch(matches_mat, matches); + matches_mat.release(); + return; + } + + //javadoc: javaDescriptorMatcher::radiusMatch(queryDescriptors, trainDescriptors, matches, maxDistance) + public void radiusMatch(Mat queryDescriptors, Mat trainDescriptors, List matches, float maxDistance) + { + Mat matches_mat = new Mat(); + radiusMatch_1(nativeObj, queryDescriptors.nativeObj, trainDescriptors.nativeObj, matches_mat.nativeObj, maxDistance); + Converters.Mat_to_vector_vector_DMatch(matches_mat, matches); + matches_mat.release(); + return; + } + + + // + // C++: void match(Mat queryDescriptors, vector_DMatch& matches, vector_Mat masks = std::vector()) + // + + //javadoc: javaDescriptorMatcher::match(queryDescriptors, matches, masks) + public void match(Mat queryDescriptors, MatOfDMatch matches, List masks) + { + Mat matches_mat = matches; + Mat masks_mat = Converters.vector_Mat_to_Mat(masks); + match_2(nativeObj, queryDescriptors.nativeObj, matches_mat.nativeObj, masks_mat.nativeObj); + + return; + } + + //javadoc: javaDescriptorMatcher::match(queryDescriptors, matches) + public void match(Mat queryDescriptors, MatOfDMatch matches) + { + Mat matches_mat = matches; + match_3(nativeObj, queryDescriptors.nativeObj, matches_mat.nativeObj); + + return; + } + + + // + // C++: void knnMatch(Mat queryDescriptors, vector_vector_DMatch& matches, int k, vector_Mat masks = std::vector(), bool compactResult = false) + // + + //javadoc: javaDescriptorMatcher::knnMatch(queryDescriptors, matches, k, masks, compactResult) + public void knnMatch(Mat queryDescriptors, List matches, int k, List masks, boolean compactResult) + { + Mat matches_mat = new Mat(); + Mat masks_mat = Converters.vector_Mat_to_Mat(masks); + knnMatch_2(nativeObj, queryDescriptors.nativeObj, matches_mat.nativeObj, k, masks_mat.nativeObj, compactResult); + Converters.Mat_to_vector_vector_DMatch(matches_mat, matches); + matches_mat.release(); + return; + } + + //javadoc: javaDescriptorMatcher::knnMatch(queryDescriptors, matches, k) + public void knnMatch(Mat queryDescriptors, List matches, int k) + { + Mat matches_mat = new Mat(); + knnMatch_3(nativeObj, queryDescriptors.nativeObj, matches_mat.nativeObj, k); + Converters.Mat_to_vector_vector_DMatch(matches_mat, matches); + matches_mat.release(); + return; + } + + + // + // C++: void radiusMatch(Mat queryDescriptors, vector_vector_DMatch& matches, float maxDistance, vector_Mat masks = std::vector(), bool compactResult = false) + // + + //javadoc: javaDescriptorMatcher::radiusMatch(queryDescriptors, matches, maxDistance, masks, compactResult) + public void radiusMatch(Mat queryDescriptors, List matches, float maxDistance, List masks, boolean compactResult) + { + Mat matches_mat = new Mat(); + Mat masks_mat = Converters.vector_Mat_to_Mat(masks); + radiusMatch_2(nativeObj, queryDescriptors.nativeObj, matches_mat.nativeObj, maxDistance, masks_mat.nativeObj, compactResult); + Converters.Mat_to_vector_vector_DMatch(matches_mat, matches); + matches_mat.release(); + return; + } + + //javadoc: javaDescriptorMatcher::radiusMatch(queryDescriptors, matches, maxDistance) + public void radiusMatch(Mat queryDescriptors, List matches, float maxDistance) + { + Mat matches_mat = new Mat(); + radiusMatch_3(nativeObj, queryDescriptors.nativeObj, matches_mat.nativeObj, maxDistance); + Converters.Mat_to_vector_vector_DMatch(matches_mat, matches); + matches_mat.release(); + return; + } + + + // + // C++: javaDescriptorMatcher* jclone(bool emptyTrainData = false) + // + + //javadoc: javaDescriptorMatcher::jclone(emptyTrainData) + public DescriptorMatcher clone(boolean emptyTrainData) + { + + DescriptorMatcher retVal = new DescriptorMatcher(clone_0(nativeObj, emptyTrainData)); + + return retVal; + } + + //javadoc: javaDescriptorMatcher::jclone() + public DescriptorMatcher clone() + { + + DescriptorMatcher retVal = new DescriptorMatcher(clone_1(nativeObj)); + + return retVal; + } + + + // + // C++: static javaDescriptorMatcher* create(int matcherType) + // + + //javadoc: javaDescriptorMatcher::create(matcherType) + public static DescriptorMatcher create(int matcherType) + { + + DescriptorMatcher retVal = new DescriptorMatcher(create_0(matcherType)); + + return retVal; + } + + + // + // C++: void write(String fileName) + // + + //javadoc: javaDescriptorMatcher::write(fileName) + public void write(String fileName) + { + + write_0(nativeObj, fileName); + + return; + } + + + // + // C++: void read(String fileName) + // + + //javadoc: javaDescriptorMatcher::read(fileName) + public void read(String fileName) + { + + read_0(nativeObj, fileName); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: bool isMaskSupported() + private static native boolean isMaskSupported_0(long nativeObj); + + // C++: void add(vector_Mat descriptors) + private static native void add_0(long nativeObj, long descriptors_mat_nativeObj); + + // C++: vector_Mat getTrainDescriptors() + private static native long getTrainDescriptors_0(long nativeObj); + + // C++: void clear() + private static native void clear_0(long nativeObj); + + // C++: bool empty() + private static native boolean empty_0(long nativeObj); + + // C++: void train() + private static native void train_0(long nativeObj); + + // C++: void match(Mat queryDescriptors, Mat trainDescriptors, vector_DMatch& matches, Mat mask = Mat()) + private static native void match_0(long nativeObj, long queryDescriptors_nativeObj, long trainDescriptors_nativeObj, long matches_mat_nativeObj, long mask_nativeObj); + private static native void match_1(long nativeObj, long queryDescriptors_nativeObj, long trainDescriptors_nativeObj, long matches_mat_nativeObj); + + // C++: void knnMatch(Mat queryDescriptors, Mat trainDescriptors, vector_vector_DMatch& matches, int k, Mat mask = Mat(), bool compactResult = false) + private static native void knnMatch_0(long nativeObj, long queryDescriptors_nativeObj, long trainDescriptors_nativeObj, long matches_mat_nativeObj, int k, long mask_nativeObj, boolean compactResult); + private static native void knnMatch_1(long nativeObj, long queryDescriptors_nativeObj, long trainDescriptors_nativeObj, long matches_mat_nativeObj, int k); + + // C++: void radiusMatch(Mat queryDescriptors, Mat trainDescriptors, vector_vector_DMatch& matches, float maxDistance, Mat mask = Mat(), bool compactResult = false) + private static native void radiusMatch_0(long nativeObj, long queryDescriptors_nativeObj, long trainDescriptors_nativeObj, long matches_mat_nativeObj, float maxDistance, long mask_nativeObj, boolean compactResult); + private static native void radiusMatch_1(long nativeObj, long queryDescriptors_nativeObj, long trainDescriptors_nativeObj, long matches_mat_nativeObj, float maxDistance); + + // C++: void match(Mat queryDescriptors, vector_DMatch& matches, vector_Mat masks = std::vector()) + private static native void match_2(long nativeObj, long queryDescriptors_nativeObj, long matches_mat_nativeObj, long masks_mat_nativeObj); + private static native void match_3(long nativeObj, long queryDescriptors_nativeObj, long matches_mat_nativeObj); + + // C++: void knnMatch(Mat queryDescriptors, vector_vector_DMatch& matches, int k, vector_Mat masks = std::vector(), bool compactResult = false) + private static native void knnMatch_2(long nativeObj, long queryDescriptors_nativeObj, long matches_mat_nativeObj, int k, long masks_mat_nativeObj, boolean compactResult); + private static native void knnMatch_3(long nativeObj, long queryDescriptors_nativeObj, long matches_mat_nativeObj, int k); + + // C++: void radiusMatch(Mat queryDescriptors, vector_vector_DMatch& matches, float maxDistance, vector_Mat masks = std::vector(), bool compactResult = false) + private static native void radiusMatch_2(long nativeObj, long queryDescriptors_nativeObj, long matches_mat_nativeObj, float maxDistance, long masks_mat_nativeObj, boolean compactResult); + private static native void radiusMatch_3(long nativeObj, long queryDescriptors_nativeObj, long matches_mat_nativeObj, float maxDistance); + + // C++: javaDescriptorMatcher* jclone(bool emptyTrainData = false) + private static native long clone_0(long nativeObj, boolean emptyTrainData); + private static native long clone_1(long nativeObj); + + // C++: static javaDescriptorMatcher* create(int matcherType) + private static native long create_0(int matcherType); + + // C++: void write(String fileName) + private static native void write_0(long nativeObj, String fileName); + + // C++: void read(String fileName) + private static native void read_0(long nativeObj, String fileName); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/features2d/FeatureDetector.java b/opencv3/src/org/opencv/features2d/FeatureDetector.java new file mode 100644 index 0000000..25cdf33 --- /dev/null +++ b/opencv3/src/org/opencv/features2d/FeatureDetector.java @@ -0,0 +1,216 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.features2d; + +import java.lang.String; +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfKeyPoint; +import org.opencv.utils.Converters; + +// C++: class javaFeatureDetector +//javadoc: javaFeatureDetector +public class FeatureDetector { + + protected final long nativeObj; + protected FeatureDetector(long addr) { nativeObj = addr; } + + + private static final int + GRIDDETECTOR = 1000, + PYRAMIDDETECTOR = 2000, + DYNAMICDETECTOR = 3000; + + + public static final int + FAST = 1, + STAR = 2, + SIFT = 3, + SURF = 4, + ORB = 5, + MSER = 6, + GFTT = 7, + HARRIS = 8, + SIMPLEBLOB = 9, + DENSE = 10, + BRISK = 11, + AKAZE = 12, + GRID_FAST = GRIDDETECTOR + FAST, + GRID_STAR = GRIDDETECTOR + STAR, + GRID_SIFT = GRIDDETECTOR + SIFT, + GRID_SURF = GRIDDETECTOR + SURF, + GRID_ORB = GRIDDETECTOR + ORB, + GRID_MSER = GRIDDETECTOR + MSER, + GRID_GFTT = GRIDDETECTOR + GFTT, + GRID_HARRIS = GRIDDETECTOR + HARRIS, + GRID_SIMPLEBLOB = GRIDDETECTOR + SIMPLEBLOB, + GRID_DENSE = GRIDDETECTOR + DENSE, + GRID_BRISK = GRIDDETECTOR + BRISK, + GRID_AKAZE = GRIDDETECTOR + AKAZE, + PYRAMID_FAST = PYRAMIDDETECTOR + FAST, + PYRAMID_STAR = PYRAMIDDETECTOR + STAR, + PYRAMID_SIFT = PYRAMIDDETECTOR + SIFT, + PYRAMID_SURF = PYRAMIDDETECTOR + SURF, + PYRAMID_ORB = PYRAMIDDETECTOR + ORB, + PYRAMID_MSER = PYRAMIDDETECTOR + MSER, + PYRAMID_GFTT = PYRAMIDDETECTOR + GFTT, + PYRAMID_HARRIS = PYRAMIDDETECTOR + HARRIS, + PYRAMID_SIMPLEBLOB = PYRAMIDDETECTOR + SIMPLEBLOB, + PYRAMID_DENSE = PYRAMIDDETECTOR + DENSE, + PYRAMID_BRISK = PYRAMIDDETECTOR + BRISK, + PYRAMID_AKAZE = PYRAMIDDETECTOR + AKAZE, + DYNAMIC_FAST = DYNAMICDETECTOR + FAST, + DYNAMIC_STAR = DYNAMICDETECTOR + STAR, + DYNAMIC_SIFT = DYNAMICDETECTOR + SIFT, + DYNAMIC_SURF = DYNAMICDETECTOR + SURF, + DYNAMIC_ORB = DYNAMICDETECTOR + ORB, + DYNAMIC_MSER = DYNAMICDETECTOR + MSER, + DYNAMIC_GFTT = DYNAMICDETECTOR + GFTT, + DYNAMIC_HARRIS = DYNAMICDETECTOR + HARRIS, + DYNAMIC_SIMPLEBLOB = DYNAMICDETECTOR + SIMPLEBLOB, + DYNAMIC_DENSE = DYNAMICDETECTOR + DENSE, + DYNAMIC_BRISK = DYNAMICDETECTOR + BRISK, + DYNAMIC_AKAZE = DYNAMICDETECTOR + AKAZE; + + + // + // C++: void detect(Mat image, vector_KeyPoint& keypoints, Mat mask = Mat()) + // + + //javadoc: javaFeatureDetector::detect(image, keypoints, mask) + public void detect(Mat image, MatOfKeyPoint keypoints, Mat mask) + { + Mat keypoints_mat = keypoints; + detect_0(nativeObj, image.nativeObj, keypoints_mat.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: javaFeatureDetector::detect(image, keypoints) + public void detect(Mat image, MatOfKeyPoint keypoints) + { + Mat keypoints_mat = keypoints; + detect_1(nativeObj, image.nativeObj, keypoints_mat.nativeObj); + + return; + } + + + // + // C++: void detect(vector_Mat images, vector_vector_KeyPoint& keypoints, vector_Mat masks = std::vector()) + // + + //javadoc: javaFeatureDetector::detect(images, keypoints, masks) + public void detect(List images, List keypoints, List masks) + { + Mat images_mat = Converters.vector_Mat_to_Mat(images); + Mat keypoints_mat = new Mat(); + Mat masks_mat = Converters.vector_Mat_to_Mat(masks); + detect_2(nativeObj, images_mat.nativeObj, keypoints_mat.nativeObj, masks_mat.nativeObj); + Converters.Mat_to_vector_vector_KeyPoint(keypoints_mat, keypoints); + keypoints_mat.release(); + return; + } + + //javadoc: javaFeatureDetector::detect(images, keypoints) + public void detect(List images, List keypoints) + { + Mat images_mat = Converters.vector_Mat_to_Mat(images); + Mat keypoints_mat = new Mat(); + detect_3(nativeObj, images_mat.nativeObj, keypoints_mat.nativeObj); + Converters.Mat_to_vector_vector_KeyPoint(keypoints_mat, keypoints); + keypoints_mat.release(); + return; + } + + + // + // C++: bool empty() + // + + //javadoc: javaFeatureDetector::empty() + public boolean empty() + { + + boolean retVal = empty_0(nativeObj); + + return retVal; + } + + + // + // C++: static javaFeatureDetector* create(int detectorType) + // + + //javadoc: javaFeatureDetector::create(detectorType) + public static FeatureDetector create(int detectorType) + { + + FeatureDetector retVal = new FeatureDetector(create_0(detectorType)); + + return retVal; + } + + + // + // C++: void write(String fileName) + // + + //javadoc: javaFeatureDetector::write(fileName) + public void write(String fileName) + { + + write_0(nativeObj, fileName); + + return; + } + + + // + // C++: void read(String fileName) + // + + //javadoc: javaFeatureDetector::read(fileName) + public void read(String fileName) + { + + read_0(nativeObj, fileName); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void detect(Mat image, vector_KeyPoint& keypoints, Mat mask = Mat()) + private static native void detect_0(long nativeObj, long image_nativeObj, long keypoints_mat_nativeObj, long mask_nativeObj); + private static native void detect_1(long nativeObj, long image_nativeObj, long keypoints_mat_nativeObj); + + // C++: void detect(vector_Mat images, vector_vector_KeyPoint& keypoints, vector_Mat masks = std::vector()) + private static native void detect_2(long nativeObj, long images_mat_nativeObj, long keypoints_mat_nativeObj, long masks_mat_nativeObj); + private static native void detect_3(long nativeObj, long images_mat_nativeObj, long keypoints_mat_nativeObj); + + // C++: bool empty() + private static native boolean empty_0(long nativeObj); + + // C++: static javaFeatureDetector* create(int detectorType) + private static native long create_0(int detectorType); + + // C++: void write(String fileName) + private static native void write_0(long nativeObj, String fileName); + + // C++: void read(String fileName) + private static native void read_0(long nativeObj, String fileName); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/features2d/Features2d.java b/opencv3/src/org/opencv/features2d/Features2d.java new file mode 100644 index 0000000..9260327 --- /dev/null +++ b/opencv3/src/org/opencv/features2d/Features2d.java @@ -0,0 +1,120 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.features2d; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfByte; +import org.opencv.core.MatOfDMatch; +import org.opencv.core.MatOfKeyPoint; +import org.opencv.core.Scalar; +import org.opencv.utils.Converters; + +public class Features2d { + + public static final int + DRAW_OVER_OUTIMG = 1, + NOT_DRAW_SINGLE_POINTS = 2, + DRAW_RICH_KEYPOINTS = 4; + + + // + // C++: void drawKeypoints(Mat image, vector_KeyPoint keypoints, Mat outImage, Scalar color = Scalar::all(-1), int flags = 0) + // + + //javadoc: drawKeypoints(image, keypoints, outImage, color, flags) + public static void drawKeypoints(Mat image, MatOfKeyPoint keypoints, Mat outImage, Scalar color, int flags) + { + Mat keypoints_mat = keypoints; + drawKeypoints_0(image.nativeObj, keypoints_mat.nativeObj, outImage.nativeObj, color.val[0], color.val[1], color.val[2], color.val[3], flags); + + return; + } + + //javadoc: drawKeypoints(image, keypoints, outImage) + public static void drawKeypoints(Mat image, MatOfKeyPoint keypoints, Mat outImage) + { + Mat keypoints_mat = keypoints; + drawKeypoints_1(image.nativeObj, keypoints_mat.nativeObj, outImage.nativeObj); + + return; + } + + + // + // C++: void drawMatches(Mat img1, vector_KeyPoint keypoints1, Mat img2, vector_KeyPoint keypoints2, vector_DMatch matches1to2, Mat outImg, Scalar matchColor = Scalar::all(-1), Scalar singlePointColor = Scalar::all(-1), vector_char matchesMask = std::vector(), int flags = 0) + // + + //javadoc: drawMatches(img1, keypoints1, img2, keypoints2, matches1to2, outImg, matchColor, singlePointColor, matchesMask, flags) + public static void drawMatches(Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg, Scalar matchColor, Scalar singlePointColor, MatOfByte matchesMask, int flags) + { + Mat keypoints1_mat = keypoints1; + Mat keypoints2_mat = keypoints2; + Mat matches1to2_mat = matches1to2; + Mat matchesMask_mat = matchesMask; + drawMatches_0(img1.nativeObj, keypoints1_mat.nativeObj, img2.nativeObj, keypoints2_mat.nativeObj, matches1to2_mat.nativeObj, outImg.nativeObj, matchColor.val[0], matchColor.val[1], matchColor.val[2], matchColor.val[3], singlePointColor.val[0], singlePointColor.val[1], singlePointColor.val[2], singlePointColor.val[3], matchesMask_mat.nativeObj, flags); + + return; + } + + //javadoc: drawMatches(img1, keypoints1, img2, keypoints2, matches1to2, outImg) + public static void drawMatches(Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, MatOfDMatch matches1to2, Mat outImg) + { + Mat keypoints1_mat = keypoints1; + Mat keypoints2_mat = keypoints2; + Mat matches1to2_mat = matches1to2; + drawMatches_1(img1.nativeObj, keypoints1_mat.nativeObj, img2.nativeObj, keypoints2_mat.nativeObj, matches1to2_mat.nativeObj, outImg.nativeObj); + + return; + } + + + // + // C++: void drawMatches(Mat img1, vector_KeyPoint keypoints1, Mat img2, vector_KeyPoint keypoints2, vector_vector_DMatch matches1to2, Mat outImg, Scalar matchColor = Scalar::all(-1), Scalar singlePointColor = Scalar::all(-1), vector_vector_char matchesMask = std::vector >(), int flags = 0) + // + + //javadoc: drawMatches(img1, keypoints1, img2, keypoints2, matches1to2, outImg, matchColor, singlePointColor, matchesMask, flags) + public static void drawMatches2(Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List matches1to2, Mat outImg, Scalar matchColor, Scalar singlePointColor, List matchesMask, int flags) + { + Mat keypoints1_mat = keypoints1; + Mat keypoints2_mat = keypoints2; + List matches1to2_tmplm = new ArrayList((matches1to2 != null) ? matches1to2.size() : 0); + Mat matches1to2_mat = Converters.vector_vector_DMatch_to_Mat(matches1to2, matches1to2_tmplm); + List matchesMask_tmplm = new ArrayList((matchesMask != null) ? matchesMask.size() : 0); + Mat matchesMask_mat = Converters.vector_vector_char_to_Mat(matchesMask, matchesMask_tmplm); + drawMatches2_0(img1.nativeObj, keypoints1_mat.nativeObj, img2.nativeObj, keypoints2_mat.nativeObj, matches1to2_mat.nativeObj, outImg.nativeObj, matchColor.val[0], matchColor.val[1], matchColor.val[2], matchColor.val[3], singlePointColor.val[0], singlePointColor.val[1], singlePointColor.val[2], singlePointColor.val[3], matchesMask_mat.nativeObj, flags); + + return; + } + + //javadoc: drawMatches(img1, keypoints1, img2, keypoints2, matches1to2, outImg) + public static void drawMatches2(Mat img1, MatOfKeyPoint keypoints1, Mat img2, MatOfKeyPoint keypoints2, List matches1to2, Mat outImg) + { + Mat keypoints1_mat = keypoints1; + Mat keypoints2_mat = keypoints2; + List matches1to2_tmplm = new ArrayList((matches1to2 != null) ? matches1to2.size() : 0); + Mat matches1to2_mat = Converters.vector_vector_DMatch_to_Mat(matches1to2, matches1to2_tmplm); + drawMatches2_1(img1.nativeObj, keypoints1_mat.nativeObj, img2.nativeObj, keypoints2_mat.nativeObj, matches1to2_mat.nativeObj, outImg.nativeObj); + + return; + } + + + + + // C++: void drawKeypoints(Mat image, vector_KeyPoint keypoints, Mat outImage, Scalar color = Scalar::all(-1), int flags = 0) + private static native void drawKeypoints_0(long image_nativeObj, long keypoints_mat_nativeObj, long outImage_nativeObj, double color_val0, double color_val1, double color_val2, double color_val3, int flags); + private static native void drawKeypoints_1(long image_nativeObj, long keypoints_mat_nativeObj, long outImage_nativeObj); + + // C++: void drawMatches(Mat img1, vector_KeyPoint keypoints1, Mat img2, vector_KeyPoint keypoints2, vector_DMatch matches1to2, Mat outImg, Scalar matchColor = Scalar::all(-1), Scalar singlePointColor = Scalar::all(-1), vector_char matchesMask = std::vector(), int flags = 0) + private static native void drawMatches_0(long img1_nativeObj, long keypoints1_mat_nativeObj, long img2_nativeObj, long keypoints2_mat_nativeObj, long matches1to2_mat_nativeObj, long outImg_nativeObj, double matchColor_val0, double matchColor_val1, double matchColor_val2, double matchColor_val3, double singlePointColor_val0, double singlePointColor_val1, double singlePointColor_val2, double singlePointColor_val3, long matchesMask_mat_nativeObj, int flags); + private static native void drawMatches_1(long img1_nativeObj, long keypoints1_mat_nativeObj, long img2_nativeObj, long keypoints2_mat_nativeObj, long matches1to2_mat_nativeObj, long outImg_nativeObj); + + // C++: void drawMatches(Mat img1, vector_KeyPoint keypoints1, Mat img2, vector_KeyPoint keypoints2, vector_vector_DMatch matches1to2, Mat outImg, Scalar matchColor = Scalar::all(-1), Scalar singlePointColor = Scalar::all(-1), vector_vector_char matchesMask = std::vector >(), int flags = 0) + private static native void drawMatches2_0(long img1_nativeObj, long keypoints1_mat_nativeObj, long img2_nativeObj, long keypoints2_mat_nativeObj, long matches1to2_mat_nativeObj, long outImg_nativeObj, double matchColor_val0, double matchColor_val1, double matchColor_val2, double matchColor_val3, double singlePointColor_val0, double singlePointColor_val1, double singlePointColor_val2, double singlePointColor_val3, long matchesMask_mat_nativeObj, int flags); + private static native void drawMatches2_1(long img1_nativeObj, long keypoints1_mat_nativeObj, long img2_nativeObj, long keypoints2_mat_nativeObj, long matches1to2_mat_nativeObj, long outImg_nativeObj); + +} diff --git a/opencv3/src/org/opencv/imgcodecs/Imgcodecs.java b/opencv3/src/org/opencv/imgcodecs/Imgcodecs.java new file mode 100644 index 0000000..d070710 --- /dev/null +++ b/opencv3/src/org/opencv/imgcodecs/Imgcodecs.java @@ -0,0 +1,193 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.imgcodecs; + +import java.lang.String; +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfByte; +import org.opencv.core.MatOfInt; +import org.opencv.utils.Converters; + +public class Imgcodecs { + + public static final int + CV_LOAD_IMAGE_UNCHANGED = -1, + CV_LOAD_IMAGE_GRAYSCALE = 0, + CV_LOAD_IMAGE_COLOR = 1, + CV_LOAD_IMAGE_ANYDEPTH = 2, + CV_LOAD_IMAGE_ANYCOLOR = 4, + CV_IMWRITE_JPEG_QUALITY = 1, + CV_IMWRITE_JPEG_PROGRESSIVE = 2, + CV_IMWRITE_JPEG_OPTIMIZE = 3, + CV_IMWRITE_JPEG_RST_INTERVAL = 4, + CV_IMWRITE_JPEG_LUMA_QUALITY = 5, + CV_IMWRITE_JPEG_CHROMA_QUALITY = 6, + CV_IMWRITE_PNG_COMPRESSION = 16, + CV_IMWRITE_PNG_STRATEGY = 17, + CV_IMWRITE_PNG_BILEVEL = 18, + CV_IMWRITE_PNG_STRATEGY_DEFAULT = 0, + CV_IMWRITE_PNG_STRATEGY_FILTERED = 1, + CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY = 2, + CV_IMWRITE_PNG_STRATEGY_RLE = 3, + CV_IMWRITE_PNG_STRATEGY_FIXED = 4, + CV_IMWRITE_PXM_BINARY = 32, + CV_IMWRITE_WEBP_QUALITY = 64, + CV_CVTIMG_FLIP = 1, + CV_CVTIMG_SWAP_RB = 2, + IMREAD_UNCHANGED = -1, + IMREAD_GRAYSCALE = 0, + IMREAD_COLOR = 1, + IMREAD_ANYDEPTH = 2, + IMREAD_ANYCOLOR = 4, + IMREAD_LOAD_GDAL = 8, + IMWRITE_JPEG_QUALITY = 1, + IMWRITE_JPEG_PROGRESSIVE = 2, + IMWRITE_JPEG_OPTIMIZE = 3, + IMWRITE_JPEG_RST_INTERVAL = 4, + IMWRITE_JPEG_LUMA_QUALITY = 5, + IMWRITE_JPEG_CHROMA_QUALITY = 6, + IMWRITE_PNG_COMPRESSION = 16, + IMWRITE_PNG_STRATEGY = 17, + IMWRITE_PNG_BILEVEL = 18, + IMWRITE_PXM_BINARY = 32, + IMWRITE_WEBP_QUALITY = 64, + IMWRITE_PNG_STRATEGY_DEFAULT = 0, + IMWRITE_PNG_STRATEGY_FILTERED = 1, + IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY = 2, + IMWRITE_PNG_STRATEGY_RLE = 3, + IMWRITE_PNG_STRATEGY_FIXED = 4; + + + // + // C++: Mat imread(String filename, int flags = IMREAD_COLOR) + // + + //javadoc: imread(filename, flags) + public static Mat imread(String filename, int flags) + { + + Mat retVal = new Mat(imread_0(filename, flags)); + + return retVal; + } + + //javadoc: imread(filename) + public static Mat imread(String filename) + { + + Mat retVal = new Mat(imread_1(filename)); + + return retVal; + } + + + // + // C++: bool imreadmulti(String filename, vector_Mat mats, int flags = IMREAD_ANYCOLOR) + // + + //javadoc: imreadmulti(filename, mats, flags) + public static boolean imreadmulti(String filename, List mats, int flags) + { + Mat mats_mat = Converters.vector_Mat_to_Mat(mats); + boolean retVal = imreadmulti_0(filename, mats_mat.nativeObj, flags); + + return retVal; + } + + //javadoc: imreadmulti(filename, mats) + public static boolean imreadmulti(String filename, List mats) + { + Mat mats_mat = Converters.vector_Mat_to_Mat(mats); + boolean retVal = imreadmulti_1(filename, mats_mat.nativeObj); + + return retVal; + } + + + // + // C++: bool imwrite(String filename, Mat img, vector_int params = std::vector()) + // + + //javadoc: imwrite(filename, img, params) + public static boolean imwrite(String filename, Mat img, MatOfInt params) + { + Mat params_mat = params; + boolean retVal = imwrite_0(filename, img.nativeObj, params_mat.nativeObj); + + return retVal; + } + + //javadoc: imwrite(filename, img) + public static boolean imwrite(String filename, Mat img) + { + + boolean retVal = imwrite_1(filename, img.nativeObj); + + return retVal; + } + + + // + // C++: Mat imdecode(Mat buf, int flags) + // + + //javadoc: imdecode(buf, flags) + public static Mat imdecode(Mat buf, int flags) + { + + Mat retVal = new Mat(imdecode_0(buf.nativeObj, flags)); + + return retVal; + } + + + // + // C++: bool imencode(String ext, Mat img, vector_uchar& buf, vector_int params = std::vector()) + // + + //javadoc: imencode(ext, img, buf, params) + public static boolean imencode(String ext, Mat img, MatOfByte buf, MatOfInt params) + { + Mat buf_mat = buf; + Mat params_mat = params; + boolean retVal = imencode_0(ext, img.nativeObj, buf_mat.nativeObj, params_mat.nativeObj); + + return retVal; + } + + //javadoc: imencode(ext, img, buf) + public static boolean imencode(String ext, Mat img, MatOfByte buf) + { + Mat buf_mat = buf; + boolean retVal = imencode_1(ext, img.nativeObj, buf_mat.nativeObj); + + return retVal; + } + + + + + // C++: Mat imread(String filename, int flags = IMREAD_COLOR) + private static native long imread_0(String filename, int flags); + private static native long imread_1(String filename); + + // C++: bool imreadmulti(String filename, vector_Mat mats, int flags = IMREAD_ANYCOLOR) + private static native boolean imreadmulti_0(String filename, long mats_mat_nativeObj, int flags); + private static native boolean imreadmulti_1(String filename, long mats_mat_nativeObj); + + // C++: bool imwrite(String filename, Mat img, vector_int params = std::vector()) + private static native boolean imwrite_0(String filename, long img_nativeObj, long params_mat_nativeObj); + private static native boolean imwrite_1(String filename, long img_nativeObj); + + // C++: Mat imdecode(Mat buf, int flags) + private static native long imdecode_0(long buf_nativeObj, int flags); + + // C++: bool imencode(String ext, Mat img, vector_uchar& buf, vector_int params = std::vector()) + private static native boolean imencode_0(String ext, long img_nativeObj, long buf_mat_nativeObj, long params_mat_nativeObj); + private static native boolean imencode_1(String ext, long img_nativeObj, long buf_mat_nativeObj); + +} diff --git a/opencv3/src/org/opencv/imgproc/CLAHE.java b/opencv3/src/org/opencv/imgproc/CLAHE.java new file mode 100644 index 0000000..6b341f4 --- /dev/null +++ b/opencv3/src/org/opencv/imgproc/CLAHE.java @@ -0,0 +1,130 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.imgproc; + +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; +import org.opencv.core.Size; + +// C++: class CLAHE +//javadoc: CLAHE +public class CLAHE extends Algorithm { + + protected CLAHE(long addr) { super(addr); } + + + // + // C++: void setClipLimit(double clipLimit) + // + + //javadoc: CLAHE::setClipLimit(clipLimit) + public void setClipLimit(double clipLimit) + { + + setClipLimit_0(nativeObj, clipLimit); + + return; + } + + + // + // C++: void apply(Mat src, Mat& dst) + // + + //javadoc: CLAHE::apply(src, dst) + public void apply(Mat src, Mat dst) + { + + apply_0(nativeObj, src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: double getClipLimit() + // + + //javadoc: CLAHE::getClipLimit() + public double getClipLimit() + { + + double retVal = getClipLimit_0(nativeObj); + + return retVal; + } + + + // + // C++: void setTilesGridSize(Size tileGridSize) + // + + //javadoc: CLAHE::setTilesGridSize(tileGridSize) + public void setTilesGridSize(Size tileGridSize) + { + + setTilesGridSize_0(nativeObj, tileGridSize.width, tileGridSize.height); + + return; + } + + + // + // C++: void collectGarbage() + // + + //javadoc: CLAHE::collectGarbage() + public void collectGarbage() + { + + collectGarbage_0(nativeObj); + + return; + } + + + // + // C++: Size getTilesGridSize() + // + + //javadoc: CLAHE::getTilesGridSize() + public Size getTilesGridSize() + { + + Size retVal = new Size(getTilesGridSize_0(nativeObj)); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void setClipLimit(double clipLimit) + private static native void setClipLimit_0(long nativeObj, double clipLimit); + + // C++: void apply(Mat src, Mat& dst) + private static native void apply_0(long nativeObj, long src_nativeObj, long dst_nativeObj); + + // C++: double getClipLimit() + private static native double getClipLimit_0(long nativeObj); + + // C++: void setTilesGridSize(Size tileGridSize) + private static native void setTilesGridSize_0(long nativeObj, double tileGridSize_width, double tileGridSize_height); + + // C++: void collectGarbage() + private static native void collectGarbage_0(long nativeObj); + + // C++: Size getTilesGridSize() + private static native double[] getTilesGridSize_0(long nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/imgproc/Imgproc.java b/opencv3/src/org/opencv/imgproc/Imgproc.java new file mode 100644 index 0000000..3a13ae5 --- /dev/null +++ b/opencv3/src/org/opencv/imgproc/Imgproc.java @@ -0,0 +1,3290 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.imgproc; + +import java.lang.String; +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfFloat; +import org.opencv.core.MatOfInt; +import org.opencv.core.MatOfInt4; +import org.opencv.core.MatOfPoint; +import org.opencv.core.MatOfPoint2f; +import org.opencv.core.Point; +import org.opencv.core.Rect; +import org.opencv.core.RotatedRect; +import org.opencv.core.Scalar; +import org.opencv.core.Size; +import org.opencv.core.TermCriteria; +import org.opencv.utils.Converters; + +public class Imgproc { + + private static final int + IPL_BORDER_CONSTANT = 0, + IPL_BORDER_REPLICATE = 1, + IPL_BORDER_REFLECT = 2, + IPL_BORDER_WRAP = 3, + IPL_BORDER_REFLECT_101 = 4, + IPL_BORDER_TRANSPARENT = 5, + CV_INTER_NN = 0, + CV_INTER_LINEAR = 1, + CV_INTER_CUBIC = 2, + CV_INTER_AREA = 3, + CV_INTER_LANCZOS4 = 4, + CV_MOP_ERODE = 0, + CV_MOP_DILATE = 1, + CV_MOP_OPEN = 2, + CV_MOP_CLOSE = 3, + CV_MOP_GRADIENT = 4, + CV_MOP_TOPHAT = 5, + CV_MOP_BLACKHAT = 6, + CV_RETR_EXTERNAL = 0, + CV_RETR_LIST = 1, + CV_RETR_CCOMP = 2, + CV_RETR_TREE = 3, + CV_RETR_FLOODFILL = 4, + CV_CHAIN_APPROX_NONE = 1, + CV_CHAIN_APPROX_SIMPLE = 2, + CV_CHAIN_APPROX_TC89_L1 = 3, + CV_CHAIN_APPROX_TC89_KCOS = 4, + CV_THRESH_BINARY = 0, + CV_THRESH_BINARY_INV = 1, + CV_THRESH_TRUNC = 2, + CV_THRESH_TOZERO = 3, + CV_THRESH_TOZERO_INV = 4, + CV_THRESH_MASK = 7, + CV_THRESH_OTSU = 8, + CV_THRESH_TRIANGLE = 16; + + + public static final int + LINE_AA = 16, + LINE_8 = 8, + LINE_4 = 4, + CV_BLUR_NO_SCALE = 0, + CV_BLUR = 1, + CV_GAUSSIAN = 2, + CV_MEDIAN = 3, + CV_BILATERAL = 4, + CV_GAUSSIAN_5x5 = 7, + CV_SCHARR = -1, + CV_MAX_SOBEL_KSIZE = 7, + CV_RGBA2mRGBA = 125, + CV_mRGBA2RGBA = 126, + CV_WARP_FILL_OUTLIERS = 8, + CV_WARP_INVERSE_MAP = 16, + CV_SHAPE_RECT = 0, + CV_SHAPE_CROSS = 1, + CV_SHAPE_ELLIPSE = 2, + CV_SHAPE_CUSTOM = 100, + CV_CHAIN_CODE = 0, + CV_LINK_RUNS = 5, + CV_POLY_APPROX_DP = 0, + CV_CONTOURS_MATCH_I1 = 1, + CV_CONTOURS_MATCH_I2 = 2, + CV_CONTOURS_MATCH_I3 = 3, + CV_CLOCKWISE = 1, + CV_COUNTER_CLOCKWISE = 2, + CV_COMP_CORREL = 0, + CV_COMP_CHISQR = 1, + CV_COMP_INTERSECT = 2, + CV_COMP_BHATTACHARYYA = 3, + CV_COMP_HELLINGER = CV_COMP_BHATTACHARYYA, + CV_COMP_CHISQR_ALT = 4, + CV_COMP_KL_DIV = 5, + CV_DIST_MASK_3 = 3, + CV_DIST_MASK_5 = 5, + CV_DIST_MASK_PRECISE = 0, + CV_DIST_LABEL_CCOMP = 0, + CV_DIST_LABEL_PIXEL = 1, + CV_DIST_USER = -1, + CV_DIST_L1 = 1, + CV_DIST_L2 = 2, + CV_DIST_C = 3, + CV_DIST_L12 = 4, + CV_DIST_FAIR = 5, + CV_DIST_WELSCH = 6, + CV_DIST_HUBER = 7, + CV_CANNY_L2_GRADIENT = (1 << 31), + CV_HOUGH_STANDARD = 0, + CV_HOUGH_PROBABILISTIC = 1, + CV_HOUGH_MULTI_SCALE = 2, + CV_HOUGH_GRADIENT = 3, + MORPH_ERODE = 0, + MORPH_DILATE = 1, + MORPH_OPEN = 2, + MORPH_CLOSE = 3, + MORPH_GRADIENT = 4, + MORPH_TOPHAT = 5, + MORPH_BLACKHAT = 6, + MORPH_RECT = 0, + MORPH_CROSS = 1, + MORPH_ELLIPSE = 2, + INTER_NEAREST = 0, + INTER_LINEAR = 1, + INTER_CUBIC = 2, + INTER_AREA = 3, + INTER_LANCZOS4 = 4, + INTER_MAX = 7, + WARP_FILL_OUTLIERS = 8, + WARP_INVERSE_MAP = 16, + INTER_BITS = 5, + INTER_BITS2 = INTER_BITS * 2, + INTER_TAB_SIZE = 1 << INTER_BITS, + INTER_TAB_SIZE2 = INTER_TAB_SIZE * INTER_TAB_SIZE, + DIST_USER = -1, + DIST_L1 = 1, + DIST_L2 = 2, + DIST_C = 3, + DIST_L12 = 4, + DIST_FAIR = 5, + DIST_WELSCH = 6, + DIST_HUBER = 7, + DIST_MASK_3 = 3, + DIST_MASK_5 = 5, + DIST_MASK_PRECISE = 0, + THRESH_BINARY = 0, + THRESH_BINARY_INV = 1, + THRESH_TRUNC = 2, + THRESH_TOZERO = 3, + THRESH_TOZERO_INV = 4, + THRESH_MASK = 7, + THRESH_OTSU = 8, + THRESH_TRIANGLE = 16, + ADAPTIVE_THRESH_MEAN_C = 0, + ADAPTIVE_THRESH_GAUSSIAN_C = 1, + PROJ_SPHERICAL_ORTHO = 0, + PROJ_SPHERICAL_EQRECT = 1, + GC_BGD = 0, + GC_FGD = 1, + GC_PR_BGD = 2, + GC_PR_FGD = 3, + GC_INIT_WITH_RECT = 0, + GC_INIT_WITH_MASK = 1, + GC_EVAL = 2, + DIST_LABEL_CCOMP = 0, + DIST_LABEL_PIXEL = 1, + FLOODFILL_FIXED_RANGE = 1 << 16, + FLOODFILL_MASK_ONLY = 1 << 17, + CC_STAT_LEFT = 0, + CC_STAT_TOP = 1, + CC_STAT_WIDTH = 2, + CC_STAT_HEIGHT = 3, + CC_STAT_AREA = 4, + CC_STAT_MAX = 5, + RETR_EXTERNAL = 0, + RETR_LIST = 1, + RETR_CCOMP = 2, + RETR_TREE = 3, + RETR_FLOODFILL = 4, + CHAIN_APPROX_NONE = 1, + CHAIN_APPROX_SIMPLE = 2, + CHAIN_APPROX_TC89_L1 = 3, + CHAIN_APPROX_TC89_KCOS = 4, + HOUGH_STANDARD = 0, + HOUGH_PROBABILISTIC = 1, + HOUGH_MULTI_SCALE = 2, + HOUGH_GRADIENT = 3, + LSD_REFINE_NONE = 0, + LSD_REFINE_STD = 1, + LSD_REFINE_ADV = 2, + HISTCMP_CORREL = 0, + HISTCMP_CHISQR = 1, + HISTCMP_INTERSECT = 2, + HISTCMP_BHATTACHARYYA = 3, + HISTCMP_HELLINGER = HISTCMP_BHATTACHARYYA, + HISTCMP_CHISQR_ALT = 4, + HISTCMP_KL_DIV = 5, + COLOR_BGR2BGRA = 0, + COLOR_RGB2RGBA = COLOR_BGR2BGRA, + COLOR_BGRA2BGR = 1, + COLOR_RGBA2RGB = COLOR_BGRA2BGR, + COLOR_BGR2RGBA = 2, + COLOR_RGB2BGRA = COLOR_BGR2RGBA, + COLOR_RGBA2BGR = 3, + COLOR_BGRA2RGB = COLOR_RGBA2BGR, + COLOR_BGR2RGB = 4, + COLOR_RGB2BGR = COLOR_BGR2RGB, + COLOR_BGRA2RGBA = 5, + COLOR_RGBA2BGRA = COLOR_BGRA2RGBA, + COLOR_BGR2GRAY = 6, + COLOR_RGB2GRAY = 7, + COLOR_GRAY2BGR = 8, + COLOR_GRAY2RGB = COLOR_GRAY2BGR, + COLOR_GRAY2BGRA = 9, + COLOR_GRAY2RGBA = COLOR_GRAY2BGRA, + COLOR_BGRA2GRAY = 10, + COLOR_RGBA2GRAY = 11, + COLOR_BGR2BGR565 = 12, + COLOR_RGB2BGR565 = 13, + COLOR_BGR5652BGR = 14, + COLOR_BGR5652RGB = 15, + COLOR_BGRA2BGR565 = 16, + COLOR_RGBA2BGR565 = 17, + COLOR_BGR5652BGRA = 18, + COLOR_BGR5652RGBA = 19, + COLOR_GRAY2BGR565 = 20, + COLOR_BGR5652GRAY = 21, + COLOR_BGR2BGR555 = 22, + COLOR_RGB2BGR555 = 23, + COLOR_BGR5552BGR = 24, + COLOR_BGR5552RGB = 25, + COLOR_BGRA2BGR555 = 26, + COLOR_RGBA2BGR555 = 27, + COLOR_BGR5552BGRA = 28, + COLOR_BGR5552RGBA = 29, + COLOR_GRAY2BGR555 = 30, + COLOR_BGR5552GRAY = 31, + COLOR_BGR2XYZ = 32, + COLOR_RGB2XYZ = 33, + COLOR_XYZ2BGR = 34, + COLOR_XYZ2RGB = 35, + COLOR_BGR2YCrCb = 36, + COLOR_RGB2YCrCb = 37, + COLOR_YCrCb2BGR = 38, + COLOR_YCrCb2RGB = 39, + COLOR_BGR2HSV = 40, + COLOR_RGB2HSV = 41, + COLOR_BGR2Lab = 44, + COLOR_RGB2Lab = 45, + COLOR_BGR2Luv = 50, + COLOR_RGB2Luv = 51, + COLOR_BGR2HLS = 52, + COLOR_RGB2HLS = 53, + COLOR_HSV2BGR = 54, + COLOR_HSV2RGB = 55, + COLOR_Lab2BGR = 56, + COLOR_Lab2RGB = 57, + COLOR_Luv2BGR = 58, + COLOR_Luv2RGB = 59, + COLOR_HLS2BGR = 60, + COLOR_HLS2RGB = 61, + COLOR_BGR2HSV_FULL = 66, + COLOR_RGB2HSV_FULL = 67, + COLOR_BGR2HLS_FULL = 68, + COLOR_RGB2HLS_FULL = 69, + COLOR_HSV2BGR_FULL = 70, + COLOR_HSV2RGB_FULL = 71, + COLOR_HLS2BGR_FULL = 72, + COLOR_HLS2RGB_FULL = 73, + COLOR_LBGR2Lab = 74, + COLOR_LRGB2Lab = 75, + COLOR_LBGR2Luv = 76, + COLOR_LRGB2Luv = 77, + COLOR_Lab2LBGR = 78, + COLOR_Lab2LRGB = 79, + COLOR_Luv2LBGR = 80, + COLOR_Luv2LRGB = 81, + COLOR_BGR2YUV = 82, + COLOR_RGB2YUV = 83, + COLOR_YUV2BGR = 84, + COLOR_YUV2RGB = 85, + COLOR_YUV2RGB_NV12 = 90, + COLOR_YUV2BGR_NV12 = 91, + COLOR_YUV2RGB_NV21 = 92, + COLOR_YUV2BGR_NV21 = 93, + COLOR_YUV420sp2RGB = COLOR_YUV2RGB_NV21, + COLOR_YUV420sp2BGR = COLOR_YUV2BGR_NV21, + COLOR_YUV2RGBA_NV12 = 94, + COLOR_YUV2BGRA_NV12 = 95, + COLOR_YUV2RGBA_NV21 = 96, + COLOR_YUV2BGRA_NV21 = 97, + COLOR_YUV420sp2RGBA = COLOR_YUV2RGBA_NV21, + COLOR_YUV420sp2BGRA = COLOR_YUV2BGRA_NV21, + COLOR_YUV2RGB_YV12 = 98, + COLOR_YUV2BGR_YV12 = 99, + COLOR_YUV2RGB_IYUV = 100, + COLOR_YUV2BGR_IYUV = 101, + COLOR_YUV2RGB_I420 = COLOR_YUV2RGB_IYUV, + COLOR_YUV2BGR_I420 = COLOR_YUV2BGR_IYUV, + COLOR_YUV420p2RGB = COLOR_YUV2RGB_YV12, + COLOR_YUV420p2BGR = COLOR_YUV2BGR_YV12, + COLOR_YUV2RGBA_YV12 = 102, + COLOR_YUV2BGRA_YV12 = 103, + COLOR_YUV2RGBA_IYUV = 104, + COLOR_YUV2BGRA_IYUV = 105, + COLOR_YUV2RGBA_I420 = COLOR_YUV2RGBA_IYUV, + COLOR_YUV2BGRA_I420 = COLOR_YUV2BGRA_IYUV, + COLOR_YUV420p2RGBA = COLOR_YUV2RGBA_YV12, + COLOR_YUV420p2BGRA = COLOR_YUV2BGRA_YV12, + COLOR_YUV2GRAY_420 = 106, + COLOR_YUV2GRAY_NV21 = COLOR_YUV2GRAY_420, + COLOR_YUV2GRAY_NV12 = COLOR_YUV2GRAY_420, + COLOR_YUV2GRAY_YV12 = COLOR_YUV2GRAY_420, + COLOR_YUV2GRAY_IYUV = COLOR_YUV2GRAY_420, + COLOR_YUV2GRAY_I420 = COLOR_YUV2GRAY_420, + COLOR_YUV420sp2GRAY = COLOR_YUV2GRAY_420, + COLOR_YUV420p2GRAY = COLOR_YUV2GRAY_420, + COLOR_YUV2RGB_UYVY = 107, + COLOR_YUV2BGR_UYVY = 108, + COLOR_YUV2RGB_Y422 = COLOR_YUV2RGB_UYVY, + COLOR_YUV2BGR_Y422 = COLOR_YUV2BGR_UYVY, + COLOR_YUV2RGB_UYNV = COLOR_YUV2RGB_UYVY, + COLOR_YUV2BGR_UYNV = COLOR_YUV2BGR_UYVY, + COLOR_YUV2RGBA_UYVY = 111, + COLOR_YUV2BGRA_UYVY = 112, + COLOR_YUV2RGBA_Y422 = COLOR_YUV2RGBA_UYVY, + COLOR_YUV2BGRA_Y422 = COLOR_YUV2BGRA_UYVY, + COLOR_YUV2RGBA_UYNV = COLOR_YUV2RGBA_UYVY, + COLOR_YUV2BGRA_UYNV = COLOR_YUV2BGRA_UYVY, + COLOR_YUV2RGB_YUY2 = 115, + COLOR_YUV2BGR_YUY2 = 116, + COLOR_YUV2RGB_YVYU = 117, + COLOR_YUV2BGR_YVYU = 118, + COLOR_YUV2RGB_YUYV = COLOR_YUV2RGB_YUY2, + COLOR_YUV2BGR_YUYV = COLOR_YUV2BGR_YUY2, + COLOR_YUV2RGB_YUNV = COLOR_YUV2RGB_YUY2, + COLOR_YUV2BGR_YUNV = COLOR_YUV2BGR_YUY2, + COLOR_YUV2RGBA_YUY2 = 119, + COLOR_YUV2BGRA_YUY2 = 120, + COLOR_YUV2RGBA_YVYU = 121, + COLOR_YUV2BGRA_YVYU = 122, + COLOR_YUV2RGBA_YUYV = COLOR_YUV2RGBA_YUY2, + COLOR_YUV2BGRA_YUYV = COLOR_YUV2BGRA_YUY2, + COLOR_YUV2RGBA_YUNV = COLOR_YUV2RGBA_YUY2, + COLOR_YUV2BGRA_YUNV = COLOR_YUV2BGRA_YUY2, + COLOR_YUV2GRAY_UYVY = 123, + COLOR_YUV2GRAY_YUY2 = 124, + COLOR_YUV2GRAY_Y422 = COLOR_YUV2GRAY_UYVY, + COLOR_YUV2GRAY_UYNV = COLOR_YUV2GRAY_UYVY, + COLOR_YUV2GRAY_YVYU = COLOR_YUV2GRAY_YUY2, + COLOR_YUV2GRAY_YUYV = COLOR_YUV2GRAY_YUY2, + COLOR_YUV2GRAY_YUNV = COLOR_YUV2GRAY_YUY2, + COLOR_RGBA2mRGBA = 125, + COLOR_mRGBA2RGBA = 126, + COLOR_RGB2YUV_I420 = 127, + COLOR_BGR2YUV_I420 = 128, + COLOR_RGB2YUV_IYUV = COLOR_RGB2YUV_I420, + COLOR_BGR2YUV_IYUV = COLOR_BGR2YUV_I420, + COLOR_RGBA2YUV_I420 = 129, + COLOR_BGRA2YUV_I420 = 130, + COLOR_RGBA2YUV_IYUV = COLOR_RGBA2YUV_I420, + COLOR_BGRA2YUV_IYUV = COLOR_BGRA2YUV_I420, + COLOR_RGB2YUV_YV12 = 131, + COLOR_BGR2YUV_YV12 = 132, + COLOR_RGBA2YUV_YV12 = 133, + COLOR_BGRA2YUV_YV12 = 134, + COLOR_BayerBG2BGR = 46, + COLOR_BayerGB2BGR = 47, + COLOR_BayerRG2BGR = 48, + COLOR_BayerGR2BGR = 49, + COLOR_BayerBG2RGB = COLOR_BayerRG2BGR, + COLOR_BayerGB2RGB = COLOR_BayerGR2BGR, + COLOR_BayerRG2RGB = COLOR_BayerBG2BGR, + COLOR_BayerGR2RGB = COLOR_BayerGB2BGR, + COLOR_BayerBG2GRAY = 86, + COLOR_BayerGB2GRAY = 87, + COLOR_BayerRG2GRAY = 88, + COLOR_BayerGR2GRAY = 89, + COLOR_BayerBG2BGR_VNG = 62, + COLOR_BayerGB2BGR_VNG = 63, + COLOR_BayerRG2BGR_VNG = 64, + COLOR_BayerGR2BGR_VNG = 65, + COLOR_BayerBG2RGB_VNG = COLOR_BayerRG2BGR_VNG, + COLOR_BayerGB2RGB_VNG = COLOR_BayerGR2BGR_VNG, + COLOR_BayerRG2RGB_VNG = COLOR_BayerBG2BGR_VNG, + COLOR_BayerGR2RGB_VNG = COLOR_BayerGB2BGR_VNG, + COLOR_BayerBG2BGR_EA = 135, + COLOR_BayerGB2BGR_EA = 136, + COLOR_BayerRG2BGR_EA = 137, + COLOR_BayerGR2BGR_EA = 138, + COLOR_BayerBG2RGB_EA = COLOR_BayerRG2BGR_EA, + COLOR_BayerGB2RGB_EA = COLOR_BayerGR2BGR_EA, + COLOR_BayerRG2RGB_EA = COLOR_BayerBG2BGR_EA, + COLOR_BayerGR2RGB_EA = COLOR_BayerGB2BGR_EA, + COLOR_COLORCVT_MAX = 139, + INTERSECT_NONE = 0, + INTERSECT_PARTIAL = 1, + INTERSECT_FULL = 2, + TM_SQDIFF = 0, + TM_SQDIFF_NORMED = 1, + TM_CCORR = 2, + TM_CCORR_NORMED = 3, + TM_CCOEFF = 4, + TM_CCOEFF_NORMED = 5, + COLORMAP_AUTUMN = 0, + COLORMAP_BONE = 1, + COLORMAP_JET = 2, + COLORMAP_WINTER = 3, + COLORMAP_RAINBOW = 4, + COLORMAP_OCEAN = 5, + COLORMAP_SUMMER = 6, + COLORMAP_SPRING = 7, + COLORMAP_COOL = 8, + COLORMAP_HSV = 9, + COLORMAP_PINK = 10, + COLORMAP_HOT = 11, + COLORMAP_PARULA = 12; + + + // + // C++: void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, vector_Point& pts) + // + + //javadoc: ellipse2Poly(center, axes, angle, arcStart, arcEnd, delta, pts) + public static void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, MatOfPoint pts) + { + Mat pts_mat = pts; + ellipse2Poly_0(center.x, center.y, axes.width, axes.height, angle, arcStart, arcEnd, delta, pts_mat.nativeObj); + + return; + } + + + // + // C++: void putText(Mat& img, String text, Point org, int fontFace, double fontScale, Scalar color, int thickness = 1, int lineType = LINE_8, bool bottomLeftOrigin = false) + // + + //javadoc: putText(img, text, org, fontFace, fontScale, color, thickness, lineType, bottomLeftOrigin) + public static void putText(Mat img, String text, Point org, int fontFace, double fontScale, Scalar color, int thickness, int lineType, boolean bottomLeftOrigin) + { + + putText_0(img.nativeObj, text, org.x, org.y, fontFace, fontScale, color.val[0], color.val[1], color.val[2], color.val[3], thickness, lineType, bottomLeftOrigin); + + return; + } + + //javadoc: putText(img, text, org, fontFace, fontScale, color, thickness) + public static void putText(Mat img, String text, Point org, int fontFace, double fontScale, Scalar color, int thickness) + { + + putText_1(img.nativeObj, text, org.x, org.y, fontFace, fontScale, color.val[0], color.val[1], color.val[2], color.val[3], thickness); + + return; + } + + //javadoc: putText(img, text, org, fontFace, fontScale, color) + public static void putText(Mat img, String text, Point org, int fontFace, double fontScale, Scalar color) + { + + putText_2(img.nativeObj, text, org.x, org.y, fontFace, fontScale, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: void ellipse(Mat& img, RotatedRect box, Scalar color, int thickness = 1, int lineType = LINE_8) + // + + //javadoc: ellipse(img, box, color, thickness, lineType) + public static void ellipse(Mat img, RotatedRect box, Scalar color, int thickness, int lineType) + { + + ellipse_0(img.nativeObj, box.center.x, box.center.y, box.size.width, box.size.height, box.angle, color.val[0], color.val[1], color.val[2], color.val[3], thickness, lineType); + + return; + } + + //javadoc: ellipse(img, box, color, thickness) + public static void ellipse(Mat img, RotatedRect box, Scalar color, int thickness) + { + + ellipse_1(img.nativeObj, box.center.x, box.center.y, box.size.width, box.size.height, box.angle, color.val[0], color.val[1], color.val[2], color.val[3], thickness); + + return; + } + + //javadoc: ellipse(img, box, color) + public static void ellipse(Mat img, RotatedRect box, Scalar color) + { + + ellipse_2(img.nativeObj, box.center.x, box.center.y, box.size.width, box.size.height, box.angle, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: void fillConvexPoly(Mat& img, vector_Point points, Scalar color, int lineType = LINE_8, int shift = 0) + // + + //javadoc: fillConvexPoly(img, points, color, lineType, shift) + public static void fillConvexPoly(Mat img, MatOfPoint points, Scalar color, int lineType, int shift) + { + Mat points_mat = points; + fillConvexPoly_0(img.nativeObj, points_mat.nativeObj, color.val[0], color.val[1], color.val[2], color.val[3], lineType, shift); + + return; + } + + //javadoc: fillConvexPoly(img, points, color) + public static void fillConvexPoly(Mat img, MatOfPoint points, Scalar color) + { + Mat points_mat = points; + fillConvexPoly_1(img.nativeObj, points_mat.nativeObj, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: void fillPoly(Mat& img, vector_vector_Point pts, Scalar color, int lineType = LINE_8, int shift = 0, Point offset = Point()) + // + + //javadoc: fillPoly(img, pts, color, lineType, shift, offset) + public static void fillPoly(Mat img, List pts, Scalar color, int lineType, int shift, Point offset) + { + List pts_tmplm = new ArrayList((pts != null) ? pts.size() : 0); + Mat pts_mat = Converters.vector_vector_Point_to_Mat(pts, pts_tmplm); + fillPoly_0(img.nativeObj, pts_mat.nativeObj, color.val[0], color.val[1], color.val[2], color.val[3], lineType, shift, offset.x, offset.y); + + return; + } + + //javadoc: fillPoly(img, pts, color) + public static void fillPoly(Mat img, List pts, Scalar color) + { + List pts_tmplm = new ArrayList((pts != null) ? pts.size() : 0); + Mat pts_mat = Converters.vector_vector_Point_to_Mat(pts, pts_tmplm); + fillPoly_1(img.nativeObj, pts_mat.nativeObj, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: void polylines(Mat& img, vector_vector_Point pts, bool isClosed, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + // + + //javadoc: polylines(img, pts, isClosed, color, thickness, lineType, shift) + public static void polylines(Mat img, List pts, boolean isClosed, Scalar color, int thickness, int lineType, int shift) + { + List pts_tmplm = new ArrayList((pts != null) ? pts.size() : 0); + Mat pts_mat = Converters.vector_vector_Point_to_Mat(pts, pts_tmplm); + polylines_0(img.nativeObj, pts_mat.nativeObj, isClosed, color.val[0], color.val[1], color.val[2], color.val[3], thickness, lineType, shift); + + return; + } + + //javadoc: polylines(img, pts, isClosed, color, thickness) + public static void polylines(Mat img, List pts, boolean isClosed, Scalar color, int thickness) + { + List pts_tmplm = new ArrayList((pts != null) ? pts.size() : 0); + Mat pts_mat = Converters.vector_vector_Point_to_Mat(pts, pts_tmplm); + polylines_1(img.nativeObj, pts_mat.nativeObj, isClosed, color.val[0], color.val[1], color.val[2], color.val[3], thickness); + + return; + } + + //javadoc: polylines(img, pts, isClosed, color) + public static void polylines(Mat img, List pts, boolean isClosed, Scalar color) + { + List pts_tmplm = new ArrayList((pts != null) ? pts.size() : 0); + Mat pts_mat = Converters.vector_vector_Point_to_Mat(pts, pts_tmplm); + polylines_2(img.nativeObj, pts_mat.nativeObj, isClosed, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: void drawContours(Mat& image, vector_vector_Point contours, int contourIdx, Scalar color, int thickness = 1, int lineType = LINE_8, Mat hierarchy = Mat(), int maxLevel = INT_MAX, Point offset = Point()) + // + + //javadoc: drawContours(image, contours, contourIdx, color, thickness, lineType, hierarchy, maxLevel, offset) + public static void drawContours(Mat image, List contours, int contourIdx, Scalar color, int thickness, int lineType, Mat hierarchy, int maxLevel, Point offset) + { + List contours_tmplm = new ArrayList((contours != null) ? contours.size() : 0); + Mat contours_mat = Converters.vector_vector_Point_to_Mat(contours, contours_tmplm); + drawContours_0(image.nativeObj, contours_mat.nativeObj, contourIdx, color.val[0], color.val[1], color.val[2], color.val[3], thickness, lineType, hierarchy.nativeObj, maxLevel, offset.x, offset.y); + + return; + } + + //javadoc: drawContours(image, contours, contourIdx, color, thickness) + public static void drawContours(Mat image, List contours, int contourIdx, Scalar color, int thickness) + { + List contours_tmplm = new ArrayList((contours != null) ? contours.size() : 0); + Mat contours_mat = Converters.vector_vector_Point_to_Mat(contours, contours_tmplm); + drawContours_1(image.nativeObj, contours_mat.nativeObj, contourIdx, color.val[0], color.val[1], color.val[2], color.val[3], thickness); + + return; + } + + //javadoc: drawContours(image, contours, contourIdx, color) + public static void drawContours(Mat image, List contours, int contourIdx, Scalar color) + { + List contours_tmplm = new ArrayList((contours != null) ? contours.size() : 0); + Mat contours_mat = Converters.vector_vector_Point_to_Mat(contours, contours_tmplm); + drawContours_2(image.nativeObj, contours_mat.nativeObj, contourIdx, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: bool clipLine(Rect imgRect, Point& pt1, Point& pt2) + // + + //javadoc: clipLine(imgRect, pt1, pt2) + public static boolean clipLine(Rect imgRect, Point pt1, Point pt2) + { + double[] pt1_out = new double[2]; + double[] pt2_out = new double[2]; + boolean retVal = clipLine_0(imgRect.x, imgRect.y, imgRect.width, imgRect.height, pt1.x, pt1.y, pt1_out, pt2.x, pt2.y, pt2_out); + if(pt1!=null){ pt1.x = pt1_out[0]; pt1.y = pt1_out[1]; } + if(pt2!=null){ pt2.x = pt2_out[0]; pt2.y = pt2_out[1]; } + return retVal; + } + + + // + // C++: Ptr_LineSegmentDetector createLineSegmentDetector(int _refine = LSD_REFINE_STD, double _scale = 0.8, double _sigma_scale = 0.6, double _quant = 2.0, double _ang_th = 22.5, double _log_eps = 0, double _density_th = 0.7, int _n_bins = 1024) + // + + //javadoc: createLineSegmentDetector(_refine, _scale, _sigma_scale, _quant, _ang_th, _log_eps, _density_th, _n_bins) + public static LineSegmentDetector createLineSegmentDetector(int _refine, double _scale, double _sigma_scale, double _quant, double _ang_th, double _log_eps, double _density_th, int _n_bins) + { + + LineSegmentDetector retVal = new LineSegmentDetector(createLineSegmentDetector_0(_refine, _scale, _sigma_scale, _quant, _ang_th, _log_eps, _density_th, _n_bins)); + + return retVal; + } + + //javadoc: createLineSegmentDetector() + public static LineSegmentDetector createLineSegmentDetector() + { + + LineSegmentDetector retVal = new LineSegmentDetector(createLineSegmentDetector_1()); + + return retVal; + } + + + // + // C++: Mat getGaussianKernel(int ksize, double sigma, int ktype = CV_64F) + // + + //javadoc: getGaussianKernel(ksize, sigma, ktype) + public static Mat getGaussianKernel(int ksize, double sigma, int ktype) + { + + Mat retVal = new Mat(getGaussianKernel_0(ksize, sigma, ktype)); + + return retVal; + } + + //javadoc: getGaussianKernel(ksize, sigma) + public static Mat getGaussianKernel(int ksize, double sigma) + { + + Mat retVal = new Mat(getGaussianKernel_1(ksize, sigma)); + + return retVal; + } + + + // + // C++: void getDerivKernels(Mat& kx, Mat& ky, int dx, int dy, int ksize, bool normalize = false, int ktype = CV_32F) + // + + //javadoc: getDerivKernels(kx, ky, dx, dy, ksize, normalize, ktype) + public static void getDerivKernels(Mat kx, Mat ky, int dx, int dy, int ksize, boolean normalize, int ktype) + { + + getDerivKernels_0(kx.nativeObj, ky.nativeObj, dx, dy, ksize, normalize, ktype); + + return; + } + + //javadoc: getDerivKernels(kx, ky, dx, dy, ksize) + public static void getDerivKernels(Mat kx, Mat ky, int dx, int dy, int ksize) + { + + getDerivKernels_1(kx.nativeObj, ky.nativeObj, dx, dy, ksize); + + return; + } + + + // + // C++: Mat getGaborKernel(Size ksize, double sigma, double theta, double lambd, double gamma, double psi = CV_PI*0.5, int ktype = CV_64F) + // + + //javadoc: getGaborKernel(ksize, sigma, theta, lambd, gamma, psi, ktype) + public static Mat getGaborKernel(Size ksize, double sigma, double theta, double lambd, double gamma, double psi, int ktype) + { + + Mat retVal = new Mat(getGaborKernel_0(ksize.width, ksize.height, sigma, theta, lambd, gamma, psi, ktype)); + + return retVal; + } + + //javadoc: getGaborKernel(ksize, sigma, theta, lambd, gamma) + public static Mat getGaborKernel(Size ksize, double sigma, double theta, double lambd, double gamma) + { + + Mat retVal = new Mat(getGaborKernel_1(ksize.width, ksize.height, sigma, theta, lambd, gamma)); + + return retVal; + } + + + // + // C++: Mat getStructuringElement(int shape, Size ksize, Point anchor = Point(-1,-1)) + // + + //javadoc: getStructuringElement(shape, ksize, anchor) + public static Mat getStructuringElement(int shape, Size ksize, Point anchor) + { + + Mat retVal = new Mat(getStructuringElement_0(shape, ksize.width, ksize.height, anchor.x, anchor.y)); + + return retVal; + } + + //javadoc: getStructuringElement(shape, ksize) + public static Mat getStructuringElement(int shape, Size ksize) + { + + Mat retVal = new Mat(getStructuringElement_1(shape, ksize.width, ksize.height)); + + return retVal; + } + + + // + // C++: void medianBlur(Mat src, Mat& dst, int ksize) + // + + //javadoc: medianBlur(src, dst, ksize) + public static void medianBlur(Mat src, Mat dst, int ksize) + { + + medianBlur_0(src.nativeObj, dst.nativeObj, ksize); + + return; + } + + + // + // C++: void GaussianBlur(Mat src, Mat& dst, Size ksize, double sigmaX, double sigmaY = 0, int borderType = BORDER_DEFAULT) + // + + //javadoc: GaussianBlur(src, dst, ksize, sigmaX, sigmaY, borderType) + public static void GaussianBlur(Mat src, Mat dst, Size ksize, double sigmaX, double sigmaY, int borderType) + { + + GaussianBlur_0(src.nativeObj, dst.nativeObj, ksize.width, ksize.height, sigmaX, sigmaY, borderType); + + return; + } + + //javadoc: GaussianBlur(src, dst, ksize, sigmaX, sigmaY) + public static void GaussianBlur(Mat src, Mat dst, Size ksize, double sigmaX, double sigmaY) + { + + GaussianBlur_1(src.nativeObj, dst.nativeObj, ksize.width, ksize.height, sigmaX, sigmaY); + + return; + } + + //javadoc: GaussianBlur(src, dst, ksize, sigmaX) + public static void GaussianBlur(Mat src, Mat dst, Size ksize, double sigmaX) + { + + GaussianBlur_2(src.nativeObj, dst.nativeObj, ksize.width, ksize.height, sigmaX); + + return; + } + + + // + // C++: void bilateralFilter(Mat src, Mat& dst, int d, double sigmaColor, double sigmaSpace, int borderType = BORDER_DEFAULT) + // + + //javadoc: bilateralFilter(src, dst, d, sigmaColor, sigmaSpace, borderType) + public static void bilateralFilter(Mat src, Mat dst, int d, double sigmaColor, double sigmaSpace, int borderType) + { + + bilateralFilter_0(src.nativeObj, dst.nativeObj, d, sigmaColor, sigmaSpace, borderType); + + return; + } + + //javadoc: bilateralFilter(src, dst, d, sigmaColor, sigmaSpace) + public static void bilateralFilter(Mat src, Mat dst, int d, double sigmaColor, double sigmaSpace) + { + + bilateralFilter_1(src.nativeObj, dst.nativeObj, d, sigmaColor, sigmaSpace); + + return; + } + + + // + // C++: void boxFilter(Mat src, Mat& dst, int ddepth, Size ksize, Point anchor = Point(-1,-1), bool normalize = true, int borderType = BORDER_DEFAULT) + // + + //javadoc: boxFilter(src, dst, ddepth, ksize, anchor, normalize, borderType) + public static void boxFilter(Mat src, Mat dst, int ddepth, Size ksize, Point anchor, boolean normalize, int borderType) + { + + boxFilter_0(src.nativeObj, dst.nativeObj, ddepth, ksize.width, ksize.height, anchor.x, anchor.y, normalize, borderType); + + return; + } + + //javadoc: boxFilter(src, dst, ddepth, ksize, anchor, normalize) + public static void boxFilter(Mat src, Mat dst, int ddepth, Size ksize, Point anchor, boolean normalize) + { + + boxFilter_1(src.nativeObj, dst.nativeObj, ddepth, ksize.width, ksize.height, anchor.x, anchor.y, normalize); + + return; + } + + //javadoc: boxFilter(src, dst, ddepth, ksize) + public static void boxFilter(Mat src, Mat dst, int ddepth, Size ksize) + { + + boxFilter_2(src.nativeObj, dst.nativeObj, ddepth, ksize.width, ksize.height); + + return; + } + + + // + // C++: void sqrBoxFilter(Mat _src, Mat& _dst, int ddepth, Size ksize, Point anchor = Point(-1, -1), bool normalize = true, int borderType = BORDER_DEFAULT) + // + + //javadoc: sqrBoxFilter(_src, _dst, ddepth, ksize, anchor, normalize, borderType) + public static void sqrBoxFilter(Mat _src, Mat _dst, int ddepth, Size ksize, Point anchor, boolean normalize, int borderType) + { + + sqrBoxFilter_0(_src.nativeObj, _dst.nativeObj, ddepth, ksize.width, ksize.height, anchor.x, anchor.y, normalize, borderType); + + return; + } + + //javadoc: sqrBoxFilter(_src, _dst, ddepth, ksize, anchor, normalize) + public static void sqrBoxFilter(Mat _src, Mat _dst, int ddepth, Size ksize, Point anchor, boolean normalize) + { + + sqrBoxFilter_1(_src.nativeObj, _dst.nativeObj, ddepth, ksize.width, ksize.height, anchor.x, anchor.y, normalize); + + return; + } + + //javadoc: sqrBoxFilter(_src, _dst, ddepth, ksize) + public static void sqrBoxFilter(Mat _src, Mat _dst, int ddepth, Size ksize) + { + + sqrBoxFilter_2(_src.nativeObj, _dst.nativeObj, ddepth, ksize.width, ksize.height); + + return; + } + + + // + // C++: void cornerMinEigenVal(Mat src, Mat& dst, int blockSize, int ksize = 3, int borderType = BORDER_DEFAULT) + // + + //javadoc: cornerMinEigenVal(src, dst, blockSize, ksize, borderType) + public static void cornerMinEigenVal(Mat src, Mat dst, int blockSize, int ksize, int borderType) + { + + cornerMinEigenVal_0(src.nativeObj, dst.nativeObj, blockSize, ksize, borderType); + + return; + } + + //javadoc: cornerMinEigenVal(src, dst, blockSize, ksize) + public static void cornerMinEigenVal(Mat src, Mat dst, int blockSize, int ksize) + { + + cornerMinEigenVal_1(src.nativeObj, dst.nativeObj, blockSize, ksize); + + return; + } + + //javadoc: cornerMinEigenVal(src, dst, blockSize) + public static void cornerMinEigenVal(Mat src, Mat dst, int blockSize) + { + + cornerMinEigenVal_2(src.nativeObj, dst.nativeObj, blockSize); + + return; + } + + + // + // C++: void cornerHarris(Mat src, Mat& dst, int blockSize, int ksize, double k, int borderType = BORDER_DEFAULT) + // + + //javadoc: cornerHarris(src, dst, blockSize, ksize, k, borderType) + public static void cornerHarris(Mat src, Mat dst, int blockSize, int ksize, double k, int borderType) + { + + cornerHarris_0(src.nativeObj, dst.nativeObj, blockSize, ksize, k, borderType); + + return; + } + + //javadoc: cornerHarris(src, dst, blockSize, ksize, k) + public static void cornerHarris(Mat src, Mat dst, int blockSize, int ksize, double k) + { + + cornerHarris_1(src.nativeObj, dst.nativeObj, blockSize, ksize, k); + + return; + } + + + // + // C++: void cornerEigenValsAndVecs(Mat src, Mat& dst, int blockSize, int ksize, int borderType = BORDER_DEFAULT) + // + + //javadoc: cornerEigenValsAndVecs(src, dst, blockSize, ksize, borderType) + public static void cornerEigenValsAndVecs(Mat src, Mat dst, int blockSize, int ksize, int borderType) + { + + cornerEigenValsAndVecs_0(src.nativeObj, dst.nativeObj, blockSize, ksize, borderType); + + return; + } + + //javadoc: cornerEigenValsAndVecs(src, dst, blockSize, ksize) + public static void cornerEigenValsAndVecs(Mat src, Mat dst, int blockSize, int ksize) + { + + cornerEigenValsAndVecs_1(src.nativeObj, dst.nativeObj, blockSize, ksize); + + return; + } + + + // + // C++: void preCornerDetect(Mat src, Mat& dst, int ksize, int borderType = BORDER_DEFAULT) + // + + //javadoc: preCornerDetect(src, dst, ksize, borderType) + public static void preCornerDetect(Mat src, Mat dst, int ksize, int borderType) + { + + preCornerDetect_0(src.nativeObj, dst.nativeObj, ksize, borderType); + + return; + } + + //javadoc: preCornerDetect(src, dst, ksize) + public static void preCornerDetect(Mat src, Mat dst, int ksize) + { + + preCornerDetect_1(src.nativeObj, dst.nativeObj, ksize); + + return; + } + + + // + // C++: void cornerSubPix(Mat image, vector_Point2f& corners, Size winSize, Size zeroZone, TermCriteria criteria) + // + + //javadoc: cornerSubPix(image, corners, winSize, zeroZone, criteria) + public static void cornerSubPix(Mat image, MatOfPoint2f corners, Size winSize, Size zeroZone, TermCriteria criteria) + { + Mat corners_mat = corners; + cornerSubPix_0(image.nativeObj, corners_mat.nativeObj, winSize.width, winSize.height, zeroZone.width, zeroZone.height, criteria.type, criteria.maxCount, criteria.epsilon); + + return; + } + + + // + // C++: void goodFeaturesToTrack(Mat image, vector_Point& corners, int maxCorners, double qualityLevel, double minDistance, Mat mask = Mat(), int blockSize = 3, bool useHarrisDetector = false, double k = 0.04) + // + + //javadoc: goodFeaturesToTrack(image, corners, maxCorners, qualityLevel, minDistance, mask, blockSize, useHarrisDetector, k) + public static void goodFeaturesToTrack(Mat image, MatOfPoint corners, int maxCorners, double qualityLevel, double minDistance, Mat mask, int blockSize, boolean useHarrisDetector, double k) + { + Mat corners_mat = corners; + goodFeaturesToTrack_0(image.nativeObj, corners_mat.nativeObj, maxCorners, qualityLevel, minDistance, mask.nativeObj, blockSize, useHarrisDetector, k); + + return; + } + + //javadoc: goodFeaturesToTrack(image, corners, maxCorners, qualityLevel, minDistance) + public static void goodFeaturesToTrack(Mat image, MatOfPoint corners, int maxCorners, double qualityLevel, double minDistance) + { + Mat corners_mat = corners; + goodFeaturesToTrack_1(image.nativeObj, corners_mat.nativeObj, maxCorners, qualityLevel, minDistance); + + return; + } + + + // + // C++: void HoughLines(Mat image, Mat& lines, double rho, double theta, int threshold, double srn = 0, double stn = 0, double min_theta = 0, double max_theta = CV_PI) + // + + //javadoc: HoughLines(image, lines, rho, theta, threshold, srn, stn, min_theta, max_theta) + public static void HoughLines(Mat image, Mat lines, double rho, double theta, int threshold, double srn, double stn, double min_theta, double max_theta) + { + + HoughLines_0(image.nativeObj, lines.nativeObj, rho, theta, threshold, srn, stn, min_theta, max_theta); + + return; + } + + //javadoc: HoughLines(image, lines, rho, theta, threshold) + public static void HoughLines(Mat image, Mat lines, double rho, double theta, int threshold) + { + + HoughLines_1(image.nativeObj, lines.nativeObj, rho, theta, threshold); + + return; + } + + + // + // C++: void HoughLinesP(Mat image, Mat& lines, double rho, double theta, int threshold, double minLineLength = 0, double maxLineGap = 0) + // + + //javadoc: HoughLinesP(image, lines, rho, theta, threshold, minLineLength, maxLineGap) + public static void HoughLinesP(Mat image, Mat lines, double rho, double theta, int threshold, double minLineLength, double maxLineGap) + { + + HoughLinesP_0(image.nativeObj, lines.nativeObj, rho, theta, threshold, minLineLength, maxLineGap); + + return; + } + + //javadoc: HoughLinesP(image, lines, rho, theta, threshold) + public static void HoughLinesP(Mat image, Mat lines, double rho, double theta, int threshold) + { + + HoughLinesP_1(image.nativeObj, lines.nativeObj, rho, theta, threshold); + + return; + } + + + // + // C++: void HoughCircles(Mat image, Mat& circles, int method, double dp, double minDist, double param1 = 100, double param2 = 100, int minRadius = 0, int maxRadius = 0) + // + + //javadoc: HoughCircles(image, circles, method, dp, minDist, param1, param2, minRadius, maxRadius) + public static void HoughCircles(Mat image, Mat circles, int method, double dp, double minDist, double param1, double param2, int minRadius, int maxRadius) + { + + HoughCircles_0(image.nativeObj, circles.nativeObj, method, dp, minDist, param1, param2, minRadius, maxRadius); + + return; + } + + //javadoc: HoughCircles(image, circles, method, dp, minDist) + public static void HoughCircles(Mat image, Mat circles, int method, double dp, double minDist) + { + + HoughCircles_1(image.nativeObj, circles.nativeObj, method, dp, minDist); + + return; + } + + + // + // C++: void erode(Mat src, Mat& dst, Mat kernel, Point anchor = Point(-1,-1), int iterations = 1, int borderType = BORDER_CONSTANT, Scalar borderValue = morphologyDefaultBorderValue()) + // + + //javadoc: erode(src, dst, kernel, anchor, iterations, borderType, borderValue) + public static void erode(Mat src, Mat dst, Mat kernel, Point anchor, int iterations, int borderType, Scalar borderValue) + { + + erode_0(src.nativeObj, dst.nativeObj, kernel.nativeObj, anchor.x, anchor.y, iterations, borderType, borderValue.val[0], borderValue.val[1], borderValue.val[2], borderValue.val[3]); + + return; + } + + //javadoc: erode(src, dst, kernel, anchor, iterations) + public static void erode(Mat src, Mat dst, Mat kernel, Point anchor, int iterations) + { + + erode_1(src.nativeObj, dst.nativeObj, kernel.nativeObj, anchor.x, anchor.y, iterations); + + return; + } + + //javadoc: erode(src, dst, kernel) + public static void erode(Mat src, Mat dst, Mat kernel) + { + + erode_2(src.nativeObj, dst.nativeObj, kernel.nativeObj); + + return; + } + + + // + // C++: void dilate(Mat src, Mat& dst, Mat kernel, Point anchor = Point(-1,-1), int iterations = 1, int borderType = BORDER_CONSTANT, Scalar borderValue = morphologyDefaultBorderValue()) + // + + //javadoc: dilate(src, dst, kernel, anchor, iterations, borderType, borderValue) + public static void dilate(Mat src, Mat dst, Mat kernel, Point anchor, int iterations, int borderType, Scalar borderValue) + { + + dilate_0(src.nativeObj, dst.nativeObj, kernel.nativeObj, anchor.x, anchor.y, iterations, borderType, borderValue.val[0], borderValue.val[1], borderValue.val[2], borderValue.val[3]); + + return; + } + + //javadoc: dilate(src, dst, kernel, anchor, iterations) + public static void dilate(Mat src, Mat dst, Mat kernel, Point anchor, int iterations) + { + + dilate_1(src.nativeObj, dst.nativeObj, kernel.nativeObj, anchor.x, anchor.y, iterations); + + return; + } + + //javadoc: dilate(src, dst, kernel) + public static void dilate(Mat src, Mat dst, Mat kernel) + { + + dilate_2(src.nativeObj, dst.nativeObj, kernel.nativeObj); + + return; + } + + + // + // C++: void morphologyEx(Mat src, Mat& dst, int op, Mat kernel, Point anchor = Point(-1,-1), int iterations = 1, int borderType = BORDER_CONSTANT, Scalar borderValue = morphologyDefaultBorderValue()) + // + + //javadoc: morphologyEx(src, dst, op, kernel, anchor, iterations, borderType, borderValue) + public static void morphologyEx(Mat src, Mat dst, int op, Mat kernel, Point anchor, int iterations, int borderType, Scalar borderValue) + { + + morphologyEx_0(src.nativeObj, dst.nativeObj, op, kernel.nativeObj, anchor.x, anchor.y, iterations, borderType, borderValue.val[0], borderValue.val[1], borderValue.val[2], borderValue.val[3]); + + return; + } + + //javadoc: morphologyEx(src, dst, op, kernel, anchor, iterations) + public static void morphologyEx(Mat src, Mat dst, int op, Mat kernel, Point anchor, int iterations) + { + + morphologyEx_1(src.nativeObj, dst.nativeObj, op, kernel.nativeObj, anchor.x, anchor.y, iterations); + + return; + } + + //javadoc: morphologyEx(src, dst, op, kernel) + public static void morphologyEx(Mat src, Mat dst, int op, Mat kernel) + { + + morphologyEx_2(src.nativeObj, dst.nativeObj, op, kernel.nativeObj); + + return; + } + + + // + // C++: void resize(Mat src, Mat& dst, Size dsize, double fx = 0, double fy = 0, int interpolation = INTER_LINEAR) + // + + //javadoc: resize(src, dst, dsize, fx, fy, interpolation) + public static void resize(Mat src, Mat dst, Size dsize, double fx, double fy, int interpolation) + { + + resize_0(src.nativeObj, dst.nativeObj, dsize.width, dsize.height, fx, fy, interpolation); + + return; + } + + //javadoc: resize(src, dst, dsize) + public static void resize(Mat src, Mat dst, Size dsize) + { + + resize_1(src.nativeObj, dst.nativeObj, dsize.width, dsize.height); + + return; + } + + + // + // C++: void warpAffine(Mat src, Mat& dst, Mat M, Size dsize, int flags = INTER_LINEAR, int borderMode = BORDER_CONSTANT, Scalar borderValue = Scalar()) + // + + //javadoc: warpAffine(src, dst, M, dsize, flags, borderMode, borderValue) + public static void warpAffine(Mat src, Mat dst, Mat M, Size dsize, int flags, int borderMode, Scalar borderValue) + { + + warpAffine_0(src.nativeObj, dst.nativeObj, M.nativeObj, dsize.width, dsize.height, flags, borderMode, borderValue.val[0], borderValue.val[1], borderValue.val[2], borderValue.val[3]); + + return; + } + + //javadoc: warpAffine(src, dst, M, dsize, flags) + public static void warpAffine(Mat src, Mat dst, Mat M, Size dsize, int flags) + { + + warpAffine_1(src.nativeObj, dst.nativeObj, M.nativeObj, dsize.width, dsize.height, flags); + + return; + } + + //javadoc: warpAffine(src, dst, M, dsize) + public static void warpAffine(Mat src, Mat dst, Mat M, Size dsize) + { + + warpAffine_2(src.nativeObj, dst.nativeObj, M.nativeObj, dsize.width, dsize.height); + + return; + } + + + // + // C++: void warpPerspective(Mat src, Mat& dst, Mat M, Size dsize, int flags = INTER_LINEAR, int borderMode = BORDER_CONSTANT, Scalar borderValue = Scalar()) + // + + //javadoc: warpPerspective(src, dst, M, dsize, flags, borderMode, borderValue) + public static void warpPerspective(Mat src, Mat dst, Mat M, Size dsize, int flags, int borderMode, Scalar borderValue) + { + + warpPerspective_0(src.nativeObj, dst.nativeObj, M.nativeObj, dsize.width, dsize.height, flags, borderMode, borderValue.val[0], borderValue.val[1], borderValue.val[2], borderValue.val[3]); + + return; + } + + //javadoc: warpPerspective(src, dst, M, dsize, flags) + public static void warpPerspective(Mat src, Mat dst, Mat M, Size dsize, int flags) + { + + warpPerspective_1(src.nativeObj, dst.nativeObj, M.nativeObj, dsize.width, dsize.height, flags); + + return; + } + + //javadoc: warpPerspective(src, dst, M, dsize) + public static void warpPerspective(Mat src, Mat dst, Mat M, Size dsize) + { + + warpPerspective_2(src.nativeObj, dst.nativeObj, M.nativeObj, dsize.width, dsize.height); + + return; + } + + + // + // C++: void remap(Mat src, Mat& dst, Mat map1, Mat map2, int interpolation, int borderMode = BORDER_CONSTANT, Scalar borderValue = Scalar()) + // + + //javadoc: remap(src, dst, map1, map2, interpolation, borderMode, borderValue) + public static void remap(Mat src, Mat dst, Mat map1, Mat map2, int interpolation, int borderMode, Scalar borderValue) + { + + remap_0(src.nativeObj, dst.nativeObj, map1.nativeObj, map2.nativeObj, interpolation, borderMode, borderValue.val[0], borderValue.val[1], borderValue.val[2], borderValue.val[3]); + + return; + } + + //javadoc: remap(src, dst, map1, map2, interpolation) + public static void remap(Mat src, Mat dst, Mat map1, Mat map2, int interpolation) + { + + remap_1(src.nativeObj, dst.nativeObj, map1.nativeObj, map2.nativeObj, interpolation); + + return; + } + + + // + // C++: void convertMaps(Mat map1, Mat map2, Mat& dstmap1, Mat& dstmap2, int dstmap1type, bool nninterpolation = false) + // + + //javadoc: convertMaps(map1, map2, dstmap1, dstmap2, dstmap1type, nninterpolation) + public static void convertMaps(Mat map1, Mat map2, Mat dstmap1, Mat dstmap2, int dstmap1type, boolean nninterpolation) + { + + convertMaps_0(map1.nativeObj, map2.nativeObj, dstmap1.nativeObj, dstmap2.nativeObj, dstmap1type, nninterpolation); + + return; + } + + //javadoc: convertMaps(map1, map2, dstmap1, dstmap2, dstmap1type) + public static void convertMaps(Mat map1, Mat map2, Mat dstmap1, Mat dstmap2, int dstmap1type) + { + + convertMaps_1(map1.nativeObj, map2.nativeObj, dstmap1.nativeObj, dstmap2.nativeObj, dstmap1type); + + return; + } + + + // + // C++: Mat getRotationMatrix2D(Point2f center, double angle, double scale) + // + + //javadoc: getRotationMatrix2D(center, angle, scale) + public static Mat getRotationMatrix2D(Point center, double angle, double scale) + { + + Mat retVal = new Mat(getRotationMatrix2D_0(center.x, center.y, angle, scale)); + + return retVal; + } + + + // + // C++: void invertAffineTransform(Mat M, Mat& iM) + // + + //javadoc: invertAffineTransform(M, iM) + public static void invertAffineTransform(Mat M, Mat iM) + { + + invertAffineTransform_0(M.nativeObj, iM.nativeObj); + + return; + } + + + // + // C++: Mat getPerspectiveTransform(Mat src, Mat dst) + // + + //javadoc: getPerspectiveTransform(src, dst) + public static Mat getPerspectiveTransform(Mat src, Mat dst) + { + + Mat retVal = new Mat(getPerspectiveTransform_0(src.nativeObj, dst.nativeObj)); + + return retVal; + } + + + // + // C++: Mat getAffineTransform(vector_Point2f src, vector_Point2f dst) + // + + //javadoc: getAffineTransform(src, dst) + public static Mat getAffineTransform(MatOfPoint2f src, MatOfPoint2f dst) + { + Mat src_mat = src; + Mat dst_mat = dst; + Mat retVal = new Mat(getAffineTransform_0(src_mat.nativeObj, dst_mat.nativeObj)); + + return retVal; + } + + + // + // C++: void getRectSubPix(Mat image, Size patchSize, Point2f center, Mat& patch, int patchType = -1) + // + + //javadoc: getRectSubPix(image, patchSize, center, patch, patchType) + public static void getRectSubPix(Mat image, Size patchSize, Point center, Mat patch, int patchType) + { + + getRectSubPix_0(image.nativeObj, patchSize.width, patchSize.height, center.x, center.y, patch.nativeObj, patchType); + + return; + } + + //javadoc: getRectSubPix(image, patchSize, center, patch) + public static void getRectSubPix(Mat image, Size patchSize, Point center, Mat patch) + { + + getRectSubPix_1(image.nativeObj, patchSize.width, patchSize.height, center.x, center.y, patch.nativeObj); + + return; + } + + + // + // C++: void logPolar(Mat src, Mat& dst, Point2f center, double M, int flags) + // + + //javadoc: logPolar(src, dst, center, M, flags) + public static void logPolar(Mat src, Mat dst, Point center, double M, int flags) + { + + logPolar_0(src.nativeObj, dst.nativeObj, center.x, center.y, M, flags); + + return; + } + + + // + // C++: void linearPolar(Mat src, Mat& dst, Point2f center, double maxRadius, int flags) + // + + //javadoc: linearPolar(src, dst, center, maxRadius, flags) + public static void linearPolar(Mat src, Mat dst, Point center, double maxRadius, int flags) + { + + linearPolar_0(src.nativeObj, dst.nativeObj, center.x, center.y, maxRadius, flags); + + return; + } + + + // + // C++: void adaptiveThreshold(Mat src, Mat& dst, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C) + // + + //javadoc: adaptiveThreshold(src, dst, maxValue, adaptiveMethod, thresholdType, blockSize, C) + public static void adaptiveThreshold(Mat src, Mat dst, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C) + { + + adaptiveThreshold_0(src.nativeObj, dst.nativeObj, maxValue, adaptiveMethod, thresholdType, blockSize, C); + + return; + } + + + // + // C++: void pyrDown(Mat src, Mat& dst, Size dstsize = Size(), int borderType = BORDER_DEFAULT) + // + + //javadoc: pyrDown(src, dst, dstsize, borderType) + public static void pyrDown(Mat src, Mat dst, Size dstsize, int borderType) + { + + pyrDown_0(src.nativeObj, dst.nativeObj, dstsize.width, dstsize.height, borderType); + + return; + } + + //javadoc: pyrDown(src, dst, dstsize) + public static void pyrDown(Mat src, Mat dst, Size dstsize) + { + + pyrDown_1(src.nativeObj, dst.nativeObj, dstsize.width, dstsize.height); + + return; + } + + //javadoc: pyrDown(src, dst) + public static void pyrDown(Mat src, Mat dst) + { + + pyrDown_2(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void pyrUp(Mat src, Mat& dst, Size dstsize = Size(), int borderType = BORDER_DEFAULT) + // + + //javadoc: pyrUp(src, dst, dstsize, borderType) + public static void pyrUp(Mat src, Mat dst, Size dstsize, int borderType) + { + + pyrUp_0(src.nativeObj, dst.nativeObj, dstsize.width, dstsize.height, borderType); + + return; + } + + //javadoc: pyrUp(src, dst, dstsize) + public static void pyrUp(Mat src, Mat dst, Size dstsize) + { + + pyrUp_1(src.nativeObj, dst.nativeObj, dstsize.width, dstsize.height); + + return; + } + + //javadoc: pyrUp(src, dst) + public static void pyrUp(Mat src, Mat dst) + { + + pyrUp_2(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void undistort(Mat src, Mat& dst, Mat cameraMatrix, Mat distCoeffs, Mat newCameraMatrix = Mat()) + // + + //javadoc: undistort(src, dst, cameraMatrix, distCoeffs, newCameraMatrix) + public static void undistort(Mat src, Mat dst, Mat cameraMatrix, Mat distCoeffs, Mat newCameraMatrix) + { + + undistort_0(src.nativeObj, dst.nativeObj, cameraMatrix.nativeObj, distCoeffs.nativeObj, newCameraMatrix.nativeObj); + + return; + } + + //javadoc: undistort(src, dst, cameraMatrix, distCoeffs) + public static void undistort(Mat src, Mat dst, Mat cameraMatrix, Mat distCoeffs) + { + + undistort_1(src.nativeObj, dst.nativeObj, cameraMatrix.nativeObj, distCoeffs.nativeObj); + + return; + } + + + // + // C++: void initUndistortRectifyMap(Mat cameraMatrix, Mat distCoeffs, Mat R, Mat newCameraMatrix, Size size, int m1type, Mat& map1, Mat& map2) + // + + //javadoc: initUndistortRectifyMap(cameraMatrix, distCoeffs, R, newCameraMatrix, size, m1type, map1, map2) + public static void initUndistortRectifyMap(Mat cameraMatrix, Mat distCoeffs, Mat R, Mat newCameraMatrix, Size size, int m1type, Mat map1, Mat map2) + { + + initUndistortRectifyMap_0(cameraMatrix.nativeObj, distCoeffs.nativeObj, R.nativeObj, newCameraMatrix.nativeObj, size.width, size.height, m1type, map1.nativeObj, map2.nativeObj); + + return; + } + + + // + // C++: float initWideAngleProjMap(Mat cameraMatrix, Mat distCoeffs, Size imageSize, int destImageWidth, int m1type, Mat& map1, Mat& map2, int projType = PROJ_SPHERICAL_EQRECT, double alpha = 0) + // + + //javadoc: initWideAngleProjMap(cameraMatrix, distCoeffs, imageSize, destImageWidth, m1type, map1, map2, projType, alpha) + public static float initWideAngleProjMap(Mat cameraMatrix, Mat distCoeffs, Size imageSize, int destImageWidth, int m1type, Mat map1, Mat map2, int projType, double alpha) + { + + float retVal = initWideAngleProjMap_0(cameraMatrix.nativeObj, distCoeffs.nativeObj, imageSize.width, imageSize.height, destImageWidth, m1type, map1.nativeObj, map2.nativeObj, projType, alpha); + + return retVal; + } + + //javadoc: initWideAngleProjMap(cameraMatrix, distCoeffs, imageSize, destImageWidth, m1type, map1, map2) + public static float initWideAngleProjMap(Mat cameraMatrix, Mat distCoeffs, Size imageSize, int destImageWidth, int m1type, Mat map1, Mat map2) + { + + float retVal = initWideAngleProjMap_1(cameraMatrix.nativeObj, distCoeffs.nativeObj, imageSize.width, imageSize.height, destImageWidth, m1type, map1.nativeObj, map2.nativeObj); + + return retVal; + } + + + // + // C++: Mat getDefaultNewCameraMatrix(Mat cameraMatrix, Size imgsize = Size(), bool centerPrincipalPoint = false) + // + + //javadoc: getDefaultNewCameraMatrix(cameraMatrix, imgsize, centerPrincipalPoint) + public static Mat getDefaultNewCameraMatrix(Mat cameraMatrix, Size imgsize, boolean centerPrincipalPoint) + { + + Mat retVal = new Mat(getDefaultNewCameraMatrix_0(cameraMatrix.nativeObj, imgsize.width, imgsize.height, centerPrincipalPoint)); + + return retVal; + } + + //javadoc: getDefaultNewCameraMatrix(cameraMatrix) + public static Mat getDefaultNewCameraMatrix(Mat cameraMatrix) + { + + Mat retVal = new Mat(getDefaultNewCameraMatrix_1(cameraMatrix.nativeObj)); + + return retVal; + } + + + // + // C++: void integral(Mat src, Mat& sum, int sdepth = -1) + // + + //javadoc: integral(src, sum, sdepth) + public static void integral(Mat src, Mat sum, int sdepth) + { + + integral_0(src.nativeObj, sum.nativeObj, sdepth); + + return; + } + + //javadoc: integral(src, sum) + public static void integral(Mat src, Mat sum) + { + + integral_1(src.nativeObj, sum.nativeObj); + + return; + } + + + // + // C++: void integral(Mat src, Mat& sum, Mat& sqsum, int sdepth = -1, int sqdepth = -1) + // + + //javadoc: integral(src, sum, sqsum, sdepth, sqdepth) + public static void integral2(Mat src, Mat sum, Mat sqsum, int sdepth, int sqdepth) + { + + integral2_0(src.nativeObj, sum.nativeObj, sqsum.nativeObj, sdepth, sqdepth); + + return; + } + + //javadoc: integral(src, sum, sqsum) + public static void integral2(Mat src, Mat sum, Mat sqsum) + { + + integral2_1(src.nativeObj, sum.nativeObj, sqsum.nativeObj); + + return; + } + + + // + // C++: void integral(Mat src, Mat& sum, Mat& sqsum, Mat& tilted, int sdepth = -1, int sqdepth = -1) + // + + //javadoc: integral(src, sum, sqsum, tilted, sdepth, sqdepth) + public static void integral3(Mat src, Mat sum, Mat sqsum, Mat tilted, int sdepth, int sqdepth) + { + + integral3_0(src.nativeObj, sum.nativeObj, sqsum.nativeObj, tilted.nativeObj, sdepth, sqdepth); + + return; + } + + //javadoc: integral(src, sum, sqsum, tilted) + public static void integral3(Mat src, Mat sum, Mat sqsum, Mat tilted) + { + + integral3_1(src.nativeObj, sum.nativeObj, sqsum.nativeObj, tilted.nativeObj); + + return; + } + + + // + // C++: void accumulate(Mat src, Mat& dst, Mat mask = Mat()) + // + + //javadoc: accumulate(src, dst, mask) + public static void accumulate(Mat src, Mat dst, Mat mask) + { + + accumulate_0(src.nativeObj, dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: accumulate(src, dst) + public static void accumulate(Mat src, Mat dst) + { + + accumulate_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void accumulateSquare(Mat src, Mat& dst, Mat mask = Mat()) + // + + //javadoc: accumulateSquare(src, dst, mask) + public static void accumulateSquare(Mat src, Mat dst, Mat mask) + { + + accumulateSquare_0(src.nativeObj, dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: accumulateSquare(src, dst) + public static void accumulateSquare(Mat src, Mat dst) + { + + accumulateSquare_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void accumulateProduct(Mat src1, Mat src2, Mat& dst, Mat mask = Mat()) + // + + //javadoc: accumulateProduct(src1, src2, dst, mask) + public static void accumulateProduct(Mat src1, Mat src2, Mat dst, Mat mask) + { + + accumulateProduct_0(src1.nativeObj, src2.nativeObj, dst.nativeObj, mask.nativeObj); + + return; + } + + //javadoc: accumulateProduct(src1, src2, dst) + public static void accumulateProduct(Mat src1, Mat src2, Mat dst) + { + + accumulateProduct_1(src1.nativeObj, src2.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void accumulateWeighted(Mat src, Mat& dst, double alpha, Mat mask = Mat()) + // + + //javadoc: accumulateWeighted(src, dst, alpha, mask) + public static void accumulateWeighted(Mat src, Mat dst, double alpha, Mat mask) + { + + accumulateWeighted_0(src.nativeObj, dst.nativeObj, alpha, mask.nativeObj); + + return; + } + + //javadoc: accumulateWeighted(src, dst, alpha) + public static void accumulateWeighted(Mat src, Mat dst, double alpha) + { + + accumulateWeighted_1(src.nativeObj, dst.nativeObj, alpha); + + return; + } + + + // + // C++: Point2d phaseCorrelate(Mat src1, Mat src2, Mat window = Mat(), double* response = 0) + // + + //javadoc: phaseCorrelate(src1, src2, window, response) + public static Point phaseCorrelate(Mat src1, Mat src2, Mat window, double[] response) + { + double[] response_out = new double[1]; + Point retVal = new Point(phaseCorrelate_0(src1.nativeObj, src2.nativeObj, window.nativeObj, response_out)); + if(response!=null) response[0] = (double)response_out[0]; + return retVal; + } + + //javadoc: phaseCorrelate(src1, src2) + public static Point phaseCorrelate(Mat src1, Mat src2) + { + + Point retVal = new Point(phaseCorrelate_1(src1.nativeObj, src2.nativeObj)); + + return retVal; + } + + + // + // C++: void createHanningWindow(Mat& dst, Size winSize, int type) + // + + //javadoc: createHanningWindow(dst, winSize, type) + public static void createHanningWindow(Mat dst, Size winSize, int type) + { + + createHanningWindow_0(dst.nativeObj, winSize.width, winSize.height, type); + + return; + } + + + // + // C++: double threshold(Mat src, Mat& dst, double thresh, double maxval, int type) + // + + //javadoc: threshold(src, dst, thresh, maxval, type) + public static double threshold(Mat src, Mat dst, double thresh, double maxval, int type) + { + + double retVal = threshold_0(src.nativeObj, dst.nativeObj, thresh, maxval, type); + + return retVal; + } + + + // + // C++: void undistortPoints(vector_Point2f src, vector_Point2f& dst, Mat cameraMatrix, Mat distCoeffs, Mat R = Mat(), Mat P = Mat()) + // + + //javadoc: undistortPoints(src, dst, cameraMatrix, distCoeffs, R, P) + public static void undistortPoints(MatOfPoint2f src, MatOfPoint2f dst, Mat cameraMatrix, Mat distCoeffs, Mat R, Mat P) + { + Mat src_mat = src; + Mat dst_mat = dst; + undistortPoints_0(src_mat.nativeObj, dst_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs.nativeObj, R.nativeObj, P.nativeObj); + + return; + } + + //javadoc: undistortPoints(src, dst, cameraMatrix, distCoeffs) + public static void undistortPoints(MatOfPoint2f src, MatOfPoint2f dst, Mat cameraMatrix, Mat distCoeffs) + { + Mat src_mat = src; + Mat dst_mat = dst; + undistortPoints_1(src_mat.nativeObj, dst_mat.nativeObj, cameraMatrix.nativeObj, distCoeffs.nativeObj); + + return; + } + + + // + // C++: void calcHist(vector_Mat images, vector_int channels, Mat mask, Mat& hist, vector_int histSize, vector_float ranges, bool accumulate = false) + // + + //javadoc: calcHist(images, channels, mask, hist, histSize, ranges, accumulate) + public static void calcHist(List images, MatOfInt channels, Mat mask, Mat hist, MatOfInt histSize, MatOfFloat ranges, boolean accumulate) + { + Mat images_mat = Converters.vector_Mat_to_Mat(images); + Mat channels_mat = channels; + Mat histSize_mat = histSize; + Mat ranges_mat = ranges; + calcHist_0(images_mat.nativeObj, channels_mat.nativeObj, mask.nativeObj, hist.nativeObj, histSize_mat.nativeObj, ranges_mat.nativeObj, accumulate); + + return; + } + + //javadoc: calcHist(images, channels, mask, hist, histSize, ranges) + public static void calcHist(List images, MatOfInt channels, Mat mask, Mat hist, MatOfInt histSize, MatOfFloat ranges) + { + Mat images_mat = Converters.vector_Mat_to_Mat(images); + Mat channels_mat = channels; + Mat histSize_mat = histSize; + Mat ranges_mat = ranges; + calcHist_1(images_mat.nativeObj, channels_mat.nativeObj, mask.nativeObj, hist.nativeObj, histSize_mat.nativeObj, ranges_mat.nativeObj); + + return; + } + + + // + // C++: void calcBackProject(vector_Mat images, vector_int channels, Mat hist, Mat& dst, vector_float ranges, double scale) + // + + //javadoc: calcBackProject(images, channels, hist, dst, ranges, scale) + public static void calcBackProject(List images, MatOfInt channels, Mat hist, Mat dst, MatOfFloat ranges, double scale) + { + Mat images_mat = Converters.vector_Mat_to_Mat(images); + Mat channels_mat = channels; + Mat ranges_mat = ranges; + calcBackProject_0(images_mat.nativeObj, channels_mat.nativeObj, hist.nativeObj, dst.nativeObj, ranges_mat.nativeObj, scale); + + return; + } + + + // + // C++: double compareHist(Mat H1, Mat H2, int method) + // + + //javadoc: compareHist(H1, H2, method) + public static double compareHist(Mat H1, Mat H2, int method) + { + + double retVal = compareHist_0(H1.nativeObj, H2.nativeObj, method); + + return retVal; + } + + + // + // C++: void equalizeHist(Mat src, Mat& dst) + // + + //javadoc: equalizeHist(src, dst) + public static void equalizeHist(Mat src, Mat dst) + { + + equalizeHist_0(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void watershed(Mat image, Mat& markers) + // + + //javadoc: watershed(image, markers) + public static void watershed(Mat image, Mat markers) + { + + watershed_0(image.nativeObj, markers.nativeObj); + + return; + } + + + // + // C++: void pyrMeanShiftFiltering(Mat src, Mat& dst, double sp, double sr, int maxLevel = 1, TermCriteria termcrit = TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS,5,1)) + // + + //javadoc: pyrMeanShiftFiltering(src, dst, sp, sr, maxLevel, termcrit) + public static void pyrMeanShiftFiltering(Mat src, Mat dst, double sp, double sr, int maxLevel, TermCriteria termcrit) + { + + pyrMeanShiftFiltering_0(src.nativeObj, dst.nativeObj, sp, sr, maxLevel, termcrit.type, termcrit.maxCount, termcrit.epsilon); + + return; + } + + //javadoc: pyrMeanShiftFiltering(src, dst, sp, sr) + public static void pyrMeanShiftFiltering(Mat src, Mat dst, double sp, double sr) + { + + pyrMeanShiftFiltering_1(src.nativeObj, dst.nativeObj, sp, sr); + + return; + } + + + // + // C++: void grabCut(Mat img, Mat& mask, Rect rect, Mat& bgdModel, Mat& fgdModel, int iterCount, int mode = GC_EVAL) + // + + //javadoc: grabCut(img, mask, rect, bgdModel, fgdModel, iterCount, mode) + public static void grabCut(Mat img, Mat mask, Rect rect, Mat bgdModel, Mat fgdModel, int iterCount, int mode) + { + + grabCut_0(img.nativeObj, mask.nativeObj, rect.x, rect.y, rect.width, rect.height, bgdModel.nativeObj, fgdModel.nativeObj, iterCount, mode); + + return; + } + + //javadoc: grabCut(img, mask, rect, bgdModel, fgdModel, iterCount) + public static void grabCut(Mat img, Mat mask, Rect rect, Mat bgdModel, Mat fgdModel, int iterCount) + { + + grabCut_1(img.nativeObj, mask.nativeObj, rect.x, rect.y, rect.width, rect.height, bgdModel.nativeObj, fgdModel.nativeObj, iterCount); + + return; + } + + + // + // C++: void distanceTransform(Mat src, Mat& dst, Mat& labels, int distanceType, int maskSize, int labelType = DIST_LABEL_CCOMP) + // + + //javadoc: distanceTransform(src, dst, labels, distanceType, maskSize, labelType) + public static void distanceTransformWithLabels(Mat src, Mat dst, Mat labels, int distanceType, int maskSize, int labelType) + { + + distanceTransformWithLabels_0(src.nativeObj, dst.nativeObj, labels.nativeObj, distanceType, maskSize, labelType); + + return; + } + + //javadoc: distanceTransform(src, dst, labels, distanceType, maskSize) + public static void distanceTransformWithLabels(Mat src, Mat dst, Mat labels, int distanceType, int maskSize) + { + + distanceTransformWithLabels_1(src.nativeObj, dst.nativeObj, labels.nativeObj, distanceType, maskSize); + + return; + } + + + // + // C++: void distanceTransform(Mat src, Mat& dst, int distanceType, int maskSize, int dstType = CV_32F) + // + + //javadoc: distanceTransform(src, dst, distanceType, maskSize, dstType) + public static void distanceTransform(Mat src, Mat dst, int distanceType, int maskSize, int dstType) + { + + distanceTransform_0(src.nativeObj, dst.nativeObj, distanceType, maskSize, dstType); + + return; + } + + //javadoc: distanceTransform(src, dst, distanceType, maskSize) + public static void distanceTransform(Mat src, Mat dst, int distanceType, int maskSize) + { + + distanceTransform_1(src.nativeObj, dst.nativeObj, distanceType, maskSize); + + return; + } + + + // + // C++: int floodFill(Mat& image, Mat& mask, Point seedPoint, Scalar newVal, Rect* rect = 0, Scalar loDiff = Scalar(), Scalar upDiff = Scalar(), int flags = 4) + // + + //javadoc: floodFill(image, mask, seedPoint, newVal, rect, loDiff, upDiff, flags) + public static int floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal, Rect rect, Scalar loDiff, Scalar upDiff, int flags) + { + double[] rect_out = new double[4]; + int retVal = floodFill_0(image.nativeObj, mask.nativeObj, seedPoint.x, seedPoint.y, newVal.val[0], newVal.val[1], newVal.val[2], newVal.val[3], rect_out, loDiff.val[0], loDiff.val[1], loDiff.val[2], loDiff.val[3], upDiff.val[0], upDiff.val[1], upDiff.val[2], upDiff.val[3], flags); + if(rect!=null){ rect.x = (int)rect_out[0]; rect.y = (int)rect_out[1]; rect.width = (int)rect_out[2]; rect.height = (int)rect_out[3]; } + return retVal; + } + + //javadoc: floodFill(image, mask, seedPoint, newVal) + public static int floodFill(Mat image, Mat mask, Point seedPoint, Scalar newVal) + { + + int retVal = floodFill_1(image.nativeObj, mask.nativeObj, seedPoint.x, seedPoint.y, newVal.val[0], newVal.val[1], newVal.val[2], newVal.val[3]); + + return retVal; + } + + + // + // C++: void cvtColor(Mat src, Mat& dst, int code, int dstCn = 0) + // + + //javadoc: cvtColor(src, dst, code, dstCn) + public static void cvtColor(Mat src, Mat dst, int code, int dstCn) + { + + cvtColor_0(src.nativeObj, dst.nativeObj, code, dstCn); + + return; + } + + //javadoc: cvtColor(src, dst, code) + public static void cvtColor(Mat src, Mat dst, int code) + { + + cvtColor_1(src.nativeObj, dst.nativeObj, code); + + return; + } + + + // + // C++: void demosaicing(Mat _src, Mat& _dst, int code, int dcn = 0) + // + + //javadoc: demosaicing(_src, _dst, code, dcn) + public static void demosaicing(Mat _src, Mat _dst, int code, int dcn) + { + + demosaicing_0(_src.nativeObj, _dst.nativeObj, code, dcn); + + return; + } + + //javadoc: demosaicing(_src, _dst, code) + public static void demosaicing(Mat _src, Mat _dst, int code) + { + + demosaicing_1(_src.nativeObj, _dst.nativeObj, code); + + return; + } + + + // + // C++: Moments moments(Mat array, bool binaryImage = false) + // + + // Return type 'Moments' is not supported, skipping the function + + + // + // C++: void HuMoments(Moments m, Mat& hu) + // + + // Unknown type 'Moments' (I), skipping the function + + + // + // C++: void matchTemplate(Mat image, Mat templ, Mat& result, int method, Mat mask = Mat()) + // + + //javadoc: matchTemplate(image, templ, result, method, mask) + public static void matchTemplate(Mat image, Mat templ, Mat result, int method, Mat mask) + { + + matchTemplate_0(image.nativeObj, templ.nativeObj, result.nativeObj, method, mask.nativeObj); + + return; + } + + //javadoc: matchTemplate(image, templ, result, method) + public static void matchTemplate(Mat image, Mat templ, Mat result, int method) + { + + matchTemplate_1(image.nativeObj, templ.nativeObj, result.nativeObj, method); + + return; + } + + + // + // C++: void blur(Mat src, Mat& dst, Size ksize, Point anchor = Point(-1,-1), int borderType = BORDER_DEFAULT) + // + + //javadoc: blur(src, dst, ksize, anchor, borderType) + public static void blur(Mat src, Mat dst, Size ksize, Point anchor, int borderType) + { + + blur_0(src.nativeObj, dst.nativeObj, ksize.width, ksize.height, anchor.x, anchor.y, borderType); + + return; + } + + //javadoc: blur(src, dst, ksize, anchor) + public static void blur(Mat src, Mat dst, Size ksize, Point anchor) + { + + blur_1(src.nativeObj, dst.nativeObj, ksize.width, ksize.height, anchor.x, anchor.y); + + return; + } + + //javadoc: blur(src, dst, ksize) + public static void blur(Mat src, Mat dst, Size ksize) + { + + blur_2(src.nativeObj, dst.nativeObj, ksize.width, ksize.height); + + return; + } + + + // + // C++: void filter2D(Mat src, Mat& dst, int ddepth, Mat kernel, Point anchor = Point(-1,-1), double delta = 0, int borderType = BORDER_DEFAULT) + // + + //javadoc: filter2D(src, dst, ddepth, kernel, anchor, delta, borderType) + public static void filter2D(Mat src, Mat dst, int ddepth, Mat kernel, Point anchor, double delta, int borderType) + { + + filter2D_0(src.nativeObj, dst.nativeObj, ddepth, kernel.nativeObj, anchor.x, anchor.y, delta, borderType); + + return; + } + + //javadoc: filter2D(src, dst, ddepth, kernel, anchor, delta) + public static void filter2D(Mat src, Mat dst, int ddepth, Mat kernel, Point anchor, double delta) + { + + filter2D_1(src.nativeObj, dst.nativeObj, ddepth, kernel.nativeObj, anchor.x, anchor.y, delta); + + return; + } + + //javadoc: filter2D(src, dst, ddepth, kernel) + public static void filter2D(Mat src, Mat dst, int ddepth, Mat kernel) + { + + filter2D_2(src.nativeObj, dst.nativeObj, ddepth, kernel.nativeObj); + + return; + } + + + // + // C++: void sepFilter2D(Mat src, Mat& dst, int ddepth, Mat kernelX, Mat kernelY, Point anchor = Point(-1,-1), double delta = 0, int borderType = BORDER_DEFAULT) + // + + //javadoc: sepFilter2D(src, dst, ddepth, kernelX, kernelY, anchor, delta, borderType) + public static void sepFilter2D(Mat src, Mat dst, int ddepth, Mat kernelX, Mat kernelY, Point anchor, double delta, int borderType) + { + + sepFilter2D_0(src.nativeObj, dst.nativeObj, ddepth, kernelX.nativeObj, kernelY.nativeObj, anchor.x, anchor.y, delta, borderType); + + return; + } + + //javadoc: sepFilter2D(src, dst, ddepth, kernelX, kernelY, anchor, delta) + public static void sepFilter2D(Mat src, Mat dst, int ddepth, Mat kernelX, Mat kernelY, Point anchor, double delta) + { + + sepFilter2D_1(src.nativeObj, dst.nativeObj, ddepth, kernelX.nativeObj, kernelY.nativeObj, anchor.x, anchor.y, delta); + + return; + } + + //javadoc: sepFilter2D(src, dst, ddepth, kernelX, kernelY) + public static void sepFilter2D(Mat src, Mat dst, int ddepth, Mat kernelX, Mat kernelY) + { + + sepFilter2D_2(src.nativeObj, dst.nativeObj, ddepth, kernelX.nativeObj, kernelY.nativeObj); + + return; + } + + + // + // C++: void Sobel(Mat src, Mat& dst, int ddepth, int dx, int dy, int ksize = 3, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT) + // + + //javadoc: Sobel(src, dst, ddepth, dx, dy, ksize, scale, delta, borderType) + public static void Sobel(Mat src, Mat dst, int ddepth, int dx, int dy, int ksize, double scale, double delta, int borderType) + { + + Sobel_0(src.nativeObj, dst.nativeObj, ddepth, dx, dy, ksize, scale, delta, borderType); + + return; + } + + //javadoc: Sobel(src, dst, ddepth, dx, dy, ksize, scale, delta) + public static void Sobel(Mat src, Mat dst, int ddepth, int dx, int dy, int ksize, double scale, double delta) + { + + Sobel_1(src.nativeObj, dst.nativeObj, ddepth, dx, dy, ksize, scale, delta); + + return; + } + + //javadoc: Sobel(src, dst, ddepth, dx, dy) + public static void Sobel(Mat src, Mat dst, int ddepth, int dx, int dy) + { + + Sobel_2(src.nativeObj, dst.nativeObj, ddepth, dx, dy); + + return; + } + + + // + // C++: void Scharr(Mat src, Mat& dst, int ddepth, int dx, int dy, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT) + // + + //javadoc: Scharr(src, dst, ddepth, dx, dy, scale, delta, borderType) + public static void Scharr(Mat src, Mat dst, int ddepth, int dx, int dy, double scale, double delta, int borderType) + { + + Scharr_0(src.nativeObj, dst.nativeObj, ddepth, dx, dy, scale, delta, borderType); + + return; + } + + //javadoc: Scharr(src, dst, ddepth, dx, dy, scale, delta) + public static void Scharr(Mat src, Mat dst, int ddepth, int dx, int dy, double scale, double delta) + { + + Scharr_1(src.nativeObj, dst.nativeObj, ddepth, dx, dy, scale, delta); + + return; + } + + //javadoc: Scharr(src, dst, ddepth, dx, dy) + public static void Scharr(Mat src, Mat dst, int ddepth, int dx, int dy) + { + + Scharr_2(src.nativeObj, dst.nativeObj, ddepth, dx, dy); + + return; + } + + + // + // C++: void Laplacian(Mat src, Mat& dst, int ddepth, int ksize = 1, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT) + // + + //javadoc: Laplacian(src, dst, ddepth, ksize, scale, delta, borderType) + public static void Laplacian(Mat src, Mat dst, int ddepth, int ksize, double scale, double delta, int borderType) + { + + Laplacian_0(src.nativeObj, dst.nativeObj, ddepth, ksize, scale, delta, borderType); + + return; + } + + //javadoc: Laplacian(src, dst, ddepth, ksize, scale, delta) + public static void Laplacian(Mat src, Mat dst, int ddepth, int ksize, double scale, double delta) + { + + Laplacian_1(src.nativeObj, dst.nativeObj, ddepth, ksize, scale, delta); + + return; + } + + //javadoc: Laplacian(src, dst, ddepth) + public static void Laplacian(Mat src, Mat dst, int ddepth) + { + + Laplacian_2(src.nativeObj, dst.nativeObj, ddepth); + + return; + } + + + // + // C++: void Canny(Mat image, Mat& edges, double threshold1, double threshold2, int apertureSize = 3, bool L2gradient = false) + // + + //javadoc: Canny(image, edges, threshold1, threshold2, apertureSize, L2gradient) + public static void Canny(Mat image, Mat edges, double threshold1, double threshold2, int apertureSize, boolean L2gradient) + { + + Canny_0(image.nativeObj, edges.nativeObj, threshold1, threshold2, apertureSize, L2gradient); + + return; + } + + //javadoc: Canny(image, edges, threshold1, threshold2) + public static void Canny(Mat image, Mat edges, double threshold1, double threshold2) + { + + Canny_1(image.nativeObj, edges.nativeObj, threshold1, threshold2); + + return; + } + + + // + // C++: int connectedComponents(Mat image, Mat& labels, int connectivity = 8, int ltype = CV_32S) + // + + //javadoc: connectedComponents(image, labels, connectivity, ltype) + public static int connectedComponents(Mat image, Mat labels, int connectivity, int ltype) + { + + int retVal = connectedComponents_0(image.nativeObj, labels.nativeObj, connectivity, ltype); + + return retVal; + } + + //javadoc: connectedComponents(image, labels) + public static int connectedComponents(Mat image, Mat labels) + { + + int retVal = connectedComponents_1(image.nativeObj, labels.nativeObj); + + return retVal; + } + + + // + // C++: int connectedComponentsWithStats(Mat image, Mat& labels, Mat& stats, Mat& centroids, int connectivity = 8, int ltype = CV_32S) + // + + //javadoc: connectedComponentsWithStats(image, labels, stats, centroids, connectivity, ltype) + public static int connectedComponentsWithStats(Mat image, Mat labels, Mat stats, Mat centroids, int connectivity, int ltype) + { + + int retVal = connectedComponentsWithStats_0(image.nativeObj, labels.nativeObj, stats.nativeObj, centroids.nativeObj, connectivity, ltype); + + return retVal; + } + + //javadoc: connectedComponentsWithStats(image, labels, stats, centroids) + public static int connectedComponentsWithStats(Mat image, Mat labels, Mat stats, Mat centroids) + { + + int retVal = connectedComponentsWithStats_1(image.nativeObj, labels.nativeObj, stats.nativeObj, centroids.nativeObj); + + return retVal; + } + + + // + // C++: void findContours(Mat& image, vector_vector_Point& contours, Mat& hierarchy, int mode, int method, Point offset = Point()) + // + + //javadoc: findContours(image, contours, hierarchy, mode, method, offset) + public static void findContours(Mat image, List contours, Mat hierarchy, int mode, int method, Point offset) + { + Mat contours_mat = new Mat(); + findContours_0(image.nativeObj, contours_mat.nativeObj, hierarchy.nativeObj, mode, method, offset.x, offset.y); + Converters.Mat_to_vector_vector_Point(contours_mat, contours); + contours_mat.release(); + return; + } + + //javadoc: findContours(image, contours, hierarchy, mode, method) + public static void findContours(Mat image, List contours, Mat hierarchy, int mode, int method) + { + Mat contours_mat = new Mat(); + findContours_1(image.nativeObj, contours_mat.nativeObj, hierarchy.nativeObj, mode, method); + Converters.Mat_to_vector_vector_Point(contours_mat, contours); + contours_mat.release(); + return; + } + + + // + // C++: void approxPolyDP(vector_Point2f curve, vector_Point2f& approxCurve, double epsilon, bool closed) + // + + //javadoc: approxPolyDP(curve, approxCurve, epsilon, closed) + public static void approxPolyDP(MatOfPoint2f curve, MatOfPoint2f approxCurve, double epsilon, boolean closed) + { + Mat curve_mat = curve; + Mat approxCurve_mat = approxCurve; + approxPolyDP_0(curve_mat.nativeObj, approxCurve_mat.nativeObj, epsilon, closed); + + return; + } + + + // + // C++: double arcLength(vector_Point2f curve, bool closed) + // + + //javadoc: arcLength(curve, closed) + public static double arcLength(MatOfPoint2f curve, boolean closed) + { + Mat curve_mat = curve; + double retVal = arcLength_0(curve_mat.nativeObj, closed); + + return retVal; + } + + + // + // C++: Rect boundingRect(vector_Point points) + // + + //javadoc: boundingRect(points) + public static Rect boundingRect(MatOfPoint points) + { + Mat points_mat = points; + Rect retVal = new Rect(boundingRect_0(points_mat.nativeObj)); + + return retVal; + } + + + // + // C++: double contourArea(Mat contour, bool oriented = false) + // + + //javadoc: contourArea(contour, oriented) + public static double contourArea(Mat contour, boolean oriented) + { + + double retVal = contourArea_0(contour.nativeObj, oriented); + + return retVal; + } + + //javadoc: contourArea(contour) + public static double contourArea(Mat contour) + { + + double retVal = contourArea_1(contour.nativeObj); + + return retVal; + } + + + // + // C++: RotatedRect minAreaRect(vector_Point2f points) + // + + //javadoc: minAreaRect(points) + public static RotatedRect minAreaRect(MatOfPoint2f points) + { + Mat points_mat = points; + RotatedRect retVal = new RotatedRect(minAreaRect_0(points_mat.nativeObj)); + + return retVal; + } + + + // + // C++: void boxPoints(RotatedRect box, Mat& points) + // + + //javadoc: boxPoints(box, points) + public static void boxPoints(RotatedRect box, Mat points) + { + + boxPoints_0(box.center.x, box.center.y, box.size.width, box.size.height, box.angle, points.nativeObj); + + return; + } + + + // + // C++: void minEnclosingCircle(vector_Point2f points, Point2f& center, float& radius) + // + + //javadoc: minEnclosingCircle(points, center, radius) + public static void minEnclosingCircle(MatOfPoint2f points, Point center, float[] radius) + { + Mat points_mat = points; + double[] center_out = new double[2]; + double[] radius_out = new double[1]; + minEnclosingCircle_0(points_mat.nativeObj, center_out, radius_out); + if(center!=null){ center.x = center_out[0]; center.y = center_out[1]; } + if(radius!=null) radius[0] = (float)radius_out[0]; + return; + } + + + // + // C++: double minEnclosingTriangle(Mat points, Mat& triangle) + // + + //javadoc: minEnclosingTriangle(points, triangle) + public static double minEnclosingTriangle(Mat points, Mat triangle) + { + + double retVal = minEnclosingTriangle_0(points.nativeObj, triangle.nativeObj); + + return retVal; + } + + + // + // C++: double matchShapes(Mat contour1, Mat contour2, int method, double parameter) + // + + //javadoc: matchShapes(contour1, contour2, method, parameter) + public static double matchShapes(Mat contour1, Mat contour2, int method, double parameter) + { + + double retVal = matchShapes_0(contour1.nativeObj, contour2.nativeObj, method, parameter); + + return retVal; + } + + + // + // C++: void convexHull(vector_Point points, vector_int& hull, bool clockwise = false, _hidden_ returnPoints = true) + // + + //javadoc: convexHull(points, hull, clockwise) + public static void convexHull(MatOfPoint points, MatOfInt hull, boolean clockwise) + { + Mat points_mat = points; + Mat hull_mat = hull; + convexHull_0(points_mat.nativeObj, hull_mat.nativeObj, clockwise); + + return; + } + + //javadoc: convexHull(points, hull) + public static void convexHull(MatOfPoint points, MatOfInt hull) + { + Mat points_mat = points; + Mat hull_mat = hull; + convexHull_1(points_mat.nativeObj, hull_mat.nativeObj); + + return; + } + + + // + // C++: void convexityDefects(vector_Point contour, vector_int convexhull, vector_Vec4i& convexityDefects) + // + + //javadoc: convexityDefects(contour, convexhull, convexityDefects) + public static void convexityDefects(MatOfPoint contour, MatOfInt convexhull, MatOfInt4 convexityDefects) + { + Mat contour_mat = contour; + Mat convexhull_mat = convexhull; + Mat convexityDefects_mat = convexityDefects; + convexityDefects_0(contour_mat.nativeObj, convexhull_mat.nativeObj, convexityDefects_mat.nativeObj); + + return; + } + + + // + // C++: bool isContourConvex(vector_Point contour) + // + + //javadoc: isContourConvex(contour) + public static boolean isContourConvex(MatOfPoint contour) + { + Mat contour_mat = contour; + boolean retVal = isContourConvex_0(contour_mat.nativeObj); + + return retVal; + } + + + // + // C++: float intersectConvexConvex(Mat _p1, Mat _p2, Mat& _p12, bool handleNested = true) + // + + //javadoc: intersectConvexConvex(_p1, _p2, _p12, handleNested) + public static float intersectConvexConvex(Mat _p1, Mat _p2, Mat _p12, boolean handleNested) + { + + float retVal = intersectConvexConvex_0(_p1.nativeObj, _p2.nativeObj, _p12.nativeObj, handleNested); + + return retVal; + } + + //javadoc: intersectConvexConvex(_p1, _p2, _p12) + public static float intersectConvexConvex(Mat _p1, Mat _p2, Mat _p12) + { + + float retVal = intersectConvexConvex_1(_p1.nativeObj, _p2.nativeObj, _p12.nativeObj); + + return retVal; + } + + + // + // C++: RotatedRect fitEllipse(vector_Point2f points) + // + + //javadoc: fitEllipse(points) + public static RotatedRect fitEllipse(MatOfPoint2f points) + { + Mat points_mat = points; + RotatedRect retVal = new RotatedRect(fitEllipse_0(points_mat.nativeObj)); + + return retVal; + } + + + // + // C++: void fitLine(Mat points, Mat& line, int distType, double param, double reps, double aeps) + // + + //javadoc: fitLine(points, line, distType, param, reps, aeps) + public static void fitLine(Mat points, Mat line, int distType, double param, double reps, double aeps) + { + + fitLine_0(points.nativeObj, line.nativeObj, distType, param, reps, aeps); + + return; + } + + + // + // C++: double pointPolygonTest(vector_Point2f contour, Point2f pt, bool measureDist) + // + + //javadoc: pointPolygonTest(contour, pt, measureDist) + public static double pointPolygonTest(MatOfPoint2f contour, Point pt, boolean measureDist) + { + Mat contour_mat = contour; + double retVal = pointPolygonTest_0(contour_mat.nativeObj, pt.x, pt.y, measureDist); + + return retVal; + } + + + // + // C++: int rotatedRectangleIntersection(RotatedRect rect1, RotatedRect rect2, Mat& intersectingRegion) + // + + //javadoc: rotatedRectangleIntersection(rect1, rect2, intersectingRegion) + public static int rotatedRectangleIntersection(RotatedRect rect1, RotatedRect rect2, Mat intersectingRegion) + { + + int retVal = rotatedRectangleIntersection_0(rect1.center.x, rect1.center.y, rect1.size.width, rect1.size.height, rect1.angle, rect2.center.x, rect2.center.y, rect2.size.width, rect2.size.height, rect2.angle, intersectingRegion.nativeObj); + + return retVal; + } + + + // + // C++: Ptr_CLAHE createCLAHE(double clipLimit = 40.0, Size tileGridSize = Size(8, 8)) + // + + //javadoc: createCLAHE(clipLimit, tileGridSize) + public static CLAHE createCLAHE(double clipLimit, Size tileGridSize) + { + + CLAHE retVal = new CLAHE(createCLAHE_0(clipLimit, tileGridSize.width, tileGridSize.height)); + + return retVal; + } + + //javadoc: createCLAHE() + public static CLAHE createCLAHE() + { + + CLAHE retVal = new CLAHE(createCLAHE_1()); + + return retVal; + } + + + // + // C++: void applyColorMap(Mat src, Mat& dst, int colormap) + // + + //javadoc: applyColorMap(src, dst, colormap) + public static void applyColorMap(Mat src, Mat dst, int colormap) + { + + applyColorMap_0(src.nativeObj, dst.nativeObj, colormap); + + return; + } + + + // + // C++: void line(Mat& img, Point pt1, Point pt2, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + // + + //javadoc: line(img, pt1, pt2, color, thickness, lineType, shift) + public static void line(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int lineType, int shift) + { + + line_0(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3], thickness, lineType, shift); + + return; + } + + //javadoc: line(img, pt1, pt2, color, thickness) + public static void line(Mat img, Point pt1, Point pt2, Scalar color, int thickness) + { + + line_1(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3], thickness); + + return; + } + + //javadoc: line(img, pt1, pt2, color) + public static void line(Mat img, Point pt1, Point pt2, Scalar color) + { + + line_2(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: void arrowedLine(Mat& img, Point pt1, Point pt2, Scalar color, int thickness = 1, int line_type = 8, int shift = 0, double tipLength = 0.1) + // + + //javadoc: arrowedLine(img, pt1, pt2, color, thickness, line_type, shift, tipLength) + public static void arrowedLine(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int line_type, int shift, double tipLength) + { + + arrowedLine_0(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3], thickness, line_type, shift, tipLength); + + return; + } + + //javadoc: arrowedLine(img, pt1, pt2, color) + public static void arrowedLine(Mat img, Point pt1, Point pt2, Scalar color) + { + + arrowedLine_1(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: void rectangle(Mat& img, Point pt1, Point pt2, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + // + + //javadoc: rectangle(img, pt1, pt2, color, thickness, lineType, shift) + public static void rectangle(Mat img, Point pt1, Point pt2, Scalar color, int thickness, int lineType, int shift) + { + + rectangle_0(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3], thickness, lineType, shift); + + return; + } + + //javadoc: rectangle(img, pt1, pt2, color, thickness) + public static void rectangle(Mat img, Point pt1, Point pt2, Scalar color, int thickness) + { + + rectangle_1(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3], thickness); + + return; + } + + //javadoc: rectangle(img, pt1, pt2, color) + public static void rectangle(Mat img, Point pt1, Point pt2, Scalar color) + { + + rectangle_2(img.nativeObj, pt1.x, pt1.y, pt2.x, pt2.y, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: void circle(Mat& img, Point center, int radius, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + // + + //javadoc: circle(img, center, radius, color, thickness, lineType, shift) + public static void circle(Mat img, Point center, int radius, Scalar color, int thickness, int lineType, int shift) + { + + circle_0(img.nativeObj, center.x, center.y, radius, color.val[0], color.val[1], color.val[2], color.val[3], thickness, lineType, shift); + + return; + } + + //javadoc: circle(img, center, radius, color, thickness) + public static void circle(Mat img, Point center, int radius, Scalar color, int thickness) + { + + circle_1(img.nativeObj, center.x, center.y, radius, color.val[0], color.val[1], color.val[2], color.val[3], thickness); + + return; + } + + //javadoc: circle(img, center, radius, color) + public static void circle(Mat img, Point center, int radius, Scalar color) + { + + circle_2(img.nativeObj, center.x, center.y, radius, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // + // C++: void ellipse(Mat& img, Point center, Size axes, double angle, double startAngle, double endAngle, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + // + + //javadoc: ellipse(img, center, axes, angle, startAngle, endAngle, color, thickness, lineType, shift) + public static void ellipse(Mat img, Point center, Size axes, double angle, double startAngle, double endAngle, Scalar color, int thickness, int lineType, int shift) + { + + ellipse_3(img.nativeObj, center.x, center.y, axes.width, axes.height, angle, startAngle, endAngle, color.val[0], color.val[1], color.val[2], color.val[3], thickness, lineType, shift); + + return; + } + + //javadoc: ellipse(img, center, axes, angle, startAngle, endAngle, color, thickness) + public static void ellipse(Mat img, Point center, Size axes, double angle, double startAngle, double endAngle, Scalar color, int thickness) + { + + ellipse_4(img.nativeObj, center.x, center.y, axes.width, axes.height, angle, startAngle, endAngle, color.val[0], color.val[1], color.val[2], color.val[3], thickness); + + return; + } + + //javadoc: ellipse(img, center, axes, angle, startAngle, endAngle, color) + public static void ellipse(Mat img, Point center, Size axes, double angle, double startAngle, double endAngle, Scalar color) + { + + ellipse_5(img.nativeObj, center.x, center.y, axes.width, axes.height, angle, startAngle, endAngle, color.val[0], color.val[1], color.val[2], color.val[3]); + + return; + } + + + // C++: Size getTextSize(const String& text, int fontFace, double fontScale, int thickness, int* baseLine); + //javadoc:getTextSize(text, fontFace, fontScale, thickness, baseLine) + public static Size getTextSize(String text, int fontFace, double fontScale, int thickness, int[] baseLine) { + if(baseLine != null && baseLine.length != 1) + throw new java.lang.IllegalArgumentException("'baseLine' must be 'int[1]' or 'null'."); + Size retVal = new Size(n_getTextSize(text, fontFace, fontScale, thickness, baseLine)); + return retVal; + } + + + + // C++: void ellipse2Poly(Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, vector_Point& pts) + private static native void ellipse2Poly_0(double center_x, double center_y, double axes_width, double axes_height, int angle, int arcStart, int arcEnd, int delta, long pts_mat_nativeObj); + + // C++: void putText(Mat& img, String text, Point org, int fontFace, double fontScale, Scalar color, int thickness = 1, int lineType = LINE_8, bool bottomLeftOrigin = false) + private static native void putText_0(long img_nativeObj, String text, double org_x, double org_y, int fontFace, double fontScale, double color_val0, double color_val1, double color_val2, double color_val3, int thickness, int lineType, boolean bottomLeftOrigin); + private static native void putText_1(long img_nativeObj, String text, double org_x, double org_y, int fontFace, double fontScale, double color_val0, double color_val1, double color_val2, double color_val3, int thickness); + private static native void putText_2(long img_nativeObj, String text, double org_x, double org_y, int fontFace, double fontScale, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: void ellipse(Mat& img, RotatedRect box, Scalar color, int thickness = 1, int lineType = LINE_8) + private static native void ellipse_0(long img_nativeObj, double box_center_x, double box_center_y, double box_size_width, double box_size_height, double box_angle, double color_val0, double color_val1, double color_val2, double color_val3, int thickness, int lineType); + private static native void ellipse_1(long img_nativeObj, double box_center_x, double box_center_y, double box_size_width, double box_size_height, double box_angle, double color_val0, double color_val1, double color_val2, double color_val3, int thickness); + private static native void ellipse_2(long img_nativeObj, double box_center_x, double box_center_y, double box_size_width, double box_size_height, double box_angle, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: void fillConvexPoly(Mat& img, vector_Point points, Scalar color, int lineType = LINE_8, int shift = 0) + private static native void fillConvexPoly_0(long img_nativeObj, long points_mat_nativeObj, double color_val0, double color_val1, double color_val2, double color_val3, int lineType, int shift); + private static native void fillConvexPoly_1(long img_nativeObj, long points_mat_nativeObj, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: void fillPoly(Mat& img, vector_vector_Point pts, Scalar color, int lineType = LINE_8, int shift = 0, Point offset = Point()) + private static native void fillPoly_0(long img_nativeObj, long pts_mat_nativeObj, double color_val0, double color_val1, double color_val2, double color_val3, int lineType, int shift, double offset_x, double offset_y); + private static native void fillPoly_1(long img_nativeObj, long pts_mat_nativeObj, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: void polylines(Mat& img, vector_vector_Point pts, bool isClosed, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + private static native void polylines_0(long img_nativeObj, long pts_mat_nativeObj, boolean isClosed, double color_val0, double color_val1, double color_val2, double color_val3, int thickness, int lineType, int shift); + private static native void polylines_1(long img_nativeObj, long pts_mat_nativeObj, boolean isClosed, double color_val0, double color_val1, double color_val2, double color_val3, int thickness); + private static native void polylines_2(long img_nativeObj, long pts_mat_nativeObj, boolean isClosed, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: void drawContours(Mat& image, vector_vector_Point contours, int contourIdx, Scalar color, int thickness = 1, int lineType = LINE_8, Mat hierarchy = Mat(), int maxLevel = INT_MAX, Point offset = Point()) + private static native void drawContours_0(long image_nativeObj, long contours_mat_nativeObj, int contourIdx, double color_val0, double color_val1, double color_val2, double color_val3, int thickness, int lineType, long hierarchy_nativeObj, int maxLevel, double offset_x, double offset_y); + private static native void drawContours_1(long image_nativeObj, long contours_mat_nativeObj, int contourIdx, double color_val0, double color_val1, double color_val2, double color_val3, int thickness); + private static native void drawContours_2(long image_nativeObj, long contours_mat_nativeObj, int contourIdx, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: bool clipLine(Rect imgRect, Point& pt1, Point& pt2) + private static native boolean clipLine_0(int imgRect_x, int imgRect_y, int imgRect_width, int imgRect_height, double pt1_x, double pt1_y, double[] pt1_out, double pt2_x, double pt2_y, double[] pt2_out); + + // C++: Ptr_LineSegmentDetector createLineSegmentDetector(int _refine = LSD_REFINE_STD, double _scale = 0.8, double _sigma_scale = 0.6, double _quant = 2.0, double _ang_th = 22.5, double _log_eps = 0, double _density_th = 0.7, int _n_bins = 1024) + private static native long createLineSegmentDetector_0(int _refine, double _scale, double _sigma_scale, double _quant, double _ang_th, double _log_eps, double _density_th, int _n_bins); + private static native long createLineSegmentDetector_1(); + + // C++: Mat getGaussianKernel(int ksize, double sigma, int ktype = CV_64F) + private static native long getGaussianKernel_0(int ksize, double sigma, int ktype); + private static native long getGaussianKernel_1(int ksize, double sigma); + + // C++: void getDerivKernels(Mat& kx, Mat& ky, int dx, int dy, int ksize, bool normalize = false, int ktype = CV_32F) + private static native void getDerivKernels_0(long kx_nativeObj, long ky_nativeObj, int dx, int dy, int ksize, boolean normalize, int ktype); + private static native void getDerivKernels_1(long kx_nativeObj, long ky_nativeObj, int dx, int dy, int ksize); + + // C++: Mat getGaborKernel(Size ksize, double sigma, double theta, double lambd, double gamma, double psi = CV_PI*0.5, int ktype = CV_64F) + private static native long getGaborKernel_0(double ksize_width, double ksize_height, double sigma, double theta, double lambd, double gamma, double psi, int ktype); + private static native long getGaborKernel_1(double ksize_width, double ksize_height, double sigma, double theta, double lambd, double gamma); + + // C++: Mat getStructuringElement(int shape, Size ksize, Point anchor = Point(-1,-1)) + private static native long getStructuringElement_0(int shape, double ksize_width, double ksize_height, double anchor_x, double anchor_y); + private static native long getStructuringElement_1(int shape, double ksize_width, double ksize_height); + + // C++: void medianBlur(Mat src, Mat& dst, int ksize) + private static native void medianBlur_0(long src_nativeObj, long dst_nativeObj, int ksize); + + // C++: void GaussianBlur(Mat src, Mat& dst, Size ksize, double sigmaX, double sigmaY = 0, int borderType = BORDER_DEFAULT) + private static native void GaussianBlur_0(long src_nativeObj, long dst_nativeObj, double ksize_width, double ksize_height, double sigmaX, double sigmaY, int borderType); + private static native void GaussianBlur_1(long src_nativeObj, long dst_nativeObj, double ksize_width, double ksize_height, double sigmaX, double sigmaY); + private static native void GaussianBlur_2(long src_nativeObj, long dst_nativeObj, double ksize_width, double ksize_height, double sigmaX); + + // C++: void bilateralFilter(Mat src, Mat& dst, int d, double sigmaColor, double sigmaSpace, int borderType = BORDER_DEFAULT) + private static native void bilateralFilter_0(long src_nativeObj, long dst_nativeObj, int d, double sigmaColor, double sigmaSpace, int borderType); + private static native void bilateralFilter_1(long src_nativeObj, long dst_nativeObj, int d, double sigmaColor, double sigmaSpace); + + // C++: void boxFilter(Mat src, Mat& dst, int ddepth, Size ksize, Point anchor = Point(-1,-1), bool normalize = true, int borderType = BORDER_DEFAULT) + private static native void boxFilter_0(long src_nativeObj, long dst_nativeObj, int ddepth, double ksize_width, double ksize_height, double anchor_x, double anchor_y, boolean normalize, int borderType); + private static native void boxFilter_1(long src_nativeObj, long dst_nativeObj, int ddepth, double ksize_width, double ksize_height, double anchor_x, double anchor_y, boolean normalize); + private static native void boxFilter_2(long src_nativeObj, long dst_nativeObj, int ddepth, double ksize_width, double ksize_height); + + // C++: void sqrBoxFilter(Mat _src, Mat& _dst, int ddepth, Size ksize, Point anchor = Point(-1, -1), bool normalize = true, int borderType = BORDER_DEFAULT) + private static native void sqrBoxFilter_0(long _src_nativeObj, long _dst_nativeObj, int ddepth, double ksize_width, double ksize_height, double anchor_x, double anchor_y, boolean normalize, int borderType); + private static native void sqrBoxFilter_1(long _src_nativeObj, long _dst_nativeObj, int ddepth, double ksize_width, double ksize_height, double anchor_x, double anchor_y, boolean normalize); + private static native void sqrBoxFilter_2(long _src_nativeObj, long _dst_nativeObj, int ddepth, double ksize_width, double ksize_height); + + // C++: void cornerMinEigenVal(Mat src, Mat& dst, int blockSize, int ksize = 3, int borderType = BORDER_DEFAULT) + private static native void cornerMinEigenVal_0(long src_nativeObj, long dst_nativeObj, int blockSize, int ksize, int borderType); + private static native void cornerMinEigenVal_1(long src_nativeObj, long dst_nativeObj, int blockSize, int ksize); + private static native void cornerMinEigenVal_2(long src_nativeObj, long dst_nativeObj, int blockSize); + + // C++: void cornerHarris(Mat src, Mat& dst, int blockSize, int ksize, double k, int borderType = BORDER_DEFAULT) + private static native void cornerHarris_0(long src_nativeObj, long dst_nativeObj, int blockSize, int ksize, double k, int borderType); + private static native void cornerHarris_1(long src_nativeObj, long dst_nativeObj, int blockSize, int ksize, double k); + + // C++: void cornerEigenValsAndVecs(Mat src, Mat& dst, int blockSize, int ksize, int borderType = BORDER_DEFAULT) + private static native void cornerEigenValsAndVecs_0(long src_nativeObj, long dst_nativeObj, int blockSize, int ksize, int borderType); + private static native void cornerEigenValsAndVecs_1(long src_nativeObj, long dst_nativeObj, int blockSize, int ksize); + + // C++: void preCornerDetect(Mat src, Mat& dst, int ksize, int borderType = BORDER_DEFAULT) + private static native void preCornerDetect_0(long src_nativeObj, long dst_nativeObj, int ksize, int borderType); + private static native void preCornerDetect_1(long src_nativeObj, long dst_nativeObj, int ksize); + + // C++: void cornerSubPix(Mat image, vector_Point2f& corners, Size winSize, Size zeroZone, TermCriteria criteria) + private static native void cornerSubPix_0(long image_nativeObj, long corners_mat_nativeObj, double winSize_width, double winSize_height, double zeroZone_width, double zeroZone_height, int criteria_type, int criteria_maxCount, double criteria_epsilon); + + // C++: void goodFeaturesToTrack(Mat image, vector_Point& corners, int maxCorners, double qualityLevel, double minDistance, Mat mask = Mat(), int blockSize = 3, bool useHarrisDetector = false, double k = 0.04) + private static native void goodFeaturesToTrack_0(long image_nativeObj, long corners_mat_nativeObj, int maxCorners, double qualityLevel, double minDistance, long mask_nativeObj, int blockSize, boolean useHarrisDetector, double k); + private static native void goodFeaturesToTrack_1(long image_nativeObj, long corners_mat_nativeObj, int maxCorners, double qualityLevel, double minDistance); + + // C++: void HoughLines(Mat image, Mat& lines, double rho, double theta, int threshold, double srn = 0, double stn = 0, double min_theta = 0, double max_theta = CV_PI) + private static native void HoughLines_0(long image_nativeObj, long lines_nativeObj, double rho, double theta, int threshold, double srn, double stn, double min_theta, double max_theta); + private static native void HoughLines_1(long image_nativeObj, long lines_nativeObj, double rho, double theta, int threshold); + + // C++: void HoughLinesP(Mat image, Mat& lines, double rho, double theta, int threshold, double minLineLength = 0, double maxLineGap = 0) + private static native void HoughLinesP_0(long image_nativeObj, long lines_nativeObj, double rho, double theta, int threshold, double minLineLength, double maxLineGap); + private static native void HoughLinesP_1(long image_nativeObj, long lines_nativeObj, double rho, double theta, int threshold); + + // C++: void HoughCircles(Mat image, Mat& circles, int method, double dp, double minDist, double param1 = 100, double param2 = 100, int minRadius = 0, int maxRadius = 0) + private static native void HoughCircles_0(long image_nativeObj, long circles_nativeObj, int method, double dp, double minDist, double param1, double param2, int minRadius, int maxRadius); + private static native void HoughCircles_1(long image_nativeObj, long circles_nativeObj, int method, double dp, double minDist); + + // C++: void erode(Mat src, Mat& dst, Mat kernel, Point anchor = Point(-1,-1), int iterations = 1, int borderType = BORDER_CONSTANT, Scalar borderValue = morphologyDefaultBorderValue()) + private static native void erode_0(long src_nativeObj, long dst_nativeObj, long kernel_nativeObj, double anchor_x, double anchor_y, int iterations, int borderType, double borderValue_val0, double borderValue_val1, double borderValue_val2, double borderValue_val3); + private static native void erode_1(long src_nativeObj, long dst_nativeObj, long kernel_nativeObj, double anchor_x, double anchor_y, int iterations); + private static native void erode_2(long src_nativeObj, long dst_nativeObj, long kernel_nativeObj); + + // C++: void dilate(Mat src, Mat& dst, Mat kernel, Point anchor = Point(-1,-1), int iterations = 1, int borderType = BORDER_CONSTANT, Scalar borderValue = morphologyDefaultBorderValue()) + private static native void dilate_0(long src_nativeObj, long dst_nativeObj, long kernel_nativeObj, double anchor_x, double anchor_y, int iterations, int borderType, double borderValue_val0, double borderValue_val1, double borderValue_val2, double borderValue_val3); + private static native void dilate_1(long src_nativeObj, long dst_nativeObj, long kernel_nativeObj, double anchor_x, double anchor_y, int iterations); + private static native void dilate_2(long src_nativeObj, long dst_nativeObj, long kernel_nativeObj); + + // C++: void morphologyEx(Mat src, Mat& dst, int op, Mat kernel, Point anchor = Point(-1,-1), int iterations = 1, int borderType = BORDER_CONSTANT, Scalar borderValue = morphologyDefaultBorderValue()) + private static native void morphologyEx_0(long src_nativeObj, long dst_nativeObj, int op, long kernel_nativeObj, double anchor_x, double anchor_y, int iterations, int borderType, double borderValue_val0, double borderValue_val1, double borderValue_val2, double borderValue_val3); + private static native void morphologyEx_1(long src_nativeObj, long dst_nativeObj, int op, long kernel_nativeObj, double anchor_x, double anchor_y, int iterations); + private static native void morphologyEx_2(long src_nativeObj, long dst_nativeObj, int op, long kernel_nativeObj); + + // C++: void resize(Mat src, Mat& dst, Size dsize, double fx = 0, double fy = 0, int interpolation = INTER_LINEAR) + private static native void resize_0(long src_nativeObj, long dst_nativeObj, double dsize_width, double dsize_height, double fx, double fy, int interpolation); + private static native void resize_1(long src_nativeObj, long dst_nativeObj, double dsize_width, double dsize_height); + + // C++: void warpAffine(Mat src, Mat& dst, Mat M, Size dsize, int flags = INTER_LINEAR, int borderMode = BORDER_CONSTANT, Scalar borderValue = Scalar()) + private static native void warpAffine_0(long src_nativeObj, long dst_nativeObj, long M_nativeObj, double dsize_width, double dsize_height, int flags, int borderMode, double borderValue_val0, double borderValue_val1, double borderValue_val2, double borderValue_val3); + private static native void warpAffine_1(long src_nativeObj, long dst_nativeObj, long M_nativeObj, double dsize_width, double dsize_height, int flags); + private static native void warpAffine_2(long src_nativeObj, long dst_nativeObj, long M_nativeObj, double dsize_width, double dsize_height); + + // C++: void warpPerspective(Mat src, Mat& dst, Mat M, Size dsize, int flags = INTER_LINEAR, int borderMode = BORDER_CONSTANT, Scalar borderValue = Scalar()) + private static native void warpPerspective_0(long src_nativeObj, long dst_nativeObj, long M_nativeObj, double dsize_width, double dsize_height, int flags, int borderMode, double borderValue_val0, double borderValue_val1, double borderValue_val2, double borderValue_val3); + private static native void warpPerspective_1(long src_nativeObj, long dst_nativeObj, long M_nativeObj, double dsize_width, double dsize_height, int flags); + private static native void warpPerspective_2(long src_nativeObj, long dst_nativeObj, long M_nativeObj, double dsize_width, double dsize_height); + + // C++: void remap(Mat src, Mat& dst, Mat map1, Mat map2, int interpolation, int borderMode = BORDER_CONSTANT, Scalar borderValue = Scalar()) + private static native void remap_0(long src_nativeObj, long dst_nativeObj, long map1_nativeObj, long map2_nativeObj, int interpolation, int borderMode, double borderValue_val0, double borderValue_val1, double borderValue_val2, double borderValue_val3); + private static native void remap_1(long src_nativeObj, long dst_nativeObj, long map1_nativeObj, long map2_nativeObj, int interpolation); + + // C++: void convertMaps(Mat map1, Mat map2, Mat& dstmap1, Mat& dstmap2, int dstmap1type, bool nninterpolation = false) + private static native void convertMaps_0(long map1_nativeObj, long map2_nativeObj, long dstmap1_nativeObj, long dstmap2_nativeObj, int dstmap1type, boolean nninterpolation); + private static native void convertMaps_1(long map1_nativeObj, long map2_nativeObj, long dstmap1_nativeObj, long dstmap2_nativeObj, int dstmap1type); + + // C++: Mat getRotationMatrix2D(Point2f center, double angle, double scale) + private static native long getRotationMatrix2D_0(double center_x, double center_y, double angle, double scale); + + // C++: void invertAffineTransform(Mat M, Mat& iM) + private static native void invertAffineTransform_0(long M_nativeObj, long iM_nativeObj); + + // C++: Mat getPerspectiveTransform(Mat src, Mat dst) + private static native long getPerspectiveTransform_0(long src_nativeObj, long dst_nativeObj); + + // C++: Mat getAffineTransform(vector_Point2f src, vector_Point2f dst) + private static native long getAffineTransform_0(long src_mat_nativeObj, long dst_mat_nativeObj); + + // C++: void getRectSubPix(Mat image, Size patchSize, Point2f center, Mat& patch, int patchType = -1) + private static native void getRectSubPix_0(long image_nativeObj, double patchSize_width, double patchSize_height, double center_x, double center_y, long patch_nativeObj, int patchType); + private static native void getRectSubPix_1(long image_nativeObj, double patchSize_width, double patchSize_height, double center_x, double center_y, long patch_nativeObj); + + // C++: void logPolar(Mat src, Mat& dst, Point2f center, double M, int flags) + private static native void logPolar_0(long src_nativeObj, long dst_nativeObj, double center_x, double center_y, double M, int flags); + + // C++: void linearPolar(Mat src, Mat& dst, Point2f center, double maxRadius, int flags) + private static native void linearPolar_0(long src_nativeObj, long dst_nativeObj, double center_x, double center_y, double maxRadius, int flags); + + // C++: void adaptiveThreshold(Mat src, Mat& dst, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C) + private static native void adaptiveThreshold_0(long src_nativeObj, long dst_nativeObj, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C); + + // C++: void pyrDown(Mat src, Mat& dst, Size dstsize = Size(), int borderType = BORDER_DEFAULT) + private static native void pyrDown_0(long src_nativeObj, long dst_nativeObj, double dstsize_width, double dstsize_height, int borderType); + private static native void pyrDown_1(long src_nativeObj, long dst_nativeObj, double dstsize_width, double dstsize_height); + private static native void pyrDown_2(long src_nativeObj, long dst_nativeObj); + + // C++: void pyrUp(Mat src, Mat& dst, Size dstsize = Size(), int borderType = BORDER_DEFAULT) + private static native void pyrUp_0(long src_nativeObj, long dst_nativeObj, double dstsize_width, double dstsize_height, int borderType); + private static native void pyrUp_1(long src_nativeObj, long dst_nativeObj, double dstsize_width, double dstsize_height); + private static native void pyrUp_2(long src_nativeObj, long dst_nativeObj); + + // C++: void undistort(Mat src, Mat& dst, Mat cameraMatrix, Mat distCoeffs, Mat newCameraMatrix = Mat()) + private static native void undistort_0(long src_nativeObj, long dst_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_nativeObj, long newCameraMatrix_nativeObj); + private static native void undistort_1(long src_nativeObj, long dst_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_nativeObj); + + // C++: void initUndistortRectifyMap(Mat cameraMatrix, Mat distCoeffs, Mat R, Mat newCameraMatrix, Size size, int m1type, Mat& map1, Mat& map2) + private static native void initUndistortRectifyMap_0(long cameraMatrix_nativeObj, long distCoeffs_nativeObj, long R_nativeObj, long newCameraMatrix_nativeObj, double size_width, double size_height, int m1type, long map1_nativeObj, long map2_nativeObj); + + // C++: float initWideAngleProjMap(Mat cameraMatrix, Mat distCoeffs, Size imageSize, int destImageWidth, int m1type, Mat& map1, Mat& map2, int projType = PROJ_SPHERICAL_EQRECT, double alpha = 0) + private static native float initWideAngleProjMap_0(long cameraMatrix_nativeObj, long distCoeffs_nativeObj, double imageSize_width, double imageSize_height, int destImageWidth, int m1type, long map1_nativeObj, long map2_nativeObj, int projType, double alpha); + private static native float initWideAngleProjMap_1(long cameraMatrix_nativeObj, long distCoeffs_nativeObj, double imageSize_width, double imageSize_height, int destImageWidth, int m1type, long map1_nativeObj, long map2_nativeObj); + + // C++: Mat getDefaultNewCameraMatrix(Mat cameraMatrix, Size imgsize = Size(), bool centerPrincipalPoint = false) + private static native long getDefaultNewCameraMatrix_0(long cameraMatrix_nativeObj, double imgsize_width, double imgsize_height, boolean centerPrincipalPoint); + private static native long getDefaultNewCameraMatrix_1(long cameraMatrix_nativeObj); + + // C++: void integral(Mat src, Mat& sum, int sdepth = -1) + private static native void integral_0(long src_nativeObj, long sum_nativeObj, int sdepth); + private static native void integral_1(long src_nativeObj, long sum_nativeObj); + + // C++: void integral(Mat src, Mat& sum, Mat& sqsum, int sdepth = -1, int sqdepth = -1) + private static native void integral2_0(long src_nativeObj, long sum_nativeObj, long sqsum_nativeObj, int sdepth, int sqdepth); + private static native void integral2_1(long src_nativeObj, long sum_nativeObj, long sqsum_nativeObj); + + // C++: void integral(Mat src, Mat& sum, Mat& sqsum, Mat& tilted, int sdepth = -1, int sqdepth = -1) + private static native void integral3_0(long src_nativeObj, long sum_nativeObj, long sqsum_nativeObj, long tilted_nativeObj, int sdepth, int sqdepth); + private static native void integral3_1(long src_nativeObj, long sum_nativeObj, long sqsum_nativeObj, long tilted_nativeObj); + + // C++: void accumulate(Mat src, Mat& dst, Mat mask = Mat()) + private static native void accumulate_0(long src_nativeObj, long dst_nativeObj, long mask_nativeObj); + private static native void accumulate_1(long src_nativeObj, long dst_nativeObj); + + // C++: void accumulateSquare(Mat src, Mat& dst, Mat mask = Mat()) + private static native void accumulateSquare_0(long src_nativeObj, long dst_nativeObj, long mask_nativeObj); + private static native void accumulateSquare_1(long src_nativeObj, long dst_nativeObj); + + // C++: void accumulateProduct(Mat src1, Mat src2, Mat& dst, Mat mask = Mat()) + private static native void accumulateProduct_0(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj, long mask_nativeObj); + private static native void accumulateProduct_1(long src1_nativeObj, long src2_nativeObj, long dst_nativeObj); + + // C++: void accumulateWeighted(Mat src, Mat& dst, double alpha, Mat mask = Mat()) + private static native void accumulateWeighted_0(long src_nativeObj, long dst_nativeObj, double alpha, long mask_nativeObj); + private static native void accumulateWeighted_1(long src_nativeObj, long dst_nativeObj, double alpha); + + // C++: Point2d phaseCorrelate(Mat src1, Mat src2, Mat window = Mat(), double* response = 0) + private static native double[] phaseCorrelate_0(long src1_nativeObj, long src2_nativeObj, long window_nativeObj, double[] response_out); + private static native double[] phaseCorrelate_1(long src1_nativeObj, long src2_nativeObj); + + // C++: void createHanningWindow(Mat& dst, Size winSize, int type) + private static native void createHanningWindow_0(long dst_nativeObj, double winSize_width, double winSize_height, int type); + + // C++: double threshold(Mat src, Mat& dst, double thresh, double maxval, int type) + private static native double threshold_0(long src_nativeObj, long dst_nativeObj, double thresh, double maxval, int type); + + // C++: void undistortPoints(vector_Point2f src, vector_Point2f& dst, Mat cameraMatrix, Mat distCoeffs, Mat R = Mat(), Mat P = Mat()) + private static native void undistortPoints_0(long src_mat_nativeObj, long dst_mat_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_nativeObj, long R_nativeObj, long P_nativeObj); + private static native void undistortPoints_1(long src_mat_nativeObj, long dst_mat_nativeObj, long cameraMatrix_nativeObj, long distCoeffs_nativeObj); + + // C++: void calcHist(vector_Mat images, vector_int channels, Mat mask, Mat& hist, vector_int histSize, vector_float ranges, bool accumulate = false) + private static native void calcHist_0(long images_mat_nativeObj, long channels_mat_nativeObj, long mask_nativeObj, long hist_nativeObj, long histSize_mat_nativeObj, long ranges_mat_nativeObj, boolean accumulate); + private static native void calcHist_1(long images_mat_nativeObj, long channels_mat_nativeObj, long mask_nativeObj, long hist_nativeObj, long histSize_mat_nativeObj, long ranges_mat_nativeObj); + + // C++: void calcBackProject(vector_Mat images, vector_int channels, Mat hist, Mat& dst, vector_float ranges, double scale) + private static native void calcBackProject_0(long images_mat_nativeObj, long channels_mat_nativeObj, long hist_nativeObj, long dst_nativeObj, long ranges_mat_nativeObj, double scale); + + // C++: double compareHist(Mat H1, Mat H2, int method) + private static native double compareHist_0(long H1_nativeObj, long H2_nativeObj, int method); + + // C++: void equalizeHist(Mat src, Mat& dst) + private static native void equalizeHist_0(long src_nativeObj, long dst_nativeObj); + + // C++: void watershed(Mat image, Mat& markers) + private static native void watershed_0(long image_nativeObj, long markers_nativeObj); + + // C++: void pyrMeanShiftFiltering(Mat src, Mat& dst, double sp, double sr, int maxLevel = 1, TermCriteria termcrit = TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS,5,1)) + private static native void pyrMeanShiftFiltering_0(long src_nativeObj, long dst_nativeObj, double sp, double sr, int maxLevel, int termcrit_type, int termcrit_maxCount, double termcrit_epsilon); + private static native void pyrMeanShiftFiltering_1(long src_nativeObj, long dst_nativeObj, double sp, double sr); + + // C++: void grabCut(Mat img, Mat& mask, Rect rect, Mat& bgdModel, Mat& fgdModel, int iterCount, int mode = GC_EVAL) + private static native void grabCut_0(long img_nativeObj, long mask_nativeObj, int rect_x, int rect_y, int rect_width, int rect_height, long bgdModel_nativeObj, long fgdModel_nativeObj, int iterCount, int mode); + private static native void grabCut_1(long img_nativeObj, long mask_nativeObj, int rect_x, int rect_y, int rect_width, int rect_height, long bgdModel_nativeObj, long fgdModel_nativeObj, int iterCount); + + // C++: void distanceTransform(Mat src, Mat& dst, Mat& labels, int distanceType, int maskSize, int labelType = DIST_LABEL_CCOMP) + private static native void distanceTransformWithLabels_0(long src_nativeObj, long dst_nativeObj, long labels_nativeObj, int distanceType, int maskSize, int labelType); + private static native void distanceTransformWithLabels_1(long src_nativeObj, long dst_nativeObj, long labels_nativeObj, int distanceType, int maskSize); + + // C++: void distanceTransform(Mat src, Mat& dst, int distanceType, int maskSize, int dstType = CV_32F) + private static native void distanceTransform_0(long src_nativeObj, long dst_nativeObj, int distanceType, int maskSize, int dstType); + private static native void distanceTransform_1(long src_nativeObj, long dst_nativeObj, int distanceType, int maskSize); + + // C++: int floodFill(Mat& image, Mat& mask, Point seedPoint, Scalar newVal, Rect* rect = 0, Scalar loDiff = Scalar(), Scalar upDiff = Scalar(), int flags = 4) + private static native int floodFill_0(long image_nativeObj, long mask_nativeObj, double seedPoint_x, double seedPoint_y, double newVal_val0, double newVal_val1, double newVal_val2, double newVal_val3, double[] rect_out, double loDiff_val0, double loDiff_val1, double loDiff_val2, double loDiff_val3, double upDiff_val0, double upDiff_val1, double upDiff_val2, double upDiff_val3, int flags); + private static native int floodFill_1(long image_nativeObj, long mask_nativeObj, double seedPoint_x, double seedPoint_y, double newVal_val0, double newVal_val1, double newVal_val2, double newVal_val3); + + // C++: void cvtColor(Mat src, Mat& dst, int code, int dstCn = 0) + private static native void cvtColor_0(long src_nativeObj, long dst_nativeObj, int code, int dstCn); + private static native void cvtColor_1(long src_nativeObj, long dst_nativeObj, int code); + + // C++: void demosaicing(Mat _src, Mat& _dst, int code, int dcn = 0) + private static native void demosaicing_0(long _src_nativeObj, long _dst_nativeObj, int code, int dcn); + private static native void demosaicing_1(long _src_nativeObj, long _dst_nativeObj, int code); + + // C++: void matchTemplate(Mat image, Mat templ, Mat& result, int method, Mat mask = Mat()) + private static native void matchTemplate_0(long image_nativeObj, long templ_nativeObj, long result_nativeObj, int method, long mask_nativeObj); + private static native void matchTemplate_1(long image_nativeObj, long templ_nativeObj, long result_nativeObj, int method); + + // C++: void blur(Mat src, Mat& dst, Size ksize, Point anchor = Point(-1,-1), int borderType = BORDER_DEFAULT) + private static native void blur_0(long src_nativeObj, long dst_nativeObj, double ksize_width, double ksize_height, double anchor_x, double anchor_y, int borderType); + private static native void blur_1(long src_nativeObj, long dst_nativeObj, double ksize_width, double ksize_height, double anchor_x, double anchor_y); + private static native void blur_2(long src_nativeObj, long dst_nativeObj, double ksize_width, double ksize_height); + + // C++: void filter2D(Mat src, Mat& dst, int ddepth, Mat kernel, Point anchor = Point(-1,-1), double delta = 0, int borderType = BORDER_DEFAULT) + private static native void filter2D_0(long src_nativeObj, long dst_nativeObj, int ddepth, long kernel_nativeObj, double anchor_x, double anchor_y, double delta, int borderType); + private static native void filter2D_1(long src_nativeObj, long dst_nativeObj, int ddepth, long kernel_nativeObj, double anchor_x, double anchor_y, double delta); + private static native void filter2D_2(long src_nativeObj, long dst_nativeObj, int ddepth, long kernel_nativeObj); + + // C++: void sepFilter2D(Mat src, Mat& dst, int ddepth, Mat kernelX, Mat kernelY, Point anchor = Point(-1,-1), double delta = 0, int borderType = BORDER_DEFAULT) + private static native void sepFilter2D_0(long src_nativeObj, long dst_nativeObj, int ddepth, long kernelX_nativeObj, long kernelY_nativeObj, double anchor_x, double anchor_y, double delta, int borderType); + private static native void sepFilter2D_1(long src_nativeObj, long dst_nativeObj, int ddepth, long kernelX_nativeObj, long kernelY_nativeObj, double anchor_x, double anchor_y, double delta); + private static native void sepFilter2D_2(long src_nativeObj, long dst_nativeObj, int ddepth, long kernelX_nativeObj, long kernelY_nativeObj); + + // C++: void Sobel(Mat src, Mat& dst, int ddepth, int dx, int dy, int ksize = 3, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT) + private static native void Sobel_0(long src_nativeObj, long dst_nativeObj, int ddepth, int dx, int dy, int ksize, double scale, double delta, int borderType); + private static native void Sobel_1(long src_nativeObj, long dst_nativeObj, int ddepth, int dx, int dy, int ksize, double scale, double delta); + private static native void Sobel_2(long src_nativeObj, long dst_nativeObj, int ddepth, int dx, int dy); + + // C++: void Scharr(Mat src, Mat& dst, int ddepth, int dx, int dy, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT) + private static native void Scharr_0(long src_nativeObj, long dst_nativeObj, int ddepth, int dx, int dy, double scale, double delta, int borderType); + private static native void Scharr_1(long src_nativeObj, long dst_nativeObj, int ddepth, int dx, int dy, double scale, double delta); + private static native void Scharr_2(long src_nativeObj, long dst_nativeObj, int ddepth, int dx, int dy); + + // C++: void Laplacian(Mat src, Mat& dst, int ddepth, int ksize = 1, double scale = 1, double delta = 0, int borderType = BORDER_DEFAULT) + private static native void Laplacian_0(long src_nativeObj, long dst_nativeObj, int ddepth, int ksize, double scale, double delta, int borderType); + private static native void Laplacian_1(long src_nativeObj, long dst_nativeObj, int ddepth, int ksize, double scale, double delta); + private static native void Laplacian_2(long src_nativeObj, long dst_nativeObj, int ddepth); + + // C++: void Canny(Mat image, Mat& edges, double threshold1, double threshold2, int apertureSize = 3, bool L2gradient = false) + private static native void Canny_0(long image_nativeObj, long edges_nativeObj, double threshold1, double threshold2, int apertureSize, boolean L2gradient); + private static native void Canny_1(long image_nativeObj, long edges_nativeObj, double threshold1, double threshold2); + + // C++: int connectedComponents(Mat image, Mat& labels, int connectivity = 8, int ltype = CV_32S) + private static native int connectedComponents_0(long image_nativeObj, long labels_nativeObj, int connectivity, int ltype); + private static native int connectedComponents_1(long image_nativeObj, long labels_nativeObj); + + // C++: int connectedComponentsWithStats(Mat image, Mat& labels, Mat& stats, Mat& centroids, int connectivity = 8, int ltype = CV_32S) + private static native int connectedComponentsWithStats_0(long image_nativeObj, long labels_nativeObj, long stats_nativeObj, long centroids_nativeObj, int connectivity, int ltype); + private static native int connectedComponentsWithStats_1(long image_nativeObj, long labels_nativeObj, long stats_nativeObj, long centroids_nativeObj); + + // C++: void findContours(Mat& image, vector_vector_Point& contours, Mat& hierarchy, int mode, int method, Point offset = Point()) + private static native void findContours_0(long image_nativeObj, long contours_mat_nativeObj, long hierarchy_nativeObj, int mode, int method, double offset_x, double offset_y); + private static native void findContours_1(long image_nativeObj, long contours_mat_nativeObj, long hierarchy_nativeObj, int mode, int method); + + // C++: void approxPolyDP(vector_Point2f curve, vector_Point2f& approxCurve, double epsilon, bool closed) + private static native void approxPolyDP_0(long curve_mat_nativeObj, long approxCurve_mat_nativeObj, double epsilon, boolean closed); + + // C++: double arcLength(vector_Point2f curve, bool closed) + private static native double arcLength_0(long curve_mat_nativeObj, boolean closed); + + // C++: Rect boundingRect(vector_Point points) + private static native double[] boundingRect_0(long points_mat_nativeObj); + + // C++: double contourArea(Mat contour, bool oriented = false) + private static native double contourArea_0(long contour_nativeObj, boolean oriented); + private static native double contourArea_1(long contour_nativeObj); + + // C++: RotatedRect minAreaRect(vector_Point2f points) + private static native double[] minAreaRect_0(long points_mat_nativeObj); + + // C++: void boxPoints(RotatedRect box, Mat& points) + private static native void boxPoints_0(double box_center_x, double box_center_y, double box_size_width, double box_size_height, double box_angle, long points_nativeObj); + + // C++: void minEnclosingCircle(vector_Point2f points, Point2f& center, float& radius) + private static native void minEnclosingCircle_0(long points_mat_nativeObj, double[] center_out, double[] radius_out); + + // C++: double minEnclosingTriangle(Mat points, Mat& triangle) + private static native double minEnclosingTriangle_0(long points_nativeObj, long triangle_nativeObj); + + // C++: double matchShapes(Mat contour1, Mat contour2, int method, double parameter) + private static native double matchShapes_0(long contour1_nativeObj, long contour2_nativeObj, int method, double parameter); + + // C++: void convexHull(vector_Point points, vector_int& hull, bool clockwise = false, _hidden_ returnPoints = true) + private static native void convexHull_0(long points_mat_nativeObj, long hull_mat_nativeObj, boolean clockwise); + private static native void convexHull_1(long points_mat_nativeObj, long hull_mat_nativeObj); + + // C++: void convexityDefects(vector_Point contour, vector_int convexhull, vector_Vec4i& convexityDefects) + private static native void convexityDefects_0(long contour_mat_nativeObj, long convexhull_mat_nativeObj, long convexityDefects_mat_nativeObj); + + // C++: bool isContourConvex(vector_Point contour) + private static native boolean isContourConvex_0(long contour_mat_nativeObj); + + // C++: float intersectConvexConvex(Mat _p1, Mat _p2, Mat& _p12, bool handleNested = true) + private static native float intersectConvexConvex_0(long _p1_nativeObj, long _p2_nativeObj, long _p12_nativeObj, boolean handleNested); + private static native float intersectConvexConvex_1(long _p1_nativeObj, long _p2_nativeObj, long _p12_nativeObj); + + // C++: RotatedRect fitEllipse(vector_Point2f points) + private static native double[] fitEllipse_0(long points_mat_nativeObj); + + // C++: void fitLine(Mat points, Mat& line, int distType, double param, double reps, double aeps) + private static native void fitLine_0(long points_nativeObj, long line_nativeObj, int distType, double param, double reps, double aeps); + + // C++: double pointPolygonTest(vector_Point2f contour, Point2f pt, bool measureDist) + private static native double pointPolygonTest_0(long contour_mat_nativeObj, double pt_x, double pt_y, boolean measureDist); + + // C++: int rotatedRectangleIntersection(RotatedRect rect1, RotatedRect rect2, Mat& intersectingRegion) + private static native int rotatedRectangleIntersection_0(double rect1_center_x, double rect1_center_y, double rect1_size_width, double rect1_size_height, double rect1_angle, double rect2_center_x, double rect2_center_y, double rect2_size_width, double rect2_size_height, double rect2_angle, long intersectingRegion_nativeObj); + + // C++: Ptr_CLAHE createCLAHE(double clipLimit = 40.0, Size tileGridSize = Size(8, 8)) + private static native long createCLAHE_0(double clipLimit, double tileGridSize_width, double tileGridSize_height); + private static native long createCLAHE_1(); + + // C++: void applyColorMap(Mat src, Mat& dst, int colormap) + private static native void applyColorMap_0(long src_nativeObj, long dst_nativeObj, int colormap); + + // C++: void line(Mat& img, Point pt1, Point pt2, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + private static native void line_0(long img_nativeObj, double pt1_x, double pt1_y, double pt2_x, double pt2_y, double color_val0, double color_val1, double color_val2, double color_val3, int thickness, int lineType, int shift); + private static native void line_1(long img_nativeObj, double pt1_x, double pt1_y, double pt2_x, double pt2_y, double color_val0, double color_val1, double color_val2, double color_val3, int thickness); + private static native void line_2(long img_nativeObj, double pt1_x, double pt1_y, double pt2_x, double pt2_y, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: void arrowedLine(Mat& img, Point pt1, Point pt2, Scalar color, int thickness = 1, int line_type = 8, int shift = 0, double tipLength = 0.1) + private static native void arrowedLine_0(long img_nativeObj, double pt1_x, double pt1_y, double pt2_x, double pt2_y, double color_val0, double color_val1, double color_val2, double color_val3, int thickness, int line_type, int shift, double tipLength); + private static native void arrowedLine_1(long img_nativeObj, double pt1_x, double pt1_y, double pt2_x, double pt2_y, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: void rectangle(Mat& img, Point pt1, Point pt2, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + private static native void rectangle_0(long img_nativeObj, double pt1_x, double pt1_y, double pt2_x, double pt2_y, double color_val0, double color_val1, double color_val2, double color_val3, int thickness, int lineType, int shift); + private static native void rectangle_1(long img_nativeObj, double pt1_x, double pt1_y, double pt2_x, double pt2_y, double color_val0, double color_val1, double color_val2, double color_val3, int thickness); + private static native void rectangle_2(long img_nativeObj, double pt1_x, double pt1_y, double pt2_x, double pt2_y, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: void circle(Mat& img, Point center, int radius, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + private static native void circle_0(long img_nativeObj, double center_x, double center_y, int radius, double color_val0, double color_val1, double color_val2, double color_val3, int thickness, int lineType, int shift); + private static native void circle_1(long img_nativeObj, double center_x, double center_y, int radius, double color_val0, double color_val1, double color_val2, double color_val3, int thickness); + private static native void circle_2(long img_nativeObj, double center_x, double center_y, int radius, double color_val0, double color_val1, double color_val2, double color_val3); + + // C++: void ellipse(Mat& img, Point center, Size axes, double angle, double startAngle, double endAngle, Scalar color, int thickness = 1, int lineType = LINE_8, int shift = 0) + private static native void ellipse_3(long img_nativeObj, double center_x, double center_y, double axes_width, double axes_height, double angle, double startAngle, double endAngle, double color_val0, double color_val1, double color_val2, double color_val3, int thickness, int lineType, int shift); + private static native void ellipse_4(long img_nativeObj, double center_x, double center_y, double axes_width, double axes_height, double angle, double startAngle, double endAngle, double color_val0, double color_val1, double color_val2, double color_val3, int thickness); + private static native void ellipse_5(long img_nativeObj, double center_x, double center_y, double axes_width, double axes_height, double angle, double startAngle, double endAngle, double color_val0, double color_val1, double color_val2, double color_val3); + private static native double[] n_getTextSize(String text, int fontFace, double fontScale, int thickness, int[] baseLine); + +} diff --git a/opencv3/src/org/opencv/imgproc/LineSegmentDetector.java b/opencv3/src/org/opencv/imgproc/LineSegmentDetector.java new file mode 100644 index 0000000..689164e --- /dev/null +++ b/opencv3/src/org/opencv/imgproc/LineSegmentDetector.java @@ -0,0 +1,99 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.imgproc; + +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; +import org.opencv.core.Size; + +// C++: class LineSegmentDetector +//javadoc: LineSegmentDetector +public class LineSegmentDetector extends Algorithm { + + protected LineSegmentDetector(long addr) { super(addr); } + + + // + // C++: void detect(Mat _image, Mat& _lines, Mat& width = Mat(), Mat& prec = Mat(), Mat& nfa = Mat()) + // + + //javadoc: LineSegmentDetector::detect(_image, _lines, width, prec, nfa) + public void detect(Mat _image, Mat _lines, Mat width, Mat prec, Mat nfa) + { + + detect_0(nativeObj, _image.nativeObj, _lines.nativeObj, width.nativeObj, prec.nativeObj, nfa.nativeObj); + + return; + } + + //javadoc: LineSegmentDetector::detect(_image, _lines) + public void detect(Mat _image, Mat _lines) + { + + detect_1(nativeObj, _image.nativeObj, _lines.nativeObj); + + return; + } + + + // + // C++: void drawSegments(Mat& _image, Mat lines) + // + + //javadoc: LineSegmentDetector::drawSegments(_image, lines) + public void drawSegments(Mat _image, Mat lines) + { + + drawSegments_0(nativeObj, _image.nativeObj, lines.nativeObj); + + return; + } + + + // + // C++: int compareSegments(Size size, Mat lines1, Mat lines2, Mat& _image = Mat()) + // + + //javadoc: LineSegmentDetector::compareSegments(size, lines1, lines2, _image) + public int compareSegments(Size size, Mat lines1, Mat lines2, Mat _image) + { + + int retVal = compareSegments_0(nativeObj, size.width, size.height, lines1.nativeObj, lines2.nativeObj, _image.nativeObj); + + return retVal; + } + + //javadoc: LineSegmentDetector::compareSegments(size, lines1, lines2) + public int compareSegments(Size size, Mat lines1, Mat lines2) + { + + int retVal = compareSegments_1(nativeObj, size.width, size.height, lines1.nativeObj, lines2.nativeObj); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void detect(Mat _image, Mat& _lines, Mat& width = Mat(), Mat& prec = Mat(), Mat& nfa = Mat()) + private static native void detect_0(long nativeObj, long _image_nativeObj, long _lines_nativeObj, long width_nativeObj, long prec_nativeObj, long nfa_nativeObj); + private static native void detect_1(long nativeObj, long _image_nativeObj, long _lines_nativeObj); + + // C++: void drawSegments(Mat& _image, Mat lines) + private static native void drawSegments_0(long nativeObj, long _image_nativeObj, long lines_nativeObj); + + // C++: int compareSegments(Size size, Mat lines1, Mat lines2, Mat& _image = Mat()) + private static native int compareSegments_0(long nativeObj, double size_width, double size_height, long lines1_nativeObj, long lines2_nativeObj, long _image_nativeObj); + private static native int compareSegments_1(long nativeObj, double size_width, double size_height, long lines1_nativeObj, long lines2_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/imgproc/Subdiv2D.java b/opencv3/src/org/opencv/imgproc/Subdiv2D.java new file mode 100644 index 0000000..105c9e6 --- /dev/null +++ b/opencv3/src/org/opencv/imgproc/Subdiv2D.java @@ -0,0 +1,386 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.imgproc; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfFloat4; +import org.opencv.core.MatOfFloat6; +import org.opencv.core.MatOfInt; +import org.opencv.core.MatOfPoint2f; +import org.opencv.core.Point; +import org.opencv.core.Rect; +import org.opencv.utils.Converters; + +// C++: class Subdiv2D +//javadoc: Subdiv2D +public class Subdiv2D { + + protected final long nativeObj; + protected Subdiv2D(long addr) { nativeObj = addr; } + + + public static final int + PTLOC_ERROR = -2, + PTLOC_OUTSIDE_RECT = -1, + PTLOC_INSIDE = 0, + PTLOC_VERTEX = 1, + PTLOC_ON_EDGE = 2, + NEXT_AROUND_ORG = 0x00, + NEXT_AROUND_DST = 0x22, + PREV_AROUND_ORG = 0x11, + PREV_AROUND_DST = 0x33, + NEXT_AROUND_LEFT = 0x13, + NEXT_AROUND_RIGHT = 0x31, + PREV_AROUND_LEFT = 0x20, + PREV_AROUND_RIGHT = 0x02; + + + // + // C++: Subdiv2D() + // + + //javadoc: Subdiv2D::Subdiv2D() + public Subdiv2D() + { + + nativeObj = Subdiv2D_0(); + + return; + } + + + // + // C++: Subdiv2D(Rect rect) + // + + //javadoc: Subdiv2D::Subdiv2D(rect) + public Subdiv2D(Rect rect) + { + + nativeObj = Subdiv2D_1(rect.x, rect.y, rect.width, rect.height); + + return; + } + + + // + // C++: void initDelaunay(Rect rect) + // + + //javadoc: Subdiv2D::initDelaunay(rect) + public void initDelaunay(Rect rect) + { + + initDelaunay_0(nativeObj, rect.x, rect.y, rect.width, rect.height); + + return; + } + + + // + // C++: int insert(Point2f pt) + // + + //javadoc: Subdiv2D::insert(pt) + public int insert(Point pt) + { + + int retVal = insert_0(nativeObj, pt.x, pt.y); + + return retVal; + } + + + // + // C++: void insert(vector_Point2f ptvec) + // + + //javadoc: Subdiv2D::insert(ptvec) + public void insert(MatOfPoint2f ptvec) + { + Mat ptvec_mat = ptvec; + insert_1(nativeObj, ptvec_mat.nativeObj); + + return; + } + + + // + // C++: int locate(Point2f pt, int& edge, int& vertex) + // + + //javadoc: Subdiv2D::locate(pt, edge, vertex) + public int locate(Point pt, int[] edge, int[] vertex) + { + double[] edge_out = new double[1]; + double[] vertex_out = new double[1]; + int retVal = locate_0(nativeObj, pt.x, pt.y, edge_out, vertex_out); + if(edge!=null) edge[0] = (int)edge_out[0]; + if(vertex!=null) vertex[0] = (int)vertex_out[0]; + return retVal; + } + + + // + // C++: int findNearest(Point2f pt, Point2f* nearestPt = 0) + // + + //javadoc: Subdiv2D::findNearest(pt, nearestPt) + public int findNearest(Point pt, Point nearestPt) + { + double[] nearestPt_out = new double[2]; + int retVal = findNearest_0(nativeObj, pt.x, pt.y, nearestPt_out); + if(nearestPt!=null){ nearestPt.x = nearestPt_out[0]; nearestPt.y = nearestPt_out[1]; } + return retVal; + } + + //javadoc: Subdiv2D::findNearest(pt) + public int findNearest(Point pt) + { + + int retVal = findNearest_1(nativeObj, pt.x, pt.y); + + return retVal; + } + + + // + // C++: void getEdgeList(vector_Vec4f& edgeList) + // + + //javadoc: Subdiv2D::getEdgeList(edgeList) + public void getEdgeList(MatOfFloat4 edgeList) + { + Mat edgeList_mat = edgeList; + getEdgeList_0(nativeObj, edgeList_mat.nativeObj); + + return; + } + + + // + // C++: void getTriangleList(vector_Vec6f& triangleList) + // + + //javadoc: Subdiv2D::getTriangleList(triangleList) + public void getTriangleList(MatOfFloat6 triangleList) + { + Mat triangleList_mat = triangleList; + getTriangleList_0(nativeObj, triangleList_mat.nativeObj); + + return; + } + + + // + // C++: void getVoronoiFacetList(vector_int idx, vector_vector_Point2f& facetList, vector_Point2f& facetCenters) + // + + //javadoc: Subdiv2D::getVoronoiFacetList(idx, facetList, facetCenters) + public void getVoronoiFacetList(MatOfInt idx, List facetList, MatOfPoint2f facetCenters) + { + Mat idx_mat = idx; + Mat facetList_mat = new Mat(); + Mat facetCenters_mat = facetCenters; + getVoronoiFacetList_0(nativeObj, idx_mat.nativeObj, facetList_mat.nativeObj, facetCenters_mat.nativeObj); + Converters.Mat_to_vector_vector_Point2f(facetList_mat, facetList); + facetList_mat.release(); + return; + } + + + // + // C++: Point2f getVertex(int vertex, int* firstEdge = 0) + // + + //javadoc: Subdiv2D::getVertex(vertex, firstEdge) + public Point getVertex(int vertex, int[] firstEdge) + { + double[] firstEdge_out = new double[1]; + Point retVal = new Point(getVertex_0(nativeObj, vertex, firstEdge_out)); + if(firstEdge!=null) firstEdge[0] = (int)firstEdge_out[0]; + return retVal; + } + + //javadoc: Subdiv2D::getVertex(vertex) + public Point getVertex(int vertex) + { + + Point retVal = new Point(getVertex_1(nativeObj, vertex)); + + return retVal; + } + + + // + // C++: int getEdge(int edge, int nextEdgeType) + // + + //javadoc: Subdiv2D::getEdge(edge, nextEdgeType) + public int getEdge(int edge, int nextEdgeType) + { + + int retVal = getEdge_0(nativeObj, edge, nextEdgeType); + + return retVal; + } + + + // + // C++: int nextEdge(int edge) + // + + //javadoc: Subdiv2D::nextEdge(edge) + public int nextEdge(int edge) + { + + int retVal = nextEdge_0(nativeObj, edge); + + return retVal; + } + + + // + // C++: int rotateEdge(int edge, int rotate) + // + + //javadoc: Subdiv2D::rotateEdge(edge, rotate) + public int rotateEdge(int edge, int rotate) + { + + int retVal = rotateEdge_0(nativeObj, edge, rotate); + + return retVal; + } + + + // + // C++: int symEdge(int edge) + // + + //javadoc: Subdiv2D::symEdge(edge) + public int symEdge(int edge) + { + + int retVal = symEdge_0(nativeObj, edge); + + return retVal; + } + + + // + // C++: int edgeOrg(int edge, Point2f* orgpt = 0) + // + + //javadoc: Subdiv2D::edgeOrg(edge, orgpt) + public int edgeOrg(int edge, Point orgpt) + { + double[] orgpt_out = new double[2]; + int retVal = edgeOrg_0(nativeObj, edge, orgpt_out); + if(orgpt!=null){ orgpt.x = orgpt_out[0]; orgpt.y = orgpt_out[1]; } + return retVal; + } + + //javadoc: Subdiv2D::edgeOrg(edge) + public int edgeOrg(int edge) + { + + int retVal = edgeOrg_1(nativeObj, edge); + + return retVal; + } + + + // + // C++: int edgeDst(int edge, Point2f* dstpt = 0) + // + + //javadoc: Subdiv2D::edgeDst(edge, dstpt) + public int edgeDst(int edge, Point dstpt) + { + double[] dstpt_out = new double[2]; + int retVal = edgeDst_0(nativeObj, edge, dstpt_out); + if(dstpt!=null){ dstpt.x = dstpt_out[0]; dstpt.y = dstpt_out[1]; } + return retVal; + } + + //javadoc: Subdiv2D::edgeDst(edge) + public int edgeDst(int edge) + { + + int retVal = edgeDst_1(nativeObj, edge); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: Subdiv2D() + private static native long Subdiv2D_0(); + + // C++: Subdiv2D(Rect rect) + private static native long Subdiv2D_1(int rect_x, int rect_y, int rect_width, int rect_height); + + // C++: void initDelaunay(Rect rect) + private static native void initDelaunay_0(long nativeObj, int rect_x, int rect_y, int rect_width, int rect_height); + + // C++: int insert(Point2f pt) + private static native int insert_0(long nativeObj, double pt_x, double pt_y); + + // C++: void insert(vector_Point2f ptvec) + private static native void insert_1(long nativeObj, long ptvec_mat_nativeObj); + + // C++: int locate(Point2f pt, int& edge, int& vertex) + private static native int locate_0(long nativeObj, double pt_x, double pt_y, double[] edge_out, double[] vertex_out); + + // C++: int findNearest(Point2f pt, Point2f* nearestPt = 0) + private static native int findNearest_0(long nativeObj, double pt_x, double pt_y, double[] nearestPt_out); + private static native int findNearest_1(long nativeObj, double pt_x, double pt_y); + + // C++: void getEdgeList(vector_Vec4f& edgeList) + private static native void getEdgeList_0(long nativeObj, long edgeList_mat_nativeObj); + + // C++: void getTriangleList(vector_Vec6f& triangleList) + private static native void getTriangleList_0(long nativeObj, long triangleList_mat_nativeObj); + + // C++: void getVoronoiFacetList(vector_int idx, vector_vector_Point2f& facetList, vector_Point2f& facetCenters) + private static native void getVoronoiFacetList_0(long nativeObj, long idx_mat_nativeObj, long facetList_mat_nativeObj, long facetCenters_mat_nativeObj); + + // C++: Point2f getVertex(int vertex, int* firstEdge = 0) + private static native double[] getVertex_0(long nativeObj, int vertex, double[] firstEdge_out); + private static native double[] getVertex_1(long nativeObj, int vertex); + + // C++: int getEdge(int edge, int nextEdgeType) + private static native int getEdge_0(long nativeObj, int edge, int nextEdgeType); + + // C++: int nextEdge(int edge) + private static native int nextEdge_0(long nativeObj, int edge); + + // C++: int rotateEdge(int edge, int rotate) + private static native int rotateEdge_0(long nativeObj, int edge, int rotate); + + // C++: int symEdge(int edge) + private static native int symEdge_0(long nativeObj, int edge); + + // C++: int edgeOrg(int edge, Point2f* orgpt = 0) + private static native int edgeOrg_0(long nativeObj, int edge, double[] orgpt_out); + private static native int edgeOrg_1(long nativeObj, int edge); + + // C++: int edgeDst(int edge, Point2f* dstpt = 0) + private static native int edgeDst_0(long nativeObj, int edge, double[] dstpt_out); + private static native int edgeDst_1(long nativeObj, int edge); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/ANN_MLP.java b/opencv3/src/org/opencv/ml/ANN_MLP.java new file mode 100644 index 0000000..35a916b --- /dev/null +++ b/opencv3/src/org/opencv/ml/ANN_MLP.java @@ -0,0 +1,449 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Mat; +import org.opencv.core.TermCriteria; + +// C++: class ANN_MLP +//javadoc: ANN_MLP +public class ANN_MLP extends StatModel { + + protected ANN_MLP(long addr) { super(addr); } + + + public static final int + BACKPROP = 0, + RPROP = 1, + IDENTITY = 0, + SIGMOID_SYM = 1, + GAUSSIAN = 2, + UPDATE_WEIGHTS = 1, + NO_INPUT_SCALE = 2, + NO_OUTPUT_SCALE = 4; + + + // + // C++: void setTrainMethod(int method, double param1 = 0, double param2 = 0) + // + + //javadoc: ANN_MLP::setTrainMethod(method, param1, param2) + public void setTrainMethod(int method, double param1, double param2) + { + + setTrainMethod_0(nativeObj, method, param1, param2); + + return; + } + + //javadoc: ANN_MLP::setTrainMethod(method) + public void setTrainMethod(int method) + { + + setTrainMethod_1(nativeObj, method); + + return; + } + + + // + // C++: void setActivationFunction(int type, double param1 = 0, double param2 = 0) + // + + //javadoc: ANN_MLP::setActivationFunction(type, param1, param2) + public void setActivationFunction(int type, double param1, double param2) + { + + setActivationFunction_0(nativeObj, type, param1, param2); + + return; + } + + //javadoc: ANN_MLP::setActivationFunction(type) + public void setActivationFunction(int type) + { + + setActivationFunction_1(nativeObj, type); + + return; + } + + + // + // C++: int getTrainMethod() + // + + //javadoc: ANN_MLP::getTrainMethod() + public int getTrainMethod() + { + + int retVal = getTrainMethod_0(nativeObj); + + return retVal; + } + + + // + // C++: void setLayerSizes(Mat _layer_sizes) + // + + //javadoc: ANN_MLP::setLayerSizes(_layer_sizes) + public void setLayerSizes(Mat _layer_sizes) + { + + setLayerSizes_0(nativeObj, _layer_sizes.nativeObj); + + return; + } + + + // + // C++: Mat getLayerSizes() + // + + //javadoc: ANN_MLP::getLayerSizes() + public Mat getLayerSizes() + { + + Mat retVal = new Mat(getLayerSizes_0(nativeObj)); + + return retVal; + } + + + // + // C++: TermCriteria getTermCriteria() + // + + //javadoc: ANN_MLP::getTermCriteria() + public TermCriteria getTermCriteria() + { + + TermCriteria retVal = new TermCriteria(getTermCriteria_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setTermCriteria(TermCriteria val) + // + + //javadoc: ANN_MLP::setTermCriteria(val) + public void setTermCriteria(TermCriteria val) + { + + setTermCriteria_0(nativeObj, val.type, val.maxCount, val.epsilon); + + return; + } + + + // + // C++: double getBackpropWeightScale() + // + + //javadoc: ANN_MLP::getBackpropWeightScale() + public double getBackpropWeightScale() + { + + double retVal = getBackpropWeightScale_0(nativeObj); + + return retVal; + } + + + // + // C++: void setBackpropWeightScale(double val) + // + + //javadoc: ANN_MLP::setBackpropWeightScale(val) + public void setBackpropWeightScale(double val) + { + + setBackpropWeightScale_0(nativeObj, val); + + return; + } + + + // + // C++: double getBackpropMomentumScale() + // + + //javadoc: ANN_MLP::getBackpropMomentumScale() + public double getBackpropMomentumScale() + { + + double retVal = getBackpropMomentumScale_0(nativeObj); + + return retVal; + } + + + // + // C++: void setBackpropMomentumScale(double val) + // + + //javadoc: ANN_MLP::setBackpropMomentumScale(val) + public void setBackpropMomentumScale(double val) + { + + setBackpropMomentumScale_0(nativeObj, val); + + return; + } + + + // + // C++: double getRpropDW0() + // + + //javadoc: ANN_MLP::getRpropDW0() + public double getRpropDW0() + { + + double retVal = getRpropDW0_0(nativeObj); + + return retVal; + } + + + // + // C++: void setRpropDW0(double val) + // + + //javadoc: ANN_MLP::setRpropDW0(val) + public void setRpropDW0(double val) + { + + setRpropDW0_0(nativeObj, val); + + return; + } + + + // + // C++: double getRpropDWPlus() + // + + //javadoc: ANN_MLP::getRpropDWPlus() + public double getRpropDWPlus() + { + + double retVal = getRpropDWPlus_0(nativeObj); + + return retVal; + } + + + // + // C++: void setRpropDWPlus(double val) + // + + //javadoc: ANN_MLP::setRpropDWPlus(val) + public void setRpropDWPlus(double val) + { + + setRpropDWPlus_0(nativeObj, val); + + return; + } + + + // + // C++: double getRpropDWMinus() + // + + //javadoc: ANN_MLP::getRpropDWMinus() + public double getRpropDWMinus() + { + + double retVal = getRpropDWMinus_0(nativeObj); + + return retVal; + } + + + // + // C++: void setRpropDWMinus(double val) + // + + //javadoc: ANN_MLP::setRpropDWMinus(val) + public void setRpropDWMinus(double val) + { + + setRpropDWMinus_0(nativeObj, val); + + return; + } + + + // + // C++: double getRpropDWMin() + // + + //javadoc: ANN_MLP::getRpropDWMin() + public double getRpropDWMin() + { + + double retVal = getRpropDWMin_0(nativeObj); + + return retVal; + } + + + // + // C++: void setRpropDWMin(double val) + // + + //javadoc: ANN_MLP::setRpropDWMin(val) + public void setRpropDWMin(double val) + { + + setRpropDWMin_0(nativeObj, val); + + return; + } + + + // + // C++: double getRpropDWMax() + // + + //javadoc: ANN_MLP::getRpropDWMax() + public double getRpropDWMax() + { + + double retVal = getRpropDWMax_0(nativeObj); + + return retVal; + } + + + // + // C++: void setRpropDWMax(double val) + // + + //javadoc: ANN_MLP::setRpropDWMax(val) + public void setRpropDWMax(double val) + { + + setRpropDWMax_0(nativeObj, val); + + return; + } + + + // + // C++: Mat getWeights(int layerIdx) + // + + //javadoc: ANN_MLP::getWeights(layerIdx) + public Mat getWeights(int layerIdx) + { + + Mat retVal = new Mat(getWeights_0(nativeObj, layerIdx)); + + return retVal; + } + + + // + // C++: static Ptr_ANN_MLP create() + // + + //javadoc: ANN_MLP::create() + public static ANN_MLP create() + { + + ANN_MLP retVal = new ANN_MLP(create_0()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void setTrainMethod(int method, double param1 = 0, double param2 = 0) + private static native void setTrainMethod_0(long nativeObj, int method, double param1, double param2); + private static native void setTrainMethod_1(long nativeObj, int method); + + // C++: void setActivationFunction(int type, double param1 = 0, double param2 = 0) + private static native void setActivationFunction_0(long nativeObj, int type, double param1, double param2); + private static native void setActivationFunction_1(long nativeObj, int type); + + // C++: int getTrainMethod() + private static native int getTrainMethod_0(long nativeObj); + + // C++: void setLayerSizes(Mat _layer_sizes) + private static native void setLayerSizes_0(long nativeObj, long _layer_sizes_nativeObj); + + // C++: Mat getLayerSizes() + private static native long getLayerSizes_0(long nativeObj); + + // C++: TermCriteria getTermCriteria() + private static native double[] getTermCriteria_0(long nativeObj); + + // C++: void setTermCriteria(TermCriteria val) + private static native void setTermCriteria_0(long nativeObj, int val_type, int val_maxCount, double val_epsilon); + + // C++: double getBackpropWeightScale() + private static native double getBackpropWeightScale_0(long nativeObj); + + // C++: void setBackpropWeightScale(double val) + private static native void setBackpropWeightScale_0(long nativeObj, double val); + + // C++: double getBackpropMomentumScale() + private static native double getBackpropMomentumScale_0(long nativeObj); + + // C++: void setBackpropMomentumScale(double val) + private static native void setBackpropMomentumScale_0(long nativeObj, double val); + + // C++: double getRpropDW0() + private static native double getRpropDW0_0(long nativeObj); + + // C++: void setRpropDW0(double val) + private static native void setRpropDW0_0(long nativeObj, double val); + + // C++: double getRpropDWPlus() + private static native double getRpropDWPlus_0(long nativeObj); + + // C++: void setRpropDWPlus(double val) + private static native void setRpropDWPlus_0(long nativeObj, double val); + + // C++: double getRpropDWMinus() + private static native double getRpropDWMinus_0(long nativeObj); + + // C++: void setRpropDWMinus(double val) + private static native void setRpropDWMinus_0(long nativeObj, double val); + + // C++: double getRpropDWMin() + private static native double getRpropDWMin_0(long nativeObj); + + // C++: void setRpropDWMin(double val) + private static native void setRpropDWMin_0(long nativeObj, double val); + + // C++: double getRpropDWMax() + private static native double getRpropDWMax_0(long nativeObj); + + // C++: void setRpropDWMax(double val) + private static native void setRpropDWMax_0(long nativeObj, double val); + + // C++: Mat getWeights(int layerIdx) + private static native long getWeights_0(long nativeObj, int layerIdx); + + // C++: static Ptr_ANN_MLP create() + private static native long create_0(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/Boost.java b/opencv3/src/org/opencv/ml/Boost.java new file mode 100644 index 0000000..a6ea173 --- /dev/null +++ b/opencv3/src/org/opencv/ml/Boost.java @@ -0,0 +1,152 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + + + +// C++: class Boost +//javadoc: Boost +public class Boost extends DTrees { + + protected Boost(long addr) { super(addr); } + + + public static final int + DISCRETE = 0, + REAL = 1, + LOGIT = 2, + GENTLE = 3; + + + // + // C++: int getBoostType() + // + + //javadoc: Boost::getBoostType() + public int getBoostType() + { + + int retVal = getBoostType_0(nativeObj); + + return retVal; + } + + + // + // C++: void setBoostType(int val) + // + + //javadoc: Boost::setBoostType(val) + public void setBoostType(int val) + { + + setBoostType_0(nativeObj, val); + + return; + } + + + // + // C++: int getWeakCount() + // + + //javadoc: Boost::getWeakCount() + public int getWeakCount() + { + + int retVal = getWeakCount_0(nativeObj); + + return retVal; + } + + + // + // C++: void setWeakCount(int val) + // + + //javadoc: Boost::setWeakCount(val) + public void setWeakCount(int val) + { + + setWeakCount_0(nativeObj, val); + + return; + } + + + // + // C++: double getWeightTrimRate() + // + + //javadoc: Boost::getWeightTrimRate() + public double getWeightTrimRate() + { + + double retVal = getWeightTrimRate_0(nativeObj); + + return retVal; + } + + + // + // C++: void setWeightTrimRate(double val) + // + + //javadoc: Boost::setWeightTrimRate(val) + public void setWeightTrimRate(double val) + { + + setWeightTrimRate_0(nativeObj, val); + + return; + } + + + // + // C++: static Ptr_Boost create() + // + + //javadoc: Boost::create() + public static Boost create() + { + + Boost retVal = new Boost(create_0()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getBoostType() + private static native int getBoostType_0(long nativeObj); + + // C++: void setBoostType(int val) + private static native void setBoostType_0(long nativeObj, int val); + + // C++: int getWeakCount() + private static native int getWeakCount_0(long nativeObj); + + // C++: void setWeakCount(int val) + private static native void setWeakCount_0(long nativeObj, int val); + + // C++: double getWeightTrimRate() + private static native double getWeightTrimRate_0(long nativeObj); + + // C++: void setWeightTrimRate(double val) + private static native void setWeightTrimRate_0(long nativeObj, double val); + + // C++: static Ptr_Boost create() + private static native long create_0(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/DTrees.java b/opencv3/src/org/opencv/ml/DTrees.java new file mode 100644 index 0000000..6ed2213 --- /dev/null +++ b/opencv3/src/org/opencv/ml/DTrees.java @@ -0,0 +1,356 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Mat; + +// C++: class DTrees +//javadoc: DTrees +public class DTrees extends StatModel { + + protected DTrees(long addr) { super(addr); } + + + public static final int + PREDICT_AUTO = 0, + PREDICT_SUM = (1<<8), + PREDICT_MAX_VOTE = (2<<8), + PREDICT_MASK = (3<<8); + + + // + // C++: int getMaxCategories() + // + + //javadoc: DTrees::getMaxCategories() + public int getMaxCategories() + { + + int retVal = getMaxCategories_0(nativeObj); + + return retVal; + } + + + // + // C++: void setMaxCategories(int val) + // + + //javadoc: DTrees::setMaxCategories(val) + public void setMaxCategories(int val) + { + + setMaxCategories_0(nativeObj, val); + + return; + } + + + // + // C++: int getMaxDepth() + // + + //javadoc: DTrees::getMaxDepth() + public int getMaxDepth() + { + + int retVal = getMaxDepth_0(nativeObj); + + return retVal; + } + + + // + // C++: void setMaxDepth(int val) + // + + //javadoc: DTrees::setMaxDepth(val) + public void setMaxDepth(int val) + { + + setMaxDepth_0(nativeObj, val); + + return; + } + + + // + // C++: int getMinSampleCount() + // + + //javadoc: DTrees::getMinSampleCount() + public int getMinSampleCount() + { + + int retVal = getMinSampleCount_0(nativeObj); + + return retVal; + } + + + // + // C++: void setMinSampleCount(int val) + // + + //javadoc: DTrees::setMinSampleCount(val) + public void setMinSampleCount(int val) + { + + setMinSampleCount_0(nativeObj, val); + + return; + } + + + // + // C++: int getCVFolds() + // + + //javadoc: DTrees::getCVFolds() + public int getCVFolds() + { + + int retVal = getCVFolds_0(nativeObj); + + return retVal; + } + + + // + // C++: void setCVFolds(int val) + // + + //javadoc: DTrees::setCVFolds(val) + public void setCVFolds(int val) + { + + setCVFolds_0(nativeObj, val); + + return; + } + + + // + // C++: bool getUseSurrogates() + // + + //javadoc: DTrees::getUseSurrogates() + public boolean getUseSurrogates() + { + + boolean retVal = getUseSurrogates_0(nativeObj); + + return retVal; + } + + + // + // C++: void setUseSurrogates(bool val) + // + + //javadoc: DTrees::setUseSurrogates(val) + public void setUseSurrogates(boolean val) + { + + setUseSurrogates_0(nativeObj, val); + + return; + } + + + // + // C++: bool getUse1SERule() + // + + //javadoc: DTrees::getUse1SERule() + public boolean getUse1SERule() + { + + boolean retVal = getUse1SERule_0(nativeObj); + + return retVal; + } + + + // + // C++: void setUse1SERule(bool val) + // + + //javadoc: DTrees::setUse1SERule(val) + public void setUse1SERule(boolean val) + { + + setUse1SERule_0(nativeObj, val); + + return; + } + + + // + // C++: bool getTruncatePrunedTree() + // + + //javadoc: DTrees::getTruncatePrunedTree() + public boolean getTruncatePrunedTree() + { + + boolean retVal = getTruncatePrunedTree_0(nativeObj); + + return retVal; + } + + + // + // C++: void setTruncatePrunedTree(bool val) + // + + //javadoc: DTrees::setTruncatePrunedTree(val) + public void setTruncatePrunedTree(boolean val) + { + + setTruncatePrunedTree_0(nativeObj, val); + + return; + } + + + // + // C++: float getRegressionAccuracy() + // + + //javadoc: DTrees::getRegressionAccuracy() + public float getRegressionAccuracy() + { + + float retVal = getRegressionAccuracy_0(nativeObj); + + return retVal; + } + + + // + // C++: void setRegressionAccuracy(float val) + // + + //javadoc: DTrees::setRegressionAccuracy(val) + public void setRegressionAccuracy(float val) + { + + setRegressionAccuracy_0(nativeObj, val); + + return; + } + + + // + // C++: Mat getPriors() + // + + //javadoc: DTrees::getPriors() + public Mat getPriors() + { + + Mat retVal = new Mat(getPriors_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setPriors(Mat val) + // + + //javadoc: DTrees::setPriors(val) + public void setPriors(Mat val) + { + + setPriors_0(nativeObj, val.nativeObj); + + return; + } + + + // + // C++: static Ptr_DTrees create() + // + + //javadoc: DTrees::create() + public static DTrees create() + { + + DTrees retVal = new DTrees(create_0()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getMaxCategories() + private static native int getMaxCategories_0(long nativeObj); + + // C++: void setMaxCategories(int val) + private static native void setMaxCategories_0(long nativeObj, int val); + + // C++: int getMaxDepth() + private static native int getMaxDepth_0(long nativeObj); + + // C++: void setMaxDepth(int val) + private static native void setMaxDepth_0(long nativeObj, int val); + + // C++: int getMinSampleCount() + private static native int getMinSampleCount_0(long nativeObj); + + // C++: void setMinSampleCount(int val) + private static native void setMinSampleCount_0(long nativeObj, int val); + + // C++: int getCVFolds() + private static native int getCVFolds_0(long nativeObj); + + // C++: void setCVFolds(int val) + private static native void setCVFolds_0(long nativeObj, int val); + + // C++: bool getUseSurrogates() + private static native boolean getUseSurrogates_0(long nativeObj); + + // C++: void setUseSurrogates(bool val) + private static native void setUseSurrogates_0(long nativeObj, boolean val); + + // C++: bool getUse1SERule() + private static native boolean getUse1SERule_0(long nativeObj); + + // C++: void setUse1SERule(bool val) + private static native void setUse1SERule_0(long nativeObj, boolean val); + + // C++: bool getTruncatePrunedTree() + private static native boolean getTruncatePrunedTree_0(long nativeObj); + + // C++: void setTruncatePrunedTree(bool val) + private static native void setTruncatePrunedTree_0(long nativeObj, boolean val); + + // C++: float getRegressionAccuracy() + private static native float getRegressionAccuracy_0(long nativeObj); + + // C++: void setRegressionAccuracy(float val) + private static native void setRegressionAccuracy_0(long nativeObj, float val); + + // C++: Mat getPriors() + private static native long getPriors_0(long nativeObj); + + // C++: void setPriors(Mat val) + private static native void setPriors_0(long nativeObj, long val_nativeObj); + + // C++: static Ptr_DTrees create() + private static native long create_0(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/EM.java b/opencv3/src/org/opencv/ml/EM.java new file mode 100644 index 0000000..0b6b454 --- /dev/null +++ b/opencv3/src/org/opencv/ml/EM.java @@ -0,0 +1,290 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Mat; +import org.opencv.core.TermCriteria; + +// C++: class EM +//javadoc: EM +public class EM extends StatModel { + + protected EM(long addr) { super(addr); } + + + public static final int + COV_MAT_SPHERICAL = 0, + COV_MAT_DIAGONAL = 1, + COV_MAT_GENERIC = 2, + COV_MAT_DEFAULT = COV_MAT_DIAGONAL, + DEFAULT_NCLUSTERS = 5, + DEFAULT_MAX_ITERS = 100, + START_E_STEP = 1, + START_M_STEP = 2, + START_AUTO_STEP = 0; + + + // + // C++: int getClustersNumber() + // + + //javadoc: EM::getClustersNumber() + public int getClustersNumber() + { + + int retVal = getClustersNumber_0(nativeObj); + + return retVal; + } + + + // + // C++: void setClustersNumber(int val) + // + + //javadoc: EM::setClustersNumber(val) + public void setClustersNumber(int val) + { + + setClustersNumber_0(nativeObj, val); + + return; + } + + + // + // C++: int getCovarianceMatrixType() + // + + //javadoc: EM::getCovarianceMatrixType() + public int getCovarianceMatrixType() + { + + int retVal = getCovarianceMatrixType_0(nativeObj); + + return retVal; + } + + + // + // C++: void setCovarianceMatrixType(int val) + // + + //javadoc: EM::setCovarianceMatrixType(val) + public void setCovarianceMatrixType(int val) + { + + setCovarianceMatrixType_0(nativeObj, val); + + return; + } + + + // + // C++: TermCriteria getTermCriteria() + // + + //javadoc: EM::getTermCriteria() + public TermCriteria getTermCriteria() + { + + TermCriteria retVal = new TermCriteria(getTermCriteria_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setTermCriteria(TermCriteria val) + // + + //javadoc: EM::setTermCriteria(val) + public void setTermCriteria(TermCriteria val) + { + + setTermCriteria_0(nativeObj, val.type, val.maxCount, val.epsilon); + + return; + } + + + // + // C++: Mat getWeights() + // + + //javadoc: EM::getWeights() + public Mat getWeights() + { + + Mat retVal = new Mat(getWeights_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getMeans() + // + + //javadoc: EM::getMeans() + public Mat getMeans() + { + + Mat retVal = new Mat(getMeans_0(nativeObj)); + + return retVal; + } + + + // + // C++: Vec2d predict2(Mat sample, Mat& probs) + // + + //javadoc: EM::predict2(sample, probs) + public double[] predict2(Mat sample, Mat probs) + { + + double[] retVal = predict2_0(nativeObj, sample.nativeObj, probs.nativeObj); + + return retVal; + } + + + // + // C++: bool trainEM(Mat samples, Mat& logLikelihoods = Mat(), Mat& labels = Mat(), Mat& probs = Mat()) + // + + //javadoc: EM::trainEM(samples, logLikelihoods, labels, probs) + public boolean trainEM(Mat samples, Mat logLikelihoods, Mat labels, Mat probs) + { + + boolean retVal = trainEM_0(nativeObj, samples.nativeObj, logLikelihoods.nativeObj, labels.nativeObj, probs.nativeObj); + + return retVal; + } + + //javadoc: EM::trainEM(samples) + public boolean trainEM(Mat samples) + { + + boolean retVal = trainEM_1(nativeObj, samples.nativeObj); + + return retVal; + } + + + // + // C++: bool trainE(Mat samples, Mat means0, Mat covs0 = Mat(), Mat weights0 = Mat(), Mat& logLikelihoods = Mat(), Mat& labels = Mat(), Mat& probs = Mat()) + // + + //javadoc: EM::trainE(samples, means0, covs0, weights0, logLikelihoods, labels, probs) + public boolean trainE(Mat samples, Mat means0, Mat covs0, Mat weights0, Mat logLikelihoods, Mat labels, Mat probs) + { + + boolean retVal = trainE_0(nativeObj, samples.nativeObj, means0.nativeObj, covs0.nativeObj, weights0.nativeObj, logLikelihoods.nativeObj, labels.nativeObj, probs.nativeObj); + + return retVal; + } + + //javadoc: EM::trainE(samples, means0) + public boolean trainE(Mat samples, Mat means0) + { + + boolean retVal = trainE_1(nativeObj, samples.nativeObj, means0.nativeObj); + + return retVal; + } + + + // + // C++: bool trainM(Mat samples, Mat probs0, Mat& logLikelihoods = Mat(), Mat& labels = Mat(), Mat& probs = Mat()) + // + + //javadoc: EM::trainM(samples, probs0, logLikelihoods, labels, probs) + public boolean trainM(Mat samples, Mat probs0, Mat logLikelihoods, Mat labels, Mat probs) + { + + boolean retVal = trainM_0(nativeObj, samples.nativeObj, probs0.nativeObj, logLikelihoods.nativeObj, labels.nativeObj, probs.nativeObj); + + return retVal; + } + + //javadoc: EM::trainM(samples, probs0) + public boolean trainM(Mat samples, Mat probs0) + { + + boolean retVal = trainM_1(nativeObj, samples.nativeObj, probs0.nativeObj); + + return retVal; + } + + + // + // C++: static Ptr_EM create() + // + + //javadoc: EM::create() + public static EM create() + { + + EM retVal = new EM(create_0()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getClustersNumber() + private static native int getClustersNumber_0(long nativeObj); + + // C++: void setClustersNumber(int val) + private static native void setClustersNumber_0(long nativeObj, int val); + + // C++: int getCovarianceMatrixType() + private static native int getCovarianceMatrixType_0(long nativeObj); + + // C++: void setCovarianceMatrixType(int val) + private static native void setCovarianceMatrixType_0(long nativeObj, int val); + + // C++: TermCriteria getTermCriteria() + private static native double[] getTermCriteria_0(long nativeObj); + + // C++: void setTermCriteria(TermCriteria val) + private static native void setTermCriteria_0(long nativeObj, int val_type, int val_maxCount, double val_epsilon); + + // C++: Mat getWeights() + private static native long getWeights_0(long nativeObj); + + // C++: Mat getMeans() + private static native long getMeans_0(long nativeObj); + + // C++: Vec2d predict2(Mat sample, Mat& probs) + private static native double[] predict2_0(long nativeObj, long sample_nativeObj, long probs_nativeObj); + + // C++: bool trainEM(Mat samples, Mat& logLikelihoods = Mat(), Mat& labels = Mat(), Mat& probs = Mat()) + private static native boolean trainEM_0(long nativeObj, long samples_nativeObj, long logLikelihoods_nativeObj, long labels_nativeObj, long probs_nativeObj); + private static native boolean trainEM_1(long nativeObj, long samples_nativeObj); + + // C++: bool trainE(Mat samples, Mat means0, Mat covs0 = Mat(), Mat weights0 = Mat(), Mat& logLikelihoods = Mat(), Mat& labels = Mat(), Mat& probs = Mat()) + private static native boolean trainE_0(long nativeObj, long samples_nativeObj, long means0_nativeObj, long covs0_nativeObj, long weights0_nativeObj, long logLikelihoods_nativeObj, long labels_nativeObj, long probs_nativeObj); + private static native boolean trainE_1(long nativeObj, long samples_nativeObj, long means0_nativeObj); + + // C++: bool trainM(Mat samples, Mat probs0, Mat& logLikelihoods = Mat(), Mat& labels = Mat(), Mat& probs = Mat()) + private static native boolean trainM_0(long nativeObj, long samples_nativeObj, long probs0_nativeObj, long logLikelihoods_nativeObj, long labels_nativeObj, long probs_nativeObj); + private static native boolean trainM_1(long nativeObj, long samples_nativeObj, long probs0_nativeObj); + + // C++: static Ptr_EM create() + private static native long create_0(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/KNearest.java b/opencv3/src/org/opencv/ml/KNearest.java new file mode 100644 index 0000000..422a1ea --- /dev/null +++ b/opencv3/src/org/opencv/ml/KNearest.java @@ -0,0 +1,211 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Mat; + +// C++: class KNearest +//javadoc: KNearest +public class KNearest extends StatModel { + + protected KNearest(long addr) { super(addr); } + + + public static final int + BRUTE_FORCE = 1, + KDTREE = 2; + + + // + // C++: int getDefaultK() + // + + //javadoc: KNearest::getDefaultK() + public int getDefaultK() + { + + int retVal = getDefaultK_0(nativeObj); + + return retVal; + } + + + // + // C++: void setDefaultK(int val) + // + + //javadoc: KNearest::setDefaultK(val) + public void setDefaultK(int val) + { + + setDefaultK_0(nativeObj, val); + + return; + } + + + // + // C++: bool getIsClassifier() + // + + //javadoc: KNearest::getIsClassifier() + public boolean getIsClassifier() + { + + boolean retVal = getIsClassifier_0(nativeObj); + + return retVal; + } + + + // + // C++: void setIsClassifier(bool val) + // + + //javadoc: KNearest::setIsClassifier(val) + public void setIsClassifier(boolean val) + { + + setIsClassifier_0(nativeObj, val); + + return; + } + + + // + // C++: int getEmax() + // + + //javadoc: KNearest::getEmax() + public int getEmax() + { + + int retVal = getEmax_0(nativeObj); + + return retVal; + } + + + // + // C++: void setEmax(int val) + // + + //javadoc: KNearest::setEmax(val) + public void setEmax(int val) + { + + setEmax_0(nativeObj, val); + + return; + } + + + // + // C++: int getAlgorithmType() + // + + //javadoc: KNearest::getAlgorithmType() + public int getAlgorithmType() + { + + int retVal = getAlgorithmType_0(nativeObj); + + return retVal; + } + + + // + // C++: void setAlgorithmType(int val) + // + + //javadoc: KNearest::setAlgorithmType(val) + public void setAlgorithmType(int val) + { + + setAlgorithmType_0(nativeObj, val); + + return; + } + + + // + // C++: float findNearest(Mat samples, int k, Mat& results, Mat& neighborResponses = Mat(), Mat& dist = Mat()) + // + + //javadoc: KNearest::findNearest(samples, k, results, neighborResponses, dist) + public float findNearest(Mat samples, int k, Mat results, Mat neighborResponses, Mat dist) + { + + float retVal = findNearest_0(nativeObj, samples.nativeObj, k, results.nativeObj, neighborResponses.nativeObj, dist.nativeObj); + + return retVal; + } + + //javadoc: KNearest::findNearest(samples, k, results) + public float findNearest(Mat samples, int k, Mat results) + { + + float retVal = findNearest_1(nativeObj, samples.nativeObj, k, results.nativeObj); + + return retVal; + } + + + // + // C++: static Ptr_KNearest create() + // + + //javadoc: KNearest::create() + public static KNearest create() + { + + KNearest retVal = new KNearest(create_0()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getDefaultK() + private static native int getDefaultK_0(long nativeObj); + + // C++: void setDefaultK(int val) + private static native void setDefaultK_0(long nativeObj, int val); + + // C++: bool getIsClassifier() + private static native boolean getIsClassifier_0(long nativeObj); + + // C++: void setIsClassifier(bool val) + private static native void setIsClassifier_0(long nativeObj, boolean val); + + // C++: int getEmax() + private static native int getEmax_0(long nativeObj); + + // C++: void setEmax(int val) + private static native void setEmax_0(long nativeObj, int val); + + // C++: int getAlgorithmType() + private static native int getAlgorithmType_0(long nativeObj); + + // C++: void setAlgorithmType(int val) + private static native void setAlgorithmType_0(long nativeObj, int val); + + // C++: float findNearest(Mat samples, int k, Mat& results, Mat& neighborResponses = Mat(), Mat& dist = Mat()) + private static native float findNearest_0(long nativeObj, long samples_nativeObj, int k, long results_nativeObj, long neighborResponses_nativeObj, long dist_nativeObj); + private static native float findNearest_1(long nativeObj, long samples_nativeObj, int k, long results_nativeObj); + + // C++: static Ptr_KNearest create() + private static native long create_0(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/LogisticRegression.java b/opencv3/src/org/opencv/ml/LogisticRegression.java new file mode 100644 index 0000000..c60e958 --- /dev/null +++ b/opencv3/src/org/opencv/ml/LogisticRegression.java @@ -0,0 +1,300 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Mat; +import org.opencv.core.TermCriteria; + +// C++: class LogisticRegression +//javadoc: LogisticRegression +public class LogisticRegression extends StatModel { + + protected LogisticRegression(long addr) { super(addr); } + + + public static final int + REG_DISABLE = -1, + REG_L1 = 0, + REG_L2 = 1, + BATCH = 0, + MINI_BATCH = 1; + + + // + // C++: double getLearningRate() + // + + //javadoc: LogisticRegression::getLearningRate() + public double getLearningRate() + { + + double retVal = getLearningRate_0(nativeObj); + + return retVal; + } + + + // + // C++: void setLearningRate(double val) + // + + //javadoc: LogisticRegression::setLearningRate(val) + public void setLearningRate(double val) + { + + setLearningRate_0(nativeObj, val); + + return; + } + + + // + // C++: int getIterations() + // + + //javadoc: LogisticRegression::getIterations() + public int getIterations() + { + + int retVal = getIterations_0(nativeObj); + + return retVal; + } + + + // + // C++: void setIterations(int val) + // + + //javadoc: LogisticRegression::setIterations(val) + public void setIterations(int val) + { + + setIterations_0(nativeObj, val); + + return; + } + + + // + // C++: int getRegularization() + // + + //javadoc: LogisticRegression::getRegularization() + public int getRegularization() + { + + int retVal = getRegularization_0(nativeObj); + + return retVal; + } + + + // + // C++: void setRegularization(int val) + // + + //javadoc: LogisticRegression::setRegularization(val) + public void setRegularization(int val) + { + + setRegularization_0(nativeObj, val); + + return; + } + + + // + // C++: int getTrainMethod() + // + + //javadoc: LogisticRegression::getTrainMethod() + public int getTrainMethod() + { + + int retVal = getTrainMethod_0(nativeObj); + + return retVal; + } + + + // + // C++: void setTrainMethod(int val) + // + + //javadoc: LogisticRegression::setTrainMethod(val) + public void setTrainMethod(int val) + { + + setTrainMethod_0(nativeObj, val); + + return; + } + + + // + // C++: int getMiniBatchSize() + // + + //javadoc: LogisticRegression::getMiniBatchSize() + public int getMiniBatchSize() + { + + int retVal = getMiniBatchSize_0(nativeObj); + + return retVal; + } + + + // + // C++: void setMiniBatchSize(int val) + // + + //javadoc: LogisticRegression::setMiniBatchSize(val) + public void setMiniBatchSize(int val) + { + + setMiniBatchSize_0(nativeObj, val); + + return; + } + + + // + // C++: TermCriteria getTermCriteria() + // + + //javadoc: LogisticRegression::getTermCriteria() + public TermCriteria getTermCriteria() + { + + TermCriteria retVal = new TermCriteria(getTermCriteria_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setTermCriteria(TermCriteria val) + // + + //javadoc: LogisticRegression::setTermCriteria(val) + public void setTermCriteria(TermCriteria val) + { + + setTermCriteria_0(nativeObj, val.type, val.maxCount, val.epsilon); + + return; + } + + + // + // C++: float predict(Mat samples, Mat& results = Mat(), int flags = 0) + // + + //javadoc: LogisticRegression::predict(samples, results, flags) + public float predict(Mat samples, Mat results, int flags) + { + + float retVal = predict_0(nativeObj, samples.nativeObj, results.nativeObj, flags); + + return retVal; + } + + //javadoc: LogisticRegression::predict(samples) + public float predict(Mat samples) + { + + float retVal = predict_1(nativeObj, samples.nativeObj); + + return retVal; + } + + + // + // C++: Mat get_learnt_thetas() + // + + //javadoc: LogisticRegression::get_learnt_thetas() + public Mat get_learnt_thetas() + { + + Mat retVal = new Mat(get_learnt_thetas_0(nativeObj)); + + return retVal; + } + + + // + // C++: static Ptr_LogisticRegression create() + // + + //javadoc: LogisticRegression::create() + public static LogisticRegression create() + { + + LogisticRegression retVal = new LogisticRegression(create_0()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: double getLearningRate() + private static native double getLearningRate_0(long nativeObj); + + // C++: void setLearningRate(double val) + private static native void setLearningRate_0(long nativeObj, double val); + + // C++: int getIterations() + private static native int getIterations_0(long nativeObj); + + // C++: void setIterations(int val) + private static native void setIterations_0(long nativeObj, int val); + + // C++: int getRegularization() + private static native int getRegularization_0(long nativeObj); + + // C++: void setRegularization(int val) + private static native void setRegularization_0(long nativeObj, int val); + + // C++: int getTrainMethod() + private static native int getTrainMethod_0(long nativeObj); + + // C++: void setTrainMethod(int val) + private static native void setTrainMethod_0(long nativeObj, int val); + + // C++: int getMiniBatchSize() + private static native int getMiniBatchSize_0(long nativeObj); + + // C++: void setMiniBatchSize(int val) + private static native void setMiniBatchSize_0(long nativeObj, int val); + + // C++: TermCriteria getTermCriteria() + private static native double[] getTermCriteria_0(long nativeObj); + + // C++: void setTermCriteria(TermCriteria val) + private static native void setTermCriteria_0(long nativeObj, int val_type, int val_maxCount, double val_epsilon); + + // C++: float predict(Mat samples, Mat& results = Mat(), int flags = 0) + private static native float predict_0(long nativeObj, long samples_nativeObj, long results_nativeObj, int flags); + private static native float predict_1(long nativeObj, long samples_nativeObj); + + // C++: Mat get_learnt_thetas() + private static native long get_learnt_thetas_0(long nativeObj); + + // C++: static Ptr_LogisticRegression create() + private static native long create_0(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/Ml.java b/opencv3/src/org/opencv/ml/Ml.java new file mode 100644 index 0000000..e8f317d --- /dev/null +++ b/opencv3/src/org/opencv/ml/Ml.java @@ -0,0 +1,23 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + + + +public class Ml { + + public static final int + VAR_NUMERICAL = 0, + VAR_ORDERED = 0, + VAR_CATEGORICAL = 1, + TEST_ERROR = 0, + TRAIN_ERROR = 1, + ROW_SAMPLE = 0, + COL_SAMPLE = 1; + + + + +} diff --git a/opencv3/src/org/opencv/ml/NormalBayesClassifier.java b/opencv3/src/org/opencv/ml/NormalBayesClassifier.java new file mode 100644 index 0000000..b7ae1db --- /dev/null +++ b/opencv3/src/org/opencv/ml/NormalBayesClassifier.java @@ -0,0 +1,70 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Mat; + +// C++: class NormalBayesClassifier +//javadoc: NormalBayesClassifier +public class NormalBayesClassifier extends StatModel { + + protected NormalBayesClassifier(long addr) { super(addr); } + + + // + // C++: float predictProb(Mat inputs, Mat& outputs, Mat& outputProbs, int flags = 0) + // + + //javadoc: NormalBayesClassifier::predictProb(inputs, outputs, outputProbs, flags) + public float predictProb(Mat inputs, Mat outputs, Mat outputProbs, int flags) + { + + float retVal = predictProb_0(nativeObj, inputs.nativeObj, outputs.nativeObj, outputProbs.nativeObj, flags); + + return retVal; + } + + //javadoc: NormalBayesClassifier::predictProb(inputs, outputs, outputProbs) + public float predictProb(Mat inputs, Mat outputs, Mat outputProbs) + { + + float retVal = predictProb_1(nativeObj, inputs.nativeObj, outputs.nativeObj, outputProbs.nativeObj); + + return retVal; + } + + + // + // C++: static Ptr_NormalBayesClassifier create() + // + + //javadoc: NormalBayesClassifier::create() + public static NormalBayesClassifier create() + { + + NormalBayesClassifier retVal = new NormalBayesClassifier(create_0()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: float predictProb(Mat inputs, Mat& outputs, Mat& outputProbs, int flags = 0) + private static native float predictProb_0(long nativeObj, long inputs_nativeObj, long outputs_nativeObj, long outputProbs_nativeObj, int flags); + private static native float predictProb_1(long nativeObj, long inputs_nativeObj, long outputs_nativeObj, long outputProbs_nativeObj); + + // C++: static Ptr_NormalBayesClassifier create() + private static native long create_0(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/RTrees.java b/opencv3/src/org/opencv/ml/RTrees.java new file mode 100644 index 0000000..cd10d00 --- /dev/null +++ b/opencv3/src/org/opencv/ml/RTrees.java @@ -0,0 +1,163 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Mat; +import org.opencv.core.TermCriteria; + +// C++: class RTrees +//javadoc: RTrees +public class RTrees extends DTrees { + + protected RTrees(long addr) { super(addr); } + + + // + // C++: bool getCalculateVarImportance() + // + + //javadoc: RTrees::getCalculateVarImportance() + public boolean getCalculateVarImportance() + { + + boolean retVal = getCalculateVarImportance_0(nativeObj); + + return retVal; + } + + + // + // C++: void setCalculateVarImportance(bool val) + // + + //javadoc: RTrees::setCalculateVarImportance(val) + public void setCalculateVarImportance(boolean val) + { + + setCalculateVarImportance_0(nativeObj, val); + + return; + } + + + // + // C++: int getActiveVarCount() + // + + //javadoc: RTrees::getActiveVarCount() + public int getActiveVarCount() + { + + int retVal = getActiveVarCount_0(nativeObj); + + return retVal; + } + + + // + // C++: void setActiveVarCount(int val) + // + + //javadoc: RTrees::setActiveVarCount(val) + public void setActiveVarCount(int val) + { + + setActiveVarCount_0(nativeObj, val); + + return; + } + + + // + // C++: TermCriteria getTermCriteria() + // + + //javadoc: RTrees::getTermCriteria() + public TermCriteria getTermCriteria() + { + + TermCriteria retVal = new TermCriteria(getTermCriteria_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setTermCriteria(TermCriteria val) + // + + //javadoc: RTrees::setTermCriteria(val) + public void setTermCriteria(TermCriteria val) + { + + setTermCriteria_0(nativeObj, val.type, val.maxCount, val.epsilon); + + return; + } + + + // + // C++: Mat getVarImportance() + // + + //javadoc: RTrees::getVarImportance() + public Mat getVarImportance() + { + + Mat retVal = new Mat(getVarImportance_0(nativeObj)); + + return retVal; + } + + + // + // C++: static Ptr_RTrees create() + // + + //javadoc: RTrees::create() + public static RTrees create() + { + + RTrees retVal = new RTrees(create_0()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: bool getCalculateVarImportance() + private static native boolean getCalculateVarImportance_0(long nativeObj); + + // C++: void setCalculateVarImportance(bool val) + private static native void setCalculateVarImportance_0(long nativeObj, boolean val); + + // C++: int getActiveVarCount() + private static native int getActiveVarCount_0(long nativeObj); + + // C++: void setActiveVarCount(int val) + private static native void setActiveVarCount_0(long nativeObj, int val); + + // C++: TermCriteria getTermCriteria() + private static native double[] getTermCriteria_0(long nativeObj); + + // C++: void setTermCriteria(TermCriteria val) + private static native void setTermCriteria_0(long nativeObj, int val_type, int val_maxCount, double val_epsilon); + + // C++: Mat getVarImportance() + private static native long getVarImportance_0(long nativeObj); + + // C++: static Ptr_RTrees create() + private static native long create_0(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/SVM.java b/opencv3/src/org/opencv/ml/SVM.java new file mode 100644 index 0000000..0fc5b80 --- /dev/null +++ b/opencv3/src/org/opencv/ml/SVM.java @@ -0,0 +1,439 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Mat; +import org.opencv.core.TermCriteria; + +// C++: class SVM +//javadoc: SVM +public class SVM extends StatModel { + + protected SVM(long addr) { super(addr); } + + + public static final int + C_SVC = 100, + NU_SVC = 101, + ONE_CLASS = 102, + EPS_SVR = 103, + NU_SVR = 104, + CUSTOM = -1, + LINEAR = 0, + POLY = 1, + RBF = 2, + SIGMOID = 3, + CHI2 = 4, + INTER = 5, + C = 0, + GAMMA = 1, + P = 2, + NU = 3, + COEF = 4, + DEGREE = 5; + + + // + // C++: int getType() + // + + //javadoc: SVM::getType() + public int getType() + { + + int retVal = getType_0(nativeObj); + + return retVal; + } + + + // + // C++: void setType(int val) + // + + //javadoc: SVM::setType(val) + public void setType(int val) + { + + setType_0(nativeObj, val); + + return; + } + + + // + // C++: double getGamma() + // + + //javadoc: SVM::getGamma() + public double getGamma() + { + + double retVal = getGamma_0(nativeObj); + + return retVal; + } + + + // + // C++: void setGamma(double val) + // + + //javadoc: SVM::setGamma(val) + public void setGamma(double val) + { + + setGamma_0(nativeObj, val); + + return; + } + + + // + // C++: double getCoef0() + // + + //javadoc: SVM::getCoef0() + public double getCoef0() + { + + double retVal = getCoef0_0(nativeObj); + + return retVal; + } + + + // + // C++: void setCoef0(double val) + // + + //javadoc: SVM::setCoef0(val) + public void setCoef0(double val) + { + + setCoef0_0(nativeObj, val); + + return; + } + + + // + // C++: double getDegree() + // + + //javadoc: SVM::getDegree() + public double getDegree() + { + + double retVal = getDegree_0(nativeObj); + + return retVal; + } + + + // + // C++: void setDegree(double val) + // + + //javadoc: SVM::setDegree(val) + public void setDegree(double val) + { + + setDegree_0(nativeObj, val); + + return; + } + + + // + // C++: double getC() + // + + //javadoc: SVM::getC() + public double getC() + { + + double retVal = getC_0(nativeObj); + + return retVal; + } + + + // + // C++: void setC(double val) + // + + //javadoc: SVM::setC(val) + public void setC(double val) + { + + setC_0(nativeObj, val); + + return; + } + + + // + // C++: double getNu() + // + + //javadoc: SVM::getNu() + public double getNu() + { + + double retVal = getNu_0(nativeObj); + + return retVal; + } + + + // + // C++: void setNu(double val) + // + + //javadoc: SVM::setNu(val) + public void setNu(double val) + { + + setNu_0(nativeObj, val); + + return; + } + + + // + // C++: double getP() + // + + //javadoc: SVM::getP() + public double getP() + { + + double retVal = getP_0(nativeObj); + + return retVal; + } + + + // + // C++: void setP(double val) + // + + //javadoc: SVM::setP(val) + public void setP(double val) + { + + setP_0(nativeObj, val); + + return; + } + + + // + // C++: Mat getClassWeights() + // + + //javadoc: SVM::getClassWeights() + public Mat getClassWeights() + { + + Mat retVal = new Mat(getClassWeights_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setClassWeights(Mat val) + // + + //javadoc: SVM::setClassWeights(val) + public void setClassWeights(Mat val) + { + + setClassWeights_0(nativeObj, val.nativeObj); + + return; + } + + + // + // C++: TermCriteria getTermCriteria() + // + + //javadoc: SVM::getTermCriteria() + public TermCriteria getTermCriteria() + { + + TermCriteria retVal = new TermCriteria(getTermCriteria_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setTermCriteria(TermCriteria val) + // + + //javadoc: SVM::setTermCriteria(val) + public void setTermCriteria(TermCriteria val) + { + + setTermCriteria_0(nativeObj, val.type, val.maxCount, val.epsilon); + + return; + } + + + // + // C++: int getKernelType() + // + + //javadoc: SVM::getKernelType() + public int getKernelType() + { + + int retVal = getKernelType_0(nativeObj); + + return retVal; + } + + + // + // C++: void setKernel(int kernelType) + // + + //javadoc: SVM::setKernel(kernelType) + public void setKernel(int kernelType) + { + + setKernel_0(nativeObj, kernelType); + + return; + } + + + // + // C++: Mat getSupportVectors() + // + + //javadoc: SVM::getSupportVectors() + public Mat getSupportVectors() + { + + Mat retVal = new Mat(getSupportVectors_0(nativeObj)); + + return retVal; + } + + + // + // C++: double getDecisionFunction(int i, Mat& alpha, Mat& svidx) + // + + //javadoc: SVM::getDecisionFunction(i, alpha, svidx) + public double getDecisionFunction(int i, Mat alpha, Mat svidx) + { + + double retVal = getDecisionFunction_0(nativeObj, i, alpha.nativeObj, svidx.nativeObj); + + return retVal; + } + + + // + // C++: static Ptr_SVM create() + // + + //javadoc: SVM::create() + public static SVM create() + { + + SVM retVal = new SVM(create_0()); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getType() + private static native int getType_0(long nativeObj); + + // C++: void setType(int val) + private static native void setType_0(long nativeObj, int val); + + // C++: double getGamma() + private static native double getGamma_0(long nativeObj); + + // C++: void setGamma(double val) + private static native void setGamma_0(long nativeObj, double val); + + // C++: double getCoef0() + private static native double getCoef0_0(long nativeObj); + + // C++: void setCoef0(double val) + private static native void setCoef0_0(long nativeObj, double val); + + // C++: double getDegree() + private static native double getDegree_0(long nativeObj); + + // C++: void setDegree(double val) + private static native void setDegree_0(long nativeObj, double val); + + // C++: double getC() + private static native double getC_0(long nativeObj); + + // C++: void setC(double val) + private static native void setC_0(long nativeObj, double val); + + // C++: double getNu() + private static native double getNu_0(long nativeObj); + + // C++: void setNu(double val) + private static native void setNu_0(long nativeObj, double val); + + // C++: double getP() + private static native double getP_0(long nativeObj); + + // C++: void setP(double val) + private static native void setP_0(long nativeObj, double val); + + // C++: Mat getClassWeights() + private static native long getClassWeights_0(long nativeObj); + + // C++: void setClassWeights(Mat val) + private static native void setClassWeights_0(long nativeObj, long val_nativeObj); + + // C++: TermCriteria getTermCriteria() + private static native double[] getTermCriteria_0(long nativeObj); + + // C++: void setTermCriteria(TermCriteria val) + private static native void setTermCriteria_0(long nativeObj, int val_type, int val_maxCount, double val_epsilon); + + // C++: int getKernelType() + private static native int getKernelType_0(long nativeObj); + + // C++: void setKernel(int kernelType) + private static native void setKernel_0(long nativeObj, int kernelType); + + // C++: Mat getSupportVectors() + private static native long getSupportVectors_0(long nativeObj); + + // C++: double getDecisionFunction(int i, Mat& alpha, Mat& svidx) + private static native double getDecisionFunction_0(long nativeObj, int i, long alpha_nativeObj, long svidx_nativeObj); + + // C++: static Ptr_SVM create() + private static native long create_0(); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/StatModel.java b/opencv3/src/org/opencv/ml/StatModel.java new file mode 100644 index 0000000..6db0662 --- /dev/null +++ b/opencv3/src/org/opencv/ml/StatModel.java @@ -0,0 +1,160 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; + +// C++: class StatModel +//javadoc: StatModel +public class StatModel extends Algorithm { + + protected StatModel(long addr) { super(addr); } + + + public static final int + UPDATE_MODEL = 1, + RAW_OUTPUT = 1, + COMPRESSED_INPUT = 2, + PREPROCESSED_INPUT = 4; + + + // + // C++: int getVarCount() + // + + //javadoc: StatModel::getVarCount() + public int getVarCount() + { + + int retVal = getVarCount_0(nativeObj); + + return retVal; + } + + + // + // C++: bool empty() + // + + //javadoc: StatModel::empty() + public boolean empty() + { + + boolean retVal = empty_0(nativeObj); + + return retVal; + } + + + // + // C++: bool isTrained() + // + + //javadoc: StatModel::isTrained() + public boolean isTrained() + { + + boolean retVal = isTrained_0(nativeObj); + + return retVal; + } + + + // + // C++: bool isClassifier() + // + + //javadoc: StatModel::isClassifier() + public boolean isClassifier() + { + + boolean retVal = isClassifier_0(nativeObj); + + return retVal; + } + + + // + // C++: bool train(Ptr_TrainData trainData, int flags = 0) + // + + // Unknown type 'Ptr_TrainData' (I), skipping the function + + + // + // C++: bool train(Mat samples, int layout, Mat responses) + // + + //javadoc: StatModel::train(samples, layout, responses) + public boolean train(Mat samples, int layout, Mat responses) + { + + boolean retVal = train_0(nativeObj, samples.nativeObj, layout, responses.nativeObj); + + return retVal; + } + + + // + // C++: float calcError(Ptr_TrainData data, bool test, Mat& resp) + // + + // Unknown type 'Ptr_TrainData' (I), skipping the function + + + // + // C++: float predict(Mat samples, Mat& results = Mat(), int flags = 0) + // + + //javadoc: StatModel::predict(samples, results, flags) + public float predict(Mat samples, Mat results, int flags) + { + + float retVal = predict_0(nativeObj, samples.nativeObj, results.nativeObj, flags); + + return retVal; + } + + //javadoc: StatModel::predict(samples) + public float predict(Mat samples) + { + + float retVal = predict_1(nativeObj, samples.nativeObj); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getVarCount() + private static native int getVarCount_0(long nativeObj); + + // C++: bool empty() + private static native boolean empty_0(long nativeObj); + + // C++: bool isTrained() + private static native boolean isTrained_0(long nativeObj); + + // C++: bool isClassifier() + private static native boolean isClassifier_0(long nativeObj); + + // C++: bool train(Mat samples, int layout, Mat responses) + private static native boolean train_0(long nativeObj, long samples_nativeObj, int layout, long responses_nativeObj); + + // C++: float predict(Mat samples, Mat& results = Mat(), int flags = 0) + private static native float predict_0(long nativeObj, long samples_nativeObj, long results_nativeObj, int flags); + private static native float predict_1(long nativeObj, long samples_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/ml/TrainData.java b/opencv3/src/org/opencv/ml/TrainData.java new file mode 100644 index 0000000..81c3d35 --- /dev/null +++ b/opencv3/src/org/opencv/ml/TrainData.java @@ -0,0 +1,642 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.ml; + +import org.opencv.core.Mat; + +// C++: class TrainData +//javadoc: TrainData +public class TrainData { + + protected final long nativeObj; + protected TrainData(long addr) { nativeObj = addr; } + + + // + // C++: int getLayout() + // + + //javadoc: TrainData::getLayout() + public int getLayout() + { + + int retVal = getLayout_0(nativeObj); + + return retVal; + } + + + // + // C++: int getNSamples() + // + + //javadoc: TrainData::getNSamples() + public int getNSamples() + { + + int retVal = getNSamples_0(nativeObj); + + return retVal; + } + + + // + // C++: int getNTestSamples() + // + + //javadoc: TrainData::getNTestSamples() + public int getNTestSamples() + { + + int retVal = getNTestSamples_0(nativeObj); + + return retVal; + } + + + // + // C++: int getNTrainSamples() + // + + //javadoc: TrainData::getNTrainSamples() + public int getNTrainSamples() + { + + int retVal = getNTrainSamples_0(nativeObj); + + return retVal; + } + + + // + // C++: int getNVars() + // + + //javadoc: TrainData::getNVars() + public int getNVars() + { + + int retVal = getNVars_0(nativeObj); + + return retVal; + } + + + // + // C++: int getNAllVars() + // + + //javadoc: TrainData::getNAllVars() + public int getNAllVars() + { + + int retVal = getNAllVars_0(nativeObj); + + return retVal; + } + + + // + // C++: void getSample(Mat varIdx, int sidx, float* buf) + // + + //javadoc: TrainData::getSample(varIdx, sidx, buf) + public void getSample(Mat varIdx, int sidx, float buf) + { + + getSample_0(nativeObj, varIdx.nativeObj, sidx, buf); + + return; + } + + + // + // C++: Mat getSamples() + // + + //javadoc: TrainData::getSamples() + public Mat getSamples() + { + + Mat retVal = new Mat(getSamples_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getMissing() + // + + //javadoc: TrainData::getMissing() + public Mat getMissing() + { + + Mat retVal = new Mat(getMissing_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getTrainSamples(int layout = ROW_SAMPLE, bool compressSamples = true, bool compressVars = true) + // + + //javadoc: TrainData::getTrainSamples(layout, compressSamples, compressVars) + public Mat getTrainSamples(int layout, boolean compressSamples, boolean compressVars) + { + + Mat retVal = new Mat(getTrainSamples_0(nativeObj, layout, compressSamples, compressVars)); + + return retVal; + } + + //javadoc: TrainData::getTrainSamples() + public Mat getTrainSamples() + { + + Mat retVal = new Mat(getTrainSamples_1(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getTrainResponses() + // + + //javadoc: TrainData::getTrainResponses() + public Mat getTrainResponses() + { + + Mat retVal = new Mat(getTrainResponses_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getTrainNormCatResponses() + // + + //javadoc: TrainData::getTrainNormCatResponses() + public Mat getTrainNormCatResponses() + { + + Mat retVal = new Mat(getTrainNormCatResponses_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getTestResponses() + // + + //javadoc: TrainData::getTestResponses() + public Mat getTestResponses() + { + + Mat retVal = new Mat(getTestResponses_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getTestNormCatResponses() + // + + //javadoc: TrainData::getTestNormCatResponses() + public Mat getTestNormCatResponses() + { + + Mat retVal = new Mat(getTestNormCatResponses_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getResponses() + // + + //javadoc: TrainData::getResponses() + public Mat getResponses() + { + + Mat retVal = new Mat(getResponses_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getNormCatResponses() + // + + //javadoc: TrainData::getNormCatResponses() + public Mat getNormCatResponses() + { + + Mat retVal = new Mat(getNormCatResponses_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getSampleWeights() + // + + //javadoc: TrainData::getSampleWeights() + public Mat getSampleWeights() + { + + Mat retVal = new Mat(getSampleWeights_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getTrainSampleWeights() + // + + //javadoc: TrainData::getTrainSampleWeights() + public Mat getTrainSampleWeights() + { + + Mat retVal = new Mat(getTrainSampleWeights_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getTestSampleWeights() + // + + //javadoc: TrainData::getTestSampleWeights() + public Mat getTestSampleWeights() + { + + Mat retVal = new Mat(getTestSampleWeights_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getVarIdx() + // + + //javadoc: TrainData::getVarIdx() + public Mat getVarIdx() + { + + Mat retVal = new Mat(getVarIdx_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getVarType() + // + + //javadoc: TrainData::getVarType() + public Mat getVarType() + { + + Mat retVal = new Mat(getVarType_0(nativeObj)); + + return retVal; + } + + + // + // C++: int getResponseType() + // + + //javadoc: TrainData::getResponseType() + public int getResponseType() + { + + int retVal = getResponseType_0(nativeObj); + + return retVal; + } + + + // + // C++: Mat getTrainSampleIdx() + // + + //javadoc: TrainData::getTrainSampleIdx() + public Mat getTrainSampleIdx() + { + + Mat retVal = new Mat(getTrainSampleIdx_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getTestSampleIdx() + // + + //javadoc: TrainData::getTestSampleIdx() + public Mat getTestSampleIdx() + { + + Mat retVal = new Mat(getTestSampleIdx_0(nativeObj)); + + return retVal; + } + + + // + // C++: void getValues(int vi, Mat sidx, float* values) + // + + //javadoc: TrainData::getValues(vi, sidx, values) + public void getValues(int vi, Mat sidx, float values) + { + + getValues_0(nativeObj, vi, sidx.nativeObj, values); + + return; + } + + + // + // C++: Mat getDefaultSubstValues() + // + + //javadoc: TrainData::getDefaultSubstValues() + public Mat getDefaultSubstValues() + { + + Mat retVal = new Mat(getDefaultSubstValues_0(nativeObj)); + + return retVal; + } + + + // + // C++: int getCatCount(int vi) + // + + //javadoc: TrainData::getCatCount(vi) + public int getCatCount(int vi) + { + + int retVal = getCatCount_0(nativeObj, vi); + + return retVal; + } + + + // + // C++: Mat getClassLabels() + // + + //javadoc: TrainData::getClassLabels() + public Mat getClassLabels() + { + + Mat retVal = new Mat(getClassLabels_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getCatOfs() + // + + //javadoc: TrainData::getCatOfs() + public Mat getCatOfs() + { + + Mat retVal = new Mat(getCatOfs_0(nativeObj)); + + return retVal; + } + + + // + // C++: Mat getCatMap() + // + + //javadoc: TrainData::getCatMap() + public Mat getCatMap() + { + + Mat retVal = new Mat(getCatMap_0(nativeObj)); + + return retVal; + } + + + // + // C++: void setTrainTestSplit(int count, bool shuffle = true) + // + + //javadoc: TrainData::setTrainTestSplit(count, shuffle) + public void setTrainTestSplit(int count, boolean shuffle) + { + + setTrainTestSplit_0(nativeObj, count, shuffle); + + return; + } + + //javadoc: TrainData::setTrainTestSplit(count) + public void setTrainTestSplit(int count) + { + + setTrainTestSplit_1(nativeObj, count); + + return; + } + + + // + // C++: void setTrainTestSplitRatio(double ratio, bool shuffle = true) + // + + //javadoc: TrainData::setTrainTestSplitRatio(ratio, shuffle) + public void setTrainTestSplitRatio(double ratio, boolean shuffle) + { + + setTrainTestSplitRatio_0(nativeObj, ratio, shuffle); + + return; + } + + //javadoc: TrainData::setTrainTestSplitRatio(ratio) + public void setTrainTestSplitRatio(double ratio) + { + + setTrainTestSplitRatio_1(nativeObj, ratio); + + return; + } + + + // + // C++: void shuffleTrainTest() + // + + //javadoc: TrainData::shuffleTrainTest() + public void shuffleTrainTest() + { + + shuffleTrainTest_0(nativeObj); + + return; + } + + + // + // C++: static Mat getSubVector(Mat vec, Mat idx) + // + + //javadoc: TrainData::getSubVector(vec, idx) + public static Mat getSubVector(Mat vec, Mat idx) + { + + Mat retVal = new Mat(getSubVector_0(vec.nativeObj, idx.nativeObj)); + + return retVal; + } + + + // + // C++: static Ptr_TrainData create(Mat samples, int layout, Mat responses, Mat varIdx = Mat(), Mat sampleIdx = Mat(), Mat sampleWeights = Mat(), Mat varType = Mat()) + // + + // Return type 'Ptr_TrainData' is not supported, skipping the function + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getLayout() + private static native int getLayout_0(long nativeObj); + + // C++: int getNSamples() + private static native int getNSamples_0(long nativeObj); + + // C++: int getNTestSamples() + private static native int getNTestSamples_0(long nativeObj); + + // C++: int getNTrainSamples() + private static native int getNTrainSamples_0(long nativeObj); + + // C++: int getNVars() + private static native int getNVars_0(long nativeObj); + + // C++: int getNAllVars() + private static native int getNAllVars_0(long nativeObj); + + // C++: void getSample(Mat varIdx, int sidx, float* buf) + private static native void getSample_0(long nativeObj, long varIdx_nativeObj, int sidx, float buf); + + // C++: Mat getSamples() + private static native long getSamples_0(long nativeObj); + + // C++: Mat getMissing() + private static native long getMissing_0(long nativeObj); + + // C++: Mat getTrainSamples(int layout = ROW_SAMPLE, bool compressSamples = true, bool compressVars = true) + private static native long getTrainSamples_0(long nativeObj, int layout, boolean compressSamples, boolean compressVars); + private static native long getTrainSamples_1(long nativeObj); + + // C++: Mat getTrainResponses() + private static native long getTrainResponses_0(long nativeObj); + + // C++: Mat getTrainNormCatResponses() + private static native long getTrainNormCatResponses_0(long nativeObj); + + // C++: Mat getTestResponses() + private static native long getTestResponses_0(long nativeObj); + + // C++: Mat getTestNormCatResponses() + private static native long getTestNormCatResponses_0(long nativeObj); + + // C++: Mat getResponses() + private static native long getResponses_0(long nativeObj); + + // C++: Mat getNormCatResponses() + private static native long getNormCatResponses_0(long nativeObj); + + // C++: Mat getSampleWeights() + private static native long getSampleWeights_0(long nativeObj); + + // C++: Mat getTrainSampleWeights() + private static native long getTrainSampleWeights_0(long nativeObj); + + // C++: Mat getTestSampleWeights() + private static native long getTestSampleWeights_0(long nativeObj); + + // C++: Mat getVarIdx() + private static native long getVarIdx_0(long nativeObj); + + // C++: Mat getVarType() + private static native long getVarType_0(long nativeObj); + + // C++: int getResponseType() + private static native int getResponseType_0(long nativeObj); + + // C++: Mat getTrainSampleIdx() + private static native long getTrainSampleIdx_0(long nativeObj); + + // C++: Mat getTestSampleIdx() + private static native long getTestSampleIdx_0(long nativeObj); + + // C++: void getValues(int vi, Mat sidx, float* values) + private static native void getValues_0(long nativeObj, int vi, long sidx_nativeObj, float values); + + // C++: Mat getDefaultSubstValues() + private static native long getDefaultSubstValues_0(long nativeObj); + + // C++: int getCatCount(int vi) + private static native int getCatCount_0(long nativeObj, int vi); + + // C++: Mat getClassLabels() + private static native long getClassLabels_0(long nativeObj); + + // C++: Mat getCatOfs() + private static native long getCatOfs_0(long nativeObj); + + // C++: Mat getCatMap() + private static native long getCatMap_0(long nativeObj); + + // C++: void setTrainTestSplit(int count, bool shuffle = true) + private static native void setTrainTestSplit_0(long nativeObj, int count, boolean shuffle); + private static native void setTrainTestSplit_1(long nativeObj, int count); + + // C++: void setTrainTestSplitRatio(double ratio, bool shuffle = true) + private static native void setTrainTestSplitRatio_0(long nativeObj, double ratio, boolean shuffle); + private static native void setTrainTestSplitRatio_1(long nativeObj, double ratio); + + // C++: void shuffleTrainTest() + private static native void shuffleTrainTest_0(long nativeObj); + + // C++: static Mat getSubVector(Mat vec, Mat idx) + private static native long getSubVector_0(long vec_nativeObj, long idx_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/objdetect/BaseCascadeClassifier.java b/opencv3/src/org/opencv/objdetect/BaseCascadeClassifier.java new file mode 100644 index 0000000..21c8db7 --- /dev/null +++ b/opencv3/src/org/opencv/objdetect/BaseCascadeClassifier.java @@ -0,0 +1,26 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.objdetect; + +import org.opencv.core.Algorithm; + +// C++: class BaseCascadeClassifier +//javadoc: BaseCascadeClassifier +public class BaseCascadeClassifier extends Algorithm { + + protected BaseCascadeClassifier(long addr) { super(addr); } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/objdetect/CascadeClassifier.java b/opencv3/src/org/opencv/objdetect/CascadeClassifier.java new file mode 100644 index 0000000..27b43d9 --- /dev/null +++ b/opencv3/src/org/opencv/objdetect/CascadeClassifier.java @@ -0,0 +1,263 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.objdetect; + +import java.lang.String; +import java.util.ArrayList; +import org.opencv.core.Mat; +import org.opencv.core.MatOfDouble; +import org.opencv.core.MatOfInt; +import org.opencv.core.MatOfRect; +import org.opencv.core.Size; + +// C++: class CascadeClassifier +//javadoc: CascadeClassifier +public class CascadeClassifier { + + protected final long nativeObj; + protected CascadeClassifier(long addr) { nativeObj = addr; } + + + // + // C++: CascadeClassifier() + // + + //javadoc: CascadeClassifier::CascadeClassifier() + public CascadeClassifier() + { + + nativeObj = CascadeClassifier_0(); + + return; + } + + + // + // C++: CascadeClassifier(String filename) + // + + //javadoc: CascadeClassifier::CascadeClassifier(filename) + public CascadeClassifier(String filename) + { + + nativeObj = CascadeClassifier_1(filename); + + return; + } + + + // + // C++: bool load(String filename) + // + + //javadoc: CascadeClassifier::load(filename) + public boolean load(String filename) + { + + boolean retVal = load_0(nativeObj, filename); + + return retVal; + } + + + // + // C++: bool empty() + // + + //javadoc: CascadeClassifier::empty() + public boolean empty() + { + + boolean retVal = empty_0(nativeObj); + + return retVal; + } + + + // + // C++: bool read(FileNode node) + // + + // Unknown type 'FileNode' (I), skipping the function + + + // + // C++: void detectMultiScale(Mat image, vector_Rect& objects, double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, Size minSize = Size(), Size maxSize = Size()) + // + + //javadoc: CascadeClassifier::detectMultiScale(image, objects, scaleFactor, minNeighbors, flags, minSize, maxSize) + public void detectMultiScale(Mat image, MatOfRect objects, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize) + { + Mat objects_mat = objects; + detectMultiScale_0(nativeObj, image.nativeObj, objects_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height); + + return; + } + + //javadoc: CascadeClassifier::detectMultiScale(image, objects) + public void detectMultiScale(Mat image, MatOfRect objects) + { + Mat objects_mat = objects; + detectMultiScale_1(nativeObj, image.nativeObj, objects_mat.nativeObj); + + return; + } + + + // + // C++: void detectMultiScale(Mat image, vector_Rect& objects, vector_int& numDetections, double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, Size minSize = Size(), Size maxSize = Size()) + // + + //javadoc: CascadeClassifier::detectMultiScale(image, objects, numDetections, scaleFactor, minNeighbors, flags, minSize, maxSize) + public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize) + { + Mat objects_mat = objects; + Mat numDetections_mat = numDetections; + detectMultiScale2_0(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height); + + return; + } + + //javadoc: CascadeClassifier::detectMultiScale(image, objects, numDetections) + public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections) + { + Mat objects_mat = objects; + Mat numDetections_mat = numDetections; + detectMultiScale2_1(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj); + + return; + } + + + // + // C++: void detectMultiScale(Mat image, vector_Rect& objects, vector_int& rejectLevels, vector_double& levelWeights, double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, Size minSize = Size(), Size maxSize = Size(), bool outputRejectLevels = false) + // + + //javadoc: CascadeClassifier::detectMultiScale(image, objects, rejectLevels, levelWeights, scaleFactor, minNeighbors, flags, minSize, maxSize, outputRejectLevels) + public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize, boolean outputRejectLevels) + { + Mat objects_mat = objects; + Mat rejectLevels_mat = rejectLevels; + Mat levelWeights_mat = levelWeights; + detectMultiScale3_0(nativeObj, image.nativeObj, objects_mat.nativeObj, rejectLevels_mat.nativeObj, levelWeights_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height, outputRejectLevels); + + return; + } + + //javadoc: CascadeClassifier::detectMultiScale(image, objects, rejectLevels, levelWeights) + public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights) + { + Mat objects_mat = objects; + Mat rejectLevels_mat = rejectLevels; + Mat levelWeights_mat = levelWeights; + detectMultiScale3_1(nativeObj, image.nativeObj, objects_mat.nativeObj, rejectLevels_mat.nativeObj, levelWeights_mat.nativeObj); + + return; + } + + + // + // C++: bool isOldFormatCascade() + // + + //javadoc: CascadeClassifier::isOldFormatCascade() + public boolean isOldFormatCascade() + { + + boolean retVal = isOldFormatCascade_0(nativeObj); + + return retVal; + } + + + // + // C++: Size getOriginalWindowSize() + // + + //javadoc: CascadeClassifier::getOriginalWindowSize() + public Size getOriginalWindowSize() + { + + Size retVal = new Size(getOriginalWindowSize_0(nativeObj)); + + return retVal; + } + + + // + // C++: int getFeatureType() + // + + //javadoc: CascadeClassifier::getFeatureType() + public int getFeatureType() + { + + int retVal = getFeatureType_0(nativeObj); + + return retVal; + } + + + // + // C++: static bool convert(String oldcascade, String newcascade) + // + + //javadoc: CascadeClassifier::convert(oldcascade, newcascade) + public static boolean convert(String oldcascade, String newcascade) + { + + boolean retVal = convert_0(oldcascade, newcascade); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: CascadeClassifier() + private static native long CascadeClassifier_0(); + + // C++: CascadeClassifier(String filename) + private static native long CascadeClassifier_1(String filename); + + // C++: bool load(String filename) + private static native boolean load_0(long nativeObj, String filename); + + // C++: bool empty() + private static native boolean empty_0(long nativeObj); + + // C++: void detectMultiScale(Mat image, vector_Rect& objects, double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, Size minSize = Size(), Size maxSize = Size()) + private static native void detectMultiScale_0(long nativeObj, long image_nativeObj, long objects_mat_nativeObj, double scaleFactor, int minNeighbors, int flags, double minSize_width, double minSize_height, double maxSize_width, double maxSize_height); + private static native void detectMultiScale_1(long nativeObj, long image_nativeObj, long objects_mat_nativeObj); + + // C++: void detectMultiScale(Mat image, vector_Rect& objects, vector_int& numDetections, double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, Size minSize = Size(), Size maxSize = Size()) + private static native void detectMultiScale2_0(long nativeObj, long image_nativeObj, long objects_mat_nativeObj, long numDetections_mat_nativeObj, double scaleFactor, int minNeighbors, int flags, double minSize_width, double minSize_height, double maxSize_width, double maxSize_height); + private static native void detectMultiScale2_1(long nativeObj, long image_nativeObj, long objects_mat_nativeObj, long numDetections_mat_nativeObj); + + // C++: void detectMultiScale(Mat image, vector_Rect& objects, vector_int& rejectLevels, vector_double& levelWeights, double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, Size minSize = Size(), Size maxSize = Size(), bool outputRejectLevels = false) + private static native void detectMultiScale3_0(long nativeObj, long image_nativeObj, long objects_mat_nativeObj, long rejectLevels_mat_nativeObj, long levelWeights_mat_nativeObj, double scaleFactor, int minNeighbors, int flags, double minSize_width, double minSize_height, double maxSize_width, double maxSize_height, boolean outputRejectLevels); + private static native void detectMultiScale3_1(long nativeObj, long image_nativeObj, long objects_mat_nativeObj, long rejectLevels_mat_nativeObj, long levelWeights_mat_nativeObj); + + // C++: bool isOldFormatCascade() + private static native boolean isOldFormatCascade_0(long nativeObj); + + // C++: Size getOriginalWindowSize() + private static native double[] getOriginalWindowSize_0(long nativeObj); + + // C++: int getFeatureType() + private static native int getFeatureType_0(long nativeObj); + + // C++: static bool convert(String oldcascade, String newcascade) + private static native boolean convert_0(String oldcascade, String newcascade); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/objdetect/HOGDescriptor.java b/opencv3/src/org/opencv/objdetect/HOGDescriptor.java new file mode 100644 index 0000000..da4e32c --- /dev/null +++ b/opencv3/src/org/opencv/objdetect/HOGDescriptor.java @@ -0,0 +1,591 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.objdetect; + +import java.lang.String; +import java.util.ArrayList; +import org.opencv.core.Mat; +import org.opencv.core.MatOfDouble; +import org.opencv.core.MatOfFloat; +import org.opencv.core.MatOfPoint; +import org.opencv.core.MatOfRect; +import org.opencv.core.Size; + +// C++: class HOGDescriptor +//javadoc: HOGDescriptor +public class HOGDescriptor { + + protected final long nativeObj; + protected HOGDescriptor(long addr) { nativeObj = addr; } + + + public static final int + L2Hys = 0, + DEFAULT_NLEVELS = 64; + + + // + // C++: HOGDescriptor() + // + + //javadoc: HOGDescriptor::HOGDescriptor() + public HOGDescriptor() + { + + nativeObj = HOGDescriptor_0(); + + return; + } + + + // + // C++: HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture = 1, double _winSigma = -1, int _histogramNormType = HOGDescriptor::L2Hys, double _L2HysThreshold = 0.2, bool _gammaCorrection = false, int _nlevels = HOGDescriptor::DEFAULT_NLEVELS, bool _signedGradient = false) + // + + //javadoc: HOGDescriptor::HOGDescriptor(_winSize, _blockSize, _blockStride, _cellSize, _nbins, _derivAperture, _winSigma, _histogramNormType, _L2HysThreshold, _gammaCorrection, _nlevels, _signedGradient) + public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture, double _winSigma, int _histogramNormType, double _L2HysThreshold, boolean _gammaCorrection, int _nlevels, boolean _signedGradient) + { + + nativeObj = HOGDescriptor_1(_winSize.width, _winSize.height, _blockSize.width, _blockSize.height, _blockStride.width, _blockStride.height, _cellSize.width, _cellSize.height, _nbins, _derivAperture, _winSigma, _histogramNormType, _L2HysThreshold, _gammaCorrection, _nlevels, _signedGradient); + + return; + } + + //javadoc: HOGDescriptor::HOGDescriptor(_winSize, _blockSize, _blockStride, _cellSize, _nbins) + public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins) + { + + nativeObj = HOGDescriptor_2(_winSize.width, _winSize.height, _blockSize.width, _blockSize.height, _blockStride.width, _blockStride.height, _cellSize.width, _cellSize.height, _nbins); + + return; + } + + + // + // C++: HOGDescriptor(String filename) + // + + //javadoc: HOGDescriptor::HOGDescriptor(filename) + public HOGDescriptor(String filename) + { + + nativeObj = HOGDescriptor_3(filename); + + return; + } + + + // + // C++: size_t getDescriptorSize() + // + + //javadoc: HOGDescriptor::getDescriptorSize() + public long getDescriptorSize() + { + + long retVal = getDescriptorSize_0(nativeObj); + + return retVal; + } + + + // + // C++: bool checkDetectorSize() + // + + //javadoc: HOGDescriptor::checkDetectorSize() + public boolean checkDetectorSize() + { + + boolean retVal = checkDetectorSize_0(nativeObj); + + return retVal; + } + + + // + // C++: double getWinSigma() + // + + //javadoc: HOGDescriptor::getWinSigma() + public double getWinSigma() + { + + double retVal = getWinSigma_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSVMDetector(Mat _svmdetector) + // + + //javadoc: HOGDescriptor::setSVMDetector(_svmdetector) + public void setSVMDetector(Mat _svmdetector) + { + + setSVMDetector_0(nativeObj, _svmdetector.nativeObj); + + return; + } + + + // + // C++: bool load(String filename, String objname = String()) + // + + //javadoc: HOGDescriptor::load(filename, objname) + public boolean load(String filename, String objname) + { + + boolean retVal = load_0(nativeObj, filename, objname); + + return retVal; + } + + //javadoc: HOGDescriptor::load(filename) + public boolean load(String filename) + { + + boolean retVal = load_1(nativeObj, filename); + + return retVal; + } + + + // + // C++: void save(String filename, String objname = String()) + // + + //javadoc: HOGDescriptor::save(filename, objname) + public void save(String filename, String objname) + { + + save_0(nativeObj, filename, objname); + + return; + } + + //javadoc: HOGDescriptor::save(filename) + public void save(String filename) + { + + save_1(nativeObj, filename); + + return; + } + + + // + // C++: void compute(Mat img, vector_float& descriptors, Size winStride = Size(), Size padding = Size(), vector_Point locations = std::vector()) + // + + //javadoc: HOGDescriptor::compute(img, descriptors, winStride, padding, locations) + public void compute(Mat img, MatOfFloat descriptors, Size winStride, Size padding, MatOfPoint locations) + { + Mat descriptors_mat = descriptors; + Mat locations_mat = locations; + compute_0(nativeObj, img.nativeObj, descriptors_mat.nativeObj, winStride.width, winStride.height, padding.width, padding.height, locations_mat.nativeObj); + + return; + } + + //javadoc: HOGDescriptor::compute(img, descriptors) + public void compute(Mat img, MatOfFloat descriptors) + { + Mat descriptors_mat = descriptors; + compute_1(nativeObj, img.nativeObj, descriptors_mat.nativeObj); + + return; + } + + + // + // C++: void detect(Mat img, vector_Point& foundLocations, vector_double& weights, double hitThreshold = 0, Size winStride = Size(), Size padding = Size(), vector_Point searchLocations = std::vector()) + // + + //javadoc: HOGDescriptor::detect(img, foundLocations, weights, hitThreshold, winStride, padding, searchLocations) + public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights, double hitThreshold, Size winStride, Size padding, MatOfPoint searchLocations) + { + Mat foundLocations_mat = foundLocations; + Mat weights_mat = weights; + Mat searchLocations_mat = searchLocations; + detect_0(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, weights_mat.nativeObj, hitThreshold, winStride.width, winStride.height, padding.width, padding.height, searchLocations_mat.nativeObj); + + return; + } + + //javadoc: HOGDescriptor::detect(img, foundLocations, weights) + public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights) + { + Mat foundLocations_mat = foundLocations; + Mat weights_mat = weights; + detect_1(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, weights_mat.nativeObj); + + return; + } + + + // + // C++: void detectMultiScale(Mat img, vector_Rect& foundLocations, vector_double& foundWeights, double hitThreshold = 0, Size winStride = Size(), Size padding = Size(), double scale = 1.05, double finalThreshold = 2.0, bool useMeanshiftGrouping = false) + // + + //javadoc: HOGDescriptor::detectMultiScale(img, foundLocations, foundWeights, hitThreshold, winStride, padding, scale, finalThreshold, useMeanshiftGrouping) + public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding, double scale, double finalThreshold, boolean useMeanshiftGrouping) + { + Mat foundLocations_mat = foundLocations; + Mat foundWeights_mat = foundWeights; + detectMultiScale_0(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj, hitThreshold, winStride.width, winStride.height, padding.width, padding.height, scale, finalThreshold, useMeanshiftGrouping); + + return; + } + + //javadoc: HOGDescriptor::detectMultiScale(img, foundLocations, foundWeights) + public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights) + { + Mat foundLocations_mat = foundLocations; + Mat foundWeights_mat = foundWeights; + detectMultiScale_1(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj); + + return; + } + + + // + // C++: void computeGradient(Mat img, Mat& grad, Mat& angleOfs, Size paddingTL = Size(), Size paddingBR = Size()) + // + + //javadoc: HOGDescriptor::computeGradient(img, grad, angleOfs, paddingTL, paddingBR) + public void computeGradient(Mat img, Mat grad, Mat angleOfs, Size paddingTL, Size paddingBR) + { + + computeGradient_0(nativeObj, img.nativeObj, grad.nativeObj, angleOfs.nativeObj, paddingTL.width, paddingTL.height, paddingBR.width, paddingBR.height); + + return; + } + + //javadoc: HOGDescriptor::computeGradient(img, grad, angleOfs) + public void computeGradient(Mat img, Mat grad, Mat angleOfs) + { + + computeGradient_1(nativeObj, img.nativeObj, grad.nativeObj, angleOfs.nativeObj); + + return; + } + + + // + // C++: static vector_float getDefaultPeopleDetector() + // + + //javadoc: HOGDescriptor::getDefaultPeopleDetector() + public static MatOfFloat getDefaultPeopleDetector() + { + + MatOfFloat retVal = MatOfFloat.fromNativeAddr(getDefaultPeopleDetector_0()); + + return retVal; + } + + + // + // C++: static vector_float getDaimlerPeopleDetector() + // + + //javadoc: HOGDescriptor::getDaimlerPeopleDetector() + public static MatOfFloat getDaimlerPeopleDetector() + { + + MatOfFloat retVal = MatOfFloat.fromNativeAddr(getDaimlerPeopleDetector_0()); + + return retVal; + } + + + // + // C++: Size HOGDescriptor::winSize + // + + //javadoc: HOGDescriptor::get_winSize() + public Size get_winSize() + { + + Size retVal = new Size(get_winSize_0(nativeObj)); + + return retVal; + } + + + // + // C++: Size HOGDescriptor::blockSize + // + + //javadoc: HOGDescriptor::get_blockSize() + public Size get_blockSize() + { + + Size retVal = new Size(get_blockSize_0(nativeObj)); + + return retVal; + } + + + // + // C++: Size HOGDescriptor::blockStride + // + + //javadoc: HOGDescriptor::get_blockStride() + public Size get_blockStride() + { + + Size retVal = new Size(get_blockStride_0(nativeObj)); + + return retVal; + } + + + // + // C++: Size HOGDescriptor::cellSize + // + + //javadoc: HOGDescriptor::get_cellSize() + public Size get_cellSize() + { + + Size retVal = new Size(get_cellSize_0(nativeObj)); + + return retVal; + } + + + // + // C++: int HOGDescriptor::nbins + // + + //javadoc: HOGDescriptor::get_nbins() + public int get_nbins() + { + + int retVal = get_nbins_0(nativeObj); + + return retVal; + } + + + // + // C++: int HOGDescriptor::derivAperture + // + + //javadoc: HOGDescriptor::get_derivAperture() + public int get_derivAperture() + { + + int retVal = get_derivAperture_0(nativeObj); + + return retVal; + } + + + // + // C++: double HOGDescriptor::winSigma + // + + //javadoc: HOGDescriptor::get_winSigma() + public double get_winSigma() + { + + double retVal = get_winSigma_0(nativeObj); + + return retVal; + } + + + // + // C++: int HOGDescriptor::histogramNormType + // + + //javadoc: HOGDescriptor::get_histogramNormType() + public int get_histogramNormType() + { + + int retVal = get_histogramNormType_0(nativeObj); + + return retVal; + } + + + // + // C++: double HOGDescriptor::L2HysThreshold + // + + //javadoc: HOGDescriptor::get_L2HysThreshold() + public double get_L2HysThreshold() + { + + double retVal = get_L2HysThreshold_0(nativeObj); + + return retVal; + } + + + // + // C++: bool HOGDescriptor::gammaCorrection + // + + //javadoc: HOGDescriptor::get_gammaCorrection() + public boolean get_gammaCorrection() + { + + boolean retVal = get_gammaCorrection_0(nativeObj); + + return retVal; + } + + + // + // C++: vector_float HOGDescriptor::svmDetector + // + + //javadoc: HOGDescriptor::get_svmDetector() + public MatOfFloat get_svmDetector() + { + + MatOfFloat retVal = MatOfFloat.fromNativeAddr(get_svmDetector_0(nativeObj)); + + return retVal; + } + + + // + // C++: int HOGDescriptor::nlevels + // + + //javadoc: HOGDescriptor::get_nlevels() + public int get_nlevels() + { + + int retVal = get_nlevels_0(nativeObj); + + return retVal; + } + + + // + // C++: bool HOGDescriptor::signedGradient + // + + //javadoc: HOGDescriptor::get_signedGradient() + public boolean get_signedGradient() + { + + boolean retVal = get_signedGradient_0(nativeObj); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: HOGDescriptor() + private static native long HOGDescriptor_0(); + + // C++: HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture = 1, double _winSigma = -1, int _histogramNormType = HOGDescriptor::L2Hys, double _L2HysThreshold = 0.2, bool _gammaCorrection = false, int _nlevels = HOGDescriptor::DEFAULT_NLEVELS, bool _signedGradient = false) + private static native long HOGDescriptor_1(double _winSize_width, double _winSize_height, double _blockSize_width, double _blockSize_height, double _blockStride_width, double _blockStride_height, double _cellSize_width, double _cellSize_height, int _nbins, int _derivAperture, double _winSigma, int _histogramNormType, double _L2HysThreshold, boolean _gammaCorrection, int _nlevels, boolean _signedGradient); + private static native long HOGDescriptor_2(double _winSize_width, double _winSize_height, double _blockSize_width, double _blockSize_height, double _blockStride_width, double _blockStride_height, double _cellSize_width, double _cellSize_height, int _nbins); + + // C++: HOGDescriptor(String filename) + private static native long HOGDescriptor_3(String filename); + + // C++: size_t getDescriptorSize() + private static native long getDescriptorSize_0(long nativeObj); + + // C++: bool checkDetectorSize() + private static native boolean checkDetectorSize_0(long nativeObj); + + // C++: double getWinSigma() + private static native double getWinSigma_0(long nativeObj); + + // C++: void setSVMDetector(Mat _svmdetector) + private static native void setSVMDetector_0(long nativeObj, long _svmdetector_nativeObj); + + // C++: bool load(String filename, String objname = String()) + private static native boolean load_0(long nativeObj, String filename, String objname); + private static native boolean load_1(long nativeObj, String filename); + + // C++: void save(String filename, String objname = String()) + private static native void save_0(long nativeObj, String filename, String objname); + private static native void save_1(long nativeObj, String filename); + + // C++: void compute(Mat img, vector_float& descriptors, Size winStride = Size(), Size padding = Size(), vector_Point locations = std::vector()) + private static native void compute_0(long nativeObj, long img_nativeObj, long descriptors_mat_nativeObj, double winStride_width, double winStride_height, double padding_width, double padding_height, long locations_mat_nativeObj); + private static native void compute_1(long nativeObj, long img_nativeObj, long descriptors_mat_nativeObj); + + // C++: void detect(Mat img, vector_Point& foundLocations, vector_double& weights, double hitThreshold = 0, Size winStride = Size(), Size padding = Size(), vector_Point searchLocations = std::vector()) + private static native void detect_0(long nativeObj, long img_nativeObj, long foundLocations_mat_nativeObj, long weights_mat_nativeObj, double hitThreshold, double winStride_width, double winStride_height, double padding_width, double padding_height, long searchLocations_mat_nativeObj); + private static native void detect_1(long nativeObj, long img_nativeObj, long foundLocations_mat_nativeObj, long weights_mat_nativeObj); + + // C++: void detectMultiScale(Mat img, vector_Rect& foundLocations, vector_double& foundWeights, double hitThreshold = 0, Size winStride = Size(), Size padding = Size(), double scale = 1.05, double finalThreshold = 2.0, bool useMeanshiftGrouping = false) + private static native void detectMultiScale_0(long nativeObj, long img_nativeObj, long foundLocations_mat_nativeObj, long foundWeights_mat_nativeObj, double hitThreshold, double winStride_width, double winStride_height, double padding_width, double padding_height, double scale, double finalThreshold, boolean useMeanshiftGrouping); + private static native void detectMultiScale_1(long nativeObj, long img_nativeObj, long foundLocations_mat_nativeObj, long foundWeights_mat_nativeObj); + + // C++: void computeGradient(Mat img, Mat& grad, Mat& angleOfs, Size paddingTL = Size(), Size paddingBR = Size()) + private static native void computeGradient_0(long nativeObj, long img_nativeObj, long grad_nativeObj, long angleOfs_nativeObj, double paddingTL_width, double paddingTL_height, double paddingBR_width, double paddingBR_height); + private static native void computeGradient_1(long nativeObj, long img_nativeObj, long grad_nativeObj, long angleOfs_nativeObj); + + // C++: static vector_float getDefaultPeopleDetector() + private static native long getDefaultPeopleDetector_0(); + + // C++: static vector_float getDaimlerPeopleDetector() + private static native long getDaimlerPeopleDetector_0(); + + // C++: Size HOGDescriptor::winSize + private static native double[] get_winSize_0(long nativeObj); + + // C++: Size HOGDescriptor::blockSize + private static native double[] get_blockSize_0(long nativeObj); + + // C++: Size HOGDescriptor::blockStride + private static native double[] get_blockStride_0(long nativeObj); + + // C++: Size HOGDescriptor::cellSize + private static native double[] get_cellSize_0(long nativeObj); + + // C++: int HOGDescriptor::nbins + private static native int get_nbins_0(long nativeObj); + + // C++: int HOGDescriptor::derivAperture + private static native int get_derivAperture_0(long nativeObj); + + // C++: double HOGDescriptor::winSigma + private static native double get_winSigma_0(long nativeObj); + + // C++: int HOGDescriptor::histogramNormType + private static native int get_histogramNormType_0(long nativeObj); + + // C++: double HOGDescriptor::L2HysThreshold + private static native double get_L2HysThreshold_0(long nativeObj); + + // C++: bool HOGDescriptor::gammaCorrection + private static native boolean get_gammaCorrection_0(long nativeObj); + + // C++: vector_float HOGDescriptor::svmDetector + private static native long get_svmDetector_0(long nativeObj); + + // C++: int HOGDescriptor::nlevels + private static native int get_nlevels_0(long nativeObj); + + // C++: bool HOGDescriptor::signedGradient + private static native boolean get_signedGradient_0(long nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/objdetect/Objdetect.java b/opencv3/src/org/opencv/objdetect/Objdetect.java new file mode 100644 index 0000000..c17b239 --- /dev/null +++ b/opencv3/src/org/opencv/objdetect/Objdetect.java @@ -0,0 +1,52 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.objdetect; + +import java.util.ArrayList; +import org.opencv.core.Mat; +import org.opencv.core.MatOfInt; +import org.opencv.core.MatOfRect; + +public class Objdetect { + + public static final int + CASCADE_DO_CANNY_PRUNING = 1, + CASCADE_SCALE_IMAGE = 2, + CASCADE_FIND_BIGGEST_OBJECT = 4, + CASCADE_DO_ROUGH_SEARCH = 8; + + + // + // C++: void groupRectangles(vector_Rect& rectList, vector_int& weights, int groupThreshold, double eps = 0.2) + // + + //javadoc: groupRectangles(rectList, weights, groupThreshold, eps) + public static void groupRectangles(MatOfRect rectList, MatOfInt weights, int groupThreshold, double eps) + { + Mat rectList_mat = rectList; + Mat weights_mat = weights; + groupRectangles_0(rectList_mat.nativeObj, weights_mat.nativeObj, groupThreshold, eps); + + return; + } + + //javadoc: groupRectangles(rectList, weights, groupThreshold) + public static void groupRectangles(MatOfRect rectList, MatOfInt weights, int groupThreshold) + { + Mat rectList_mat = rectList; + Mat weights_mat = weights; + groupRectangles_1(rectList_mat.nativeObj, weights_mat.nativeObj, groupThreshold); + + return; + } + + + + + // C++: void groupRectangles(vector_Rect& rectList, vector_int& weights, int groupThreshold, double eps = 0.2) + private static native void groupRectangles_0(long rectList_mat_nativeObj, long weights_mat_nativeObj, int groupThreshold, double eps); + private static native void groupRectangles_1(long rectList_mat_nativeObj, long weights_mat_nativeObj, int groupThreshold); + +} diff --git a/opencv3/src/org/opencv/photo/AlignExposures.java b/opencv3/src/org/opencv/photo/AlignExposures.java new file mode 100644 index 0000000..e9b64e7 --- /dev/null +++ b/opencv3/src/org/opencv/photo/AlignExposures.java @@ -0,0 +1,48 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; +import org.opencv.utils.Converters; + +// C++: class AlignExposures +//javadoc: AlignExposures +public class AlignExposures extends Algorithm { + + protected AlignExposures(long addr) { super(addr); } + + + // + // C++: void process(vector_Mat src, vector_Mat dst, Mat times, Mat response) + // + + //javadoc: AlignExposures::process(src, dst, times, response) + public void process(List src, List dst, Mat times, Mat response) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + Mat dst_mat = Converters.vector_Mat_to_Mat(dst); + process_0(nativeObj, src_mat.nativeObj, dst_mat.nativeObj, times.nativeObj, response.nativeObj); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void process(vector_Mat src, vector_Mat dst, Mat times, Mat response) + private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_mat_nativeObj, long times_nativeObj, long response_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/AlignMTB.java b/opencv3/src/org/opencv/photo/AlignMTB.java new file mode 100644 index 0000000..a059142 --- /dev/null +++ b/opencv3/src/org/opencv/photo/AlignMTB.java @@ -0,0 +1,219 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.Point; +import org.opencv.utils.Converters; + +// C++: class AlignMTB +//javadoc: AlignMTB +public class AlignMTB extends AlignExposures { + + protected AlignMTB(long addr) { super(addr); } + + + // + // C++: void process(vector_Mat src, vector_Mat dst, Mat times, Mat response) + // + + //javadoc: AlignMTB::process(src, dst, times, response) + public void process(List src, List dst, Mat times, Mat response) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + Mat dst_mat = Converters.vector_Mat_to_Mat(dst); + process_0(nativeObj, src_mat.nativeObj, dst_mat.nativeObj, times.nativeObj, response.nativeObj); + + return; + } + + + // + // C++: void process(vector_Mat src, vector_Mat dst) + // + + //javadoc: AlignMTB::process(src, dst) + public void process(List src, List dst) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + Mat dst_mat = Converters.vector_Mat_to_Mat(dst); + process_1(nativeObj, src_mat.nativeObj, dst_mat.nativeObj); + + return; + } + + + // + // C++: Point calculateShift(Mat img0, Mat img1) + // + + //javadoc: AlignMTB::calculateShift(img0, img1) + public Point calculateShift(Mat img0, Mat img1) + { + + Point retVal = new Point(calculateShift_0(nativeObj, img0.nativeObj, img1.nativeObj)); + + return retVal; + } + + + // + // C++: void shiftMat(Mat src, Mat& dst, Point shift) + // + + //javadoc: AlignMTB::shiftMat(src, dst, shift) + public void shiftMat(Mat src, Mat dst, Point shift) + { + + shiftMat_0(nativeObj, src.nativeObj, dst.nativeObj, shift.x, shift.y); + + return; + } + + + // + // C++: void computeBitmaps(Mat img, Mat& tb, Mat& eb) + // + + //javadoc: AlignMTB::computeBitmaps(img, tb, eb) + public void computeBitmaps(Mat img, Mat tb, Mat eb) + { + + computeBitmaps_0(nativeObj, img.nativeObj, tb.nativeObj, eb.nativeObj); + + return; + } + + + // + // C++: int getMaxBits() + // + + //javadoc: AlignMTB::getMaxBits() + public int getMaxBits() + { + + int retVal = getMaxBits_0(nativeObj); + + return retVal; + } + + + // + // C++: void setMaxBits(int max_bits) + // + + //javadoc: AlignMTB::setMaxBits(max_bits) + public void setMaxBits(int max_bits) + { + + setMaxBits_0(nativeObj, max_bits); + + return; + } + + + // + // C++: int getExcludeRange() + // + + //javadoc: AlignMTB::getExcludeRange() + public int getExcludeRange() + { + + int retVal = getExcludeRange_0(nativeObj); + + return retVal; + } + + + // + // C++: void setExcludeRange(int exclude_range) + // + + //javadoc: AlignMTB::setExcludeRange(exclude_range) + public void setExcludeRange(int exclude_range) + { + + setExcludeRange_0(nativeObj, exclude_range); + + return; + } + + + // + // C++: bool getCut() + // + + //javadoc: AlignMTB::getCut() + public boolean getCut() + { + + boolean retVal = getCut_0(nativeObj); + + return retVal; + } + + + // + // C++: void setCut(bool value) + // + + //javadoc: AlignMTB::setCut(value) + public void setCut(boolean value) + { + + setCut_0(nativeObj, value); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void process(vector_Mat src, vector_Mat dst, Mat times, Mat response) + private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_mat_nativeObj, long times_nativeObj, long response_nativeObj); + + // C++: void process(vector_Mat src, vector_Mat dst) + private static native void process_1(long nativeObj, long src_mat_nativeObj, long dst_mat_nativeObj); + + // C++: Point calculateShift(Mat img0, Mat img1) + private static native double[] calculateShift_0(long nativeObj, long img0_nativeObj, long img1_nativeObj); + + // C++: void shiftMat(Mat src, Mat& dst, Point shift) + private static native void shiftMat_0(long nativeObj, long src_nativeObj, long dst_nativeObj, double shift_x, double shift_y); + + // C++: void computeBitmaps(Mat img, Mat& tb, Mat& eb) + private static native void computeBitmaps_0(long nativeObj, long img_nativeObj, long tb_nativeObj, long eb_nativeObj); + + // C++: int getMaxBits() + private static native int getMaxBits_0(long nativeObj); + + // C++: void setMaxBits(int max_bits) + private static native void setMaxBits_0(long nativeObj, int max_bits); + + // C++: int getExcludeRange() + private static native int getExcludeRange_0(long nativeObj); + + // C++: void setExcludeRange(int exclude_range) + private static native void setExcludeRange_0(long nativeObj, int exclude_range); + + // C++: bool getCut() + private static native boolean getCut_0(long nativeObj); + + // C++: void setCut(bool value) + private static native void setCut_0(long nativeObj, boolean value); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/CalibrateCRF.java b/opencv3/src/org/opencv/photo/CalibrateCRF.java new file mode 100644 index 0000000..1273078 --- /dev/null +++ b/opencv3/src/org/opencv/photo/CalibrateCRF.java @@ -0,0 +1,47 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; +import org.opencv.utils.Converters; + +// C++: class CalibrateCRF +//javadoc: CalibrateCRF +public class CalibrateCRF extends Algorithm { + + protected CalibrateCRF(long addr) { super(addr); } + + + // + // C++: void process(vector_Mat src, Mat& dst, Mat times) + // + + //javadoc: CalibrateCRF::process(src, dst, times) + public void process(List src, Mat dst, Mat times) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + process_0(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void process(vector_Mat src, Mat& dst, Mat times) + private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/CalibrateDebevec.java b/opencv3/src/org/opencv/photo/CalibrateDebevec.java new file mode 100644 index 0000000..c3ff551 --- /dev/null +++ b/opencv3/src/org/opencv/photo/CalibrateDebevec.java @@ -0,0 +1,128 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + + + +// C++: class CalibrateDebevec +//javadoc: CalibrateDebevec +public class CalibrateDebevec extends CalibrateCRF { + + protected CalibrateDebevec(long addr) { super(addr); } + + + // + // C++: float getLambda() + // + + //javadoc: CalibrateDebevec::getLambda() + public float getLambda() + { + + float retVal = getLambda_0(nativeObj); + + return retVal; + } + + + // + // C++: void setLambda(float lambda) + // + + //javadoc: CalibrateDebevec::setLambda(lambda) + public void setLambda(float lambda) + { + + setLambda_0(nativeObj, lambda); + + return; + } + + + // + // C++: int getSamples() + // + + //javadoc: CalibrateDebevec::getSamples() + public int getSamples() + { + + int retVal = getSamples_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSamples(int samples) + // + + //javadoc: CalibrateDebevec::setSamples(samples) + public void setSamples(int samples) + { + + setSamples_0(nativeObj, samples); + + return; + } + + + // + // C++: bool getRandom() + // + + //javadoc: CalibrateDebevec::getRandom() + public boolean getRandom() + { + + boolean retVal = getRandom_0(nativeObj); + + return retVal; + } + + + // + // C++: void setRandom(bool random) + // + + //javadoc: CalibrateDebevec::setRandom(random) + public void setRandom(boolean random) + { + + setRandom_0(nativeObj, random); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: float getLambda() + private static native float getLambda_0(long nativeObj); + + // C++: void setLambda(float lambda) + private static native void setLambda_0(long nativeObj, float lambda); + + // C++: int getSamples() + private static native int getSamples_0(long nativeObj); + + // C++: void setSamples(int samples) + private static native void setSamples_0(long nativeObj, int samples); + + // C++: bool getRandom() + private static native boolean getRandom_0(long nativeObj); + + // C++: void setRandom(bool random) + private static native void setRandom_0(long nativeObj, boolean random); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/CalibrateRobertson.java b/opencv3/src/org/opencv/photo/CalibrateRobertson.java new file mode 100644 index 0000000..d650f05 --- /dev/null +++ b/opencv3/src/org/opencv/photo/CalibrateRobertson.java @@ -0,0 +1,111 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import org.opencv.core.Mat; + +// C++: class CalibrateRobertson +//javadoc: CalibrateRobertson +public class CalibrateRobertson extends CalibrateCRF { + + protected CalibrateRobertson(long addr) { super(addr); } + + + // + // C++: int getMaxIter() + // + + //javadoc: CalibrateRobertson::getMaxIter() + public int getMaxIter() + { + + int retVal = getMaxIter_0(nativeObj); + + return retVal; + } + + + // + // C++: void setMaxIter(int max_iter) + // + + //javadoc: CalibrateRobertson::setMaxIter(max_iter) + public void setMaxIter(int max_iter) + { + + setMaxIter_0(nativeObj, max_iter); + + return; + } + + + // + // C++: float getThreshold() + // + + //javadoc: CalibrateRobertson::getThreshold() + public float getThreshold() + { + + float retVal = getThreshold_0(nativeObj); + + return retVal; + } + + + // + // C++: void setThreshold(float threshold) + // + + //javadoc: CalibrateRobertson::setThreshold(threshold) + public void setThreshold(float threshold) + { + + setThreshold_0(nativeObj, threshold); + + return; + } + + + // + // C++: Mat getRadiance() + // + + //javadoc: CalibrateRobertson::getRadiance() + public Mat getRadiance() + { + + Mat retVal = new Mat(getRadiance_0(nativeObj)); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getMaxIter() + private static native int getMaxIter_0(long nativeObj); + + // C++: void setMaxIter(int max_iter) + private static native void setMaxIter_0(long nativeObj, int max_iter); + + // C++: float getThreshold() + private static native float getThreshold_0(long nativeObj); + + // C++: void setThreshold(float threshold) + private static native void setThreshold_0(long nativeObj, float threshold); + + // C++: Mat getRadiance() + private static native long getRadiance_0(long nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/MergeDebevec.java b/opencv3/src/org/opencv/photo/MergeDebevec.java new file mode 100644 index 0000000..f540c88 --- /dev/null +++ b/opencv3/src/org/opencv/photo/MergeDebevec.java @@ -0,0 +1,63 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.utils.Converters; + +// C++: class MergeDebevec +//javadoc: MergeDebevec +public class MergeDebevec extends MergeExposures { + + protected MergeDebevec(long addr) { super(addr); } + + + // + // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) + // + + //javadoc: MergeDebevec::process(src, dst, times, response) + public void process(List src, Mat dst, Mat times, Mat response) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + process_0(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj, response.nativeObj); + + return; + } + + + // + // C++: void process(vector_Mat src, Mat& dst, Mat times) + // + + //javadoc: MergeDebevec::process(src, dst, times) + public void process(List src, Mat dst, Mat times) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + process_1(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) + private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj, long response_nativeObj); + + // C++: void process(vector_Mat src, Mat& dst, Mat times) + private static native void process_1(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/MergeExposures.java b/opencv3/src/org/opencv/photo/MergeExposures.java new file mode 100644 index 0000000..558dfcc --- /dev/null +++ b/opencv3/src/org/opencv/photo/MergeExposures.java @@ -0,0 +1,47 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; +import org.opencv.utils.Converters; + +// C++: class MergeExposures +//javadoc: MergeExposures +public class MergeExposures extends Algorithm { + + protected MergeExposures(long addr) { super(addr); } + + + // + // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) + // + + //javadoc: MergeExposures::process(src, dst, times, response) + public void process(List src, Mat dst, Mat times, Mat response) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + process_0(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj, response.nativeObj); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) + private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj, long response_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/MergeMertens.java b/opencv3/src/org/opencv/photo/MergeMertens.java new file mode 100644 index 0000000..aee45de --- /dev/null +++ b/opencv3/src/org/opencv/photo/MergeMertens.java @@ -0,0 +1,165 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.utils.Converters; + +// C++: class MergeMertens +//javadoc: MergeMertens +public class MergeMertens extends MergeExposures { + + protected MergeMertens(long addr) { super(addr); } + + + // + // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) + // + + //javadoc: MergeMertens::process(src, dst, times, response) + public void process(List src, Mat dst, Mat times, Mat response) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + process_0(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj, response.nativeObj); + + return; + } + + + // + // C++: void process(vector_Mat src, Mat& dst) + // + + //javadoc: MergeMertens::process(src, dst) + public void process(List src, Mat dst) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + process_1(nativeObj, src_mat.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: float getContrastWeight() + // + + //javadoc: MergeMertens::getContrastWeight() + public float getContrastWeight() + { + + float retVal = getContrastWeight_0(nativeObj); + + return retVal; + } + + + // + // C++: void setContrastWeight(float contrast_weiht) + // + + //javadoc: MergeMertens::setContrastWeight(contrast_weiht) + public void setContrastWeight(float contrast_weiht) + { + + setContrastWeight_0(nativeObj, contrast_weiht); + + return; + } + + + // + // C++: float getSaturationWeight() + // + + //javadoc: MergeMertens::getSaturationWeight() + public float getSaturationWeight() + { + + float retVal = getSaturationWeight_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSaturationWeight(float saturation_weight) + // + + //javadoc: MergeMertens::setSaturationWeight(saturation_weight) + public void setSaturationWeight(float saturation_weight) + { + + setSaturationWeight_0(nativeObj, saturation_weight); + + return; + } + + + // + // C++: float getExposureWeight() + // + + //javadoc: MergeMertens::getExposureWeight() + public float getExposureWeight() + { + + float retVal = getExposureWeight_0(nativeObj); + + return retVal; + } + + + // + // C++: void setExposureWeight(float exposure_weight) + // + + //javadoc: MergeMertens::setExposureWeight(exposure_weight) + public void setExposureWeight(float exposure_weight) + { + + setExposureWeight_0(nativeObj, exposure_weight); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) + private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj, long response_nativeObj); + + // C++: void process(vector_Mat src, Mat& dst) + private static native void process_1(long nativeObj, long src_mat_nativeObj, long dst_nativeObj); + + // C++: float getContrastWeight() + private static native float getContrastWeight_0(long nativeObj); + + // C++: void setContrastWeight(float contrast_weiht) + private static native void setContrastWeight_0(long nativeObj, float contrast_weiht); + + // C++: float getSaturationWeight() + private static native float getSaturationWeight_0(long nativeObj); + + // C++: void setSaturationWeight(float saturation_weight) + private static native void setSaturationWeight_0(long nativeObj, float saturation_weight); + + // C++: float getExposureWeight() + private static native float getExposureWeight_0(long nativeObj); + + // C++: void setExposureWeight(float exposure_weight) + private static native void setExposureWeight_0(long nativeObj, float exposure_weight); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/MergeRobertson.java b/opencv3/src/org/opencv/photo/MergeRobertson.java new file mode 100644 index 0000000..86308b6 --- /dev/null +++ b/opencv3/src/org/opencv/photo/MergeRobertson.java @@ -0,0 +1,63 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.utils.Converters; + +// C++: class MergeRobertson +//javadoc: MergeRobertson +public class MergeRobertson extends MergeExposures { + + protected MergeRobertson(long addr) { super(addr); } + + + // + // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) + // + + //javadoc: MergeRobertson::process(src, dst, times, response) + public void process(List src, Mat dst, Mat times, Mat response) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + process_0(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj, response.nativeObj); + + return; + } + + + // + // C++: void process(vector_Mat src, Mat& dst, Mat times) + // + + //javadoc: MergeRobertson::process(src, dst, times) + public void process(List src, Mat dst, Mat times) + { + Mat src_mat = Converters.vector_Mat_to_Mat(src); + process_1(nativeObj, src_mat.nativeObj, dst.nativeObj, times.nativeObj); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void process(vector_Mat src, Mat& dst, Mat times, Mat response) + private static native void process_0(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj, long response_nativeObj); + + // C++: void process(vector_Mat src, Mat& dst, Mat times) + private static native void process_1(long nativeObj, long src_mat_nativeObj, long dst_nativeObj, long times_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/Photo.java b/opencv3/src/org/opencv/photo/Photo.java new file mode 100644 index 0000000..ce84df0 --- /dev/null +++ b/opencv3/src/org/opencv/photo/Photo.java @@ -0,0 +1,742 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfFloat; +import org.opencv.core.Point; +import org.opencv.utils.Converters; + +public class Photo { + + private static final int + CV_INPAINT_NS = 0, + CV_INPAINT_TELEA = 1; + + + public static final int + INPAINT_NS = 0, + INPAINT_TELEA = 1, + NORMAL_CLONE = 1, + MIXED_CLONE = 2, + MONOCHROME_TRANSFER = 3, + RECURS_FILTER = 1, + NORMCONV_FILTER = 2, + LDR_SIZE = 256; + + + // + // C++: void fastNlMeansDenoising(Mat src, Mat& dst, vector_float h, int templateWindowSize = 7, int searchWindowSize = 21, int normType = NORM_L2) + // + + //javadoc: fastNlMeansDenoising(src, dst, h, templateWindowSize, searchWindowSize, normType) + public static void fastNlMeansDenoising(Mat src, Mat dst, MatOfFloat h, int templateWindowSize, int searchWindowSize, int normType) + { + Mat h_mat = h; + fastNlMeansDenoising_0(src.nativeObj, dst.nativeObj, h_mat.nativeObj, templateWindowSize, searchWindowSize, normType); + + return; + } + + //javadoc: fastNlMeansDenoising(src, dst, h) + public static void fastNlMeansDenoising(Mat src, Mat dst, MatOfFloat h) + { + Mat h_mat = h; + fastNlMeansDenoising_1(src.nativeObj, dst.nativeObj, h_mat.nativeObj); + + return; + } + + + // + // C++: void fastNlMeansDenoisingColored(Mat src, Mat& dst, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21) + // + + //javadoc: fastNlMeansDenoisingColored(src, dst, h, hColor, templateWindowSize, searchWindowSize) + public static void fastNlMeansDenoisingColored(Mat src, Mat dst, float h, float hColor, int templateWindowSize, int searchWindowSize) + { + + fastNlMeansDenoisingColored_0(src.nativeObj, dst.nativeObj, h, hColor, templateWindowSize, searchWindowSize); + + return; + } + + //javadoc: fastNlMeansDenoisingColored(src, dst) + public static void fastNlMeansDenoisingColored(Mat src, Mat dst) + { + + fastNlMeansDenoisingColored_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void fastNlMeansDenoisingMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, float h = 3, int templateWindowSize = 7, int searchWindowSize = 21) + // + + //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize, searchWindowSize) + public static void fastNlMeansDenoisingMulti(List srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h, int templateWindowSize, int searchWindowSize) + { + Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs); + fastNlMeansDenoisingMulti_0(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize, searchWindowSize); + + return; + } + + //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize) + public static void fastNlMeansDenoisingMulti(List srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize) + { + Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs); + fastNlMeansDenoisingMulti_1(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize); + + return; + } + + + // + // C++: void fastNlMeansDenoising(Mat src, Mat& dst, float h = 3, int templateWindowSize = 7, int searchWindowSize = 21) + // + + //javadoc: fastNlMeansDenoising(src, dst, h, templateWindowSize, searchWindowSize) + public static void fastNlMeansDenoising(Mat src, Mat dst, float h, int templateWindowSize, int searchWindowSize) + { + + fastNlMeansDenoising_2(src.nativeObj, dst.nativeObj, h, templateWindowSize, searchWindowSize); + + return; + } + + //javadoc: fastNlMeansDenoising(src, dst) + public static void fastNlMeansDenoising(Mat src, Mat dst) + { + + fastNlMeansDenoising_3(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void inpaint(Mat src, Mat inpaintMask, Mat& dst, double inpaintRadius, int flags) + // + + //javadoc: inpaint(src, inpaintMask, dst, inpaintRadius, flags) + public static void inpaint(Mat src, Mat inpaintMask, Mat dst, double inpaintRadius, int flags) + { + + inpaint_0(src.nativeObj, inpaintMask.nativeObj, dst.nativeObj, inpaintRadius, flags); + + return; + } + + + // + // C++: void fastNlMeansDenoisingMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, vector_float h, int templateWindowSize = 7, int searchWindowSize = 21, int normType = NORM_L2) + // + + //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, templateWindowSize, searchWindowSize, normType) + public static void fastNlMeansDenoisingMulti(List srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, MatOfFloat h, int templateWindowSize, int searchWindowSize, int normType) + { + Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs); + Mat h_mat = h; + fastNlMeansDenoisingMulti_2(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h_mat.nativeObj, templateWindowSize, searchWindowSize, normType); + + return; + } + + //javadoc: fastNlMeansDenoisingMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h) + public static void fastNlMeansDenoisingMulti(List srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, MatOfFloat h) + { + Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs); + Mat h_mat = h; + fastNlMeansDenoisingMulti_3(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h_mat.nativeObj); + + return; + } + + + // + // C++: void fastNlMeansDenoisingColoredMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21) + // + + //javadoc: fastNlMeansDenoisingColoredMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize, h, hColor, templateWindowSize, searchWindowSize) + public static void fastNlMeansDenoisingColoredMulti(List srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize, float h, float hColor, int templateWindowSize, int searchWindowSize) + { + Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs); + fastNlMeansDenoisingColoredMulti_0(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize, h, hColor, templateWindowSize, searchWindowSize); + + return; + } + + //javadoc: fastNlMeansDenoisingColoredMulti(srcImgs, dst, imgToDenoiseIndex, temporalWindowSize) + public static void fastNlMeansDenoisingColoredMulti(List srcImgs, Mat dst, int imgToDenoiseIndex, int temporalWindowSize) + { + Mat srcImgs_mat = Converters.vector_Mat_to_Mat(srcImgs); + fastNlMeansDenoisingColoredMulti_1(srcImgs_mat.nativeObj, dst.nativeObj, imgToDenoiseIndex, temporalWindowSize); + + return; + } + + + // + // C++: void denoise_TVL1(vector_Mat observations, Mat result, double lambda = 1.0, int niters = 30) + // + + //javadoc: denoise_TVL1(observations, result, lambda, niters) + public static void denoise_TVL1(List observations, Mat result, double lambda, int niters) + { + Mat observations_mat = Converters.vector_Mat_to_Mat(observations); + denoise_TVL1_0(observations_mat.nativeObj, result.nativeObj, lambda, niters); + + return; + } + + //javadoc: denoise_TVL1(observations, result) + public static void denoise_TVL1(List observations, Mat result) + { + Mat observations_mat = Converters.vector_Mat_to_Mat(observations); + denoise_TVL1_1(observations_mat.nativeObj, result.nativeObj); + + return; + } + + + // + // C++: Ptr_Tonemap createTonemap(float gamma = 1.0f) + // + + //javadoc: createTonemap(gamma) + public static Tonemap createTonemap(float gamma) + { + + Tonemap retVal = new Tonemap(createTonemap_0(gamma)); + + return retVal; + } + + //javadoc: createTonemap() + public static Tonemap createTonemap() + { + + Tonemap retVal = new Tonemap(createTonemap_1()); + + return retVal; + } + + + // + // C++: Ptr_TonemapDrago createTonemapDrago(float gamma = 1.0f, float saturation = 1.0f, float bias = 0.85f) + // + + //javadoc: createTonemapDrago(gamma, saturation, bias) + public static TonemapDrago createTonemapDrago(float gamma, float saturation, float bias) + { + + TonemapDrago retVal = new TonemapDrago(createTonemapDrago_0(gamma, saturation, bias)); + + return retVal; + } + + //javadoc: createTonemapDrago() + public static TonemapDrago createTonemapDrago() + { + + TonemapDrago retVal = new TonemapDrago(createTonemapDrago_1()); + + return retVal; + } + + + // + // C++: Ptr_TonemapDurand createTonemapDurand(float gamma = 1.0f, float contrast = 4.0f, float saturation = 1.0f, float sigma_space = 2.0f, float sigma_color = 2.0f) + // + + //javadoc: createTonemapDurand(gamma, contrast, saturation, sigma_space, sigma_color) + public static TonemapDurand createTonemapDurand(float gamma, float contrast, float saturation, float sigma_space, float sigma_color) + { + + TonemapDurand retVal = new TonemapDurand(createTonemapDurand_0(gamma, contrast, saturation, sigma_space, sigma_color)); + + return retVal; + } + + //javadoc: createTonemapDurand() + public static TonemapDurand createTonemapDurand() + { + + TonemapDurand retVal = new TonemapDurand(createTonemapDurand_1()); + + return retVal; + } + + + // + // C++: Ptr_TonemapReinhard createTonemapReinhard(float gamma = 1.0f, float intensity = 0.0f, float light_adapt = 1.0f, float color_adapt = 0.0f) + // + + //javadoc: createTonemapReinhard(gamma, intensity, light_adapt, color_adapt) + public static TonemapReinhard createTonemapReinhard(float gamma, float intensity, float light_adapt, float color_adapt) + { + + TonemapReinhard retVal = new TonemapReinhard(createTonemapReinhard_0(gamma, intensity, light_adapt, color_adapt)); + + return retVal; + } + + //javadoc: createTonemapReinhard() + public static TonemapReinhard createTonemapReinhard() + { + + TonemapReinhard retVal = new TonemapReinhard(createTonemapReinhard_1()); + + return retVal; + } + + + // + // C++: Ptr_TonemapMantiuk createTonemapMantiuk(float gamma = 1.0f, float scale = 0.7f, float saturation = 1.0f) + // + + //javadoc: createTonemapMantiuk(gamma, scale, saturation) + public static TonemapMantiuk createTonemapMantiuk(float gamma, float scale, float saturation) + { + + TonemapMantiuk retVal = new TonemapMantiuk(createTonemapMantiuk_0(gamma, scale, saturation)); + + return retVal; + } + + //javadoc: createTonemapMantiuk() + public static TonemapMantiuk createTonemapMantiuk() + { + + TonemapMantiuk retVal = new TonemapMantiuk(createTonemapMantiuk_1()); + + return retVal; + } + + + // + // C++: Ptr_AlignMTB createAlignMTB(int max_bits = 6, int exclude_range = 4, bool cut = true) + // + + //javadoc: createAlignMTB(max_bits, exclude_range, cut) + public static AlignMTB createAlignMTB(int max_bits, int exclude_range, boolean cut) + { + + AlignMTB retVal = new AlignMTB(createAlignMTB_0(max_bits, exclude_range, cut)); + + return retVal; + } + + //javadoc: createAlignMTB() + public static AlignMTB createAlignMTB() + { + + AlignMTB retVal = new AlignMTB(createAlignMTB_1()); + + return retVal; + } + + + // + // C++: Ptr_CalibrateDebevec createCalibrateDebevec(int samples = 70, float lambda = 10.0f, bool random = false) + // + + //javadoc: createCalibrateDebevec(samples, lambda, random) + public static CalibrateDebevec createCalibrateDebevec(int samples, float lambda, boolean random) + { + + CalibrateDebevec retVal = new CalibrateDebevec(createCalibrateDebevec_0(samples, lambda, random)); + + return retVal; + } + + //javadoc: createCalibrateDebevec() + public static CalibrateDebevec createCalibrateDebevec() + { + + CalibrateDebevec retVal = new CalibrateDebevec(createCalibrateDebevec_1()); + + return retVal; + } + + + // + // C++: Ptr_CalibrateRobertson createCalibrateRobertson(int max_iter = 30, float threshold = 0.01f) + // + + //javadoc: createCalibrateRobertson(max_iter, threshold) + public static CalibrateRobertson createCalibrateRobertson(int max_iter, float threshold) + { + + CalibrateRobertson retVal = new CalibrateRobertson(createCalibrateRobertson_0(max_iter, threshold)); + + return retVal; + } + + //javadoc: createCalibrateRobertson() + public static CalibrateRobertson createCalibrateRobertson() + { + + CalibrateRobertson retVal = new CalibrateRobertson(createCalibrateRobertson_1()); + + return retVal; + } + + + // + // C++: Ptr_MergeDebevec createMergeDebevec() + // + + //javadoc: createMergeDebevec() + public static MergeDebevec createMergeDebevec() + { + + MergeDebevec retVal = new MergeDebevec(createMergeDebevec_0()); + + return retVal; + } + + + // + // C++: Ptr_MergeMertens createMergeMertens(float contrast_weight = 1.0f, float saturation_weight = 1.0f, float exposure_weight = 0.0f) + // + + //javadoc: createMergeMertens(contrast_weight, saturation_weight, exposure_weight) + public static MergeMertens createMergeMertens(float contrast_weight, float saturation_weight, float exposure_weight) + { + + MergeMertens retVal = new MergeMertens(createMergeMertens_0(contrast_weight, saturation_weight, exposure_weight)); + + return retVal; + } + + //javadoc: createMergeMertens() + public static MergeMertens createMergeMertens() + { + + MergeMertens retVal = new MergeMertens(createMergeMertens_1()); + + return retVal; + } + + + // + // C++: Ptr_MergeRobertson createMergeRobertson() + // + + //javadoc: createMergeRobertson() + public static MergeRobertson createMergeRobertson() + { + + MergeRobertson retVal = new MergeRobertson(createMergeRobertson_0()); + + return retVal; + } + + + // + // C++: void decolor(Mat src, Mat& grayscale, Mat& color_boost) + // + + //javadoc: decolor(src, grayscale, color_boost) + public static void decolor(Mat src, Mat grayscale, Mat color_boost) + { + + decolor_0(src.nativeObj, grayscale.nativeObj, color_boost.nativeObj); + + return; + } + + + // + // C++: void seamlessClone(Mat src, Mat dst, Mat mask, Point p, Mat& blend, int flags) + // + + //javadoc: seamlessClone(src, dst, mask, p, blend, flags) + public static void seamlessClone(Mat src, Mat dst, Mat mask, Point p, Mat blend, int flags) + { + + seamlessClone_0(src.nativeObj, dst.nativeObj, mask.nativeObj, p.x, p.y, blend.nativeObj, flags); + + return; + } + + + // + // C++: void colorChange(Mat src, Mat mask, Mat& dst, float red_mul = 1.0f, float green_mul = 1.0f, float blue_mul = 1.0f) + // + + //javadoc: colorChange(src, mask, dst, red_mul, green_mul, blue_mul) + public static void colorChange(Mat src, Mat mask, Mat dst, float red_mul, float green_mul, float blue_mul) + { + + colorChange_0(src.nativeObj, mask.nativeObj, dst.nativeObj, red_mul, green_mul, blue_mul); + + return; + } + + //javadoc: colorChange(src, mask, dst) + public static void colorChange(Mat src, Mat mask, Mat dst) + { + + colorChange_1(src.nativeObj, mask.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void illuminationChange(Mat src, Mat mask, Mat& dst, float alpha = 0.2f, float beta = 0.4f) + // + + //javadoc: illuminationChange(src, mask, dst, alpha, beta) + public static void illuminationChange(Mat src, Mat mask, Mat dst, float alpha, float beta) + { + + illuminationChange_0(src.nativeObj, mask.nativeObj, dst.nativeObj, alpha, beta); + + return; + } + + //javadoc: illuminationChange(src, mask, dst) + public static void illuminationChange(Mat src, Mat mask, Mat dst) + { + + illuminationChange_1(src.nativeObj, mask.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void textureFlattening(Mat src, Mat mask, Mat& dst, float low_threshold = 30, float high_threshold = 45, int kernel_size = 3) + // + + //javadoc: textureFlattening(src, mask, dst, low_threshold, high_threshold, kernel_size) + public static void textureFlattening(Mat src, Mat mask, Mat dst, float low_threshold, float high_threshold, int kernel_size) + { + + textureFlattening_0(src.nativeObj, mask.nativeObj, dst.nativeObj, low_threshold, high_threshold, kernel_size); + + return; + } + + //javadoc: textureFlattening(src, mask, dst) + public static void textureFlattening(Mat src, Mat mask, Mat dst) + { + + textureFlattening_1(src.nativeObj, mask.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void edgePreservingFilter(Mat src, Mat& dst, int flags = 1, float sigma_s = 60, float sigma_r = 0.4f) + // + + //javadoc: edgePreservingFilter(src, dst, flags, sigma_s, sigma_r) + public static void edgePreservingFilter(Mat src, Mat dst, int flags, float sigma_s, float sigma_r) + { + + edgePreservingFilter_0(src.nativeObj, dst.nativeObj, flags, sigma_s, sigma_r); + + return; + } + + //javadoc: edgePreservingFilter(src, dst) + public static void edgePreservingFilter(Mat src, Mat dst) + { + + edgePreservingFilter_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void detailEnhance(Mat src, Mat& dst, float sigma_s = 10, float sigma_r = 0.15f) + // + + //javadoc: detailEnhance(src, dst, sigma_s, sigma_r) + public static void detailEnhance(Mat src, Mat dst, float sigma_s, float sigma_r) + { + + detailEnhance_0(src.nativeObj, dst.nativeObj, sigma_s, sigma_r); + + return; + } + + //javadoc: detailEnhance(src, dst) + public static void detailEnhance(Mat src, Mat dst) + { + + detailEnhance_1(src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: void pencilSketch(Mat src, Mat& dst1, Mat& dst2, float sigma_s = 60, float sigma_r = 0.07f, float shade_factor = 0.02f) + // + + //javadoc: pencilSketch(src, dst1, dst2, sigma_s, sigma_r, shade_factor) + public static void pencilSketch(Mat src, Mat dst1, Mat dst2, float sigma_s, float sigma_r, float shade_factor) + { + + pencilSketch_0(src.nativeObj, dst1.nativeObj, dst2.nativeObj, sigma_s, sigma_r, shade_factor); + + return; + } + + //javadoc: pencilSketch(src, dst1, dst2) + public static void pencilSketch(Mat src, Mat dst1, Mat dst2) + { + + pencilSketch_1(src.nativeObj, dst1.nativeObj, dst2.nativeObj); + + return; + } + + + // + // C++: void stylization(Mat src, Mat& dst, float sigma_s = 60, float sigma_r = 0.45f) + // + + //javadoc: stylization(src, dst, sigma_s, sigma_r) + public static void stylization(Mat src, Mat dst, float sigma_s, float sigma_r) + { + + stylization_0(src.nativeObj, dst.nativeObj, sigma_s, sigma_r); + + return; + } + + //javadoc: stylization(src, dst) + public static void stylization(Mat src, Mat dst) + { + + stylization_1(src.nativeObj, dst.nativeObj); + + return; + } + + + + + // C++: void fastNlMeansDenoising(Mat src, Mat& dst, vector_float h, int templateWindowSize = 7, int searchWindowSize = 21, int normType = NORM_L2) + private static native void fastNlMeansDenoising_0(long src_nativeObj, long dst_nativeObj, long h_mat_nativeObj, int templateWindowSize, int searchWindowSize, int normType); + private static native void fastNlMeansDenoising_1(long src_nativeObj, long dst_nativeObj, long h_mat_nativeObj); + + // C++: void fastNlMeansDenoisingColored(Mat src, Mat& dst, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21) + private static native void fastNlMeansDenoisingColored_0(long src_nativeObj, long dst_nativeObj, float h, float hColor, int templateWindowSize, int searchWindowSize); + private static native void fastNlMeansDenoisingColored_1(long src_nativeObj, long dst_nativeObj); + + // C++: void fastNlMeansDenoisingMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, float h = 3, int templateWindowSize = 7, int searchWindowSize = 21) + private static native void fastNlMeansDenoisingMulti_0(long srcImgs_mat_nativeObj, long dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, float h, int templateWindowSize, int searchWindowSize); + private static native void fastNlMeansDenoisingMulti_1(long srcImgs_mat_nativeObj, long dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize); + + // C++: void fastNlMeansDenoising(Mat src, Mat& dst, float h = 3, int templateWindowSize = 7, int searchWindowSize = 21) + private static native void fastNlMeansDenoising_2(long src_nativeObj, long dst_nativeObj, float h, int templateWindowSize, int searchWindowSize); + private static native void fastNlMeansDenoising_3(long src_nativeObj, long dst_nativeObj); + + // C++: void inpaint(Mat src, Mat inpaintMask, Mat& dst, double inpaintRadius, int flags) + private static native void inpaint_0(long src_nativeObj, long inpaintMask_nativeObj, long dst_nativeObj, double inpaintRadius, int flags); + + // C++: void fastNlMeansDenoisingMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, vector_float h, int templateWindowSize = 7, int searchWindowSize = 21, int normType = NORM_L2) + private static native void fastNlMeansDenoisingMulti_2(long srcImgs_mat_nativeObj, long dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, long h_mat_nativeObj, int templateWindowSize, int searchWindowSize, int normType); + private static native void fastNlMeansDenoisingMulti_3(long srcImgs_mat_nativeObj, long dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, long h_mat_nativeObj); + + // C++: void fastNlMeansDenoisingColoredMulti(vector_Mat srcImgs, Mat& dst, int imgToDenoiseIndex, int temporalWindowSize, float h = 3, float hColor = 3, int templateWindowSize = 7, int searchWindowSize = 21) + private static native void fastNlMeansDenoisingColoredMulti_0(long srcImgs_mat_nativeObj, long dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize, float h, float hColor, int templateWindowSize, int searchWindowSize); + private static native void fastNlMeansDenoisingColoredMulti_1(long srcImgs_mat_nativeObj, long dst_nativeObj, int imgToDenoiseIndex, int temporalWindowSize); + + // C++: void denoise_TVL1(vector_Mat observations, Mat result, double lambda = 1.0, int niters = 30) + private static native void denoise_TVL1_0(long observations_mat_nativeObj, long result_nativeObj, double lambda, int niters); + private static native void denoise_TVL1_1(long observations_mat_nativeObj, long result_nativeObj); + + // C++: Ptr_Tonemap createTonemap(float gamma = 1.0f) + private static native long createTonemap_0(float gamma); + private static native long createTonemap_1(); + + // C++: Ptr_TonemapDrago createTonemapDrago(float gamma = 1.0f, float saturation = 1.0f, float bias = 0.85f) + private static native long createTonemapDrago_0(float gamma, float saturation, float bias); + private static native long createTonemapDrago_1(); + + // C++: Ptr_TonemapDurand createTonemapDurand(float gamma = 1.0f, float contrast = 4.0f, float saturation = 1.0f, float sigma_space = 2.0f, float sigma_color = 2.0f) + private static native long createTonemapDurand_0(float gamma, float contrast, float saturation, float sigma_space, float sigma_color); + private static native long createTonemapDurand_1(); + + // C++: Ptr_TonemapReinhard createTonemapReinhard(float gamma = 1.0f, float intensity = 0.0f, float light_adapt = 1.0f, float color_adapt = 0.0f) + private static native long createTonemapReinhard_0(float gamma, float intensity, float light_adapt, float color_adapt); + private static native long createTonemapReinhard_1(); + + // C++: Ptr_TonemapMantiuk createTonemapMantiuk(float gamma = 1.0f, float scale = 0.7f, float saturation = 1.0f) + private static native long createTonemapMantiuk_0(float gamma, float scale, float saturation); + private static native long createTonemapMantiuk_1(); + + // C++: Ptr_AlignMTB createAlignMTB(int max_bits = 6, int exclude_range = 4, bool cut = true) + private static native long createAlignMTB_0(int max_bits, int exclude_range, boolean cut); + private static native long createAlignMTB_1(); + + // C++: Ptr_CalibrateDebevec createCalibrateDebevec(int samples = 70, float lambda = 10.0f, bool random = false) + private static native long createCalibrateDebevec_0(int samples, float lambda, boolean random); + private static native long createCalibrateDebevec_1(); + + // C++: Ptr_CalibrateRobertson createCalibrateRobertson(int max_iter = 30, float threshold = 0.01f) + private static native long createCalibrateRobertson_0(int max_iter, float threshold); + private static native long createCalibrateRobertson_1(); + + // C++: Ptr_MergeDebevec createMergeDebevec() + private static native long createMergeDebevec_0(); + + // C++: Ptr_MergeMertens createMergeMertens(float contrast_weight = 1.0f, float saturation_weight = 1.0f, float exposure_weight = 0.0f) + private static native long createMergeMertens_0(float contrast_weight, float saturation_weight, float exposure_weight); + private static native long createMergeMertens_1(); + + // C++: Ptr_MergeRobertson createMergeRobertson() + private static native long createMergeRobertson_0(); + + // C++: void decolor(Mat src, Mat& grayscale, Mat& color_boost) + private static native void decolor_0(long src_nativeObj, long grayscale_nativeObj, long color_boost_nativeObj); + + // C++: void seamlessClone(Mat src, Mat dst, Mat mask, Point p, Mat& blend, int flags) + private static native void seamlessClone_0(long src_nativeObj, long dst_nativeObj, long mask_nativeObj, double p_x, double p_y, long blend_nativeObj, int flags); + + // C++: void colorChange(Mat src, Mat mask, Mat& dst, float red_mul = 1.0f, float green_mul = 1.0f, float blue_mul = 1.0f) + private static native void colorChange_0(long src_nativeObj, long mask_nativeObj, long dst_nativeObj, float red_mul, float green_mul, float blue_mul); + private static native void colorChange_1(long src_nativeObj, long mask_nativeObj, long dst_nativeObj); + + // C++: void illuminationChange(Mat src, Mat mask, Mat& dst, float alpha = 0.2f, float beta = 0.4f) + private static native void illuminationChange_0(long src_nativeObj, long mask_nativeObj, long dst_nativeObj, float alpha, float beta); + private static native void illuminationChange_1(long src_nativeObj, long mask_nativeObj, long dst_nativeObj); + + // C++: void textureFlattening(Mat src, Mat mask, Mat& dst, float low_threshold = 30, float high_threshold = 45, int kernel_size = 3) + private static native void textureFlattening_0(long src_nativeObj, long mask_nativeObj, long dst_nativeObj, float low_threshold, float high_threshold, int kernel_size); + private static native void textureFlattening_1(long src_nativeObj, long mask_nativeObj, long dst_nativeObj); + + // C++: void edgePreservingFilter(Mat src, Mat& dst, int flags = 1, float sigma_s = 60, float sigma_r = 0.4f) + private static native void edgePreservingFilter_0(long src_nativeObj, long dst_nativeObj, int flags, float sigma_s, float sigma_r); + private static native void edgePreservingFilter_1(long src_nativeObj, long dst_nativeObj); + + // C++: void detailEnhance(Mat src, Mat& dst, float sigma_s = 10, float sigma_r = 0.15f) + private static native void detailEnhance_0(long src_nativeObj, long dst_nativeObj, float sigma_s, float sigma_r); + private static native void detailEnhance_1(long src_nativeObj, long dst_nativeObj); + + // C++: void pencilSketch(Mat src, Mat& dst1, Mat& dst2, float sigma_s = 60, float sigma_r = 0.07f, float shade_factor = 0.02f) + private static native void pencilSketch_0(long src_nativeObj, long dst1_nativeObj, long dst2_nativeObj, float sigma_s, float sigma_r, float shade_factor); + private static native void pencilSketch_1(long src_nativeObj, long dst1_nativeObj, long dst2_nativeObj); + + // C++: void stylization(Mat src, Mat& dst, float sigma_s = 60, float sigma_r = 0.45f) + private static native void stylization_0(long src_nativeObj, long dst_nativeObj, float sigma_s, float sigma_r); + private static native void stylization_1(long src_nativeObj, long dst_nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/Tonemap.java b/opencv3/src/org/opencv/photo/Tonemap.java new file mode 100644 index 0000000..a86d717 --- /dev/null +++ b/opencv3/src/org/opencv/photo/Tonemap.java @@ -0,0 +1,78 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; + +// C++: class Tonemap +//javadoc: Tonemap +public class Tonemap extends Algorithm { + + protected Tonemap(long addr) { super(addr); } + + + // + // C++: void process(Mat src, Mat& dst) + // + + //javadoc: Tonemap::process(src, dst) + public void process(Mat src, Mat dst) + { + + process_0(nativeObj, src.nativeObj, dst.nativeObj); + + return; + } + + + // + // C++: float getGamma() + // + + //javadoc: Tonemap::getGamma() + public float getGamma() + { + + float retVal = getGamma_0(nativeObj); + + return retVal; + } + + + // + // C++: void setGamma(float gamma) + // + + //javadoc: Tonemap::setGamma(gamma) + public void setGamma(float gamma) + { + + setGamma_0(nativeObj, gamma); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void process(Mat src, Mat& dst) + private static native void process_0(long nativeObj, long src_nativeObj, long dst_nativeObj); + + // C++: float getGamma() + private static native float getGamma_0(long nativeObj); + + // C++: void setGamma(float gamma) + private static native void setGamma_0(long nativeObj, float gamma); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/TonemapDrago.java b/opencv3/src/org/opencv/photo/TonemapDrago.java new file mode 100644 index 0000000..c090ca7 --- /dev/null +++ b/opencv3/src/org/opencv/photo/TonemapDrago.java @@ -0,0 +1,94 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + + + +// C++: class TonemapDrago +//javadoc: TonemapDrago +public class TonemapDrago extends Tonemap { + + protected TonemapDrago(long addr) { super(addr); } + + + // + // C++: float getSaturation() + // + + //javadoc: TonemapDrago::getSaturation() + public float getSaturation() + { + + float retVal = getSaturation_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSaturation(float saturation) + // + + //javadoc: TonemapDrago::setSaturation(saturation) + public void setSaturation(float saturation) + { + + setSaturation_0(nativeObj, saturation); + + return; + } + + + // + // C++: float getBias() + // + + //javadoc: TonemapDrago::getBias() + public float getBias() + { + + float retVal = getBias_0(nativeObj); + + return retVal; + } + + + // + // C++: void setBias(float bias) + // + + //javadoc: TonemapDrago::setBias(bias) + public void setBias(float bias) + { + + setBias_0(nativeObj, bias); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: float getSaturation() + private static native float getSaturation_0(long nativeObj); + + // C++: void setSaturation(float saturation) + private static native void setSaturation_0(long nativeObj, float saturation); + + // C++: float getBias() + private static native float getBias_0(long nativeObj); + + // C++: void setBias(float bias) + private static native void setBias_0(long nativeObj, float bias); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/TonemapDurand.java b/opencv3/src/org/opencv/photo/TonemapDurand.java new file mode 100644 index 0000000..51f23d2 --- /dev/null +++ b/opencv3/src/org/opencv/photo/TonemapDurand.java @@ -0,0 +1,162 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + + + +// C++: class TonemapDurand +//javadoc: TonemapDurand +public class TonemapDurand extends Tonemap { + + protected TonemapDurand(long addr) { super(addr); } + + + // + // C++: float getSaturation() + // + + //javadoc: TonemapDurand::getSaturation() + public float getSaturation() + { + + float retVal = getSaturation_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSaturation(float saturation) + // + + //javadoc: TonemapDurand::setSaturation(saturation) + public void setSaturation(float saturation) + { + + setSaturation_0(nativeObj, saturation); + + return; + } + + + // + // C++: float getContrast() + // + + //javadoc: TonemapDurand::getContrast() + public float getContrast() + { + + float retVal = getContrast_0(nativeObj); + + return retVal; + } + + + // + // C++: void setContrast(float contrast) + // + + //javadoc: TonemapDurand::setContrast(contrast) + public void setContrast(float contrast) + { + + setContrast_0(nativeObj, contrast); + + return; + } + + + // + // C++: float getSigmaSpace() + // + + //javadoc: TonemapDurand::getSigmaSpace() + public float getSigmaSpace() + { + + float retVal = getSigmaSpace_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSigmaSpace(float sigma_space) + // + + //javadoc: TonemapDurand::setSigmaSpace(sigma_space) + public void setSigmaSpace(float sigma_space) + { + + setSigmaSpace_0(nativeObj, sigma_space); + + return; + } + + + // + // C++: float getSigmaColor() + // + + //javadoc: TonemapDurand::getSigmaColor() + public float getSigmaColor() + { + + float retVal = getSigmaColor_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSigmaColor(float sigma_color) + // + + //javadoc: TonemapDurand::setSigmaColor(sigma_color) + public void setSigmaColor(float sigma_color) + { + + setSigmaColor_0(nativeObj, sigma_color); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: float getSaturation() + private static native float getSaturation_0(long nativeObj); + + // C++: void setSaturation(float saturation) + private static native void setSaturation_0(long nativeObj, float saturation); + + // C++: float getContrast() + private static native float getContrast_0(long nativeObj); + + // C++: void setContrast(float contrast) + private static native void setContrast_0(long nativeObj, float contrast); + + // C++: float getSigmaSpace() + private static native float getSigmaSpace_0(long nativeObj); + + // C++: void setSigmaSpace(float sigma_space) + private static native void setSigmaSpace_0(long nativeObj, float sigma_space); + + // C++: float getSigmaColor() + private static native float getSigmaColor_0(long nativeObj); + + // C++: void setSigmaColor(float sigma_color) + private static native void setSigmaColor_0(long nativeObj, float sigma_color); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/TonemapMantiuk.java b/opencv3/src/org/opencv/photo/TonemapMantiuk.java new file mode 100644 index 0000000..6a80930 --- /dev/null +++ b/opencv3/src/org/opencv/photo/TonemapMantiuk.java @@ -0,0 +1,94 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + + + +// C++: class TonemapMantiuk +//javadoc: TonemapMantiuk +public class TonemapMantiuk extends Tonemap { + + protected TonemapMantiuk(long addr) { super(addr); } + + + // + // C++: float getScale() + // + + //javadoc: TonemapMantiuk::getScale() + public float getScale() + { + + float retVal = getScale_0(nativeObj); + + return retVal; + } + + + // + // C++: void setScale(float scale) + // + + //javadoc: TonemapMantiuk::setScale(scale) + public void setScale(float scale) + { + + setScale_0(nativeObj, scale); + + return; + } + + + // + // C++: float getSaturation() + // + + //javadoc: TonemapMantiuk::getSaturation() + public float getSaturation() + { + + float retVal = getSaturation_0(nativeObj); + + return retVal; + } + + + // + // C++: void setSaturation(float saturation) + // + + //javadoc: TonemapMantiuk::setSaturation(saturation) + public void setSaturation(float saturation) + { + + setSaturation_0(nativeObj, saturation); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: float getScale() + private static native float getScale_0(long nativeObj); + + // C++: void setScale(float scale) + private static native void setScale_0(long nativeObj, float scale); + + // C++: float getSaturation() + private static native float getSaturation_0(long nativeObj); + + // C++: void setSaturation(float saturation) + private static native void setSaturation_0(long nativeObj, float saturation); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/photo/TonemapReinhard.java b/opencv3/src/org/opencv/photo/TonemapReinhard.java new file mode 100644 index 0000000..6dfb043 --- /dev/null +++ b/opencv3/src/org/opencv/photo/TonemapReinhard.java @@ -0,0 +1,128 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.photo; + + + +// C++: class TonemapReinhard +//javadoc: TonemapReinhard +public class TonemapReinhard extends Tonemap { + + protected TonemapReinhard(long addr) { super(addr); } + + + // + // C++: float getIntensity() + // + + //javadoc: TonemapReinhard::getIntensity() + public float getIntensity() + { + + float retVal = getIntensity_0(nativeObj); + + return retVal; + } + + + // + // C++: void setIntensity(float intensity) + // + + //javadoc: TonemapReinhard::setIntensity(intensity) + public void setIntensity(float intensity) + { + + setIntensity_0(nativeObj, intensity); + + return; + } + + + // + // C++: float getLightAdaptation() + // + + //javadoc: TonemapReinhard::getLightAdaptation() + public float getLightAdaptation() + { + + float retVal = getLightAdaptation_0(nativeObj); + + return retVal; + } + + + // + // C++: void setLightAdaptation(float light_adapt) + // + + //javadoc: TonemapReinhard::setLightAdaptation(light_adapt) + public void setLightAdaptation(float light_adapt) + { + + setLightAdaptation_0(nativeObj, light_adapt); + + return; + } + + + // + // C++: float getColorAdaptation() + // + + //javadoc: TonemapReinhard::getColorAdaptation() + public float getColorAdaptation() + { + + float retVal = getColorAdaptation_0(nativeObj); + + return retVal; + } + + + // + // C++: void setColorAdaptation(float color_adapt) + // + + //javadoc: TonemapReinhard::setColorAdaptation(color_adapt) + public void setColorAdaptation(float color_adapt) + { + + setColorAdaptation_0(nativeObj, color_adapt); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: float getIntensity() + private static native float getIntensity_0(long nativeObj); + + // C++: void setIntensity(float intensity) + private static native void setIntensity_0(long nativeObj, float intensity); + + // C++: float getLightAdaptation() + private static native float getLightAdaptation_0(long nativeObj); + + // C++: void setLightAdaptation(float light_adapt) + private static native void setLightAdaptation_0(long nativeObj, float light_adapt); + + // C++: float getColorAdaptation() + private static native float getColorAdaptation_0(long nativeObj); + + // C++: void setColorAdaptation(float color_adapt) + private static native void setColorAdaptation_0(long nativeObj, float color_adapt); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/utils/Converters.java b/opencv3/src/org/opencv/utils/Converters.java new file mode 100644 index 0000000..bd3bb64 --- /dev/null +++ b/opencv3/src/org/opencv/utils/Converters.java @@ -0,0 +1,736 @@ +package org.opencv.utils; + +import java.util.ArrayList; +import java.util.List; + +import org.opencv.core.CvType; +import org.opencv.core.Mat; +import org.opencv.core.MatOfByte; +import org.opencv.core.MatOfDMatch; +import org.opencv.core.MatOfKeyPoint; +import org.opencv.core.MatOfPoint; +import org.opencv.core.MatOfPoint2f; +import org.opencv.core.MatOfPoint3f; +import org.opencv.core.Point; +import org.opencv.core.Point3; +import org.opencv.core.Rect; +import org.opencv.core.DMatch; +import org.opencv.core.KeyPoint; + +public class Converters { + + public static Mat vector_Point_to_Mat(List pts) { + return vector_Point_to_Mat(pts, CvType.CV_32S); + } + + public static Mat vector_Point2f_to_Mat(List pts) { + return vector_Point_to_Mat(pts, CvType.CV_32F); + } + + public static Mat vector_Point2d_to_Mat(List pts) { + return vector_Point_to_Mat(pts, CvType.CV_64F); + } + + public static Mat vector_Point_to_Mat(List pts, int typeDepth) { + Mat res; + int count = (pts != null) ? pts.size() : 0; + if (count > 0) { + switch (typeDepth) { + case CvType.CV_32S: { + res = new Mat(count, 1, CvType.CV_32SC2); + int[] buff = new int[count * 2]; + for (int i = 0; i < count; i++) { + Point p = pts.get(i); + buff[i * 2] = (int) p.x; + buff[i * 2 + 1] = (int) p.y; + } + res.put(0, 0, buff); + } + break; + + case CvType.CV_32F: { + res = new Mat(count, 1, CvType.CV_32FC2); + float[] buff = new float[count * 2]; + for (int i = 0; i < count; i++) { + Point p = pts.get(i); + buff[i * 2] = (float) p.x; + buff[i * 2 + 1] = (float) p.y; + } + res.put(0, 0, buff); + } + break; + + case CvType.CV_64F: { + res = new Mat(count, 1, CvType.CV_64FC2); + double[] buff = new double[count * 2]; + for (int i = 0; i < count; i++) { + Point p = pts.get(i); + buff[i * 2] = p.x; + buff[i * 2 + 1] = p.y; + } + res.put(0, 0, buff); + } + break; + + default: + throw new IllegalArgumentException("'typeDepth' can be CV_32S, CV_32F or CV_64F"); + } + } else { + res = new Mat(); + } + return res; + } + + public static Mat vector_Point3i_to_Mat(List pts) { + return vector_Point3_to_Mat(pts, CvType.CV_32S); + } + + public static Mat vector_Point3f_to_Mat(List pts) { + return vector_Point3_to_Mat(pts, CvType.CV_32F); + } + + public static Mat vector_Point3d_to_Mat(List pts) { + return vector_Point3_to_Mat(pts, CvType.CV_64F); + } + + public static Mat vector_Point3_to_Mat(List pts, int typeDepth) { + Mat res; + int count = (pts != null) ? pts.size() : 0; + if (count > 0) { + switch (typeDepth) { + case CvType.CV_32S: { + res = new Mat(count, 1, CvType.CV_32SC3); + int[] buff = new int[count * 3]; + for (int i = 0; i < count; i++) { + Point3 p = pts.get(i); + buff[i * 3] = (int) p.x; + buff[i * 3 + 1] = (int) p.y; + buff[i * 3 + 2] = (int) p.z; + } + res.put(0, 0, buff); + } + break; + + case CvType.CV_32F: { + res = new Mat(count, 1, CvType.CV_32FC3); + float[] buff = new float[count * 3]; + for (int i = 0; i < count; i++) { + Point3 p = pts.get(i); + buff[i * 3] = (float) p.x; + buff[i * 3 + 1] = (float) p.y; + buff[i * 3 + 2] = (float) p.z; + } + res.put(0, 0, buff); + } + break; + + case CvType.CV_64F: { + res = new Mat(count, 1, CvType.CV_64FC3); + double[] buff = new double[count * 3]; + for (int i = 0; i < count; i++) { + Point3 p = pts.get(i); + buff[i * 3] = p.x; + buff[i * 3 + 1] = p.y; + buff[i * 3 + 2] = p.z; + } + res.put(0, 0, buff); + } + break; + + default: + throw new IllegalArgumentException("'typeDepth' can be CV_32S, CV_32F or CV_64F"); + } + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_Point2f(Mat m, List pts) { + Mat_to_vector_Point(m, pts); + } + + public static void Mat_to_vector_Point2d(Mat m, List pts) { + Mat_to_vector_Point(m, pts); + } + + public static void Mat_to_vector_Point(Mat m, List pts) { + if (pts == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + int count = m.rows(); + int type = m.type(); + if (m.cols() != 1) + throw new java.lang.IllegalArgumentException("Input Mat should have one column\n" + m); + + pts.clear(); + if (type == CvType.CV_32SC2) { + int[] buff = new int[2 * count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + pts.add(new Point(buff[i * 2], buff[i * 2 + 1])); + } + } else if (type == CvType.CV_32FC2) { + float[] buff = new float[2 * count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + pts.add(new Point(buff[i * 2], buff[i * 2 + 1])); + } + } else if (type == CvType.CV_64FC2) { + double[] buff = new double[2 * count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + pts.add(new Point(buff[i * 2], buff[i * 2 + 1])); + } + } else { + throw new java.lang.IllegalArgumentException( + "Input Mat should be of CV_32SC2, CV_32FC2 or CV_64FC2 type\n" + m); + } + } + + public static void Mat_to_vector_Point3i(Mat m, List pts) { + Mat_to_vector_Point3(m, pts); + } + + public static void Mat_to_vector_Point3f(Mat m, List pts) { + Mat_to_vector_Point3(m, pts); + } + + public static void Mat_to_vector_Point3d(Mat m, List pts) { + Mat_to_vector_Point3(m, pts); + } + + public static void Mat_to_vector_Point3(Mat m, List pts) { + if (pts == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + int count = m.rows(); + int type = m.type(); + if (m.cols() != 1) + throw new java.lang.IllegalArgumentException("Input Mat should have one column\n" + m); + + pts.clear(); + if (type == CvType.CV_32SC3) { + int[] buff = new int[3 * count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + pts.add(new Point3(buff[i * 3], buff[i * 3 + 1], buff[i * 3 + 2])); + } + } else if (type == CvType.CV_32FC3) { + float[] buff = new float[3 * count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + pts.add(new Point3(buff[i * 3], buff[i * 3 + 1], buff[i * 3 + 2])); + } + } else if (type == CvType.CV_64FC3) { + double[] buff = new double[3 * count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + pts.add(new Point3(buff[i * 3], buff[i * 3 + 1], buff[i * 3 + 2])); + } + } else { + throw new java.lang.IllegalArgumentException( + "Input Mat should be of CV_32SC3, CV_32FC3 or CV_64FC3 type\n" + m); + } + } + + public static Mat vector_Mat_to_Mat(List mats) { + Mat res; + int count = (mats != null) ? mats.size() : 0; + if (count > 0) { + res = new Mat(count, 1, CvType.CV_32SC2); + int[] buff = new int[count * 2]; + for (int i = 0; i < count; i++) { + long addr = mats.get(i).nativeObj; + buff[i * 2] = (int) (addr >> 32); + buff[i * 2 + 1] = (int) (addr & 0xffffffff); + } + res.put(0, 0, buff); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_Mat(Mat m, List mats) { + if (mats == null) + throw new java.lang.IllegalArgumentException("mats == null"); + int count = m.rows(); + if (CvType.CV_32SC2 != m.type() || m.cols() != 1) + throw new java.lang.IllegalArgumentException( + "CvType.CV_32SC2 != m.type() || m.cols()!=1\n" + m); + + mats.clear(); + int[] buff = new int[count * 2]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + long addr = (((long) buff[i * 2]) << 32) | (((long) buff[i * 2 + 1]) & 0xffffffffL); + mats.add(new Mat(addr)); + } + } + + public static Mat vector_float_to_Mat(List fs) { + Mat res; + int count = (fs != null) ? fs.size() : 0; + if (count > 0) { + res = new Mat(count, 1, CvType.CV_32FC1); + float[] buff = new float[count]; + for (int i = 0; i < count; i++) { + float f = fs.get(i); + buff[i] = f; + } + res.put(0, 0, buff); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_float(Mat m, List fs) { + if (fs == null) + throw new java.lang.IllegalArgumentException("fs == null"); + int count = m.rows(); + if (CvType.CV_32FC1 != m.type() || m.cols() != 1) + throw new java.lang.IllegalArgumentException( + "CvType.CV_32FC1 != m.type() || m.cols()!=1\n" + m); + + fs.clear(); + float[] buff = new float[count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + fs.add(buff[i]); + } + } + + public static Mat vector_uchar_to_Mat(List bs) { + Mat res; + int count = (bs != null) ? bs.size() : 0; + if (count > 0) { + res = new Mat(count, 1, CvType.CV_8UC1); + byte[] buff = new byte[count]; + for (int i = 0; i < count; i++) { + byte b = bs.get(i); + buff[i] = b; + } + res.put(0, 0, buff); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_uchar(Mat m, List us) { + if (us == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + int count = m.rows(); + if (CvType.CV_8UC1 != m.type() || m.cols() != 1) + throw new java.lang.IllegalArgumentException( + "CvType.CV_8UC1 != m.type() || m.cols()!=1\n" + m); + + us.clear(); + byte[] buff = new byte[count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + us.add(buff[i]); + } + } + + public static Mat vector_char_to_Mat(List bs) { + Mat res; + int count = (bs != null) ? bs.size() : 0; + if (count > 0) { + res = new Mat(count, 1, CvType.CV_8SC1); + byte[] buff = new byte[count]; + for (int i = 0; i < count; i++) { + byte b = bs.get(i); + buff[i] = b; + } + res.put(0, 0, buff); + } else { + res = new Mat(); + } + return res; + } + + public static Mat vector_int_to_Mat(List is) { + Mat res; + int count = (is != null) ? is.size() : 0; + if (count > 0) { + res = new Mat(count, 1, CvType.CV_32SC1); + int[] buff = new int[count]; + for (int i = 0; i < count; i++) { + int v = is.get(i); + buff[i] = v; + } + res.put(0, 0, buff); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_int(Mat m, List is) { + if (is == null) + throw new java.lang.IllegalArgumentException("is == null"); + int count = m.rows(); + if (CvType.CV_32SC1 != m.type() || m.cols() != 1) + throw new java.lang.IllegalArgumentException( + "CvType.CV_32SC1 != m.type() || m.cols()!=1\n" + m); + + is.clear(); + int[] buff = new int[count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + is.add(buff[i]); + } + } + + public static void Mat_to_vector_char(Mat m, List bs) { + if (bs == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + int count = m.rows(); + if (CvType.CV_8SC1 != m.type() || m.cols() != 1) + throw new java.lang.IllegalArgumentException( + "CvType.CV_8SC1 != m.type() || m.cols()!=1\n" + m); + + bs.clear(); + byte[] buff = new byte[count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + bs.add(buff[i]); + } + } + + public static Mat vector_Rect_to_Mat(List rs) { + Mat res; + int count = (rs != null) ? rs.size() : 0; + if (count > 0) { + res = new Mat(count, 1, CvType.CV_32SC4); + int[] buff = new int[4 * count]; + for (int i = 0; i < count; i++) { + Rect r = rs.get(i); + buff[4 * i] = r.x; + buff[4 * i + 1] = r.y; + buff[4 * i + 2] = r.width; + buff[4 * i + 3] = r.height; + } + res.put(0, 0, buff); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_Rect(Mat m, List rs) { + if (rs == null) + throw new java.lang.IllegalArgumentException("rs == null"); + int count = m.rows(); + if (CvType.CV_32SC4 != m.type() || m.cols() != 1) + throw new java.lang.IllegalArgumentException( + "CvType.CV_32SC4 != m.type() || m.rows()!=1\n" + m); + + rs.clear(); + int[] buff = new int[4 * count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + rs.add(new Rect(buff[4 * i], buff[4 * i + 1], buff[4 * i + 2], buff[4 * i + 3])); + } + } + + public static Mat vector_KeyPoint_to_Mat(List kps) { + Mat res; + int count = (kps != null) ? kps.size() : 0; + if (count > 0) { + res = new Mat(count, 1, CvType.CV_64FC(7)); + double[] buff = new double[count * 7]; + for (int i = 0; i < count; i++) { + KeyPoint kp = kps.get(i); + buff[7 * i] = kp.pt.x; + buff[7 * i + 1] = kp.pt.y; + buff[7 * i + 2] = kp.size; + buff[7 * i + 3] = kp.angle; + buff[7 * i + 4] = kp.response; + buff[7 * i + 5] = kp.octave; + buff[7 * i + 6] = kp.class_id; + } + res.put(0, 0, buff); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_KeyPoint(Mat m, List kps) { + if (kps == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + int count = m.rows(); + if (CvType.CV_64FC(7) != m.type() || m.cols() != 1) + throw new java.lang.IllegalArgumentException( + "CvType.CV_64FC(7) != m.type() || m.cols()!=1\n" + m); + + kps.clear(); + double[] buff = new double[7 * count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + kps.add(new KeyPoint((float) buff[7 * i], (float) buff[7 * i + 1], (float) buff[7 * i + 2], (float) buff[7 * i + 3], + (float) buff[7 * i + 4], (int) buff[7 * i + 5], (int) buff[7 * i + 6])); + } + } + + // vector_vector_Point + public static Mat vector_vector_Point_to_Mat(List pts, List mats) { + Mat res; + int lCount = (pts != null) ? pts.size() : 0; + if (lCount > 0) { + for (MatOfPoint vpt : pts) + mats.add(vpt); + res = vector_Mat_to_Mat(mats); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_vector_Point(Mat m, List pts) { + if (pts == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + + if (m == null) + throw new java.lang.IllegalArgumentException("Input Mat can't be null"); + + List mats = new ArrayList(m.rows()); + Mat_to_vector_Mat(m, mats); + for (Mat mi : mats) { + MatOfPoint pt = new MatOfPoint(mi); + pts.add(pt); + mi.release(); + } + mats.clear(); + } + + // vector_vector_Point2f + public static void Mat_to_vector_vector_Point2f(Mat m, List pts) { + if (pts == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + + if (m == null) + throw new java.lang.IllegalArgumentException("Input Mat can't be null"); + + List mats = new ArrayList(m.rows()); + Mat_to_vector_Mat(m, mats); + for (Mat mi : mats) { + MatOfPoint2f pt = new MatOfPoint2f(mi); + pts.add(pt); + mi.release(); + } + mats.clear(); + } + + // vector_vector_Point2f + public static Mat vector_vector_Point2f_to_Mat(List pts, List mats) { + Mat res; + int lCount = (pts != null) ? pts.size() : 0; + if (lCount > 0) { + for (MatOfPoint2f vpt : pts) + mats.add(vpt); + res = vector_Mat_to_Mat(mats); + } else { + res = new Mat(); + } + return res; + } + + // vector_vector_Point3f + public static void Mat_to_vector_vector_Point3f(Mat m, List pts) { + if (pts == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + + if (m == null) + throw new java.lang.IllegalArgumentException("Input Mat can't be null"); + + List mats = new ArrayList(m.rows()); + Mat_to_vector_Mat(m, mats); + for (Mat mi : mats) { + MatOfPoint3f pt = new MatOfPoint3f(mi); + pts.add(pt); + mi.release(); + } + mats.clear(); + } + + // vector_vector_Point3f + public static Mat vector_vector_Point3f_to_Mat(List pts, List mats) { + Mat res; + int lCount = (pts != null) ? pts.size() : 0; + if (lCount > 0) { + for (MatOfPoint3f vpt : pts) + mats.add(vpt); + res = vector_Mat_to_Mat(mats); + } else { + res = new Mat(); + } + return res; + } + + // vector_vector_KeyPoint + public static Mat vector_vector_KeyPoint_to_Mat(List kps, List mats) { + Mat res; + int lCount = (kps != null) ? kps.size() : 0; + if (lCount > 0) { + for (MatOfKeyPoint vkp : kps) + mats.add(vkp); + res = vector_Mat_to_Mat(mats); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_vector_KeyPoint(Mat m, List kps) { + if (kps == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + + if (m == null) + throw new java.lang.IllegalArgumentException("Input Mat can't be null"); + + List mats = new ArrayList(m.rows()); + Mat_to_vector_Mat(m, mats); + for (Mat mi : mats) { + MatOfKeyPoint vkp = new MatOfKeyPoint(mi); + kps.add(vkp); + mi.release(); + } + mats.clear(); + } + + public static Mat vector_double_to_Mat(List ds) { + Mat res; + int count = (ds != null) ? ds.size() : 0; + if (count > 0) { + res = new Mat(count, 1, CvType.CV_64FC1); + double[] buff = new double[count]; + for (int i = 0; i < count; i++) { + double v = ds.get(i); + buff[i] = v; + } + res.put(0, 0, buff); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_double(Mat m, List ds) { + if (ds == null) + throw new java.lang.IllegalArgumentException("ds == null"); + int count = m.rows(); + if (CvType.CV_64FC1 != m.type() || m.cols() != 1) + throw new java.lang.IllegalArgumentException( + "CvType.CV_64FC1 != m.type() || m.cols()!=1\n" + m); + + ds.clear(); + double[] buff = new double[count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + ds.add(buff[i]); + } + } + + public static Mat vector_DMatch_to_Mat(List matches) { + Mat res; + int count = (matches != null) ? matches.size() : 0; + if (count > 0) { + res = new Mat(count, 1, CvType.CV_64FC4); + double[] buff = new double[count * 4]; + for (int i = 0; i < count; i++) { + DMatch m = matches.get(i); + buff[4 * i] = m.queryIdx; + buff[4 * i + 1] = m.trainIdx; + buff[4 * i + 2] = m.imgIdx; + buff[4 * i + 3] = m.distance; + } + res.put(0, 0, buff); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_DMatch(Mat m, List matches) { + if (matches == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + int count = m.rows(); + if (CvType.CV_64FC4 != m.type() || m.cols() != 1) + throw new java.lang.IllegalArgumentException( + "CvType.CV_64FC4 != m.type() || m.cols()!=1\n" + m); + + matches.clear(); + double[] buff = new double[4 * count]; + m.get(0, 0, buff); + for (int i = 0; i < count; i++) { + matches.add(new DMatch((int) buff[4 * i], (int) buff[4 * i + 1], (int) buff[4 * i + 2], (float) buff[4 * i + 3])); + } + } + + // vector_vector_DMatch + public static Mat vector_vector_DMatch_to_Mat(List lvdm, List mats) { + Mat res; + int lCount = (lvdm != null) ? lvdm.size() : 0; + if (lCount > 0) { + for (MatOfDMatch vdm : lvdm) + mats.add(vdm); + res = vector_Mat_to_Mat(mats); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_vector_DMatch(Mat m, List lvdm) { + if (lvdm == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + + if (m == null) + throw new java.lang.IllegalArgumentException("Input Mat can't be null"); + + List mats = new ArrayList(m.rows()); + Mat_to_vector_Mat(m, mats); + lvdm.clear(); + for (Mat mi : mats) { + MatOfDMatch vdm = new MatOfDMatch(mi); + lvdm.add(vdm); + mi.release(); + } + mats.clear(); + } + + // vector_vector_char + public static Mat vector_vector_char_to_Mat(List lvb, List mats) { + Mat res; + int lCount = (lvb != null) ? lvb.size() : 0; + if (lCount > 0) { + for (MatOfByte vb : lvb) + mats.add(vb); + res = vector_Mat_to_Mat(mats); + } else { + res = new Mat(); + } + return res; + } + + public static void Mat_to_vector_vector_char(Mat m, List> llb) { + if (llb == null) + throw new java.lang.IllegalArgumentException("Output List can't be null"); + + if (m == null) + throw new java.lang.IllegalArgumentException("Input Mat can't be null"); + + List mats = new ArrayList(m.rows()); + Mat_to_vector_Mat(m, mats); + for (Mat mi : mats) { + List lb = new ArrayList(); + Mat_to_vector_char(mi, lb); + llb.add(lb); + mi.release(); + } + mats.clear(); + } +} diff --git a/opencv3/src/org/opencv/video/BackgroundSubtractor.java b/opencv3/src/org/opencv/video/BackgroundSubtractor.java new file mode 100644 index 0000000..581ce66 --- /dev/null +++ b/opencv3/src/org/opencv/video/BackgroundSubtractor.java @@ -0,0 +1,71 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.video; + +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; + +// C++: class BackgroundSubtractor +//javadoc: BackgroundSubtractor +public class BackgroundSubtractor extends Algorithm { + + protected BackgroundSubtractor(long addr) { super(addr); } + + + // + // C++: void apply(Mat image, Mat& fgmask, double learningRate = -1) + // + + //javadoc: BackgroundSubtractor::apply(image, fgmask, learningRate) + public void apply(Mat image, Mat fgmask, double learningRate) + { + + apply_0(nativeObj, image.nativeObj, fgmask.nativeObj, learningRate); + + return; + } + + //javadoc: BackgroundSubtractor::apply(image, fgmask) + public void apply(Mat image, Mat fgmask) + { + + apply_1(nativeObj, image.nativeObj, fgmask.nativeObj); + + return; + } + + + // + // C++: void getBackgroundImage(Mat& backgroundImage) + // + + //javadoc: BackgroundSubtractor::getBackgroundImage(backgroundImage) + public void getBackgroundImage(Mat backgroundImage) + { + + getBackgroundImage_0(nativeObj, backgroundImage.nativeObj); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void apply(Mat image, Mat& fgmask, double learningRate = -1) + private static native void apply_0(long nativeObj, long image_nativeObj, long fgmask_nativeObj, double learningRate); + private static native void apply_1(long nativeObj, long image_nativeObj, long fgmask_nativeObj); + + // C++: void getBackgroundImage(Mat& backgroundImage) + private static native void getBackgroundImage_0(long nativeObj, long backgroundImage_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/video/BackgroundSubtractorKNN.java b/opencv3/src/org/opencv/video/BackgroundSubtractorKNN.java new file mode 100644 index 0000000..ec471ea --- /dev/null +++ b/opencv3/src/org/opencv/video/BackgroundSubtractorKNN.java @@ -0,0 +1,264 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.video; + + + +// C++: class BackgroundSubtractorKNN +//javadoc: BackgroundSubtractorKNN +public class BackgroundSubtractorKNN extends BackgroundSubtractor { + + protected BackgroundSubtractorKNN(long addr) { super(addr); } + + + // + // C++: int getHistory() + // + + //javadoc: BackgroundSubtractorKNN::getHistory() + public int getHistory() + { + + int retVal = getHistory_0(nativeObj); + + return retVal; + } + + + // + // C++: void setHistory(int history) + // + + //javadoc: BackgroundSubtractorKNN::setHistory(history) + public void setHistory(int history) + { + + setHistory_0(nativeObj, history); + + return; + } + + + // + // C++: int getNSamples() + // + + //javadoc: BackgroundSubtractorKNN::getNSamples() + public int getNSamples() + { + + int retVal = getNSamples_0(nativeObj); + + return retVal; + } + + + // + // C++: void setNSamples(int _nN) + // + + //javadoc: BackgroundSubtractorKNN::setNSamples(_nN) + public void setNSamples(int _nN) + { + + setNSamples_0(nativeObj, _nN); + + return; + } + + + // + // C++: double getDist2Threshold() + // + + //javadoc: BackgroundSubtractorKNN::getDist2Threshold() + public double getDist2Threshold() + { + + double retVal = getDist2Threshold_0(nativeObj); + + return retVal; + } + + + // + // C++: void setDist2Threshold(double _dist2Threshold) + // + + //javadoc: BackgroundSubtractorKNN::setDist2Threshold(_dist2Threshold) + public void setDist2Threshold(double _dist2Threshold) + { + + setDist2Threshold_0(nativeObj, _dist2Threshold); + + return; + } + + + // + // C++: int getkNNSamples() + // + + //javadoc: BackgroundSubtractorKNN::getkNNSamples() + public int getkNNSamples() + { + + int retVal = getkNNSamples_0(nativeObj); + + return retVal; + } + + + // + // C++: void setkNNSamples(int _nkNN) + // + + //javadoc: BackgroundSubtractorKNN::setkNNSamples(_nkNN) + public void setkNNSamples(int _nkNN) + { + + setkNNSamples_0(nativeObj, _nkNN); + + return; + } + + + // + // C++: bool getDetectShadows() + // + + //javadoc: BackgroundSubtractorKNN::getDetectShadows() + public boolean getDetectShadows() + { + + boolean retVal = getDetectShadows_0(nativeObj); + + return retVal; + } + + + // + // C++: void setDetectShadows(bool detectShadows) + // + + //javadoc: BackgroundSubtractorKNN::setDetectShadows(detectShadows) + public void setDetectShadows(boolean detectShadows) + { + + setDetectShadows_0(nativeObj, detectShadows); + + return; + } + + + // + // C++: int getShadowValue() + // + + //javadoc: BackgroundSubtractorKNN::getShadowValue() + public int getShadowValue() + { + + int retVal = getShadowValue_0(nativeObj); + + return retVal; + } + + + // + // C++: void setShadowValue(int value) + // + + //javadoc: BackgroundSubtractorKNN::setShadowValue(value) + public void setShadowValue(int value) + { + + setShadowValue_0(nativeObj, value); + + return; + } + + + // + // C++: double getShadowThreshold() + // + + //javadoc: BackgroundSubtractorKNN::getShadowThreshold() + public double getShadowThreshold() + { + + double retVal = getShadowThreshold_0(nativeObj); + + return retVal; + } + + + // + // C++: void setShadowThreshold(double threshold) + // + + //javadoc: BackgroundSubtractorKNN::setShadowThreshold(threshold) + public void setShadowThreshold(double threshold) + { + + setShadowThreshold_0(nativeObj, threshold); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: int getHistory() + private static native int getHistory_0(long nativeObj); + + // C++: void setHistory(int history) + private static native void setHistory_0(long nativeObj, int history); + + // C++: int getNSamples() + private static native int getNSamples_0(long nativeObj); + + // C++: void setNSamples(int _nN) + private static native void setNSamples_0(long nativeObj, int _nN); + + // C++: double getDist2Threshold() + private static native double getDist2Threshold_0(long nativeObj); + + // C++: void setDist2Threshold(double _dist2Threshold) + private static native void setDist2Threshold_0(long nativeObj, double _dist2Threshold); + + // C++: int getkNNSamples() + private static native int getkNNSamples_0(long nativeObj); + + // C++: void setkNNSamples(int _nkNN) + private static native void setkNNSamples_0(long nativeObj, int _nkNN); + + // C++: bool getDetectShadows() + private static native boolean getDetectShadows_0(long nativeObj); + + // C++: void setDetectShadows(bool detectShadows) + private static native void setDetectShadows_0(long nativeObj, boolean detectShadows); + + // C++: int getShadowValue() + private static native int getShadowValue_0(long nativeObj); + + // C++: void setShadowValue(int value) + private static native void setShadowValue_0(long nativeObj, int value); + + // C++: double getShadowThreshold() + private static native double getShadowThreshold_0(long nativeObj); + + // C++: void setShadowThreshold(double threshold) + private static native void setShadowThreshold_0(long nativeObj, double threshold); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/video/BackgroundSubtractorMOG2.java b/opencv3/src/org/opencv/video/BackgroundSubtractorMOG2.java new file mode 100644 index 0000000..3bfd908 --- /dev/null +++ b/opencv3/src/org/opencv/video/BackgroundSubtractorMOG2.java @@ -0,0 +1,434 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.video; + + + +// C++: class BackgroundSubtractorMOG2 +//javadoc: BackgroundSubtractorMOG2 +public class BackgroundSubtractorMOG2 extends BackgroundSubtractor { + + protected BackgroundSubtractorMOG2(long addr) { super(addr); } + + + // + // C++: double getVarMin() + // + + //javadoc: BackgroundSubtractorMOG2::getVarMin() + public double getVarMin() + { + + double retVal = getVarMin_0(nativeObj); + + return retVal; + } + + + // + // C++: void setVarMin(double varMin) + // + + //javadoc: BackgroundSubtractorMOG2::setVarMin(varMin) + public void setVarMin(double varMin) + { + + setVarMin_0(nativeObj, varMin); + + return; + } + + + // + // C++: double getVarMax() + // + + //javadoc: BackgroundSubtractorMOG2::getVarMax() + public double getVarMax() + { + + double retVal = getVarMax_0(nativeObj); + + return retVal; + } + + + // + // C++: void setVarMax(double varMax) + // + + //javadoc: BackgroundSubtractorMOG2::setVarMax(varMax) + public void setVarMax(double varMax) + { + + setVarMax_0(nativeObj, varMax); + + return; + } + + + // + // C++: double getComplexityReductionThreshold() + // + + //javadoc: BackgroundSubtractorMOG2::getComplexityReductionThreshold() + public double getComplexityReductionThreshold() + { + + double retVal = getComplexityReductionThreshold_0(nativeObj); + + return retVal; + } + + + // + // C++: void setComplexityReductionThreshold(double ct) + // + + //javadoc: BackgroundSubtractorMOG2::setComplexityReductionThreshold(ct) + public void setComplexityReductionThreshold(double ct) + { + + setComplexityReductionThreshold_0(nativeObj, ct); + + return; + } + + + // + // C++: bool getDetectShadows() + // + + //javadoc: BackgroundSubtractorMOG2::getDetectShadows() + public boolean getDetectShadows() + { + + boolean retVal = getDetectShadows_0(nativeObj); + + return retVal; + } + + + // + // C++: void setDetectShadows(bool detectShadows) + // + + //javadoc: BackgroundSubtractorMOG2::setDetectShadows(detectShadows) + public void setDetectShadows(boolean detectShadows) + { + + setDetectShadows_0(nativeObj, detectShadows); + + return; + } + + + // + // C++: int getShadowValue() + // + + //javadoc: BackgroundSubtractorMOG2::getShadowValue() + public int getShadowValue() + { + + int retVal = getShadowValue_0(nativeObj); + + return retVal; + } + + + // + // C++: void setShadowValue(int value) + // + + //javadoc: BackgroundSubtractorMOG2::setShadowValue(value) + public void setShadowValue(int value) + { + + setShadowValue_0(nativeObj, value); + + return; + } + + + // + // C++: double getShadowThreshold() + // + + //javadoc: BackgroundSubtractorMOG2::getShadowThreshold() + public double getShadowThreshold() + { + + double retVal = getShadowThreshold_0(nativeObj); + + return retVal; + } + + + // + // C++: void setShadowThreshold(double threshold) + // + + //javadoc: BackgroundSubtractorMOG2::setShadowThreshold(threshold) + public void setShadowThreshold(double threshold) + { + + setShadowThreshold_0(nativeObj, threshold); + + return; + } + + + // + // C++: int getHistory() + // + + //javadoc: BackgroundSubtractorMOG2::getHistory() + public int getHistory() + { + + int retVal = getHistory_0(nativeObj); + + return retVal; + } + + + // + // C++: void setHistory(int history) + // + + //javadoc: BackgroundSubtractorMOG2::setHistory(history) + public void setHistory(int history) + { + + setHistory_0(nativeObj, history); + + return; + } + + + // + // C++: int getNMixtures() + // + + //javadoc: BackgroundSubtractorMOG2::getNMixtures() + public int getNMixtures() + { + + int retVal = getNMixtures_0(nativeObj); + + return retVal; + } + + + // + // C++: void setNMixtures(int nmixtures) + // + + //javadoc: BackgroundSubtractorMOG2::setNMixtures(nmixtures) + public void setNMixtures(int nmixtures) + { + + setNMixtures_0(nativeObj, nmixtures); + + return; + } + + + // + // C++: double getBackgroundRatio() + // + + //javadoc: BackgroundSubtractorMOG2::getBackgroundRatio() + public double getBackgroundRatio() + { + + double retVal = getBackgroundRatio_0(nativeObj); + + return retVal; + } + + + // + // C++: void setBackgroundRatio(double ratio) + // + + //javadoc: BackgroundSubtractorMOG2::setBackgroundRatio(ratio) + public void setBackgroundRatio(double ratio) + { + + setBackgroundRatio_0(nativeObj, ratio); + + return; + } + + + // + // C++: double getVarThreshold() + // + + //javadoc: BackgroundSubtractorMOG2::getVarThreshold() + public double getVarThreshold() + { + + double retVal = getVarThreshold_0(nativeObj); + + return retVal; + } + + + // + // C++: void setVarThreshold(double varThreshold) + // + + //javadoc: BackgroundSubtractorMOG2::setVarThreshold(varThreshold) + public void setVarThreshold(double varThreshold) + { + + setVarThreshold_0(nativeObj, varThreshold); + + return; + } + + + // + // C++: double getVarThresholdGen() + // + + //javadoc: BackgroundSubtractorMOG2::getVarThresholdGen() + public double getVarThresholdGen() + { + + double retVal = getVarThresholdGen_0(nativeObj); + + return retVal; + } + + + // + // C++: void setVarThresholdGen(double varThresholdGen) + // + + //javadoc: BackgroundSubtractorMOG2::setVarThresholdGen(varThresholdGen) + public void setVarThresholdGen(double varThresholdGen) + { + + setVarThresholdGen_0(nativeObj, varThresholdGen); + + return; + } + + + // + // C++: double getVarInit() + // + + //javadoc: BackgroundSubtractorMOG2::getVarInit() + public double getVarInit() + { + + double retVal = getVarInit_0(nativeObj); + + return retVal; + } + + + // + // C++: void setVarInit(double varInit) + // + + //javadoc: BackgroundSubtractorMOG2::setVarInit(varInit) + public void setVarInit(double varInit) + { + + setVarInit_0(nativeObj, varInit); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: double getVarMin() + private static native double getVarMin_0(long nativeObj); + + // C++: void setVarMin(double varMin) + private static native void setVarMin_0(long nativeObj, double varMin); + + // C++: double getVarMax() + private static native double getVarMax_0(long nativeObj); + + // C++: void setVarMax(double varMax) + private static native void setVarMax_0(long nativeObj, double varMax); + + // C++: double getComplexityReductionThreshold() + private static native double getComplexityReductionThreshold_0(long nativeObj); + + // C++: void setComplexityReductionThreshold(double ct) + private static native void setComplexityReductionThreshold_0(long nativeObj, double ct); + + // C++: bool getDetectShadows() + private static native boolean getDetectShadows_0(long nativeObj); + + // C++: void setDetectShadows(bool detectShadows) + private static native void setDetectShadows_0(long nativeObj, boolean detectShadows); + + // C++: int getShadowValue() + private static native int getShadowValue_0(long nativeObj); + + // C++: void setShadowValue(int value) + private static native void setShadowValue_0(long nativeObj, int value); + + // C++: double getShadowThreshold() + private static native double getShadowThreshold_0(long nativeObj); + + // C++: void setShadowThreshold(double threshold) + private static native void setShadowThreshold_0(long nativeObj, double threshold); + + // C++: int getHistory() + private static native int getHistory_0(long nativeObj); + + // C++: void setHistory(int history) + private static native void setHistory_0(long nativeObj, int history); + + // C++: int getNMixtures() + private static native int getNMixtures_0(long nativeObj); + + // C++: void setNMixtures(int nmixtures) + private static native void setNMixtures_0(long nativeObj, int nmixtures); + + // C++: double getBackgroundRatio() + private static native double getBackgroundRatio_0(long nativeObj); + + // C++: void setBackgroundRatio(double ratio) + private static native void setBackgroundRatio_0(long nativeObj, double ratio); + + // C++: double getVarThreshold() + private static native double getVarThreshold_0(long nativeObj); + + // C++: void setVarThreshold(double varThreshold) + private static native void setVarThreshold_0(long nativeObj, double varThreshold); + + // C++: double getVarThresholdGen() + private static native double getVarThresholdGen_0(long nativeObj); + + // C++: void setVarThresholdGen(double varThresholdGen) + private static native void setVarThresholdGen_0(long nativeObj, double varThresholdGen); + + // C++: double getVarInit() + private static native double getVarInit_0(long nativeObj); + + // C++: void setVarInit(double varInit) + private static native void setVarInit_0(long nativeObj, double varInit); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/video/DenseOpticalFlow.java b/opencv3/src/org/opencv/video/DenseOpticalFlow.java new file mode 100644 index 0000000..7639671 --- /dev/null +++ b/opencv3/src/org/opencv/video/DenseOpticalFlow.java @@ -0,0 +1,61 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.video; + +import org.opencv.core.Algorithm; +import org.opencv.core.Mat; + +// C++: class DenseOpticalFlow +//javadoc: DenseOpticalFlow +public class DenseOpticalFlow extends Algorithm { + + protected DenseOpticalFlow(long addr) { super(addr); } + + + // + // C++: void calc(Mat I0, Mat I1, Mat& flow) + // + + //javadoc: DenseOpticalFlow::calc(I0, I1, flow) + public void calc(Mat I0, Mat I1, Mat flow) + { + + calc_0(nativeObj, I0.nativeObj, I1.nativeObj, flow.nativeObj); + + return; + } + + + // + // C++: void collectGarbage() + // + + //javadoc: DenseOpticalFlow::collectGarbage() + public void collectGarbage() + { + + collectGarbage_0(nativeObj); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: void calc(Mat I0, Mat I1, Mat& flow) + private static native void calc_0(long nativeObj, long I0_nativeObj, long I1_nativeObj, long flow_nativeObj); + + // C++: void collectGarbage() + private static native void collectGarbage_0(long nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/video/DualTVL1OpticalFlow.java b/opencv3/src/org/opencv/video/DualTVL1OpticalFlow.java new file mode 100644 index 0000000..f5b0e7c --- /dev/null +++ b/opencv3/src/org/opencv/video/DualTVL1OpticalFlow.java @@ -0,0 +1,26 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.video; + + + +// C++: class DualTVL1OpticalFlow +//javadoc: DualTVL1OpticalFlow +public class DualTVL1OpticalFlow extends DenseOpticalFlow { + + protected DualTVL1OpticalFlow(long addr) { super(addr); } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/video/KalmanFilter.java b/opencv3/src/org/opencv/video/KalmanFilter.java new file mode 100644 index 0000000..272eb08 --- /dev/null +++ b/opencv3/src/org/opencv/video/KalmanFilter.java @@ -0,0 +1,455 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.video; + +import org.opencv.core.Mat; + +// C++: class KalmanFilter +//javadoc: KalmanFilter +public class KalmanFilter { + + protected final long nativeObj; + protected KalmanFilter(long addr) { nativeObj = addr; } + + + // + // C++: KalmanFilter() + // + + //javadoc: KalmanFilter::KalmanFilter() + public KalmanFilter() + { + + nativeObj = KalmanFilter_0(); + + return; + } + + + // + // C++: KalmanFilter(int dynamParams, int measureParams, int controlParams = 0, int type = CV_32F) + // + + //javadoc: KalmanFilter::KalmanFilter(dynamParams, measureParams, controlParams, type) + public KalmanFilter(int dynamParams, int measureParams, int controlParams, int type) + { + + nativeObj = KalmanFilter_1(dynamParams, measureParams, controlParams, type); + + return; + } + + //javadoc: KalmanFilter::KalmanFilter(dynamParams, measureParams) + public KalmanFilter(int dynamParams, int measureParams) + { + + nativeObj = KalmanFilter_2(dynamParams, measureParams); + + return; + } + + + // + // C++: Mat predict(Mat control = Mat()) + // + + //javadoc: KalmanFilter::predict(control) + public Mat predict(Mat control) + { + + Mat retVal = new Mat(predict_0(nativeObj, control.nativeObj)); + + return retVal; + } + + //javadoc: KalmanFilter::predict() + public Mat predict() + { + + Mat retVal = new Mat(predict_1(nativeObj)); + + return retVal; + } + + + // + // C++: Mat correct(Mat measurement) + // + + //javadoc: KalmanFilter::correct(measurement) + public Mat correct(Mat measurement) + { + + Mat retVal = new Mat(correct_0(nativeObj, measurement.nativeObj)); + + return retVal; + } + + + // + // C++: Mat KalmanFilter::statePre + // + + //javadoc: KalmanFilter::get_statePre() + public Mat get_statePre() + { + + Mat retVal = new Mat(get_statePre_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::statePre + // + + //javadoc: KalmanFilter::set_statePre(statePre) + public void set_statePre(Mat statePre) + { + + set_statePre_0(nativeObj, statePre.nativeObj); + + return; + } + + + // + // C++: Mat KalmanFilter::statePost + // + + //javadoc: KalmanFilter::get_statePost() + public Mat get_statePost() + { + + Mat retVal = new Mat(get_statePost_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::statePost + // + + //javadoc: KalmanFilter::set_statePost(statePost) + public void set_statePost(Mat statePost) + { + + set_statePost_0(nativeObj, statePost.nativeObj); + + return; + } + + + // + // C++: Mat KalmanFilter::transitionMatrix + // + + //javadoc: KalmanFilter::get_transitionMatrix() + public Mat get_transitionMatrix() + { + + Mat retVal = new Mat(get_transitionMatrix_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::transitionMatrix + // + + //javadoc: KalmanFilter::set_transitionMatrix(transitionMatrix) + public void set_transitionMatrix(Mat transitionMatrix) + { + + set_transitionMatrix_0(nativeObj, transitionMatrix.nativeObj); + + return; + } + + + // + // C++: Mat KalmanFilter::controlMatrix + // + + //javadoc: KalmanFilter::get_controlMatrix() + public Mat get_controlMatrix() + { + + Mat retVal = new Mat(get_controlMatrix_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::controlMatrix + // + + //javadoc: KalmanFilter::set_controlMatrix(controlMatrix) + public void set_controlMatrix(Mat controlMatrix) + { + + set_controlMatrix_0(nativeObj, controlMatrix.nativeObj); + + return; + } + + + // + // C++: Mat KalmanFilter::measurementMatrix + // + + //javadoc: KalmanFilter::get_measurementMatrix() + public Mat get_measurementMatrix() + { + + Mat retVal = new Mat(get_measurementMatrix_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::measurementMatrix + // + + //javadoc: KalmanFilter::set_measurementMatrix(measurementMatrix) + public void set_measurementMatrix(Mat measurementMatrix) + { + + set_measurementMatrix_0(nativeObj, measurementMatrix.nativeObj); + + return; + } + + + // + // C++: Mat KalmanFilter::processNoiseCov + // + + //javadoc: KalmanFilter::get_processNoiseCov() + public Mat get_processNoiseCov() + { + + Mat retVal = new Mat(get_processNoiseCov_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::processNoiseCov + // + + //javadoc: KalmanFilter::set_processNoiseCov(processNoiseCov) + public void set_processNoiseCov(Mat processNoiseCov) + { + + set_processNoiseCov_0(nativeObj, processNoiseCov.nativeObj); + + return; + } + + + // + // C++: Mat KalmanFilter::measurementNoiseCov + // + + //javadoc: KalmanFilter::get_measurementNoiseCov() + public Mat get_measurementNoiseCov() + { + + Mat retVal = new Mat(get_measurementNoiseCov_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::measurementNoiseCov + // + + //javadoc: KalmanFilter::set_measurementNoiseCov(measurementNoiseCov) + public void set_measurementNoiseCov(Mat measurementNoiseCov) + { + + set_measurementNoiseCov_0(nativeObj, measurementNoiseCov.nativeObj); + + return; + } + + + // + // C++: Mat KalmanFilter::errorCovPre + // + + //javadoc: KalmanFilter::get_errorCovPre() + public Mat get_errorCovPre() + { + + Mat retVal = new Mat(get_errorCovPre_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::errorCovPre + // + + //javadoc: KalmanFilter::set_errorCovPre(errorCovPre) + public void set_errorCovPre(Mat errorCovPre) + { + + set_errorCovPre_0(nativeObj, errorCovPre.nativeObj); + + return; + } + + + // + // C++: Mat KalmanFilter::gain + // + + //javadoc: KalmanFilter::get_gain() + public Mat get_gain() + { + + Mat retVal = new Mat(get_gain_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::gain + // + + //javadoc: KalmanFilter::set_gain(gain) + public void set_gain(Mat gain) + { + + set_gain_0(nativeObj, gain.nativeObj); + + return; + } + + + // + // C++: Mat KalmanFilter::errorCovPost + // + + //javadoc: KalmanFilter::get_errorCovPost() + public Mat get_errorCovPost() + { + + Mat retVal = new Mat(get_errorCovPost_0(nativeObj)); + + return retVal; + } + + + // + // C++: void KalmanFilter::errorCovPost + // + + //javadoc: KalmanFilter::set_errorCovPost(errorCovPost) + public void set_errorCovPost(Mat errorCovPost) + { + + set_errorCovPost_0(nativeObj, errorCovPost.nativeObj); + + return; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: KalmanFilter() + private static native long KalmanFilter_0(); + + // C++: KalmanFilter(int dynamParams, int measureParams, int controlParams = 0, int type = CV_32F) + private static native long KalmanFilter_1(int dynamParams, int measureParams, int controlParams, int type); + private static native long KalmanFilter_2(int dynamParams, int measureParams); + + // C++: Mat predict(Mat control = Mat()) + private static native long predict_0(long nativeObj, long control_nativeObj); + private static native long predict_1(long nativeObj); + + // C++: Mat correct(Mat measurement) + private static native long correct_0(long nativeObj, long measurement_nativeObj); + + // C++: Mat KalmanFilter::statePre + private static native long get_statePre_0(long nativeObj); + + // C++: void KalmanFilter::statePre + private static native void set_statePre_0(long nativeObj, long statePre_nativeObj); + + // C++: Mat KalmanFilter::statePost + private static native long get_statePost_0(long nativeObj); + + // C++: void KalmanFilter::statePost + private static native void set_statePost_0(long nativeObj, long statePost_nativeObj); + + // C++: Mat KalmanFilter::transitionMatrix + private static native long get_transitionMatrix_0(long nativeObj); + + // C++: void KalmanFilter::transitionMatrix + private static native void set_transitionMatrix_0(long nativeObj, long transitionMatrix_nativeObj); + + // C++: Mat KalmanFilter::controlMatrix + private static native long get_controlMatrix_0(long nativeObj); + + // C++: void KalmanFilter::controlMatrix + private static native void set_controlMatrix_0(long nativeObj, long controlMatrix_nativeObj); + + // C++: Mat KalmanFilter::measurementMatrix + private static native long get_measurementMatrix_0(long nativeObj); + + // C++: void KalmanFilter::measurementMatrix + private static native void set_measurementMatrix_0(long nativeObj, long measurementMatrix_nativeObj); + + // C++: Mat KalmanFilter::processNoiseCov + private static native long get_processNoiseCov_0(long nativeObj); + + // C++: void KalmanFilter::processNoiseCov + private static native void set_processNoiseCov_0(long nativeObj, long processNoiseCov_nativeObj); + + // C++: Mat KalmanFilter::measurementNoiseCov + private static native long get_measurementNoiseCov_0(long nativeObj); + + // C++: void KalmanFilter::measurementNoiseCov + private static native void set_measurementNoiseCov_0(long nativeObj, long measurementNoiseCov_nativeObj); + + // C++: Mat KalmanFilter::errorCovPre + private static native long get_errorCovPre_0(long nativeObj); + + // C++: void KalmanFilter::errorCovPre + private static native void set_errorCovPre_0(long nativeObj, long errorCovPre_nativeObj); + + // C++: Mat KalmanFilter::gain + private static native long get_gain_0(long nativeObj); + + // C++: void KalmanFilter::gain + private static native void set_gain_0(long nativeObj, long gain_nativeObj); + + // C++: Mat KalmanFilter::errorCovPost + private static native long get_errorCovPost_0(long nativeObj); + + // C++: void KalmanFilter::errorCovPost + private static native void set_errorCovPost_0(long nativeObj, long errorCovPost_nativeObj); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/video/Video.java b/opencv3/src/org/opencv/video/Video.java new file mode 100644 index 0000000..3acd294 --- /dev/null +++ b/opencv3/src/org/opencv/video/Video.java @@ -0,0 +1,289 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.video; + +import java.util.ArrayList; +import java.util.List; +import org.opencv.core.Mat; +import org.opencv.core.MatOfByte; +import org.opencv.core.MatOfFloat; +import org.opencv.core.MatOfPoint2f; +import org.opencv.core.Rect; +import org.opencv.core.RotatedRect; +import org.opencv.core.Size; +import org.opencv.core.TermCriteria; +import org.opencv.utils.Converters; + +public class Video { + + private static final int + CV_LKFLOW_INITIAL_GUESSES = 4, + CV_LKFLOW_GET_MIN_EIGENVALS = 8; + + + public static final int + OPTFLOW_USE_INITIAL_FLOW = 4, + OPTFLOW_LK_GET_MIN_EIGENVALS = 8, + OPTFLOW_FARNEBACK_GAUSSIAN = 256, + MOTION_TRANSLATION = 0, + MOTION_EUCLIDEAN = 1, + MOTION_AFFINE = 2, + MOTION_HOMOGRAPHY = 3; + + + // + // C++: int buildOpticalFlowPyramid(Mat img, vector_Mat& pyramid, Size winSize, int maxLevel, bool withDerivatives = true, int pyrBorder = BORDER_REFLECT_101, int derivBorder = BORDER_CONSTANT, bool tryReuseInputImage = true) + // + + //javadoc: buildOpticalFlowPyramid(img, pyramid, winSize, maxLevel, withDerivatives, pyrBorder, derivBorder, tryReuseInputImage) + public static int buildOpticalFlowPyramid(Mat img, List pyramid, Size winSize, int maxLevel, boolean withDerivatives, int pyrBorder, int derivBorder, boolean tryReuseInputImage) + { + Mat pyramid_mat = new Mat(); + int retVal = buildOpticalFlowPyramid_0(img.nativeObj, pyramid_mat.nativeObj, winSize.width, winSize.height, maxLevel, withDerivatives, pyrBorder, derivBorder, tryReuseInputImage); + Converters.Mat_to_vector_Mat(pyramid_mat, pyramid); + pyramid_mat.release(); + return retVal; + } + + //javadoc: buildOpticalFlowPyramid(img, pyramid, winSize, maxLevel) + public static int buildOpticalFlowPyramid(Mat img, List pyramid, Size winSize, int maxLevel) + { + Mat pyramid_mat = new Mat(); + int retVal = buildOpticalFlowPyramid_1(img.nativeObj, pyramid_mat.nativeObj, winSize.width, winSize.height, maxLevel); + Converters.Mat_to_vector_Mat(pyramid_mat, pyramid); + pyramid_mat.release(); + return retVal; + } + + + // + // C++: Ptr_BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2(int history = 500, double varThreshold = 16, bool detectShadows = true) + // + + //javadoc: createBackgroundSubtractorMOG2(history, varThreshold, detectShadows) + public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2(int history, double varThreshold, boolean detectShadows) + { + + BackgroundSubtractorMOG2 retVal = new BackgroundSubtractorMOG2(createBackgroundSubtractorMOG2_0(history, varThreshold, detectShadows)); + + return retVal; + } + + //javadoc: createBackgroundSubtractorMOG2() + public static BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2() + { + + BackgroundSubtractorMOG2 retVal = new BackgroundSubtractorMOG2(createBackgroundSubtractorMOG2_1()); + + return retVal; + } + + + // + // C++: Ptr_BackgroundSubtractorKNN createBackgroundSubtractorKNN(int history = 500, double dist2Threshold = 400.0, bool detectShadows = true) + // + + //javadoc: createBackgroundSubtractorKNN(history, dist2Threshold, detectShadows) + public static BackgroundSubtractorKNN createBackgroundSubtractorKNN(int history, double dist2Threshold, boolean detectShadows) + { + + BackgroundSubtractorKNN retVal = new BackgroundSubtractorKNN(createBackgroundSubtractorKNN_0(history, dist2Threshold, detectShadows)); + + return retVal; + } + + //javadoc: createBackgroundSubtractorKNN() + public static BackgroundSubtractorKNN createBackgroundSubtractorKNN() + { + + BackgroundSubtractorKNN retVal = new BackgroundSubtractorKNN(createBackgroundSubtractorKNN_1()); + + return retVal; + } + + + // + // C++: Ptr_DualTVL1OpticalFlow createOptFlow_DualTVL1() + // + + //javadoc: createOptFlow_DualTVL1() + public static DualTVL1OpticalFlow createOptFlow_DualTVL1() + { + + DualTVL1OpticalFlow retVal = new DualTVL1OpticalFlow(createOptFlow_DualTVL1_0()); + + return retVal; + } + + + // + // C++: void calcOpticalFlowFarneback(Mat prev, Mat next, Mat& flow, double pyr_scale, int levels, int winsize, int iterations, int poly_n, double poly_sigma, int flags) + // + + //javadoc: calcOpticalFlowFarneback(prev, next, flow, pyr_scale, levels, winsize, iterations, poly_n, poly_sigma, flags) + public static void calcOpticalFlowFarneback(Mat prev, Mat next, Mat flow, double pyr_scale, int levels, int winsize, int iterations, int poly_n, double poly_sigma, int flags) + { + + calcOpticalFlowFarneback_0(prev.nativeObj, next.nativeObj, flow.nativeObj, pyr_scale, levels, winsize, iterations, poly_n, poly_sigma, flags); + + return; + } + + + // + // C++: void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, vector_Point2f prevPts, vector_Point2f& nextPts, vector_uchar& status, vector_float& err, Size winSize = Size(21,21), int maxLevel = 3, TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags = 0, double minEigThreshold = 1e-4) + // + + //javadoc: calcOpticalFlowPyrLK(prevImg, nextImg, prevPts, nextPts, status, err, winSize, maxLevel, criteria, flags, minEigThreshold) + public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold) + { + Mat prevPts_mat = prevPts; + Mat nextPts_mat = nextPts; + Mat status_mat = status; + Mat err_mat = err; + calcOpticalFlowPyrLK_0(prevImg.nativeObj, nextImg.nativeObj, prevPts_mat.nativeObj, nextPts_mat.nativeObj, status_mat.nativeObj, err_mat.nativeObj, winSize.width, winSize.height, maxLevel, criteria.type, criteria.maxCount, criteria.epsilon, flags, minEigThreshold); + + return; + } + + //javadoc: calcOpticalFlowPyrLK(prevImg, nextImg, prevPts, nextPts, status, err, winSize, maxLevel) + public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel) + { + Mat prevPts_mat = prevPts; + Mat nextPts_mat = nextPts; + Mat status_mat = status; + Mat err_mat = err; + calcOpticalFlowPyrLK_1(prevImg.nativeObj, nextImg.nativeObj, prevPts_mat.nativeObj, nextPts_mat.nativeObj, status_mat.nativeObj, err_mat.nativeObj, winSize.width, winSize.height, maxLevel); + + return; + } + + //javadoc: calcOpticalFlowPyrLK(prevImg, nextImg, prevPts, nextPts, status, err) + public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err) + { + Mat prevPts_mat = prevPts; + Mat nextPts_mat = nextPts; + Mat status_mat = status; + Mat err_mat = err; + calcOpticalFlowPyrLK_2(prevImg.nativeObj, nextImg.nativeObj, prevPts_mat.nativeObj, nextPts_mat.nativeObj, status_mat.nativeObj, err_mat.nativeObj); + + return; + } + + + // + // C++: Mat estimateRigidTransform(Mat src, Mat dst, bool fullAffine) + // + + //javadoc: estimateRigidTransform(src, dst, fullAffine) + public static Mat estimateRigidTransform(Mat src, Mat dst, boolean fullAffine) + { + + Mat retVal = new Mat(estimateRigidTransform_0(src.nativeObj, dst.nativeObj, fullAffine)); + + return retVal; + } + + + // + // C++: double findTransformECC(Mat templateImage, Mat inputImage, Mat& warpMatrix, int motionType = MOTION_AFFINE, TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 50, 0.001), Mat inputMask = Mat()) + // + + //javadoc: findTransformECC(templateImage, inputImage, warpMatrix, motionType, criteria, inputMask) + public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix, int motionType, TermCriteria criteria, Mat inputMask) + { + + double retVal = findTransformECC_0(templateImage.nativeObj, inputImage.nativeObj, warpMatrix.nativeObj, motionType, criteria.type, criteria.maxCount, criteria.epsilon, inputMask.nativeObj); + + return retVal; + } + + //javadoc: findTransformECC(templateImage, inputImage, warpMatrix, motionType) + public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix, int motionType) + { + + double retVal = findTransformECC_1(templateImage.nativeObj, inputImage.nativeObj, warpMatrix.nativeObj, motionType); + + return retVal; + } + + //javadoc: findTransformECC(templateImage, inputImage, warpMatrix) + public static double findTransformECC(Mat templateImage, Mat inputImage, Mat warpMatrix) + { + + double retVal = findTransformECC_2(templateImage.nativeObj, inputImage.nativeObj, warpMatrix.nativeObj); + + return retVal; + } + + + // + // C++: int meanShift(Mat probImage, Rect& window, TermCriteria criteria) + // + + //javadoc: meanShift(probImage, window, criteria) + public static int meanShift(Mat probImage, Rect window, TermCriteria criteria) + { + double[] window_out = new double[4]; + int retVal = meanShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon); + if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } + return retVal; + } + + + // + // C++: RotatedRect CamShift(Mat probImage, Rect& window, TermCriteria criteria) + // + + //javadoc: CamShift(probImage, window, criteria) + public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria) + { + double[] window_out = new double[4]; + RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon)); + if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } + return retVal; + } + + + + + // C++: int buildOpticalFlowPyramid(Mat img, vector_Mat& pyramid, Size winSize, int maxLevel, bool withDerivatives = true, int pyrBorder = BORDER_REFLECT_101, int derivBorder = BORDER_CONSTANT, bool tryReuseInputImage = true) + private static native int buildOpticalFlowPyramid_0(long img_nativeObj, long pyramid_mat_nativeObj, double winSize_width, double winSize_height, int maxLevel, boolean withDerivatives, int pyrBorder, int derivBorder, boolean tryReuseInputImage); + private static native int buildOpticalFlowPyramid_1(long img_nativeObj, long pyramid_mat_nativeObj, double winSize_width, double winSize_height, int maxLevel); + + // C++: Ptr_BackgroundSubtractorMOG2 createBackgroundSubtractorMOG2(int history = 500, double varThreshold = 16, bool detectShadows = true) + private static native long createBackgroundSubtractorMOG2_0(int history, double varThreshold, boolean detectShadows); + private static native long createBackgroundSubtractorMOG2_1(); + + // C++: Ptr_BackgroundSubtractorKNN createBackgroundSubtractorKNN(int history = 500, double dist2Threshold = 400.0, bool detectShadows = true) + private static native long createBackgroundSubtractorKNN_0(int history, double dist2Threshold, boolean detectShadows); + private static native long createBackgroundSubtractorKNN_1(); + + // C++: Ptr_DualTVL1OpticalFlow createOptFlow_DualTVL1() + private static native long createOptFlow_DualTVL1_0(); + + // C++: void calcOpticalFlowFarneback(Mat prev, Mat next, Mat& flow, double pyr_scale, int levels, int winsize, int iterations, int poly_n, double poly_sigma, int flags) + private static native void calcOpticalFlowFarneback_0(long prev_nativeObj, long next_nativeObj, long flow_nativeObj, double pyr_scale, int levels, int winsize, int iterations, int poly_n, double poly_sigma, int flags); + + // C++: void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, vector_Point2f prevPts, vector_Point2f& nextPts, vector_uchar& status, vector_float& err, Size winSize = Size(21,21), int maxLevel = 3, TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags = 0, double minEigThreshold = 1e-4) + private static native void calcOpticalFlowPyrLK_0(long prevImg_nativeObj, long nextImg_nativeObj, long prevPts_mat_nativeObj, long nextPts_mat_nativeObj, long status_mat_nativeObj, long err_mat_nativeObj, double winSize_width, double winSize_height, int maxLevel, int criteria_type, int criteria_maxCount, double criteria_epsilon, int flags, double minEigThreshold); + private static native void calcOpticalFlowPyrLK_1(long prevImg_nativeObj, long nextImg_nativeObj, long prevPts_mat_nativeObj, long nextPts_mat_nativeObj, long status_mat_nativeObj, long err_mat_nativeObj, double winSize_width, double winSize_height, int maxLevel); + private static native void calcOpticalFlowPyrLK_2(long prevImg_nativeObj, long nextImg_nativeObj, long prevPts_mat_nativeObj, long nextPts_mat_nativeObj, long status_mat_nativeObj, long err_mat_nativeObj); + + // C++: Mat estimateRigidTransform(Mat src, Mat dst, bool fullAffine) + private static native long estimateRigidTransform_0(long src_nativeObj, long dst_nativeObj, boolean fullAffine); + + // C++: double findTransformECC(Mat templateImage, Mat inputImage, Mat& warpMatrix, int motionType = MOTION_AFFINE, TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 50, 0.001), Mat inputMask = Mat()) + private static native double findTransformECC_0(long templateImage_nativeObj, long inputImage_nativeObj, long warpMatrix_nativeObj, int motionType, int criteria_type, int criteria_maxCount, double criteria_epsilon, long inputMask_nativeObj); + private static native double findTransformECC_1(long templateImage_nativeObj, long inputImage_nativeObj, long warpMatrix_nativeObj, int motionType); + private static native double findTransformECC_2(long templateImage_nativeObj, long inputImage_nativeObj, long warpMatrix_nativeObj); + + // C++: int meanShift(Mat probImage, Rect& window, TermCriteria criteria) + private static native int meanShift_0(long probImage_nativeObj, int window_x, int window_y, int window_width, int window_height, double[] window_out, int criteria_type, int criteria_maxCount, double criteria_epsilon); + + // C++: RotatedRect CamShift(Mat probImage, Rect& window, TermCriteria criteria) + private static native double[] CamShift_0(long probImage_nativeObj, int window_x, int window_y, int window_width, int window_height, double[] window_out, int criteria_type, int criteria_maxCount, double criteria_epsilon); + +} diff --git a/opencv3/src/org/opencv/videoio/VideoCapture.java b/opencv3/src/org/opencv/videoio/VideoCapture.java new file mode 100644 index 0000000..3cbad10 --- /dev/null +++ b/opencv3/src/org/opencv/videoio/VideoCapture.java @@ -0,0 +1,242 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.videoio; + +import java.lang.String; +import org.opencv.core.Mat; + +// C++: class VideoCapture +//javadoc: VideoCapture +public class VideoCapture { + + protected final long nativeObj; + protected VideoCapture(long addr) { nativeObj = addr; } + + + // + // C++: VideoCapture() + // + + //javadoc: VideoCapture::VideoCapture() + public VideoCapture() + { + + nativeObj = VideoCapture_0(); + + return; + } + + + // + // C++: VideoCapture(String filename) + // + + //javadoc: VideoCapture::VideoCapture(filename) + public VideoCapture(String filename) + { + + nativeObj = VideoCapture_1(filename); + + return; + } + + + // + // C++: VideoCapture(int device) + // + + //javadoc: VideoCapture::VideoCapture(device) + public VideoCapture(int device) + { + + nativeObj = VideoCapture_2(device); + + return; + } + + + // + // C++: bool open(String filename) + // + + //javadoc: VideoCapture::open(filename) + public boolean open(String filename) + { + + boolean retVal = open_0(nativeObj, filename); + + return retVal; + } + + + // + // C++: bool open(int device) + // + + //javadoc: VideoCapture::open(device) + public boolean open(int device) + { + + boolean retVal = open_1(nativeObj, device); + + return retVal; + } + + + // + // C++: bool isOpened() + // + + //javadoc: VideoCapture::isOpened() + public boolean isOpened() + { + + boolean retVal = isOpened_0(nativeObj); + + return retVal; + } + + + // + // C++: void release() + // + + //javadoc: VideoCapture::release() + public void release() + { + + release_0(nativeObj); + + return; + } + + + // + // C++: bool grab() + // + + //javadoc: VideoCapture::grab() + public boolean grab() + { + + boolean retVal = grab_0(nativeObj); + + return retVal; + } + + + // + // C++: bool read(Mat& image) + // + + //javadoc: VideoCapture::read(image) + public boolean read(Mat image) + { + + boolean retVal = read_0(nativeObj, image.nativeObj); + + return retVal; + } + + + // + // C++: bool retrieve(Mat& image, int flag = 0) + // + + //javadoc: VideoCapture::retrieve(image, flag) + public boolean retrieve(Mat image, int flag) + { + + boolean retVal = retrieve_0(nativeObj, image.nativeObj, flag); + + return retVal; + } + + //javadoc: VideoCapture::retrieve(image) + public boolean retrieve(Mat image) + { + + boolean retVal = retrieve_1(nativeObj, image.nativeObj); + + return retVal; + } + + + // + // C++: double get(int propId) + // + + //javadoc: VideoCapture::get(propId) + public double get(int propId) + { + + double retVal = get_0(nativeObj, propId); + + return retVal; + } + + + // + // C++: bool set(int propId, double value) + // + + //javadoc: VideoCapture::set(propId, value) + public boolean set(int propId, double value) + { + + boolean retVal = set_0(nativeObj, propId, value); + + return retVal; + } + + + @Override + protected void finalize() throws Throwable { + delete(nativeObj); + } + + + + // C++: VideoCapture() + private static native long VideoCapture_0(); + + // C++: VideoCapture(String filename) + private static native long VideoCapture_1(String filename); + + // C++: VideoCapture(int device) + private static native long VideoCapture_2(int device); + + // C++: bool open(String filename) + private static native boolean open_0(long nativeObj, String filename); + + // C++: bool open(int device) + private static native boolean open_1(long nativeObj, int device); + + // C++: bool isOpened() + private static native boolean isOpened_0(long nativeObj); + + // C++: void release() + private static native void release_0(long nativeObj); + + // C++: bool grab() + private static native boolean grab_0(long nativeObj); + + // C++: bool read(Mat& image) + private static native boolean read_0(long nativeObj, long image_nativeObj); + + // C++: bool retrieve(Mat& image, int flag = 0) + private static native boolean retrieve_0(long nativeObj, long image_nativeObj, int flag); + private static native boolean retrieve_1(long nativeObj, long image_nativeObj); + + // C++: double get(int propId) + private static native double get_0(long nativeObj, int propId); + + // C++: bool set(int propId, double value) + private static native boolean set_0(long nativeObj, int propId, double value); + + // native support for java finalize() + private static native void delete(long nativeObj); + +} diff --git a/opencv3/src/org/opencv/videoio/Videoio.java b/opencv3/src/org/opencv/videoio/Videoio.java new file mode 100644 index 0000000..fda9055 --- /dev/null +++ b/opencv3/src/org/opencv/videoio/Videoio.java @@ -0,0 +1,297 @@ + +// +// This file is auto-generated. Please don't modify it! +// +package org.opencv.videoio; + + + +public class Videoio { + + public static final int + CV_CAP_MSMF = 1400, + CV_CAP_ANDROID = 1000, + CV_CAP_ANDROID_BACK = CV_CAP_ANDROID+99, + CV_CAP_ANDROID_FRONT = CV_CAP_ANDROID+98, + CV_CAP_XIAPI = 1100, + CV_CAP_AVFOUNDATION = 1200, + CV_CAP_GIGANETIX = 1300, + CV_CAP_GPHOTO2 = 1700, + CV_CAP_PROP_FRAME_WIDTH = 3, + CV_CAP_PROP_FRAME_HEIGHT = 4, + CV_CAP_PROP_ZOOM = 27, + CV_CAP_PROP_FOCUS = 28, + CV_CAP_PROP_GUID = 29, + CV_CAP_PROP_ISO_SPEED = 30, + CV_CAP_PROP_BACKLIGHT = 32, + CV_CAP_PROP_PAN = 33, + CV_CAP_PROP_TILT = 34, + CV_CAP_PROP_ROLL = 35, + CV_CAP_PROP_IRIS = 36, + CV_CAP_PROP_SETTINGS = 37, + CV_CAP_PROP_BUFFERSIZE = 38, + CV_CAP_PROP_AUTOGRAB = 1024, + CV_CAP_PROP_PREVIEW_FORMAT = 1026, + CV_CAP_PROP_OPENNI2_SYNC = 110, + CV_CAP_PROP_OPENNI2_MIRROR = 111, + CV_CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE = 301, + CV_CAP_PROP_PVAPI_DECIMATIONHORIZONTAL = 302, + CV_CAP_PROP_PVAPI_DECIMATIONVERTICAL = 303, + CV_CAP_PROP_PVAPI_BINNINGX = 304, + CV_CAP_PROP_PVAPI_BINNINGY = 305, + CV_CAP_PROP_PVAPI_PIXELFORMAT = 306, + CV_CAP_PROP_XI_DOWNSAMPLING = 400, + CV_CAP_PROP_XI_DATA_FORMAT = 401, + CV_CAP_PROP_XI_OFFSET_X = 402, + CV_CAP_PROP_XI_OFFSET_Y = 403, + CV_CAP_PROP_XI_TRG_SOURCE = 404, + CV_CAP_PROP_XI_TRG_SOFTWARE = 405, + CV_CAP_PROP_XI_GPI_SELECTOR = 406, + CV_CAP_PROP_XI_GPI_MODE = 407, + CV_CAP_PROP_XI_GPI_LEVEL = 408, + CV_CAP_PROP_XI_GPO_SELECTOR = 409, + CV_CAP_PROP_XI_GPO_MODE = 410, + CV_CAP_PROP_XI_LED_SELECTOR = 411, + CV_CAP_PROP_XI_LED_MODE = 412, + CV_CAP_PROP_XI_MANUAL_WB = 413, + CV_CAP_PROP_XI_AUTO_WB = 414, + CV_CAP_PROP_XI_AEAG = 415, + CV_CAP_PROP_XI_EXP_PRIORITY = 416, + CV_CAP_PROP_XI_AE_MAX_LIMIT = 417, + CV_CAP_PROP_XI_AG_MAX_LIMIT = 418, + CV_CAP_PROP_XI_AEAG_LEVEL = 419, + CV_CAP_PROP_XI_TIMEOUT = 420, + CV_CAP_PROP_ANDROID_FLASH_MODE = 8001, + CV_CAP_PROP_ANDROID_FOCUS_MODE = 8002, + CV_CAP_PROP_ANDROID_WHITE_BALANCE = 8003, + CV_CAP_PROP_ANDROID_ANTIBANDING = 8004, + CV_CAP_PROP_ANDROID_FOCAL_LENGTH = 8005, + CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_NEAR = 8006, + CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_OPTIMAL = 8007, + CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_FAR = 8008, + CV_CAP_PROP_ANDROID_EXPOSE_LOCK = 8009, + CV_CAP_PROP_ANDROID_WHITEBALANCE_LOCK = 8010, + CV_CAP_PROP_IOS_DEVICE_FOCUS = 9001, + CV_CAP_PROP_IOS_DEVICE_EXPOSURE = 9002, + CV_CAP_PROP_IOS_DEVICE_FLASH = 9003, + CV_CAP_PROP_IOS_DEVICE_WHITEBALANCE = 9004, + CV_CAP_PROP_IOS_DEVICE_TORCH = 9005, + CV_CAP_PROP_GIGA_FRAME_OFFSET_X = 10001, + CV_CAP_PROP_GIGA_FRAME_OFFSET_Y = 10002, + CV_CAP_PROP_GIGA_FRAME_WIDTH_MAX = 10003, + CV_CAP_PROP_GIGA_FRAME_HEIGH_MAX = 10004, + CV_CAP_PROP_GIGA_FRAME_SENS_WIDTH = 10005, + CV_CAP_PROP_GIGA_FRAME_SENS_HEIGH = 10006, + CV_CAP_PROP_INTELPERC_PROFILE_COUNT = 11001, + CV_CAP_PROP_INTELPERC_PROFILE_IDX = 11002, + CV_CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE = 11003, + CV_CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE = 11004, + CV_CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD = 11005, + CV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ = 11006, + CV_CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT = 11007, + CV_CAP_MODE_BGR = 0, + CV_CAP_MODE_RGB = 1, + CV_CAP_MODE_GRAY = 2, + CV_CAP_MODE_YUYV = 3, + CV_CAP_PROP_GPHOTO2_PREVIEW = 17001, + CV_CAP_PROP_GPHOTO2_WIDGET_ENUMERATE = 17002, + CV_CAP_PROP_GPHOTO2_RELOAD_CONFIG = 17003, + CV_CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE = 17004, + CV_CAP_PROP_GPHOTO2_COLLECT_MSGS = 17005, + CV_CAP_PROP_GPHOTO2_FLUSH_MSGS = 17006, + CV_CAP_PROP_SPEED = 17007, + CV_CAP_PROP_APERTURE = 17008, + CV_CAP_PROP_VIEWFINDER = 17010, + CAP_ANY = 0, + CAP_VFW = 200, + CAP_V4L = 200, + CAP_V4L2 = CAP_V4L, + CAP_FIREWARE = 300, + CAP_FIREWIRE = CAP_FIREWARE, + CAP_IEEE1394 = CAP_FIREWARE, + CAP_DC1394 = CAP_FIREWARE, + CAP_CMU1394 = CAP_FIREWARE, + CAP_QT = 500, + CAP_UNICAP = 600, + CAP_DSHOW = 700, + CAP_PVAPI = 800, + CAP_OPENNI = 900, + CAP_OPENNI_ASUS = 910, + CAP_ANDROID = 1000, + CAP_XIAPI = 1100, + CAP_AVFOUNDATION = 1200, + CAP_GIGANETIX = 1300, + CAP_MSMF = 1400, + CAP_WINRT = 1410, + CAP_INTELPERC = 1500, + CAP_OPENNI2 = 1600, + CAP_OPENNI2_ASUS = 1610, + CAP_GPHOTO2 = 1700, + CAP_PROP_POS_MSEC = 0, + CAP_PROP_POS_FRAMES = 1, + CAP_PROP_POS_AVI_RATIO = 2, + CAP_PROP_FRAME_WIDTH = 3, + CAP_PROP_FRAME_HEIGHT = 4, + CAP_PROP_FPS = 5, + CAP_PROP_FOURCC = 6, + CAP_PROP_FRAME_COUNT = 7, + CAP_PROP_FORMAT = 8, + CAP_PROP_MODE = 9, + CAP_PROP_BRIGHTNESS = 10, + CAP_PROP_CONTRAST = 11, + CAP_PROP_SATURATION = 12, + CAP_PROP_HUE = 13, + CAP_PROP_GAIN = 14, + CAP_PROP_EXPOSURE = 15, + CAP_PROP_CONVERT_RGB = 16, + CAP_PROP_WHITE_BALANCE_BLUE_U = 17, + CAP_PROP_RECTIFICATION = 18, + CAP_PROP_MONOCHROME = 19, + CAP_PROP_SHARPNESS = 20, + CAP_PROP_AUTO_EXPOSURE = 21, + CAP_PROP_GAMMA = 22, + CAP_PROP_TEMPERATURE = 23, + CAP_PROP_TRIGGER = 24, + CAP_PROP_TRIGGER_DELAY = 25, + CAP_PROP_WHITE_BALANCE_RED_V = 26, + CAP_PROP_ZOOM = 27, + CAP_PROP_FOCUS = 28, + CAP_PROP_GUID = 29, + CAP_PROP_ISO_SPEED = 30, + CAP_PROP_BACKLIGHT = 32, + CAP_PROP_PAN = 33, + CAP_PROP_TILT = 34, + CAP_PROP_ROLL = 35, + CAP_PROP_IRIS = 36, + CAP_PROP_SETTINGS = 37, + CAP_MODE_BGR = 0, + CAP_MODE_RGB = 1, + CAP_MODE_GRAY = 2, + CAP_MODE_YUYV = 3, + CAP_PROP_DC1394_OFF = -4, + CAP_PROP_DC1394_MODE_MANUAL = -3, + CAP_PROP_DC1394_MODE_AUTO = -2, + CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO = -1, + CAP_PROP_DC1394_MAX = 31, + CAP_OPENNI_DEPTH_GENERATOR = 1 << 31, + CAP_OPENNI_IMAGE_GENERATOR = 1 << 30, + CAP_OPENNI_GENERATORS_MASK = CAP_OPENNI_DEPTH_GENERATOR + CAP_OPENNI_IMAGE_GENERATOR, + CAP_PROP_OPENNI_OUTPUT_MODE = 100, + CAP_PROP_OPENNI_FRAME_MAX_DEPTH = 101, + CAP_PROP_OPENNI_BASELINE = 102, + CAP_PROP_OPENNI_FOCAL_LENGTH = 103, + CAP_PROP_OPENNI_REGISTRATION = 104, + CAP_PROP_OPENNI_REGISTRATION_ON = CAP_PROP_OPENNI_REGISTRATION, + CAP_PROP_OPENNI_APPROX_FRAME_SYNC = 105, + CAP_PROP_OPENNI_MAX_BUFFER_SIZE = 106, + CAP_PROP_OPENNI_CIRCLE_BUFFER = 107, + CAP_PROP_OPENNI_MAX_TIME_DURATION = 108, + CAP_PROP_OPENNI_GENERATOR_PRESENT = 109, + CAP_PROP_OPENNI2_SYNC = 110, + CAP_PROP_OPENNI2_MIRROR = 111, + CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT, + CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE, + CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE, + CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH, + CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION, + CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON = CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION, + CAP_OPENNI_DEPTH_MAP = 0, + CAP_OPENNI_POINT_CLOUD_MAP = 1, + CAP_OPENNI_DISPARITY_MAP = 2, + CAP_OPENNI_DISPARITY_MAP_32F = 3, + CAP_OPENNI_VALID_DEPTH_MASK = 4, + CAP_OPENNI_BGR_IMAGE = 5, + CAP_OPENNI_GRAY_IMAGE = 6, + CAP_OPENNI_VGA_30HZ = 0, + CAP_OPENNI_SXGA_15HZ = 1, + CAP_OPENNI_SXGA_30HZ = 2, + CAP_OPENNI_QVGA_30HZ = 3, + CAP_OPENNI_QVGA_60HZ = 4, + CAP_PROP_GSTREAMER_QUEUE_LENGTH = 200, + CAP_PROP_PVAPI_MULTICASTIP = 300, + CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE = 301, + CAP_PROP_PVAPI_DECIMATIONHORIZONTAL = 302, + CAP_PROP_PVAPI_DECIMATIONVERTICAL = 303, + CAP_PROP_PVAPI_BINNINGX = 304, + CAP_PROP_PVAPI_BINNINGY = 305, + CAP_PROP_PVAPI_PIXELFORMAT = 306, + CAP_PVAPI_FSTRIGMODE_FREERUN = 0, + CAP_PVAPI_FSTRIGMODE_SYNCIN1 = 1, + CAP_PVAPI_FSTRIGMODE_SYNCIN2 = 2, + CAP_PVAPI_FSTRIGMODE_FIXEDRATE = 3, + CAP_PVAPI_FSTRIGMODE_SOFTWARE = 4, + CAP_PVAPI_DECIMATION_OFF = 1, + CAP_PVAPI_DECIMATION_2OUTOF4 = 2, + CAP_PVAPI_DECIMATION_2OUTOF8 = 4, + CAP_PVAPI_DECIMATION_2OUTOF16 = 8, + CAP_PVAPI_PIXELFORMAT_MONO8 = 1, + CAP_PVAPI_PIXELFORMAT_MONO16 = 2, + CAP_PVAPI_PIXELFORMAT_BAYER8 = 3, + CAP_PVAPI_PIXELFORMAT_BAYER16 = 4, + CAP_PVAPI_PIXELFORMAT_RGB24 = 5, + CAP_PVAPI_PIXELFORMAT_BGR24 = 6, + CAP_PVAPI_PIXELFORMAT_RGBA32 = 7, + CAP_PVAPI_PIXELFORMAT_BGRA32 = 8, + CAP_PROP_XI_DOWNSAMPLING = 400, + CAP_PROP_XI_DATA_FORMAT = 401, + CAP_PROP_XI_OFFSET_X = 402, + CAP_PROP_XI_OFFSET_Y = 403, + CAP_PROP_XI_TRG_SOURCE = 404, + CAP_PROP_XI_TRG_SOFTWARE = 405, + CAP_PROP_XI_GPI_SELECTOR = 406, + CAP_PROP_XI_GPI_MODE = 407, + CAP_PROP_XI_GPI_LEVEL = 408, + CAP_PROP_XI_GPO_SELECTOR = 409, + CAP_PROP_XI_GPO_MODE = 410, + CAP_PROP_XI_LED_SELECTOR = 411, + CAP_PROP_XI_LED_MODE = 412, + CAP_PROP_XI_MANUAL_WB = 413, + CAP_PROP_XI_AUTO_WB = 414, + CAP_PROP_XI_AEAG = 415, + CAP_PROP_XI_EXP_PRIORITY = 416, + CAP_PROP_XI_AE_MAX_LIMIT = 417, + CAP_PROP_XI_AG_MAX_LIMIT = 418, + CAP_PROP_XI_AEAG_LEVEL = 419, + CAP_PROP_XI_TIMEOUT = 420, + CAP_PROP_IOS_DEVICE_FOCUS = 9001, + CAP_PROP_IOS_DEVICE_EXPOSURE = 9002, + CAP_PROP_IOS_DEVICE_FLASH = 9003, + CAP_PROP_IOS_DEVICE_WHITEBALANCE = 9004, + CAP_PROP_IOS_DEVICE_TORCH = 9005, + CAP_PROP_GIGA_FRAME_OFFSET_X = 10001, + CAP_PROP_GIGA_FRAME_OFFSET_Y = 10002, + CAP_PROP_GIGA_FRAME_WIDTH_MAX = 10003, + CAP_PROP_GIGA_FRAME_HEIGH_MAX = 10004, + CAP_PROP_GIGA_FRAME_SENS_WIDTH = 10005, + CAP_PROP_GIGA_FRAME_SENS_HEIGH = 10006, + CAP_PROP_INTELPERC_PROFILE_COUNT = 11001, + CAP_PROP_INTELPERC_PROFILE_IDX = 11002, + CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE = 11003, + CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE = 11004, + CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD = 11005, + CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ = 11006, + CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT = 11007, + CAP_INTELPERC_DEPTH_GENERATOR = 1 << 29, + CAP_INTELPERC_IMAGE_GENERATOR = 1 << 28, + CAP_INTELPERC_GENERATORS_MASK = CAP_INTELPERC_DEPTH_GENERATOR + CAP_INTELPERC_IMAGE_GENERATOR, + CAP_INTELPERC_DEPTH_MAP = 0, + CAP_INTELPERC_UVDEPTH_MAP = 1, + CAP_INTELPERC_IR_MAP = 2, + CAP_INTELPERC_IMAGE = 3, + VIDEOWRITER_PROP_QUALITY = 1, + VIDEOWRITER_PROP_FRAMEBYTES = 2, + CAP_PROP_GPHOTO2_PREVIEW = 17001, + CAP_PROP_GPHOTO2_WIDGET_ENUMERATE = 17002, + CAP_PROP_GPHOTO2_RELOAD_CONFIG = 17003, + CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE = 17004, + CAP_PROP_GPHOTO2_COLLECT_MSGS = 17005, + CAP_PROP_GPHOTO2_FLUSH_MSGS = 17006, + CAP_PROP_SPEED = 17007, + CAP_PROP_APERTURE = 17008, + CAP_PROP_EXPOSUREPROGRAM = 17009, + CAP_PROP_VIEWFINDER = 17010; + + + + +} diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..96e6ea1 --- /dev/null +++ b/package.xml @@ -0,0 +1,15 @@ + + + android_ros_drivers + 0.0.1 + + Gets android sensors publishing on both the tango and other android devices. + + Patrick Geneva + Patrick Geneva + TODO + + catkin + rosjava_build_tools + rosjava_core + diff --git a/proguard-project.txt b/proguard-project.txt deleted file mode 100644 index f2fe155..0000000 --- a/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ -# To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/project.properties b/project.properties deleted file mode 100644 index e6f1980..0000000 --- a/project.properties +++ /dev/null @@ -1,13 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system use, -# "ant.properties", and override values to adapt the script to your -# project structure. - -# Project target. -target=android-17 -#android.library=true -android.library.reference.1=../android_gingerbread_mr1 diff --git a/res/color/color.xml b/res/color/color.xml deleted file mode 100644 index 62a58c3..0000000 --- a/res/color/color.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml deleted file mode 100644 index ac4e243..0000000 --- a/res/layout/activity_main.xml +++ /dev/null @@ -1,6 +0,0 @@ - - \ No newline at end of file diff --git a/res/menu/activity_main.xml b/res/menu/activity_main.xml deleted file mode 100644 index cd6a857..0000000 --- a/res/menu/activity_main.xml +++ /dev/null @@ -1,7 +0,0 @@ - -

- - \ No newline at end of file diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml deleted file mode 100644 index 541752f..0000000 --- a/res/values-v11/styles.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/res/values-v14/styles.xml b/res/values-v14/styles.xml deleted file mode 100644 index f20e015..0000000 --- a/res/values-v14/styles.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml deleted file mode 100644 index ac61c55..0000000 --- a/res/values/strings.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - ROS Sensors Driver - - About Android Sensors Driver - Android Sensors Driver is an open source project! For more information, go to the \'Wiki\'. To report bugs or request features click \'Report\'. - OK - Report - Wiki - - \ No newline at end of file diff --git a/res/values/styles.xml b/res/values/styles.xml deleted file mode 100644 index 6ce89c7..0000000 --- a/res/values/styles.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml deleted file mode 100644 index 2b1a81f..0000000 --- a/res/xml/preferences.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/screenshots/Screenshot_2016-01-11-11-47-18.png b/screenshots/Screenshot_2016-01-11-11-47-18.png new file mode 100644 index 0000000..6c76e02 Binary files /dev/null and b/screenshots/Screenshot_2016-01-11-11-47-18.png differ diff --git a/screenshots/Screenshot_2016-01-11-11-48-04.png b/screenshots/Screenshot_2016-01-11-11-48-04.png new file mode 100644 index 0000000..f62d60a Binary files /dev/null and b/screenshots/Screenshot_2016-01-11-11-48-04.png differ diff --git a/screenshots/Screenshot_2016-01-11-11-49-21.png b/screenshots/Screenshot_2016-01-11-11-49-21.png new file mode 100644 index 0000000..5f0b302 Binary files /dev/null and b/screenshots/Screenshot_2016-01-11-11-49-21.png differ diff --git a/screenshots/Screenshot_2016-01-11-11-53-21.png b/screenshots/Screenshot_2016-01-11-11-53-21.png new file mode 100644 index 0000000..f8614e3 Binary files /dev/null and b/screenshots/Screenshot_2016-01-11-11-53-21.png differ diff --git a/screenshots/Screenshot_2017-10-27-12-22-12.png b/screenshots/Screenshot_2017-10-27-12-22-12.png new file mode 100644 index 0000000..29b15b1 Binary files /dev/null and b/screenshots/Screenshot_2017-10-27-12-22-12.png differ diff --git a/screenshots/Screenshot_2017-10-27-12-23-40.png b/screenshots/Screenshot_2017-10-27-12-23-40.png new file mode 100644 index 0000000..0051157 Binary files /dev/null and b/screenshots/Screenshot_2017-10-27-12-23-40.png differ diff --git a/screenshots/Screenshot_2017-10-27-12-25-06.png b/screenshots/Screenshot_2017-10-27-12-25-06.png new file mode 100644 index 0000000..91d424e Binary files /dev/null and b/screenshots/Screenshot_2017-10-27-12-25-06.png differ diff --git a/screenshots/Screenshot_2017-10-27-12-25-37.png b/screenshots/Screenshot_2017-10-27-12-25-37.png new file mode 100644 index 0000000..0066b2c Binary files /dev/null and b/screenshots/Screenshot_2017-10-27-12-25-37.png differ diff --git a/sensors_driver/.gitignore b/sensors_driver/.gitignore new file mode 100644 index 0000000..53a3409 --- /dev/null +++ b/sensors_driver/.gitignore @@ -0,0 +1,20 @@ +*~ +~* +.classpath +.gradle +.project +.settings +bin +build +build.xml +gen +lint.xml +local.properties +proguard-project.txt +project.properties + +# These are Android Studio files, might be worth including these later. +*.iml +.idea +build.log +build-log.xml diff --git a/sensors_driver/AndroidManifest.xml b/sensors_driver/AndroidManifest.xml new file mode 100644 index 0000000..f8cec15 --- /dev/null +++ b/sensors_driver/AndroidManifest.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/README b/sensors_driver/README similarity index 59% rename from README rename to sensors_driver/README index 57db9cf..f4ec20a 100644 --- a/README +++ b/sensors_driver/README @@ -17,16 +17,10 @@ The topic names are: Compiling: To compile it on you machine, please follow the detailed instructions at: - -Rosjava: -http://wiki.ros.org/rosjava/Tutorials/indigo/Installation - -Also need to compile android_core from here: -https://github.com/rosjava/android_core/tree/indigo +go to install folder on terminal and type: +./install-rosjava-env.sh Once your environment is set, do the following steps: - 1) git clone the repo in the android_core folder (the same folder where rosjava are ~/rosjava). - 2) Edit the settings.gradle file in the android_core folder, adding 'android_sensors_driver' at the end of the include list. - 3) cd ~/rosjava; catkin_make + 1) cd ~/rosjava; catkin_make -For the whole process of building, packing, installing into the phone and running the app in debug mode, use the buildAll.sh script. +For the whole process of building, packing, installing into the phone, use the buildAll.sh script. diff --git a/sensors_driver/build.gradle b/sensors_driver/build.gradle new file mode 100644 index 0000000..cd5fff1 --- /dev/null +++ b/sensors_driver/build.gradle @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2011 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +//apply plugin: "ros-android" +apply plugin: 'com.android.application' + +dependencies { + compile 'org.ros.android_core:android_10:[0.3,0.4)' + //note that 11.2 and above are in maven + //https://stackoverflow.com/a/45695269/7718197 + compile 'com.google.android.gms:play-services-location:11.0.0' +// compile 'org.ros.rosjava_core:rosjava:[0.2.1)' +// compile 'org.ros.android_core:android_honeycomb_mr2:0.1.+' + compile project(':opencv3') + compile project(':cv_bridge') +} + + +android { + compileSdkVersion 25 + buildToolsVersion "25.0.2" + defaultConfig { + minSdkVersion 15 + applicationId "udel.android_sensors_driver" + targetSdkVersion 19 + versionCode 1 + versionName "1.0" + } + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + resources.srcDirs = ['src'] + res.srcDirs = ['res'] + aidl.srcDirs = ['src'] + } + } + compileOptions { + targetCompatibility JavaVersion.VERSION_1_6 + sourceCompatibility JavaVersion.VERSION_1_6 + } + buildTypes { + debug { + jniDebuggable true + } + } +} diff --git a/sensors_driver/build.sh b/sensors_driver/build.sh new file mode 100755 index 0000000..59686f1 --- /dev/null +++ b/sensors_driver/build.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +# from http://vardhan-justlikethat.blogspot.co.il/2012/05/android-solution-install-parse-failed.html + +PROJECT_DIR=~/ANPL +ROSJAVA=$PROJECT_DIR/rosjava +PROJECT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +PROJECT_NAME=`basename $PROJECT_PATH` +BIN_DIR=$ROSJAVA/devel/share/maven/org/ros/android_core/$PROJECT_NAME/0.2.0/ +APK="$PROJECT_NAME-0.2.0.apk" +KEY=${PROJECT_PATH}/keys/${1}.jks +ALIAS="org.ros.android.$PROJECT_NAME" + +if [ -z "$1" ]; then + echo "Please enter your key name." + echo "example: key in key/tal.jks, enter ./buildAll.sh tal" + echo "if you don't have a key, please type ./createKey.sh [your key name]" + exit +fi + +if [ ! -f ${KEY} ]; then + echo "file not exsist:" + echo ${KEY} + exit +fi + +cd $ROSJAVA +catkin_make + +if [ $? -eq 0 ] + then + adb uninstall $ALIAS + echo "Installing the APK, please enter the password of your key," + echo "If you don't know, just delete the keys/key.jks," + echo "and it will create a new one." + jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore $KEY ${BIN_DIR}${APK} $ALIAS + adb install ${BIN_DIR}${APK} + adb shell am start -n $ALIAS/$ALIAS.MainActivity + #adb logcat -c + #adb logcat +fi + diff --git a/sensors_driver/buildAll.sh b/sensors_driver/buildAll.sh new file mode 100755 index 0000000..95270e5 --- /dev/null +++ b/sensors_driver/buildAll.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +PROJECT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +KEY=${PROJECT_PATH}/keys/key.jks + +if [ ! -f ${KEY} ]; then + echo "Please enter password for your new key," + echo "and other detail you will ask." + echo "Remember your password, you will ask again," + echo "when it install the APK" + ./createKey.sh key +fi + +./build.sh key diff --git a/sensors_driver/gradle/wrapper/gradle-wrapper.jar b/sensors_driver/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..05ef575 Binary files /dev/null and b/sensors_driver/gradle/wrapper/gradle-wrapper.jar differ diff --git a/sensors_driver/gradle/wrapper/gradle-wrapper.properties b/sensors_driver/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..f23df6e --- /dev/null +++ b/sensors_driver/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Wed Oct 21 11:34:03 PDT 2015 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip diff --git a/sensors_driver/gradlew b/sensors_driver/gradlew new file mode 100644 index 0000000..9d82f78 --- /dev/null +++ b/sensors_driver/gradlew @@ -0,0 +1,160 @@ +#!/usr/bin/env bash + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn ( ) { + echo "$*" +} + +die ( ) { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; +esac + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules +function splitJvmOpts() { + JVM_OPTS=("$@") +} +eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS +JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" + +exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" diff --git a/sensors_driver/gradlew.bat b/sensors_driver/gradlew.bat new file mode 100644 index 0000000..aec9973 --- /dev/null +++ b/sensors_driver/gradlew.bat @@ -0,0 +1,90 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windowz variants + +if not "%OS%" == "Windows_NT" goto win9xME_args +if "%@eval[2+2]" == "4" goto 4NT_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* +goto execute + +:4NT_args +@rem Get arguments from the 4NT Shell from JP Software +set CMD_LINE_ARGS=%$ + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/sensors_driver/install/install-android-core.sh b/sensors_driver/install/install-android-core.sh new file mode 100755 index 0000000..ddb738f --- /dev/null +++ b/sensors_driver/install/install-android-core.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +PROJECT_DIR=~/ANPL + +# clone android_core , android_extras +cd ${PROJECT_DIR}/rosjava/src +git clone -b indigo https://github.com/talregev/android_core.git +git clone -b indigo https://github.com/rosjava/android_extras.git diff --git a/sensors_driver/install/install-android-sdk.sh b/sensors_driver/install/install-android-sdk.sh new file mode 100755 index 0000000..da78644 --- /dev/null +++ b/sensors_driver/install/install-android-sdk.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +#from https://developer.android.com/sdk/installing/index.html?pkg=tools +#install sdk +SDK_NAME="Sdk" +APP_DIR=~/Android +cd ~/Downloads +wget -O android-sdk.tgz 'https://dl.google.com/android/android-sdk_r24.0.2-linux.tgz' +rm -rf ${APP_DIR}/$SDK_NAME +mkdir -p ${APP_DIR} +tar -xvzf android-sdk.tgz -C ${APP_DIR} +cd ${APP_DIR} +mv android-sdk-linux/ $SDK_NAME/ +rm -f ~/Downloads/android-sdk.tgz + +#Add android-studio and sdk to your PATH +echo "export PATH=\$PATH:${APP_DIR}/$SDK_NAME/tools:${APP_DIR}/$SDK_NAME/platform-tools:/opt/android-studio/bin">> ~/.bashrc +echo "export ANDROID_HOME=${APP_DIR}/$SDK_NAME">> ~/.bashrc + +export PATH=$PATH:${APP_DIR}/$SDK_NAME/tools:${APP_DIR}/$SDK_NAME/platform-tools:/opt/android-studio/bin +export ANDROID_HOME=${APP_DIR}/$SDK_NAME + +#from http://stackoverflow.com/questions/17963508/how-to-install-android-sdk-build-tools-on-the-command-line +#add package to android sdk + +#from http://stackoverflow.com/questions/6775904/grepping-using-the-alternative-operator +#from http://stackoverflow.com/questions/16015590/bash-extract-number-from-string +#from http://stackoverflow.com/questions/4594319/shell-replace-cr-lf-by-comma +#from http://stackoverflow.com/questions/369758/how-to-trim-whitespace-from-bash-variable +NUMBERS=`android list sdk --all | grep -E "Android SDK Tools|Android SDK Platform-tools|Android SDK Build-tools, revision 21.1.2|Android SDK Build-tools, revision 19.1|SDK Platform Android 5.0.1, API 21|SDK Platform Android 4.0.3, API 15|SDK Platform Android 2.3.3, API 10|Android Support Repository|Android Support Library|Google Repository" | cut -d'-' -f1| sed -e 'H;${x;s/\n/,/g;s/^,//;p;};d' | tr -d ' '` +echo yes | android update sdk -u -a -t $NUMBERS + +# android sdk number. +# to see full list, type: +# android list sdk --all + +#from http://www.cyberciti.biz/faq/bash-comment-out-multiple-line-code/ +: ' + 1- Android SDK Tools, revision 24.0.2 + 2- Android SDK Platform-tools, revision 21 + 3- Android SDK Build-tools, revision 21.1.2 + 10- Android SDK Build-tools, revision 19.1 + 20- SDK Platform Android 5.0.1, API 21, revision 2 + 26- SDK Platform Android 4.0.3, API 15, revision 5 + 31- SDK Platform Android 2.3.3, API 10, revision 2 + 112- Android Support Repository, revision 11 + 113- Android Support Library, revision 21.0.3 + 119- Google Repository, revision 15 +' diff --git a/sensors_driver/install/install-android-sensors-driver.sh b/sensors_driver/install/install-android-sensors-driver.sh new file mode 100755 index 0000000..baf327a --- /dev/null +++ b/sensors_driver/install/install-android-sensors-driver.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +PROJECT_DIR=~/ANPL + +install-android-core.sh + +cd ${PROJECT_DIR}/rosjava/src/android_core +echo "include \"android_sensors_driver\"">> settings.gradle + +#clone android_sensor_driver +git clone https://github.com/talregev/android_sensors_driver.git + +cd ${PROJECT_DIR}/rosjava +catkin_make diff --git a/sensors_driver/install/install-android-studio.sh b/sensors_driver/install/install-android-studio.sh new file mode 100755 index 0000000..bbb1307 --- /dev/null +++ b/sensors_driver/install/install-android-studio.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +#from http://wiki.ros.org/sig/Rosjava/Android%20Studio/Download + +#If you're on a 64-bit machine, you may need the following libraries: +#from https://developer.android.com/sdk/installing/index.html?pkg=tools +# at Troubleshooting Ubuntu +sudo dpkg --add-architecture i386 +sudo apt-get update +sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386 + +#from http://paolorotolo.github.io/android-studio/, +#add that repository with the following command: +sudo apt-add-repository ppa:paolorotolo/android-studio + +#Update the APT with the command: +sudo apt-get update + +#install the program with the command: +sudo apt-get install android-studio + +#install java orcle jdk +install-java-jdk.sh + diff --git a/sensors_driver/install/install-java-jdk.sh b/sensors_driver/install/install-java-jdk.sh new file mode 100755 index 0000000..b5e9aa9 --- /dev/null +++ b/sensors_driver/install/install-java-jdk.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +#reomve openjdk or jre +sudo apt-get remove openjdk* +sudo apt-get remove openjre* + +#from https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get + +sudo apt-get install python-software-properties +sudo add-apt-repository ppa:webupd8team/java +sudo apt-get update + +sudo apt-get install oracle-java7-installer diff --git a/sensors_driver/install/install-rosjava-env.sh b/sensors_driver/install/install-rosjava-env.sh new file mode 100755 index 0000000..ddc2308 --- /dev/null +++ b/sensors_driver/install/install-rosjava-env.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install-android-sdk.sh +install-android-studio.sh +install-rosjava.sh +install-android-sensors-driver.sh diff --git a/sensors_driver/install/install-rosjava.sh b/sensors_driver/install/install-rosjava.sh new file mode 100755 index 0000000..71293c2 --- /dev/null +++ b/sensors_driver/install/install-rosjava.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +#from http://wiki.ros.org/rosjava/Tutorials/indigo/Installation + +PROJECT_DIR=~/ANPL + +#3.1 Preparation +sudo apt-get install ros-indigo-catkin ros-indigo-ros python-wstool + +#3.2 Sources + +rm -rf ${PROJECT_DIR}/rosjava +mkdir -p ${PROJECT_DIR}/rosjava +wstool init -j4 ${PROJECT_DIR}/rosjava/src https://raw.githubusercontent.com/yujinrobot/yujin_tools/master/rosinstalls/indigo/rosjava.rosinstall +source /opt/ros/indigo/setup.bash +cd ${PROJECT_DIR}/rosjava +# Make sure we've got all rosdeps and msg packages. +rosdep update +rosdep install --from-paths src -i -y +catkin_make + +echo "source ${PROJECT_DIR}/rosjava/devel/setup.bash">> ~/.bashrc +source ${PROJECT_DIR}/rosjava/devel/setup.bash + +#install java orcle jdk +install-java-jdk.sh diff --git a/sensors_driver/manifest.xml b/sensors_driver/manifest.xml new file mode 100644 index 0000000..de0b7c7 --- /dev/null +++ b/sensors_driver/manifest.xml @@ -0,0 +1,9 @@ + + + android_sensors_driver + + Chad Rockey (chadrockey@gmail.com) + Apache 2.0 + + http://ros.org/wiki/android_sensors_driver + diff --git a/sensors_driver/res/anim/flipin.xml b/sensors_driver/res/anim/flipin.xml new file mode 100644 index 0000000..657422f --- /dev/null +++ b/sensors_driver/res/anim/flipin.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/sensors_driver/res/anim/flipin_reverse.xml b/sensors_driver/res/anim/flipin_reverse.xml new file mode 100644 index 0000000..e212986 --- /dev/null +++ b/sensors_driver/res/anim/flipin_reverse.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/sensors_driver/res/anim/flipout.xml b/sensors_driver/res/anim/flipout.xml new file mode 100644 index 0000000..dcb4a3c --- /dev/null +++ b/sensors_driver/res/anim/flipout.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/sensors_driver/res/anim/flipout_reverse.xml b/sensors_driver/res/anim/flipout_reverse.xml new file mode 100644 index 0000000..2534d3c --- /dev/null +++ b/sensors_driver/res/anim/flipout_reverse.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/res/drawable-hdpi/ic_action_help.png b/sensors_driver/res/drawable-hdpi/ic_action_help.png similarity index 100% rename from res/drawable-hdpi/ic_action_help.png rename to sensors_driver/res/drawable-hdpi/ic_action_help.png diff --git a/res/drawable-hdpi/ic_launcher.png b/sensors_driver/res/drawable-hdpi/ic_launcher.png similarity index 100% rename from res/drawable-hdpi/ic_launcher.png rename to sensors_driver/res/drawable-hdpi/ic_launcher.png diff --git a/res/drawable-ldpi/ic_action_help.png b/sensors_driver/res/drawable-ldpi/ic_action_help.png similarity index 100% rename from res/drawable-ldpi/ic_action_help.png rename to sensors_driver/res/drawable-ldpi/ic_action_help.png diff --git a/res/drawable-ldpi/ic_launcher.png b/sensors_driver/res/drawable-ldpi/ic_launcher.png similarity index 100% rename from res/drawable-ldpi/ic_launcher.png rename to sensors_driver/res/drawable-ldpi/ic_launcher.png diff --git a/res/drawable-mdpi/ic_action_help.png b/sensors_driver/res/drawable-mdpi/ic_action_help.png similarity index 100% rename from res/drawable-mdpi/ic_action_help.png rename to sensors_driver/res/drawable-mdpi/ic_action_help.png diff --git a/res/drawable-mdpi/ic_launcher.png b/sensors_driver/res/drawable-mdpi/ic_launcher.png similarity index 100% rename from res/drawable-mdpi/ic_launcher.png rename to sensors_driver/res/drawable-mdpi/ic_launcher.png diff --git a/res/drawable-xhdpi/ic_action_help.png b/sensors_driver/res/drawable-xhdpi/ic_action_help.png similarity index 100% rename from res/drawable-xhdpi/ic_action_help.png rename to sensors_driver/res/drawable-xhdpi/ic_action_help.png diff --git a/res/drawable-xhdpi/ic_launcher.png b/sensors_driver/res/drawable-xhdpi/ic_launcher.png similarity index 100% rename from res/drawable-xhdpi/ic_launcher.png rename to sensors_driver/res/drawable-xhdpi/ic_launcher.png diff --git a/sensors_driver/res/layout/activity_main.xml b/sensors_driver/res/layout/activity_main.xml new file mode 100644 index 0000000..c3fcd92 --- /dev/null +++ b/sensors_driver/res/layout/activity_main.xml @@ -0,0 +1,14 @@ + + + + + + + + + diff --git a/sensors_driver/res/layout/custom_spinner.xml b/sensors_driver/res/layout/custom_spinner.xml new file mode 100644 index 0000000..3e6f106 --- /dev/null +++ b/sensors_driver/res/layout/custom_spinner.xml @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/sensors_driver/res/layout/custom_spinner_item.xml b/sensors_driver/res/layout/custom_spinner_item.xml new file mode 100644 index 0000000..06a0e8c --- /dev/null +++ b/sensors_driver/res/layout/custom_spinner_item.xml @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/sensors_driver/res/layout/view_config.xml b/sensors_driver/res/layout/view_config.xml new file mode 100644 index 0000000..9438bec --- /dev/null +++ b/sensors_driver/res/layout/view_config.xml @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +