opencv-stitching

Unhandled exception at memory location in stitcher code opencv

别等时光非礼了梦想. 提交于 2019-12-25 14:03:43
问题 I am trying to debug the example for stitching images at this site. Here is my complete code. #include < stdio.h > #include < opencv2\opencv.hpp > #include < opencv2\stitching\stitcher.hpp > #ifdef _DEBUG #pragma comment(lib, "opencv_core300d.lib") #pragma comment(lib, "opencv_imgproc300d.lib") //MAT processing #pragma comment(lib, "opencv_highgui300d.lib") #pragma comment(lib, "opencv_stitching300d.lib") #else #pragma comment(lib, "opencv_core300.lib") #pragma comment(lib, "opencv_imgproc300

Unhandled exception at memory location in stitcher code opencv

你说的曾经没有我的故事 提交于 2019-12-25 14:02:42
问题 I am trying to debug the example for stitching images at this site. Here is my complete code. #include < stdio.h > #include < opencv2\opencv.hpp > #include < opencv2\stitching\stitcher.hpp > #ifdef _DEBUG #pragma comment(lib, "opencv_core300d.lib") #pragma comment(lib, "opencv_imgproc300d.lib") //MAT processing #pragma comment(lib, "opencv_highgui300d.lib") #pragma comment(lib, "opencv_stitching300d.lib") #else #pragma comment(lib, "opencv_core300.lib") #pragma comment(lib, "opencv_imgproc300

Image stitching in android using OpenCV

半腔热情 提交于 2019-12-23 18:23:17
问题 I am trying to stitch images like Panorama View in android.I am using Android NDK and OpenCv library for that.I am using below code of Jni for stitching images First Method: extern "C" { JNIEXPORT void JNICALL Java_org_opencv_samples_tutorial3_Sample3Native_FindFeatures( JNIEnv*, jobject, jlong im1, jlong im2, jlong im3, jint no_images) { vector<Mat> imgs; bool try_use_gpu = false; Mat& temp1 = *((Mat*) im1); Mat& temp2 = *((Mat*) im2); Mat& pano = *((Mat*) im3); __android_log_print(ANDROID

Can someone explain the parameters of OpenCV Stitcher?

旧街凉风 提交于 2019-12-23 10:07:57
问题 I'm trying to reduce the calculation time of my stitching algorithm. I got some images which I want to stitch in a defined order but it seems like cv::stitcher.stitch() function tries to stitch every image with every other image. I feel like I might find the solution in the parameters of OpenCV Stitcher. If not maybe I have to modify the function or try something else to reduce calculation time. But since I'm pretty much a beginner, I don't know how. I know that using GPU might be a

Combine two overlapping videos frame by frame to form a single frame

佐手、 提交于 2019-12-23 05:41:13
问题 I am getting video input from 2 separate cameras with some area of overlap between the output videos. I have tried out a code which combines the video output horizontally. Here is the link for that code: https://github.com/rajatsaxena/NeuroscienceLab/blob/master/positiontracking/combinevid.py To explain the problem visually: The red part shows the overlap region between two image frame. I need the output to look like the second image, with first frame in blue and second frame in green (as

Combine two overlapping videos frame by frame to form a single frame

拜拜、爱过 提交于 2019-12-23 05:41:12
问题 I am getting video input from 2 separate cameras with some area of overlap between the output videos. I have tried out a code which combines the video output horizontally. Here is the link for that code: https://github.com/rajatsaxena/NeuroscienceLab/blob/master/positiontracking/combinevid.py To explain the problem visually: The red part shows the overlap region between two image frame. I need the output to look like the second image, with first frame in blue and second frame in green (as

Assertion Error while implementing SIFT algorithm :opencv

橙三吉。 提交于 2019-12-11 21:31:04
问题 I am using opencv 2.4.8 and studio 2013, n i am getting a run time error.my main code is this.. #include<opencv2\core\core.hpp> #include<opencv2\highgui\highgui.hpp> #include<opencv2\imgproc\imgproc.hpp> #include"SIFT.h" #include<iostream> #include<stdio.h> #include<conio.h> using namespace cv; using namespace std; int main() { cout << "hello"; Mat image = imread("abc.jpg",0); cout << image.channels() << endl; SIFT controller(image); controller.DoSIFT(); waitKey(100000); } and my header file

ExceptionInInitializerError in Stitcher with JavaCV for Android

僤鯓⒐⒋嵵緔 提交于 2019-12-11 20:31:35
问题 I am using this code for image stitching with JavaCV on Android: public void ImageStitching() { Stitcher stitcher = Stitcher.createDefault(false); MatVector images = new MatVector(2); images.put(0,cvLoadImage("sample1.png")); images.put(1,cvLoadImage("sample2.png")); IplImage result = new IplImage(null); int status = stitcher.stitch(images,result); if( status == Stitcher.OK ) { cvSaveImage("result.png", result); } } But when I execute it, the app crashes and the log shows the following error:

How to stitch images from a UAV using opencv python with Stitcher class

瘦欲@ 提交于 2019-12-11 05:49:42
问题 I was searching for the Stitcher class in OpenCV Python which will help me to stitch the images which I collect from the UAV. I was following the method shown in this link How to use OpenCV Stitcher class with Python? Unfortunately this is throwing some errors in OpenCV 3.1 and Python 2.7. I didn't find any appropriate Opencv docs for this function. Could anyone please help me in this. It would be highly apperciated if someone is able to explain the stitcher class using python. ` import cv2

OpenCv in Java: DescriptorExtractor is deprecated. What do I use instead?

混江龙づ霸主 提交于 2019-12-09 09:23:46
问题 I have some sample code which uses OpenCV (Java wrapper) to stitch 2 images together. It refers to a class "DescriptorExtractor" which is deprecated. I can't find any information in the official web documentation or the source-code about what I should use instead. I always get annoyed when something is deprecated and it doesn't tell you what you should use instead. Can anyone help me? I'm using OpenCV 3.4.1 with pre-built Windows libraries. The official documentation for the class seems to be